.navbar {
    background: #ffffff87;
}

    .navbar a {
        color: #000;
    }

.main_box_container {
    display: none;
}

.z_11 {
    z-index: 11 !important;
}

.partners-slider .owl-stage-outer {
    display: flex;
    justify-content: center
}

.head_bg_text {
    -webkit-text-fill-color: #ffffff;
    -webkit-text-stroke: 3px #009846;
    font-size: 60px;
    position: relative;
    bottom: -19px;
    left: -5px;
    z-index: -1;
    opacity: 0.4 !important;
    font-family: 'Roboto';
    paint-order: stroke fill;
}

.head_text {
    color: #009846;
}

#branding .head_bg_text, #marketing-section .head_bg_text, #strategic-section .head_bg_text {
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 2px #FFFFFF !important;
    font-size: 60px;
    position: relative;
    bottom: -19px;
    left: -5px;
    z-index: 1 !important;
    opacity: 0.4 !important;
    font-family: 'Roboto';
}

#marketing-section .head_bg_text {
    -webkit-text-fill-color: #f88847 !important;
}

#strategic-section .head_bg_text {
    -webkit-text-fill-color: #5f78f6 !important;
}

#branding .head_bg_text {
    -webkit-text-fill-color: #19c567 !important;
}

#branding .head_text, #marketing-section .head_text, #strategic-section .head_text {
    color: #000 !important;
    position: relative;
    z-index: 111;
}






.head_bg_text_center {
    left: unset;
    right: unset;
    text-align: center;
}

@media only screen and (max-width: 1200px) {
    .head_bg_text, #branding .head_bg_text, #marketing-section .head_bg_text, #strategic-section .head_bg_text {
        font-size: 60px;
    }
}

@media only screen and (max-width: 769px) {
    .head_bg_text, #branding .head_bg_text, #marketing-section .head_bg_text, #strategic-section .head_bg_text {
        bottom: -23px;
        font-size: 52px;
    }
}

@media only screen and (max-width: 420px) {
    .head_bg_text, #branding .head_bg_text, #marketing-section .head_bg_text, #strategic-section .head_bg_text {
        bottom: -26px;
        font-size: 40px;
    }

    #counter-section h6 {
        font-size: 14px !important;
        line-height: 20px;
    }
}
/*#counter-section {
				    background: #efefef;
					    margin-top: 180px;

			}*/
#quote {
    margin-top: 180px;
}

.bg_grd {
    background: linear-gradient(to right, #c4d1e4 22%, #328c5b70 63%);
}

.owl-carousel .owl-stage {
    display: flex;
}

.mt-auto {
    margin-top: auto;
}

.bg_circle {
    background: #284695;
    border-radius: 100%;
    width: 100px;
    line-height: 100px;
    height: 100px;
    text-align: center;
    margin: auto;
    margin-bottom: 10px !important;
    color: #fff;
}

.colour-1 {
    color: #fd8845 !important;
}

.text-circle-1 {
    color: #fd8845;
    padding-top: 70px;
}

.colour-2 {
    color: #ec4a91 !important;
}

.text-circle-2 {
    color: #ec4a91;
    padding-top: 70px;
}

.colour-3 {
    color: #C868E6 !important;
}

.text-circle-3 {
    color: #C868E6;
    padding-top: 70px;
}

.colour-4 {
    color: #763AC7 !important;
}

.text-circle-4 {
    color: #763AC7;
    padding-top: 70px;
}

.colour-5 {
    color: #5B71E9 !important;
}

.text-circle-5 {
    color: #5B71E9;
    padding-top: 70px;
}

.text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
    padding-top: 70px;
}

@media(max-width:1400px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 71px;
    }
}

@media(max-width:1200px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 70px;
    }
}

@media(max-width:992px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 75px;
    }
}

@media(max-width:768px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 67px;
    }
}

@media(max-width:576px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 67px;
    }
}

@media(max-width:470px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 65px;
    }
}

@media(max-width:380px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 55px;
        font-size: 18px !important;
        line-height: 20px;
    }
}

@media(max-width:350px) {
    .text-circle-5, .text-circle-4, .text-circle-3, .text-circle-2, .text-circle-1 {
        padding-top: 45px;
    }
}




#counter-section .video-background {
    width: 100%;
    overflow: hidden;
}

@media(min-width:992px) {
    #counter-section .video-background video {
        width: 100%;
        height: 480px; /* Set the desired height here */
        object-fit: cover; /* Ensures the video covers the container while preserving aspect ratio */
        object-position: top center;
    }
}



/*.navbar {
    display: none;
    transition: display 0.5s ease-in-out;
}*/

/* Show the header when the class 'show-header' is added */
.navbar.show-header {
    display: block;
}

.hm-video {
    position: unset !important;
    transform: unset !important;
    height: 100vh !important;
}

#hero-section {
    background: unset !important;
}

.ScrollDown_box {
    position: absolute;
    left: 50%;
    top: 2%;
    margin-left: -50px;
}

a.btn_ScrollDown {
    display: block;
    padding-top: 0px;
    width: 100%;
    height: 10px;
    margin: 0 auto;
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

    a.btn_ScrollDown span:nth-of-type(1) {
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
    }

    a.btn_ScrollDown span {
        position: absolute;
        top: 0px;
        margin-top: 55px;
        left: 50%;
        width: 20px;
        height: 20px;
        margin-left: -15px;
        border-left: 4px solid #fff;
        border-bottom: 4px solid #fff;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-animation: sdb 1.5s infinite;
        animation: sdb 1.5s infinite;
        box-sizing: border-box;
    }

        a.btn_ScrollDown span:nth-of-type(2) {
            top: 16px;
            -webkit-animation-delay: .15s;
            animation-delay: .15s;
        }

a.btn_ScrollDown {
    display: block;
    padding-top: 0px;
    width: 100%;
    height: 10px;
    margin: 0 auto;
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

.cores_container .bg_orange {
    background: #FD8845 !important;
}

#counter-section h2 {
    font-size: 40px;
}

.cores_container {
    position: relative;
}


.cr-h::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: #FD8845;
    border-radius: 8px;
    transition: 1.5s ease-out;
}

.cr-h-2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: #EC4A91;
    border-radius: 8px;
    transition: 1.5s ease-out;
}

.cr-h-3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: #C868E6;
    border-radius: 8px;
    transition: 1.5s ease-out;
}

.cr-h-4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: #763AC7;
    border-radius: 8px;
    transition: 1.5s ease-out;
}

