/* =========================
   LARGE DEVICES
   (1200px and below)
========================= */

@media (max-width: 1200px) {

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

}


/* =========================
   TABLETS & SMALL LAPTOPS
   (992px and below)
========================= */

@media (max-width: 992px) {

    /* SECTION SPACING */

    section {
        padding: 80px 0;
    }

    /* TYPOGRAPHY */

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    /* HERO SECTION */

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* ABOUT GRID */

    .about-grid,
    .donation-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* EVENTS GRID */

    .events-grid,
    .past-events-grid,
    .gallery-grid,
    .video-grid,
    .highlight-grid,
    .leadership-grid,
    .values-grid,
    .committee-grid,
    .goals-grid,
    .donation-cards,
    .faq-grid,
    .impact-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* FOOTER */

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   TABLETS & MOBILE
   (768px and below)
========================= */

@media (max-width: 768px) {

    /* SECTION SPACING */

    section {
        padding: 70px 0;
    }

    /* TYPOGRAPHY */

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.95rem;
    }

    /* PAGE HERO */

    .page-hero {
        padding: 120px 0 80px;
    }

    /* BUTTONS */

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* GRID SYSTEMS */

    .events-grid,
    .past-events-grid,
    .gallery-grid,
    .video-grid,
    .highlight-grid,
    .leadership-grid,
    .values-grid,
    .committee-grid,
    .goals-grid,
    .donation-cards,
    .faq-grid,
    .impact-grid,
    .stats-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    /* FORMS */

    .newsletter-form {
        flex-direction: column;
    }

    .contact-form-wrapper,
    .donation-form {
        padding: 2rem;
    }

    /* FOOTER */

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul {
        align-items: center;
    }

    /* SOCIAL LINKS */

    .social-links {
        flex-direction: column;
    }

    /* IMAGES */

    .hero-image img,
    .about-image img,
    .donation-image img,
    .leader-card img,
    .gallery-item img,
    .event-image img,
    .past-event-card img {
        height: auto;
    }

}


/* =========================
   MOBILE DEVICES
   (576px and below)
========================= */

@media (max-width: 576px) {

    /* CONTAINER */

    .container {
        width: 92%;
    }

    /* TYPOGRAPHY */

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* HEADER */

    .site-header .container {
        min-height: 80px;
    }

    .logo {
        font-size: 1.5rem;
    }

    /* MOBILE NAV */

    .site-nav {
        width: 100%;
    }

    /* CARDS */

    .event-content,
    .leader-content,
    .video-content,
    .highlight-card,
    .committee-card,
    .value-card,
    .faq-card,
    .goal-card,
    .donation-card {
        padding: 1.5rem;
    }

    /* SECTION HEADINGS */

    .section-heading {
        margin-bottom: 40px;
    }

}


/* =========================
   SMALL MOBILE DEVICES
   (400px and below)
========================= */

@media (max-width: 400px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 20px;
    }

}