/* Shared Section Styles */
.section {
    background: #ffffff;
}

p.description {
    margin-bottom: 25px;
    /* max-width: 600px; */
}

/* p.descriptions {
    margin-bottom: 25px;
    max-width: 600px;
} */

.btn-primary-v2 {
    background: #8B166A;
    color: #fff !important;
    padding: 10px 28px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary-v2:hover {
    background: #721156;
    transform: translateY(-2px);
    color: #fff !important;
}

.footer-spacer-heading {
    visibility: hidden;
    /* Invisible but takes up exact same space as Quick Links heading */
    margin: 0;
    padding: 0;
}

/* About Section - 2 Column Layout (Image 1 Typography, Image 2 Whitespace Elimination) */
.about-grid-2-col {
    /* Layout now handled by Bootstrap .row */
    align-items: start;
}

.about-main-img {
    width: 100%;
    /* height: auto; */
    /* Reduced by additional 20px for precision alignment */
    display: block;
    object-fit: cover;
    margin-top: 15px;
    /* Aligns top edge perfectly with the ABOUT US text */
}

.about-secondary-img {
    width: 100%;
    height: 280px;
    /* Reduced by additional 20px to match frame flow */
    display: block;
    object-fit: cover;
}

.about-text-content {
    padding-top: 15px;
}

.about-text-content h2 {
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.about-text-content .description {
    margin-bottom: 20px;
    max-width: 480px;
}

.about-text-content .btn-enquire {
    background: #8B166A;
    color: #fff;
    padding: 12px 28px;
    /* Compact button like image 2 */
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: none;
    border-radius: 0;
    font-family: 'Archivo', sans-serif;
}

.about-stats-row-exact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Aligns precisely with edges of the image above */
    width: 100%;
    margin-top: 75px;
    /* Reduced to bring stats closer to image and align with right-side visual flow */
    white-space: nowrap;
}

.stat-item-exact {
    text-align: left;
}

.stat-item-exact h3 {
    font-family: 'Jost', sans-serif;
    font-size: 40px;
    /* Reduced for exact image parity */
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
    line-height: 1;
}

.stat-item-exact p {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    color: #666;
    font-weight: 200;
    white-space: nowrap;
    text-transform: capitalize;
}

.stat-divider {
    width: 1px;
    height: 55px;
    /* Tall separator to frame the text blocks */
    background: #9A9A9A;
    /* Darker line as requested */
}

.about-secondary-img-wrapper {
    margin-top: 50px;
    /* Increased gap between rows as requested */
}

@media (max-width: 1200px) {
    .about-grid-2-col {
        column-gap: 40px;
    }

    .about-text-content h2 {
        font-size: 36px;
    }

    .stat-item-exact h3 {
        font-size: 30px;
    }
}

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

    .about-grid-2-col {
        display: grid !important;
        grid-template-columns: 2fr 2fr !important;
        gap: 20px;
    }

    .about-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        padding-top: 60px !important;
    }

    .about-stats-row-exact {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-divider {
        display: none;
    }
}

/* Features Section Styles */
/* Features Section Styles */
.features {
    background: #EEE2E9;
    padding: 62px 0 62px 0;
}

.features-text-col h2 {
    text-align: left;
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.features-text-col p.description {
    font-size: 16px;
    color: #222;
    line-height: 1.6;
    max-width: 320px;
}

.feature-item-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* 
.feature-icon-mini {
    margin-bottom: 3px;
} */

.feature-content-mini h3 {
    font-size: 20px;
    font-weight: 500;
    color: #212529;
    line-height: 1.5;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.feature-content-mini p {
    font-size: 16px;
    line-height: 1.4;
    color: #474747;
    max-width: none;
}

.feature-icon-mini svg,
.feature-icon-mini img {
    width: 60px;
    height: 80px;
    object-fit: contain;
}

/* .feature-item-vertical {
    padding-right: 15px;
} */

.section.gallery {
    padding-bottom: 10px;
}

.gallery-grid {
    margin-bottom: 0;
}

.gallery-right-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
}

.gallery-right-col>div {
    flex: 1;
}

.gallery-card.small-card {
    height: 100%;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    background: #fdfdfd;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-text-content {
    position: absolute;
    top: 25%;
    transform: translateY(-50%);
    left: 0;
    width: 85%;
    z-index: 2;
    padding-left: 7%;
}



/* Large Card Specific Styles */
.large-card {
    position: relative;
}

.large-card .gallery-text-content {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    width: calc(100% - 80px);
    padding-left: 0;
}

/* Heading */
.large-card .gallery-text-content h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.6px;
    color: #1a1a1a;
}

/* Paragraph */
.large-card .gallery-text-content p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 320px;
    color: #242525;
    margin: 0;
}

