/* ==================================================
   IMPACT HERO
================================================== */

.impact-hero{
    position:relative;
    min-height:500px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:linear-gradient( rgba(11,102,35,.65), rgba(11,102,35,.65) ), url("../images/impact-hero.jpg");

    background-size:cover;
    background-position:center;
    color:white;
}

.impact-hero-content{
    max-width:900px;
    padding:20px;
}

.impact-hero h1{
    font-size:4rem;
    margin-bottom:20px;
}

.impact-hero p{
    font-size:1.3rem;
    line-height:1.8;
}

.section-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:rgba(255,255,255,.15);
    margin-bottom:20px;
    font-weight:600;
	font-size:20px;
}

/* ============================
   IMPACT STATISTICS
============================ */
.impact-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
  /*  padding: 40px 20px;  */
    flex-wrap: wrap;
    max-width: 1400px;
    margin: auto;
	padding:20px 8%;
}

.impact-stats .stat-card {
    position: relative;
    width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.impact-stats .stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.impact-stats .stat-card:nth-child(3) {
    animation-delay: 0.4s;
}

.impact-stats .stat-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.impact-stats .stat-card:active {
    transform: scale(0.97);
}

/* ============================
   OVERLAY
============================ */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px 8%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.overlay h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 5px;
}

.overlay p {
    background: #0b6623;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
}

