/* =========================================================
   ISTSE Website - Main Stylesheet
   Brand: Maroon + Gold + Ivory
   Stack: HTML + Bootstrap + jQuery
========================================================= */

:root {
    --istse-maroon: #6B1719;
    --istse-maroon-dark: #3F0D0E;
    --istse-maroon-light: #8A2426;
    --istse-gold: #D4AF37;
    --istse-gold-light: #E7C86E;
    --istse-gold-soft: #F8EBC4;
    --istse-ivory: #FFF9EB;
    --istse-cream: #FFFDF7;
    --istse-white: #FFFFFF;
    --istse-text: #1F2937;
    --istse-muted: #64748B;
    --istse-border: #E5E7EB;
    --istse-success: #15803D;
    --istse-danger: #B91C1C;
    --istse-shadow: 0 14px 34px rgba(63, 13, 14, 0.10);
    --istse-radius: 20px;
}

/* =========================================================
   Base
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--istse-text);
    background: var(--istse-cream);
    line-height: 1.6;
}

a {
    color: var(--istse-maroon);
    text-decoration: none;
}

    a:hover {
        color: var(--istse-maroon-dark);
    }

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 35px 0;
}

.section-padding-sm {
    padding: 35px 0;
}

.section-title {
    font-weight: 800;
    color: var(--istse-maroon-dark);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--istse-muted);
    max-width: 760px;
    margin: 0 auto 38px;
}

/* =========================================================
   Buttons
========================================================= */

.btn-istse-primary {
    background-color: var(--istse-maroon);
    color: var(--istse-white);
    border: 1px solid var(--istse-maroon);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
    transition: all 0.2s ease;
}

    .btn-istse-primary:hover,
    .btn-istse-primary:focus {
        background-color: var(--istse-maroon-dark);
        border-color: var(--istse-maroon-dark);
        color: var(--istse-white);
        transform: translateY(-1px);
    }

.btn-istse-gold {
    background-color: var(--istse-gold);
    color: var(--istse-maroon-dark);
    border: 1px solid var(--istse-gold);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    transition: all 0.2s ease;
}

    .btn-istse-gold:hover,
    .btn-istse-gold:focus {
        background-color: var(--istse-gold-light);
        border-color: var(--istse-gold-light);
        color: var(--istse-maroon-dark);
        transform: translateY(-1px);
    }

.btn-istse-outline {
    background: transparent;
    color: var(--istse-maroon);
    border: 1px solid rgba(107, 23, 25, 0.25);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
}

    .btn-istse-outline:hover {
        background: var(--istse-ivory);
        color: var(--istse-maroon-dark);
        border-color: var(--istse-gold);
    }

.btn-istse-login {
    background: var(--istse-white);
    color: var(--istse-maroon);
    border: 1px solid rgba(107, 23, 25, 0.24);
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.2s ease;
}

    .btn-istse-login:hover,
    .btn-istse-login:focus {
        background: var(--istse-gold-soft);
        border-color: var(--istse-gold);
        color: var(--istse-maroon-dark);
        transform: translateY(-1px);
    }

/* =========================================================
   Header / Navbar
========================================================= */

.istse-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.04);
    transition: all 0.2s ease;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .istse-navbar.is-scrolled {
        box-shadow: 0 10px 30px rgba(31, 41, 55, 0.10);
    }

.istse-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--istse-maroon-dark);
    min-width: 0;
    flex-shrink: 1;
}

    .istse-brand img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        flex: 0 0 auto;
    }

.istse-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    min-width: 0;
}

.istse-brand-title {
    font-size: 0.95rem;
    letter-spacing: 0.1px;
    font-weight: 900;
    color: var(--istse-maroon-dark);
    white-space: nowrap;
}

.istse-brand-subtitle {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.80rem;
    line-height: 1.2;
    color: #5F6B80;
    font-weight: 750;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.navbar-nav {
    flex-wrap: nowrap;
}
    .navbar-nav .nav-link {
        font-weight: 750;
        color: var(--istse-text);
        padding: 9px 12px !important;
        font-size: 0.98rem;
        line-height: 1.2;
        white-space: nowrap;
        border-radius: 999px;
        transition: all 0.2s ease;
    }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            color: var(--istse-maroon-dark);
            background: rgba(212, 175, 55, 0.18);
        }

        .navbar-nav .nav-link.active {
            color: var(--istse-maroon-dark);
            background: rgba(212, 175, 55, 0.22);
        }

.istse-navbar .btn-istse-primary {
    padding: 10px 22px;
    white-space: nowrap;
}

/* =========================================================
   Hero
========================================================= */

.istse-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3F0D0E 0%, #6B1719 55%, #8A2426 100%);
    color: var(--istse-white);
    padding: 30px 0 90px;
}

    .istse-hero::before {
        content: "";
        position: absolute;
        width: 460px;
        height: 460px;
        right: -160px;
        top: -140px;
        border-radius: 50%;
        background: rgba(212, 175, 55, 0.16);
    }

    .istse-hero::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        left: -120px;
        bottom: -120px;
        border-radius: 50%;
        background: rgba(255, 249, 235, 0.08);
    }

    .istse-hero .container {
        position: relative;
        z-index: 2;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.16);
    color: var(--istse-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.istse-hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
}

