/*=========================================
TABLETS (992px and below)
=========================================*/

@media screen and (max-width:992px){

.container{
width:92%;
}

/* Top Bar */

.topbar .container{
flex-direction:column;
gap:10px;
text-align:center;
}

.topbar .left{
flex-direction:column;
gap:8px;
}

.topbar .right{
justify-content:center;
}

/* Header */

header{
top:95px;
}

nav{
padding:0 20px;
height:80px;
}


/* Logo */

.logo img{
width:150px;
}

/* Hero */

.hero{
padding:160px 0 80px;
}

.hero-wrapper{
flex-direction:column;
gap:50px;
text-align:center;
}

.hero-left,
.hero-right{
width:100%;
}

.hero h1{
font-size:44px;
line-height:54px;
}

.hero p{
margin:0 auto 30px;
}

.hero-buttons{
justify-content:center;
flex-wrap:wrap;
}

.hero-right img{
max-width:500px;
}

/* Impact */

.impact-grid{
grid-template-columns:repeat(2,1fr);
}

/* Why Us */

.why-wrapper{
flex-direction:column;
}

.why-image,
.why-content{
width:100%;
}

/* Programs */

.program-grid{
grid-template-columns:repeat(2,1fr);
}

}


/*=========================================
PHONES (768px and below)
=========================================*/

@media screen and (max-width:768px){

    header{
        top:110px;
        width:100%;
        z-index:1000;
    }

    nav{
        width:100%;
        height:auto;
        min-height:72px;
        padding:8px 12px;

        display:flex;
        align-items:center;
        justify-content:space-between;
        flex-wrap:wrap;
    }

    /* MOBILE MENU / NAVIGATION */

    nav ul,
    nav ul.nav-links{
        display:flex !important;

        width:100%;
        order:3;

        margin:0;
        padding:7px 2px 2px;

        justify-content:space-between;
        align-items:center;

        flex-wrap:nowrap;

        overflow-x:auto;
        overflow-y:hidden;

        list-style:none;

        scrollbar-width:none;
        -ms-overflow-style:none;
    }

    nav ul::-webkit-scrollbar{
        display:none;
    }

    nav ul li{
        display:block;
        flex:0 0 auto;
    }

    nav ul li a{
        display:block;
        padding:5px 7px;

        font-size:12px;
        line-height:1.2;

        white-space:nowrap;
    }

    /* LOGO */

    .logo img{
        width:105px;
    }

    /* DONATE BUTTON */

    nav > .donate-btn{
        padding:9px 14px;
        font-size:12px;
    }


    /* HERO */

    .hero{
        padding:150px 0 70px;
    }

    .hero h1{
        font-size:36px;
        line-height:46px;
    }

    .hero p{
        font-size:17px;
        line-height:30px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .donate-btn{
        padding:12px 24px;
        font-size:15px;
    }

    .impact-grid{
        grid-template-columns:1fr;
    }

    .program-grid{
        grid-template-columns:1fr;
    }

    .why-list{
        grid-template-columns:1fr;
    }

    .section-title h2{
        font-size:34px;
    }

    .why-content h2{
        font-size:34px;
        line-height:44px;
    }

}
/*=========================================
CONTACT PAGE RESPONSIVE
=========================================*/

@media(max-width:992px){

    .contact-wrapper{

        grid-template-columns:1fr;

    }

    .contact-info{

        padding:40px 30px;

    }

}


@media(max-width:768px){

    .contact-hero{

        min-height:500px;

    }

    .contact-hero-content{

        margin-top:100px;

    }

    .contact-hero h1{

        font-size:38px;

    }

    .contact-section{

        padding:80px 0;

    }

    .contact-heading h2{

        font-size:34px;

    }

    .contact-form-box{

        padding:35px 25px;

    }

    .form-row{

        grid-template-columns:1fr;

        gap:0;

    }

    .contact-cta{

        padding:75px 20px;

    }

    .contact-cta h2{

        font-size:34px;

    }

}
