/* ===============================================
   Impact Statistics Section - Redesign 2026
   =============================================== */

.stats-section {
    background-color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background decoration (optional subtle pattern) */
.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-image: radial-gradient(#e91e63 0.5px, transparent 0.5px), radial-gradient(#6a1b9a 0.5px, #ffffff 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    z-index: 0;
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.stats-section-title h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.stats-section-title p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Card Design */
.stat-item {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(233, 30, 99, 0.1);
}

/* Gradient Top Line on Hover */
.stat-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6a1b9a, #e91e63, #0d47a1, #1b5e20);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.stat-item:hover::after {
    transform: scaleX(1);
}

/* Icons - Gold Style to match Mission/Vision */
.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: inline-block;
    background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(255, 143, 0, 0.3));
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(255, 143, 0, 0.5));
}

/* Numbers - Multi-color Gradient */
.stat-number {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1.1;
    background: linear-gradient(90deg, #6a1b9a, #e91e63, #0d47a1, #1b5e20);
    background-size: 300% auto;
    animation: gradientTextAnimation 6s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradientTextAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #444;
    letter-spacing: 0.5px;
}

.stat-period {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-section-title h2 {
        font-size: 32px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }
}