/* Index/Home Page Styles */


/* General styles */

body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    /* Set consistent top/bottom padding for all sections */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    text-align: left;
    width: fit-content;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background-color: #0A483C;
    transition: width 0.4s ease;
}

.section-title:hover:after {
    width: 100%;
}


/* Hero section */

.hero-section {
    background-color: #0A483C;
    background-image: url('../assect/Carousel\ Box.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    /* Increased from 80px to 120px */
    position: relative;
    margin-top: 60px;
    /* Account for fixed header */
    overflow: hidden;
    min-height: 450px;
    /* Added minimum height */
    display: flex;
    align-items: center;
}

.hero-section:after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: lightSweep 5s infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    /* Ensure text is left-aligned within the container */
    padding-left: 20px;
    /* Add some padding from the left edge */
    position: relative;
    z-index: 2;
    /* Ensure content stays above any overlay effects */
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}


/* Add responsive adjustments for larger screens */

@media screen and (min-width: 1200px) {
    .hero-content {
        margin-left: 0;
        /* Align with left side on very large screens */
        margin-right: 20PX;
        max-width: 50%;
        /* Limit width on very large screens */
        padding-left: calc((100vw - 1200px) / 2 + 20px);
        /* Dynamic padding on large screens */
    }
}

.hero-section h1 {
    font-size: 2.2rem;
}


/* Adjust mobile-specific hero height */

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
        /* Increased from 60px to 100px */
        min-height: 400px;
        /* Mobile-specific minimum height */
    }
    .hero-content {
        padding-left: 20px !important;
        /* Ensure consistent left padding */
        padding-right: 20px !important;
        /* Add right padding for balance */
        max-width: 100%;
        /* Allow content to use full width within padding */
        box-sizing: border-box;
        /* Include padding in width calculation */
        text-align: left;
    }
    /* Fix paragraph alignment and spacing */
    .hero-section p {
        margin-left: 0;
        padding-right: 10px;
        /* Add space on right */
        max-width: 95%;
        /* Prevent text from touching edges */
    }
    /* Ensure proper button positioning */
    .hero-section .cta-button {
        margin-left: 0;
        margin-top: 15px;
    }
    /* Fix the hero section text wrapping */
    .hero-section p {
        white-space: normal;
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    /* Add a non-breaking space or prevent line break between specific words */
    .hero-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* Hero paragraph specific fix */
    .hero-section p {
        display: inline;
        /* Make the text flow as inline */
        word-break: keep-all;
        /* Prevent breaking specific words */
        white-space: normal;
        /* Allow normal wrapping */
        padding-right: 20px !important;
        box-sizing: border-box;
    }
    /* Additional spacing from the edges */
    .hero-content {
        padding-left: 30px !important;
        /* Increase padding on smaller screens */
    }
}


/* For very small screens */