.istse-hero .lead {
    color: #F8EBC4;
    font-size: 1.16rem;
    max-width: 680px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-note {
    color: rgba(255, 249, 235, 0.86);
    font-size: 0.96rem;
}
.hero-exam-card {
    padding: 34px;
}

.hero-exam-card-header {
    margin-bottom: 22px;
}

.hero-exam-kicker {
    display: inline-block;
    color: var(--istse-maroon);
    background: var(--istse-gold-soft);
    border: 1px solid rgba(212, 175, 55, 0.38);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero-exam-card h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.7rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero-exam-card-header p {
    color: var(--istse-muted);
    margin-bottom: 0;
}

.exam-choice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 20px;
    padding: 24px 24px;
    color: var(--istse-text);
    box-shadow: 0 10px 24px rgba(63, 13, 14, 0.07);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

    .exam-choice-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 18px;
        bottom: 18px;
        width: 5px;
        border-radius: 0 8px 8px 0;
        background: linear-gradient(180deg, var(--istse-gold), var(--istse-maroon));
        opacity: 0.95;
    }

    .exam-choice-card:hover,
    .exam-choice-card:focus {
        color: var(--istse-text);
        border-color: var(--istse-gold);
        background: linear-gradient(180deg, #ffffff 0%, #fff8e8 100%);
        transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(63, 13, 14, 0.14);
    }

    .exam-choice-card .label {
        color: #5F6B80;
        font-size: 0.9rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .exam-choice-card .date {
        color: var(--istse-maroon);
        font-size: 1.55rem;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .exam-choice-card p {
        margin-bottom: 0;
        color: var(--istse-muted);
        font-size: 1rem;
        line-height: 1.5;
        max-width: 92%;
    }

.exam-choice-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--istse-maroon), var(--istse-maroon-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(107, 23, 25, 0.24);
    transition: all 0.25s ease;
}

.exam-choice-card:hover .exam-choice-arrow,
.exam-choice-card:focus .exam-choice-arrow {
    background: linear-gradient(135deg, var(--istse-gold), var(--istse-gold-light));
    color: var(--istse-maroon-dark);
    transform: scale(1.07);
}

.hero-exam-note {
    margin-top: 18px;
    color: var(--istse-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* =========================================================
   Cards
========================================================= */

.istse-card {
    background: var(--istse-white);
    border: 1px solid var(--istse-border);
    border-radius: var(--istse-radius);
    box-shadow: var(--istse-shadow);
    padding: 28px;
    height: 100%;
}

.istse-card-highlight {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF9EB 100%);
    border: 1px solid rgba(212, 175, 55, 0.38);
}

.istse-card h3,
.istse-card h4 {
    color: var(--istse-maroon-dark);
    font-weight: 800;
}

.istse-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 16px;
}

/* =========================================================
   Trust Stats
========================================================= */
.trust-strip {
    margin-top: -44px;
    position: relative;
    z-index: 3;
}

.trust-box {
    background: var(--istse-white);
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 20px 44px rgba(31, 41, 55, 0.12);
    padding: 36px 26px;
}

.trust-box-premium {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.trust-metric {
    text-align: center;
    padding: 10px 10px 6px;
}

.trust-icon-circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #EFE7D6;
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 2rem;
}

.trust-number {
    color: var(--istse-maroon);
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
}

.trust-label {
    color: #5F6B80;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .trust-box {
        padding: 28px 20px;
    }

    .trust-number {
        font-size: 1.8rem;
    }

    .trust-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .trust-strip {
        margin-top: 0;
        padding-top: 24px;
        background: var(--istse-ivory);
    }

    .trust-box {
        border-radius: 22px;
        padding: 24px 16px;
    }

    .trust-icon-circle {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .trust-number {
        font-size: 1.55rem;
    }

    .trust-label {
        font-size: 0.92rem;
    }
}

/* =========================================================
   Exam Date Cards
========================================================= */

.exam-date-card {
    background: var(--istse-white);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 18px;
    padding: 22px;
    height: 100%;
}

    .exam-date-card .label {
        color: var(--istse-muted);
        font-size: 0.9rem;
        font-weight: 700;
    }

    .exam-date-card .date {
        color: var(--istse-maroon);
        font-size: 1.35rem;
        font-weight: 900;
    }

/* =========================================================
   CTA Band
========================================================= */

.istse-cta-band {
    background: linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
    color: var(--istse-white);
    border-radius: 26px;
    padding: 42px;
    position: relative;
    overflow: hidden;
}

    .istse-cta-band p {
        color: var(--istse-gold-soft);
    }
.istse-cta-split {
    padding: 46px 52px;
}

.cta-kicker {
    display: inline-block;
    color: var(--istse-gold-light);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.istse-cta-band h2 {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.istse-cta-band p {
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 760px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .cta-actions .btn {
        width: 100%;
        padding: 15px 24px;
        border-radius: 999px;
        font-weight: 900;
    }

.btn-cta-light {
    background: #ffffff;
    color: var(--istse-maroon);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

    .btn-cta-light:hover {
        background: var(--istse-ivory);
        color: var(--istse-maroon-dark);
    }

.btn-cta-login {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

    .btn-cta-login:hover,
    .btn-cta-login:focus {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        border-color: var(--istse-gold-light);
    }

@media (max-width: 767.98px) {
    .istse-cta-split {
        padding: 32px 24px;
    }
}
/* =========================================================
   Footer
========================================================= */

.istse-footer {
    background: #241f1f;
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
    .footer-brand img {
        width: 64px;
        height: 64px;
        object-fit: contain;
    }

    .footer-brand h5 {
        color: #ffffff;
        font-size: 1.45rem;
        font-weight: 900;
        line-height: 0.95;
        margin: 0;
    }

    .footer-brand p {
        color: var(--istse-gold-light);
        font-size: 1rem;
        line-height: 1.15;
        margin: 0;
        font-weight: 800;
    }

.footer-about {
    max-width: 360px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.istse-footer h5 {
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 18px;
}

.istse-footer a {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

    .istse-footer a:hover {
        color: var(--istse-gold-light);
        transform: translateX(2px);
    }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

    .footer-social a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        font-size: 1.1rem;
    }

        .footer-social a:hover {
            background: var(--istse-gold);
            color: var(--istse-maroon-dark);
            transform: translateY(-2px);
        }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

    .footer-contact-item i {
        color: var(--istse-gold-light);
        margin-top: 3px;
    }

    .footer-contact-item a {
        margin-bottom: 0;
    }

.footer-address {
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 42px;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.94rem;
}

@media (max-width: 767.98px) {
    .istse-footer {
        padding: 48px 0 22px;
    }

        .istse-footer .container {
            padding-left: 24px;
            padding-right: 24px;
        }

    .footer-brand img {
        width: 54px;
        height: 54px;
    }

    .footer-bottom {
        text-align: center;
    }

        .footer-bottom .text-md-end {
            text-align: center !important;
            margin-top: 8px;
        }
}

/* =========================================================
   Utilities
========================================================= */

.bg-ivory {
    background: var(--istse-ivory);
}

.bg-soft-gold {
    background: var(--istse-gold-soft);
}

.text-maroon {
    color: var(--istse-maroon);
}

.text-gold {
    color: var(--istse-gold);
}

.rounded-istse {
    border-radius: var(--istse-radius);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 991.98px) {
    .istse-hero {
        padding: 90px 0 70px;
    }

    .navbar-collapse {
        padding-top: 16px;
    }

    .istse-navbar .btn-istse-primary {
        margin-top: 10px;
        width: 100%;
    }
}
@media (max-width: 767.98px) {
    .exam-choice-card {
        padding: 20px 18px;
    }

        .exam-choice-card .date {
            font-size: 1.28rem;
        }

        .exam-choice-card p {
            font-size: 0.95rem;
            max-width: 100%;
        }

    .exam-choice-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }
}
@media (max-width: 767.98px) {
    .section-padding {
        padding: 58px 0;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 24px;
        background: var(--istse-ivory);
    }

    .trust-box {
        box-shadow: var(--istse-shadow);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .istse-brand {
        gap: 10px;
    }
    .istse-cta-band {
        padding: 28px;
    }

    .istse-brand img {
        width: 48px;
        height: 48px;
    }

    .istse-brand-title {
        font-size: 0.95rem;
        line-height: 1.1;
    }

    .istse-brand-subtitle {
        margin-top: 4px;
        font-size: 0.72rem;
        line-height: 1.15;
        font-weight: 700;
    }
}
@media (max-width: 1399.98px) {
    .istse-brand img {
        width: 64px;
        height: 64px;
    }

    .istse-brand-title {
        font-size: 1.2rem;
    }

    .istse-brand-subtitle {
        font-size: 0.88rem;
        margin-top: 5px;
    }

    .navbar-nav .nav-link {
        font-size: 0.92rem;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .istse-navbar .btn-istse-primary {
        padding: 9px 18px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        padding-top: 14px;
    }

    .navbar-nav {
        flex-wrap: wrap;
        align-items: flex-start !important;
    }

        .navbar-nav .nav-link {
            padding-top: 9px;
            padding-bottom: 9px;
            font-size: 1rem;
        }

    .istse-navbar .btn-istse-primary {
        margin-top: 10px;
        width: auto;
    }
}

@media (max-width: 767.98px) {
    .istse-navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .istse-brand {
        gap: 9px;
        max-width: calc(100vw - 96px);
    }

        .istse-brand img {
            width: 48px;
            height: 48px;
        }

    .istse-brand-title {
        font-size: 0.95rem;
        line-height: 1.1;
        white-space: normal;
    }

    .istse-brand-subtitle {
        margin-top: 4px;
        font-size: 0.72rem;
        line-height: 1.15;
        font-weight: 700;
        white-space: normal;
    }

    .istse-hero {
        padding-top: 62px;
        padding-bottom: 58px;
    }

        .istse-hero .container {
            padding-left: 24px;
            padding-right: 24px;
        }

        .istse-hero h1 {
            font-size: 2rem;
            line-height: 1.14;
        }

        .istse-hero .lead {
            font-size: 1rem;
        }
}
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        display: inline-block;
        padding: 10px 14px !important;
    }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            background: var(--istse-ivory);
        }
}
/* =========================================================
   Why ISTSE Section
========================================================= */

.why-istse-section {
    position: relative;
    padding: 110px 0 95px;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 32%), linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    overflow: hidden;
}

    .why-istse-section::before {
        content: "";
        position: absolute;
        right: -140px;
        top: 80px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(107, 23, 25, 0.05);
    }

.why-section-heading {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto 52px;
}

.section-kicker {
    display: inline-block;
    color: var(--istse-maroon);
    background: var(--istse-gold-soft);
    border: 1px solid rgba(212, 175, 55, 0.38);
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.why-section-heading h2 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 16px;
}

.why-section-heading p {
    color: #5F6B80;
    font-size: 1.16rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.why-card {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(107, 23, 25, 0.10);
    border-radius: 26px;
    padding: 34px 28px;
    box-shadow: 0 16px 36px rgba(63, 13, 14, 0.06);
    transition: all 0.25s ease;
    overflow: hidden;
}

    .why-card::before {
        content: "";
        position: absolute;
        left: 28px;
        right: 28px;
        top: 0;
        height: 4px;
        border-radius: 0 0 8px 8px;
        background: linear-gradient(90deg, var(--istse-gold), var(--istse-maroon));
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .why-card:hover {
        transform: translateY(-6px);
        border-color: rgba(212, 175, 55, 0.45);
        box-shadow: 0 24px 50px rgba(63, 13, 14, 0.12);
    }

        .why-card:hover::before {
            opacity: 1;
        }

.why-card-featured {
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
    border-color: rgba(212, 175, 55, 0.42);
}

.why-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: #EFE7D6;
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.why-card h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.25;
}

.why-card p {
    color: #5F6B80;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .why-istse-section {
        padding: 88px 0 78px;
    }
}

@media (max-width: 767.98px) {
    .why-istse-section {
        padding: 64px 0;
    }

        .why-istse-section .container {
            padding-left: 24px;
            padding-right: 24px;
        }

    .why-section-heading {
        margin-bottom: 34px;
    }

        .why-section-heading p {
            font-size: 1rem;
        }

    .why-card {
        padding: 28px 24px;
        border-radius: 22px;
    }

    .why-icon {
        width: 58px;
        height: 58px;
        font-size: 1.45rem;
        margin-bottom: 18px;
    }
}
/* =========================================================
   Participation Modes Section
========================================================= */

.participation-section {
    padding: 105px 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 28%), linear-gradient(180deg, #fff9eb 0%, #fffdf8 100%);
}

.participation-heading {
    max-width: 920px;
    margin: 0 auto 54px;
}

    .participation-heading h2 {
        color: var(--istse-maroon-dark);
        font-size: clamp(2rem, 4vw, 3.15rem);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .participation-heading p {
        color: #5F6B80;
        font-size: 1.12rem;
        line-height: 1.65;
        margin-bottom: 0;
    }

.participation-card {
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 20px 44px rgba(63, 13, 14, 0.10);
    transition: all 0.25s ease;
}

    .participation-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 28px 60px rgba(63, 13, 14, 0.16);
    }

.participation-card-top {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 34px;
    color: #fff;
}

.participation-card-online .participation-card-top {
    background: linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
}

.participation-card-school .participation-card-top {
    background: linear-gradient(135deg, #8A6A1F, var(--istse-gold));
}

.participation-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    flex: 0 0 auto;
}

.participation-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 10px;
}

.participation-card-top h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #fff;
}

.participation-card-top p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0;
    line-height: 1.5;
}

.participation-card-body {
    padding: 34px;
}

.mode-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff9eb;
    border: 1px solid rgba(212, 175, 55, 0.36);
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

    .mode-alert i {
        color: var(--istse-maroon);
        font-size: 1.35rem;
        margin-top: 2px;
    }

    .mode-alert strong {
        display: block;
        color: var(--istse-maroon-dark);
        font-size: 1.02rem;
        margin-bottom: 4px;
    }

    .mode-alert span {
        display: block;
        color: #5F6B80;
        line-height: 1.45;
    }

.mode-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.mode-info-item {
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 16px;
    padding: 16px;
}

    .mode-info-item span {
        display: block;
        color: #5F6B80;
        font-size: 0.84rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .mode-info-item strong {
        display: block;
        color: var(--istse-maroon-dark);
        font-size: 1rem;
        line-height: 1.3;
    }
    .mode-info-item bold {
        display: block;
        color: #5F6B80;
        font-size: 0.84rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

.batch-box {
    background: #fff;
    border: 1px solid rgba(107, 23, 25, 0.10);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 26px;
}

    .batch-box h4 {
        font-size: 1rem;
        font-weight: 900;
        color: var(--istse-maroon-dark);
        background: #fff9eb;
        padding: 15px 18px;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(107, 23, 25, 0.08);
    }

.batch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(107, 23, 25, 0.08);
}

    .batch-row:last-child {
        border-bottom: 0;
    }

    .batch-row span {
        color: var(--istse-maroon);
        background: var(--istse-gold-soft);
        border-radius: 999px;
        padding: 4px 10px;
        font-size: 0.82rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .batch-row strong {
        color: var(--istse-text);
        font-weight: 850;
        text-align: right;
    }

.mode-check-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 26px;
}

    .mode-check-list li {
        position: relative;
        padding-left: 32px;
        color: #5F6B80;
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 12px;
    }

        .mode-check-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 1px solid rgba(107, 23, 25, 0.36);
            color: var(--istse-maroon);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.78rem;
            font-weight: 900;
        }

.scholarship-box {
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
    border: 1px solid rgba(212, 175, 55, 0.36);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 26px;
}

    .scholarship-box h4 {
        color: var(--istse-maroon-dark);
        font-weight: 900;
        font-size: 1.06rem;
        margin-bottom: 14px;
    }

.scholarship-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

    .scholarship-grid div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        background: #fff;
        border-radius: 14px;
        padding: 12px 14px;
        border: 1px solid rgba(107, 23, 25, 0.08);
    }

    .scholarship-grid span {
        color: #5F6B80;
        font-weight: 800;
    }

    .scholarship-grid strong {
        color: var(--istse-maroon);
        font-weight: 900;
    }

.scholarship-box-school {
    margin-bottom: 20px;
}

.mode-highlight {
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.36);
    border-radius: 18px;
    padding: 18px 20px;
    color: #5F6B80;
    line-height: 1.5;
    margin-bottom: 26px;
}

    .mode-highlight strong {
        color: var(--istse-maroon);
    }

.participation-btn {
    width: 100%;
    text-align: center;
    border-radius: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
}

    .participation-btn span {
        margin-left: 8px;
    }

@media (max-width: 991.98px) {
    .participation-section {
        padding: 80px 0;
    }
}

@media (max-width: 767.98px) {
    .participation-section {
        padding: 64px 0;
    }

        .participation-section .container {
            padding-left: 24px;
            padding-right: 24px;
        }

    .participation-heading {
        margin-bottom: 34px;
    }

        .participation-heading p {
            font-size: 1rem;
        }

    .participation-card-top {
        padding: 26px;
    }

        .participation-card-top h3 {
            font-size: 1.55rem;
        }

    .participation-card-body {
        padding: 26px;
    }

    .mode-info-grid {
        grid-template-columns: 1fr;
    }

    .batch-row {
        align-items: flex-start;
        flex-direction: column;
    }

        .batch-row strong {
            text-align: left;
        }

    .scholarship-grid div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
.testimonial-section {
    padding: 95px 0;
    background: #ffffff;
}

.testimonial-heading {
    max-width: 820px;
    margin: 0 auto 44px;
}

    .testimonial-heading h2 {
        color: var(--istse-maroon-dark);
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .testimonial-heading p {
        color: #5F6B80;
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

.testimonial-widget-wrap {
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 28px;
    box-shadow: 0 18px 44px rgba(63, 13, 14, 0.08);
    padding: 30px;
    min-height: 260px;
}

@media (max-width: 767.98px) {
    .testimonial-section {
        padding: 64px 0;
    }

        .testimonial-section .container {
            padding-left: 24px;
            padding-right: 24px;
        }

    .testimonial-widget-wrap {
        padding: 18px;
        border-radius: 22px;
    }
}
.exam-date-line {
    color: #5F6B80;
    font-size: 0.98rem;
    line-height: 1.5;
    margin-top: 8px;
}

    .exam-date-line strong {
        color: var(--istse-maroon-dark);
    }

.exam-date-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(107, 23, 25, 0.10);
}

    .exam-date-mini-row:last-child {
        border-bottom: 0;
    }

    .exam-date-mini-row span {
        color: #5F6B80;
        font-weight: 700;
    }

    .exam-date-mini-row strong {
        color: var(--istse-maroon);
        font-weight: 900;
        text-align: right;
    }

@media (max-width: 767.98px) {
    .exam-date-mini-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

        .exam-date-mini-row strong {
            text-align: left;
        }
}
/* =========================================================
   Registration Modal
========================================================= */
.registration-modal-dialog {
    width: min(920px, calc(100vw - 32px));
    max-width: 920px;
}

.registration-modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}

.registration-frame {
    width: 100%;
    height: 82vh;
    border: 0;
    display: block;
    background: #f8f5ef;
}

#registrationModal .registration-modal-header {
    background: linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
    color: #ffffff;
    border-bottom: 4px solid var(--istse-gold);
    padding: 16px 24px;
}

#registrationModal .modal-title {
    color: #ffffff;
    font-weight: 850;
}

.registration-modal-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.btn-registration-login {
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
    border: 1px solid var(--istse-gold);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 850;
    white-space: nowrap;
}

    .btn-registration-login:hover,
    .btn-registration-login:focus {
        background: var(--istse-gold-light);
        border-color: var(--istse-gold-light);
        color: var(--istse-maroon-dark);
    }

#registrationModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.9;
}

    #registrationModal .btn-close:hover {
        opacity: 1;
    }

@media (min-width: 1200px) {
    .registration-modal-dialog {
        width: min(960px, calc(100vw - 72px));
        max-width: 960px;
    }
}

@media (max-width: 1199.98px) {
    .istse-navbar .btn-istse-login {
        margin-top: 10px;
        width: auto;
    }
}

@media (max-width: 767.98px) {
    .registration-modal-dialog {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .registration-modal-content {
        min-height: 100vh;
        border-radius: 0;
    }

    .registration-frame {
        height: calc(100vh - 57px);
    }
}

@media (max-width: 575.98px) {
    #registrationModal .registration-modal-header {
        padding: 14px 16px;
    }

    #registrationModal .modal-title {
        font-size: 1rem;
    }

    .registration-modal-actions {
        gap: 8px;
    }

    .btn-registration-login {
        padding: 7px 11px;
        font-size: 0.82rem;
    }
}

/* =========================================================
   Online Olympiad Page
========================================================= */
.online-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 32%), linear-gradient(135deg, var(--istse-maroon-dark) 0%, var(--istse-maroon) 58%, var(--istse-maroon-light) 100%);
    color: #ffffff;
    padding: 96px 0 78px;
}

.online-hero::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    right: -160px;
    top: -140px;
    background: rgba(255, 255, 255, 0.07);
}

.online-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    left: -140px;
    bottom: -160px;
    background: rgba(212, 175, 55, 0.12);
}

.online-hero .container {
    position: relative;
    z-index: 2;
}

.online-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--istse-gold-light);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.36);
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.online-hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.45rem);
    line-height: 1.07;
    font-weight: 950;
    letter-spacing: -0.04em;
    max-width: 760px;
    margin-bottom: 22px;
}

.online-hero-lead {
    color: rgba(255, 249, 235, 0.90);
    font-size: 1.17rem;
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 30px;
}

.online-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.online-hero-note {
    color: rgba(255, 249, 235, 0.84);
    font-weight: 700;
}

.online-hero-note a {
    color: var(--istse-gold-light);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.online-quick-card {
    background: #ffffff;
    color: var(--istse-text);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.42);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.20);
    padding: 0;
}

.online-quick-top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 32px;
    background: linear-gradient(135deg, #fffdf8 0%, #fff3ce 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.online-quick-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--istse-maroon), var(--istse-maroon-dark));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex: 0 0 auto;
    box-shadow: 0 12px 24px rgba(107, 23, 25, 0.22);
}

.online-quick-top span {
    display: block;
    color: var(--istse-maroon);
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.online-quick-top h2 {
    color: var(--istse-maroon-dark);
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1.16;
    margin-bottom: 8px;
}

.online-quick-top p {
    color: #5F6B80;
    margin-bottom: 0;
    line-height: 1.5;
}

.online-quick-alert {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin: 28px 28px 20px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.38);
    background: #fff9eb;
}

.online-quick-alert i {
    color: var(--istse-maroon);
    font-size: 1.25rem;
    margin-top: 1px;
}

.online-quick-alert strong,
.online-quick-alert span {
    display: block;
}

.online-quick-alert strong {
    color: var(--istse-maroon-dark);
    font-weight: 900;
    margin-bottom: 3px;
}

.online-quick-alert span {
    color: #5F6B80;
    line-height: 1.4;
}

.online-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 28px 22px;
}

.online-quick-grid div {
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 16px;
    background: #fffdf8;
    padding: 16px;
}

.online-quick-grid span {
    display: block;
    color: #5F6B80;
    font-size: 0.84rem;
    font-weight: 850;
    margin-bottom: 4px;
}

.online-quick-grid strong {
    display: block;
    color: var(--istse-maroon-dark);
    line-height: 1.3;
    font-weight: 900;
}

