/* Impact Section Styles */
.impact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.impact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    padding: 50px 20px 30px;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #f59e0b;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 30px 70px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #10b981;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #f59e0b;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 500;
}

.stat-description {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 15px;
}

.impact-chart {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin: 0 30px 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.chart-container {
    height: 300px;
    position: relative;
}

.cta-container {
    text-align: center;
    padding: 0 30px 50px;
}

.cta-button {
    display: inline-block;
    background: #f59e0b;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    background: #fbbf24;
}

.pulse {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #10b981;
    position: absolute;
    top: 20px;
    right: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Animation for numbers */
@keyframes count {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.counting {
    animation: count 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-card:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card:nth-child(3) {
        grid-column: span 1;
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
    
    .stat-value {
        font-size: 3rem;
    }
}