/* Impact Statistics Section */

.impact {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

/* Glassmorphism Container - Similar to info_wrapper in footer */
.impact__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    border-radius: 20px;
    
    /* Ultra-transparent Glassmorphism Effect - matches footer transparency */
    background: rgba(26, 26, 46, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 
        0 0 60px rgb(59, 57, 125),
        0 8px 32px 0 rgba(110, 194, 248, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(110, 194, 248, 0.1);
}

.impact__title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6EC2F8 0%, #A2A3C4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact__description {
    font-family: 'Saira', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.impact__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.impact__stat-item {
    /* Ultra-transparent Glassmorphism for stat cards */
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(110, 194, 248, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    /* Minimal shadow */
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* Top gradient line on hover */
.impact__stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6EC2F8 0%, #A2A3C4 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.impact__stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(110, 194, 248, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(110, 194, 248, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.impact__stat-item:hover::before {
    transform: scaleX(1);
}

.impact__stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(110, 194, 248, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.impact__stat-icon img {
    width: 10rem;
    height: 10rem;
    filter: invert(1) drop-shadow(0 0 10px rgba(110, 194, 248, 0.3));
}

.impact__stat-value {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #6EC2F8;
    margin-bottom: 10px;
    line-height: 1.2;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact__stat-value .loading {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    animation: pulse 1.5s ease-in-out infinite;
}

.impact__stat-value .error {
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.impact__stat-label {
    font-family: 'Saira', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.impact__cta {
    text-align: center;
}

.impact__button {
    display: inline-block;
    padding: 16px 40px;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    background: linear-gradient(135deg, #6EC2F8 0%, #A2A3C4 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(110, 194, 248, 0.3);
    position: relative;
    overflow: hidden;
}

.impact__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.impact__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(110, 194, 248, 0.5);
}

.impact__button:hover::before {
    left: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .impact {
        padding: 60px 15px;
    }

    .impact__container {
        padding: 40px 25px;
    }

    .impact__stats {
        gap: 30px;
    }

    .impact__stat-item {
        padding: 30px 20px;
    }

    .impact__stat-icon {
        font-size: 2.5rem;
        min-height: 120px;
    }

    .impact__stat-icon img {
        width: 8rem;
        height: 8rem;
    }

    .impact__description {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .impact {
        padding: 40px 15px;
    }

    .impact__container {
        padding: 30px 20px;
    }

    .impact__stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .impact__stat-value {
        min-height: 60px;
    }
}