.online-quick-scholarship {
    margin: 0 28px 24px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
    padding: 20px;
}

.online-quick-scholarship h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.05rem;
    font-weight: 950;
    margin-bottom: 14px;
}

.online-quick-scholarship div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(107, 23, 25, 0.08);
    padding: 10px 0;
}

.online-quick-scholarship div:last-child {
    padding-bottom: 0;
}

.online-quick-scholarship span {
    color: #5F6B80;
    font-weight: 850;
}

.online-quick-scholarship strong {
    color: var(--istse-maroon);
    font-weight: 950;
    white-space: nowrap;
}

.online-quick-card > .btn {
    margin: 0 28px 28px;
    width: calc(100% - 56px) !important;
    border-radius: 16px;
    padding: 15px 18px;
    font-weight: 950;
}

.online-page-nav-wrap {
    position: sticky;
    top: 86px;
    z-index: 6;
    background: rgba(255, 253, 247, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 23, 25, 0.08);
}

.online-page-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
}

.online-page-nav a {
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--istse-maroon-dark);
    background: #ffffff;
    border: 1px solid rgba(107, 23, 25, 0.12);
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 850;
}

.online-page-nav a:hover {
    background: var(--istse-gold-soft);
    border-color: rgba(212, 175, 55, 0.52);
}

.online-section-white {
    background: #ffffff;
}

.online-section-title {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.1;
    margin-bottom: 22px;
}

.online-rich-text {
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.75;
}

.online-heading-block {
    max-width: 860px;
    margin: 0 auto 46px;
}

.online-heading-block h2 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 14px;
}

.online-heading-block p {
    color: #5F6B80;
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.online-subject-card,
.online-pattern-card,
.online-award-card,
.online-date-card,
.online-feature-card,
.online-benefit-card,
.online-support-card,
.online-topper-preview {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(63, 13, 14, 0.06);
}

.online-subject-card {
    padding: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
}

.online-subject-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 18px;
}

.online-subject-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(107, 23, 25, 0.08);
}

.online-subject-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.online-subject-row span {
    color: #374151;
    font-weight: 850;
}

.online-subject-row strong {
    color: var(--istse-maroon);
    font-weight: 950;
}

.online-feature-card,
.online-benefit-card,
.online-support-card {
    height: 100%;
    padding: 30px 26px;
    transition: all 0.24s ease;
}

.online-feature-card:hover,
.online-benefit-card:hover,
.online-support-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 24px 50px rgba(63, 13, 14, 0.12);
}

.online-feature-card i,
.online-benefit-card i,
.online-support-card i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #EFE7D6;
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 20px;
}

.online-feature-card h3,
.online-benefit-card h3,
.online-support-card h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 950;
    margin-bottom: 12px;
}

.online-feature-card p,
.online-benefit-card p,
.online-support-card p {
    color: #5F6B80;
    line-height: 1.65;
    margin-bottom: 0;
}

.online-dates-section {
    background: linear-gradient(135deg, #3F0D0E 0%, #6B1719 100%);
}

.online-dark-card {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    padding: 34px;
}

.online-dark-card h2 {
    color: #ffffff;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.1;
    font-weight: 950;
    margin-bottom: 16px;
}

.online-dark-card p {
    color: rgba(255, 249, 235, 0.86);
    line-height: 1.65;
    margin-bottom: 22px;
}

.online-fee-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--istse-maroon-dark);
    padding: 10px 18px;
    font-weight: 950;
    margin-bottom: 24px;
}

.online-fee-pill strong {
    color: var(--istse-success);
}

.online-date-card {
    padding: 30px;
    background: #ffffff;
}

.online-date-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 18px;
}

.online-date-list .exam-date-mini-row,
.online-date-card .exam-date-mini-row {
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

.online-small-note {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.55;
}

.online-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.online-step {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 14px 30px rgba(63, 13, 14, 0.06);
}

.online-step span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--istse-maroon);
    color: #ffffff;
    font-weight: 950;
    margin-bottom: 18px;
}

.online-step h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1.25;
    margin-bottom: 10px;
}

.online-step p {
    color: #5F6B80;
    line-height: 1.55;
    margin-bottom: 0;
    font-size: 0.96rem;
}

.online-pattern-card {
    padding: 28px;
}

.online-pattern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.online-pattern-grid div {
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 16px;
}

.online-pattern-grid span {
    display: block;
    color: #64748B;
    font-weight: 850;
    font-size: 0.86rem;
    margin-bottom: 5px;
}

.online-pattern-grid strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.3;
}

.online-pattern-note {
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    background: #fff9eb;
    border: 1px solid rgba(212, 175, 55, 0.32);
    color: #5F6B80;
    line-height: 1.55;
}

.online-pattern-note strong {
    color: var(--istse-maroon-dark);
}

.online-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.online-fair-section {
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 28%), linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
}

.online-fair-section h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 950;
    margin-bottom: 18px;
}

.online-fair-section p {
    color: rgba(255, 249, 235, 0.86);
    font-size: 1.08rem;
    line-height: 1.7;
}

.online-check-list {
    list-style: none;
    padding-left: 0;
    margin: 24px 0 0;
}

.online-check-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 13px;
    line-height: 1.55;
}

.online-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 950;
}

.online-check-list-light li {
    color: rgba(255, 249, 235, 0.9);
}

.online-check-list-light li::before {
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
}

.online-viva-card {
    background: #ffffff;
    color: var(--istse-text);
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.40);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.20);
    padding: 38px;
}

.online-viva-card i {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    font-size: 2rem;
    margin-bottom: 22px;
}

.online-viva-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 12px;
}

.online-viva-card p {
    color: #5F6B80;
    margin-bottom: 0;
}

.online-award-card {
    padding: 30px;
}

.online-award-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 10px;
}

.online-award-card p {
    color: #5F6B80;
    line-height: 1.6;
}

.online-award-row,
.online-scholar-row {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(107, 23, 25, 0.08);
}

.online-award-row:last-child,
.online-scholar-row:last-child {
    border-bottom: 0;
}

.online-award-row span,
.online-scholar-row span {
    color: #64748B;
    font-weight: 850;
}

.online-award-row strong,
.online-scholar-row strong {
    color: var(--istse-maroon);
    font-weight: 950;
}

.online-scholarship-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
}

.online-ranking-accordion .accordion-item,
.online-faq .accordion-item {
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(63, 13, 14, 0.05);
    margin-bottom: 12px;
}

.online-ranking-accordion .accordion-button,
.online-faq .accordion-button {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    background: #ffffff;
    box-shadow: none;
}

.online-ranking-accordion .accordion-button:not(.collapsed),
.online-faq .accordion-button:not(.collapsed) {
    background: #fff9eb;
    color: var(--istse-maroon-dark);
}

.online-ranking-list li {
    margin-bottom: 8px;
    color: #4b5563;
}

.online-topper-preview {
    padding: 28px;
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.online-topper-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 18px 20px;
    background: #ffffff;
}

.online-topper-stat span {
    color: #64748B;
    font-weight: 900;
}

.online-topper-stat strong {
    color: var(--istse-maroon);
    font-weight: 950;
    text-align: right;
}

.online-topper-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 8px;
    padding: 18px;
    border-radius: 16px;
    background: var(--istse-gold-soft);
}

.online-topper-note i {
    color: var(--istse-maroon);
    font-size: 1.4rem;
}

.online-topper-note p {
    color: var(--istse-maroon-dark);
    font-weight: 750;
    line-height: 1.5;
    margin-bottom: 0;
}

.online-faq {
    max-width: 920px;
    margin: 0 auto;
}

.online-faq .accordion-body {
    color: #5F6B80;
    line-height: 1.65;
}

@media (max-width: 1199.98px) {
    .online-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .online-hero {
        padding: 72px 0 58px;
    }

    .online-page-nav-wrap {
        top: 70px;
    }

    .online-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .online-hero .container,
    .online-section-white .container,
    .online-dates-section .container,
    .online-fair-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .online-hero h1 {
        font-size: 2rem;
    }

    .online-hero-lead,
    .online-rich-text {
        font-size: 1rem;
    }

    .online-hero-actions .btn,
    .online-cta-row .btn {
        width: 100%;
    }

    .online-quick-top {
        flex-direction: column;
        padding: 26px;
    }

    .online-quick-alert,
    .online-quick-scholarship {
        margin-left: 20px;
        margin-right: 20px;
    }

    .online-quick-grid {
        grid-template-columns: 1fr;
        padding-left: 20px;
        padding-right: 20px;
    }

    .online-quick-card > .btn {
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px) !important;
    }

    .online-pattern-grid,
    .online-award-row,
    .online-scholar-row {
        grid-template-columns: 1fr;
    }

    .online-steps {
        grid-template-columns: 1fr;
    }

    .online-dark-card,
    .online-date-card,
    .online-award-card,
    .online-viva-card,
    .online-subject-card,
    .online-pattern-card,
    .online-topper-preview {
        padding: 24px;
        border-radius: 22px;
    }

    .online-topper-stat {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .online-topper-stat strong {
        text-align: left;
    }
}

/* =========================================================
   Online Olympiad Image Hero Update
   Uses the generated parent + student hero image.
========================================================= */
.online-hero.online-hero-photo-style {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 32%),
        linear-gradient(135deg, #fffdf7 0%, #fff8ea 55%, #ffffff 100%);
    color: var(--istse-text);
    padding: 88px 0 42px;
}

.online-hero.online-hero-photo-style::before,
.online-hero.online-hero-photo-style::after {
    display: none;
}

.online-hero-photo-style .online-kicker {
    color: var(--istse-maroon);
    background: var(--istse-gold-soft);
    border-color: rgba(212, 175, 55, 0.48);
}

.online-hero-photo-style h1 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2.55rem, 5vw, 4.8rem);
    max-width: 720px;
}

.online-hero-classline {
    color: var(--istse-gold);
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 950;
    line-height: 1.12;
    margin-top: -8px;
    margin-bottom: 20px;
}

.online-hero-photo-style .online-hero-lead {
    color: #4f5968;
    max-width: 680px;
}

.online-hero-photo-style .online-hero-note {
    color: #5F6B80;
}

.online-hero-photo-style .online-hero-note a {
    color: var(--istse-maroon);
}

.online-hero-photo-style .btn-istse-outline.bg-white {
    border-color: rgba(107, 23, 25, 0.20);
    box-shadow: 0 10px 22px rgba(63, 13, 14, 0.08);
}

.online-hero-image-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 28px 72px rgba(63, 13, 14, 0.16);
}

.online-hero-image-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.online-hero-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 249, 235, 0.14), transparent 42%);
}

.online-hero-image-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--istse-maroon-dark);
    border: 1px solid rgba(212, 175, 55, 0.36);
    box-shadow: 0 12px 28px rgba(63, 13, 14, 0.12);
    font-weight: 900;
}

.online-hero-image-badge i {
    color: var(--istse-success);
    font-size: 1.1rem;
}

.online-hero-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 42px;
}

.online-hero-fact {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    row-gap: 2px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 34px rgba(63, 13, 14, 0.06);
}

.online-hero-fact i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--istse-maroon);
    background: var(--istse-gold-soft);
    font-size: 1.25rem;
}

.online-hero-fact span {
    color: #5F6B80;
    font-size: 0.84rem;
    font-weight: 850;
}

.online-hero-fact strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

@media (max-width: 991.98px) {
    .online-hero.online-hero-photo-style {
        padding: 64px 0 36px;
    }

    .online-hero-image-wrap {
        border-radius: 26px;
    }

    .online-hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .online-hero.online-hero-photo-style .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .online-hero-photo-style h1 {
        font-size: 2.25rem;
    }

    .online-hero-classline {
        font-size: 1.45rem;
    }

    .online-hero-image-badge {
        left: 14px;
        bottom: 14px;
        font-size: 0.86rem;
        padding: 8px 12px;
    }

    .online-hero-facts {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* =========================================================
   Online Olympiad Visual Polish v3
   Stronger hero, richer rhythm, subject bars, and timeline feel.
========================================================= */
.online-hero.online-hero-premium {
    position: relative;
    overflow: visible;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.20), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(107, 23, 25, 0.10), transparent 26%),
        linear-gradient(135deg, #fffaf0 0%, #fffdf8 47%, #fff4dd 100%);
    color: var(--istse-text);
    padding: 30px 0 0;
}

.online-hero.online-hero-premium::before,
.online-hero.online-hero-premium::after {
    display: none;
}

.online-hero-shape {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.online-hero-shape-one {
    width: 520px;
    height: 520px;
    right: -220px;
    top: -180px;
    background: rgba(107, 23, 25, 0.08);
}

.online-hero-shape-two {
    width: 360px;
    height: 360px;
    left: -160px;
    bottom: 30px;
    background: rgba(212, 175, 55, 0.14);
}

.online-hero-main-row {
    min-height: 560px;
    padding-bottom: 70px;
}

.online-hero-premium .online-kicker {
    color: var(--istse-maroon);
    background: rgba(248, 235, 196, 0.72);
    border-color: rgba(212, 175, 55, 0.62);
    box-shadow: 0 10px 26px rgba(63, 13, 14, 0.06);
}

.online-hero-premium h1 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2.75rem, 5.5vw, 5.5rem);
    max-width: 820px;
    letter-spacing: -0.055em;
    margin-bottom: 12px;
}

.online-hero-premium .online-hero-classline {
    color: var(--istse-gold);
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
    margin-top: 0;
    margin-bottom: 22px;
}

.online-hero-premium .online-hero-lead {
    color: #485466;
    max-width: 720px;
    font-size: 1.14rem;
}

.online-hero-premium .online-hero-note {
    color: #596477;
    margin-top: 14px;
}

.online-hero-premium .online-hero-note a {
    color: var(--istse-maroon);
}

.online-hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 14px;
}

.online-hero-mini-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.38);
    color: var(--istse-maroon-dark);
    font-weight: 850;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(63, 13, 14, 0.05);
}

.online-hero-mini-points i {
    color: var(--istse-maroon);
}

.online-hero-media-panel {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    min-height: 440px;
    border: 1px solid rgba(212, 175, 55, 0.44);
    box-shadow: 0 34px 90px rgba(63, 13, 14, 0.18);
    background: #ffffff;
    transform: rotate(0.35deg);
}

.online-hero-media-panel img {
    display: block;
    width: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.online-hero-media-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.22), transparent 36%),
        linear-gradient(180deg, transparent 58%, rgba(63, 13, 14, 0.16));
}

