@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* Base styles for all screen sizes */
*{
    font-family:"Poppins", sans-serif;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f0f0 url('background-image.webp') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    overflow-x: hidden;
    box-sizing: border-box;
}
.landin-page {
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 235, 59, 0.8); /* Adding a semi-transparent background for better readability */
    padding: 20px;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background-image: url('image/bg.webp');
    background-size: cover;
    background-position: center;
}
.landin-image {
    width: 400px;
    height: 400px;
    background-image: url('image/kundlimatching.webp');
    background-size: cover;
    background-position: center;
    margin-right: 40px;
}
.landin-content {
    max-width: 600px;
}
.landin-title {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}
.landin-text {
    font-size: 20px;
    line-height: 1.5;
    margin: 20px 0;
}
.landin-underline {
    width: 100%;
    height: 3px;
    background-color: black;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .landin-page {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px;
    }
    .landin-image {
        width: 300px;
        height: 300px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .landin-content {
        max-width: 90%;
    }
    .landin-title {
        font-size: 36px;
    }
    .landin-text {
        font-size: 16px;
    }
    .landin-underline {
        height: 2px;
        margin-top: 20px;
    }
}
@media (max-width: 320px) {
    .landin-page {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px;
    }
    .landin-image {
        width: 150px;
        height: 150px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .landin-content {
        max-width: 90%;
    }
    .landin-title {
        font-size: 24px;
    }
    .landin-text {
        font-size: 12px;
    }
    .landin-underline {
        height: 1px;
        margin-top: 10px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .landin-page {
        flex-direction: row;
        align-items: center;
        height: 100vh;
        padding: 20px;
    }
    .landin-image {
        width: 400px;
        height: 400px;
        margin-right: 40px;
        margin-bottom: 0;
    }
    .landin-content {
        max-width: 600px;
    }
    .landin-title {
        font-size: 48px;
    }
    .landin-text {
        font-size: 20px;
    }
    .landin-underline {
        height: 3px;
        margin-top: 30px;
    }
}
@media (max-width: 200px) {
    .landin-page {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 5px;
    }
    .landin-image {
        width: 80px;
        height: 80px;
        margin-right: 0;
        margin-bottom: 5px;
        background-size: contain; /* Ensure the image fits within the container */
        background-repeat: no-repeat;
    }
    .landin-content {
        max-width: 90%;
    }
    .landin-title {
        font-size: 14px;
    }
    .landin-text {
        font-size: 8px;
    }
    .landin-underline {
        height: 1px;
        margin-top: 5px;
    }
}

.landing-container {
    text-align: center;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    min-height: 80vh;
    box-sizing: border-box;
}

h1 {
    font-size: 1.50rem;
    color: #000000;
}

.description {
    font-size: 1.125rem;
    color: #000000;
    margin-bottom: 40px;
}

.description:not(:first-of-type) {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
}

.divider-container {
    position: relative;
    width: 70%;
    margin: 35px auto;
}

/* Divider line styling */
.divider {
    border: 0;
    border-top: 2px solid #666;
    opacity: 0.5;
    margin: 50px 0;
    width: 100%;
    position: relative;
}

/* Divider image styling */

/* Spin animation */
@keyframes spin {
    0% {
        transform: translate(-50%, 0) rotate(0deg); /* Maintain centering during rotation */
    }
    100% {
        transform: translate(-50%, 0) rotate(360deg); /* Rotate while staying centered */
    }
}

.description:first-of-type {
    text-align: center;
}

/* form kundli making */
.kundli-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
    padding: 20px; /* Added padding to ensure content stays within section */
    box-sizing: border-box; /* Ensure padding is included in the height calculation */
    overflow: hidden; /* Prevent content from overflowing */
}
.kundli-container {
    background: linear-gradient(to bottom, #f5b700, #f5d700);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ensure it fits within the section */
    max-width: 700px; /* Maximum width */
    background-image: url('image/imagebg.webp'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    box-sizing: border-box; /* Ensure padding is included in the width calculation */
    max-height: 100%; /* Ensure it fits within the section */
    overflow-y: auto; /* Enable vertical scrolling */
}
.kundli-container h2 {
    margin-top: 0;
    background: transparent; /* Made transparent */
    padding: 10px;
    border-radius: 5px;
    color: black; /* Ensure text is black */
}
.kundli-form-group {
    margin-bottom: 2px; /* Further reduced margin */
    background: transparent; /* Made transparent */
    padding: 6px; /* Reduced padding */
    border-radius: 5px;
}
.kundli-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 3px; /* Reduced margin */
    background: transparent; /* Made transparent */
    padding: 3px; /* Reduced padding */
    border-radius: 5px;
}
.kundli-form-group input {
    width: calc(100% - 12px); /* Adjusted width */
    padding: 6px; /* Reduced padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8); /* Background for better readability */
}
.kundli-form-group input[type="text"] {
    width: calc(100% - 12px); /* Adjusted width */
}
.kundli-form-group input[type="number"] {
    width: calc(100% - 12px); /* Adjusted width */
}
.kundli-form-group input[type="submit"] {
    background-image: url('image/bg.webp'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    border: none;
    color: rgb(0, 0, 0);
    padding: 6px 12px; /* Reduced padding */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    transition: box-shadow 0.3s ease; /* Added transition for smooth shadow effect */
}
.kundli-form-group input[type="submit"]:hover {
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added shadow on hover */
}
.kundli-form-group .small-input {
    width: 30%;
    display: inline-block;
}
.kundli-form-group .small-input + .small-input {
    margin-left: 5%;
}
.kundli-form-group .inline-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2px; /* Further reduced margin */
}
@media (max-width: 600px) {
    .kundli-container {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        overflow-y: auto; /* Enable vertical scrolling on mobile devices */
    }
    .kundli-form-group .inline-group {
        flex-direction: column;
    }
    .kundli-form-group .small-input {
        width: 100%;
        margin-bottom: 10px;
    }
    .kundli-form-group .small-input + .small-input {
        margin-left: 0;
    }
}
@media (max-width: 320px) {
    .kundli-container {
        padding: 10px;
    }
    .kundli-form-group input {
        padding: 5px;
    }
    .kundli-form-group input[type="submit"] {
        padding: 5px 10px;
        font-size: 14px;
    }
}
/* form kundli making */

/* Media queries for larger screens */
@media (min-width: 1024px) {
    .landing-container {
        padding: 40px 30px; /* Reduced padding to make the layout more compact */
        min-height: 55vh; /* Reduced min-height for a smaller appearance */
        align-content: center;
    }

    h1 {
        font-size: 1.25rem; /* Reduced font size for the heading */
    }

    .description {
        font-size: 1rem; /* Slightly reduced font size for descriptions */
        margin-bottom: 30px; /* Decreased margin between descriptions */
    }

}

@media (max-width: 768px) {
    .landing-container {
        padding: 15px 10px; /* Reduced padding for a smaller layout */
        margin-bottom: 0;
        min-height: 55vh; /* Reduced min-height to make the landing page smaller */
    }

    h1 {
        font-size: 1.25rem; /* Reduced font size */
    }

    .description {
        font-size: 0.875rem; /* Reduced font size for descriptions */
        margin-bottom: 20px; /* Less space between descriptions */
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .divider-container {
        width: 60%; /* Slightly narrower on mobile for better alignment */
        margin: 30px auto;
    }

    .divider {
        margin: 30px 0;
    }

    .divider-image {
        width: 20px; /* Smaller image for mobile */
        top: -9px;
        left: 40%;
        transform: translate(-50%, 0); /* Ensure it stays centered */
        animation: spin 3s linear infinite;
    }


}

/* Base Styles */
.astro-section {
    background-image: url('image/bg.webp'); /* Replace with your image path */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    padding: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Ensure padding is included in the total width */
    overflow: hidden; /* Hide any overflow */
}

.astro-content {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
    gap: 20px; /* Space between content and buttons */
    box-sizing: border-box; /* Ensure padding is included in the total width */
    margin: 0 auto; /* Center content horizontally */
    position: relative; /* Allow absolute positioning of buttons */
    min-height: 120px; /* Moderate increase in height */
}


/* Ensure buttons don't overflow container */
.astro-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 25px; /* Increase the gap between buttons */
    position: absolute; /* Position buttons absolutely */
    right: -30px; /* Move buttons further outside of content */
    top: 50%;
    transform: translateY(-50%); /* Center buttons vertically */
}

/* Buttons styling */
.astro-btn {
    background-color: #000000; /* Black background */
    color: #FFD700; /* Golden text color */
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.astro-btn svg {
    margin-right: 10px; /* Space between icon and text */
}

.astro-btn:hover {
    background-color: #333333; /* Dark gray on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    .astro-section {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .astro-content {
        flex-direction: column; /* Stack content and buttons vertically */
        align-items: center;
        gap: 10px; /* Reduce gap between elements */
        padding: 15px; /* Adjust padding inside the content */
        min-height: 150px; /* Increase minimum height for smaller screens */
    }

    .astro-buttons {
        position: static; /* Reset absolute positioning */
        right: auto; /* Reset right alignment */
        transform: none; /* Reset transform */
        flex-direction: column; /* Ensure buttons stack vertically */
        gap: 10px;
    }

    .astro-btn {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding: 6px 10px; /* Adjust padding for smaller screens */
    }

    .astro-btn svg {
        width: 20px; /* Adjust icon size for smaller screens */
        height: 20px; /* Adjust icon size for smaller screens */
    }
}





/* kundli gun mila */

.info-section {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Increase the width of the background image */
    height: 200%; /* Increase the height of the background image */
    background-image: url('image/section-bg.webp'); /* Background image URL */
    background-size: contain; /* Make sure the entire image is visible */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent background repeat */
    animation: spin 20s linear infinite; /* Apply spin animation */
    z-index: -1; /* Place the background behind the content */
    transform-origin: center; /* Set the rotation point to the center */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.section-heading, .section-text, .paragraph {
    color: #000; /* Black text color */
}

.section-heading {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.section-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

.paragraphs {
    margin: 0 auto; /* Center the paragraphs container */
    max-width: 1000px; /* Maximum width for the paragraphs container */
    padding-left: 20px; /* Adjust this value to shift paragraphs right */
    padding-right: 20px; /* Optional: Add right padding if needed */
    text-align: left; /* Keep text alignment to the left */
}

.paragraph {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 15px;
}


.info-section {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
}

.hidden-content {
    display: none; /* Hide content by default */
}

.see-more-btn {
    background-image: linear-gradient(45deg, rgb(245, 182, 14), rgb(255, 214, 1)); /* Gradient background */
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add shadow to the button */
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

.see-more-btn:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
}


/* Centering the button */
.see-more-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* Media Query for mobile devices */
@media (max-width: 767px) {
    .hidden-content {
        display: none;
    }

    .see-more-btn-wrapper {
        display: flex;
    }
}

/* Media Query for larger screens (e.g., tablets, laptops, desktops) */
@media (min-width: 768px) {
    .hidden-content {
        display: block;
    }

    .see-more-btn-wrapper {
        display: none;
    }
}
/* Media Query for iWatch and very small screens */
@media (max-width: 200px) {
    .hidden-content {
        display: none;
    }

    .see-more-btn-wrapper {
        display: flex;
    }

    .see-more-btn {
        font-size: 10px; /* Adjust the font size for smaller screens */
        padding: 5px 10px; /* Smaller padding for the button */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adjust the shadow for small screens */
    }

    .paragraph {
        font-size: 0.6rem; /* Smaller text size */
        line-height: 1.4; /* Adjust line-height for readability */
    }

    .info-section {
        padding: 0px; /* Reduce padding for smaller screens */
    }
}

/* kundli gun mila */

/* horoscop-section */
/* horoscop-section */
.content-section {
    position: relative;
    padding: 20px;
    max-width: 100%;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
    background-image: url('image/imagebg.webp'); /* Static background image */
    background-size: cover; /* Make the background image cover the entire section */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent background repeat */
}

.text-paragraphs {
    margin: 0 auto; /* Center the paragraphs container */
    max-width: 1000px; /* Maximum width for the paragraphs container */
    padding-left: 20px; /* Adjust this value to shift paragraphs right */
    padding-right: 20px; /* Optional: Add right padding if needed */
    text-align: left; /* Keep text alignment to the left */
    padding-top: 2rem;
}

.text-block {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hidden-text {
    display: none; /* Hide content by default */
}

.toggle-content-btn {
    background-image: linear-gradient(45deg, rgb(245, 182, 14), rgb(255, 214, 1)); /* Gradient background */
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add shadow to the button */
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

.toggle-content-btn:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
}

/* Centering the button */
.toggle-content-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* Media Query for mobile devices */
@media (max-width: 767px) {
    .hidden-text {
        display: none;
    }

    .toggle-content-btn-wrapper {
        display: flex;
    }
}

/* Media Query for larger screens (e.g., tablets, laptops, desktops) */
@media (min-width: 768px) {
    .hidden-text {
        display: block;
    }

    .toggle-content-btn-wrapper {
        display: none;
    }
}

/* Media Query for iWatch and very small screens */
@media (max-width: 200px) {
    .hidden-text {
        display: none;
    }

    .toggle-content-btn-wrapper {
        display: flex;
    }

    .toggle-content-btn {
        font-size: 10px; /* Adjust the font size for smaller screens */
        padding: 5px 10px; /* Smaller padding for the button */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adjust the shadow for small screens */
    }

    .text-block {
        font-size: 0.6rem; /* Smaller text size */
        line-height: 1.4; /* Adjust line-height for readability */
    }

    .content-section {
        padding: 0px; /* Reduce padding for smaller screens */
    }
}



/* horoscop-section */
/* sevices */
.slider-section {
    text-align: center;
    padding: 70px 20px;
    background-color: #f9f9f9;
  }
  
  .slider-heading {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    min-width: 100%; /* Ensure only one slide is visible at a time */
    box-sizing: border-box;
    padding: 10px;
  }
  
  .card {
    background-image: url('image/imagebg.webp'); /* Set the background image for all cards */
    background-size: cover; /* Ensure the image covers the card */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating the image */
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 300px; /* Ensures consistent height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .card-image {
    width: 100px;  /* Fixed width */
    height: 100px; /* Fixed height */
    object-fit: contain; /* Keeps the aspect ratio and fits the image inside the box */
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .card-title {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
    word-wrap: break-word; /* Prevents text from overflowing */
  }
  
  .card-description {
    font-size: 0.9em;
    color: #666;
    word-wrap: break-word; /* Prevents text from overflowing */
    flex-grow: 1; /* Takes up available space */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits text to 3 lines */
    -webkit-box-orient: vertical;
  }
  
  button.prev,
  button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }
  
  button.prev {
    left: 0;
  }
  
  button.next {
    right: 0;
  }
  
  @media (min-width: 769px) {
    .slide {
      min-width: 25%; /* 4 cards per slide for laptops */
    }
  }
  
  @media (max-width: 768px) {
    .slide {
      min-width: 50%; /* 2 cards per slide for tablets */
    }
  }
  
  @media (max-width: 480px) {
    .slide {
      min-width: 100%; /* 1 card per slide for mobile */
    }
  }
  
  @media (max-width: 200px) {
    .slider-container {
      padding: 5px; /* Reduce padding for very small devices */
    }
  
    .card {
      min-height: auto; /* Allow card height to adjust based on content */
      padding: 5px; /* Reduce padding for small devices */
      background-size: cover; /* Ensure image still covers card */
    }
  
    .card-image {
      width: 50px; /* Smaller image size */
      height: 50px; /* Smaller image size */
    }
  
    .card-title {
      font-size: 0.6em; /* Smaller font size */
    }
  
    .card-description {
      font-size: 0.5em; /* Smaller font size */
      -webkit-line-clamp: 2; /* Limit description to 2 lines */
    }
  
    button.prev,
    button.next {
      padding: 3px; /* Smaller buttons */
      font-size: 0.6em; /* Smaller button text */
    }
  }
  
  
/* services */

/* analysis section  */
.horoscope-section {
    text-align: center;
    padding: 70px 20px;
    background-color: #f9f9f9;
}

.horoscope-heading {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.horoscope-slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.horoscope-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.horoscope-slide {
    min-width: 100%; /* Ensure only one slide is visible at a time */
    box-sizing: border-box;
    padding: 10px;
}

.horoscope-card {
    background-image: url('image/imagebg.webp'); /* Set the background image for all cards */
    background-size: cover; /* Ensure the image covers the card */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating the image */
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 300px; /* Ensures consistent height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.horoscope-card-image {
    width: 100px; /* Fixed width */
    height: 100px; /* Fixed height */
    object-fit: contain; /* Keeps the aspect ratio and fits the image inside the box */
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.horoscope-card-title {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
    word-wrap: break-word; /* Prevents text from overflowing */
}

.horoscope-card-description {
    font-size: 0.9em;
    color: #666;
    word-wrap: break-word; /* Prevents text from overflowing */
    flex-grow: 1; /* Takes up available space */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits text to 3 lines */
    -webkit-box-orient: vertical;
}

.horoscope-prev,
.horoscope-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.horoscope-prev {
    left: 0;
}

.horoscope-next {
    right: 0;
}

@media (min-width: 769px) {
    .horoscope-slide {
        min-width: 25%; /* 4 cards per slide for laptops */
    }
}

@media (max-width: 768px) {
    .horoscope-slide {
        min-width: 50%; /* 2 cards per slide for tablets */
    }
}

@media (max-width: 480px) {
    .horoscope-slide {
        min-width: 100%; /* 1 card per slide for mobile */
    }
}

@media (max-width: 200px) {
    .horoscope-slider-container {
        padding: 5px; /* Reduce padding for very small devices */
    }

    .horoscope-card {
        min-height: auto; /* Allow card height to adjust based on content */
        padding: 5px; /* Reduce padding for small devices */
        background-size: cover; /* Ensure image still covers card */
    }

    .horoscope-card-image {
        width: 50px; /* Smaller image size */
        height: 50px; /* Smaller image size */
    }

    .horoscope-card-title {
        font-size: 0.6em; /* Smaller font size */
    }

    .horoscope-card-description {
        font-size: 0.5em; /* Smaller font size */
        -webkit-line-clamp: 2; /* Limit description to 2 lines */
    }

    .horoscope-prev,
    .horoscope-next {
        padding: 3px; /* Smaller buttons */
        font-size: 0.6em; /* Smaller button text */
    }
}


 
/* analysis section  */