@media screen and (max-width: 480px) {
    .hero-section {
        padding: 80px 0;
        /* Slightly smaller padding but still taller */
        min-height: 350px;
        /* Smaller but still taller than original */
    }
    .hero-content {
        padding-left: 25px !important;
        /* Extra padding for smaller screens */
        padding-right: 25px !important;
    }
    .hero-section p {
        max-width: 90%;
        /* Make sure long sentences wrap properly */
        line-height: 1.5;
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media screen and (max-width: 400px) {
    .hero-content {
        padding-left: 35px !important;
        /* Even more padding on very small screens */
        padding-right: 35px !important;
    }
    .hero-section p {
        font-size: 0.9rem !important;
        /* Slightly smaller text */
        line-height: 1.5 !important;
    }
}


/* Hero section desktop specific changes */

@media screen and (min-width: 769px) {
    ul li:first-child {
        border-radius: 45px 0 0 0;
    }
    .hero-section {
        background-color: #0A483C;
        background-image: url('../assect/Carousel\ Box.png');
        background-size: cover;
        background-position: center;
        padding: 70px 0 70px 0;
        /* Increased vertical padding */
        position: relative;
        margin-top: 60px;
        /* Account for fixed header */
        min-height: 520px;
        /* Increased minimum height */
        display: flex;
        align-items: center;
    }
    .hero-content {
        max-width: 800px;
        /* Reduced max-width for tighter content */
        margin-left: 10%;
        /* Position from left edge */
        margin-right: auto;
        text-align: left;
        padding-left: 0;
        /* Remove padding since we're using margin */
    }
    .hero-section h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    .hero-section p {
        font-size: 1.3rem;
        margin-bottom: 25px;
        max-width: 90%;
        /* Keep paragraph slightly narrower */
        line-height: 1.6;
    }
    .hero-section .cta-button {
        margin-top: 10px;
    }
}


/* Specific override for large desktop screens */

@media screen and (min-width: 1440px) {
    .hero-content {
        margin-left: calc((100% - 1200px) / 2);
        /* Center within container on very large screens */
        padding-left: 20px;
        /* Add some padding within the container */
    }
}


/* Stats section */

.stats-section {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 35px;
    width: 90% !important;
    margin: auto;
    align-items: center;
    /* Consistent gap */
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #00533a;
    /* Added light gray border */
    transition: border-color 0.3s ease, all 0.4s ease;
    margin: 10px 0;
}

.stat-card:hover {
    border-color: #0A483C;
    /* Changes to brand color on hover */
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-card h2 {
    color: #3a7d6d;
    font-size: 3rem;
    margin-bottom: 10px;
    animation: countUp 1s ease forwards;
    position: relative;
}

.stat-card.percentage h2::after {
    content: "0%";
    animation: numberAnimation 2.5s ease-out forwards;
    position: absolute;
    left: 0;
    right: 0;
}

.stat-card.multiplier h2::after {
    content: "0x";
    animation: multiplyAnimation 2.5s ease-out forwards;
    position: absolute;
    left: 0;
    right: 0;
}

.stat-card.percentage h2 span,
.stat-card.multiplier h2 span {
    opacity: 0;
}

.stat-card.feature {
    margin: 0;
    height: -webkit-fill-available;
}

.stat-card p {
    margin: 0;
    font-size: 19px;
    color: black;
    line-height: 1.4;
}

.feature {
    background-color: #0A483C;
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background: linear-gradient(#11524999, #11524999), url('../assect/images/Image\ Box.png');
    /* Add background wave pattern */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 15px 30px;
    border-radius: 24px;
}

.feature-content {
    position: relative;
    z-index: 2;
    /* Keep content above any background patterns */
}

.feature h3 {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 37px;
    /* Add slight text shadow for better readability */
}


/* Add an overlay to ensure text remains readable over any image */

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 72, 60, 0.7), rgba(10, 72, 60, 0.9));
    z-index: 1;
}

.feature:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 1;
    opacity: 0;
    border-radius: 50%;
}

.feature:hover:before {
    width: 200%;
    height: 200%;
    opacity: 1;
}


/* Why choose section */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.icon-container img {
    max-width: 100%;
    max-height: 100%;
}

.benefit-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
    color: #000000;
    font-weight: 600;
    font-size: 30px;
    width: 70%;
    margin: auto;
    line-height: 40px;
}

.benefit-card p {
    color: #9D9D9D;
    font-size: 22px;
}


/* Services section styles to match the design */

section.services-section .container {
    background-color: #F5F5F580;
    width: 75%;
    padding: 40px;
    border-radius: 34px;
}


/* .services-section {
    padding: 60px 0;
    background-color: #f9f9f9;
} */

.services-container {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
}

.services-menu {
    background-color: white;
}

.services-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-menu li {
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e6e6e6;
}

.services-menu li:hover:not(.active) {
    background-color: rgba(10, 72, 60, 0.05);
}


/* .services-menu li:last-child {
    border-bottom: none;
} */

.services-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    display: block;
    padding: 15px 20px;
    transition: all 0.3s ease;
    font-size: 25px;
}


/* Active item styling - dark green background with white text */

.services-menu li.active {
    background-color: #0A483C;
}