.cr-h-5::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: #5B71E9;
    border-radius: 8px;
    transition: 1.5s ease-out;
}

.cr-h-6::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0px;
    background: #0B3796;
    border-radius: 8px;
    transition: 1.5s ease-out;
}

.cores_container:hover::before {
    height: 80%;
}

@media(max-width:1200px) {
    .cores_container:hover::before {
        height: 90%;
    }
}


.cores_container .upper_img {
    z-index: 99;
}

#branding {
    background: url(assets/img/branding-banner-img.png);
    background: url(assets/img/branding-banner-img.webp);
    background-size: cover;
    background-position: left center;
}

#marketing-section {
    background: url(assets/img/marketing-bg-img.png);
    background: url(assets/img/marketing-bg-img.webp);
    background-size: cover;
    background-position: right center;
}

#strategic-section {
    background: url(assets/img/strategic-bg-img.png);
    background: url(assets/img/strategic-bg-img.webp);
    background-size: cover;
    background-position: left center;
}

.bg-next {
    background: url(assets/img/be-next-banner-img.png);
    background-size: cover;
    background-position: left center;
}

@media(min-width:1200px) {
    .pt-top {
        padding-top: 150px;
    }
}

@media(max-width:1200px) and (min-width:992px) {

    .pt-top {
        padding-top: 320px !important;
    }
}

.cores_container:hover .after_hover {
    margin-top: 15px;
}

@media only screen and (max-width: 575px) {
    .cores_container:hover .upper_img {
        transform: translateY(215%) scale(0.9);
    }
}

@media(max-width:992px) {
    #marketing-section {
        background: url(assets/img/mobile-banner-img.png);
        background: url(assets/img/mobile-banner-img.webp);
        background-size: cover;
        background-position: center center;
    }

    #strategic-section {
        background-position: center center;
    }

    #branding {
        background-position: center center;
    }
}

.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 150ms infinite linear;
            -moz-animation: spinner 150ms infinite linear;
            -ms-animation: spinner 150ms infinite linear;
            -o-animation: spinner 150ms infinite linear;
            animation: spinner 150ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.serveycheckboxlabel label {
    display: inline-block;
    padding-left: 5px;
}

@media(max-width:768px) {
    #reviews-section h6 {
        font-size: 18px;
    }


    #hero-section {
        margin-top: 50px;
    }
}

.f-s {
    font-size: 36px;
}

@media(max-width:768px) {
    #branding .head_bg_text, #marketing-section .head_bg_text, #strategic-section .head_bg_text {
        opacity: 0.5 !important;
    }
}

@media(min-width:992px) {
    .creting {
        font-size: 31px !important;
        line-height: 46px;
        text-shadow: 4px 3px #00000038;
    }
}

@media(max-width:992px) {
    .creting {
        font-size: 26px;
        line-height: 40px;
    }

    .ft-size {
        font-size: 24px !important;
    }
}

.blue-text {
    color: #1E3D88;
    line-height: 26px;
}

.align-button td {
    display: flex !important;
    gap: 5px !important;
}

/* Remove old background text styles */
.head_bg_text {
    display: none !important;
}

/* Ensure sections have proper z-index */
.position-relative {
    z-index: 1;
}

