/* ====================================
   LARGE TABLETS (991px)
==================================== */

@media (max-width:991px){

    section{
        padding:80px 6%;
    }

    /* NAVBAR */
    .menu-btn{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:80px;
        left:-100%;
        width:100%;
        background:#fff;
        flex-direction:column;
        gap:25px;
        padding:40px;
        transition:.4s;
        box-shadow:0 10px 20px rgba(0,0,0,.08);
    }

    .nav-links.active{
        left:0;
    }

    .nav-right{
        gap:15px;
    }

    /* HERO */
    .hero-content h1{
        font-size:3.5rem;
    }

    .hero-content p{
        font-size:1rem;
    }

    /* ABOUT */
    .about-container{
        flex-direction:column;
    }

    /* STATS */
    .stats{
        grid-template-columns:repeat(2,1fr);
    }

    /* PROJECTS */
    .projects-grid{
        grid-template-columns:1fr;
    }

    /* EVENTS */
    .event-card{
        flex-direction:column;
        text-align:center;
    }

    /* NEWSLETTER */
    .newsletter form{
        flex-direction:column;
    }

}


/* ====================================
   TABLETS (768px)
==================================== */

@media (max-width:768px){

    section{
        padding:70px 5%;
    }

    .logo span{
        display:none;
    }

    /* HERO */
    .hero{
        height:90vh;
    }

    .hero-content{
        margin-left:5%;
    }

    .hero-content h1{
        font-size:2.8rem;
    }

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

    /* SECTION TITLES */
    .section-title h2{
        font-size:2.2rem;
    }

    /* PROGRAMS */
    .programs-grid{
        grid-template-columns:1fr;
    }

    /* GALLERY */
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* TEAM */
    .team-grid{
        grid-template-columns:1fr;
    }

    /* BLOG */
    .blog-grid{
        grid-template-columns:1fr;
    }

    /* FOOTER */
    .footer-container{
        grid-template-columns:1fr 1fr;
    }

    /* TESTIMONIALS */
    .testimonial-card{
        padding:35px;
    }

}


/* ====================================
   MOBILE PHONES (576px)
==================================== */

@media (max-width:576px){

    section{
        padding:60px 5%;
    }

    /* HERO */
    .hero-content h1{
        font-size:2.2rem;
        line-height:1.3;
    }

    .hero-content p{
        font-size:.95rem;
    }

    .primary-btn,
    .secondary-btn{
        padding:14px 25px;
    }

    /* STATS */
    .stats{
        grid-template-columns:1fr;
        gap:40px;
    }

    .stat-box h3{
        font-size:2.5rem;
    }

    /* GALLERY */
    .gallery-grid{
        grid-template-columns:1fr;
    }

    /* TESTIMONIAL */
    .testimonial-card{
        padding:25px;
    }

    .testimonial-author{
        flex-direction:column;
        text-align:center;
    }

    /* FOOTER */
    .footer-container{
        grid-template-columns:1fr;
    }

    /* NEWSLETTER */
    .newsletter input{
        width:100%;
    }

    /* SEARCH */
    .search-box{
        width:90%;
    }

    .search-box input{
        padding:20px;
        font-size:1rem;
    }

    /* LIGHTBOX */
    .lightbox-image{
        max-width:95%;
    }

}


/* ====================================
   SMALL PHONES (400px)
==================================== */

@media (max-width:400px){

    .hero-content h1{
        font-size:1.8rem;
    }

    .section-title h2{
        font-size:1.8rem;
    }

    .about-text h2{
        font-size:2rem;
    }

    .team-content{
        padding:20px;
    }

    .project-content{
        padding:20px;
    }

    .blog-content{
        padding:20px;
    }

    .event-card{
        padding:25px;
    }

    .whatsapp-btn{
        width:55px;
        height:55px;
        left:20px;
        bottom:20px;
    }

    #back-to-top{
        width:50px;
        height:50px;
        right:20px;
        bottom:20px;
    }

}


/* ====================================
   EXTRA SMALL DEVICES (320px)
==================================== */

@media (max-width:320px){

    .hero-content h1{
        font-size:1.5rem;
    }

    .hero-content p{
        font-size:.85rem;
    }

    .primary-btn,
    .secondary-btn{
        padding:12px 20px;
        font-size:.9rem;
    }
@media(max-width:768px){

.hero{
    margin-top:80px;
    height:100vh;
}

.hero-content{
    left:8%;
    right:8%;
    max-width:100%;
}

.hero-content h1{
    font-size:3rem;
}

.hero-content p{
    font-size:1rem;
}

.hero-buttons{
    display:flex;
    flex-direction:column;
    gap:15px;
    width:100%;
}

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

}