/*==================================
COMMUNITY OUTREACH PAGE
==================================*/

/*=========================
GENERAL
==========================*/

body{
    margin:0;
    padding:0;
    font-family:'Inter',sans-serif;
    background:#fff;
    color:#555;
    line-height:1.8;
}

section{
    padding:90px 0;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.section-tag{

    display:inline-block;
    color:#2E8B57;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title h2{

    font-size:46px;
    color:#17324D;
    margin-bottom:18px;

}

.section-title p{

    max-width:700px;
    margin:auto;
    color:#666;

}

/*=========================
BUTTONS
==========================*/

.primary-btn{

    display:inline-block;
    background:#2E8B57;
    color:#fff;
    padding:15px 36px;
    border-radius:50px;
    transition:.35s;
    font-weight:600;

}

.primary-btn:hover{

    background:#246B44;
    transform:translateY(-3px);

}

.secondary-btn{

    display:inline-block;
    border:2px solid #2E8B57;
    color:#2E8B57;
    padding:15px 36px;
    border-radius:50px;
    transition:.35s;
    font-weight:600;

}

.secondary-btn:hover{

    background:#2E8B57;
    color:#fff;

}

/*=========================
HERO
==========================*/

.hero{

    background:linear-gradient(135deg,#EEF9F2,#FFFFFF);
    padding:70px 0;
        display: block;

}

.hero-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;

}




.hero-content h1{

    font-size:64px;
    color:#17324D;
    margin-bottom:25px;
    line-height:1.1;

}

.hero-tag{

    display:inline-block;
    background:#DFF5E8;
    color:#2E8B57;
    padding:10px 22px;
    border-radius:30px;
    margin-bottom:20px;
    font-weight:600;

}

.hero-content p{

    font-size:18px;
    color:#666;
    margin-bottom:35px;

}

.hero-buttons{

    display:flex;
    gap:18px;

}

.hero-image img{

    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

/*=========================
ABOUT
==========================*/

.about{

    background:#fff;

}

.about-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;

}

.about-image img{

    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.about-content h2{

    font-size:42px;
    color:#17324D;
    margin-bottom:20px;

}

.about-content p{

    color:#666;
    margin-bottom:20px;

}

.about-features{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin:35px 0;

}

.feature{

    display:flex;
    align-items:center;
    gap:12px;
    font-weight:600;

}

.feature i{

    color:#2E8B57;
    font-size:22px;

}
/*=========================
OUR ACTIVITIES
==========================*/

.services{

    background:#F5FBF7;

}

.services-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;

}

.service-card{

    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s;

}

.service-card:hover{

    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.service-card img{

    width:100%;
    height:260px;
    object-fit:cover;
    transition:.4s;

}

.service-card:hover img{

    transform:scale(1.08);

}

.service-content{

    padding:30px;

}

.service-content h3{

    color:#17324D;
    font-size:26px;
    margin-bottom:15px;

}

.service-content p{

    color:#666;
    line-height:1.8;

}

/*=========================
WHY COMMUNITY OUTREACH
==========================*/

.why-program{

    background:#ffffff;

}

.why-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;

}

.why-image img{

    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.why-content h2{

    font-size:42px;
    color:#17324D;
    margin-bottom:20px;

}

.why-content p{

    color:#666;
    line-height:1.8;
    margin-bottom:25px;

}

.why-list{

    display:flex;
    flex-direction:column;
    gap:25px;

}

.why-item{

    display:flex;
    align-items:flex-start;
    gap:18px;

}

.why-item i{

    width:55px;
    height:55px;
    background:#DFF5E8;
    color:#2E8B57;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    flex-shrink:0;

}

.why-item h4{

    color:#17324D;
    margin-bottom:8px;
    font-size:22px;

}

.why-item p{

    margin:0;
    color:#666;

}/*=========================
COMMUNITY IMPACT
==========================*/

.impact{

    background:linear-gradient(135deg,#2E8B57,#45A56A);
    color:#fff;

}

.impact .section-tag,
.impact .section-title h2,
.impact .section-title p{

    color:#fff;

}

.impact-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;

}

.impact-card{

    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:40px 25px;
    text-align:center;
    transition:.35s;

}

.impact-card:hover{

    background:#fff;
    transform:translateY(-10px);

}

.impact-card h2{

    font-size:52px;
    margin-bottom:15px;
    color:#fff;
    transition:.35s;

}

.impact-card h4{

    font-size:22px;
    margin-bottom:12px;
    color:#fff;
    transition:.35s;

}

.impact-card p{

    color:#F3F3F3;
    line-height:1.8;
    transition:.35s;

}

.impact-card:hover h2,
.impact-card:hover h4,
.impact-card:hover p{

    color:#2E8B57;

}

/*=========================
GALLERY
==========================*/

.gallery{

    background:#ffffff;

}

.gallery-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;

}

.gallery-grid img{

    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:20px;
    transition:.4s;
    cursor:pointer;

}

.gallery-grid img:hover{

    transform:scale(1.05);
    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

/*=========================
CALL TO ACTION
==========================*/

.cta{

    padding:120px 0;
    text-align:center;
    color:#fff;

    background:
    linear-gradient(rgba(46,139,87,.85),
    rgba(46,139,87,.85)),
    url("../images/community/cta.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

}

.cta h2{

    font-size:48px;
    margin-bottom:20px;
    color:#fff;

}

.cta p{

    max-width:700px;
    margin:0 auto 35px;
    color:#fff;
    font-size:18px;
    line-height:1.8;

}

.cta .primary-btn{

    background:#fff;
    color:#2E8B57;

}

.cta .primary-btn:hover{

    background:#EAF8F0;

}

/*=========================
FOOTER
==========================*/

.footer{

    background:#17324D;
    color:#fff;
    text-align:center;
    padding:30px 0;

}

.footer p{

    margin:0;

}

/*=========================
RESPONSIVE
==========================*/

@media(max-width:992px){

.hero-container,
.about-container,
.why-container{

    grid-template-columns:1fr;

}

.hero-content{

    text-align:center;

}

.hero-buttons{

    justify-content:center;

}

.hero-image img,
.about-image img,
.why-image img{

    height:400px;

}

.services-grid{

    grid-template-columns:1fr;

}

.impact-grid{

    grid-template-columns:repeat(2,1fr);

}

.gallery-grid{

    grid-template-columns:repeat(2,1fr);

}

.hero-content h1{

    font-size:50px;

}

.section-title h2{

    font-size:38px;

}

}

@media(max-width:768px){

section{

    padding:70px 0;

}

.hero-buttons{

    flex-direction:column;
    align-items:center;

}

.hero-content h1{

    font-size:40px;

}

.about-features{

    grid-template-columns:1fr;

}

.impact-grid,
.gallery-grid{

    grid-template-columns:1fr;

}

.hero-image img,
.about-image img,
.why-image img{

    height:280px;

}

.service-card img{

    height:220px;

}

.cta h2{

    font-size:34px;

}

.cta p{

    font-size:16px;

}

}