html , body {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
}

.header {
    background-color: #ffffff; /* Light background for the header */
    padding: 10px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: larger;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px; /* Adjust as needed */
    width: 80px;
    margin-right: 20px;
    border-radius: 50%;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-right: 550px; /* Space between navbar and auth buttons */
    font-family: Arial, Helvetica, sans-serif;
}

.navbar li {
    margin-left: 25px;
}

.navbar a {
    text-decoration: none;
    color: #333; /* Dark text color for navbar links */
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #003087; /* Highlight color on hover */
}

.auth-buttons {
    display: flex; /* Enable flexbox for horizontal alignment */
    justify-content: flex-end; /* Align buttons to the right */
    align-items: center; /* Vertically align buttons */
    gap: 10px; /* Add spacing between the buttons */
}

.auth-buttons button {
    background-color: #003087; /* Button background color */
    color: white; /* Button text color */
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.auth-buttons button:hover {
    background-color: #002266; /* Darker shade on hover */
}

/* Dropdown styles */
.navbar li {
    position: relative; /* Needed for positioning the dropdown content */
}

.dropdown-content {
    display: none; /* Initially hide the dropdown content */
    position: absolute; /* Position it relative to the nearest positioned ancestor (.dropdown) */
    top: 100%; /* Position it below the link */
    left: 0;
    background-color: #f9f9f9; /* Background color for the dropdown */
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10; /* Ensure it appears above other elements */
    min-width: 300px; /* Adjust as needed */
    text-align: left; /* Align text within the dropdown */
}

/* Show the dropdown content on hover of the .dropdown li */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content p {
    margin: 0; /* Remove default paragraph margins */
    color: #555; /* Style the paragraph text */
    line-height: 1.6; /* Improve readability */
}

/* Optional: Style the arrow to be slightly smaller */
.navbar a i {
    margin-left: 5px;
    font-size: 0.7em;
}

.hero-section {
    height: 45vh;
    background-color: #f3f3f6;
}

.slogan {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #001c64;
    text-align: center;
    padding-top: 4.5rem;
    font-size: 16pxpx;
}

.hero-heading-one {
    text-align: center;
    font-size: 48px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #001c64;
}

.hero-heading-two {
    text-align: center;
    margin-top: -2.5rem;
    font-size: 48px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #001c64;
}


/* General styles for the pricing section */
.pricing-carousel {
    display: block; /* Stack elements vertically */
    text-align: center; /* Center-align the heading and content */
    margin: 20px auto; /* Center the section and add vertical spacing */
    padding: 0 10px; /* Add padding for better spacing */
    max-width: 1200px; /* Limit the width of the section */
    position: relative; /* Set relative positioning for the section */
    overflow: hidden; /* Hide overflowing content */
}

.carousel-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px; /* Add spacing between the cards */
    padding: 10px;
    width: 100%;
}

.pricing-card {
    flex: 45%; /* Desktop width for cards */
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Helvetica, Arial, sans-serif;
    color: #333;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #003087;
    margin-bottom: 10px;
}

.pricing-card p {
    font-size: 1rem;
    margin: 5px 0;
}

.pricing-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #003087;
    margin-top: 10px;
    display: inline-block;
}

.carousel-button {
    position: absolute; /* Position the buttons relative to the section */
    top: 65%; /* Restore the original vertical position */
    transform: translateY(-50%); /* Adjust for vertical centering */
    background-color: #003087;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10; /* Ensure buttons appear above the cards */
}

.carousel-button.prev {
    left: 10px; /* Restore the original left position */
}

.carousel-button.next {
    right: 10px; /* Restore the original right position */
}

.carousel-button:hover {
    background-color: #002060; /* Darken the button on hover */
}

.pricing-heading {
    text-align: center;
    font-size: 2rem;
    color: #003087;
    margin-bottom: 20px;
}

.hero-image-section {
    background-color: #f3f3f6; /* Light background for the hero section */
    margin-top: 0;
    width: 100%;
    height: auto; /* Full viewport height */
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), transparent), url('../images/editing-5.jpg'); /* Whitish gradient overlay */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    position: relative;
  display: flex; /* Enable Flexbox for the children */
  justify-content: space-between; /* Distribute space between the children */
  align-items: center; /* Vertically align items in the center (optional) */
}

