/* ==========================================================================
   SHYAMA HANDBALL ACADEMY & S.N. PANDEY KHEL SANSTHAN TRUST
   Responsive & Adaptive Stylesheet
   Breakpoints: 1200px, 992px, 768px, 576px, 400px
   ========================================================================== */

/* --- Large Desktops (max-width: 1200px) --- */
@media (max-width: 1200px) {
    .pillars-grid-eight {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .batches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-desks-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }

    .hero-title {
        font-size: 2.7rem;
    }
}

/* --- Medium Devices / Tablets (max-width: 992px) --- */
@media (max-width: 992px) {
    /* Mobile Header & Hamburger */
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -8px 0 28px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 28px 40px;
        gap: 16px;
        transition: right var(--transition-smooth);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--color-border-subtle);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Hero Slider Responsive */
    .hero-slider-section {
        min-height: auto;
    }

    .hero-slider-track {
        min-height: 520px;
    }

    .hero-slide-container {
        padding: 50px 0 30px;
    }

    .hero-slide-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-slide-tag-card {
        max-width: 100%;
        margin-left: 0;
    }

    .hero-slide-content .hero-title {
        font-size: 2.3rem;
    }

    .hero-slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .hero-slider-prev {
        left: 12px;
    }

    .hero-slider-next {
        right: 12px;
    }

    .hero-slider-stats-bar .hero-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Hero Grid & Featured Card (Inner Pages) */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-featured-card {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .about-split-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stats-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }

    .award-conclave-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .featured-mentor-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .coaching-roster-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .arenas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admission-layout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-split-grid {
        grid-template-columns: 1fr;
    }

    .csr-endowment-card {
        grid-template-columns: 1fr;
    }

    .urgent-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* --- Small Tablets / Large Phones (max-width: 768px) --- */
@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .top-bar-right {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats-row {
        gap: 24px;
        flex-wrap: wrap;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .batches-grid {
        grid-template-columns: 1fr;
    }

    .coaching-roster-grid {
        grid-template-columns: 1fr;
    }

    .arenas-grid {
        grid-template-columns: 1fr;
    }

    .contact-desks-grid {
        grid-template-columns: 1fr;
    }

    .event-row-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .event-date-badge {
        margin-right: 0;
    }

    .event-action-btn {
        width: 100%;
        text-align: center;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
    }

    .application-form-card {
        padding: 24px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* --- Small Phones (max-width: 576px) --- */
@media (max-width: 576px) {
    .hero-title,
    .hero-slide-content .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle,
    .hero-slide-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-slider-stats-bar .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .hero-slider-prev {
        left: 8px;
    }

    .hero-slider-next {
        right: 8px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn-gold,
    .hero-cta-group .btn-ghost-dark {
        width: 100%;
        justify-content: center;
    }

    .stats-grid-four {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .mentor-stats-grid {
        grid-template-columns: 1fr;
    }

    .brand-title {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.62rem;
    }

    .header-actions .btn-join span {
        display: none;
    }

    .header-actions .btn-join {
        padding: 9px 12px;
    }
}