.online-floating-badge,
.online-hero-result-card {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(212, 175, 55, 0.38);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 38px rgba(63, 13, 14, 0.13);
}

.online-floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--istse-maroon-dark);
    font-weight: 950;
}

.online-floating-badge i {
    color: var(--istse-success);
    font-size: 1.15rem;
}

.online-floating-badge-top {
    left: 22px;
    top: 22px;
}

.online-floating-badge-bottom {
    right: 22px;
    bottom: 22px;
}

.online-hero-result-card {
    left: 22px;
    top: 22px;
    max-width: 255px;
    padding: 14px 16px;
    border-radius: 18px;
}

.online-hero-result-card span {
    display: block;
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.online-hero-result-card strong {
    display: block;
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

.online-hero-facts.online-hero-facts-overlap {
    position: relative;
    z-index: 4;
    margin-top: -28px;
    margin-bottom: -32px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.30);
    box-shadow: 0 24px 65px rgba(63, 13, 14, 0.12);
    backdrop-filter: blur(14px);
}

.online-hero-facts-overlap .online-hero-fact {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.online-hero-facts-overlap .online-hero-fact:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(63, 13, 14, 0.09);
}

.online-page-nav-wrap {
    padding-top: 34px;
    background: rgba(255, 255, 255, 0.86);
}

.online-page-nav {
    justify-content: center;
}

.online-page-nav a {
    box-shadow: 0 8px 20px rgba(63, 13, 14, 0.04);
}

#about-online-exam {
    padding-top: 105px;
}

.online-subject-bars-card {
    padding: 30px;
    overflow: hidden;
    position: relative;
}

.online-subject-bars-card::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.14);
}

.online-subject-card-head {
    position: relative;
    margin-bottom: 22px;
}

.online-subject-card-head span {
    display: inline-block;
    color: var(--istse-maroon);
    font-weight: 950;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.online-subject-card-head h3 {
    margin-bottom: 0;
}

.online-subject-bar {
    position: relative;
    display: grid;
    gap: 9px;
    margin-bottom: 17px;
}

.online-subject-bar:last-child {
    margin-bottom: 0;
}

.online-subject-bar div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #374151;
    font-weight: 900;
}

.online-subject-bar strong {
    color: var(--istse-maroon);
}

.online-subject-bar em {
    position: relative;
    display: block;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(107, 23, 25, 0.09);
}

.online-subject-bar em::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: max(var(--subject-width), 8%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--istse-maroon), var(--istse-gold));
}

.online-feature-card,
.online-benefit-card,
.online-support-card,
.online-pattern-card,
.online-award-card,
.online-topper-preview {
    border-color: rgba(212, 175, 55, 0.36);
    box-shadow: 0 18px 45px rgba(63, 13, 14, 0.07);
}

.online-feature-card,
.online-benefit-card,
.online-support-card {
    position: relative;
    overflow: hidden;
}

.online-feature-card::after,
.online-benefit-card::after,
.online-support-card::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--istse-gold), var(--istse-maroon));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.online-feature-card:hover::after,
.online-benefit-card:hover::after,
.online-support-card:hover::after {
    opacity: 1;
}

.online-dates-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 12%, rgba(212, 175, 55, 0.18), transparent 24%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08), transparent 26%),
        linear-gradient(135deg, #3F0D0E 0%, #6B1719 56%, #8A2426 100%);
}

.online-dark-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.16);
}

.online-date-card {
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.16);
}

.online-steps {
    position: relative;
}

@media (min-width: 1200px) {
    .online-steps::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 47px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(107, 23, 25, 0.16), rgba(212, 175, 55, 0.48), rgba(107, 23, 25, 0.16));
    }

    .online-step {
        z-index: 1;
    }
}

.online-step {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.online-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(63, 13, 14, 0.12);
}

.online-step span {
    box-shadow: 0 0 0 8px #fff9eb, 0 14px 24px rgba(107, 23, 25, 0.22);
}

.online-fair-section {
    background:
        linear-gradient(135deg, rgba(63, 13, 14, 0.94), rgba(107, 23, 25, 0.96)),
        radial-gradient(circle at 90% 20%, rgba(212, 175, 55, 0.24), transparent 28%);
}

.online-award-card h3::before {
    content: "";
    display: block;
    width: 52px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--istse-gold), var(--istse-maroon));
    margin-bottom: 14px;
}

.online-topper-preview {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
}

.online-topper-stat {
    border-color: rgba(212, 175, 55, 0.42);
}

.testimonial-widget-wrap {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 30%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

@media (max-width: 1199.98px) {
    .online-hero-main-row {
        min-height: auto;
    }

    .online-hero-media-panel,
    .online-hero-media-panel img {
        min-height: 390px;
    }
}

@media (max-width: 991.98px) {
    .online-hero.online-hero-premium {
        padding-top: 62px;
    }

    .online-hero-main-row {
        padding-bottom: 42px;
    }

    .online-hero-facts.online-hero-facts-overlap {
        margin-top: 0;
        margin-bottom: -24px;
    }

    .online-page-nav-wrap {
        padding-top: 24px;
        top: 70px;
    }

    #about-online-exam {
        padding-top: 86px;
    }
}

@media (max-width: 767.98px) {
    .online-hero.online-hero-premium .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .online-hero-premium h1 {
        font-size: 2.35rem;
    }

    .online-hero-premium .online-hero-lead {
        font-size: 1rem;
    }

    .online-hero-mini-points span {
        font-size: 0.84rem;
    }

    .online-hero-media-panel {
        border-radius: 24px;
        transform: none;
    }

    .online-hero-media-panel,
    .online-hero-media-panel img {
        min-height: 280px;
    }

    .online-floating-badge-top,
    .online-floating-badge-bottom,
    .online-hero-result-card {
        position: static;
        margin: 10px 12px;
        width: calc(100% - 24px);
        max-width: none;
    }

    .online-floating-badge-top {
        margin-top: -64px;
        position: relative;
        z-index: 3;
    }

    .online-hero-facts.online-hero-facts-overlap {
        padding: 12px;
        border-radius: 20px;
    }

    .online-page-nav {
        justify-content: flex-start;
    }
}

/* =========================================================
   Online Olympiad Consolidated Overrides v4
   Final hero/facts/nav styling for online-olympiad.html
========================================================= */

.online-hero-facts.online-hero-facts-overlap {
    position: relative;
    z-index: 4;
    margin-top: -28px;
    margin-bottom: -32px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.34);
    box-shadow: 0 24px 65px rgba(63, 13, 14, 0.14);
    backdrop-filter: blur(14px);
}

.online-hero-facts-overlap .online-hero-fact {
    background: linear-gradient(180deg, #f7f2e8 0%, #eee6d8 100%);
    border: 1px solid rgba(212, 175, 55, 0.46);
    box-shadow: 0 14px 30px rgba(63, 13, 14, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.online-hero-facts-overlap .online-hero-fact:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.70);
    box-shadow: 0 18px 38px rgba(63, 13, 14, 0.13);
}

.online-hero-facts-overlap .online-hero-fact i {
    background: #eadfbd;
    color: var(--istse-maroon);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.28);
}

.online-hero-facts-overlap .online-hero-fact span {
    color: #5F6B80;
}

.online-hero-facts-overlap .online-hero-fact strong {
    color: var(--istse-maroon-dark);
}

.online-page-nav-wrap {
    position: sticky;
    top: 86px;
    z-index: 6;
    background: linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
    border-top: 1px solid rgba(231, 200, 110, 0.20);
    border-bottom: 1px solid rgba(231, 200, 110, 0.20);
    box-shadow: 0 16px 34px rgba(63, 13, 14, 0.16);
    padding-top: 0;
    backdrop-filter: none;
}

.online-page-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 0;
}

.online-page-nav a {
    flex: 0 0 auto;
    background: rgba(255, 249, 235, 0.96);
    color: var(--istse-maroon-dark);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
    transition: all 0.2s ease;
}

.online-page-nav a:hover,
.online-page-nav a:focus,
.online-page-nav a.active {
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
    border-color: var(--istse-gold);
    transform: translateY(-1px);
}

#about-online-exam {
    padding-top: 105px;
}

@media (max-width: 991.98px) {
    .online-hero-facts.online-hero-facts-overlap {
        margin-top: 0;
        margin-bottom: -24px;
        padding: 14px;
        border-radius: 22px;
    }

    .online-page-nav-wrap {
        top: 70px;
    }

    #about-online-exam {
        padding-top: 86px;
    }
}

@media (max-width: 767.98px) {
    .online-hero-facts.online-hero-facts-overlap {
        padding: 12px;
        border-radius: 20px;
        background: rgba(255, 253, 248, 0.96);
    }

    .online-hero-facts-overlap .online-hero-fact {
        background: linear-gradient(180deg, #f8f3ea 0%, #efe6d8 100%);
    }

    .online-page-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 14px 16px;
    }

    .online-page-nav a {
        white-space: nowrap;
        font-size: 0.86rem;
        padding: 8px 14px;
    }
}
/* =========================================================
   Online Olympiad Hero Insight Card
   Replaces repetitive hero image facts with parent-value messaging
========================================================= */

.online-hero-insight-card {
    left: 22px;
    top: 22px;
    bottom: auto;
    max-width: 288px;
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(63, 13, 14, 0.16);
    backdrop-filter: blur(10px);
}

.online-hero-insight-card .insight-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5F6B80;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 8px;
}

.online-hero-insight-card .insight-kicker i {
    color: var(--istse-maroon);
    font-size: 1rem;
}

.online-hero-insight-card strong {
    display: block;
    color: var(--istse-maroon-dark);
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.25;
    margin-bottom: 12px;
}

.online-hero-insight-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.online-hero-insight-card li {
    position: relative;
    padding-left: 20px;
    color: var(--istse-maroon-dark);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 6px;
}

.online-hero-insight-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--istse-success);
    font-weight: 950;
}

.online-hero-insight-card small {
    display: block;
    color: #5F6B80;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.4;
    border-top: 1px solid rgba(107, 23, 25, 0.10);
    padding-top: 10px;
}

@media (max-width: 767.98px) {
    .online-hero-insight-card {
        position: static;
        width: calc(100% - 24px);
        max-width: none;
        margin: 10px 12px;
        padding: 16px;
        border-radius: 18px;
    }
}


/* =========================================================
   School Olympiad Page
   Dedicated styling for school-olympiad.html
========================================================= */

.school-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    color: #ffffff;
    background:
        radial-gradient(circle at 14% 16%, rgba(212, 175, 55, 0.24), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.10), transparent 30%),
        linear-gradient(135deg, #251E08 0%, #5D1715 50%, #9A731D 100%);
    padding: 32px 0 0;
}

.school-hero::before {
    content: "";
    position: absolute;
    right: -160px;
    top: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 249, 235, 0.08);
    z-index: -1;
}

.school-hero::after {
    content: "";
    position: absolute;
    left: -140px;
    bottom: 40px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.14);
    z-index: -1;
}

.school-hero-main-row {
    min-height: 560px;
    padding-bottom: 72px;
}

.school-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(231, 200, 110, 0.45);
    color: var(--istse-gold-light);
    font-size: 0.88rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.school-hero h1 {
    color: #ffffff;
    font-size: clamp(2.65rem, 5.4vw, 5.25rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.055em;
    margin-bottom: 14px;
    max-width: 820px;
}

.school-hero-classline {
    color: var(--istse-gold-light);
    font-size: clamp(1.35rem, 2.2vw, 2.05rem);
    font-weight: 950;
    line-height: 1.15;
    margin-bottom: 22px;
}

.school-hero-lead {
    color: rgba(255, 249, 235, 0.90);
    max-width: 720px;
    font-size: 1.14rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

.school-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.school-hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 14px;
}

.school-hero-mini-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff9eb;
    font-weight: 850;
    font-size: 0.92rem;
}

.school-hero-mini-points i {
    color: var(--istse-gold-light);
}

.school-hero-note {
    color: rgba(255, 249, 235, 0.82);
    font-weight: 750;
}

.school-hero-note a {
    color: var(--istse-gold-light);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.school-hero-media-panel {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    border-radius: 34px;
    background: linear-gradient(180deg, #fffdf8 0%, #fff6dc 100%);
    border: 1px solid rgba(231, 200, 110, 0.58);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
    transform: rotate(-0.25deg);
}

.school-hero-media-panel img {
    display: block;
    width: 100%;
    min-height: 440px;
    object-fit: cover;
}

.school-hero-media-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 250, 240, 0.45), transparent 42%),
        linear-gradient(180deg, transparent 62%, rgba(63, 13, 14, 0.14));
}

.school-hero-insight-card {
    position: absolute;
    left: 22px;
    top: 22px;
    max-width: 295px;
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(63, 13, 14, 0.16);
    backdrop-filter: blur(10px);
}

.school-hero-insight-card .insight-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5F6B80;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 8px;
}

.school-hero-insight-card .insight-kicker i {
    color: var(--istse-maroon);
}

.school-hero-insight-card strong {
    display: block;
    color: var(--istse-maroon-dark);
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.25;
    margin-bottom: 12px;
}

.school-hero-insight-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.school-hero-insight-card li {
    position: relative;
    padding-left: 20px;
    color: var(--istse-maroon-dark);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 6px;
}

.school-hero-insight-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--istse-success);
    font-weight: 950;
}

.school-hero-insight-card small {
    display: block;
    color: #5F6B80;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.4;
    border-top: 1px solid rgba(107, 23, 25, 0.10);
    padding-top: 10px;
}

.school-hero-facts {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: -28px;
    margin-bottom: -32px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.34);
    box-shadow: 0 24px 65px rgba(63, 13, 14, 0.14);
    backdrop-filter: blur(14px);
}

.school-hero-fact {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    row-gap: 2px;
    align-items: center;
    min-height: 92px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7f2e8 0%, #eee6d8 100%);
    border: 1px solid rgba(212, 175, 55, 0.46);
    box-shadow: 0 14px 30px rgba(63, 13, 14, 0.08);
    transition: all 0.22s ease;
}

.school-hero-fact:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.70);
    box-shadow: 0 18px 38px rgba(63, 13, 14, 0.13);
}

.school-hero-fact i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--istse-maroon);
    background: #eadfbd;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.28);
    font-size: 1.25rem;
}

.school-hero-fact span {
    color: #5F6B80;
    font-size: 0.84rem;
    font-weight: 850;
}