.hero-text-group-left{
    margin-left: 15px;
    margin-top: -45px;
    width: 45%;
}

.hero-text-group-left h3{
    font-weight: bold;
    color: #D3D3D3;
    font-weight: 500;
    font-size: 33px;
    margin-top: -10px;
}

.hero-text-group-left p{
    color: #D3D3D3;
    font-weight: 500;
    font-size: 16.2px;
}

ul li { /* For unordered lists */
    margin-bottom: 7px; /* Adjust the value as needed */
  }

.hero-text-group-right {
    /* Add basic styles for the right group */
    margin-right: 15px;
    padding-top: 10px;
    /* You might want to set a width here as well, or let Flexbox handle it */
    width: 45%;
  }
  
  .hero-text-group-right h2 {
    font-weight: bold;
    color:#D3D3D3;
    font-weight: 500;
    font-size: 36px;
    padding-top: 35px;
  }
  
  .hero-text-group-right ul {
    color:#D3D3D3;
    font-weight: 500;
    font-size: 16.2px;
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
  }

  .hero-text-group-right li {
    display: flex; /* Use Flexbox to align items horizontally */
    align-items: flex-start; /* Align the text with the top of the heading */
    gap: 10px; /* Add spacing between the <h4> and the text */
    margin-bottom: 5px; /* Add spacing between list items */
  }

  .hero-text-group-right h4 {
    margin: 0; /* Remove default margin */
    flex-shrink: 0; /* Prevent the <h4> from shrinking */
    font-size: 1.1rem; /* Adjust font size if needed */
    color: white; /* Optional: Add color for emphasis */
  }

  .hero-text-group-right li p {
    margin: 0; /* Remove default margin for the text */
    line-height: 1.5; /* Improve readability */
  }

  .about-us {
    margin: auto;
    padding: 40px;
    background-color: white; /* Light background for the section */
    text-align: center; /* Center align content for initial presentation */
}

.about-us-content {
    max-width: 800px; /* Limit the width of the content for better readability */
    margin: 0 auto; /* Center the content within the section */
    text-align: left; /* Align text to the left within the content area */
}

.about-us h2 {
    color: #003087; /* Your primary color */
    margin-bottom: 20px;
    font-size: 2.5em;
    margin-top: -15px;
}

.about-us p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.about-us strong {
    font-weight: bold;
    color: #555; /* Slightly darker color for emphasis */
}

/* About Us Buttons */
.about-us-buttons {
    display: flex; /* Enable flexbox for horizontal arrangement */
    justify-content: center; /* Center the buttons horizontally */
    margin-top: 20px; /* Add spacing above the buttons */
    gap: 10px; /* Add spacing between the buttons */
    flex-wrap: nowrap; /* Prevent wrapping to ensure horizontal stacking */
}

.hire-talent-button,
.join-editor-button {
    background-color: #003087; /* Button background color */
    color: white; /* Button text color */
    border: none;
    border-radius: 5px;
    padding: 8px 15px; /* Reduce padding for smaller buttons */
    font-size: 0.9rem; /* Reduce font size */
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto; /* Allow buttons to adjust to their content */
}

.hire-talent-button:hover,
.join-editor-button:hover {
    background-color: #002060; /* Darker shade on hover */
}

/* Mobile View: Ensure buttons remain horizontal */
@media (max-width: 768px) {
    .about-us-buttons {
        flex-direction: row; /* Keep buttons in a horizontal row */
        align-items: center; /* Center the buttons vertically */
        gap: 8px; /* Adjust spacing between buttons */
    }

    .hire-talent-button,
    .join-editor-button {
        padding: 6px 12px; /* Further reduce padding for smaller screens */
        font-size: 0.8rem; /* Reduce font size for smaller screens */
    }
}

/* Mobile View: Stack buttons vertically */
@media (max-width: 768px) {
    .about-us-buttons {
        flex-direction: row; /* Keep buttons in a horizontal row */
        align-items: center; /* Center the buttons vertically */
        gap: 10px; /* Adjust spacing between buttons */
    }

    .hire-talent-button,
    .join-editor-button {
        width: auto; /* Allow buttons to adjust to their content */
    }
}