/* Small Card Specific Styles */
.small-card .gallery-text-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: calc(100% - 60px);
    padding-left: 0;
}

/* Heading */
.small-card .gallery-text-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
    color: #000;
}

/* Paragraph */
.small-card .gallery-text-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #282828;
    margin: 0;
    max-width: 260px;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Mini CTA Section */
.mini-cta {
    background: url('../images/reach-out.png');
    background-size: cover;
    background-position: center;
    padding: 62px 0;
    color: #fff;
}

/* Removed specific padding override to align with global container */

.mini-cta h2 {
    color: #fff;
    margin-bottom: 0;
    font-size: 32px;
    text-align: left;
    padding-left: 0;
    max-width: 75%;
    line-height: 1.3;
}

.btn-contact {
    background: #fff;
    color: #301322;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    margin-right: 0;
}

.btn-contact:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Infrastructure Section */

/* Infrastructure Section */
.infrastructure {
    background: url('../images/bgimg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

/* Grid */
.infra-grid-five {
    margin-bottom: 0;
}

/* Item */
.infra-item-v2 {
    text-align: center;
}

/* Perfect Circle */
.circle-box-v2 {
    width: 180px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 20px;

    border-radius: 50%;
    overflow: hidden;

    border: 5px solid #fff;

    position: relative;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transition: all 0.4s ease;
}

/* Image Fit */
.circle-box-v2 img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    transition: transform 0.5s ease;
}

/* Hover Effect */
.infra-item-v2:hover .circle-box-v2 {
    transform: translateY(-8px);
    border-color: #8B166A;

    box-shadow: 0 18px 40px rgba(139, 22, 106, 0.18);
}

.infra-item-v2:hover .circle-box-v2 img {
    transform: scale(1.08);
}

/* Title */
.infra-item-v2 h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 14px;
    color: #222;
}

/* Responsive */
@media (max-width: 991px) {
    .circle-box-v2 {
        width: 150px;
    }
}

@media (max-width: 575px) {
    .circle-box-v2 {
        width: 130px;
    }

    .infra-item-v2 h3 {
        font-size: 13px;
    }
}

/* Responsive */
/* Bootstrap handles infra responsiveness */

/* Clients Section */
.clients {
    background: #EEE2E9;
    padding: 80px 0;
}