.school-hero-fact strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

.school-page-nav-wrap {
    position: sticky;
    top: 86px;
    z-index: 6;
    background: linear-gradient(135deg, #251E08, var(--istse-maroon));
    border-top: 1px solid rgba(231, 200, 110, 0.20);
    border-bottom: 1px solid rgba(231, 200, 110, 0.20);
    box-shadow: 0 16px 34px rgba(63, 13, 14, 0.16);
}

.school-page-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 0;
}

.school-page-nav a {
    flex: 0 0 auto;
    background: rgba(255, 249, 235, 0.96);
    color: var(--istse-maroon-dark);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
    transition: all 0.2s ease;
}

.school-page-nav a:hover,
.school-page-nav a:focus,
.school-page-nav a.active {
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
    border-color: var(--istse-gold);
    transform: translateY(-1px);
}

.school-section-title {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.1;
    margin-bottom: 22px;
}

.school-rich-text {
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.75;
}

.school-heading-block {
    max-width: 900px;
    margin: 0 auto 46px;
}

.school-heading-block h2 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 14px;
}

.school-heading-block p {
    color: #5F6B80;
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.school-card,
.school-feature-card,
.school-benefit-card,
.school-process-card,
.school-award-card,
.school-pattern-card,
.school-download-card,
.school-date-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(63, 13, 14, 0.07);
}

.school-card,
.school-pattern-card,
.school-date-card {
    padding: 30px;
}

.school-feature-card,
.school-benefit-card,
.school-download-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 30px 26px;
    transition: all 0.24s ease;
}

.school-feature-card::after,
.school-benefit-card::after,
.school-download-card::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #0B7C45, var(--istse-gold));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.school-feature-card:hover,
.school-benefit-card:hover,
.school-download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 24px 50px rgba(63, 13, 14, 0.12);
}

.school-feature-card:hover::after,
.school-benefit-card:hover::after,
.school-download-card:hover::after {
    opacity: 1;
}

.school-feature-card i,
.school-benefit-card i,
.school-download-card i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #E7F5EE;
    color: #0B7C45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 20px;
}

.school-feature-card h3,
.school-benefit-card h3,
.school-download-card h3,
.school-card h3,
.school-pattern-card h3,
.school-date-card h3,
.school-award-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

.school-feature-card h3,
.school-benefit-card h3,
.school-download-card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.school-feature-card p,
.school-benefit-card p,
.school-download-card p {
    color: #5F6B80;
    line-height: 1.65;
    margin-bottom: 0;
}

.school-pattern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.school-pattern-grid div {
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 16px;
}

.school-pattern-grid span {
    display: block;
    color: #64748B;
    font-weight: 850;
    font-size: 0.86rem;
    margin-bottom: 5px;
}

.school-pattern-grid strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.3;
}

.school-subject-list {
    display: grid;
    gap: 13px;
}

.school-subject-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 14px 16px;
}

.school-subject-row span {
    color: #374151;
    font-weight: 900;
}

.school-subject-row strong {
    color: var(--istse-maroon);
    font-weight: 950;
    text-align: right;
}

.school-dates-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(212, 175, 55, 0.18), transparent 24%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08), transparent 26%),
        linear-gradient(135deg, #251E08 0%, #5D1715 56%, #8A6A1F 100%);
}

.school-dark-card {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    padding: 34px;
    backdrop-filter: blur(10px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.16);
}

.school-dark-card h2 {
    color: #ffffff;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.1;
    font-weight: 950;
    margin-bottom: 16px;
}

.school-dark-card p {
    color: rgba(255, 249, 235, 0.86);
    line-height: 1.65;
    margin-bottom: 22px;
}

.school-fee-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--istse-maroon-dark);
    padding: 10px 18px;
    font-weight: 950;
    margin-bottom: 24px;
}

.school-fee-pill strong {
    color: var(--istse-success);
}

.school-date-card {
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.16);
}

.school-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

.school-date-row span {
    color: #5F6B80;
    font-weight: 850;
}

.school-date-row strong {
    color: var(--istse-maroon);
    font-weight: 950;
    text-align: right;
}

.school-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    position: relative;
}

@media (min-width: 1200px) {
    .school-process::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 47px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(11, 124, 69, 0.16), rgba(212, 175, 55, 0.48), rgba(107, 23, 25, 0.16));
    }
}

.school-process-card {
    position: relative;
    z-index: 1;
    padding: 26px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    transition: all 0.22s ease;
}

.school-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(63, 13, 14, 0.12);
}

.school-process-card span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0B7C45;
    color: #ffffff;
    font-weight: 950;
    margin-bottom: 18px;
    box-shadow: 0 0 0 8px #fff9eb, 0 14px 24px rgba(11, 124, 69, 0.18);
}

.school-process-card h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1.25;
    margin-bottom: 10px;
}

.school-process-card p {
    color: #5F6B80;
    line-height: 1.55;
    margin-bottom: 0;
    font-size: 0.96rem;
}

.school-awards-section {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
}

.school-award-card {
    height: 100%;
    padding: 30px;
}

.school-award-card h3::before {
    content: "";
    display: block;
    width: 52px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0B7C45, var(--istse-gold));
    margin-bottom: 14px;
}

.school-award-card p {
    color: #5F6B80;
    line-height: 1.6;
}

.school-award-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(107, 23, 25, 0.08);
}

.school-award-row:last-child {
    border-bottom: 0;
}

.school-award-row span {
    color: #64748B;
    font-weight: 850;
}

.school-award-row strong {
    color: var(--istse-maroon);
    font-weight: 950;
}

.school-rule-box {
    background: #F1FAF5;
    border: 1px solid rgba(11, 124, 69, 0.20);
    border-radius: 18px;
    padding: 18px 20px;
    margin-top: 18px;
    color: #365D46;
    line-height: 1.55;
}

.school-rule-box strong {
    color: #0B7C45;
}

.school-selection-list {
    margin: 0;
    padding-left: 18px;
}

.school-selection-list li {
    margin-bottom: 8px;
    color: #4b5563;
}

.school-download-card .btn {
    margin-top: 18px;
}

.school-note-box {
    border: 1px solid rgba(11, 124, 69, 0.24);
    background: #F1FAF5;
    border-radius: 20px;
    padding: 22px;
    color: #365D46;
    line-height: 1.6;
}

.school-faq {
    max-width: 920px;
    margin: 0 auto;
}

.school-faq .accordion-item {
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(63, 13, 14, 0.05);
    margin-bottom: 12px;
}

.school-faq .accordion-button {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    background: #ffffff;
    box-shadow: none;
}

.school-faq .accordion-button:not(.collapsed) {
    background: #fff9eb;
    color: var(--istse-maroon-dark);
}

.school-faq .accordion-body {
    color: #5F6B80;
    line-height: 1.65;
}

@media (max-width: 1199.98px) {
    .school-process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .school-hero-main-row {
        min-height: auto;
    }

    .school-hero-media-panel,
    .school-hero-media-panel img {
        min-height: 390px;
    }
}

@media (max-width: 991.98px) {
    .school-hero {
        padding-top: 62px;
    }

    .school-hero-main-row {
        padding-bottom: 42px;
    }

    .school-hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0;
        margin-bottom: -24px;
        padding: 14px;
        border-radius: 22px;
    }

    .school-page-nav-wrap {
        top: 70px;
    }

    .school-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #about-school-exam {
        padding-top: 86px;
    }
}

@media (max-width: 767.98px) {
    .school-hero .container,
    .school-dates-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .school-hero h1 {
        font-size: 2.35rem;
    }

    .school-hero-lead,
    .school-rich-text {
        font-size: 1rem;
    }

    .school-hero-actions .btn {
        width: 100%;
    }

    .school-hero-media-panel {
        border-radius: 24px;
        transform: none;
    }

    .school-hero-media-panel,
    .school-hero-media-panel img {
        min-height: 280px;
    }

    .school-hero-insight-card {
        position: static;
        width: calc(100% - 24px);
        max-width: none;
        margin: 10px 12px;
        padding: 16px;
        border-radius: 18px;
    }

    .school-hero-facts {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        border-radius: 20px;
    }

    .school-page-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 14px 16px;
    }

    .school-page-nav a {
        white-space: nowrap;
        font-size: 0.86rem;
        padding: 8px 14px;
    }

    .school-pattern-grid,
    .school-award-row,
    .school-subject-row {
        grid-template-columns: 1fr;
    }

    .school-subject-row strong,
    .school-award-row strong {
        text-align: left;
    }

    .school-process {
        grid-template-columns: 1fr;
    }

    .school-card,
    .school-pattern-card,
    .school-date-card,
    .school-award-card,
    .school-dark-card {
        padding: 24px;
        border-radius: 22px;
    }

    .school-date-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .school-date-row strong {
        text-align: left;
    }
}
/* =========================================================
   FINAL: Shared Header + Mobile Nav + Separator Line
   Keep this as the LAST block in site.css
========================================================= */

:root {
    --istse-header-height: 92px;
}

/* Prevent horizontal overflow without breaking the fixed header */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Main shared header wrapper.
   Fixed is used on all screen sizes so desktop, tablet and mobile behave consistently. */
[data-istse-header] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 3000 !important;
    display: block !important;
    background: #ffffff !important;
    box-shadow: 0 8px 26px rgba(31, 41, 55, 0.08);
}

/* Push page content below the fixed header */
body {
    padding-top: var(--istse-header-height) !important;
}

/* Navbar inside shared wrapper */
[data-istse-header] .istse-navbar,
body > .istse-navbar {
    position: relative !important;
    top: auto !important;
    z-index: 3001 !important;
    width: 100%;
    background: #ffffff !important;
    border-bottom: 0 !important;
}

/* If any older/static page still has the navbar directly under body */
body > .istse-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* Gold + maroon separator line below navbar */
[data-istse-header] .istse-navbar::after,
body > .istse-navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--istse-maroon-dark) 0%,
        var(--istse-maroon) 38%,
        var(--istse-gold) 38%,
        var(--istse-gold) 62%,
        var(--istse-maroon) 62%,
        var(--istse-maroon-dark) 100%
    );
    pointer-events: none;
}

/* Navbar shadow when scrolled */
[data-istse-header] .istse-navbar.is-scrolled,
body > .istse-navbar.is-scrolled {
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.12);
}

/* In-page navs should sit below the main fixed header */
.online-page-nav-wrap,
.school-page-nav-wrap,
.syllabus-page-nav-wrap {
    position: sticky !important;
    top: var(--istse-header-height) !important;
    z-index: 1200 !important;
}

html {
    scroll-padding-top: calc(var(--istse-header-height) + 76px);
}

/* Desktop layout */
@media (min-width: 1200px) {
    [data-istse-header] .istse-navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    [data-istse-header] .navbar-collapse {
        position: static !important;
        display: flex !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        padding: 0 !important;
    }
}

/* Tablet + mobile header/menu */
@media (max-width: 1199.98px) {
    :root {
        --istse-header-height: 78px;
    }

    [data-istse-header] {
        overflow: visible !important;
    }

    [data-istse-header] .istse-navbar {
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: visible !important;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    [data-istse-header] .istse-navbar > .container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        overflow: visible !important;
    }

    [data-istse-header] .istse-brand {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100vw - 82px) !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        gap: 9px !important;
    }

    [data-istse-header] .istse-brand img {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
    }

    [data-istse-header] .istse-brand-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    [data-istse-header] .istse-brand-title,
    [data-istse-header] .istse-brand-subtitle {
        display: block !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: clip !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    [data-istse-header] .istse-brand-title {
        font-size: 0.92rem !important;
        line-height: 1.08 !important;
    }

    [data-istse-header] .istse-brand-subtitle {
        font-size: 0.72rem !important;
        line-height: 1.12 !important;
        margin-top: 4px !important;
    }

    [data-istse-header] .navbar-toggler {
        display: inline-flex !important;
        flex: 0 0 48px !important;
        align-items: center;
        justify-content: center;
        width: 48px !important;
        height: 44px !important;
        margin-left: 6px !important;
        padding: 0 !important;
        border: 1px solid rgba(107, 23, 25, 0.22) !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 18px rgba(31, 41, 55, 0.08);
    }

    [data-istse-header] .navbar-toggler:focus {
        box-shadow: 0 0 0 0.18rem rgba(212, 175, 55, 0.25) !important;
    }

    [data-istse-header] .navbar-toggler-icon {
        width: 1.6em;
        height: 1.6em;
    }

    /* Mobile dropdown */
    [data-istse-header] #mainNavbar.navbar-collapse {
        position: fixed !important;
        top: var(--istse-header-height) !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: calc(100vw - 24px) !important;
        z-index: 3002 !important;
        background: #ffffff !important;
        padding: 14px !important;
        border: 1px solid rgba(212, 175, 55, 0.35) !important;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 22px 45px rgba(31, 41, 55, 0.20);
        max-height: calc(100vh - var(--istse-header-height) - 16px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    [data-istse-header] #mainNavbar.navbar-collapse:not(.show) {
        display: none !important;
    }

    [data-istse-header] #mainNavbar.navbar-collapse.show {
        display: block !important;
    }

    [data-istse-header] .navbar-nav {
        align-items: stretch !important;
        gap: 7px;
        width: 100%;
    }

    [data-istse-header] .navbar-nav .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 12px 15px !important;
        border-radius: 12px !important;
        background: #fffdf8;
        text-align: left;
    }

    [data-istse-header] .navbar-nav .nav-link.active,
    [data-istse-header] .navbar-nav .nav-link:hover {
        background: var(--istse-gold-soft) !important;
        color: var(--istse-maroon-dark) !important;
    }

    [data-istse-header] .navbar-nav .btn {
        width: 100% !important;
        margin-top: 8px !important;
        text-align: center !important;
    }

    .online-page-nav-wrap,
    .school-page-nav-wrap,
    .syllabus-page-nav-wrap {
        top: var(--istse-header-height) !important;
        z-index: 1100 !important;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    :root {
        --istse-header-height: 72px;
    }

    [data-istse-header] .istse-navbar > .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 8px !important;
    }

    [data-istse-header] .istse-brand {
        max-width: calc(100vw - 70px) !important;
        gap: 8px !important;
    }

    [data-istse-header] .istse-brand img {
        width: 42px !important;
        height: 42px !important;
        flex-basis: 42px !important;
    }

    [data-istse-header] .istse-brand-title {
        font-size: 0.82rem !important;
        line-height: 1.08 !important;
    }

    [data-istse-header] .istse-brand-subtitle {
        font-size: 0.66rem !important;
        line-height: 1.12 !important;
    }

    [data-istse-header] .navbar-toggler {
        flex-basis: 46px !important;
        width: 46px !important;
        height: 42px !important;
    }
}
/* =========================================================
   Syllabus Page
   Dedicated styling for syllabus.html
========================================================= */

