﻿/* ==========================================================================
   AtlanCare — Responsive Rules (320px → 4K)
   ========================================================================== */

/* ===== Base / mobile-first safety ===== */
img, svg, video {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== Extra small phones (upto 375px) ===== */
@media (max-width:375.98px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-sub {
        font-size: 14.5px;
    }

    .eyebrow {
        font-size: 11px;
        padding: 6px 12px;
    }

    .btn-lg-pill {
        padding: 13px 22px;
        font-size: 13px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-sub {
        font-size: 8px;
    }

    .stat-row {
        gap: 16px;
    }

    .stat-num {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .why-icon {
        width: 54px;
        height: 54px;
        font-size: 20px;
    }

    .segment-media {
        height: 170px;
    }

    .product-controls .filter-tab {
        font-size: 12px;
        padding: 9px 14px;
    }
}
@media (max-width:575.98px) {
    .stat-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }

    .stat-item {
        min-width: 0;
    }

    .stat-num {
        font-size: 28px;
    }

    .stat-plus {
        font-size: 22px;
    }

    .stat-label {
        white-space: normal;
        font-size: 12px;
    }
}
/* ===== Phones (376px – 575.98px) ===== */
@media (max-width:575.98px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.15;
    }

    .hero-sub {
        font-size: 15.5px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

        .hero-actions .btn {
            justify-content: center;
            width: 100%;
        }

    .float-icon {
        display: none;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-desc {
        font-size: 15px;
    }

    .about-badge {
        position: static;
        margin-top: -30px;
        margin-left: 16px;
        max-width: none;
    }

    .vision-band {
        flex-direction: column;
        padding: 24px;
    }

    .vision-icon {
        margin-bottom: 6px;
    }

    .value-chips span {
        font-size: 12px;
        padding: 7px 13px;
    }

    .stat-row {
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .why-card {
        padding: 22px 10px;
    }

    .segment-body {
        padding: 22px;
    }

    .product-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .filter-tabs {
        overflow-x: auto;
        flex-wrap: wrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-tab {
        white-space: nowrap;
    }

    .search-box {
        min-width: 100%;
    }

    .quality-timeline {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .qt-icon {
        width: 66px;
        height: 66px;
        font-size: 22px;
    }

    .gallery-tile {
        height: 170px;
    }

    .testi-card {
        padding: 24px;
    }

        .testi-card p {
            min-height: 0;
        }

    .newsletter-band {
        padding: 26px 20px;
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

        .newsletter-form input {
            min-width: 100%;
        }

    .contact-form, .contact-info-card {
        padding: 22px;
    }

    .btn-lg-pill {
        padding: 14px 24px;
        font-size: 14px;
    }

    .fab {
        width: 46px;
        height: 46px;
        font-size: 17px;
        right: 14px;
    }

    .fab-whatsapp {
        bottom: 80px;
    }

    .fab-call {
        bottom: 138px;
    }

    .fab-top {
        bottom: 18px;
    }

    .footer-about {
        max-width: none;
    }

    .site-footer {
        padding: 60px 0 0;
    }
}

/* ===== Large phones / small tablets (576px – 767.98px) ===== */
@media (min-width:576px) and (max-width:767.98px) {
    .hero-title {
        font-size: 40px;
    }

    .section {
        padding: 64px 0;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .quality-timeline {
        grid-template-columns: repeat(2,1fr);
        row-gap: 40px;
    }
}

/* ===== Tablets (768px – 991.98px) ===== */
@media (min-width:768px) and (max-width:991.98px) {
    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 46px;
    }

    .section {
        padding: 76px 0;
    }

    .quality-timeline {
        grid-template-columns: repeat(2,1fr);
        row-gap: 44px;
    }

    .hero-card-stack {
        margin-top: 40px;
    }

    .about-badge {
        position: static;
        margin-top: -30px;
        margin-left: 20px;
        max-width: none;
    }

    .newsletter-band {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* ===== Below desktop nav breakpoint (upto 991.98px) — header/toggle ===== */
@media (max-width:991.98px) {
    .header-inner {
        gap: 12px;
    }

    .has-mega .mega-menu {
        display: none;
    }
    /* mega menu only relevant on desktop nav */
}

/* ===== Small laptops (992px – 1199.98px) ===== */
@media (min-width:992px) and (max-width:1199.98px) {
    .main-nav a {
        padding: 8px 11px;
        font-size: 13.5px;
    }

    .header-cta {
        gap: 10px;
    }

    .has-mega .mega-menu {
        width: 460px;
    }

    .quality-timeline {
        grid-template-columns: repeat(2,1fr);
        row-gap: 50px;
    }
}

/* ===== Standard desktops (1200px – 1599.98px) ===== */
@media (min-width:1200px) and (max-width:1599.98px) {
    .quality-timeline {
        grid-template-columns: repeat(4,1fr);
    }
}

/* ===== Large desktops / 4K (1600px+) ===== */
@media (min-width:1600px) {
    .container {
        max-width: 1440px;
    }

    .hero-title {
        font-size: 76px;
    }

    .hero-sub {
        font-size: 19px;
    }

    .section-title {
        font-size: 48px;
    }

    .section {
        padding: 30px 0;
    }
}

@media (min-width:2000px) {
    .container {
        max-width: 1600px;
    }

    .hero-title {
        font-size: 88px;
    }

    .section-title {
        font-size: 54px;
    }
}

/* ===== Landscape phones ===== */
@media (max-width:991.98px) and (orientation:landscape) {
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .mobile-nav {
        padding-top: 80px;
    }
}

/* ===== Touch devices: bigger tap targets ===== */
@media (hover:none) and (pointer:coarse) {
    .filter-tab, .pg-btn, .fab, .nav-toggle {
        min-height: 40px;
    }

    .segment-card:hover, .product-card:hover, .why-card:hover {
        transform: none;
    }
}



/* ==========================================================================
   FIX: Bootstrap columns without a base col-12/col-sm-6 were not stacking
   full-width on mobile/tablet — forcing them explicitly here.
   ========================================================================== */

/* About section image + content columns */
@media (max-width: 991.98px) {
    .about-section .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Therapeutic Segments cards */
@media (max-width: 991.98px) {
    .segments-section .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Contact section (info card + form) */
@media (max-width: 991.98px) {
    .contact-section .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* FAQ section (text + accordion) */
@media (max-width: 991.98px) {
    .faq-section .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Footer: brand column (1st) and contact column (last) go full width;
   quick-links + categories (2nd/3rd, already col-6) stay 2-up */
@media (max-width: 991.98px) {
    .site-footer .row > div:first-child,
    .site-footer .row > div:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Gallery tiles */
@media (max-width: 767.98px) {
    .gallery-section .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Product cards on small phones only (col-sm-6 already handles 576px+) */
@media (max-width: 575.98px) {
    .products-section .product-grid > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}


html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/*.container, .row {
    max-width: 100%;
}*/


@media (min-width: 992px) and (max-width: 1199.98px) {
    .has-mega .mega-menu {
        max-width: calc(100vw - 48px);
    }
}


@media (max-width: 575.98px) {
    .scroll-cue {
        display: none;
    }
}




.vm-card {
    padding: 30px 26px;
}

.vm-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
    margin-bottom: 16px;
}

.vm-card h3 {
    font-size: 19px;
}
