/* Responsive Styles for CHAD Foundation */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .footer-columns {
        gap: 40px;
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .col-3, .col-4, .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero {
        padding: 100px 0 60px;
        margin-top: 60px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .contact-info-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .nav-link {
        display: block;
        padding: 20px;
        font-size: 1.2rem;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .nav-link:after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        color: white;
    }
    
    .nav-donate {
        margin: 20px auto;
        width: 80%;
        display: block;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .program-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 2.5rem;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .program-image {
        height: 200px;
    }
    
    .about-image {
        height: 300px;
        margin-top: 20px;
    }
    
    .card-img {
        height: 200px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text span {
        font-size: 0.75rem;
    }
    
    .logo-img-container {
        width: 50px;
        height: 50px;
    }
}