:root {
    --sax-primary: #003366;
    --sax-secondary: #0d4d8b;
    --sax-gold: #d4af37;
    --sax-text: #1f2937;
    --sax-muted: #6b7280;
    --sax-white: #ffffff;
    --sax-bg: #f5f8fc;
    --sax-border: rgba(0, 51, 102, 0.08);
    --sax-shadow: 0 18px 45px rgba(0, 51, 102, 0.1);
    --sax-radius: 26px;
}

body.sax-academics-body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
    color: var(--sax-text);
}

.sax-academics-page,
.sax-academics-page * {
    box-sizing: border-box;
}

.sax-academics-page {
    overflow-x: hidden;
}

/* HERO */
.sax-hero {
    position: relative;
    padding: 95px 0 130px;
    background:
        linear-gradient(135deg, rgba(0, 51, 102, 0.96), rgba(13, 77, 139, 0.88)),
        url("images/academics-banner.jpg") center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.sax-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%);
}

.sax-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    background: linear-gradient(to top, #f8fbff 0%, rgba(248, 251, 255, 0) 100%);
}

.sax-hero .container {
    position: relative;
    z-index: 2;
}

.sax-hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.sax-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
}

.sax-hero p {
    max-width: 880px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.93);
}

/* OVERVIEW STRIP */
.sax-overview {
    margin-top: -58px;
    position: relative;
    z-index: 3;
    padding-bottom: 25px;
}

.sax-overview-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--sax-shadow);
    border: 1px solid var(--sax-border);
    padding: 26px;
}

.sax-overview-mini {
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid var(--sax-border);
    border-radius: 18px;
    padding: 18px 16px;
    text-align: center;
}

.sax-overview-mini h4 {
    margin: 0 0 7px;
    color: var(--sax-primary);
    font-size: 1rem;
    font-weight: 800;
}

.sax-overview-mini p {
    margin: 0;
    color: var(--sax-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* COMMON */
.sax-section-space {
    padding: 28px 0;
}

.sax-section-head {
    margin-bottom: 18px;
}

.sax-section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sax-section-title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 14px;
}

.sax-section-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 0;
}

.sax-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.sax-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    line-height: 1.75;
    color: #374151;
    font-size: 0.98rem;
    font-weight: 500;
}

.sax-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sax-image-box {
    position: relative;
    height: 100%;
    /*min-height:420px;*/
    /*border-radius:26px;*/
    overflow: hidden;
    box-shadow: var(--sax-shadow);
}

.sax-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sax-image-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.25));
}

/* PRE PRIMARY - SOFT CURVED STYLE */
.sax-pre-shell {
    background: #f2f2f2;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 34px;
    padding: 26px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.1);
}

.sax-pre-content {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 26px;
    padding: 34px;
    height: 100%;
}

.sax-pre-tag {
    color: #9a6a00;
    background: #ffeab2;
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-block;
}

.sax-pre-title {
    color: #7a4c00;
}

.sax-pre-list li::before {
    background: #d4af37;
}

/* PRIMARY - SHARP MODERN SPLIT */
.sax-primary-shell {
    background: #ffffff;
    border: 1px solid var(--sax-border);
    border-radius: 34px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--sax-shadow);
}

.sax-primary-left {
    background: #f2f2f2;
    padding: 38px 34px;
    height: 100%;
}

.sax-primary-right {
    padding: 0;
    height: 100%;
}

.sax-primary-tag {
    color: #0d4d8b;
    background: #d6ebff;
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-block;
}

.sax-primary-title {
    color: #003366;
}

.sax-primary-list li::before {
    background: #0d4d8b;
}

/* HIGH SCHOOL - DARK PREMIUM */
.sax-high-shell {
    background: #f2f2f2;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 27, 61, 0.18);
}

.sax-high-content {
    padding: 38px 34px;
    color: #fff;
    height: 100%;
}

.sax-high-content .sax-section-text {
    color: #000;
}

.sax-high-tag {
    color: #000;
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sax-high-title {
    color: #000;
}

.sax-high-list li {
    color: #000;
}

.sax-high-list li::before {
    background: #8fb7ff;
}

.sax-high-image {
    min-height: 100%;
    height: 100%;
}

/* FOOT NOTES */
.sax-bottom {
    padding: 28px 0 80px;
}

.sax-bottom-card {
    height: 100%;
    background: #fff;
    border-radius: 22px;
    padding: 24px 20px;
    border: 1px solid var(--sax-border);
    box-shadow: 0 12px 28px rgba(0, 51, 102, 0.07);
    transition: 0.3s ease;
}

.sax-bottom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 51, 102, 0.12);
}

.sax-bottom-no {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 16px;
}

.sax-bottom-card.one .sax-bottom-no {
    background: linear-gradient(135deg, #003366, #0d4d8b);
}

.sax-bottom-card.two .sax-bottom-no {
    background: linear-gradient(135deg, #d4af37, #b3871d);
}

.sax-bottom-card.three .sax-bottom-no {
    background: linear-gradient(135deg, #4f46e5, #312e81);
}

.sax-bottom-card h4 {
    color: var(--sax-primary);
    font-size: 1.13rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.sax-bottom-card p {
    margin: 0;
    color: var(--sax-muted);
    line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .sax-hero {
        padding: 72px 0 110px;
    }

    .sax-overview {
        margin-top: -42px;
    }

    .sax-overview-card {
        padding: 22px;
    }

    .sax-pre-content,
    .sax-primary-left,
    .sax-high-content {
        padding: 28px 22px;
    }

    .sax-image-box {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .sax-hero {
        padding: 56px 0 95px;
    }

    .sax-hero p {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .sax-overview {
        margin-top: -35px;
    }

    .sax-overview-card {
        padding: 16px;
        border-radius: 18px;
    }

    .sax-section-space {
        padding: 18px 0;
    }

    .sax-pre-shell,
    .sax-primary-shell,
    .sax-high-shell {
        border-radius: 22px;
    }

    .sax-pre-content,
    .sax-primary-left,
    .sax-high-content {
        padding: 22px 16px;
    }

    .sax-image-box {
        min-height: 220px;
        border-radius: 18px;
    }

    .sax-section-title {
        font-size: 1.55rem;
    }

    .sax-section-text,
    .sax-list li {
        font-size: 0.95rem;
    }

    .sax-bottom {
        padding: 20px 0 60px;
    }
}
.sax-hero {
    position: relative;
    padding: 100px 0 120px;
    background: url("images/acde.jpeg") center/cover no-repeat;
    overflow: hidden;
    color: #fff;
    min-height: 520px !important;
}

/* DARK OVERLAY */
.sax-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #000000de, rgba(0, 0, 0, 0.55));
    z-index: 1;
}

/* CONTENT ABOVE OVERLAY */
.sax-hero .container {
    position: relative;
    z-index: 2;
}

/* TEXT STYLE IMPROVEMENT */
.sax-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

.sax-hero p {
    max-width: 850px;
    margin: auto;
    line-height: 1.9;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
}
.sax-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 40%);
    z-index: 1;
}
@media only screen and (min-width: 1px) and (max-width: 520px) {
    .sax-hero {
        min-height: 520px !important;
    }
}
