/* ============================================================
   SAMATVA ACADEMY – responsive.css
   All @media queries. Imported LAST in master pages.
   ============================================================ */

/* ── Tablet: 768px – 991px ──────────────────────────────────── */
@media (max-width: 991px) {

    /* Header */
    .header-utility {
        display: none;
    }

    .header-brand {
        height: 64px;
    }

    .logo-samatva {
        height: 44px !important;
        width: 44px !important;
    }

    .brand-name {
        font-size: 18px;
    }

    .header-search-wrap {
        max-width: 320px;
        margin: 0 12px;
    }

    .header-nav-links,
    .header-nav-right {
        display: none;
    }

    .btn-hamburger {
        display: flex;
    }

    /* Sticky: no utility bar on mobile so sticky starts from brand bar */
    .header-sticky-wrapper.is-sticky .header-brand {
        box-shadow: none;
    }

    /* Home sections */
    .hero-title {
        font-size: 30px;
    }

    .hero-content {
        padding: 60px 16px;
    }

    .section-pad {
        padding: 52px 0;
    }

    .about-text-col {
        padding-right: 0;
        margin-bottom: 28px;
    }

    /* Stats: 2 per row on tablet */
    .stats-grid .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Footer: 2x2 */
    .footer-grid .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 28px;
    }

    /* ZIIEI stats: 2 per row */
    .ziiei-grid .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Programme cards: 2 per row */
    .prog-grid .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* ── Mobile: < 768px ────────────────────────────────────────── */
@media (max-width: 767px) {

    /* Header */
    .header-brand {
        height: 50px;
    }

    .header-search-wrap {
        display: none;
    }

    .logo-samatva {
        height: 40px !important;
        width: 40px !important;
    }

    .brand-name {
        font-size: 16px !important;
    }

    .logo-sas {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 24px;
    }

    .hero-overline {
        font-size: 11px;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            justify-content: center;
        }

    .hero-content {
        padding: 48px 16px;
    }

    .hero-section {
        min-height: 420px;
    }

    /* Sections */
    .section-pad {
        padding: 40px 0;
    }

    .section-pad-sm {
        padding: 32px 0;
    }

    .section-heading {
        font-size: 20px;
    }

    .about-text-col {
        padding-right: 0;
    }

    /* Feature cards: 1 per row */
    .feature-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }

    /* Stats: 2 per row mobile */
    .stats-grid .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .stats-grid .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* ZIIEI: 2 per row mobile */
    .ziiei-grid .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .ziiei-grid .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Programme cards: 1 per row */
    .prog-grid .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .prog-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* Footer: stacked */
    .footer-grid .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 28px;
    }

    /* Footer bottom: stacked */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    /* CTA banner */
    .cta-banner-section h2 {
        font-size: 22px;
    }

    /* Approach: accordion body padding adjust */
    .approach-card-body {
        padding-left: 20px;
    }

    /* Stat number font size */
    .stat-number {
        font-size: 26px;
    }

    .ziiei-stat-number {
        font-size: 24px;
    }
}

/* ── Large phone: 576px – 767px ────────────────────────────── */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* ── XL Desktop: > 1400px ───────────────────────────────────── */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}