/* Make sure overlay text is readable */
.position-absolute.text-white {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Mobile overlay styles */
@media (max-width: 768px) {
    .mobile-img + .position-absolute {
        background: rgba(0,0,0,0.6) !important;
    }
}

/* Cursive font for subheadings */
.cursive-font {
    font-family: 'Dancing Script', 'Great Vibes', cursive, sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
}

/* Dark overlay for text readability */
.overlay-dark {
    background: rgba(0, 0, 0, 0.5);
}

/* Remove old background text animation */
.head_bg_text {
    display: none !important;
}

/* Ensure proper text contrast */
.text-white {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Mobile heading sizes */
@media (max-width: 768px) {
    .cursive-font {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2.5rem;
    }
}


/* Cursive font for subheadings */
.cursive-font {
    font-family: 'Dancing Script', 'Great Vibes', cursive, sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
}

/* Remove old background text animation */
.head_bg_text {
    display: none !important;
}

/* Desktop heading styles */
@media (min-width: 768px) {
    .head_text {
        font-weight: 700;
    }

    .cursive-font {
        font-size: 3rem;
    }
}

/* Mobile heading styles */
@media (max-width: 768px) {
    .cursive-font {
        font-size: 2rem;
    }

    .head_text {
        font-size: 2.5rem;
    }
}


/* Remove all gaps between sections */
.container-fluid > div > .position-relative {
    margin: 0;
    padding: 0;
}

/* Cursive font for subheadings */
.cursive-font {
    font-family: 'Dancing Script', 'Great Vibes', cursive, sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
}

/* Remove old background text animation */
.head_bg_text {
    display: none !important;
}

/* Ensure images cover properly without gaps */
.img-fluid.w-100 {
    display: block;
}

/* Desktop styles */
@media (min-width: 768px) {
    .head_text {
        font-weight: 700;
    }

    .cursive-font {
        font-size: 3rem;
    }

    .position-relative {
        margin-bottom: 0 !important;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .cursive-font {
        font-size: 2rem;
    }

    .head_text {
        font-size: 2.5rem;
    }
    /* Ensure mobile content is readable on background */
    .text-white {
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    /* Larger headings for mobile */
    .mobile-heading {
        font-size: 40px !important;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    /* Larger sub-headings for mobile */
    .mobile-subheading {
        font-size: 30px !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }

    /* Larger content images for mobile */
    .mobile-content-img {
        max-height: 300px !important;
        width: auto;
        max-width: 90%;
        margin: 0 auto;
    }

    /* Larger text for mobile */
    .mobile-text {
        font-size: 1.1rem !important;
        line-height: 1.6;
    }

    /* Larger button for mobile */
    .btn-lg {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    /* Ensure BG image covers full screen */
    .position-relative img {
        height: 100vh !important;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .mobile-heading {
        font-size: 30px !important;
    }

    .mobile-subheading {
        font-size: 2rem !important;
    }

    .mobile-content-img {
        max-height: 250px !important;
    }

    .mobile-text {
        font-size: 1rem !important;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    /* Larger headings for mobile */
    .mobile-heading {
        font-size: 3.2rem !important;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    /* Larger sub-headings for mobile */
    .mobile-subheading {
        font-size: 2.7rem !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }

    /* Larger content images for mobile */
    .mobile-content-img {
        max-height: 320px !important;
        width: auto;
        max-width: 90%;
        margin: 0 auto;
    }

    /* Larger text for mobile */
    .mobile-text {
        font-size: 1.2rem !important;
        line-height: 1.7;
    }

    /* Larger button for mobile */
    .btn-lg {
        padding: 14px 35px;
        font-size: 1.2rem;
    }

    /* Ensure BG image covers full screen */
    .position-relative img {
        height: 100vh !important;
    }
}

/* Extra small devices (576px and below) */
@media (max-width: 576px) {
    .mobile-heading {
        font-size: 3.5rem !important;
    }

    .mobile-subheading {
        font-size: 3rem !important;
    }

    .mobile-content-img {
        max-height: 350px !important;
    }

    .mobile-text {
        font-size: 1.3rem !important;
        line-height: 1.8;
        color: black !important;
    }

    .btn-lg {
        padding: 16px 40px;
        font-size: 1.3rem;
    }
}

/* Experience Section */
#counter-section {
    position: relative;
    overflow: hidden;
}

/* Counter Animation */
.counter-value {
    display: inline-block;
}

/* Counter Item Styling */
.counter-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

    .counter-item:hover {
        transform: translateY(-10px);
    }

/* Quote Text */
.quote-text {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    margin-bottom: 0px;
}

/* Mobile Slider Styling */
.mobile-counters-slider .item {
    padding: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #counter-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .quote-text {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .counter-item h2 {
        font-size: 2.5rem !important;
    }

    .counter-name {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .preciousexp-img {
        max-height: 60px !important;
        width: auto;
    }
}

@media (max-width: 576px) {
    .preciousexp-img {
        max-height: 60px !important;
    }
}

/* Remove old counter styles but KEEP THE ANIMATION SCRIPT */
.bg_circle, .text-circle-1, .text-circle-2, .text-circle-3, .text-circle-4, .text-circle-5,
.colour-1, .colour-2, .colour-3, .colour-4, .colour-5 {
    display: none;
}

/* Remove old video background */
.video-background, .video-overlay, .video-bg {
    display: none;
}

/* Branding Transformation Section */
@media (max-width: 768px) {
    .position-relative.py-5 h1.display-4 {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }

    .position-relative.py-5 h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .position-relative.py-5 .btn-lg {
        padding: 12px 30px !important;
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .position-relative.py-5 h1.display-4 {
        font-size: 1.6rem !important;
        margin-top: 4.5rem !important;
    }

    .position-relative.py-5 h2 {
        font-size: 1.5rem !important;
    }
}



/* Animated Subheading for Desktop & Mobile */
.animated-subheading {
    font-family: 'cursive', 'Brush Script MT', 'Comic Sans MS', 'Segoe Print', sans-serif;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-delay: 0.3s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure heading has proper z-index */
.head_text, .mobile-heading {
    position: relative;
    z-index: 10;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .animated-subheading {
        font-size: 2.5rem !important;
        margin-top: -8px !important;
    }

    /* Ensure 60px heading on mobile */
    .mobile-heading[style*="font-size: 60px"] {
        font-size: 40px !important;
        line-height: 1.1;
    }
}

/* Desktop adjustments */
@media (min-width: 769px) {
    .animated-subheading {
        font-size: 2.8rem !important;
        margin-top: -15px !important;
    }
}

/* CTA Cursive text specific */
.bg-next .cursive-font {
    font-size: 3rem !important;
    display: inline-block;
}

/* Testimonials cursive */
#reviews-section .cursive-font {
    font-size: 3rem;
    color: #019845 !important;
    display: block;
    margin-top: 25px !important;
}


/* /* ========== SECTION-BASED ANIMATED HEADING STYLES ========== */

/* Animated Heading (BRANDING/MARKETING/STRATEGY) - KEEP ONLY THIS ONE! */
.animated-heading {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    /* When animated class is added */
    .animated-heading.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* REMOVE the animated-subheading animation since you don't want it */
/* .animated-subheading {
    font-family: 'cursive', 'Brush Script MT', 'Comic Sans MS', 'Segoe Print', sans-serif;
    animation: slideUpSubheading 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-delay: 0.5s;
} */

/* KEEP the cursive-font styles but REMOVE animation from them */
.cursive-font {
    font-family: 'Dancing Script', 'Great Vibes', cursive, sans-serif;
    /* REMOVE THESE ANIMATION LINES: */
    /* animation: slideUpSubheading 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-delay: 0.5s; */
}

/* KEEP heading z-index */
.head_text, .mobile-heading {
    position: relative;
    z-index: 10;
}

/* KEEP desktop adjustments */
@media (min-width: 769px) {
    .cursive-font {
        font-size: 2.8rem !important;
        margin-top: 0px !important;
    }

    .animated-heading {
        margin-bottom: 0 !important;
    }
}

/* KEEP mobile adjustments */
@media (max-width: 768px) {
    .cursive-font {
        font-size: 2.5rem !important;
        margin-top: 8px !important;
    }

    .animated-heading {
        margin-bottom: 0 !important;
    }

    .mobile-heading[style*="font-size: 60px"] {
        font-size: 40px !important;
        line-height: 1.1;
    }
}

/* KEEP extra small adjustments */
@media (max-width: 576px) {
    .cursive-font {
        font-size: 2rem !important;
        margin-top: 6px !important;
    }

    .mobile-heading[style*="font-size: 60px"] {
        font-size: 50px !important;
    }
}

/* KEEP counter section cursive */
#counter-section .cursive-font {
    font-size: 3rem !important;
    color: #019845 !important;
    display: block;
    margin-top: -30px !important;
}

/* KEEP partnership section cursive */
#logos-section .cursive-font {
    font-size: 3rem !important;
    color: #009846 !important;
    display: inline-block;
}


/* COUNTERS STYLE*/

/* ========== COUNTER SECTION UPDATES ========== */

/* Main container box for all counter section content */
.counter-main-box {
    background: rgba(255, 255, 255, 0.3); /* Slightly transparent white */
    border-radius: 15px;
    padding: 10px 10px;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.15), 8px 8px 20px rgba(0, 0, 0, 0.1), 4px 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

/* Individual counter boxes - UPDATED FOR MORE RECTANGULAR SHAPE */
.counter-box {
    background: white;
    border-radius: 12px;
    padding: 25px 10px; /* Reduced side padding */
    margin: 10px 5px; /* Reduced side margins */
    text-align: center;
    min-height: 130px;
    min-width: 190px; /* Added minimum width for rectangle shape */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.1), 5px 5px 15px rgba(0, 0, 0, 0.07), 2px 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex: 1; /* Added to make boxes stretch */
}

    .counter-box:hover {
        transform: translateY(-5px);
        box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.15), 8px 8px 20px rgba(0, 0, 0, 0.1), 3px 3px 10px rgba(0, 0, 0, 0.05);
    }

.mobile-counter-box {
    background: white;
    border-radius: 10px;
    padding: 20px 10px; /* Reduced side padding */
    margin: 10px auto; /* Center boxes */
    text-align: center;
    min-height: 140px;
    min-width: 150px; /* Added minimum width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1), 4px 4px 12px rgba(0, 0, 0, 0.06), 2px 2px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}


/* Counter numbers */
.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #264697;
    line-height: 1;
    margin-bottom: 10px;
}

.mobile-counter-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #264697;
    line-height: 1;
    margin-bottom: 8px;
}

/* Counter text */
.counter-text {
    color: #019845;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.mobile-counter-text {
    color: #019845;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Experience section background */
#counter-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Quote text styling */
.quote-box {
    padding: 20px;
    margin-bottom: 0px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .counter-main-box {
        padding: 30px 15px !important; /* Increased side padding */
        margin: 0 auto !important; /* Center the box */
        width: 95% !important; /* Ensure it's not full width */
        max-width: 95% !important;
        transform: none !important; /* Remove any transform */
        left: 0 !important;
        right: 0 !important;
    }

    .counter-box, .mobile-counter-box {
        min-height: 140px;
        padding: 20px 15px;
        margin: 10px auto !important; /* Center each box */
    }

    .counter-number {
        font-size: 2.8rem;
    }

    .mobile-counter-number {
        font-size: 2.5rem;
    }

    /* Center the mobile slider */
    .mobile-counters-slider .owl-stage {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-counters-slider .item {
        display: flex;
        justify-content: center;
    }

    /* Ensure owl carousel is centered */
    .mobile-counters-slider.owl-carousel {
        margin: 0 auto !important;
        width: 100% !important;
    }

    .owl-stage-outer {
        overflow: visible !important;
    }

    .owl-stage {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* ========== IMAGE ANIMATION WITH HEADING ========== */

/* Animated Image Container for Desktop */
.animated-image-container {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

/* Animated Image Container for Mobile */
.mobile-content-img {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

    /* When animated class is added */
    .animated-image-container.animated,
    .mobile-content-img.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* Animated Heading */
.animated-heading {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    /* When animated class is added */
    .animated-heading.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* Mobile heading animation */
.mobile-heading {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    .mobile-heading.animated {
        opacity: 1;
        transform: translateY(0);
    }





/* Replace the existing .quote-text styles with this: */

/* Counter Quote Text with Stroke Effect (like TESTIMONIALS) */
.quote-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 30px;
}

    .quote-text br {
        display: block;
        margin: 10px 0;
    }

    /* Strong elements (MARCOST, BRAND, MOVEMENT) with stroke effect */
    .quote-text strong {
        color: #fff; /* White text */
        -webkit-text-fill-color: #fff; /* White fill */
        -webkit-text-stroke: 2px #264697; /* Green stroke */
        text-stroke: 2px #019845;
        paint-order: stroke fill;
        display: inline-block;
        position: relative;
    }

/* Regular text (WITH, YOU ARE NOT JUST A, YOU ARE A) */
.quote-text {
    color: #fff; /* White text */
    -webkit-text-fill-color: #fff; /* White fill */
    -webkit-text-stroke: 2px #264697; /* Green stroke */
    text-stroke: 2px #019845;
    paint-order: stroke fill;
    display: inline-block;
    position: relative;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .quote-text {
        font-size: 2rem;
        letter-spacing: 1px;
    }

        .quote-text strong {
            -webkit-text-stroke: 1.5px #264697;
            text-stroke: 1.5px #019845;
        }
}

@media (max-width: 576px) {
    .quote-text {
        font-size: 1.8rem;
        line-height: 1.2;
    }
}

/* Remove the old .stroke-text class */
.stroke-text {
    display: none;
}


/* TRSTINONIAL RIGHT SIDE SPACE ISSUE */
/* Add this to the existing CSS */
/* FIX FOR TESTIMONIALS MOBILE SPACING - MINIMAL */
@media (max-width: 768px) {
    /* Fix horizontal overflow issue */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    #reviews-section {
        width: 100% !important;
        overflow: hidden !important;
    }

        #reviews-section .container {
            padding-left: 0 !important;
            padding-right: 0 !important;
            max-width: 100% !important;
            overflow: hidden !important;
        }

        /* Fix the carousel container */
        #reviews-section .owl-carousel.owl-loaded {
            width: 100% !important;
            overflow: visible !important;
        }

        #reviews-section .owl-stage-outer {
            width: 100% !important;
            overflow: hidden !important;
            padding-left: 15px !important; /* Small padding for first item */
            padding-right: 15px !important; /* Small padding for last item */
        }

        /* Center the carousel items */
        #reviews-section .owl-stage {
            padding: 10px 0 !important;
        }

        #reviews-section .item {
            margin: 0 5px !important; /* Small side margins */
        }

        /* Ensure images don't overflow */
        #reviews-section .flip {
            margin: 0 auto !important;
        }

            #reviews-section .flip img {
                max-width: 100% !important;
                height: auto !important;
            }
}

/* Extra small devices */
@media (max-width: 576px) {
    #reviews-section .owl-stage-outer {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #reviews-section .item {
        margin: 0 3px !important;
    }
}

/* MOBILE VIEW CHANGES FOR THE 3 SECTIONS ONLY */
@media (max-width: 768px) {
    /* SECTION 1, 2, 3 - Mobile heading changes */
    .position-relative .mobile-heading {
        font-size: 40px !important; /* Heading: 40px */
        line-height: 1.1 !important;
    }

    .position-relative .mobile-subheading.cursive-font {
        font-size: 30px !important; /* Sub heading: 30px */
        margin-top: -10px !important;
    }

    /* Reduce image width slightly */
    .position-relative .mobile-content-img {
        max-width: 85% !important; /* Reduced from 90% to 85% */
        max-height: 280px !important; /* Also slightly reduce height */
        margin: 10px auto 15px auto !important;
    }

    /* Text: 15px */
    .position-relative .mobile-text {
        font-size: 15px !important; /* Text: 15px */
        line-height: 1.6 !important;
        padding: 0 10px !important;
    }

    /* Button text: 15px */
    .position-relative .btn-primary.btn-lg {
        font-size: 15px !important; /* Button text: 15px */
        padding: 12px 30px !important;
        margin-top: 10px !important;
    }
}

/* Extra small devices (for better adjustment) */
@media (max-width: 576px) {
    .position-relative .mobile-heading {
        font-size: 40px !important;
    }

    .position-relative .mobile-subheading.cursive-font {
        font-size: 30px !important;
    }

    .position-relative .mobile-content-img {
        max-width: 80% !important;
        max-height: 250px !important;
    }

    .position-relative .mobile-text {
        font-size: 16px !important;
        line-height: 1.5 !important;
        color: #264697 !important;
        text-shadow: none !important;
        text-align: justify !important;
    }

    .mobile-text
    .position-relative .btn-primary.btn-lg {
        font-size: 15px !important;
        padding: 10px 25px !important;
    }
}

/* MOBILE BACKGROUND IMAGE FOR COUNTER SECTION */
@media (max-width: 768px) {
    #counter-section {
        background: url('assets/img/expbg1-mob.png') no-repeat center center !important;
        background-size: cover !important;
        padding-top: 40px !important; /* Reduced for mobile */
        padding-bottom: 40px !important; /* Reduced for mobile */
        min-height: 420px !important; /* Your image height */
    }

    /* Adjust the counter box for mobile */
    .counter-main-box {
        background: rgba(255, 255, 255, 0.85) !important; /* Slightly more opaque for better contrast */
        padding: 20px 15px !important;
        margin: 20px auto !important;
        max-width: 95% !important;
    }
}

/* Keep desktop as it is */
@media (min-width: 769px) {
    #counter-section {
        background: url('assets/img/expbg1.png') no-repeat center center !important;
        background-size: cover !important;
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}


/* COUNTER SECTION MOBILE VIEW BG IMAGE*/

@media (max-width: 768px) {
    #counter-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        min-height: 600px !important;
    }

        /* Make sure background images cover properly */
        #counter-section .position-absolute img {
            object-fit: cover !important;
            height: 100% !important;
        }

    /* Fix counter box for mobile */
    .counter-main-box {
        background: rgba(255, 255, 255, 0.4) !important;
        padding: 20px 15px !important;
        margin: 20px auto !important;
        max-width: 95% !important;
        overflow: hidden !important;
    }

    /* FIX FOR SLIDER NOT GOING OUTSIDE BOX */
    .mobile-counters-slider .owl-stage-outer {
        overflow: visible !important; /* Allow items to be visible */
        padding: 10px 5px !important; /* Add padding to prevent cut-off */
    }

    .mobile-counters-slider .owl-stage {
        display: flex !important;
        justify-content: center !important;
    }

    .mobile-counters-slider .item {
        display: flex !important;
        justify-content: center !important;
        padding: 5px !important; /* Add small padding */
    }

    /* Ensure mobile counter boxes don't get cut off */
    .mobile-counter-box {
        transform: scale(0.95); /* Slightly smaller to fit better */
        transition: transform 0.3s ease;
    }

        .mobile-counter-box:hover {
            transform: scale(1); /* Normal size on hover */
        }

    /* Center the slider properly */
    .mobile-counters-slider.owl-carousel {
        width: calc(100% + 20px) !important; /* Extend slightly beyond container */
        margin-left: -10px !important; /* Center it */
    }
}