.about-us-content h2 {
    text-align: center; /* Center the heading */
    color: #003087; /* Optional: Ensure consistent color */
    margin-bottom: 20px; /* Add spacing below the heading */
}

  footer {
    background-color: #001435; /* Dark background for the footer */
    height: auto; /* Adjust height to content */
    display: flex; /* Enable flexbox for the footer (for larger screens) */
    align-items: center; /* Vertically align items (for larger screens) */
    justify-content: space-between; /* Distribute space (for larger screens) */
    padding: 20px; /* Increased padding */
    flex-direction: column; /* Stack items on smaller screens */
    text-align: center; /* Center text and links on smaller screens */
}



.footer-header {
    display: flex; /* Enable flexbox for horizontal alignment */
    align-items: center; /* Vertically align the logo and text */
    justify-content: center; /* Center the logo and text together horizontally */
}

.footer-logo {
    height: 40px; /* Adjust as needed */
    width: 40px;
    border-radius: 50%;
    margin-right: 10px; /* Add space between the logo and the text */
}

.footer-header h2 {
    color: white;
    font-size: 36px;
    margin-top: 0; /* Reset default top margin */
    margin-bottom: 0; /* Reset default bottom margin */
}


.footer-links-top {
    list-style: none;
    padding: 0;
    margin-top: 20px; /* Space below logo/text on smaller screens */
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow links to wrap on smaller screens */
}

.footer-links-top li {
    margin: 0 15px;
}

.footer-links-top a {
    text-decoration: none;
    color: white; /* White links */
}

hr {
    border: 1px solid darkgrey; /* Slightly lighter line */
    margin: 8px 0;
    width: 80%; /* Narrow the line */
}

.footer-links-bottom {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow links to wrap */
}

.footer-links-bottom li {
    margin: 0 10px;
}

.footer-links-bottom a {
    text-decoration: none;
    color: #a0aec0; /* Lighter text color */
    font-size: 0.9em;
}

.footer-links-bottom a:hover , .footer-links-top a:hover {
    color: #ffffff; /* Change color to white on hover */
    text-decoration: underline; /* Add an underline on hover for better feedback */
}

/* Ad Banner Styles */
.ad-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001c64; /* Updated background color */
    color: white;
    padding: 20px;
    position: relative;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ad-content {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.ad-content.fade-out {
    opacity: 0;
}

.ad-content.fade-in {
    opacity: 1;
}

.ad-product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid white;
}

.ad-text {
    flex: 1;
}

.ad-text h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.ad-text p {
    margin: 0 0 10px;
    font-size: 1rem;
}

.ad-link {
    display: inline-block;
    background-color: white;
    color: #003087;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.ad-link:hover {
    background-color: #f4f4f4;
}

/* Updated Dismiss Button */
.ad-close-button {
    background-color: white;
    color: #003087;
    border: 2px solid #003087;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex; /* Use Flexbox */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.ad-close-button:hover {
    background-color: #f4f4f4;
    color: #002060;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .ad-banner {
        font-size: 0.9rem; /* Reduce font size */
        margin: 10px 15px; /* Add left and right margins */
    }

    .ad-product-image {
        width: 80px;
        height: 80px;
    }

    .ad-text h3 {
        font-size: 1rem;
    }

    .ad-text p {
        font-size: 0.9rem;
    }
}

