/* ============================================================
   Tilla to Talim — RESPONSIVE
   Consolidated media queries for the whole site.
   ============================================================ */

/* ── HEADER ── */
@media (max-width: 991px) {

    #sc-navbar .sc-nav,
    #sc-navbar .sc-right {
        display: none !important;
    }

    #sc-ham {
        display: flex !important;
    }
}

@media (max-width: 575px) {
    #sc-navbar .sc-logo-ring {
        height: 44px;
        width: 44px;
    }
    #sc-navbar .sc-brand-name {
        font-size: 17px;
    }
}

/* ── FOOTER ── */
@media (max-width: 767px) {
    .footer-nl-strip .d-flex {
        flex-direction: column;
        gap: 14px !important;
    }

    .nl-form {
        max-width: 100%;
    }

    .footer-body {
        padding: 40px 0 28px;
    }
}

/* ── HOME: hero slider, review cards ── */
@media (max-width: 991px) {
    .slide-item {
        min-height: 68vh;
    }

    .slide-content {
        padding: 44px 0;
    }

    .hero-stats {
        gap: 24px;
    }
}

/* ── INNER PAGE BANNERS ── */
@media (max-width: 991px) {
    .page-hero {
        min-height: 210px;
    }
}

@media (max-width: 575px) {
    .page-hero {
        min-height: 180px;
    }

    .page-hero-content {
        padding: 30px 0;
    }
}

/* Reviews slider: a phone has no room for the side arrows and the card is
   already nearly full width — swiping, the dots and autoplay carry it. */
@media (max-width: 767px) {
    .review-track {
        gap: 16px;
    }

    .review-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    .slide-item {
        min-height: 58vh;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    footer .col-lg-2,
    footer .col-lg-4 {
        margin-bottom: 30px;
    }
}

/* ── ABOUT ── */
@media (max-width: 767px) {
    .story-img-main img {
        height: 300px;
    }

    .story-img-badge {
        right: 0;
    }

    .story-img-small {
        display: none;
    }

    /* check-list points: 2-column grid → single column on small screens */
    .check-list {
        grid-template-columns: 1fr;
    }
}/* ── PRODUCT DETAILS ── */
@media (max-width: 767px) {
    /* The thumbnail strip stays a full-width 4-up grid on phones (width and
       square shape come from pro-details.css) — just a tighter gap. */
    .gallery-thumbs {
        gap: 8px;
        margin-top: 10px;
    }

    /* At-a-Glance highlights: 2x2 grid → single column on small screens */
    .glance-grid {
        grid-template-columns: 1fr;
    }
}

/* ── PRODUCT page: sidebar ── */
@media (max-width: 991px) {
    .sidebar-desktop {
        display: none;
    }
}

/* ── CONTACT ── */
@media (max-width: 767px) {
    .contact-form-wrap {
        padding: 28px 20px;
    }

    .contact-side {
        padding: 28px 22px;
    }
}