/* For very small screens */
@media (max-width: 420px) {
    #counter-section {
        min-height: 500px !important;
    }

    .counter-main-box {
        max-width: 98% !important;
        margin: 10px auto !important;
        padding: 15px 10px !important;
    }

    .mobile-counters-slider .item {
        padding: 3px !important;
    }

    .mobile-counter-box {
        transform: scale(0.9);
    }
}



/* CTA SECTION MOBILE VIEW FIX */
@media (max-width: 768px) {
    /* Remove the previous height restrictions */
    section.position-relative.py-5 {
        min-height: auto !important;
        max-height: auto !important;
        height: auto !important;
    }

        /* FIX: Proper image sizing - respect natural dimensions */
        section.position-relative.py-5 .d-md-none picture img {
            width: 100% !important;
            height: auto !important; /* Let height adjust based on natural aspect ratio */
            max-height: 550px !important; /* Maximum height only */
            object-fit: contain !important; /* Show entire image without cropping */
            object-position: center center !important;
        }

        /* Adjust content container to match image */
        section.position-relative.py-5 .position-absolute.d-flex.align-items-center {
            height: 100% !important; /* Fit to image height */
            padding-top: 20px !important;
            padding-bottom: 20px !important;
        }

        /* Make container responsive */
        section.position-relative.py-5 .container {
            padding-top: 10px !important;
            padding-bottom: 10px !important;
        }
}

