/* ============================================
   STATS CSS - Knowledge Wave India
   ============================================ */

.stats-section {
    padding: 50px 0;
    background: #0A210F;
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ── Each stat ── */
.stat-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 30px 40px;
    position: relative;
}

/* Vertical divider */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(153, 170, 56, 0.45),
        transparent
    );
}

/* ── Number row — FIX: center align so K+ stays level ── */
.stat-value {
    display: flex;
    align-items: center;        /* was baseline — that caused suffix to drop */
    justify-content: center;
    gap: 0;
    margin-bottom: 8px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin: 0;
}

/* FIX: match number size exactly so K+ looks the same weight/height */
.stat-suffix {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

/* ── Label ── */
.stat-label {
    color: rgba(246, 248, 255, 0.65);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .stats-section { padding: 40px 0; }
    .stat-item { padding: 24px 28px; }
    .stat-number,
    .stat-suffix { font-size: 42px; }
}

@media (max-width: 767.98px) {
    .stat-item { padding: 20px 18px; }
    .stat-number,
    .stat-suffix { font-size: 34px; }
    .stat-label { font-size: 11px; }
}

@media (max-width: 575.98px) {
    .stats-inner {
        flex-direction: column;
        gap: 0;
    }

    .stat-item {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px;
    }

    .stat-item:not(:last-child)::after {
        top: auto;
        bottom: 0;
        right: 15%;
        left: 15%;
        width: auto;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent,
            rgba(153, 170, 56, 0.35),
            transparent
        );
    }
}