/* ===== Academic Success Section ===== */

/* ===== Section Head ===== */
.academicSuccessSection .sectionHeadwrap {
    text-align: center;
}

/* ===================================================
   Stats Card Wrapper
   =================================================== */
.academic-stat-card {
      margin: auto;
    margin-top: var(--section-wraper-py);
    background: #fff;
    border: 1px solid #E4F2FF;
    border-radius: 30px;
box-shadow: 0px 0px 19.5px 0px #DDE6FF;
 
        max-width: 865px;
  
}

/* ===== Stats Grid ===== */
.academicSuccessSection .secWrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
}

/* ===== Stat Item ===== */
.academic-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 40px 20px 40px 50px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #E4F2FF;
    border-bottom: 1px solid #E4F2FF;
    transition: background 0.35s ease;
}

/* Top bar — expands left to right on hover */
.academic-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary, #3A66D4);
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.academic-stat-item:hover {
    background: #F8FBFF;
}

.academic-stat-item:hover::before {
    width: 100%;
}

.academic-stat-item:hover::before {
    width: 100%;
}

.academic-stat-item:hover::after {
    height: 100%;
}

/* Remove right border on last column */
.academic-stat-item:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border on last row (last 3 items) */
.academic-stat-item:nth-last-child(-n+3) {
    border-bottom: none;
}

/* ===== Stat Number Wrap ===== */
.academic-stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.academic-stat-item:hover .academic-stat-number-wrap {
    transform: translateY(-3px);
}

/* Base number */
.asn-base {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 42px;
    line-height: 1;
    color: var(--color-heading, #1a2332);
}

/* Suffix (+, %, /5, Yrs) */
.asn-suffix {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    color: var(--color-primary, #3A66D4);
}

/* ===== Stat Label ===== */
.academic-stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

/* Blue dash before label */
.asl-dash {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--color-primary, #3A66D4);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ===== Micro Copy ===== */
 
.academicSuccessSection .microCopy {
   text-align: center;
    margin-top: 28px;
    border-top: none;
}
.academicSuccessSection .microCopy .text p {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--color-text-seconadary);
    max-width: 802px;
    margin: 0 auto;
}

/* ===== Responsive ===== */

/* Tablet landscape */
@media (max-width: 991px) {
    .academic-stat-card {
        max-width: 100%;
    }

    .academic-stat-item {
        padding: 32px 24px 32px 36px;
    }

    .asn-base {
        font-size: 34px;
    }

    .asn-suffix {
        font-size: 22px;
    }
}

/* Tablet portrait — keep 3 cols, tighten padding */
@media (max-width: 768px) {
    .academic-stat-item {
        padding: 26px 18px 26px 28px;
    }

    .asn-base {
        font-size: 28px;
    }

    .asn-suffix {
        font-size: 18px;
    }

    .academic-stat-label {
        font-size: 11px;
        gap: 6px;
    }

    .asl-dash {
        width: 18px;
    }
}

/* Mobile — switch to 2 columns */
@media (max-width: 575px) {
    .academic-stat-card {
        border-radius: 18px;
    }

    .academicSuccessSection .secWrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset 3-col border rules */
    .academic-stat-item:nth-child(3n) {
        border-right: 1px solid #E4F2FF;
    }

    .academic-stat-item:nth-last-child(-n+3) {
        border-bottom: 1px solid #E4F2FF;
    }

    /* 2-col: remove right border on even items */
    .academic-stat-item:nth-child(2n) {
        border-right: none;
    }

    /* 2-col: remove bottom border on last 2 items */
    .academic-stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .academic-stat-item {
        padding: 22px 16px 22px 22px;
    }

    .asn-base {
        font-size: 24px;
    }

    .asn-suffix {
        font-size: 16px;
    }

    .academic-stat-label {
        font-size: 10px;
        gap: 5px;
    }

    .asl-dash {
        width: 14px;
    }
}

 
 
