/* ===== Academic Success Section ===== */
section.academicSuccessSection.blue-background,
section.academicSuccessSection.white-background {
    padding: var(--section-bg-py) 0;
    background: transparent;
}

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

.academicSuccessSection h2 {
    color: var(--color-heading);
}

.academicSuccessSection .secHeadDesc p {
    color: var(--color-text);
    margin: 0 auto;
}

/* ===== Stats Row — Purple Card ===== */
.academicSuccessSection .secWrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    background: var(--color-primary);
    border-radius: 31px;
    margin: var(--section-wraper-py) 0 0;
    padding: 0 40px;
    position: relative;
        z-index: 1;
        overflow: hidden;
}

.academicSuccessSection .secWrapper::before {
   content: '';
    position: absolute;
    inset: 0;
    top: -52px;
    right: -39px;
    background: #6254D0;
    border-radius: 100%;
    z-index: -1;
    height: 168px;
    width: 168px;
    margin-left: auto;
}
.academicSuccessSection  .microCopy .text {
    padding-top: 0px;
}
/* ===== Stat Item ===== */
.academic-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
      padding: 29px 20px;
    position: relative;
    flex: 1;
}

/* Vertical divider between items */
.academic-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, #685ADB 0%, #BAB4EB 48.56%, #685ADB 100%);
}

/* ===== Stat Number ===== */
.academic-stat-number {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 35px;
    line-height: 100%;
    color: var(--color-white);
    margin-bottom: 21px;
    transition: transform 0.3s ease;
}

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

/* ===== Stat Label ===== */
.academic-stat-label {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    font-size: 14px;
    line-height: 100%;
    text-transform: capitalize;
    color: #fff;
    padding-top: 3px;
}

/* ===== Micro Copy ===== */
.academicSuccessSection .microCopy {
    text-align: center;
    border-top: none;
    margin-top: 30px;
}

.academicSuccessSection .microCopy .text p {
    font-family: var(--font-primary);
    font-size: var(--fs-base-15);
    font-weight: var(--fw-regular);
    line-height: var(--lh-relaxed);
    color: var(--color-text);
    max-width: 802px;
    margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .academic-stat-number {
        font-size: 32px;
    }

    .academicSuccessSection .secWrapper {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .academicSuccessSection .secWrapper {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 0 10px;
    }

    .academic-stat-item {
        flex: 0 0 33.333%;
        padding: 28px 10px;
    }

    /* Remove right divider on last of each row */
    .academic-stat-item:nth-child(3n)::after {
        display: none;
    }

    .academic-stat-item:last-child::after {
        display: none;
    }
}

@media (max-width: 575px) {
    .academicSuccessSection .sectionHeadwrap {
        margin-bottom: 28px;
    }

    .academicSuccessSection .secWrapper {
        border-radius: 14px;
        max-width: 382px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 24px;
        padding: 0 6px;
    }

    .academic-stat-item {
        flex: 0 0 50%;
        padding: 24px 8px;
    }

    .academic-stat-item:not(:last-child)::after {
        height: 50px;
    }

    /* 2-col layout: remove divider on every 2nd */
    .academic-stat-item:nth-child(3n)::after {
        display: block;
    }

    .academic-stat-item:nth-child(2n)::after {
        display: none;
    }

    /* Row separator for 2-col */
    .academic-stat-item:nth-child(-n+4) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .academic-stat-number {
        font-size: 26px;
    }

    .academic-stat-label {
        font-size: 13px;
    }

    .academicSuccessSection .microCopy .text p {
        font-size: var(--fs-sm);
    }
}
