/* Mobile Navigation */
@media (max-width: 992px) {
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        z-index: 1001;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        overflow-y: auto;
        padding: 20px;
    }
    
    .mobile-nav.active {
        right: 0;
    }
    
    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-nav a {
        display: block;
        padding: 12px 15px;
        border-radius: var(--border-radius);
    }
    
    .mobile-nav-close {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
    }
    
    .overlay.active {
        display: block;
    }
}

/* Tablet Adjustments */
@media (min-width: 577px) and (max-width: 768px) {
    .grade-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .main-header, .main-footer, .search-box, .mobile-menu-toggle {
        display: none;
    }
    
    body {
        background-color: var(--white);
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .stage-container {
        break-inside: avoid;
        margin-bottom: 20px;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}