:root {
    --deep-teal: #0D4A4A;
    --mid-teal: #1A7A6E;
    --accent-gold: #C8963A;
    --light-sage: #E8F2F0;
    --warm-white: #FAF8F5;
    --ink: #1C1C1E;
    --muted: #6B7280;
    --divider: #D1E5E2;
    --radius: 14px;
    --shadow-soft: 0 4px 24px rgba(13, 74, 74, 0.09);
    --shadow-hover: 0 12px 40px rgba(13, 74, 74, 0.18);
    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* alternating band colours */
    --band-light: #FAF8F5;
    /* warm white */
    --band-dark: #0D4A4A;
    /* deep teal  */
    --band-mid: #F0F7F6;
    /* very light sage */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ════════════════════════════════
     HERO — LIGHT
  ════════════════════════════════ */
.hero {
    position: relative;
    background: var(--band-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid var(--divider);
    overflow: hidden;
}

/* subtle dot texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1.2' fill='%231A7A6E' opacity='0.08'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hero-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mid-teal), var(--deep-teal));
    margin-bottom: 22px;
    animation: pulse-ring 2.8s ease-in-out infinite;
}

.hero-emblem svg {
    width: 38px;
    height: 38px;
    fill: #fff;
}

@keyframes pulse-ring {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(26, 122, 110, 0.35);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(26, 122, 110, 0);
    }
}

.hero-eyebrow {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid-teal);
    margin-bottom: 10px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--deep-teal);
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--muted);
    max-width: 940px;
    margin: 0 auto 32px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hero-pill {
    background: #fff;
    border: 1.5px solid var(--divider);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 15px;
    color: var(--deep-teal);
    font-weight: 500;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.hero-pill:hover {
    background: var(--light-sage);
    border-color: var(--mid-teal);
    transform: translateY(-2px);
}

/* ════════════════════════════════
     BANDS — alternating
  ════════════════════════════════ */
.band {
    width: 100%;
    padding: 60px 24px;
}

.band-light {
    background: var(--band-light);
}

.band-mid {
    background: var(--band-mid);
}

.band-dark {
    background: var(--band-dark);
}

.band-inner {
    max-width: 1060px;
    margin: 0 auto;
}

/* ════════════════════════════════
     SECTION HEADINGS
  ════════════════════════════════ */
.section-eyebrow {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.band-light .section-eyebrow,
.band-mid .section-eyebrow {
    color: var(--mid-teal);
}

.band-dark .section-eyebrow {
    color: rgba(255, 255, 255, 0.55);
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 36px;
    position: relative;
    padding-bottom: 16px;
    display: inline-block;
}

.band-light .section-heading,
.band-mid .section-heading {
    color: var(--deep-teal);
}

.band-dark .section-heading {
    color: #fff;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-heading:hover::after {
    width: 100%;
}

/* ════════════════════════════════
     COURSE CARDS
  ════════════════════════════════ */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.course-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1.5px solid var(--divider);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    animation: slide-up 0.55s both;
}

.course-card:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--mid-teal);
}

.ccard-header {
    padding: 24px 26px 18px;
    background: linear-gradient(120deg, var(--deep-teal), var(--mid-teal));
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ccard-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ccard-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.ccard-header-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.ccard-header-text span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.ccard-body {
    padding: 22px 26px 26px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 100px;
    background: var(--light-sage);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--deep-teal);
    transition: background var(--transition), transform var(--transition);
}

.meta-chip:hover {
    background: #C0DDD8;
    transform: scale(1.04);
}

.meta-chip svg {
    width: 13px;
    height: 13px;
    fill: var(--mid-teal);
}

/* ════════════════════════════════
     ELIGIBILITY BLOCKS (on dark band)
  ════════════════════════════════ */
.eblock {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 24px;
    transition: background var(--transition), border-color var(--transition);
    animation: slide-up 0.55s both;
}

.eblock:nth-child(2) {
    animation-delay: 0.08s;
}

.eblock:nth-child(3) {
    animation-delay: 0.16s;
}

.eblock:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.28);
}

