/* ==========================================================================
   08-RESPONSIVE.CSS - Responsive Design & Media Queries
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    section {
        padding: 4rem 2rem;
    }
    
    .hero {
        padding: 0 2rem;
    }
    
    .mission {
        padding: 4rem 2rem;
    }
    
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .social-links {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        min-width: 45px; /* Ensure consistent touch targets */
    }

    .social-links a svg {
        width: 20px;
        height: 20px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline-date {
        text-align: left;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-section {
        max-width: 90%;
        padding: 3rem 2rem;
        margin: 3rem auto;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        min-height: 48px; /* Better touch target */
        font-size: 1rem;
    }

    /* Mobile Logo optimizations */
    .logo {
        font-size: 0; /* Hide any text content */
    }

    .brand-logo {
        height: 35px;
        width: auto;
        margin-right: 0;
    }

    /* Better mobile typography */
    body {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Improved touch targets */
    .mobile-nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .cta-section {
        max-width: 95%;
        padding: 2rem 1rem;
        margin: 2rem auto;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }

    .brand-logo {
        height: 32px;
    }

    .social-links a {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .social-links a svg {
        width: 18px;
        height: 18px;
    }

    nav {
        padding: 0.8rem 1rem;
    }
}

/* Landscape mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-nav-overlay {
        padding: 2rem 0;
    }
    
    .mobile-nav-links li {
        margin: 1rem 0;
    }
    
    .mobile-nav-link {
        padding: 0.6rem 1.5rem;
        font-size: 1.2rem;
    }
}