/* ============================================
   By The Numbers (dark stats band)
   Ported from engagednation.com "stats-section"
   ============================================ */

.m-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-section {
    --stats-mid-blue: #4D59DA;
    --stats-cyan: #38C9F7;
    --stats-gradient: linear-gradient(135deg, #4D59DA 0%, #38C9F7 100%);
    --stats-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    padding: 50px 0;
    background: linear-gradient(160deg, #051441 0%, #0a1a3a 50%, #07122D 100%);
    position: relative;
    overflow: hidden;
}

.stats-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(77, 89, 218, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(56, 201, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.stats-section__header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.stats-section .section-label {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: var(--stats-cyan);
}

.stats-section__header h2 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.stats-section__header p {
    font-family: 'DM Sans', sans-serif;
    color: rgba(255, 255, 255, 0.6);
    font-size: 17px;
    max-width: 600px;
    margin: 16px auto 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s var(--stats-ease-out-expo), border-color 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 201, 247, 0.3);
}

.stat-card__number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    background: var(--stats-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline;
}

.stat-card__unit {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    background: var(--stats-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-card__label {
    font-family: 'DM Sans', sans-serif;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.5;
    margin-top: 16px;
}

/* Scroll reveal — shared utility for ported sections, independent of the theme's WOW.js system */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stat-card {
        padding: 28px 20px;
    }
}