/* ============================
   IMPACT TEXT
============================ */
.impact-text {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 5%;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

/* ============================
   TESTIMONIALS
============================ */
.testimonials {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 8%;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.testimonial {
    width: 280px;
    text-align: center;
    background: white;
    padding: 30px 5%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

.testimonial .author {
    font-weight: bold;
    color: #0b6623;
    margin-top: 10px;
}

/* ============================
   RESPONSIVE - IMPACT
============================ */
@media (max-width: 900px) {
    .impact-hero h1 {
        font-size: 36px;
    }

    .impact-stats .stat-card {
        width: 100%;
        max-width: 350px;
    }

    .testimonials {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 100%;
        max-width: 400px;
    }
}
/* =================================
   IMPACT STORY
================================= */

.impact-story{
    padding: 60px 5%;
    background: #ffffff;
	min-height:auto;
}

.impact-story-content{
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.impact-story .section-badge{
    display: inline-block;
    padding: 20px 5%;
    background: #e8f5e9;
    color: #0b6623;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.impact-story h2{
    font-size: 3rem;
    color: #0b6623;
    margin-bottom: 30px;
}

.impact-story p{
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* ===================================================
   IMPACT AREAS
=================================================== */

.impact-areas{
    padding:80px 20px;
    background:#f8f9fa;
}

.impact-grid{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.impact-card{
    background:white;
    padding:35px %5;
    border-radius:18px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,0.08);

    transition:0.3s ease;
}

.impact-card:hover{
    transform:translateY(-8px);
}

.impact-icon{
    font-size:50px;
    margin-bottom:20px;
}

.impact-card h3{
    color:#0b6623;
    margin-bottom:15px;
    font-size:24px;
}

.impact-card p{
    color:#555;
    line-height:1.8;
}
/* ==========================
   SECTION HEADER
========================== */

.section-header{
    text-align:center;
    max-width:900px;
    margin:0 auto 60px;
}

.section-badge{
    display:inline-block;
    background:#e8f5e9;
    color:#0b6623;
    padding:10px 24px;
    border-radius:30px;
    font-size:16px;
    font-weight:600;
    margin-bottom:20px;
}

.section-header h2{
    font-size:52px;
    color:#0b6623;
    margin-bottom:20px;
    font-weight:700;
    line-height:1.2;
}

.section-header p{
    font-size:20px;
    color:#666;
    line-height:1.8;
    max-width:700px;
    margin:0 auto;
}

/* ===================================
   SUCCESS STORIES
=================================== */

.success-stories{
    padding:100px 20px;
    background:#ffffff;
}

.stories-grid{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.story-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.3s ease;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.story-card:hover{
    transform:translateY(-8px);
	
}

.story-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.story-content{
    padding:30px;
}

.story-content h3{
    color:#0b6623;
    margin-bottom:15px;
    font-size:24px;
}

.story-content p{
    color:#555;
    line-height:1.8;
}

/* ===================================
   IMPACT GALLERY
=================================== */

.impact-gallery{
    padding:100px 20px;
    background:#f8f9fa;
}

.gallery-grid{
    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:20px;
    transition:0.4s ease;
    cursor:pointer;

}

.gallery-grid img:hover{
    transform: scale(1.05);
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:20px;
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
}

.gallery-caption{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding:15px;
    background:rgba(11,102,35,0.85);
    color:white;
    font-size:15px;
    line-height:1.5;
    transition:0.3s;
}

.gallery-item:hover .gallery-caption{
    background:rgba(11,102,35,0.95);
}

/* ===================================
   IMPACT CTA
=================================== */

.impact-cta{
    padding:120px 20px;
    text-align:center;

    background:
    linear-gradient(
        rgba(11,102,35,0.85),
        rgba(11,102,35,0.85)
    ),
    url("../images/impact06.jpg");

    background-size:cover;
    background-position:center;

    color:white;
}

.impact-cta-content{
    max-width:900px;
    margin:auto;
}

.impact-cta h2{
    font-size:3rem;
    margin:20px 0;
    color:white;
}

.impact-cta p{
    font-size:20px;
    line-height:1.8;
    margin-bottom:40px;
}

.impact-cta .section-badge{
    background:rgba(255,255,255,0.15);
    color:white;
}

.impact-cta .cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.impact-cta .btn{
    min-width:220px;
}

.impact-cta .secondary{
    border:2px solid white;
    background:transparent;
}

.impact-cta .secondary:hover{
    background:white;
    color:#0b6623;
}

/* ===================================
   TESTIMONIALS
=================================== */

.testimonials{
    padding:100px 20px;
    background:#ffffff;
}

.testimonial-grid{
    max-width:1100px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.testimonial-card{
    background:#f8f9fa;
    padding:35px;
    border-radius:20px;
    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.testimonial-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
}

.testimonial-card p{
    font-style:italic;
    color:#555;
    line-height:1.8;
    margin-bottom:20px;
}

.testimonial-card h4{
    color:#0b6623;
    font-weight:600;
}
/* ===========================
   PARTNERS
=========================== */

.partners{
    padding:100px 20px;
    background:#ffffff;
}

.partner-logos{
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.partner-card{
    background:#f8f9fa;

    padding:40px 20px;

    border-radius:16px;

    text-align:center;

    font-weight:600;

    color:#0b6623;

    box-shadow:0 6px 20px rgba(0,0,0,0.08);

    transition:0.3s;
}

.partner-card:hover{
    transform:translateY(-5px);
}

/* CONSISTENT SECTION SPACING */

.impact-story,
.impact-areas,
.success-stories,
.impact-gallery,
.testimonials-section,
.partners,
.impact-cta {
    padding: 100px 20px;
}

.section-header {
    max-width: 900px;
    margin: 0 auto 70px;
}

.stat-card{
    transition: all 0.4s ease;
}

.stat-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ==========================
   MOBILE RESPONSIVE
========================== */

@media (max-width: 768px){

    .impact-hero h1{
        font-size: 2.4rem;
    }

    .impact-hero p{
        font-size: 1rem;
    }

    .stats-grid{
        grid-template-columns: 1fr;
    }

    .areas-grid{
        grid-template-columns: 1fr;
    }

    .stories-grid{
        grid-template-columns: 1fr;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
    }

    .testimonial-grid{
        grid-template-columns: 1fr;
    }

    .partner-logos{
        grid-template-columns: 1fr;
    }

    .impact-cta h2{
        font-size: 2rem;
    }

}

img{
    max-width:100%;
    display:block;
}