.services-menu li.active a {
    color: white;
    font-weight: 400;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #565656;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.4rem;
    color: #000000;
    background-color: transparent;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}


/* .services-menu a:hover:not(.active) {
    background-color: #f2f2f2;
} */


/* Service content styles */

.service-content-container {
    padding: 20px 40px;
    background-color: white;
    border-left: none;
}

.service-content {
    display: none;
}

.service-content.active {
    display: block;
}

.service-content h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}

.service-content p {
    color: #9D9D9D;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 22px;
}


/* Contact us button styling */

.cta-button,
.outline-button,
.submit-button {
    display: inline-block;
    padding: 12px 30px;
    border: 3px solid #42DE84;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.4rem;
    color: #42DE84;
    background-color: transparent;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(10, 72, 60, 0.1);
}

.cta-button {
    background-color: #3e524e00;
    color: #42DE84;
}

.cta-button:hover,
.outline-button:hover,
.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(10, 72, 60, 0.2);
}

.cta-button:hover {
    background-color: #0d5a4a;
}

.outline-button:hover {
    background-color: #0A483C;
    color: white;
}

.cta-button:before,
.outline-button:before,
.submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-button:hover:before,
.outline-button:hover:before,
.submit-button:hover:before {
    left: 100%;
}


/* Mobile-only content should be hidden on desktop */

.mobile-service-content {
    display: none;
}


/* Desktop styles remain the same */


/* Mobile-specific styles */


/* Update mobile active state styling for better color consistency */

@media screen and (max-width: 768px) {
    section.services-section .container {
        padding: 20px;
        width: 100%;
    }
    /* Previous mobile styles remain the same */
    /* Update active state styling to match desktop color scheme */
    .services-menu li.active {
        border-color: #0A483C;
        box-shadow: 0 4px 12px rgba(10, 72, 60, 0.15);
    }
    .services-menu li.active a {
        color: #0A483C;
        font-weight: 600;
        background-color: white;
    }
    .services-menu li.active a::after {
        content: '−';
        color: #0A483C;
    }
    /* Content area inside active accordion */
    .mobile-service-content {
        padding: 5px 15px 20px;
    }
    /* Style heading inside the mobile content */
    .mobile-service-content h3 {
        color: #0A483C;
        font-size: 1.3rem;
        margin: 15px 0 10px;
        font-weight: 600;
    }
    /* Style button to match brand colors */
    .mobile-service-content .outline-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    .mobile-service-content .outline-button:hover {
        background-color: #0A483C;
        color: white;
    }
    /* Add a subtle accent color line to indicate active state */
    .services-menu li.active {
        position: relative;
        border-left: 3px solid #0A483C;
    }
    .cta-button,
    .outline-button,
    .submit-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    .teams-content .outline-button {
        width: 100%;
    }
}


/* Teams section */


/* Updated Teams section to match the provided design */

.teams-section {
    padding: 60px 0;
    margin: 0;
    /* Remove margin in favor of consistent padding */
    overflow: hidden;
}

.teams-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.5s ease;
}