/* Responsive adjustments for mobile view (can be further refined) */
@media (max-width: 768px) {
    .header {
        padding: 10px 20px;
        font-size: medium; /* Adjust font size for smaller screens */
    }

    .logo {
        height: 60px;
        width: 60px;
        margin-right: 15px;
    }

    .navbar ul {
        display: none; /* Hide navbar on smaller screens */
    }

    .auth-buttons button {
        padding: 4px 10px;
        margin-left: 5px;
        font-size: 0.9em;
    }

    .slogan {
        font-size: 14px;
        padding-top: 3rem; /* Adjust padding for smaller screens */
    }

    .hero-section {
        height: 60vh; /* Reduce height for smaller screens */
    }

    .hero-setion-wrapper {
        padding-top: 40px 
    }


    .pricing-carousel {
        display: block; /* Ensure elements stack vertically */
        margin: 10px auto; /* Adjust margins for smaller screens */
        padding: 0 15px; /* Add padding for better spacing */
    }

    .pricing-heading {
        font-size: 1.8rem; /* Slightly smaller font size for mobile */
        margin-bottom: 15px; /* Adjust spacing below the heading */
    }

    .carousel-wrapper {
        display: flex;
        overflow-x: auto; /* Enable horizontal scrolling */
        scroll-behavior: smooth;
        gap: 10px; /* Reduce gap between cards */
        padding: 10px 0; /* Add padding for better spacing */
    }

    .pricing-card {
        flex: 0 0 86.99%; /* Adjust card size for smaller screens */
        margin: 0 10px; /* Add spacing between cards */
    }

    .hero-image-section {
        height: 70vh; /* Reduce height for smaller screens */
    }
    

    .hero-text-group-left {
        margin-top: 13px;
       width: 100%;
    }
    .hero-text-group-left ul{
        color: #D3D3D3;
        font-weight: 500;
    }

    .hero-text-group-right {
        display : none;
    }

    .about-us-buttons a{
        flex-direction: column; /* Stack buttons on smaller screens */
        align-items: center; /* Center stacked buttons */
        width: 80%;
    }

    .about-us-buttons button {
        margin: 10px 0; /* Add vertical margin when stacked */
        width: 80%; /* Make buttons wider on smaller screens */
    }
}

/* Ensure carousel buttons are visible on mobile */
@media (max-width: 768px) {
    .carousel-button {
        display: flex; /* Make the buttons visible */
        justify-content: center; /* Center the button content */
        align-items: center; /* Center the button content */
    }

    .carousel-button.prev {
        left: 5px; /* Adjust position for smaller screens */
    }

    .carousel-button.next {
        right: 5px; /* Adjust position for smaller screens */
    }

    .carousel-button {
        width: 35px; /* Slightly smaller buttons for mobile */
        height: 35px;
    }
}

/* Hide carousel buttons on desktop */
@media (min-width: 769px) {
    .carousel-button {
        display: none; /* Hide buttons on screens wider than 768px */
    }
}

/* Style carousel buttons for mobile */
@media (max-width: 768px) {
    .carousel-button {
        display: flex; /* Show buttons on mobile */
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 65%; /* Center vertically */
        transform: translateY(-50%);
        background-color: #003087;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 10; /* Ensure buttons appear above the cards */
    }

    .carousel-button.prev {
        left: 10px; /* Position the previous button on the left */
    }

    .carousel-button.next {
        right: 10px; /* Position the next button on the right */
    }

    .carousel-button:hover {
        background-color: #002060; /* Darken the button on hover */
    }
}

/* Service Carousel Buttons */
.service-carousel-button {
    position: absolute; /* Position the buttons relative to the section */
    top: 65%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
    background-color: #003087;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10; /* Ensure buttons appear above the cards */
}

.service-carousel-button.prev {
    left: 10px; /* Position the previous button on the left */
}

.service-carousel-button.next {
    right: 10px; /* Position the next button on the right */
}

.service-carousel-button:hover {
    background-color: #002060; /* Darken the button on hover */
}

/* Mobile View: Show only one card at a time */
@media (max-width: 768px) {
    .services-carousel-wrapper {
        padding: 0; /* Remove padding to prevent extra space */
        margin: 0; /* Remove margins to align with the screen edges */
        width: 98%; /* Ensure the wrapper spans the full width of the screen */
        overflow: hidden; /* Prevent overflow beyond the screen */
        box-sizing: border-box; /* Include padding and border in width calculations */
    }

    .services-carousel {
        gap: 10px; /* Reduce gap between cards */
        padding: 0; /* Remove padding to prevent extra space */
        margin: 0; /* Remove margins to align with the screen edges */
        width: 100%; /* Ensure the carousel spans the full width of the wrapper */
        box-sizing: border-box; /* Include padding and border in width calculations */
    }

    .services-card {
        flex: 0 0 98%; /* Make each card take the full width of the screen */
        margin: 0; /* Remove margins to prevent extra space */
    }

    .services-carousel-button {
        display: flex; /* Make the buttons visible */
        justify-content: center; /* Center the button content */
        align-items: center; /* Center the button content */
        width: 35px; /* Slightly smaller buttons for mobile */
        height: 35px;
    }

    .services-carousel-button.prev {
        left: 5px; /* Adjust position for smaller screens */
    }

    .services-carousel-button.next {
        right: 5px; /* Adjust position for smaller screens */
    }
}

