
.impact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
/* .impact-hero::before removed for compact banner look */

.stats-section {
    background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
    padding: 30px 0;
}
.stat-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}
.stat-card:hover {
    transform: translateY(-10px);
}
.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
}

.impact-grid {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.impact-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 35px -28px rgba(102, 126, 234, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px -24px rgba(102, 126, 234, 0.6);
}
.impact-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 1 !important; /* Force visibility */
}
.impact-card-content {
    padding: 25px;
}
.impact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a202c;
}
.impact-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
}
.impact-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.timeline {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 24px;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
}
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
    text-align: right;
}
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #667eea;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    /* Stats grid - 2 columns on mobile */
    .stats-section div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .stat-card {
        padding: 15px 12px !important;
        margin-bottom: 12px !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
    
    /* Impact cards - 2 per row */
    .impact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
    }
    
    /* BETTER: 2-card horizontal carousel like regions page */
    .impact-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        padding: 0 12px 20px 12px !important;
        scrollbar-width: none !important;
    }
    
    .impact-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    /* Each impact card: 48% width, 2 visible at once */
    .impact-card {
        flex: 0 0 calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        scroll-snap-align: start !important;
    }
    
    .impact-card-image {
        height: 120px !important;
    }
    
    .impact-card-content {
        padding: 12px !important;
    }
    
    .impact-card h3 {
        font-size: 1rem !important;
    }
    
    .impact-card p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    .impact-badge {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }
    
    /* Timeline mobile adjustments */
    .timeline {
        padding: 0 12px !important;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        padding-left: 15px;
        text-align: left;
    }
    .timeline-dot {
        left: 20px;
    }
    .timeline-content {
        padding: 15px !important;
        font-size: 0.9rem;
    }
    .timeline-content h4 {
        font-size: 1rem !important;
    }
    .timeline-content p {
        font-size: 0.85rem !important;
    }
}
