/* =========================
   TABLET
========================= */

@media(max-width:992px){

    .about-container{
        grid-template-columns:1fr;
    }

    .mission-vision{
        grid-template-columns:1fr;
    }

    .program-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .leadership-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .objective-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .impact{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-container{
        grid-template-columns:1fr;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    nav{
        display:none;

        width:100%;
        text-align:center;

        margin-top:15px;
    }

    nav.active{
        display:block;
    }

    nav a{
        display:block;
        margin:15px 0;
    }

    .navbar{
        flex-wrap:wrap;
    }

    .hero-content h1{
        font-size:40px;
    }

    .hero-content p{
        font-size:17px;
    }

    .page-hero h1{
        font-size:40px;
    }

    .section-title h2{
        font-size:30px;
    }

    .program-grid{
        grid-template-columns:1fr;
    }

    .leadership-grid{
        grid-template-columns:1fr;
    }

    .objective-grid{
        grid-template-columns:1fr;
    }

    .impact{
        grid-template-columns:1fr;
    }

    .leader-card img{
        height:280px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

    .hero-content h1{
        font-size:32px;
    }

    .page-hero h1{
        font-size:32px;
    }

    .cta h2,
    .about-cta h2{
        font-size:28px;
    }

    .btn{
        width:100%;
        text-align:center;
    }
}
/* =========================
   GALLERY RESPONSIVE
========================= */

@media(max-width:992px){

    .gallery-grid-full{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .gallery-grid-full{
        grid-template-columns:1fr;
    }

    .gallery-item img{
        height:250px;
    }

}
/* =========================
   BLOG ACTIVITIES RESPONSIVE
========================= */

@media(max-width:992px) {
    .blog-card,
    .blog-card.reverse {
        grid-template-columns: 1fr;
    }

    .blog-card.reverse img,
    .blog-card.reverse .blog-content {
        order: unset;
    }

    .blog-card img {
        min-height: 300px;
        height: 300px;
    }
}

@media(max-width:768px) {
    .blog-content {
        padding: 28px;
    }

    .blog-content h2 {
        font-size: 26px;
    }

    .blog-content p {
        font-size: 16px;
    }
}
/* DONATION MODEL RESPONSIVE */

@media(max-width:992px){

    .donation-page{
        grid-template-columns:1fr;
        gap:40px;
    }

}

@media(max-width:768px){

    .amount-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .bank-row{
        flex-direction:column;
    }

    .bank-row strong{
        text-align:left;
    }

}

@media(max-width:480px){

    .amount-grid{
        grid-template-columns:1fr;
    }

    .donation-form-box h2{
        font-size:28px;
    }

}
/* DONATION BENEFITS RESPONSIVE */

@media(max-width:992px){

    .benefits-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .benefits-grid{
        grid-template-columns:1fr;
    }

}
/* CONTACT RESPONSIVE */

@media(max-width:992px){

    .contact-section{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .contact-info h2,
    .contact-form-box h2{
        font-size:30px;
    }

    .contact-form-box{
        padding:25px;
    }

    .map-box iframe{
        height:320px;
    }

}
/* POLISHED HOME RESPONSIVE */

@media(max-width:992px){

    .home-impact,
    .home-program-grid,
    .home-gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .home-about,
    .latest-grid,
    .footer-main{
        grid-template-columns:1fr;
    }

    .home-hero h1{
        font-size:48px;
    }

}

@media(max-width:768px){

    .home-hero{
        min-height:82vh;
    }

    .home-hero h1{
        font-size:36px;
    }

    .home-hero p{
        font-size:17px;
    }

    .home-impact{
        grid-template-columns:1fr;
        margin:0;
        border-radius:0;
    }

    .impact-box{
        border-right:none;
        border-bottom:1px solid #edf1f5;
    }

    .home-program-grid,
    .home-gallery-grid{
        grid-template-columns:1fr;
    }

    .home-about-img img{
        height:300px;
    }

    .home-about-content h2,
    .home-cta h2{
        font-size:30px;
    }

    .latest-grid{
        grid-template-columns:1fr;
    }

}
@media(max-width:992px){
    .focus-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .focus-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:768px){

    .logo img{
        height:50px;
    }

}
/*log0*/
@media(max-width:768px){

    .logo img{
        height:50px;
    }

    .logo span{
        font-size:24px;
    }

}
@media(max-width:768px){

    .logo-section img{
        height:55px;
    }

    .logo-text h1{
        font-size:26px;
    }

    .logo-text h2{
        font-size:11px;
    }

    .logo-text p{
        display:none;
    }

}
/* ooo */
/* Fix president name overflow on mobile */
@media(max-width:768px){

    .president-section{
        overflow-x:hidden;
    }

    .president-content{
        width:100%;
        max-width:100%;
        overflow-wrap:break-word;
        word-break:break-word;
    }

    .president-content h4{
        font-size:26px;
        line-height:1.25;
        max-width:100%;
    }

}
@media(max-width:768px){

    .president-section{
        display:flex !important;
        flex-direction:column !important;
        gap:30px;
        text-align:center;
        padding:60px 5%;
    }

    .president-image{
        width:100%;
    }

    .president-image img{
        width:100%;
        max-width:320px;
        height:auto;
        margin:auto;
    }

    .president-content{
        width:100%;
        max-width:100%;
    }

    .president-content span{
        display:block;
        font-size:14px;
        letter-spacing:2px;
    }

    .president-content h2{
        font-size:42px;
        line-height:1.2;
        word-break:normal;
    }

    .president-content h4{
        font-size:28px;
        line-height:1.3;
    }

}
/* =========================
   MOBILE HOME FIXES ONLY
========================= */

@media(max-width:768px){

    .home-hero{
        padding-top:170px;
        padding-bottom:30px;
        min-height:auto;
    }

    .home-hero h1{
        font-size:38px;
        line-height:1.15;
    }

    .home-hero p{
        font-size:17px;
        line-height:1.7;
    }

    .hero-actions{
        width:100%;
        display:flex;
        flex-direction:column;
        gap:14px;
    }

    .hero-actions .btn{
        width:100%;
        max-width:320px;
        margin:0 auto;
        padding:15px 18px;
        text-align:center;
    }

    .home-impact{
        margin-top:0;
    }

    .logo-section img{
        height:55px;
    }

    .logo-text h1{
        font-size:24px;
    }

    .logo-text h2{
        font-size:11px;
        margin:2px 0;
    }

    .logo-text p{
        display:none;
    }
}
@media(max-width:768px){

    .hero-buttons,
    .hero-btns,
    .hero-actions{
        display:flex !important;
        flex-direction:column !important;
        gap:20px !important;
    }

    .hero-buttons a,
    .hero-btns a,
    .hero-actions a,
    .hero-buttons .btn,
    .hero-btns .btn,
    .hero-actions .btn{
        margin-bottom:0 !important;
    }

}
/* =========================
   MOBILE HOMEPAGE POLISH
========================= */

@media(max-width:768px){

    /* Hero Buttons */
    .hero-buttons,
    .hero-actions{
        display:flex;
        flex-direction:column;
        gap:20px;
    }

    .hero-buttons .btn,
    .hero-actions .btn{
        margin:0;
    }

    /* Hero Section */
    .hero,
    .home-hero{
        min-height:auto;
        padding-bottom:40px;
    }

    /* Impact Stats */
    .impact-grid{
        gap:15px;
    }

    .impact-card{
        padding:30px 20px;
    }

    .impact-card h3{
        font-size:48px;
    }

    /* Footer Logo */
    .footer-logo{
        height:90px;
        width:auto;
    }

}
@media(max-width:992px){

    .initiative-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .initiative-grid{
        grid-template-columns:1fr;
    }

}
@media(max-width:768px){

    .home-impact{
        grid-template-columns:repeat(2,1fr);
    }

}
/* PROGRAMMES V2 RESPONSIVE */

@media(max-width:992px){

    .program-detail-card,
    .program-detail-card.reverse{
        grid-template-columns:1fr;
    }

    .program-detail-card.reverse .program-detail-image,
    .program-detail-card.reverse .program-detail-content{
        order:unset;
    }

    .summary-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .program-detail-image img{
        min-height:320px;
        height:320px;
    }
}

@media(max-width:768px){

    .program-detail-content{
        padding:28px;
    }

    .program-detail-content h2{
        font-size:26px;
    }

    .summary-grid{
        grid-template-columns:1fr;
    }

    .program-detail-image img{
        min-height:260px;
        height:260px;
    }
}
/* INITIATIVES RESPONSIVE */

@media(max-width:992px){

    .initiative-detail-card,
    .initiative-detail-card.reverse{
        grid-template-columns:1fr;
    }

    .initiative-detail-card.reverse .initiative-detail-image,
    .initiative-detail-card.reverse .initiative-detail-content{
        order:unset;
    }

    .initiative-detail-image img{
        min-height:320px;
        height:320px;
    }
}

@media(max-width:768px){

    .initiative-detail-content{
        padding:28px;
    }

    .initiative-detail-content h2{
        font-size:26px;
    }

    .initiative-stats{
        grid-template-columns:1fr;
    }

    .initiative-detail-image img{
        min-height:260px;
        height:260px;
    }
}
/* ANNUAL PLAN RESPONSIVE */

@media(max-width:992px){

    .vision-mission-plan,
    .objectives-list,
    .target-grid,
    .monitoring-grid{
        grid-template-columns:1fr;
    }

    .reach-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .theme-card{
        padding:30px;
    }

    .theme-card h2{
        font-size:28px;
    }

    .reach-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:992px){

    .impact-dashboard-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .impact-dashboard-grid{
        grid-template-columns:1fr;
    }

}
/* VOLUNTEER PAGE */

@media(max-width:992px){

    .volunteer-opportunities{
        grid-template-columns:repeat(2,1fr);
    }

    .benefits-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .volunteer-opportunities,
    .benefits-grid{
        grid-template-columns:1fr;
    }

}
/* RESOURCES BOX RESPONSIVE */

@media(max-width:992px){

    .annual-layout{
        grid-template-columns:1fr;
    }

    .resources-box{
        position:static;
    }

}

@media(max-width:768px){

    .annual-layout{
        padding:50px 5%;
    }

    .annual-main-content,
    .resources-box{
        padding:24px;
    }

}
/* MOBILE DROPDOWN */

@media(max-width:768px){

    .dropdown{
        display:block;
        width:100%;
        text-align:center;
    }

    .dropdown-menu{
        position:static;
        display:none;
        box-shadow:none;
        background:#f7f9fc;
        border-radius:10px;
        margin-top:8px;
        padding:8px 0;
    }

    .dropdown:hover .dropdown-menu{
        display:block;
    }

    .dropdown-menu a{
        padding:10px;
    }
}