/* Responsive Design */

/* Large Desktop */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-slogan {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Academic Section */
    .academic-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .academic-features {
        grid-template-columns: 1fr;
    }
    
    /* Video Section */
    .video-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Facilities Grid */
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Messages Grid */
    .messages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Typography */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-slogan {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-logo .school-name {
        font-size: 16px;
    }
    
    .nav-logo .logo {
        height: 40px;
    }
    
    /* Sections Padding */
    .about-section,
    .facilities-section,
    .academic-section,
    .video-section,
    .messages-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .stats-section {
        padding: 50px 0;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Facilities */
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .facility-image {
        height: 180px;
    }
    
    /* About */
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    /* Academic */
    .academic-text h2 {
        font-size: 2rem;
    }
    
    .academic-subtitle {
        font-size: 1.1rem;
    }
    
    .academic-text p {
        font-size: 1rem;
    }
    
    .academic-image img {
        height: 300px;
    }
    
    /* Video */
    .video-info h3 {
        font-size: 1.5rem;
    }
    
    .video-info p {
        font-size: 1rem;
    }
    
    /* Messages */
    .message-card {
        padding: 25px;
    }
    
    .message-content blockquote {
        font-size: 1rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 30px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }
}

/* Mobile Medium */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    /* Navigation */
    .nav-container {
        padding: 12px 15px;
    }
    
    .nav-logo .school-name {
        font-size: 14px;
    }
    
    .nav-logo .logo {
        height: 35px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Sections Padding */
    .about-section,
    .facilities-section,
    .academic-section,
    .video-section,
    .messages-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .stats-section {
        padding: 35px 0;
    }
    
    /* Stats */
    .stat-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Facility Cards */
    .facility-content {
        padding: 20px;
    }
    
    .facility-content h3 {
        font-size: 1.2rem;
    }
    
    .facility-content p {
        font-size: 0.9rem;
    }
    
    /* About */
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .school-info {
        gap: 12px;
    }
    
    .info-item {
        font-size: 0.9rem;
    }
    
    /* Academic */
    .academic-text h2 {
        font-size: 1.8rem;
    }
    
    .academic-subtitle {
        font-size: 1rem;
    }
    
    .academic-text p {
        font-size: 0.95rem;
    }
    
    /* Video */
    .video-info h3 {
        font-size: 1.3rem;
    }
    
    .video-info p {
        font-size: 0.95rem;
    }
    
    /* Messages */
    .message-card {
        padding: 20px;
    }
    
    .message-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .message-info h3 {
        font-size: 1.1rem;
    }
    
    .message-content blockquote {
        font-size: 0.95rem;
        padding-left: 15px;
    }
    
    /* Contact */
    .contact-form {
        padding: 25px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        font-size: 0.9rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    /* Hero */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Navigation */
    .nav-logo .school-name {
        display: none;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    /* Sections */
    .about-section,
    .facilities-section,
    .academic-section,
    .video-section,
    .messages-section,
    .contact-section {
        padding: 30px 0;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 20px;
    }
    
    /* Messages */
    .message-header {
        gap: 10px;
    }
    
    .message-avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .nav-container {
        padding: 10px 12px;
    }
    
    .facility-content,
    .message-card,
    .contact-form {
        padding: 15px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .scroll-indicator,
    .btn,
    .contact-form,
    .social-links {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 50px 0;
    }
    
    .hero-background,
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        color: #333;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
    }
    
    .section-subtitle {
        font-size: 14pt;
    }
}