.syllabus-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.20), transparent 28%),
        radial-gradient(circle at 88% 14%, rgba(107, 23, 25, 0.09), transparent 26%),
        linear-gradient(135deg, #fffaf0 0%, #fffdf8 50%, #fff4dd 100%);
    color: var(--istse-text);
    padding: 30px 0 0;
}

.syllabus-hero-shape {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.syllabus-hero-shape-one {
    width: 480px;
    height: 480px;
    right: -180px;
    top: -160px;
    background: rgba(107, 23, 25, 0.08);
}

.syllabus-hero-shape-two {
    width: 320px;
    height: 320px;
    left: -140px;
    bottom: 80px;
    background: rgba(212, 175, 55, 0.13);
}

.syllabus-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--istse-maroon);
    background: rgba(248, 235, 196, 0.76);
    border: 1px solid rgba(212, 175, 55, 0.58);
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 0.88rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 10px 26px rgba(63, 13, 14, 0.06);
}

.syllabus-hero h1 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2.65rem, 5.5vw, 5.35rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.055em;
    margin-bottom: 12px;
}

.syllabus-hero-classline {
    color: var(--istse-gold);
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    font-weight: 950;
    line-height: 1.15;
    margin-bottom: 22px;
}

.syllabus-hero-lead {
    color: #485466;
    max-width: 760px;
    font-size: 1.14rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

.syllabus-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.syllabus-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.syllabus-mini-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.38);
    color: var(--istse-maroon-dark);
    font-weight: 850;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(63, 13, 14, 0.05);
}

.syllabus-mini-points i {
    color: var(--istse-maroon);
}

.syllabus-hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
    border: 1px solid rgba(212, 175, 55, 0.40);
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 30px 76px rgba(63, 13, 14, 0.14);
}

.syllabus-hero-card::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.16);
}

.syllabus-card-kicker {
    position: relative;
    display: inline-block;
    color: var(--istse-maroon);
    font-weight: 950;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.syllabus-hero-card h2 {
    position: relative;
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 22px;
}

.syllabus-bar {
    position: relative;
    display: grid;
    gap: 9px;
    margin-bottom: 16px;
}

.syllabus-bar:last-child {
    margin-bottom: 0;
}

.syllabus-bar div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #374151;
    font-weight: 900;
}

.syllabus-bar strong {
    color: var(--istse-maroon);
}

.syllabus-bar em {
    position: relative;
    display: block;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(107, 23, 25, 0.09);
}

.syllabus-bar em::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: max(var(--bar-width), 8%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--istse-maroon), var(--istse-gold));
}

.syllabus-hero-facts {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 58px;
    margin-bottom: -34px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.34);
    box-shadow: 0 24px 65px rgba(63, 13, 14, 0.14);
    backdrop-filter: blur(14px);
}

.syllabus-hero-fact {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    row-gap: 2px;
    align-items: center;
    min-height: 90px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7f2e8 0%, #eee6d8 100%);
    border: 1px solid rgba(212, 175, 55, 0.46);
    box-shadow: 0 14px 30px rgba(63, 13, 14, 0.08);
}

.syllabus-hero-fact i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--istse-maroon);
    background: #eadfbd;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.28);
    font-size: 1.25rem;
}

.syllabus-hero-fact span {
    color: #5F6B80;
    font-size: 0.84rem;
    font-weight: 850;
}

.syllabus-hero-fact strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

.syllabus-page-nav-wrap {
    position: sticky;
    top: var(--istse-header-height);
    z-index: 1100;
    background: linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
    border-top: 1px solid rgba(231, 200, 110, 0.20);
    border-bottom: 1px solid rgba(231, 200, 110, 0.20);
    box-shadow: 0 16px 34px rgba(63, 13, 14, 0.16);
}

.syllabus-page-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 18px 0;
}

.syllabus-page-nav a {
    flex: 0 0 auto;
    background: rgba(255, 249, 235, 0.96);
    color: var(--istse-maroon-dark);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
    transition: all 0.2s ease;
}

.syllabus-page-nav a:hover,
.syllabus-page-nav a:focus,
.syllabus-page-nav a.active {
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
    border-color: var(--istse-gold);
    transform: translateY(-1px);
}

.syllabus-section-white {
    background: #ffffff;
}

.syllabus-section-title {
    color: var(--istse-maroon-dark);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 22px;
}

.syllabus-rich-text {
    color: #4b5563;
    font-size: 1.08rem;
    line-height: 1.75;
}

.syllabus-heading-block {
    max-width: 900px;
    margin: 0 auto 46px;
}

.syllabus-heading-block h2 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 14px;
}

.syllabus-heading-block p {
    color: #5F6B80;
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.syllabus-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.syllabus-overview-grid div,
.syllabus-pattern-card,
.syllabus-mode-card,
.syllabus-class-accordion-item,
.syllabus-subject-card,
.syllabus-download-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(63, 13, 14, 0.07);
}

.syllabus-overview-grid div {
    padding: 28px 24px;
}

.syllabus-overview-grid i,
.syllabus-pattern-card > i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #EFE7D6;
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 18px;
}

.syllabus-overview-grid h3,
.syllabus-pattern-card h3,
.syllabus-mode-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

.syllabus-overview-grid h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.syllabus-overview-grid p {
    color: #5F6B80;
    margin-bottom: 0;
}

.syllabus-pattern-card {
    height: 100%;
    padding: 30px;
    transition: all 0.22s ease;
}

.syllabus-pattern-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.58);
    box-shadow: 0 24px 54px rgba(63, 13, 14, 0.12);
}

.syllabus-pattern-card ul {
    padding-left: 20px;
    margin-bottom: 0;
    color: #5F6B80;
    line-height: 1.8;
}

.syllabus-pattern-card strong {
    color: var(--istse-maroon-dark);
}

.syllabus-note-band {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 20px;
    padding: 20px 22px;
}

.syllabus-note-band i {
    color: var(--istse-maroon);
    font-size: 1.35rem;
    margin-top: 3px;
}

.syllabus-note-band p {
    color: #5F6B80;
    margin-bottom: 0;
}

.syllabus-mode-card {
    height: 100%;
    padding: 30px;
    overflow: hidden;
    position: relative;
}

.syllabus-mode-card::before {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    top: 0;
    height: 5px;
    border-radius: 0 0 999px 999px;
}

.syllabus-mode-online::before {
    background: linear-gradient(90deg, var(--istse-maroon), var(--istse-gold));
}

.syllabus-mode-school::before {
    background: linear-gradient(90deg, #0B7C45, var(--istse-gold));
}

.syllabus-mode-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.syllabus-mode-head i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.55rem;
}

.syllabus-mode-online .syllabus-mode-head i {
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
}

.syllabus-mode-school .syllabus-mode-head i {
    background: #E7F5EE;
    color: #0B7C45;
}

.syllabus-mode-head span {
    color: #64748B;
    font-weight: 900;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.syllabus-mode-card p {
    color: #5F6B80;
    line-height: 1.7;
}

.syllabus-mode-card p strong {
    color: var(--istse-maroon-dark);
}

.syllabus-mode-composition {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.syllabus-mode-composition span {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 14px;
    padding: 12px 14px;
    color: #374151;
    font-weight: 850;
}

.syllabus-mode-composition strong {
    color: var(--istse-maroon);
    text-align: right;
}

.syllabus-class-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.syllabus-class-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.42);
    color: var(--istse-maroon-dark);
    padding: 9px 14px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(63, 13, 14, 0.05);
}

.syllabus-class-pill:hover,
.syllabus-class-pill:focus {
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
    border-color: var(--istse-gold);
}

.syllabus-class-accordion {
    display: grid;
    gap: 16px;
}

.syllabus-class-accordion-item {
    overflow: hidden;
}

.syllabus-class-accordion .accordion-button {
    background: #ffffff;
    color: var(--istse-maroon-dark);
    box-shadow: none;
    padding: 22px 26px;
    gap: 18px;
}

.syllabus-class-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
    color: var(--istse-maroon-dark);
}

.syllabus-class-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--istse-maroon);
    color: #ffffff;
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 950;
    white-space: nowrap;
}

.syllabus-class-summary {
    color: #5F6B80;
    font-weight: 850;
}

.syllabus-class-accordion .accordion-body {
    padding: 0 26px 28px;
    background: #ffffff;
}

.syllabus-class-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(107, 23, 25, 0.08);
}

.syllabus-class-toolbar strong,
.syllabus-class-toolbar span {
    display: block;
}

.syllabus-class-toolbar strong {
    color: var(--istse-maroon-dark);
    font-size: 1.08rem;
    font-weight: 950;
}

.syllabus-class-toolbar span {
    color: #5F6B80;
}

.syllabus-subject-grid {
    display: grid;
    gap: 18px;
}

.syllabus-subject-card {
    padding: 24px;
    box-shadow: 0 12px 28px rgba(63, 13, 14, 0.05);
}

.syllabus-fair-card {
    background: #F1FAF5;
    border-color: rgba(11, 124, 69, 0.20);
}

.syllabus-subject-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.syllabus-subject-head i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.35rem;
}

.syllabus-fair-card .syllabus-subject-head i {
    background: #DDF6E8;
    color: #0B7C45;
}

.syllabus-subject-head h4 {
    color: var(--istse-maroon-dark);
    font-size: 1.14rem;
    font-weight: 950;
    margin-bottom: 4px;
}

.syllabus-subject-head p {
    color: #5F6B80;
    margin-bottom: 0;
}

.syllabus-marks-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.syllabus-marks-grid div {
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    padding: 14px 16px;
}

.syllabus-marks-grid span,
.syllabus-marks-grid strong,
.syllabus-marks-grid small {
    display: block;
}

.syllabus-marks-grid span {
    color: #64748B;
    font-weight: 900;
    font-size: 0.84rem;
    margin-bottom: 4px;
}

.syllabus-marks-grid strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 2px;
}

.syllabus-marks-grid small {
    color: #5F6B80;
}

.syllabus-marks-grid small b:first-child {
    color: var(--istse-success);
}

.syllabus-marks-grid small b:last-child {
    color: var(--istse-danger);
}

.syllabus-topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.syllabus-topic-list li {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(107, 23, 25, 0.10);
    border-radius: 12px;
    padding: 10px 12px 10px 34px;
    color: #374151;
    font-weight: 750;
    line-height: 1.35;
}

.syllabus-topic-list li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 10px;
    color: var(--istse-success);
    font-weight: 950;
}

.syllabus-download-card {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 18px;
    color: var(--istse-text);
    transition: all 0.22s ease;
}

.syllabus-download-card:hover,
.syllabus-download-card:focus {
    color: var(--istse-text);
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.58);
    box-shadow: 0 22px 45px rgba(63, 13, 14, 0.12);
}

.syllabus-download-card span {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.syllabus-download-card strong,
.syllabus-download-card small {
    display: block;
}

.syllabus-download-card strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

.syllabus-download-card small {
    color: #5F6B80;
    font-weight: 800;
}

.syllabus-faq {
    max-width: 920px;
    margin: 0 auto;
}

.syllabus-faq .accordion-item {
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(63, 13, 14, 0.05);
    margin-bottom: 12px;
}

.syllabus-faq .accordion-button {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    background: #ffffff;
    box-shadow: none;
}

.syllabus-faq .accordion-button:not(.collapsed) {
    background: #fff9eb;
    color: var(--istse-maroon-dark);
}

.syllabus-faq .accordion-body {
    color: #5F6B80;
    line-height: 1.65;
}

.syllabus-final-cta {
    background: #ffffff;
}

@media (max-width: 1199.98px) {
    .syllabus-hero {
        padding-top: 64px;
    }
}

@media (max-width: 991.98px) {
    .syllabus-hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 42px;
        margin-bottom: -26px;
        padding: 14px;
    }

    .syllabus-page-nav-wrap {
        top: var(--istse-header-height);
    }

    .syllabus-overview-grid {
        grid-template-columns: 1fr;
    }

    .syllabus-topic-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .syllabus-hero .container,
    .syllabus-section-white .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .syllabus-hero h1 {
        font-size: 2.35rem;
    }

    .syllabus-hero-classline {
        font-size: 1.45rem;
    }

    .syllabus-hero-lead,
    .syllabus-rich-text {
        font-size: 1rem;
    }

    .syllabus-hero-actions .btn {
        width: 100%;
    }

    .syllabus-hero-card {
        padding: 24px;
        border-radius: 24px;
    }

    .syllabus-hero-facts {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        border-radius: 20px;
    }

    .syllabus-page-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 14px 16px;
    }

    .syllabus-page-nav a {
        white-space: nowrap;
        font-size: 0.86rem;
        padding: 8px 14px;
    }

    .syllabus-mode-composition span,
    .syllabus-class-toolbar,
    .syllabus-subject-head {
        align-items: flex-start;
    }

    .syllabus-mode-composition span,
    .syllabus-class-toolbar {
        flex-direction: column;
    }

    .syllabus-mode-composition strong {
        text-align: left;
    }

    .syllabus-class-accordion .accordion-button {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .syllabus-class-accordion .accordion-body {
        padding: 0 20px 22px;
    }

    .syllabus-subject-card,
    .syllabus-mode-card,
    .syllabus-pattern-card {
        padding: 22px;
        border-radius: 20px;
    }

    .syllabus-marks-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Become Coordinator Page
========================================================= */
.coordinator-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background:
        radial-gradient(circle at 14% 12%, rgba(212, 175, 55, 0.25), transparent 24%),
        radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.08), transparent 26%),
        linear-gradient(135deg, #32110a 0%, var(--istse-maroon-dark) 38%, var(--istse-maroon) 100%);
    padding: 30px 0 0;
}

