/* ============================================================
   MASTER MINDS DAYCARE — responsive.css
   Responsive / Mobile / Tablet Styles ONLY
   ============================================================ */

/* ============================================================
   1440px+ — Large Desktop
   ============================================================ */
@media (min-width: 1440px) {
    .hero-heading {
        font-size: 68px;
    }

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

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

    .programs-header .section-heading {
        font-size: 48px;
    }

    .gallery-grid {
        grid-template-rows: repeat(2, 280px);
    }

    .video-bg {
        height: 560px;
    }
}

/* ============================================================
   1280px — Standard Desktop
   ============================================================ */
@media (max-width: 1280px) {
    .hero-heading {
        font-size: 50px;
    }

    .hero-shape-balloon {
        width: 42px;
        right: 50px;
    }

    .hero-shape-2balloon {
        width: 52px;
        right: 130px;
    }

    .hero-shape-sun {
        width: 55px;
        right: 40px;
    }

    .hero-shape-pencil {
        width: 40px;
        right: 180px;
    }
}

/* ============================================================
   1024px — Small Desktop / Large Tablet
   ============================================================ */
@media (max-width: 1199px) {
    :root {
        --section-py: 70px;
    }

    /* Navbar */


    /* Hero */
    .hero-heading {
        font-size: 44px;
    }

    .hero-container {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .hero-shape-balloon {
        width: 38px;
        top: 40px;
        right: 30px;
    }

    .hero-shape-2balloon {
        width: 48px;
        top: 20px;
        right: 100px;
    }

    .hero-shape-sun {
        width: 50px;
        bottom: 100px;
        right: 30px;
    }

    .hero-shape-pencil {
        width: 36px;
        bottom: 80px;
        right: 140px;
    }

    /* Section headings */
    .section-heading {
        font-size: 34px;
    }

    .programs-header .section-heading {
        font-size: 38px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-rows: repeat(2, 210px);
        gap: 12px;
    }

    /* Video */
    .video-bg {
        height: 400px;
    }

    /* About */
    .about-content .section-description {
        line-height: 1.7;
    }
}

/* ============================================================
   991px — Tablet (Bootstrap lg breakpoint)
   ============================================================ */
@media (max-width: 991px) {

    /* Hide desktop nav at lg- */
    .d-none.d-lg-flex {
        display: none !important;
    }

    /* Show toggler */
    .navbar-toggler {
        display: block;
    }
}

/* ============================================================
   768px — Tablet
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    .hero-section>img,
    .about-deco {
        display: none;
    }

    /* Hero */
    .hero-section {
        min-height: 500px;
    }

    .hero-heading {
        font-size: 36px;
    }

    .hero-eyebrow {
        font-size: 12px;
    }

    .hero-container {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    /* Shapes — scale down on tablet */
    .hero-shape-balloon {
        width: 34px;
        top: 30px;
        right: 20px;
    }

    .hero-shape-2balloon {
        width: 44px;
        top: 15px;
        right: 80px;
    }

    .hero-shape-sun {
        width: 44px;
        bottom: 90px;
        right: 20px;
    }

    .hero-shape-pencil {
        width: 32px;
        bottom: 70px;
        right: 110px;
    }

    /* Section headings */
    .section-heading {
        font-size: 30px;
    }

    .programs-header .section-heading {
        font-size: 34px;
    }

    /* About */
    .about-content {
        padding-left: 0;
        text-align: center;
    }

    .about-content .section-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .about-action-row {
        justify-content: center;
    }

    .about-image-wrapper {
        justify-content: center;
    }

    /* Why */
    .why-content {
        padding-left: 0;
        text-align: center;
    }

    .why-content .section-description {
        margin-left: auto;
        margin-right: auto;
    }

    .why-feature-item {
        text-align: left;
    }

    .why-image-wrapper {
        justify-content: center;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }

    /* Video */
    .video-bg {
        height: 320px;
    }

    .video-play-btn {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }

    /* Programs decoratives hidden to prevent overflow */
    .programs-deco-snail {
        display: none;
    }

    /* Owl carousel dots adjustment */
    .programs-owl-carousel .owl-dots {
        margin-top: 24px;
    }

    /* Testimonials header */
    .testimonials-section .section-heading {
        font-size: 28px;
    }

    /* Footer */
    .footer-logo {
        height: 50px;
    }

    .footer-brand-desc {
        max-width: 100%;
    }
}

/* ============================================================
   576px — Large Mobile
   ============================================================ */
@media (max-width: 576px) {
    :root {
        --section-py: 50px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hero */
    .hero-section {
        min-height: 440px;
    }

    .hero-heading {
        font-size: 30px;
    }

    .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .hero-container {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .btn-hero-primary {
        font-size: 13px;
        padding: 12px 28px;
    }

    /* Hero shapes — hide overflow-prone ones */
    .hero-shape-2balloon {
        display: none;
    }

    .hero-shape-sun {
        width: 40px;
        bottom: 80px;
        right: 15px;
    }

    .hero-shape-pencil {
        width: 30px;
        bottom: 60px;
        right: 70px;
    }

    /* Section headings */
    .section-heading {
        font-size: 26px;
    }

    .programs-header .section-heading {
        font-size: 28px;
    }

    /* About */
    .about-action-row {
        flex-direction: column;
        align-items: center;
        gap: 16px !important;
    }

    /* Programs */
    .programs-container {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .program-card-img-wrapper {
        height: 200px;
    }

    /* Why */
    .why-section-deco-bird,
    .why-section-deco-sun {
        display: none;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 170px);
        gap: 10px;
    }

    .gallery-header .section-heading {
        font-size: 26px;
    }

    .btn-gallery-view {
        font-size: 13px;
        padding: 12px 28px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 26px 20px;
    }

    .testimonials-section .section-heading {
        font-size: 24px;
    }

    /* Programs owl */
    .programs-deco-balloon {
        width: 60px;
        top: 50px;
        right: 15px;
    }

    /* Video */
    .video-bg {
        height: 260px;
    }

    /* Footer */
    .footer-main {
        padding: 50px 0 40px;
    }

    /* Reduce decoratives */
    .gallery-deco-flower,
    .gallery-deco-balloon,
    .testimonials-deco-balloons,
    .testimonials-deco-boy,
    .testimonials-deco-sun {
        opacity: 0.5;
        width: 36px;
    }
}

/* ============================================================
   425px — Mobile
   ============================================================ */
@media (max-width: 425px) {

    /* Hero */
    .hero-section {
        min-height: 400px;
    }

    .hero-heading {
        font-size: 26px;
    }

    .hero-eyebrow {
        font-size: 10px;
    }

    .hero-container {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    /* Hero shapes off at this size */
    .hero-shape-balloon,
    .hero-shape-2balloon,
    .hero-shape-pencil {
        display: none;
    }

    .hero-shape-sun {
        width: 36px;
        bottom: 70px;
        right: 12px;
    }

    /* Heading */
    .section-heading {
        font-size: 23px;
    }

    .programs-header .section-heading {
        font-size: 25px;
    }

    /* Gallery — 1 column */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
    }

    /* Programs full width */
    .programs-section .col-md-6 {
        width: 100%;
    }

    /* Why features */
    .why-features-list {
        gap: 14px;
    }

    .why-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    /* Video */
    .video-bg {
        height: 220px;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    /* Offcanvas width on small screen */
    .mobile-offcanvas {
        width: 280px;
    }
}

/* ============================================================
   375px — Standard Mobile
   ============================================================ */
@media (max-width: 375px) {
    .hero-heading {
        font-size: 24px;
    }

    .hero-container {
        padding-top: 36px;
        padding-bottom: 44px;
    }

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

    .programs-header .section-heading {
        font-size: 23px;
    }

    .gallery-grid {
        grid-template-rows: repeat(6, 180px);
    }

    .btn-enroll {
        padding: 9px 18px;
        font-size: 12px;
    }

    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-contact-list li {
        font-size: 12px;
    }

    .testimonial-card {
        padding: 22px 16px;
        height: auto;
        min-height: 245px;
    }

    .testimonial-text {
        font-size: 12px;
    }
}

/* ============================================================
   320px — Small Mobile
   ============================================================ */
@media (max-width: 320px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-heading {
        font-size: 22px;
    }

    .hero-eyebrow {
        font-size: 10px;
    }

    .hero-container {
        padding-top: 30px;
        padding-bottom: 38px;
    }

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

    .programs-header .section-heading {
        font-size: 21px;
    }

    .gallery-grid {
        grid-template-rows: repeat(6, 160px);
    }

    .about-features-grid {
        gap: 10px;
    }

    .about-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .program-card-img-wrapper {
        height: 170px;
    }

    .program-card-title {
        font-size: 18px;
    }

    .video-bg {
        height: 190px;
    }

    .mobile-offcanvas {
        width: 260px;
    }

    .offcanvas-nav-link {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ============================================================
   Universal overflow prevention
   ============================================================ */
@media (max-width: 991px) {
    .fees-intro-img {
        margin-inline: auto;
    }

    /* 
    .hero-section,
    .about-section,
    .programs-section,
    .why-section,
    .gallery-section,
    .testimonials-section,
    .site-footer {
        overflow-x: hidden;
    } */
    .about-topbar-inner {
        justify-content: center;
    }

    .about-topbar-contact {
        gap: 4px 20px;
        justify-content: center;
    }

    /* Cap decoratives on small screens */
    .programs-deco,
    .gallery-deco,
    .testimonials-deco,
    .about-ornament,
    .why-section-deco {
        max-width: 65px;
    }

    .footer-deco-girl {
        display: none;
    }

    .new-snack-image-frame {
        width: 80px;
        transform: scale(1);
        height: 80px;
    }

    .new-snack-card {
        padding-right: 30px !important;
    }
}