/* Responsive Styles for Edu.Gate Website */

/* Large Screens (Desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .threejs-container {
        width: 40%;
    }
    
    .diplomas-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Small Screens (Large Phones) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 30px 30px;
    }
    
    html[dir="rtl"] .main-nav {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    html[dir="rtl"] .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        margin-bottom: 20px;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
    }
    
    .hero {
        padding: 80px 0;
        min-height: 70vh;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-motto {
        font-size: 18px;
    }
    
    .threejs-container {
        display: none;
    }
    
    .services-grid,
    .diplomas-grid,
    .languages-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .news-ticker .ticker-label {
        position: static;
        padding: 10px 20px;
        justify-content: center;
    }
    
    .ticker-content {
        padding-left: 0;
        padding-top: 10px;
        flex-direction: column;
        animation: none;
    }
    
    .ticker-content span {
        padding: 5px 20px;
        text-align: center;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .lang-switcher {
        top: 10px;
        right: 10px;
    }
    
    html[dir="rtl"] .lang-switcher {
        right: auto;
        left: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .service-card,
    .diploma-card,
    .additional-service-card,
    .feature-card {
        padding: 20px;
    }
    
    .inquiry-form,
    .registration-form {
        padding: 25px;
    }
    
    .about-intro h2 {
        font-size: 30px;
    }
    
    .about-intro p {
        font-size: 16px;
    }
    
    .cta-section h2 {
        font-size: 30px;
    }
    
    .cta-section p {
        font-size: 18px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .main-nav {
        padding-top: 60px;
    }
}

/* High Resolution Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .lang-switcher,
    .news-ticker,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .page-header {
        padding: 20px 0;
    }
    
    .service-intro,
    .diplomas-section,
    .additional-services {
        padding: 30px 0;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
}