/* Impact Hero Section */
.impact-hero {
    background: linear-gradient(rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.8)), url('../images/impact_programs/banner\ Image.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.impact-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.impact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.impact-hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .impact-hero {
        padding: 100px 0 80px;
    }
    
    .impact-hero h1 {
        font-size: 2.5rem;
    }
    
    .impact-hero p {
        font-size: 1.1rem;
    }
}

/* Impact Stats Section */
.impact-stats {
    padding: 80px 0;
    background-color: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.stat-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .impact-stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Impact Timeline Section */
.impact-timeline {
    padding: 0px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: var(--radius-full);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    padding: 10px 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    position: absolute;
    top: 20px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -80px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -80px;
}

.timeline-content {
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    top: 30px;
    transform: rotate(45deg);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.timeline-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.timeline-stats .stat i {
    font-size: 1rem;
}

.timeline-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .impact-timeline {
        padding: 60px 0;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: 20px;
        right: auto;
        top: -10px;
    }
}

/* Geographic Impact Section */
.geographic-impact {
    /* padding: 80px 0; */
    background-color: var(--light);
}

.map-container {
    position: relative;
    margin: 50px auto 0;
    max-width: 1000px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.world-map {
    width: 100%;
    display: block;
}

.map-marker {
    position: absolute;
    cursor: pointer;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background-color: var(--accent);
    border: 3px solid var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.map-marker:hover .marker-dot {
    transform: scale(1.3);
}

.marker-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 3;
}

.map-marker:hover .marker-info {
    opacity: 1;
    visibility: visible;
    bottom: 25px;
}

.marker-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.marker-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.marker-stats {
    display: flex;
    gap: 10px;
}

.marker-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.marker-stats .stat i {
    font-size: 0.9rem;
}

.countries-list {
    margin-top: 40px;
    text-align: center;
}

.countries-list h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.country-tag {
    background: var(--white);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .geographic-impact {
        /* padding: 60px 0; */
    }
}

/* Impact Stories Section */
.impact-stories {
    padding: 40px 0;
}

/* .stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
} */

.story-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.story-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.story-content {
    padding: 25px;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.story-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-stats {
    display: flex;
    gap: 20px;
}

.story-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.story-stats .stat i {
    font-size: 1rem;
}

.stories-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .impact-stories {
        /* padding: 60px 0; */
    }
}

/* Impact Reports Section */
/* .impact-reports {
    padding: 80px 0;
    background-color: var(--light);
} */

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.report-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.report-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.report-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.report-card:hover .report-cover img {
    transform: scale(1.05);
}

.report-year {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.report-details {
    padding: 25px;
}

.report-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.report-details p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.report-actions {
    display: flex;
    gap: 15px;
}

.reports-archive {
    text-align: center;
    margin-top: 50px;
}

/* @media (max-width: 768px) {
    .impact-reports {
        padding: 60px 0;
    } */

/* } */

/* Impact CTA Section */
.impact-cta {
    padding: 100px 0;
    background: linear-gradient(rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.8)), url('../images/impact_programs/banner\ image\ CTA.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.impact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.impact-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    /* max-width: 600px; */
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .impact-cta {
        padding: 80px 0;
    }
    
    .impact-cta h2 {
        font-size: 2rem;
    }
    
    .impact-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}