/* Mobile View: Reduce the width of service cards */
@media (max-width: 768px) {
    .services-card {
        flex: 0 0 90%; /* Reduce the card width to 90% of the screen */
        margin: 0 auto; /* Center the card horizontally */
    }
}

/* Mobile View: Adjust the height of service cards */
@media (max-width: 768px) {
    .services-card {
        flex: 0 0 90%; /* Keep the card width at 90% of the screen */
        margin: 0 auto; /* Center the card horizontally */
        padding: 12px 10px; /* Reduce padding to decrease height */
        height: auto; /* Allow height to adjust dynamically */
        min-height: 100px; /* Reduce the minimum height by half */
    }
}

/* Hide carousel buttons on desktop */
@media (min-width: 769px) {
    .services-carousel-button {
        display: none; /* Hide buttons on screens wider than 768px */
    }
}

.testimonials {
    background-color: #f9f9f9;
    padding: 20px 20px;
    text-align: center;
    overflow: hidden; /* Hide overflowing testimonials */
    position: relative;
}

.testimonials h2 {
    font-size: 2rem;
    color: #003087;
    margin-bottom: 20px;
}

.testimonials-wrapper {
    overflow: hidden; /* Hide overflowing content */
    position: relative;
    margin: 0 auto; /* Center the testimonials section */
    width: 100%;
}

.testimonials-container {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease; /* Smooth transition for swiping */
}

/* Ensure text wraps properly inside the testimonial cards */
.testimonial {
    background-color: white;
    width: 30%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px auto;
    min-width: calc(33.333% - 20px); /* Three cards per row */
    flex-shrink: 0; /* Prevent shrinking */
    text-align: left;
    word-wrap: break-word; /* Ensure long words break to the next line */
    overflow-wrap: break-word; /* Break long words if necessary */
    box-sizing: border-box; /* Include padding and border in width calculations */
}

.testimonial-text {
    padding: 10px;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.5; /* Improve readability */
}

.testimonial-author {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #555;
    font-weight: bold;
    text-align: right;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .testimonial {
        min-width: 100%; /* One card per row on small screens */
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .testimonial-text {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
        line-height: 1.4; /* Adjust line height for better readability */
    }

    .testimonial-author {
        font-size: 0.8rem; /* Adjust font size for smaller screens */
    }
}

/* Keyframes for scrolling animation */
@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .testimonials-container {
        display: flex;
        gap: 10px;
    }

    .testimonial {
        min-width: 100%; /* One card per row on small screens */
    }
}

@media (max-width: 768px) {
    .testimonial {
        min-width: 100%; /* One card per row on small screens */
    }

    .testimonial-text {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }

    .testimonial-author {
        font-size: 0.8rem; /* Adjust font size for smaller screens */
    }
}

/* Services Section */
.services-section {
    display: block; /* Stack elements vertically */
    text-align: center; /* Center-align the heading and content */
    margin: 20px auto; /* Center the section and add vertical spacing */
    padding: 0 10px; /* Add padding for better spacing */
    max-width: 1200px; /* Limit the width of the section */
    position: relative; /* Set relative positioning for the section */
    overflow: hidden; /* Hide overflowing content */
}

/* Services Heading */
.services-heading {
    text-align: center;
    font-size: 2rem;
    margin-top: -3px;
    margin-bottom: -10px;
    color: #003087;
    margin-bottom: 20px;
}

/* Services Carousel Wrapper */
.services-carousel-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px; /* Add spacing between the cards */
    padding: 10px;
    width: 100%;
    position: relative; /* Set relative positioning for the section */
    overflow: hidden; /* Hide overflowing content */
}

