/* ============================================
   SHREYASHFOUNDATION - Responsive Styles
   ============================================ */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .timeline {
        padding-left: var(--space-2xl);
    }

    .timeline-dot {
        left: -42px;
        width: 25px;
        height: 25px;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .nav-links,
    .nav .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 500px;
        height: auto;
        padding: var(--space-3xl) 0;
    }

    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-arrow {
        display: none;
    }

    .page-banner {
        height: 300px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        padding-left: var(--space-xl);
    }

    .timeline::before {
        left: 10px;
        width: 3px;
    }

    .timeline-dot {
        left: -28px;
        width: 20px;
        height: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: var(--space-md);
        bottom: var(--space-md);
    }
}

/* Small Mobile */
@media (max-width: 374px) {
    h1 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    :root {
        --max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}