/* =========================================================================
   STATS SECTION – OFFICIAL UNIVERSITY STYLE
   ========================================================================= */

/* ---------- Theme ---------- */


/* ---------- Section ---------- */
.stats-section{
    padding: 90px 0;
    background: #ffffff;
}

.stats-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 32px;
    align-items: stretch;
}

/* ---------- Card ---------- */
.stat-card{
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 22px;
    padding: 36px 28px 34px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.stat-card::before{
    content:"";
    position:absolute;
    top:0;
    left:20%;
    right:20%;
    height:3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--brand),
        transparent
    );
    opacity:.9;
}

.stat-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,.14);
}

/* ---------- Icon ---------- */
.stat-icon{
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(176,138,46,.35);
    display:flex;
    align-items:center;
    justify-content:center;
    color: var(--text);
    transition: border-color .25s ease;
}

.stat-card:hover .stat-icon{
    border-color: var(--brand);
}

.stat-icon svg{
    width: 30px;
    height: 30px;
    stroke: currentColor;
}

/* ---------- Label ---------- */
.stat-label{
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 12px;
}

/* ---------- Value ---------- */
.stat-value{
    font-size: 42px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stat-value::after{
    content:"";
    display:block;
    width: 26px;
    height: 2px;
    background: var(--brand);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px){
    .stats-section{
        padding: 70px 0;
    }

    .stat-card{
        padding: 30px 22px;
    }

    .stat-value{
        font-size: 36px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce){
    .stat-card{
        transition:none;
    }
}