.coordinator-hero-shape {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.coordinator-hero-shape-one {
    width: 520px;
    height: 520px;
    right: -220px;
    top: -160px;
    background: rgba(212, 175, 55, 0.14);
}

.coordinator-hero-shape-two {
    width: 380px;
    height: 380px;
    left: -170px;
    bottom: 40px;
    background: rgba(255, 255, 255, 0.06);
}

.coordinator-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--istse-gold-light);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.coordinator-hero h1 {
    color: #ffffff;
    font-size: clamp(2.65rem, 5.4vw, 5.2rem);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
    max-width: 780px;
    margin-bottom: 14px;
}

.coordinator-hero-classline {
    color: var(--istse-gold-light);
    font-size: clamp(1.35rem, 2.5vw, 2.1rem);
    font-weight: 950;
    line-height: 1.12;
    margin-bottom: 22px;
}

.coordinator-hero-lead {
    color: rgba(255, 249, 235, 0.88);
    font-size: 1.14rem;
    line-height: 1.75;
    max-width: 760px;
    margin-bottom: 30px;
}

.coordinator-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.coordinator-hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}

.coordinator-hero-mini-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: rgba(255, 249, 235, 0.92);
    font-weight: 850;
    font-size: 0.92rem;
}

.coordinator-hero-mini-points i {
    color: var(--istse-gold-light);
}

.coordinator-hero-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    color: var(--istse-text);
    border: 1px solid rgba(212, 175, 55, 0.44);
    border-radius: 34px;
    padding: 36px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.coordinator-hero-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -60px;
    top: -60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.18);
}

.coordinator-card-kicker {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: var(--istse-maroon);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.coordinator-hero-card h2 {
    position: relative;
    z-index: 1;
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.14;
    margin-bottom: 22px;
}

.coordinator-fit-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
}

.coordinator-fit-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
}

.coordinator-fit-list i {
    color: var(--istse-success);
    font-size: 1.15rem;
    margin-top: 1px;
}

.coordinator-fit-list span {
    color: #4b5563;
    font-weight: 800;
    line-height: 1.45;
}

.coordinator-card-note {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon-dark);
    font-weight: 750;
    line-height: 1.5;
}

.coordinator-hero-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 72px;
    margin-bottom: -25px;
    padding: 16px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.34);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
}

.coordinator-hero-fact {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
    row-gap: 2px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 18px;
    background: #fffdf8;
}

.coordinator-hero-fact i {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--istse-maroon);
    background: var(--istse-gold-soft);
    font-size: 1.25rem;
}

.coordinator-hero-fact span {
    color: #5F6B80;
    font-size: 0.84rem;
    font-weight: 850;
}

.coordinator-hero-fact strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.25;
}

.coordinator-page-nav-wrap {
    position: sticky;
    top: var(--istse-header-height);
    z-index: 1000;
    background: linear-gradient(90deg, #3F0D0E 0%, #6B1719 55%, #8A2426 100%);
    box-shadow: 0 16px 34px rgba(63, 13, 14, 0.14);
}

.coordinator-page-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 0;
}

.coordinator-page-nav a {
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--istse-maroon-dark);
    background: #fff9eb;
    border: 1px solid rgba(212, 175, 55, 0.34);
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 900;
}

.coordinator-page-nav a:hover,
.coordinator-page-nav a:focus {
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
}

.coordinator-section-title,
.coordinator-heading-block h2 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 950;
    line-height: 1.1;
}

.coordinator-rich-text,
.coordinator-heading-block p {
    color: #5F6B80;
    font-size: 1.08rem;
    line-height: 1.75;
}

.coordinator-heading-block {
    max-width: 880px;
    margin: 0 auto 46px;
}

.coordinator-mode-card,
.coordinator-feature-card,
.coordinator-benefit-card,
.coordinator-role-grid div,
.coordinator-process-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(63, 13, 14, 0.06);
}

.coordinator-mode-card {
    padding: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
}

.coordinator-mode-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 18px;
}

.coordinator-mode-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.28);
    margin-bottom: 14px;
}

.coordinator-mode-row i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.coordinator-mode-row strong,
.coordinator-mode-row span {
    display: block;
}

.coordinator-mode-row strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 4px;
}

.coordinator-mode-row span {
    color: #5F6B80;
    line-height: 1.5;
}

.coordinator-mode-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon-dark);
    font-weight: 800;
    line-height: 1.5;
}

.coordinator-feature-card {
    height: 100%;
    padding: 30px 26px;
    transition: all 0.24s ease;
}

.coordinator-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.56);
    box-shadow: 0 24px 50px rgba(63, 13, 14, 0.12);
}

.coordinator-feature-card-highlight {
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
}

.coordinator-feature-card i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #EFE7D6;
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 20px;
}

.coordinator-feature-card h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 950;
    margin-bottom: 12px;
}

.coordinator-feature-card p {
    color: #5F6B80;
    line-height: 1.65;
    margin-bottom: 0;
}

.coordinator-role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.coordinator-role-grid div {
    padding: 24px;
    background: #fffdf8;
}

.coordinator-role-grid i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.coordinator-role-grid strong,
.coordinator-role-grid span {
    display: block;
}

.coordinator-role-grid strong {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 8px;
}

.coordinator-role-grid span {
    color: #5F6B80;
    line-height: 1.55;
}

.coordinator-dark-section {
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.20), transparent 28%), linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
}

.coordinator-dark-section h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 950;
    margin-bottom: 18px;
}

.coordinator-dark-section p {
    color: rgba(255, 249, 235, 0.86);
    font-size: 1.08rem;
    line-height: 1.7;
}

.coordinator-dark-card {
    background: #ffffff;
    color: var(--istse-text);
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.40);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.20);
    padding: 38px;
}

.coordinator-dark-card > i {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    font-size: 2rem;
    margin-bottom: 22px;
}

.coordinator-dark-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 16px;
}

.coordinator-dark-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coordinator-dark-card li {
    position: relative;
    padding-left: 28px;
    color: #5F6B80;
    font-weight: 800;
    line-height: 1.55;
    margin-bottom: 10px;
}

.coordinator-dark-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--istse-success);
    font-weight: 950;
}

.coordinator-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.coordinator-process-card {
    padding: 26px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.coordinator-process-card span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--istse-maroon);
    color: #ffffff;
    font-weight: 950;
    margin-bottom: 18px;
}

.coordinator-process-card h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.1rem;
    font-weight: 950;
    line-height: 1.25;
    margin-bottom: 10px;
}

.coordinator-process-card p {
    color: #5F6B80;
    line-height: 1.55;
    margin-bottom: 0;
}

.coordinator-faq {
    max-width: 920px;
    margin: 0 auto;
}

.coordinator-faq .accordion-item {
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(63, 13, 14, 0.05);
    margin-bottom: 12px;
}

.coordinator-faq .accordion-button {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    background: #ffffff;
    box-shadow: none;
}

.coordinator-faq .accordion-button:not(.collapsed) {
    background: #fff9eb;
    color: var(--istse-maroon-dark);
}

.coordinator-faq .accordion-body {
    color: #5F6B80;
    line-height: 1.65;
}

.coordinator-final-cta {
    background: #ffffff;
}

@media (max-width: 1199.98px) {
    .coordinator-hero-facts,
    .coordinator-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coordinator-page-nav-wrap {
        top: var(--istse-header-height);
    }
}

@media (max-width: 991.98px) {
    .coordinator-hero {
        padding-top: 64px;
    }

    .coordinator-hero-facts {
        margin-top: 42px;
        margin-bottom: -26px;
    }
}

@media (max-width: 767.98px) {
    .coordinator-hero .container,
    .coordinator-final-cta .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .coordinator-hero h1 {
        font-size: 2.35rem;
    }

    .coordinator-hero-classline {
        font-size: 1.35rem;
    }

    .coordinator-hero-lead,
    .coordinator-rich-text,
    .coordinator-heading-block p {
        font-size: 1rem;
    }

    .coordinator-hero-actions .btn {
        width: 100%;
    }

    .coordinator-hero-card,
    .coordinator-dark-card,
    .coordinator-mode-card {
        padding: 24px;
        border-radius: 24px;
    }

    .coordinator-hero-facts,
    .coordinator-role-grid,
    .coordinator-process {
        grid-template-columns: 1fr;
    }

    .coordinator-page-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 14px 16px;
    }

    .coordinator-page-nav a {
        white-space: nowrap;
        font-size: 0.86rem;
        padding: 8px 14px;
    }
}


/* =========================================================
   Toppers / Hall of Fame Page
========================================================= */
.toppers-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.20), transparent 30%),
        linear-gradient(135deg, var(--istse-maroon-dark) 0%, var(--istse-maroon) 58%, var(--istse-maroon-light) 100%);
    color: #ffffff;
    padding: 30px 0 82px;
    isolation: isolate;
}

.toppers-hero-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

.toppers-hero-shape-one {
    width: 420px;
    height: 420px;
    right: -150px;
    top: -120px;
    background: rgba(255, 255, 255, 0.08);
}

.toppers-hero-shape-two {
    width: 300px;
    height: 300px;
    left: -120px;
    bottom: -130px;
    background: rgba(212, 175, 55, 0.14);
}

.toppers-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--istse-gold-light);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.toppers-hero h1 {
    color: #ffffff;
    font-size: clamp(2.6rem, 5.2vw, 5.3rem);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.05em;
    max-width: 820px;
    margin-bottom: 20px;
}

.toppers-hero-lead {
    max-width: 760px;
    color: rgba(255, 249, 235, 0.88);
    font-size: 1.16rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

.toppers-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.toppers-hero-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 30px;
    padding: 34px;
    color: var(--istse-text);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.20);
}

.toppers-hero-card > span {
    display: inline-flex;
    color: var(--istse-maroon);
    background: var(--istse-gold-soft);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 950;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.toppers-hero-card h2 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    line-height: 1.16;
    margin-bottom: 18px;
}

.toppers-hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.toppers-hero-card li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #4b5563;
    font-weight: 850;
    margin-bottom: 10px;
}

.toppers-hero-card li i {
    color: var(--istse-maroon);
}

.toppers-hero-card small {
    display: block;
    color: #64748B;
    line-height: 1.55;
    border-top: 1px solid rgba(107, 23, 25, 0.10);
    padding-top: 14px;
}

.toppers-main-section {
    position: relative;
}

.toppers-heading-block {
    max-width: 820px;
    margin: 0 auto 34px;
}

.toppers-heading-block h2 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 12px;
}

.toppers-heading-block p {
    color: #5F6B80;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.topper-session-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 34px;
}

