/* ==========================================================================
   Baby Blossom International Preschool - Mobile & Tablet Responsive Styles
   ========================================================================== */

/* -----------------------------------------
   1. Tablet Viewports (Max width: 992px)
   ----------------------------------------- */
@media screen and (max-width: 992px) {
    /* Navbar compression for medium screens */
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }

    /* Hero header adjustment */
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    /* Layout structural shifts */
    .counter-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* -----------------------------------------
   2. Mobile Viewports (Max width: 768px)
   ----------------------------------------- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 60px; /* Navbar ki height ke hisaab se adjust karein */
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 999; /* Isse menu sabse upar dikhega */
    }

    .nav-links.active {
        display: flex !important; /* Hamburger click karne par force karein */
    }

    .hamburger {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
    }
}


/* -----------------------------------------
   3. Small Screen Handsets (Max width: 480px)
   ----------------------------------------- */
@media screen and (max-width: 480px) {
    /* Sizing limits to prevent heading overflow */
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .vision-header h1 {
        font-size: 2rem;
    }

    /* Form and component sizing compressions */
    .admission-form-box {
        padding: 1.5rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}