/* Services Carousel */
.services-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px; /* Space between cards */
    scroll-behavior: smooth;
    padding: 10px 0; /* Add padding for better spacing */
    width: 100%;
}

/* Services Card */
.services-card {
    flex: 45%; /* Desktop width for cards */
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Helvetica, Arial, sans-serif;
    color: #333;
    height: auto; /* Match the height of pricing cards */
}

.services-card h3 {
    font-size: 1.5rem;
    color: #003087;
    margin-bottom: 10px;
}

.services-card p {
    font-size: 1rem;
    margin: 5px 0;
}

/* Services Carousel Buttons */
.services-carousel-button {
    position: absolute; /* Position the buttons relative to the section */
    top: 40%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
    background-color: #003087;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10; /* Ensure buttons appear above the cards */
}

.services-carousel-button.prev {
    left: 1px; /* Position the previous button on the left */
}

.services-carousel-button.next {
    right: 1px; /* Position the next button on the right */
}

.services-carousel-button:hover {
    background-color: #002060; /* Darken the button on hover */
}

/* Mobile View: Show only one card at a time */
@media (max-width: 768px) {
    .services-carousel-wrapper {
        padding: 0; /* Remove padding to prevent extra space */
        margin: 0; /* Remove margins to align with the screen edges */
        width: 100%; /* Ensure the wrapper spans the full width of the screen */
        overflow: hidden; /* Prevent overflow beyond the screen */
        box-sizing: border-box; /* Include padding and border in width calculations */
    }

    .services-carousel {
        gap: 10px; /* Reduce gap between cards */
        padding: 0; /* Remove padding to prevent extra space */
        margin: 0; /* Remove margins to align with the screen edges */
        width: 100%; /* Ensure the carousel spans the full width of the wrapper */
        box-sizing: border-box; /* Include padding and border in width calculations */
    }

    .services-card {
        flex: 0 0 100%; /* Make each card take the full width of the screen */
        margin: 0; /* Remove margins to prevent extra space */
    }

    .services-carousel-button {
        display: flex; /* Make the buttons visible */
        justify-content: center; /* Center the button content */
        align-items: center; /* Center the button content */
        width: 35px; /* Slightly smaller buttons for mobile */
        height: 35px;
    }

    .services-carousel-button.prev {
        left: 5px; /* Adjust position for smaller screens */
    }

    .services-carousel-button.next {
        right: 5px; /* Adjust position for smaller screens */
    }
}

/* Mobile View: Reduce the width of service cards */
@media (max-width: 768px) {
    .services-card {
        flex: 0 0 90%; /* Reduce the card width to 90% of the screen */
        margin: 0 auto; /* Center the card horizontally */
    }
}

/* Mobile View: Adjust the height of service cards */
@media (max-width: 768px) {
    .services-card {
        flex: 0 0 90%; /* Keep the card width at 90% of the screen */
        margin: 0 auto; /* Center the card horizontally */
        padding: 12px 10px; /* Reduce padding to decrease height */
        height: auto; /* Allow height to adjust dynamically */
        min-height: 100px; /* Reduce the minimum height by half */
    }
}

/* Hide carousel buttons on desktop */
@media (min-width: 769px) {
    .services-carousel-button {
        display: none; /* Hide buttons on screens wider than 768px */
    }
}

/* Start Now Button */
.start-now-button {
    background-color: #003087; /* Theme primary color */
    color: white; /* Button text color */
    border: none;
    border-radius: 5px;
    margin-top: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    width: 60%; /* Make the button span the full width of the card */
}

.start-now-button:hover {
    background-color: #002060; /* Darker shade for hover effect */
    transform: scale(1.05); /* Slightly enlarge button on hover */
}

.start-now-button:active {
    background-color: #001040; /* Even darker shade for active state */
    transform: scale(0.95); /* Slightly shrink button on click */
}

/* Ensure the link wrapping the button has no extra styles */
a {
    text-decoration: none; /* Remove underline from links */
    display: block; /* Ensure the button takes up the full width */
}