/* Responsive styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    html {
        font-size: 56.25%; /* 9px */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav-list {
        position: fixed;
        top: 0;
        right: -30rem;
        width: 30rem;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 8rem 3rem 3rem;
        z-index: 999;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav-list.active {
        right: 0;
    }

    .nav-link {
        display: block;
        padding: 1.5rem 0;
        font-size: 1.8rem;
    }

    .hero-section {
        margin-top: 9rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .contact-grid,
    .issues-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        margin-bottom: 4rem;
    }

    .col-6, .col-4, .col-3, .col-8 {
        width: 100%;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .top-bar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .main-header-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .branding {
        justify-content: center;
    }

    .hero-title {
        font-size: 3.6rem;
    }

    .hero-text {
        font-size: 1.8rem;
    }

    .team-grid, 
    .events-list {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
    }

    .section {
        padding: 4rem 0;
    }

    .cta-title {
        font-size: 3rem;
    }

    .stat-number {
        font-size: 4rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 50%; /* 8px */
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .cta-title {
        font-size: 2.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
