/* Future Scholars Website - Responsive Styles */

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
/* 
    Mobile: 320px - 767px
    Tablet: 768px - 1024px
    Desktop: 1025px+
*/

/* ==================== TABLET AND BELOW (max-width: 1024px) ==================== */
@media (max-width: 1024px) {
    :root {
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - var(--spacing-md));
        min-width: 300px;
    }
}

/* ==================== MOBILE (max-width: 768px) ==================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-3xl) var(--spacing-lg);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        align-items: flex-start;
        gap: var(--spacing-md);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .phone-cta {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
    }
    
    .nav-item.dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    /* Hero Section */
    .hero {
        min-height: calc(100vh - 60px);
        padding-top: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    /* Sections */
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-xl);
    }
    
    /* Grids */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    /* Testimonials */
    .testimonials-slider {
        flex-direction: column;
        overflow-x: visible;
    }
    
    .testimonial-card {
        flex: 1;
        min-width: 100%;
    }
    
    /* Course Cards */
    .course-card {
        margin-bottom: var(--spacing-md);
    }
    
    /* Typography */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    h3 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    /* Scroll Indicator */
    .scroll-indicator {
        display: none;
    }
}

/* ==================== SMALL MOBILE (max-width: 480px) ==================== */
@media (max-width: 480px) {
    :root {
        font-size: 14px;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 2.5rem;
        --spacing-3xl: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .stat-card {
        padding: var(--spacing-lg);
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .course-content {
        padding: var(--spacing-md);
    }
    
    .benefit-card {
        padding: var(--spacing-lg);
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: var(--spacing-lg);
    }
    
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-md);
    }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-3xl) 0;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ==================== HIGH RESOLUTION DISPLAYS ==================== */
@media (min-width: 1441px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .header,
    .hero-buttons,
    .whatsapp-float,
    .scroll-indicator,
    .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
        --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.3);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Preference */
@media (prefers-color-scheme: dark) {
    /* Optional: Can be implemented for dark mode support */
}