/* eligibility blocks on light / mid band */
.band-light .eblock,
.band-mid .eblock {
    background: #fff;
    border: 1.5px solid var(--divider);
    box-shadow: var(--shadow-soft);
}

.band-light .eblock:hover,
.band-mid .eblock:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--mid-teal);
    background: #fff;
}

.eb-label {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.band-dark .eb-label {
    color: rgba(255, 255, 255, 0.65);
}

.band-light .eb-label,
.band-mid .eb-label {
    color: var(--mid-teal);
}

.eb-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.eb-text {
    font-size: 14.5px;
    line-height: 1.78;
}

.band-dark .eb-text {
    color: rgba(255, 255, 255, 0.8);
}

.band-light .eb-text,
.band-mid .eb-text {
    color: #374151;
}

/* ════════════════════════════════
     PERCENTILE TABLE
  ════════════════════════════════ */
.ptable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    font-size: 13.5px;
    border-radius: 10px;
    overflow: hidden;
}

.ptable th {
    padding: 11px 16px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.band-dark .ptable th {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.band-light .ptable th,
.band-mid .ptable th {
    background: var(--deep-teal);
    color: #fff;
}

.ptable td {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s;
}

.band-dark .ptable td {
    color: rgba(255, 255, 255, 0.82);
}

.band-light .ptable td,
.band-mid .ptable td {
    color: #374151;
    border-bottom-color: var(--divider);
}

.band-dark .ptable tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.04);
}

.band-light .ptable tr:nth-child(even) td,
.band-mid .ptable tr:nth-child(even) td {
    background: #F5FAFA;
}

.band-dark .ptable tr:hover td {
    background: rgba(255, 255, 255, 0.09);
}

.band-light .ptable tr:hover td,
.band-mid .ptable tr:hover td {
    background: #E2F2EF;
}

.ptable tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
}

.badge-50 {
    background: #D1FAE5;
    color: #065F46;
}

.badge-45 {
    background: #FEF3C7;
    color: #92400E;
}

.badge-40 {
    background: #FEE2E2;
    color: #991B1B;
}

/* ════════════════════════════════
     SUBJECT GRID
  ════════════════════════════════ */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330.33px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.subject-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    border-radius: 10px;
    border: 1px solid;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
    cursor: default;
}

.band-dark .subject-item {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.band-dark .subject-item:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.band-light .subject-item,
.band-mid .subject-item {
    background: var(--light-sage);
    border-color: var(--divider);
}

.band-light .subject-item:hover,
.band-mid .subject-item:hover {
    background: #C8E6E0;
    border-color: var(--mid-teal);
    transform: translateX(4px);
}

.subject-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.band-dark .subject-num {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.band-light .subject-num,
.band-mid .subject-num {
    background: var(--mid-teal);
    color: #fff;
}

.subject-name {
    font-size: 15px;
    font-weight: 500;

}

.band-dark .subject-name {
    color: rgba(255, 255, 255, 0.88);
}

.band-light .subject-name,
.band-mid .subject-name {
    color: var(--deep-teal);
}

/* ════════════════════════════════
     HIGHLIGHT NOTE
  ════════════════════════════════ */
.info-note {
    display: flex;
    gap: 13px;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    border-left: 4px solid var(--accent-gold);
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.65;
}

.band-dark .info-note {
    background: rgba(200, 150, 58, 0.12);
    color: rgba(255, 255, 255, 0.78);
}

.band-light .info-note,
.band-mid .info-note {
    background: linear-gradient(90deg, #FFF8EC, #FFFDF7);
    color: #5C4A1A;
}

.info-note svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    fill: var(--accent-gold);
    margin-top: 2px;
}

/* ════════════════════════════════
     SCROLL REVEAL
  ════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════
     FOOTER
  ════════════════════════════════ */
.site-footer {
    background: #071F1F;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 26px 24px;
    font-size: 14.5px;
    letter-spacing: 0.04em;
}

@media (max-width: 640px) {
    .band {
        padding: 44px 16px;
    }

    .eblock {
        padding: 20px 18px;
    }

    .ptable th,
    .ptable td {
        padding: 9px 10px;
        font-size: 15px;
    }
}