.logo-marquee-container {
    overflow: hidden;
    /* padding: 40px 0; */
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.logo-track {
    display: flex;
    gap: 80px;
    align-items: center;
    width: max-content;
}

@media (max-width: 768px) {
    .logo-marquee-container {
        padding: 30px 0;
    }

    .logo-track {
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .client-card-v2 {
        min-width: 180px;
        height: 100px;
        padding: 20px;
    }

    .client-card-v2 img {
        max-width: 100px;
        max-height: 50px;
    }
}

/* Clients Section - Image 1 Style */
.clients-grid-four {
    margin-bottom: 40px;
}

.client-card-v2 {
    background: #fff;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 140px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.client-card-v2 img {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Testimonials Section */
.testimonials {
    background: #fff;
    padding: 80px 0;
}

/* Testimonials - 4 Columns Image 1 Style */
/* Removed specific max-width override to align with global container */

.testimonials .section-title {
    margin-bottom: 50px;
}

.testimonial-scroll-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.testimonial-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.testimonial-box-v2 {
    background: transparent;
    padding: 0;
    border: none;
    position: relative;
    transition: all 0.3s ease;
    min-width: 280px;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.testimonial-box-v2:hover {
    box-shadow: none;
    transform: translateY(-5px);
}

.quote-mark {
    margin-bottom: 10px;
}

.quote-mark img {
    height: 26px;
    width: auto;
    display: block;
}

.testimonial-box-v2 p {
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 550;
    max-width: 200px;
    line-height: 1.6;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: #e0e0e0;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.stars {
    color: #FFB400;
    font-size: 10px;
    margin-bottom: 2px;
}

.user-info h4 {
    font-size: 16px;
    margin-bottom: 1px;
}

.user-info span {
    color: #999;
    font-weight: 500;
}

/* Pagination Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #8B166A;
}

/* Final CTA Split Layout */
.final-cta-split {
    background: #fdfdfd;
}

.cta-left-img {
    width: 100%;
}

.cta-left-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.cta-right-content {
    background: #341539;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
}

.cta-content-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    /* padding-left: 140px; */
    /* Increased to push content slightly right */
}

.cta-content-right h2 {
    text-align: start;
}

@media (max-width: 991px) {
    .cta-content-right {
        align-items: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center !important;
    }

    .cta-content-right h2 {
        text-align: center !important;
    }
}

.cta-right-content h2 {
    font-size: 38px;
    margin-bottom: 30px;
}

/* Responsive Footer Corrections */
/* Bootstrap handles CTA responsiveness */

/* Footer Styles */
.footer {
    background-image: url(../images/footer.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 60px 0 80px;
}

/* Removed specific padding override to align with global container */

.footer-grid {
    margin-bottom: auto;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 18px;
}

.footer-desc {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.7;
    margin-bottom: 20px;
    margin-left: 10px;
    max-width: 1800px;
    font-weight: 20 !important;
}

.footer-links-wrapper {
    padding-left: 25px;
    /* Moved slightly to the right */
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
}

.footer-links-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-wrapper ul.offset-list {
    /* margin-top: 20px; */
    margin-left: 150px;
    /* Moves the list slightly higher */
}

@media (max-width: 768px) {
    .footer-links-wrapper ul.offset-list {
        margin-top: 0;
        margin-left: 0 !important;
    }
}

.footer-links-wrapper ul li {
    margin-bottom: 18px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-shifted-list {
    margin-top: 39px;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-left: 9px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border: 1px solid #a66a90;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    border-radius: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.footer-social-img {
    width: 18px;
    height: auto;
    filter: brightness(0) invert(1);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.footer-contact-col {
    /* padding-top: 15px; */
    padding-left: 25px !important;
}

@media (max-width: 991px) {
    .footer-contact-col {
        padding-top: 0;
        padding-left: 10 !important;
    }
}

/* Contact Item */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

/* Icon */
.footer-contact-item i {
    width: 22px;
    min-width: 22px;
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
    text-align: center;
}

/* Text */
.footer-contact-item span {
    flex: 1;
    line-height: 1.8;
    color: #d4d4d4;
    font-size: 15px;
    word-break: break-word;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .footer-contact-col {
        margin-top: 30px;
    }

    .footer-contact-item {
        gap: 12px;
        margin-bottom: 16px;
    }

    .footer-contact-item i {
        font-size: 16px;
        width: 18px;
        min-width: 18px;
        margin-top: 4px;
    }

    .footer-contact-item span {
        font-size: 14px;
        line-height: 1.7;
    }

}

.footer-bottom {
    background: url('../images/footerline.png') no-repeat top center;
    background-size: 100% auto;
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

@media (max-width: 991px) {
    .section {
        padding: 80px 0;
    }

    .features-text-col {
        margin-bottom: 0px;
        text-align: center;
    }

    .features-text-col h2,
    .features-text-col p.description {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .sub-title-wrapper {
        justify-content: center;
    }

    .features-list-grid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center;
        width: 100%;
    }

    .feature-item-vertical {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 25px !important;
        margin-bottom: 25px !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .feature-icon-mini {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 5px !important;
    }

    .gallery-grid {
        row-gap: 12px !important;
        margin-bottom: 0 !important;
    }

    .gallery-right-col {
        padding-left: 0;
        gap: 12px !important;
    }

    .gallery-card {
        margin-bottom: 0 !important;
    }

    .gallery-card.large-card {
        height: auto !important;
    }

    .footer-grid {
        row-gap: 30px;
    }
}

@media (max-width: 768px) {

    h2 {
        font-size: 28px;
    }

}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        text-align: center;
    }

    .features-text-col h2 {
        font-size: 28px;
    }

    .large-card .gallery-text-content h3 {
        font-size: 24px;
    }

    .large-card .gallery-text-content p {
        font-size: 12px;
    }

    .gallery-text-content {
        /* text-align: center; */
        padding-left: 24px !important;
        width: 100% !important;
    }

    .testimonials-grid-four {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding: 0 10px 30px !important;
        gap: 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .testimonials-grid-four .col {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center;
        padding: 0 15px !important;
    }

    .testimonials-grid-four::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 80px 0;
    }

    .gallery-text-content {
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 20px !important;
        text-align: center !important;
        background: transparent !important;
    }

    .large-card .gallery-text-content {
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }

    .gallery-card img {
        height: 350px;
    }

    .large-card img {
        height: 450px;
    }

    .mini-cta {
        padding: 50px 0 !important;
        text-align: center !important;
    }

    .mini-cta h2 {
        font-size: 26px !important;
        margin-bottom: 25px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }

    .mini-cta .container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 20px !important;
    }

    .cta-content-right {
        padding: 60px 20px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .cta-content-right h2 {
        font-size: 28px !important;
        margin-bottom: 25px !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }

    .cta-left-img img {
        height: 350px !important;
    }

    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    .footer .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .footer-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col ul {
        text-align: center;
        padding: 0;
    }

    .footer-col ul li {
        text-align: center;
    }

    .footer-col h3 {
        text-align: center !important;
        width: 100%;
    }

    .footer-social-img {
        width: 20px;
        height: 20px;
        display: inline-block;
        vertical-align: middle;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-links-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .footer-links-wrapper h3 {
        text-align: center !important;
        width: 100%;
    }

    .footer-links-wrapper .d-flex {
        justify-content: center !important;
        flex-direction: row !important;
        /* Side by side */
        align-items: flex-start !important;
        gap: 100px !important;
        width: 100%;
    }

    .footer-links-wrapper ul {
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

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

    .footer-contact-item {
        justify-content: center;
        text-align: center;
        width: 100% !important;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        row-gap: 0px !important;
    }

    /* Infrastructure Mobile Scroll Fix */
    /* .infra-grid-five {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px !important;
        -webkit-overflow-scrolling: touch;
        gap: 0 !important;
    }

    .infra-grid-five .infra-item-v2 {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center;
        margin-bottom: 0 !important;
    }

    .infra-grid-five::-webkit-scrollbar {
        display: none;
    }

    
    .infra-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .infra-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .infra-dots .dot.active {
        background: #8B166A;
        width: 25px;
        border-radius: 10px;
    } */
}

/* 
   ABOUT US SECTION - CONSOLIDATED RESPONSIVE STYLES 
   Extracted from css/responsive.css with Mobile Stats Optimization
*/

/* -----------------------------------------
   TABLET VIEW (1100px and below)
-------------------------------------------- */
@media (max-width: 1100px) {
    /* .section.about {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    } */

    /* About Us Section Logic */
    .about-grid-2-col {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        gap: 0 !important;
    }

    .about-col.left,
    .about-col.right {
        display: contents !important;
    }

    /* Tablet: Image L, Content R */
    .about-main-img {
        order: 1 !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        /* height: auto !important; */
        object-fit: cover !important;
        padding-right: 15px;
    }

    .about-text-content {
        order: 2 !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-left: 25px !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .about-text-content .sub-title-wrapper {
        justify-content: flex-start !important;
    }

    .about-text-content h2.about-title,
    .about-text-content p.description {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    /* Experience (Stats) - Centered 100% width below */
    .about-stats-row-exact {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 60px !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .stat-item-exact {
        text-align: center !important;
    }

    /* 2nd Image - 100% width below Stats */
    .about-secondary-img-wrapper {
        order: 4 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-top: 50px !important;
    }

    .about-secondary-img {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        height: auto !important;
        max-height: 450px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        display: block !important;
    }
}

/* -----------------------------------------
   SPECIFIC MOBILE (768px and below)
-------------------------------------------- */
@media (max-width: 768px) {

    /* Mobile Reordering for About Us: Text -> Main Img -> Stats -> 2nd Img */
    .about-text-content {
        order: 1 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        text-align: center !important;
        align-items: center !important;
        margin-bottom: 30px !important;
    }

    .about-text-content .sub-title-wrapper {
        justify-content: center !important;
    }


    .about-text-content p.description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 10px !important;
    }

    .about-text-content h2.about-title {
        font-size: 28px;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 10px !important;
    }

    .about-main-img {
        order: 2 !important;
        flex: 0 0 100% !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        height: auto !important;
        /* max-height: 280px !important; */
        padding-right: 0 !important;
        margin-top: 20px !important;
        margin-bottom: 40px !important;
        border-radius: 0 !important;
    }

    .about-stats-row-exact {
        order: 3 !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        margin-top: 40px !important;
        gap: 8px !important;
        /* Optimized gap for mobile */
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .stat-divider {
        display: block !important;
        height: 35px !important;
        width: 1px !important;
        background: #e5e5e5 !important;
        margin-top: 5px;
    }

    .stat-item-exact {
        flex: 1 !important;
        text-align: center !important;
        min-width: 0;
        /* Prevents overflow from long text */
    }

    .stat-item-exact p {
        white-space: normal !important;
        font-size: 10px !important;
        /* Slightly smaller for mobile row */
        line-height: 1.2 !important;
        margin-top: 2px;
    }

    .stat-item-exact h3 {
        font-size: 28px !important;
        /* Reduced to fit long words like "Leading" */
        letter-spacing: -0.5px;
    }

    .about-secondary-img-wrapper {
        order: 4 !important;
        margin-top: 40px !important;
    }

    .about-secondary-img {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        border-radius: 0 !important;
        height: auto !important;
        max-height: 300px;
    }
}

/* -----------------------------------------
   VERY SMALL MOBILE (480px and below)
-------------------------------------------- */
@media (max-width: 480px) {
    .about-stats-row-exact {
        gap: 5px !important;
    }

    .stat-item-exact h3 {
        font-size: 28px !important;
    }

    .stat-item-exact p {
        font-size: 9px !important;
    }
}