/* =========================================
   TABLET & MOBILE ADJUSTMENTS
   ========================================= */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-section {
        height: auto;
        min-height: 80vh;
        padding: 6rem 0 4rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-group .btn {
        width: 100%;
    }
    
    .stats-section {
        margin-top: 0;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .programme-controls {
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .stat-card .counter {
        font-size: 2.5rem;
    }
    
    .mobile-menu-overlay {
        max-width: 100%;
    }
}
/* =========================================
   MOBILE HEADER OPTIMIZATION
   ========================================= */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .main-header {
        height: var(--header-height);
    }

    .header-inner {
        gap: 0.5rem;
    }

    /* Compact Logo */
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-sub {
        font-size: 0.6rem;
        letter-spacing: 0.02em;
    }

    /* Hide search icon on mobile to save space */
    .icon-btn {
        display: none;
    }

    /* Compact Apply Button */
    .header-actions .btn-primary {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 6px;
        white-space: nowrap;
        line-height: 1.2;
    }

    /* Hamburger button spacing */
    .mobile-menu-toggle {
        padding: 0.4rem;
        margin-left: 0.25rem;
    }

    .hamburger {
        width: 22px;
    }

    .hamburger::before,
    .hamburger::after {
        width: 22px;
    }
}

/* Extra small screens (320px - 375px) */
@media (max-width: 375px) {
    .header-actions .btn-primary {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-sub {
        font-size: 0.55rem;
    }
}