/* Responsive Design */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .community-content,
    .about-content {
        gap: 3rem;
    }
}

/* Small screens (768px and down) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    /* Hero Section */
    .hero-fullscreen {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
        padding: 1.5rem 1.5rem 2rem;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-content {
        padding: 3rem 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Sections */
    .section {
        padding: 60px 0;
        min-height: auto;
    }

    .section-transition {
        height: 80px;
        margin: -40px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Programs Grid */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-card {
        padding: 1.5rem;
    }

    /* Locations Grid */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .location-card {
        padding: 1.5rem;
    }

    /* Community Section */
    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .community-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        padding: 1.5rem;
        flex: 1;
    }

    .stat-item h4 {
        font-size: 2rem;
    }

    /* Admission Steps */
    .admission-steps {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .step {
        width: 100%;
        max-width: 500px;
        margin-bottom: 2rem;
        padding: 0;
    }

    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 60px;
        transform: translateX(-50%);
        width: 2px;
        height: 2rem;
        background: linear-gradient(to bottom, #7A99C7, rgba(122, 153, 199, 0.3));
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .requirement {
        padding: 1.5rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    /* Modal */
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

/* Extra small screens (480px and down) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-fullscreen {
        height: 100vh;
        min-height: 100vh;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .section {
        padding: 40px 0;
    }

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

    .program-card,
    .location-card,
    .requirement,
    .value {
        padding: 1rem;
    }

    .community-stats {
        flex-direction: column;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .modal-content {
        margin: 15% auto;
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }

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

    .modal-content {
        margin: 2% auto;
        max-height: 90vh;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn,
    .program-card,
    .location-card,
    .requirement,
    .value {
        border-radius: 8px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .modal,
    .footer {
        display: none;
    }

    .hero {
        background: white !important;
        color: black !important;
        margin-top: 0;
    }

    .section {
        page-break-inside: avoid;
    }

    .program-card,
    .location-card,
    .requirement,
    .value {
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 