.teams-container:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.teams-visual {
    height: 100%;
    background: linear-gradient(#11524999, #11524999), url('../assect/images/teamBox.png');
    background-size: cover;
    background-position: center;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.teams-visual:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 1;
    opacity: 0;
    border-radius: 50%;
}

.teams-visual:hover:before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

.teams-content {
    background-color: #0A483C;
    padding: 20px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.teams-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    line-height: 1.2;
    color: white;
    font-weight: 700;
}

.teams-content p {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 15px;
}

.teams-content .outline-button {
    color: #42DE84;
    border: 2px solid #42DE84;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
    position: relative;
    overflow: hidden;
    font-size: 25px;
}

.teams-content .outline-button:hover {
    background-color: white;
    color: #0A483C;
}

h2.heading-text.mobile {
    display: none;
}


/* .teams-content .outline-button:after {
    content: '→';
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: all 0.3s ease;
} */

.teams-content .outline-button:hover:after {
    opacity: 1;
    right: 25px;
}


/* Enhanced mobile responsiveness for teams section */

@media screen and (max-width: 992px) {
    .teams-section {
        margin: 30px 0;
        /* Slightly reduced margin on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .teams-section {
        padding: 40px 0;
        margin: 0;
        /* Further reduced margin on mobile */
    }
    .teams-content {
        padding: 30px 20px;
        /* Reduce padding on mobile */
    }
    .teams-content h2 {
        font-size: 1.8rem;
        /* Smaller font on mobile */
        margin-bottom: 15px;
    }
    .teams-content p {
        font-size: 1rem;
        /* Smaller paragraph text */
        margin-bottom: 20px;
    }
    .teams-content .outline-button {
        padding: 10px 25px;
        /* Smaller button */
        font-size: 0.95rem;
        width: auto;
        /* Change from 100% to auto */
        display: block;
        margin: 0 auto;
        /* Center the button horizontally */
        text-align: center;
        max-width: 80%;
        /* Limit width but keep it centered */
    }
    .teams-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center all content in the teams section */
        text-align: center;
        padding: 25px 15px !important;
    }
    .teams-content .outline-button::after {
        position: relative;
        right: auto;
        margin-left: 8px;
    }
}

@media screen and (max-width: 400px) {
    .teams-section {
        padding: 30px 0;
        margin: 15px 0;
        /* Minimal margin on very small screens */
    }
    .teams-content .outline-button {
        max-width: 90%;
        /* Make button slightly wider on very small screens */
        font-size: 0.9rem;
        /* Slightly smaller text */
        padding: 10px 20px;
    }
}