/* Alternative: Use background-image approach for better control */
@media (max-width: 768px) {
    /* You could also switch to background-image for better control */
    section.position-relative.py-5 .d-md-none picture {
        display: none; /* Hide the img element */
    }

    /* Add background image directly */
    section.position-relative.py-5 {
        background-image: url('assets/img/bgctamob.png') !important;
        background-size: contain !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        background-color: #fff !important;
        height: 550px !important; /* Fixed height to match image */
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}



@media (max-width: 500px) {
    #reviews-section {
        padding-top: 00px;
    }
}

/* LOGOS SECTION */
/* ========== LOGOS SECTION - CLEAN VERSION ========== */

#logos-section {
    background: #8080801a !important;
    padding: 40px 0 70px 0;
    margin-top: -2rem !important
}

/* Desktop Layout: Content LEFT (35%), Logos RIGHT (65%) */
.partners-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Left Side: Content (35%) */
.partners-content {
    flex: 0 0 35%;
    max-width: 35%;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .partners-content h3 {
        color: #264697 !important;
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .partners-content p {
        color: #019845 !important;
        font-size: 1.4rem;
        line-height: 1.7;
        font-weight: 500;
    }

@media (max-width: 768px) {

    partners-content p {
        margin-bottom: 0px !important;
    }
}

.partners-btn {
    background: transparent;
    border: 3px solid #264697;
    color: #264697;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: auto;
    white-space: nowrap;
    box-shadow: 4px 4px 10px rgba(38, 70, 151, 0.2);
    width: 70%;
    text-align: center;
}

    .partners-btn:hover {
        background: #264697;
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 6px 6px 15px rgba(38, 70, 151, 0.3);
    }

/* ========== HORIZONTAL LOGO SLIDER (RIGHT SIDE - 65%) ========== */
/* Right Side: Logo Slider Container (65%) */
.partners-logos {
    flex: 0 0 65%;
    max-width: 65%;
    position: relative;
    overflow: hidden;
    height: 200px; /* Fixed height for logos */
}

    /* Add fade gradients on both sides */
    .partners-logos::before,
    .partners-logos::after {
        content: '';
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 3;
        pointer-events: none;
    }

    .partners-logos::before {
        left: 0;
        background: linear-gradient(to right, rgba(128,128,128,0.3) 0%, rgba(128,128,128,0) 100%);
    }

    .partners-logos::after {
        right: 0;
        background: linear-gradient(to left, rgba(128,128,128,0.3) 0%, rgba(128,128,128,0) 100%);
    }

/* HORIZONTAL slider track */
.logos-slider-track {
    display: flex;
    gap: 40px;
    animation: slideLeftHorizontal 30s linear infinite;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    white-space: nowrap;
}

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

/* Individual logo item - DESKTOP: Rectangle boxes (3 logos visible) */
.logos-slider-item {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px; /* RECTANGLE: Wider than tall */
    height: 140px; /* Height stays same */
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

    .logos-slider-item img {
        max-width: 80%;
        max-height: 90%;
        width: auto;
        height: auto;
        margin-left: 20px;
        transition: transform 0.3s ease;
        padding: 10px;
    }

    .logos-slider-item:hover {
        transform: translateY(-5px);
        box-shadow: 12px 12px 20px rgba(0, 0, 0, 0.15);
        border-color: #264697;
    }

/* Desktop animation */
@keyframes slideLeftHorizontal {
    0% {
        transform: translateX(0) translateY(-50%);
    }

    100% {
        transform: translateX(calc(-250px * 6 - 40px * 5)) translateY(-50%);
    }
}

/* ========== MOBILE VIEW (768px and below) ========== */
@media (max-width: 768px) {
    #logos-section {
        padding: 0px 0 60px 0;
        margin-top: -2rem;
    }

    .partners-container {
        flex-direction: column;
        gap: 40px;
    }

    /* Content at TOP (100% width) */
    .partners-content {
        order: 1;
        text-align: center;
        max-width: 100%;
        flex: 1;
        padding-right: 0;
        width: 100%;
    }

        .partners-content h3 {
            font-size: 2.2rem;
        }

        .partners-content p {
            font-size: 1.2rem;
        }

    .partners-btn {
        width: 60%;
        margin: 0 auto;
    }

    /* Logos at BOTTOM (100% width) - SHOW 1 LOGO AT A TIME */
    .partners-logos {
        order: 2;
        flex: 1;
        max-width: 100%;
        width: 100%;
        height: 200px; /* Increase height for single logo */
    }

        /* Adjust gradients for mobile - SHOW THEM */
        .partners-logos::before,
        .partners-logos::after {
            width: 80px;
            display: block !important; /* Ensure they show */
        }

    /* Mobile: Show 1 logo at a time - LARGER RECTANGLE */
    .logos-slider-item {
        width: 300px !important; /* Wider rectangle for single view */
        height: 150px !important; /* Slightly taller */
        padding: 20px !important;
        margin: 0 10px !important;
    }

    /* Make sure slider track is visible */
    .logos-slider-track {
        display: flex !important;
        gap: 40px !important;
        animation: slideLeftHorizontalMobile 30s linear infinite !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 0 !important;
        white-space: nowrap !important;
    }

    /* Mobile animation - SLOWER for single logo view */
    @keyframes slideLeftHorizontalMobile {
        0% {
            transform: translateX(0) translateY(-50%);
        }

        100% {
            transform: translateX(calc(-300px * 12 - 40px * 11)) translateY(-50%);
        }
    }
}

/* ========== EXTRA SMALL MOBILE (480px and below) ========== */
@media (max-width: 480px) {
    .partners-logos {
        height: 180px;
    }

    .logos-slider-item {
        width: 280px !important;
        height: 140px !important;
        padding: 15px !important;
    }

    @keyframes slideLeftHorizontalMobile {
        0% {
            transform: translateX(0) translateY(-50%);
        }

        100% {
            transform: translateX(calc(-280px * 12 - 40px * 11)) translateY(-50%);
        }
    }
}

/* Heading styles */
.head_bg_text {
    display: block !important;
    -webkit-text-fill-color: #ffffff;
    -webkit-text-stroke: 3px #009846;
    font-size: 60px;
    position: relative;
    bottom: -19px;
    left: -5px;
    z-index: -1;
    opacity: 0.4 !important;
    font-family: 'Roboto';
    paint-order: stroke fill;
}

.head_bg_text_center {
    left: unset;
    right: unset;
    text-align: center;
}

#logos-section .cursive-font {
    font-size: 3rem !important;
    color: #009846 !important;
    display: inline-block;
    margin-top: 25px !important
}

@media (max-width: 768px) {
    .head_bg_text {
        font-size: 52px;
        bottom: -23px;
    }

    #logos-section .cursive-font {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .head_bg_text {
        font-size: 40px;
        bottom: -26px;
        margin-top : 1.2rem ;
    }

    #logos-section .cursive-font {
        font-size: 2rem !important;
    }
}