.topper-session-btn {
    border: 0;
    border-radius: 14px;
    padding: 14px 12px;
    min-height: 54px;
    color: #ffffff;
    font-weight: 950;
    line-height: 1.2;
    box-shadow: 0 14px 28px rgba(63, 13, 14, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.topper-session-btn:hover,
.topper-session-btn:focus,
.topper-session-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(63, 13, 14, 0.16);
    filter: saturate(1.12);
}

.topper-session-btn.active {
    outline: 4px solid rgba(212, 175, 55, 0.36);
}

.topper-session-green { background: #169A3A; }
.topper-session-yellow { background: #F1CE19; color: #251A00; }
.topper-session-blue { background: #3D73C7; }
.topper-session-gold { background: #BF8200; }
.topper-session-purple { background: #9B63C7; }
.topper-session-maroon { background: #8C0C0C; }
.topper-session-charcoal { background: #29334B; }
.topper-session-red { background: #F64C31; }

.toppers-results-shell {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(63, 13, 14, 0.10);
    overflow: hidden;
}

.toppers-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    border-bottom: 1px solid rgba(107, 23, 25, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
}

.toppers-result-label {
    display: block;
    color: #64748B;
    font-weight: 900;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.toppers-result-header h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin: 0;
}

.toppers-result-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5F6B80;
    font-weight: 800;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 999px;
    padding: 9px 14px;
    white-space: nowrap;
}

.toppers-result-note i {
    color: var(--istse-maroon);
}

.toppers-status {
    padding: 0 30px;
}

.toppers-inline-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--istse-maroon-dark);
    background: var(--istse-gold-soft);
    border: 1px solid rgba(212, 175, 55, 0.36);
    border-radius: 16px;
    padding: 13px 16px;
    margin-top: 22px;
}

.toppers-result-legacy {
    padding: 28px 30px 34px;
    text-align: center;
}

.toppers-loading-card,
.toppers-error-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5F6B80;
}

.toppers-loading-card p {
    color: var(--istse-maroon-dark);
    font-weight: 900;
    margin: 14px 0 0;
}

.toppers-error-card i {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    font-size: 2rem;
    margin-bottom: 18px;
}

.toppers-error-card h3 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
}

/* Modern styling for the legacy ASMX output */
.toppers-result-legacy > .container,
.toppers-result-legacy .container {
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.toppers-result-legacy .btn,
.toppers-result-legacy a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 999px !important;
    min-width: 88px;
    padding: 8px 13px !important;
    margin: 4px 3px !important;
    font-weight: 900 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.toppers-result-legacy .btn-green { background: #169A3A !important; color: #ffffff !important; }
.toppers-result-legacy .btn-darkblue { background: #3D73C7 !important; color: #ffffff !important; }
.toppers-result-legacy .btn-green.is-active-class,
.toppers-result-legacy .btn-green:hover {
    outline: 4px solid rgba(22, 154, 58, 0.16);
}

.toppers-result-legacy .section-title,
.toppers-result-legacy .editContent {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.toppers-result-legacy h3 {
    color: var(--istse-maroon-dark);
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    font-weight: 950;
    margin: 22px 0 10px;
}

.toppers-result-legacy p {
    color: #4b5563;
}

.toppers-result-legacy .portfolio-items-list ul,
.toppers-result-legacy ul.topper-card-grid {
    list-style: none !important;
    padding: 0 !important;
    margin: 18px 0 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.toppers-result-legacy li.portfolio-item,
.toppers-result-legacy .topper-card-item {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(63, 13, 14, 0.08);
}

.toppers-result-legacy li.portfolio-item > p:first-child {
    background: linear-gradient(135deg, #0088CC, #006DA3) !important;
    color: #ffffff !important;
    font-weight: 950;
    padding: 9px 10px !important;
    margin: 0 !important;
}

.toppers-result-legacy .hover-overlay {
    position: relative;
    background: #f8f5ef;
    min-height: 220px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.toppers-result-legacy .hover-overlay img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    display: block;
}

.toppers-result-legacy .topper-image-fallback {
    object-fit: contain !important;
    padding: 38px;
    background: #fff9eb;
}

.toppers-result-legacy .item-overlay {
    display: none;
}

.toppers-result-legacy .box-overlay,
.toppers-result-legacy .topper-card-caption {
    display: block;
    background: #D6E8CC;
    color: #111827;
    min-height: 70px;
    padding: 12px 10px;
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: center;
}

.toppers-result-legacy .p-bottom-30,
.toppers-result-legacy .p-bottom-10 {
    text-align: left !important;
    color: #4b5563;
    line-height: 1.7;
}

.toppers-result-legacy .ti-check::before,
.toppers-result-legacy .fa-times::before {
    font-family: inherit;
    font-weight: 950;
    margin-right: 4px;
}

.toppers-result-legacy .ti-check::before { content: "✓"; color: var(--istse-success); }
.toppers-result-legacy .fa-times::before { content: "×"; color: var(--istse-danger); }

.toppers-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.toppers-info-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 30px rgba(63, 13, 14, 0.06);
}

.toppers-info-card i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.toppers-info-card h3 {
    color: var(--istse-maroon-dark);
    font-size: 1.12rem;
    font-weight: 950;
    margin-bottom: 9px;
}

.toppers-info-card p {
    color: #5F6B80;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1199.98px) {
    .topper-session-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .toppers-result-legacy .portfolio-items-list ul,
    .toppers-result-legacy ul.topper-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .toppers-hero {
        padding: 72px 0 60px;
    }

    .toppers-info-grid {
        grid-template-columns: 1fr;
    }

    .toppers-result-legacy .portfolio-items-list ul,
    .toppers-result-legacy ul.topper-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .toppers-hero .container,
    .toppers-main-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .toppers-hero h1 {
        font-size: 2.45rem;
    }

    .toppers-hero-lead {
        font-size: 1rem;
    }

    .toppers-hero-actions .btn {
        width: 100%;
    }

    .toppers-hero-card {
        padding: 26px;
        border-radius: 24px;
    }

    .topper-session-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .topper-session-btn {
        min-height: 50px;
        padding: 11px 9px;
        font-size: 0.9rem;
    }

    .toppers-result-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .toppers-result-note {
        white-space: normal;
    }

    .toppers-status,
    .toppers-result-legacy {
        padding-left: 18px;
        padding-right: 18px;
    }

    .toppers-result-legacy .portfolio-items-list ul,
    .toppers-result-legacy ul.topper-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}


/* =========================================================
   Header additions, modal fix, Toppers/Coordinator photo heroes,
   FAQ page and Contact page
========================================================= */
.nav-link-iconic {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.nav-link-iconic i {
    font-size: 0.95rem;
}

@media (min-width: 1200px) {
    .navbar-nav .nav-link {
        padding: 8px 10px !important;
        font-size: 0.94rem;
    }
}

/* =========================================================
   Registration Modal Layer Fix
   Backdrop must stay behind modal content
========================================================= */

.modal-backdrop {
    z-index: 4900 !important;
}

    .modal-backdrop.show {
        z-index: 4900 !important;
    }

#registrationModal {
    z-index: 5000 !important;
    --bs-modal-zindex: 5000;
}

    /* Keep clicks active inside modal */
    #registrationModal .modal-dialog,
    #registrationModal .modal-content,
    #registrationModal .modal-body,
    #registrationModal iframe {
        position: relative;
        z-index: 5001;
        pointer-events: auto;
    }

/* Do not let the modal wrapper itself block child clicks incorrectly */
#registrationModal {
    pointer-events: none;
}

    #registrationModal .modal-dialog {
        pointer-events: auto;
    }

.toppers-hero-photo {
    padding: 30px 0 82px;
}

.toppers-hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.toppers-hero-mini-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: rgba(255, 249, 235, 0.95);
    font-weight: 850;
    font-size: 0.92rem;
}

.toppers-hero-mini-points i {
    color: var(--istse-gold-light);
}

.toppers-hero-media,
.coordinator-hero-media {
    position: relative;
}

.toppers-hero-photo-img,
.coordinator-hero-photo-img {
    display: block;
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.26);
}

.toppers-hero-floating-card {
    position: absolute;
    left: 15px;
    top: 15px;
    padding: 22px 24px;
    border-radius: 24px;
    max-width: 230px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(212, 175, 55, 0.38);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    color: var(--istse-text);
}

.toppers-hero-floating-card span {
    display: inline-flex;
    color: var(--istse-maroon);
    background: var(--istse-gold-soft);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 950;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.toppers-hero-floating-card h2 {
    color: var(--istse-maroon-dark);
    font-size: 1.5rem;
    font-weight: 950;
    line-height: 1.18;
    margin-bottom: 14px;
}

.toppers-hero-floating-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.toppers-hero-floating-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4b5563;
    font-weight: 800;
}

.toppers-hero-floating-card li i {
    color: var(--istse-success);
    font-size: 1rem;
    margin-top: 2px;
}

.coordinator-hero-photo-style {
    padding-bottom: 0;
}

.coordinator-hero-overlay-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(212, 175, 55, 0.38);
    box-shadow: 0 20px 48px rgba(0,0,0,0.18);
    color: var(--istse-text);
}

.coordinator-fit-list.compact {
    gap: 10px;
}

.coordinator-fit-list.compact div {
    padding: 12px 14px;
}

.faq-hero {
    background: linear-gradient(180deg, #fffefb 0%, #fff8ea 100%);
    padding: 82px 0 56px;
}

.faq-hero-title,
.contact-hero-title {
    color: var(--istse-maroon-dark);
    font-size: clamp(2.4rem, 4.4vw, 4.2rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.faq-hero-lead,
.contact-hero-lead {
    font-size: 1.08rem;
    color: #5F6B80;
    line-height: 1.75;
    max-width: 760px;
    margin-bottom: 24px;
}

.faq-hero-actions,
.contact-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.faq-hero-card,
.contact-hero-card,
.contact-info-panel,
.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 28px;
    box-shadow: 0 22px 56px rgba(63, 13, 14, 0.10);
}

.faq-hero-card {
    padding: 30px;
}

.faq-hero-card > span,
.contact-hero-card h2 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
}

.faq-hero-card > span {
    display: inline-flex;
    background: var(--istse-gold-soft);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 16px;
}

.faq-hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    gap: 14px;
}

.faq-hero-card li {
    display: flex;
    gap: 12px;
    color: #4b5563;
    font-weight: 800;
}

.faq-hero-card li i {
    color: var(--istse-maroon);
}

.faq-hero-cta-stack,
.contact-hero-cta-stack {
    display: grid;
    gap: 12px;
}

.faq-topic-bar-wrap {
    padding-top: 0;
}

.faq-topic-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    justify-content: center;
    padding: 12px;
    border-radius: 999px;
    background: #fffdf8;
    border: 1px solid rgba(212, 175, 55, 0.30);
    box-shadow: 0 12px 28px rgba(63, 13, 14, 0.08);
}

.faq-topic-bar a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--istse-maroon-dark);
    border: 1px solid rgba(107, 23, 25, 0.12);
    font-weight: 850;
}

.faq-topic-bar a:hover {
    background: var(--istse-gold-soft);
    border-color: rgba(212, 175, 55, 0.5);
}

.faq-section-head p {
    color: #5F6B80;
    max-width: 760px;
    margin: 0 auto 34px;
}

.faq-accordion {
    max-width: 980px;
    margin: 0 auto;
}

.faq-accordion .accordion-item,
.online-faq .accordion-item,
.school-faq .accordion-item,
.coordinator-faq .accordion-item {
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 18px !important;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 14px;
    box-shadow: 0 10px 28px rgba(63, 13, 14, 0.05);
}

.faq-accordion .accordion-button,
.online-faq .accordion-button,
.school-faq .accordion-button,
.coordinator-faq .accordion-button {
    font-weight: 850;
    color: var(--istse-maroon-dark);
    background: #ffffff;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed),
.online-faq .accordion-button:not(.collapsed),
.school-faq .accordion-button:not(.collapsed),
.coordinator-faq .accordion-button:not(.collapsed) {
    background: #fffdf8;
    color: var(--istse-maroon-dark);
}

.faq-accordion .accordion-body,
.online-faq .accordion-body,
.school-faq .accordion-body,
.coordinator-faq .accordion-body {
    color: #4b5563;
    line-height: 1.7;
}

.faq-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--istse-maroon-dark), var(--istse-maroon));
    color: #ffffff;
    box-shadow: 0 28px 60px rgba(63, 13, 14, 0.18);
}

.faq-cta-band h3 {
    color: #ffffff;
    margin: 6px 0 0;
    font-weight: 900;
}

.faq-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-hero {
    background: linear-gradient(180deg, #fffefb 0%, #fff8ea 100%);
    padding: 30px 0 56px;
}

.contact-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.32);
    font-weight: 800;
    color: #4b5563;
}

.contact-hero-card,
.contact-info-panel,
.contact-form-card {
    padding: 30px;
}

.contact-hero-card h2,
.contact-info-panel h2,
.contact-form-card h2 {
    color: var(--istse-maroon-dark);
    font-weight: 950;
    margin-bottom: 12px;
}

.contact-info-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: start;
}

.contact-info-item i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    font-size: 1.1rem;
}

.contact-info-item strong {
    display: block;
    color: var(--istse-maroon-dark);
    font-weight: 900;
    margin-bottom: 4px;
}

.contact-info-item span,
.contact-form-note,
.contact-form-status,
.contact-info-panel p {
    color: #5F6B80;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--istse-maroon);
    color: #ffffff;
    font-size: 1.05rem;
}

.contact-socials a:hover {
    background: var(--istse-maroon-dark);
    color: #ffffff;
}

.contact-form-card .form-label {
    color: var(--istse-maroon-dark);
    font-weight: 800;
}

.contact-form-card .form-control {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(107, 23, 25, 0.14);
    box-shadow: none;
}

.contact-form-card textarea.form-control {
    min-height: 150px;
}

.contact-form-card .form-control:focus {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 0 0.18rem rgba(212, 175, 55, 0.14);
}

@media (max-width: 991.98px) {
    .toppers-hero-floating-card,
    .coordinator-hero-overlay-card {
        position: static;
        margin-top: 18px;
    }

    .toppers-hero-photo-img,
    .coordinator-hero-photo-img {
        min-height: 320px;
    }

    .faq-cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .faq-hero,
    .contact-hero {
        padding: 56px 0 40px;
    }

    .faq-topic-bar {
        justify-content: flex-start;
        border-radius: 22px;
    }

    .faq-hero-card,
    .contact-hero-card,
    .contact-info-panel,
    .contact-form-card {
        padding: 24px;
        border-radius: 22px;
    }

    .contact-info-item {
        grid-template-columns: 42px 1fr;
    }
}


/* =========================================================
   Online Sticky Register Button + Legal/Download Pages
========================================================= */
.online-sticky-register-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2300;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--istse-maroon), var(--istse-maroon-dark));
    color: #ffffff !important;
    border: 2px solid rgba(212, 175, 55, 0.65);
    box-shadow: 0 18px 40px rgba(63, 13, 14, 0.30);
    font-weight: 950;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.online-sticky-register-btn i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--istse-gold);
    color: var(--istse-maroon-dark);
    font-size: 1.05rem;
}

.online-sticky-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(63, 13, 14, 0.38);
}

.legal-hero {
    background: radial-gradient(circle at 12% 10%, rgba(212,175,55,0.17), transparent 28%), linear-gradient(180deg, #fffefb 0%, #fff8ea 100%);
    padding: 76px 0 44px;
}

.legal-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    background: #ffffff;
    padding: clamp(28px, 5vw, 56px);
    box-shadow: 0 26px 65px rgba(63, 13, 14, 0.10);
}

.legal-hero-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.16);
}

.legal-hero-icon {
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    font-size: 1.8rem;
    margin-bottom: 22px;
}

.legal-hero h1 {
    color: var(--istse-maroon-dark);
    font-size: clamp(2.3rem, 4.8vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 950;
    max-width: 900px;
    margin: 10px 0 16px;
}

.legal-hero p {
    max-width: 780px;
    color: #5F6B80;
    font-size: 1.1rem;
    line-height: 1.75;
    margin: 0;
}

.legal-content-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 30px;
    padding: clamp(24px, 4vw, 46px);
    box-shadow: 0 22px 56px rgba(63, 13, 14, 0.07);
}

.legal-content-card h2 {
    color: var(--istse-maroon-dark);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 950;
    margin: 34px 0 14px;
}

.legal-content-card h2:first-child,
.legal-content-card .legal-updated + h2 {
    margin-top: 18px;
}

.legal-content-card h3 {
    color: var(--istse-maroon);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.legal-content-card p,
.legal-content-card li {
    color: #4b5563;
    line-height: 1.78;
    font-size: 1rem;
}

.legal-content-card a {
    color: var(--istse-maroon);
    font-weight: 850;
}

.legal-updated {
    padding: 13px 16px;
    border-radius: 14px;
    background: #fff8e8;
    border: 1px solid rgba(212, 175, 55, 0.28);
}

.legal-list {
    padding-left: 1.25rem;
}

.legal-list li {
    margin-bottom: 10px;
}

.legal-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.legal-grid-two > div {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: #fffdf8;
}

.downloads-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 34px;
}

.downloads-intro h2 {
    margin-top: 8px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0 34px;
}

.download-card {
    display: grid;
    gap: 8px;
    min-height: 150px;
    align-content: center;
    padding: 20px;
    border-radius: 22px;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.30);
    background: #fffdf8;
    color: var(--istse-maroon-dark);
    box-shadow: 0 14px 34px rgba(63, 13, 14, 0.05);
}

.download-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.65);
    color: var(--istse-maroon-dark);
}

.download-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--istse-gold-soft);
    color: var(--istse-maroon);
    font-size: 1.3rem;
}

.download-card span {
    font-weight: 950;
    color: var(--istse-maroon);
}

.download-card strong {
    font-size: 0.95rem;
    line-height: 1.35;
}

.download-resource-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: #fffdf8;
    margin-bottom: 20px;
}

.download-resource-row h3 {
    margin-bottom: 4px;
}

.download-resource-row p {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .downloads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-grid-two {
        grid-template-columns: 1fr;
    }

    .download-resource-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .online-sticky-register-btn {
        right: 14px;
        bottom: 14px;
        padding: 12px;
    }

    .online-sticky-register-btn span {
        display: none;
    }

    .online-sticky-register-btn i {
        width: 42px;
        height: 42px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .legal-hero {
        padding: 48px 0 30px;
    }
}
