/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-content {
        gap: 1rem;
    }
    
    .programs-grid,
    .news-grid,
    .values-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}


    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Page Header */
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    /* Sections */
    .content-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-content.reverse {
        direction: ltr;
    }
    
    /* Cards and Grids */
    .programs-grid,
    .news-grid,
    .values-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Goals */
    .goal-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .goal-number {
        min-width: auto;
    }
    
    /* Tables */
    .fee-table {
        font-size: 0.9rem;
    }
    
    .fee-table th,
    .fee-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .program-content,
    .news-content {
        padding: 1rem;
    }
    
    .value-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .nav-actions {
        left: 1rem;
        right: 1rem;
        transform: none;
        width: calc(100% - 2rem);
        flex-direction: column;
    }
    
    .nav-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-actions .btn:last-child {
        margin-bottom: 0;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .programs-grid,
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .values-grid,
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-actions,
    .hamburger {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    .page-header {
        background: none;
        color: var(--text-primary);
    }
    
    .btn {
        border: 1px solid var(--text-primary);
        background: none;
        color: var(--text-primary);
    }
    
    .hero {
        flex-direction: column;
    }
    
    .section-content {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000FF;
        --secondary-color: #000000;
        --accent-color: #0066CC;
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #000000;
    }
    
    .btn-primary {
        background: var(--primary-color);
        border: 2px solid var(--primary-color);
    }
    
    .btn-secondary,
    .btn-outline {
        border: 2px solid var(--text-primary);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #0F172A;
        --light-bg: #1E293B;
        --text-primary: #F1F5F9;
        --text-secondary: #CBD5E1;
        --text-light: #94A3B8;
        --border-color: #334155;
    }
    
    .header {
        background: rgba(15, 23, 42, 0.95);
    }
    
    .dropdown-menu {
        background: var(--light-bg);
        border-color: var(--border-color);
    }
    
    .program-card,
    .news-item,
    .value-card,
    .feature-card,
    .goal-item {
        background: var(--light-bg);
    }
    
    .fee-table table {
        background: var(--light-bg);
    }
    
    .fee-table tr:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}