/* ========== MOBILE LOGOS CAROUSEL STYLES ========== */
/* ========== MOBILE LOGOS CAROUSEL STYLES ========== */
.mobile-logos-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 200px; /* Fixed height for mobile */
}

    .mobile-logos-slider .owl-carousel {
        width: 100%;
    }

    .mobile-logos-slider .item {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .mobile-logos-slider .logos-slider-item {
        width: 280px !important; /* Fixed width for mobile */
        height: 150px !important; /* Fixed height */
        padding: 20px !important;
        margin: 0 auto; /* Center it */
        background: white;
        border-radius: 12px;
        box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid #f0f0f0;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
    }

        .mobile-logos-slider .logos-slider-item:hover {
            transform: translateY(-5px);
            box-shadow: 12px 12px 20px rgba(0, 0, 0, 0.15);
            border-color: #264697;
        }

        .mobile-logos-slider .logos-slider-item img {
            max-width: 100%;
            max-height: 80%;
            width: auto;
            height: auto;
            margin-left: 35px;
            transition: transform 0.3s ease;
        }

    /* Add fade gradients on both sides for mobile - SIMILAR TO DESKTOP */
    .mobile-logos-slider::before,
    .mobile-logos-slider::after {
        content: '';
        position: absolute;
        top: 0;
        width: 80px; /* Smaller for mobile */
        height: 100%;
        z-index: 3;
        pointer-events: none;
    }

    .mobile-logos-slider::before {
        left: 0;
        background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    }

    .mobile-logos-slider::after {
        right: 0;
        background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    }

    /* Remove dots for mobile */
    .mobile-logos-slider .owl-dots {
        display: none !important;
    }

/* Hide desktop slider on mobile and mobile slider on desktop */
.desktop-logos-slider {
    display: block;
}

.mobile-logos-slider {
    display: none;
}

@media (max-width: 768px) {
    .desktop-logos-slider {
        display: none !important;
    }

    .mobile-logos-slider {
        display: block !important;
        height: 200px; /* Fixed height */
    }

    /* Adjust mobile layout */
    .partners-container {
        flex-direction: column;
        gap: 40px;
    }

    .partners-content {
        order: 1;
        text-align: center;
        max-width: 100%;
        flex: 1;
        padding-right: 0;
        width: 100%;
    }

        .partners-content h3 {
            font-size: 2.2rem;
        }

        .partners-content p {
            font-size: 1.3rem !important;
            margin-bottom: 0 !important;
        }

    .partners-btn {
        width: 60%;
        margin: 0 auto;
    }

    /* Logos at BOTTOM (100% width) */
    .partners-logos {
        order: 2;
        flex: 1;
        max-width: 100%;
        width: 100%;
        height: 200px; /* Match the mobile slider height */
    }

        /* Remove old fade gradients from partners-logos container */
        .partners-logos::before,
        .partners-logos::after {
            display: none !important;
        }
}

/* Experience subheading animation */
#counter-section .cursive-font.animated-heading {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

    #counter-section .cursive-font.animated-heading.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* ========== SLIDE-UP COUNTER ANIMATION ========== */

/* Counter number container */
.counter-number.animated-counter {
    position: relative;
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Digits container - holds both current and next digit */
.counter-digits {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

    /* Individual digit */
    .counter-digits .digit {
        font-size: 2.5rem;
        font-weight: 700;
        color: #264697;
        line-height: 1;
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: absolute;
        width: 100%;
        text-align: center;
    }

    /* Current digit - visible initially */
    .counter-digits .current-digit {
        transform: translateY(0%);
        opacity: 1;
    }

    /* Next digit - hidden below initially */
    .counter-digits .next-digit {
        transform: translateY(100%);
        opacity: 0;
    }

    /* When animating - CURRENT digit moves up and fades out */
    .counter-digits.animating .current-digit {
        transform: translateY(-100%);
        opacity: 0;
    }

    /* When animating - NEXT digit moves up from below and fades in */
    .counter-digits.animating .next-digit {
        transform: translateY(0%);
        opacity: 1;
    }

/* Counter suffix (+, %, X, L) */
.counter-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: #264697;
    margin-left: 5px;
}

/* Mobile version */
@media (max-width: 768px) {
    .counter-number.animated-counter {
        height: 50px;
    }

    .counter-digits .digit {
        font-size: 2.2rem;
    }

    .counter-suffix {
        font-size: 2.2rem;
    }
}



/* ========== ODOMETER COUNTER STYLES ========== */

/* Odometer container */
.odometer {
    font-size: 2.5rem;
    font-weight: 700;
    color: #264697;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
}

/* For symbols next to odometer */
.counter-number .odometer + span,
.mobile-counter-number .odometer + span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #264697;
    margin-left: 2px;
}

/* Mobile odometer styles */
.mobile-counter-number .odometer {
    font-size: 2.8rem;
}

    .mobile-counter-number .odometer + span {
        font-size: 2.8rem;
    }

/* Odometer animation customizations */
.odometer-digit {
    border-radius: 3px;
    background: transparent;
}

.odometer-ribbon-inner {
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add subtle shadow to digits */
.odometer-digit-inner {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .odometer {
        font-size: 2.2rem;
    }

    .counter-number .odometer + span,
    .mobile-counter-number .odometer + span {
        font-size: 2.2rem;
    }

    .mobile-counter-number .odometer {
        font-size: 2.5rem;
    }

        .mobile-counter-number .odometer + span {
            font-size: 2.5rem;
        }
}

/* ========== NAVBAR COLOR CHANGES ========== */

/* 1. Navbar text color - Blue (#264697) */
.navbar a,
.navbar .nav-link,
.navbar-nav .nav-link {
    color: #264697 !important;
}

/* 2. Dropdown menu background - Green (#019845) */
.navbar-nav .dropdown-menu {
    background-color: #019845 !important;
}

/* 3. Dropdown items text color - Blue (#264697) */
.dropdown-menu .dropdown-item {
    color: #264697 !important;
}

/* 4. Navbar brand color - Blue (#264697) */
.navbar-brand,
.navbar-brand a {
    color: #264697 !important;
}

/* 5. Keep existing hover for navbar items (orange #E03C00) */
.navbar a:hover,
.navbar .nav-link:hover {
    color: #E03C00 !important;
}
/* === DROPDOWN COLOR FIX === */
/* Level 1: Navbar dropdown */
.navbar .navbar-nav .dropdown-menu {
    background-color: #fffffff5 !important;
    background: #fffffff5 !important;
}




/* ========== COUNTER NUMBER BOX STYLES ========== */

/* Counter number container with box */
.counter-number-box {
    background: white;
    border-radius: 12px;
    padding: 15px 5px;
    margin-bottom: 15px;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1), 4px 4px 10px rgba(0, 0, 0, 0.06), 2px 2px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    min-width: 120px;
}

/* Counter number inside the box */
.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #264697;
    line-height: 1;
    margin-bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Odometer inside the counter number box */
.counter-number-box .odometer {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #264697 !important;
    line-height: 1;
}

    /* Symbol next to number (+, %, X, L) */
    .counter-number-box .odometer + span,
    .counter-number span {
        font-size: 2.5rem !important;
        font-weight: 700 !important;
        color: #264697 !important;
        line-height: 1;
    }

/* Text below the counter box */
.counter-text {
    color: #019845;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    margin-top: 10px;
    z-index: 1;
    position: relative;
}

/* MOBILE VERSION of counter number box - VERTICALLY CENTERED */
.mobile-counter-number-box {
    background: white;
    border-radius: 10px;
    padding: 12px 5px;
    margin-bottom: 12px;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1), 3px 3px 8px rgba(0, 0, 0, 0.06), 1px 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    min-width: 100px;
}

    .mobile-counter-number-box .counter-number {
        font-size: 2.2rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-counter-number-box .odometer {
        font-size: 2.2rem !important;
        line-height: 1;
    }

        .mobile-counter-number-box .odometer + span {
            font-size: 2.2rem !important;
            line-height: 1;
        }

.mobile-counter-text {
    color: #019845;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    margin-top: 8px;
}

/* Hover effect for the number box */
.counter-number-box:hover,
.mobile-counter-number-box:hover {
    transform: translateY(-3px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15), 5px 5px 12px rgba(0, 0, 0, 0.08), 2px 2px 6px rgba(0, 0, 0, 0.04);
}

/* Fix for mobile slider items */
.mobile-counters-slider .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-counter-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Ensure proper alignment on very small screens */
@media (max-width: 380px) {
    .counter-number-box {
        min-height: 70px;
        padding: 10px 5px;
    }

    .mobile-counter-number-box {
        min-height: 60px;
        padding: 8px 5px;
    }

        .mobile-counter-number-box .counter-number {
            font-size: 1.8rem !important;
        }

        .mobile-counter-number-box .odometer {
            font-size: 1.8rem !important;
        }

            .mobile-counter-number-box .odometer + span {
                font-size: 1.8rem !important;
            }
}


/* ========== LOGOS SECTION UPDATES FOR SQUARE SHAPE ========== */

/* Desktop: SQUARE logos (equal width and height) */
.logos-slider-item {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px !important; /* SQUARE: Equal width and height */
    height: 165px !important; /* SQUARE: Equal width and height */
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

    .logos-slider-item img {
        max-width: 100%;
        max-height: 85%;
        width: auto;
        height: auto;
        margin-left: 0 !important; /* Remove left margin */
        transition: transform 0.3s ease;
        padding: 5px;
    }

/* Center align the partners content */
.partners-content {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center align */
    text-align: center; /* Center text */
    padding-right: 0 !important; /* Remove right padding for center alignment */
}

/* Update animation for square logos */
@keyframes slideLeftHorizontal {
    0% {
        transform: translateX(0) translateY(-50%);
    }

    100% {
        transform: translateX(calc(-140px * 6 - 40px * 5)) translateY(-50%);
    }
}

/* Mobile: SQUARE logos */
@media (max-width: 768px) {
    .partners-content {
        order: 1;
        text-align: center;
        max-width: 100%;
        flex: 1;
        padding-right: 0;
        width: 100%;
        margin-bottom: 30px; /* Space before logos */
    }

    /* Mobile slider item: SQUARE */
    .logos-slider-item {
        width: 140px !important; /* SQUARE */
        height: 140px !important; /* SQUARE */
        padding: 15px !important;
        margin: 0 10px !important;
    }



    /* Update mobile animation */
    @keyframes slideLeftHorizontalMobile {
        0% {
            transform: translateX(0) translateY(-50%);
        }

        100% {
            transform: translateX(calc(-140px * 12 - 40px * 11)) translateY(-50%);
        }
    }
}

/* For Owl Carousel mobile logos */
.mobile-logos-slider .logos-slider-item {
    width: 140px !important;
    height: 140px !important;
    padding: 15px !important;
}


/* ========== MOBILE COUNTER SECTION FIXES ========== */
@media (max-width: 768px) {
    /* 1. Change BRAND text to green stroke only in mobile */
    .quote-text strong:nth-of-type(2) { /* Target the second strong tag which is BRAND */
        -webkit-text-fill-color: #fff !important; /* White fill */
        -webkit-text-stroke: 1.5px #019845 !important; /* Green stroke */
        text-stroke: 1.5px #019845 !important;
    }
}

/* ========== MOBILE SYMBOL SIZE FIX - CORRECT VERSION ========== */
@media (max-width: 768px) {
    /* Target ONLY the span that comes after odometer in mobile counters */
    .mobile-counters-slider .odometer + .ms-1 {
        font-size: 1.8rem !important; /* Make symbols smaller */
        margin-left: 2px !important;
        vertical-align: middle;
    }

    /* Also target any other mobile symbol spans */
    .mobile-counter-number .odometer + .ms-1,
    .mobile-counter-box .odometer + .ms-1 {
        font-size: 1.8rem !important;
        margin-left: 2px !important;
        vertical-align: middle;
    }
}


/* ========== DESKTOP SYMBOL SIZE FIX ========== */
@media (min-width: 769px) {
    /* Target symbols in desktop with span */
    .counter-number-box .odometer + .symbol,
    .counter-box .odometer + .symbol {
        font-size: 2rem !important; /* Smaller symbols */
        margin-left: 2px;
        vertical-align: middle;
    }

    /* Keep odometer numbers original size */
    .counter-number-box .odometer,
    .counter-box .odometer {
        font-size: 2.5rem !important; /* Original size */
    }
}


/* ========== DESKTOP ONLY - GREEN STROKE FOR "YOU ARE A MOVEMENT" ========== */
@media (min-width: 769px) {
    .green-stroke-desktop,
    .green-stroke-desktop strong {
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        -webkit-text-stroke: 2px #019845 !important;
        text-stroke: 2px #019845 !important;
    }
}


.text-dark {
    color: #264697 !important;
}

.fw-normal {
    color: #264697 !important;
}


.home-cta-btn {
    margin-top: 40px !important;
    margin-left: 10px !important;
}

@media (max-width: 576px) {

    .home-cta-btn {
        margin-top: 80px !important;
    }
}
 

/* ========== FIX MOBILE LOGOS VERTICAL CENTERING ========== */
@media (max-width: 768px) {
    /* Fix the mobile logos slider container */
    .mobile-logos-slider {
        height: 200px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Fix the Owl Carousel container */
    .mobile-logos-slider .owl-carousel {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Fix the stage container */
    .mobile-logos-slider .owl-stage-outer {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .mobile-logos-slider .owl-stage {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Fix each item */
    .mobile-logos-slider .item {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Fix the logo box itself */
    .mobile-logos-slider .logos-slider-item {
        margin: 0 auto !important;
        transform: translateY(0) !important;
        top: auto !important;
        position: relative !important;
    }
}