@media screen and (max-width: 992px) {
    .teams-container {
        grid-template-columns: 1fr 1.2fr;
        margin: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    .teams-container {
        grid-template-columns: 1fr;
    }
    .teams-visual {
        height: 200px;
        min-height: 0;
    }
    .teams-content {
        padding: 40px 30px;
    }
    .teams-content h2 {
        font-size: 2rem;
    }
}


/* Clients section */

.clients-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.client-logos img {
    max-height: 50px;
    max-width: 120px;
    opacity: 0.8;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
    animation-play-state: paused;
}

.client-logos img:hover {
    opacity: 1;
    animation-play-state: running;
    transform: scale(1.15) rotate(-3deg);
}


/* Contact form section */


/* Updated Contact form section to match the provided design */

.contact-form-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.contact-text h2 {
    color: #2f7264;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.contact-form {
    background-color: white;
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e6e6e6;
    transition: all 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.single-column {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 0;
}

.submit-button {
    background-color: white;
    color: #333;
    border: 1px solid #333;
    border-radius: 50px;
    padding: 12px 40px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-button:hover {
    background-color: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.submit-button:hover:before {
    left: 0;
}


/* Responsive adjustments */

@media screen and (max-width: 992px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media screen and (max-width: 768px) {
    .contact-form-section {
        padding: 40px 0;
        /* Reduce padding but keep consistent */
    }
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }
    .contact-form {
        padding: 30px;
    }
    .contact-form h3 {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 30px 0;
    }
    .container {
        padding: 0 15px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .submit-button {
        width: 100%;
    }
}


/* Responsive adjustments */

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .stats-grid {
        gap: 15px;
        /* Make stat card spacing consistent on mobile */
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .services-container {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .client-logos {
        gap: 20px;
    }
    .client-logos img {
        max-height: 40px;
        max-width: 100px;
    }
    .section-title {
        font-size: 1.8rem;
    }
}


/* Fix mobile drawer styles */

@media screen and (max-width: 768px) {
    /* Fix services grid layout on mobile */
    .services-container {
        grid-template-columns: 1fr;
    }
    /* Hide desktop content on mobile */
    .service-content-container {
        display: none;
    }
    /* Mobile menu styling */
    .services-menu {
        width: 100%;
        border: 1px solid #e6e6e6;
        background-color: transparent;
        border: none;
    }
    .services-menu ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .services-menu li {
        border-bottom: none;
        border-radius: 8px;
        margin-bottom: 10px;
        overflow: hidden;
        border: 1px solid #e6e6e6;
        background-color: white;
    }
    .services-menu li a {
        position: relative;
        padding: 15px;
    }
    /* Add expand/collapse indicators */
    .services-menu li a::after {
        content: '+';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
    }
    /* Active state */
    .services-menu li.active {
        background-color: white;
        border-left: 3px solid #0A483C;
        box-shadow: 0 4px 12px rgba(10, 72, 60, 0.15);
    }
    .services-menu li.active a {
        color: #0A483C;
        font-weight: 600;
    }
    .services-menu li.active a::after {
        content: '−';
        color: #0A483C;
    }
    /* Show mobile content */
    .mobile-service-content {
        display: none;
        padding: 5px 15px 20px;
        border-top: 1px solid #f0f0f0;
    }
    .services-menu li.active .mobile-service-content {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media screen and (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .teams-section h2 {
        font-size: 2rem;
    }
    .contact-text h2 {
        font-size: 2rem;
    }
    .contact-form {
        padding: 20px;
    }
}


/* Mobile-specific styles for stat boxes */

@media screen and (max-width: 768px) {
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Two columns in mobile */
        gap: 15px;
        /* Reduced gap between items */
    }
    .stat-card {
        padding: 20px 15px;
        /* Reduce padding */
        min-height: 150px;
        /* Set minimum height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .stat-card h2 {
        font-size: 2.2rem;
        /* Smaller font size */
        margin-bottom: 5px;
        /* Reduced margin */
    }
    .stat-card p {
        font-size: 0.9rem;
        /* Smaller text */
        line-height: 1.3;
        text-align: center;
        margin: 0;
    }
    /* Adjust feature section (which is the 2fr column in desktop) */
    .feature {
        grid-column: span 2;
        /* Make feature span both columns */
        padding: 25px 20px;
        /* Adjust padding */
    }
    .feature h3 {
        font-size: 1.3rem;
        text-align: center;
        line-height: 28px;
    }
}


/* For very small screens */

@media screen and (max-width: 400px) {
    .stats-grid {
        gap: 10px;
        /* Further reduce gap */
    }
    .stat-card {
        padding: 15px 10px;
        min-height: 130px;
    }
    .stat-card h2 {
        font-size: 2rem;
    }
    .stat-card p {
        font-size: 0.8rem;
    }
}


/* Fix mobile spacing and alignment issues */


/* Consistent spacing between sections on mobile */

@media screen and (max-width: 768px) {
    /* Adjust top spacing */
    .stats-section {
        padding-top: 20px;
        /* Reduce space after header */
        padding-bottom: 30px;
        /* Create consistent spacing */
    }
    /* Fix spacing between stat boxes and feature box */
    .stats-grid {
        margin-bottom: 10px;
        /* Add space after grid */
    }
    /* Adjust feature box spacing */
    .feature {
        margin-top: 5px;
        /* Reduce gap between stat cards and feature */
        margin-bottom: 30px;
        /* Add space after feature section */
    }
    /* Fix "Why Choose InfAI" section spacing */
    .why-choose-section {
        padding-top: 20px;
        /* Reduced padding */
        padding-bottom: 30px;
        /* Consistent padding */
    }
    .why-choose-section h2 {
        margin-bottom: 25px;
        /* Add space below title */
    }
    /* Fix icon spacing */
    .icon-container {
        margin-bottom: 10px;
        /* Reduce space below icons */
        height: 60px;
        /* Make icons smaller */
    }
    /* Equal margins for all sections */
    section {
        margin-bottom: 15px;
        /* Consistent margin between sections */
    }
    /* Adjust stat card styling for better appearance */
    .stat-card {
        min-height: 120px;
        /* Further reduce height */
        margin-bottom: 0;
        /* Remove additional margins */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /* Fix feature box text spacing */
    .feature-content {
        padding: 5px;
    }
    /* Adjust footer spacing */
    footer {
        margin-top: 30px;
        /* Consistent spacing before footer */
    }
}


/* For very small screens */

@media screen and (max-width: 400px) {
    /* Further spacing adjustments */
    .stats-section {
        padding-top: 15px;
        padding-bottom: 20px;
    }
    .stats-grid {
        gap: 8px;
        /* Reduce gap further for very small screens */
    }
    .stat-card {
        padding: 12px 8px;
        min-height: 100px;
    }
    /* Reduce section margins for very small screens */
    section {
        margin-bottom: 10px;
    }
    /* Adjust icon spacing */
    .icon-container {
        height: 50px;
        margin-bottom: 8px;
    }
    .benefit-card h3 {
        width: 100%;
        margin-top: 0;
        margin-bottom: 8px;
        font-size: 1.3rem;
    }
    .benefit-card p {
        margin-bottom: 0;
        font-size: 16px;
    }
}


/* Fix alignment of elements */

.stats-grid,
.feature,
.why-choose-section {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}


/* Center-align stat content on mobile */

@media screen and (max-width: 768px) {
    .stat-card h2 {
        text-align: center;
        margin-bottom: 3px;
    }
    .stat-card p {
        text-align: center;
    }
    /* Ensure container doesn't add extra padding in mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Fix navigation dots on feature image */
    .dots-container {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}


/* Client logo ticker styles */

.ticker-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
    padding: 20px 0;
    background-color: white;
}

.ticker {
    display: flex;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    animation: ticker 30s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
    /* Pause on hover */
}

.ticker-item {
    flex: 0 0 auto;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ticker-item img {
    max-height: 50px;
    max-width: 120px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.ticker-item:hover img {
    opacity: 1;
    transform: scale(1.15) rotate(-3deg);
    filter: grayscale(0%);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
        /* Move to the left by the full width */
    }
}


/* Responsive adjustments */

@media screen and (max-width: 768px) {
    .heading-text {
        font-size: 1.6rem !important;
    }
    h2.heading-text.desktop {
        display: none;
    }
    .ticker-item {
        margin: 0 20px;
    }
    .ticker-item img {
        max-height: 80px;
        max-width: 100%;
    }
    .contact-inner {
        gap: unset !important;
    }
    .form-title {
        text-align: left !important;
    }
    @keyframes ticker {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
    .contact-wrapper {
        padding: 40px 20px 60px !important;
    }
}

@media screen and (max-width: 480px) {
    .ticker-item {
        margin: 0 15px;
    }
}


/* Add these animation keyframes at the end of your file */

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes numberAnimation {
    0% {
        content: "0%";
    }
    10% {
        content: "4%";
    }
    20% {
        content: "8%";
    }
    30% {
        content: "12%";
    }
    40% {
        content: "16%";
    }
    50% {
        content: "20%";
    }
    60% {
        content: "24%";
    }
    70% {
        content: "28%";
    }
    80% {
        content: "32%";
    }
    90% {
        content: "36%";
    }
    100% {
        content: "40%";
    }
}

@keyframes multiplyAnimation {
    0% {
        content: "0x";
    }
    16.7% {
        content: "0.5x";
    }
    33.3% {
        content: "1x";
    }
    50% {
        content: "1.5x";
    }
    66.7% {
        content: "2x";
    }
    83.3% {
        content: "2.5x";
    }
    100% {
        content: "3x";
    }
}

@keyframes lightSweep {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}


/* Optimize mobile body height by removing unwanted space */

@media screen and (max-width: 768px) {
    /* Reduce overall section padding */
    section {
        padding: 30px 0 !important;
        /* Override all section padding */
    }
    /* Tighten spacing between elements */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    /* Adjust stat cards height and spacing */
    .stats-section {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
    .stats-grid {
        margin-bottom: 8px;
        gap: 10px;
    }
    .stat-card {
        min-height: 100px !important;
        padding: 15px 10px !important;
    }
    /* Remove extra space below stats section */
    .feature {
        margin-top: 0;
        margin-bottom: 0;
        padding: 20px 15px !important;
    }
    /* Fix spacing throughout the page */
    .why-choose-section {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
    .benefits-grid {
        margin-top: 20px;
        gap: 15px;
    }
    .benefit-card {
        padding: 10px;
    }
    /* Remove empty space in services section */
    .services-section {
        padding: 15px 0 !important;
    }
    .services-menu li {
        margin-bottom: 8px;
    }
    .services-menu li a {
        padding: 12px;
        font-size: 1.3rem;
    }
    /* Tighten teams section spacing */
    .teams-section {
        padding: 15px 0 !important;
        margin: 0 !important;
    }
    .teams-container {
        margin: 0 10px !important;
    }
    .teams-visual {
        height: 150px !important;
        /* Reduce height of visual */
    }
    .teams-content {
        padding: 25px 15px !important;
    }
    .teams-content h2 {
        margin-bottom: 10px;
        font-size: 1.6rem !important;
    }
    .teams-content p {
        margin-bottom: 15px;
    }
    /* Tighten clients section */
    .clients-section {
        padding: 55px 0 !important;
    }
    .ticker-wrapper {
        margin-top: 20px;
        padding: 30px 0;
    }
    /* Optimize contact section */
    .contact-form-section {
        padding: 10px 0 !important;
    }
    .contact-form-wrapper {
        gap: 15px;
    }
    .contact-text h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0;
    }
    .contact-form {
        padding: 20px 15px !important;
    }
    .contact-form h3 {
        margin-bottom: 15px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 0;
    }
    .submit-button {
        margin: 20px auto 0;
        padding: 10px 20px;
    }
    /* Remove extra space between sections */
    section {
        margin-bottom: 0 !important;
    }
    /* Adjust section heading sizes */
    .section-title {
        margin-bottom: 20px;
        font-size: 1.6rem;
        width: 100%;
        text-align: center;
    }
    /* Fix why choose section icons */
    .icon-container {
        height: 50px;
        margin-bottom: 5px;
    }
    /* Make dots container smaller */
    .dots-container {
        margin: 8px 0;
    }
}


/* Extra adjustments for very small screens */

@media screen and (max-width: 400px) {
    /* Further reduce heights */
    .stat-card {
        min-height: 90px !important;
        padding: 10px 8px !important;
    }
    .stat-card h2 {
        font-size: 1.8rem !important;
        margin-bottom: 2px;
    }
    .stat-card p {
        font-size: 0.75rem !important;
    }
    /* Tighten even more on very small screens */
    section {
        padding: 20px 0 !important;
    }
}

.contact-wrapper {
    padding: 100px 20px 60px;
    /* Increased top padding to account for fixed header */
    max-width: 100%;
    margin: 0 auto;
    background-color: #f9f9f9;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}


/* Improve the inner layout of the form */

.contact-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}


/* Heading section styles */

.heading-section {
    margin-bottom: 20px;
    text-align: center;
}

.heading-text {
    color: #3a7d6d;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

.form-section {
    width: 100%;
    border-radius: 50px 0 0 0;
}

.form-title {
    color: #333;
    font-size: 25px;
    margin: 0 0 30px 0;
    font-weight: 600;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

input,
select {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #000;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s;
    outline: none;
}

input::placeholder {
    color: #237C6FBF;
    font-size: 16px;
}

input:focus,
select:focus {
    border-bottom: 1px solid #3a7d6d;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 25px;
}

.form-submit {
    margin-top: 15px;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #565656;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.4rem;
    color: #000000;
    background-color: transparent;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #000;
    color: #fff;
}


/* Media Queries for Responsive Design */

@media screen and (min-width: 768px) {
    .contactForm-div {
        grid-template-columns: 1fr 1fr .2fr;
        display: grid;
        gap: 30px;
    }
    .contact-inner {
        flex-direction: row;
        gap: 40px;
    }
    .heading-section {
        width: 25%;
        text-align: left;
        display: flex;
        align-items: center;
    }
    .form-section {
        width: 75%;
        padding: 40px;
        border: 1px solid #9D9D9D;
    }
    .form-title {
        text-align: left;
        font-weight: 500;
    }
}