/* DOIM | Divine Open Institute of Management — public website
   Brand: navy #1B2A4A + gold #C9A24D */
:root {
    --primary: #1B2A4A;
    --primary-dark: #14203A;
    --primary-deep: #0E172B;
    --secondary: #C9A24D;
    --secondary-dark: #8C6D2C;
    /* secondary for small text on light backgrounds */
    --secondary-light: #EAD7A8;
    /* secondary tint for text on dark backgrounds */
    --tint: #F4F6FA;
    --tint-2: #EBEFF6;
    --line: #DDE3EE;
    --ink: #172033;
    --muted: #5F6B80;
    --white: #fff;
    --font: 'Inter', system-ui, sans-serif;
    --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    background: #fff
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

a {
    color: inherit;
    text-decoration: none
}

.button:disabled,
.button.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Top bar ===== */
.topbar {
    background: var(--primary);
    color: #fff;
    font: 500 12px/1.4 var(--font);
}

.topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.topbar-inner div {
    display: flex;
    gap: 22px;
    flex-wrap: wrap
}

.topbar a {
    color: #fff
}

.topbar a:hover {
    color: var(--secondary)
}

.topbar-motto {
    font-style: italic;
    color: var(--secondary)
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto
}

/* ===== Header ===== */
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0
}

.brand-logo {
    display: block;
    width: 145px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.brand-footer .brand-logo {
    width: 155px;
    height: 52px
}

.site-header {
    height: 88px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(27, 42, 74, .1)
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 31px
}

.main-nav>a {
    font-size: 12px;
    font-weight: 700;
    color: #2B3445;
    transition: .2s
}

.main-nav>a:hover {
    color: var(--primary)
}

.main-nav .nav-cta {
    padding: 12px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 3px
}

.main-nav .nav-cta:hover {
    background: var(--secondary);
    color: var(--primary)
}

.nav-cta span,
.button span {
    margin-left: 13px
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px
}

/* ===== Hero ===== */
.hero {
    min-height: 660px;
    position: relative;
    display: block;
    color: #fff;
    background: var(--primary-deep);
    overflow: hidden
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 23, 43, .96) 0%, rgba(20, 32, 58, .86) 43%, rgba(20, 32, 58, .25) 100%), linear-gradient(0deg, rgba(14, 23, 43, .4), transparent 60%)
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 100px
}

/* Slider */
.hero-slider {
    display: grid;
    position: relative
}

.hero-slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 660px;
    background: var(--primary-deep) var(--bg) center 43% / cover no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1
}

.hero-slide .hero-content {
    width: min(1160px, calc(100% - 48px));
    transform: translateY(14px);
    opacity: 0;
    transition: transform .8s ease .25s, opacity .8s ease .25s;
}

.hero-slide.is-active .hero-content {
    transform: none;
    opacity: 1
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 77, .7);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.hero-arrow:hover {
    background: var(--secondary);
    color: var(--primary)
}

.hero-dots {
    display: flex;
    gap: 8px
}

.hero-dot {
    width: 26px;
    height: 3px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .3s, width .3s;
}

.hero-dot.is-active {
    background: var(--secondary);
    width: 44px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px
}

.eyebrow>span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    display: inline-block
}

.eyebrow.light {
    color: var(--secondary-light)
}

.hero h1 {
    font: 800 clamp(48px, 7vw, 82px)/1.08 var(--display);
    letter-spacing: -4px;
    margin: 27px 0 22px;
    max-width: 720px
}

/* Accent words: secondary on dark backgrounds, primary on light */
.hero h1 em,
.values-heading h2 em,
.admissions-copy h2 em {
    font-style: normal;
    color: var(--secondary)
}

.button:disabled,
.button.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.section-heading h2 em,
.about-copy h2 em,
.mission-card h2 em,
.vision-card h2 em,
.learning-copy h2 em {
    font-style: normal;
    color: var(--primary)
}

.hero-lead {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .82);
    max-width: 550px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 34px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    border: 0;
    border-radius: 3px;
    font: 700 12px var(--font);
    cursor: pointer;
    transition: transform .2s, background .2s, color .2s
}

.button:hover {
    transform: translateY(-2px)
}

/* Main call-to-action on dark backgrounds: secondary fill, primary text */
.button-light {
    background: var(--secondary);
    color: var(--primary)
}

.button-light:hover {
    background: var(--secondary-light)
}

.text-link {
    font-size: 12px;
    font-weight: 700
}

.light-link {
    color: #fff
}

.light-link:hover {
    color: var(--secondary)
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 76px;
    color: rgba(255, 255, 255, .7);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px
}

.note-line {
    height: 1px;
    width: 38px;
    background: var(--secondary)
}

/* Stamp: one inside every slide */
.hero-stamp {
    position: absolute;
    right: max(5%, calc((100% - 1160px)/2));
    bottom: 90px;
    border: 1px solid rgba(201, 162, 77, .8);
    width: 115px;
    height: 115px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(9deg);
    color: #fff
}

.hero-stamp strong {
    font: 800 30px var(--display);
    color: var(--secondary)
}

.hero-stamp span {
    font-size: 7px;
    letter-spacing: 1.5px;
    text-align: center;
    line-height: 1.4
}

.hero-slide .hero-stamp {
    z-index: 2;
    opacity: 0;
    transform: rotate(0deg) scale(.85);
    transition: opacity .8s ease .45s, transform .8s ease .45s;
}

.hero-slide.is-active .hero-stamp {
    opacity: 1;
    transform: rotate(9deg) scale(1)
}

/* ===== Intro strip ===== */
.intro-strip {
    background: var(--tint);
    border-bottom: 1px solid var(--line)
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    align-items: center;
    min-height: 145px;
    gap: 30px
}

.intro-grid>p {
    font: 500 18px/1.45 var(--display);
    margin: 0;
    color: #2B3445
}

.intro-grid>p strong {
    color: var(--primary);
    font-size: 22px
}

.motto-line {
    display: block;
    margin-top: 8px;
    font: 700 11px var(--font);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary-dark);
}

.intro-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 1px solid var(--secondary);
    padding-left: 28px
}

.intro-stat strong {
    font: 800 27px var(--display);
    color: var(--primary)
}

.intro-stat span {
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    font-weight: 600
}

/* ===== About ===== */
.section {
    padding: 112px 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 95px;
    align-items: center
}

.about-visual {
    position: relative;
    padding: 0 35px 35px 0
}

.about-visual>img {
    height: 480px;
    object-fit: cover
}

.about-visual:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 70%;
    background: var(--tint-2)
}

.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 14px;
    font: 600 12px/1.5 var(--display)
}

.caption-icon {
    font-size: 25px;
    color: var(--secondary)
}

.visual-index {
    position: absolute;
    right: 48px;
    top: 18px;
    color: #fff;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 1px 5px #333
}

.about-copy h2,
.section-heading h2,
.values-heading h2,
.learning-copy h2,
.admissions-copy h2 {
    font: 800 clamp(37px, 4.4vw, 54px)/1.16 var(--display);
    letter-spacing: -2px;
    margin: 22px 0
}

.section-lead {
    font: 600 17px/1.7 var(--display);
    color: #2B3445
}

.about-copy>p:not(.section-lead) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 8px
}

.arrow-link span {
    font-size: 17px
}

.arrow-link:hover {
    color: var(--secondary-dark)
}

/* ===== Mission & vision ===== */
.mission-section {
    background: var(--tint);
    padding: 86px 0
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line)
}

.mission-card,
.vision-card {
    padding: 44px 55px 48px;
    background: var(--tint)
}

.section-number {
    font-size: 9px;
    letter-spacing: 1.8px;
    font-weight: 800;
    color: var(--secondary-dark)
}

.mission-symbol {
    font-size: 32px;
    color: var(--primary);
    margin: 26px 0 12px
}

.mission-card h2,
.vision-card h2 {
    font: 800 29px/1.3 var(--display);
    letter-spacing: -1px;
    margin: 0 0 20px
}

.mission-card p,
.vision-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
    margin: 0
}

/* ===== Programmes ===== */
.programmes-section {
    background: #fff
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 45px
}

.section-heading h2 {
    margin-bottom: 0
}

.section-heading>p {
    max-width: 390px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 7px
}

.programmes-subhead {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 65px 0 25px
}

.programmes-subhead h3 {
    font: 800 26px var(--display);
    margin: 9px 0 0
}

.subhead-note {
    font-size: 11px;
    color: var(--muted)
}

.programme-db-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.programme-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px
}

.programme-levels a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none
}

.programme-levels a:hover {
    border-color: var(--secondary);
    color: var(--secondary-dark)
}

.programme-levels a span {
    background: var(--tint-2);
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 12px
}

.programme-level-title {
    font: 800 24px var(--display);
    color: var(--primary);
    margin: 48px 0 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    scroll-margin-top: 100px
}

.programme-db-card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--secondary);
    display: grid;
    grid-template-columns: minmax(130px, .8fr) 1.2fr;
    overflow: hidden;
}

.programme-db-image {
    min-height: 260px;
    background: var(--tint-2)
}

.programme-db-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.programme-image-placeholder {
    height: 100%;
    min-height: 260px;
    display: grid;
    place-items: center;
    color: var(--primary);
    font: 800 34px var(--display);
}

.programme-db-content {
    padding: 24px
}

.programme-db-content h3 {
    margin: 10px 0;
    color: var(--primary)
}

.programme-db-content p {
    line-height: 1.7
}

.level-no {
    font: 800 30px var(--display);
    color: var(--secondary)
}

.programme-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0
}

.programme-meta span {
    display: grid;
    gap: 5px
}

.programme-meta small {
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--secondary-dark)
}

.programme-meta strong {
    font-size: 13px;
    color: var(--primary)
}

.programme-empty {
    grid-column: 1/-1;
    padding: 25px;
    background: var(--tint)
}


/* =========================================
   COURSE UNITS – MODERN UI/UX
========================================= */

.course-units {
    margin: 20px 0;
    border: 1px solid #DDE3EE;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.045);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.course-units:hover {
    border-color: var(--secondary);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.075);
}

/* Accordion header */
.course-units summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 17px 18px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(110deg, #F7F8FB, #fff);
    transition: background .25s ease;
}

.course-units summary::-webkit-details-marker {
    display: none;
}

.course-units summary:hover {
    background: #F4F6FA;
}

.course-units summary>span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-units summary>span i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(27, 42, 74, .08);
    color: var(--primary);
    font-size: 15px;
}

.course-units summary small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #f5eee4;
    color: #7A5C1E;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
}

/* Accordion indicator */
.course-units summary::after {
    content: "+";
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(27, 42, 74, .08);
    color: var(--primary);
    font-size: 19px;
    font-weight: 500;
    transition: transform .25s ease, background .25s ease;
}

.course-units[open] summary::after {
    content: "−";
    background: var(--primary);
    color: #fff;
}

.course-units[open] summary {
    border-bottom: 1px solid #E6EAF2;
    background: #F7F8FB;
}

/* Units container */
.course-unit-list {
    list-style: none;
    margin: 0;
    padding: 8px 18px;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) #F4F6FA;
}

.course-unit-list::-webkit-scrollbar {
    width: 5px;
}

.course-unit-list::-webkit-scrollbar-track {
    background: #F4F6FA;
    border-radius: 10px;
}

.course-unit-list::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

/* Individual unit */
.course-unit-list li {
    position: relative;
    padding: 15px 12px;
    border-bottom: 1px solid #EBEFF6;
    border-radius: 8px;
    transition: background .2s ease, padding .2s ease;
}

.course-unit-list li:hover {
    background: #FAFBFD;
    padding-left: 16px;
}

.course-unit-list li:last-child {
    border-bottom: 0;
}

/* Unit heading */
.cu-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cu-head strong {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #172033;
    font-weight: 700;
}

/* Unit code */
.cu-code {
    display: inline-block;
    margin-right: 7px;
    margin-bottom: 3px;
    padding: 4px 8px;
    border-radius: 5px;
    background: #f5eee4;
    color: #7A5C1E;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    vertical-align: middle;
    white-space: nowrap;
}

/* Credit badge */
.cu-credits {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(27, 42, 74, .15);
}

/* Unit description */
.cu-outline {
    margin: 8px 0 0;
    padding-left: 0;
    color: #5F6B80;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 768px) {
    .course-units {
        margin: 15px 0;
        border-radius: 12px;
    }

    .course-units summary {
        padding: 14px;
        gap: 8px;
    }

    .course-units summary>span i {
        width: 30px;
        height: 30px;
    }

    .course-unit-list {
        padding: 6px 12px;
        max-height: 320px;
    }

    .course-unit-list li {
        padding: 13px 8px;
    }

    .cu-head strong {
        font-size: 13px;
    }

    .cu-outline {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .course-units summary {
        padding: 12px;
        font-size: 13px;
    }

    .course-units summary small {
        font-size: 10px;
        padding: 4px 8px;
    }

    .course-unit-list {
        padding: 5px 10px;
        max-height: 280px;
    }

    .cu-head {
        gap: 7px;
    }

    .cu-head strong {
        font-size: 12px;
        line-height: 1.6;
    }

    .cu-code {
        font-size: 9px;
        padding: 3px 6px;
    }

    .cu-credits {
        font-size: 10px;
        padding: 4px 8px;
    }

    .cu-outline {
        font-size: 12px;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {

    .course-units,
    .course-units summary,
    .course-units summary::after,
    .course-unit-list li {
        transition: none;
    }
}

/* ===== Values ===== */
.values-section {
    background: var(--primary);
    color: #fff;
    padding: 100px 0 105px;
    position: relative;
    overflow: hidden
}

.values-section:after {
    content: "UC";
    position: absolute;
    right: -35px;
    bottom: -155px;
    font: 800 400px var(--display);
    color: rgba(255, 255, 255, .04);
    pointer-events: none
}

.values-section .container {
    position: relative;
    z-index: 1
}

.values-heading {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    column-gap: 60px;
    align-items: end;
    margin-bottom: 45px
}

.values-heading .eyebrow {
    grid-column: 1/-1
}

.values-heading h2 {
    margin: 20px 0 0
}

.values-heading>p {
    max-width: 350px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 8px
}

.values-list {
    border-top: 1px solid rgba(201, 162, 77, .4)
}

.value-row {
    display: grid;
    grid-template-columns: 70px 1fr 45px;
    gap: 20px;
    align-items: center;
    padding: 20px 5px;
    border-bottom: 1px solid rgba(201, 162, 77, .3)
}

.value-number {
    font: 700 12px var(--display);
    color: var(--secondary)
}

.value-row h3 {
    font: 800 20px var(--display);
    margin: 0 0 3px
}

.value-row p {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    margin: 0
}

.value-mark {
    font-size: 23px;
    color: var(--secondary);
    text-align: right
}

/* ===== Learning ===== */
.learning-section {
    padding: 110px 0
}

.learning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center
}

.learning-copy h2 {
    margin-bottom: 16px
}

.learning-copy>.section-lead {
    max-width: 430px
}

.learning-points {
    margin-top: 35px
}

.learning-points>div {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
}

.learning-points>div>span {
    font: 800 12px var(--display);
    color: var(--secondary-dark);
    padding-top: 3px
}

.learning-points p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0
}

.learning-points strong {
    font: 800 13px var(--display);
    color: var(--primary)
}

.learning-image {
    height: 500px;
    position: relative;
    padding: 0 0 35px 35px
}

.learning-image:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 75%;
    background: var(--tint-2)
}

.learning-image img {
    object-position: center
}

.image-quote {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    border-left: 3px solid var(--secondary);
    padding: 22px 27px;
    font: 800 18px/1.4 var(--display);
    color: var(--primary);
    box-shadow: 0 5px 30px rgba(14, 23, 43, .12)
}

.image-quote em {
    color: var(--secondary-dark);
    font-style: normal
}

/* ===== Admissions ===== */
.admissions-section {
    background: linear-gradient(120deg, var(--primary-deep), var(--primary));
    padding: 100px 0;
    color: #fff
}

.admissions-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 85px;
    align-items: start
}

.admissions-copy {
    padding-top: 28px
}

.admissions-copy h2 {
    font-size: 53px;
    margin: 22px 0
}

.admissions-copy>p {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.9;
    max-width: 410px
}

.admissions-note {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(201, 162, 77, .4)
}

.admissions-note>span {
    font-size: 27px;
    color: var(--secondary)
}

.admissions-note div {
    display: flex;
    flex-direction: column
}

.admissions-note strong {
    font: 700 13px var(--display)
}

.admissions-note small {
    font-size: 10px;
    color: rgba(255, 255, 255, .72);
    margin-top: 4px
}

.admissions-form-wrap {
    background: #fff;
    color: var(--ink);
    padding: 34px 38px;
    border-top: 4px solid var(--secondary)
}

.form-heading {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px
}

.form-heading span {
    font-size: 9px;
    letter-spacing: 1.7px;
    font-weight: 800;
    color: var(--secondary-dark)
}

.form-heading strong {
    font: 800 23px var(--display);
    margin-top: 7px;
    color: var(--primary)
}

.admissions-form {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.admissions-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    color: #2B3445
}

.admissions-form input,
.admissions-form select,
.admissions-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #FAFBFD;
    border-radius: 2px;
    padding: 12px 13px;
    font: 400 11px var(--font);
    color: var(--ink);
    outline: none
}

.admissions-form input:focus,
.admissions-form select:focus,
.admissions-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 42, 74, .12)
}

.admissions-form textarea {
    resize: vertical
}

.button-purple {
    background: var(--primary);
    color: #fff;
    width: 100%;
    margin-top: 2px
}

.button-purple:hover {
    background: var(--primary-dark)
}

.form-privacy {
    font-size: 9px;
    color: var(--muted);
    text-align: center
}

.notice {
    font-size: 11px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 2px
}

.notice.success {
    background: #eaf6ef;
    color: #21623b
}

.notice.error {
    background: #fff0ef;
    color: #a32e28
}

/* ===== Contact ===== */
.contact-strip {
    padding: 90px 0;
    background: var(--primary);
    color: #fff
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px
}

.contact-copy {
    max-width: 650px
}

.contact-copy h2 {
    font: 800 clamp(30px, 4vw, 46px)/1.2 var(--display);
    margin: 20px 0;
}

.contact-copy>p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
    max-width: 550px
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 35px
}

.contact-details>div {
    display: flex;
    align-items: center;
    gap: 13px
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid var(--secondary);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details small {
    display: block;
    font-size: 10px;
    letter-spacing: 1.3px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 5px
}

.contact-details a {
    color: #fff;
    font-size: 14px;
    font-weight: 600
}

.contact-details a:hover {
    color: var(--secondary)
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-width: 220px
}

.contact-actions .button {
    width: 100%;
    justify-content: center
}

.contact-actions .text-link {
    font-size: 13px
}

/* Outline button: primary on light backgrounds, secondary on the dark contact strip */
.button-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent
}

.button-outline:hover {
    background: var(--primary);
    color: #fff
}

.contact-actions .button-outline {
    border-color: var(--secondary);
    color: var(--secondary)
}

.contact-actions .button-outline:hover {
    background: var(--secondary);
    color: var(--primary)
}

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-deep);
    color: #fff;
    padding: 65px 0 0
}

.footer-main {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 55px
}

.footer-brand>p {
    font-size: 11px;
    color: rgba(255, 255, 255, .68);
    max-width: 270px;
    line-height: 1.9;
    margin-top: 22px
}

.footer-brand>p.footer-motto {
    margin: 14px 0 0;
    font: italic 700 15px var(--display);
    letter-spacing: .3px;
    color: var(--secondary);
}

.footer-brand>p.footer-motto+p {
    margin-top: 10px
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px
}

.footer-col h4 {
    font: 800 12px var(--display);
    margin: 5px 0 8px;
    color: var(--secondary)
}

.footer-col a {
    display: block;
    margin-bottom: 13px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.7;
    transition: color .3s ease;
}

.footer-col a:hover {
    color: var(--secondary)
}

.footer-bottom {
    border-top: 1px solid rgba(201, 162, 77, .25);
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: rgba(255, 255, 255, .6);
    font-size: 9px;
    letter-spacing: .5px
}

.footer-bottom a {
    color: var(--secondary)
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .main-nav {
        gap: 17px
    }

    .main-nav>a {
        font-size: 11px
    }

    .programme-db-grid {
        grid-template-columns: 1fr
    }

    .about-grid,
    .learning-grid {
        gap: 45px
    }

    .admissions-grid {
        gap: 40px
    }

    .footer-main {
        gap: 30px
    }

    .hero-stamp {
        right: 5%;
        bottom: 90px
    }

    .section {
        padding: 85px 0
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%
    }

    .contact-actions .button {
        width: auto
    }
}

@media (max-width: 768px) {
    .brand-logo {
        width: 125px;
        height: 42px
    }

    .brand-footer .brand-logo {
        width: 140px;
        height: 46px
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 36px, 560px)
    }

    .site-header {
        height: 72px
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px
    }

    .menu-toggle span {
        width: 23px;
        height: 2px;
        background: var(--primary);
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 18px 22px 24px;
        box-shadow: 0 15px 25px rgba(14, 23, 43, .12);
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .main-nav.is-open {
        display: flex
    }

    .main-nav>a {
        padding: 12px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 13px
    }

    .main-nav .nav-cta {
        margin-top: 12px;
        text-align: center;
        border: 0
    }

    .hero {
        min-height: 620px
    }

    .hero-slide {
        min-height: 620px;
        background-position: 58% center
    }

    .hero-slide .hero-content {
        width: min(100% - 36px, 560px)
    }

    .hero-controls {
        bottom: 20px;
        width: min(100% - 36px, 560px)
    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(14, 23, 43, .95), rgba(20, 32, 58, .68)), linear-gradient(0deg, rgba(14, 23, 43, .35), transparent)
    }

    .hero-content {
        padding-block: 80px 100px
    }

    .hero h1 {
        font-size: clamp(48px, 13vw, 68px);
        letter-spacing: -3px
    }

    .hero-lead {
        font-size: 14px;
        max-width: 480px
    }

    .hero-note {
        font-size: 8px;
        letter-spacing: 1px;
        margin-top: 55px;
        max-width: 300px;
        line-height: 1.7
    }

    .hero-stamp {
        width: 82px;
        height: 82px;
        right: 22px;
        bottom: 70px
    }

    .hero-stamp strong {
        font-size: 23px
    }

    .hero-stamp span {
        font-size: 6px
    }

    .intro-grid {
        grid-template-columns: 1fr 1fr;
        padding-block: 25px;
        gap: 20px
    }

    .intro-grid>p {
        grid-column: 1/-1
    }

    .intro-stat {
        padding-left: 12px;
        gap: 10px
    }

    .intro-stat strong {
        font-size: 22px
    }

    .intro-stat span {
        font-size: 10px
    }

    .section {
        padding: 72px 0
    }

    .about-grid,
    .learning-grid,
    .mission-grid,
    .admissions-grid {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .about-visual>img {
        height: 360px
    }

    .about-visual {
        margin-right: 5px
    }

    .about-copy h2,
    .section-heading h2,
    .values-heading h2,
    .learning-copy h2,
    .admissions-copy h2 {
        font-size: 42px
    }

    .mission-section {
        padding: 55px 0
    }

    .mission-card,
    .vision-card {
        padding: 32px 25px
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        margin-top: 20px
    }

    .programmes-subhead {
        display: block;
        margin-top: 48px
    }

    .subhead-note {
        display: block;
        margin-top: 10px
    }

    .values-section {
        padding: 75px 0
    }

    .values-heading {
        display: block
    }

    .values-heading>p {
        margin-top: 15px
    }

    .value-row {
        grid-template-columns: 34px 1fr 25px;
        gap: 12px;
        padding: 17px 0
    }

    .value-row h3 {
        font-size: 18px
    }

    .value-row p {
        font-size: 11px
    }

    .learning-image {
        height: 370px;
        margin-left: 0
    }

    .admissions-section {
        padding: 70px 0
    }

    .admissions-copy {
        padding-top: 0
    }

    .admissions-copy h2 {
        font-size: 45px
    }

    .admissions-form-wrap {
        padding: 27px 21px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 24px
    }

    .footer-brand {
        grid-column: 1/-1
    }

    .footer-bottom {
        padding: 18px 0;
        flex-wrap: wrap
    }

    .footer-bottom span:nth-child(2) {
        display: none
    }
}

@media (max-width: 600px) {
    .contact-strip {
        padding: 60px 0
    }

    .contact-details {
        flex-direction: column;
        gap: 22px
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch
    }

    .contact-actions .button {
        width: 100%
    }
}

@media (max-width: 560px) {
    .topbar-inner {
        padding-top: 8px;
        padding-bottom: 8px;
        align-items: flex-start;
        flex-direction: column
    }

    .topbar-inner div {
        gap: 12px
    }

    .programme-db-card {
        grid-template-columns: 1fr
    }

    .programme-db-image,
    .programme-image-placeholder {
        min-height: 190px;
        max-height: 220px
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 110px;
        height: 38px
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 28px)
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-actions {
        gap: 18px;
        flex-wrap: wrap
    }

    .button {
        padding: 13px 16px
    }

    .footer-main {
        gap: 28px 15px
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-slide,
    .hero-slide .hero-content,
    .hero-slide .hero-stamp {
        transition: none
    }
}

.doc-upload-label {
    display: block;
    margin-bottom: 18px;
}

.doc-upload-label>small {
    display: block;
    font-weight: 400;
    color: #8a8a8a;
    margin-top: 4px;
}

.doc-dropzone {
    border: 2px dashed #C9D2E3;
    border-radius: 12px;
    background: #F7F8FB;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.doc-dropzone:hover,
.doc-dropzone.is-dragover {
    border-color: var(--primary);
    background: #EEF1F7;
}

.doc-dropzone-inner i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.doc-dropzone-inner p {
    margin: 6px 0;
    font-size: 15px;
}

.doc-dropzone-inner small {
    color: #8a8a8a;
    font-size: 12px;
}

.doc-preview-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.doc-preview-item {
    position: relative;
    border: 1px solid #DDE3EE;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    font-size: 12px;
}

.doc-preview-item .thumb {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F1F3F8;
    color: var(--primary);
    font-size: 28px;
}

.doc-preview-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-preview-item .meta {
    padding: 6px 8px;
}

.doc-preview-item .meta strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.doc-preview-item .meta span {
    color: #8a8a8a;
}

.doc-preview-item .remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(27, 42, 74, .9);
    color: #fff;
    border: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    line-height: 22px;
}

/* ════════════════════════════════════════════════════════════════════
   DOIM rebrand — header, navigation, hero, tracking, WhatsApp button.
   Placed last so it overrides the earlier base rules.
   ════════════════════════════════════════════════════════════════════ */

/* ── Top bar ── */
.topbar {
    background: var(--primary);
    font: 500 13px/1.4 var(--font);
}

.topbar-inner {
    min-height: 40px;
    flex-wrap: wrap;
}

.topbar-inner .topbar-contact,
.topbar-inner .topbar-links {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .92);
}

.topbar a i {
    font-size: 12px;
    opacity: .85;
}

/* ── Header ── */
.site-header {
    height: 80px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 14px rgba(15, 23, 42, .05);
}

.brand {
    gap: 12px;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .12);
    display: grid;
    place-items: center;
    padding: 4px;
    flex-shrink: 0;
}

.brand-logo,
.brand-footer .brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font: 800 21px/1 var(--display);
    color: var(--primary);
    letter-spacing: .01em;
}

.brand-text small {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 4px;
    white-space: nowrap;
}

.brand-footer .brand-text strong {
    color: #fff;
}

.brand-footer .brand-text small {
    color: rgba(255, 255, 255, .7);
}

.main-nav {
    gap: 4px;
}

.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border: 0;
    border-radius: 8px;
    background: none;
    font: 500 15px var(--font);
    color: #2B3445;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.main-nav .nav-link i {
    font-size: 10px;
    transition: transform .2s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible,
.main-nav .nav-link.is-current {
    background: #F6EEDC;
    color: var(--primary);
}

.nav-item {
    position: relative;
}

.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
    display: none;
    flex-direction: column;
    z-index: 60;
}

.submenu a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2B3445;
}

.submenu a:hover,
.submenu a:focus-visible {
    background: var(--tint);
    color: var(--primary);
}

.nav-item.is-open .submenu {
    display: flex;
}

.nav-item.is-open>.nav-link i {
    transform: rotate(180deg);
}

@media (hover: hover) and (min-width: 1181px) {
    .nav-item:hover .submenu {
        display: flex;
    }

    /* invisible bridge so the pointer can travel into the menu */
    .nav-item:hover::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 10px;
    }
}

.main-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 14px;
    padding: 14px 22px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font: 700 15px var(--font);
    box-shadow: 0 6px 16px rgba(27, 42, 74, .25);
    transition: background .2s, transform .2s;
}

.main-nav .nav-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Hero ── */
.hero,
.hero-slide {
    min-height: 680px;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(14, 23, 43, .88) 0%, rgba(20, 32, 58, .72) 45%, rgba(20, 32, 58, .25) 100%),
        linear-gradient(0deg, rgba(14, 23, 43, .45), transparent 55%);
}

.hero-content {
    padding-block: 110px 140px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 1px solid rgba(201, 162, 77, .55);
    border-radius: 999px;
    background: rgba(201, 162, 77, .14);
    color: #F1DFB4;
    font: 600 15px var(--font);
}

.hero-pill b {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.hero h1 {
    font: 800 clamp(44px, 6.4vw, 88px)/1.08 var(--display);
    letter-spacing: -0.02em;
    margin: 44px 0 26px;
    max-width: 820px;
}

.hero h1 em {
    color: #D9B460;
}

.hero-lead {
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
    max-width: 640px;
}

.hero-actions {
    gap: 18px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.button-gold,
.button-ghost {
    padding: 18px 40px;
    border-radius: 6px;
    font: 700 17px var(--font);
}

.button-gold {
    background: linear-gradient(180deg, #D4AE5D, #B08A3A);
    color: #fff;
    box-shadow: 0 10px 24px rgba(176, 138, 58, .35);
}

.button-gold:hover {
    background: linear-gradient(180deg, #DDB968, #BC9542);
    color: #fff;
}

.button-ghost {
    background: rgba(255, 255, 255, .04);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
}

.button-ghost:hover {
    background: #fff;
    color: var(--primary);
}

.hero-controls {
    bottom: 40px;
    gap: 14px;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(14, 23, 43, .25);
    font-size: 15px;
}

.hero-arrow:hover {
    background: #fff;
    color: var(--primary);
}

.hero-play {
    margin-left: 26px;
}

.hero-dot {
    width: 14px;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .45);
}

.hero-dot.is-active {
    width: 40px;
    background: #D9B460;
}

/* ── Track application ── */
.track-section {
    background: var(--tint);
}

.track-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.track-grid h2 {
    font: 800 clamp(32px, 4vw, 46px)/1.1 var(--display);
    letter-spacing: -0.02em;
    margin: 18px 0;
    color: var(--ink);
}

.track-grid h2 em {
    font-style: normal;
    color: var(--secondary-dark);
}

.track-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.track-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.track-form .button {
    grid-column: 1 / -1;
}

.track-result {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
    background: var(--tint);
}

.track-result h3 {
    font: 800 20px var(--display);
    color: var(--primary);
    margin: 10px 0 12px;
}

.track-result dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 18px;
    margin: 0;
    font-size: 14px;
}

.track-result dt {
    color: var(--muted);
    font-weight: 600;
}

.track-result dd {
    margin: 0;
    color: var(--ink);
}

.track-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #FEF3C7;
    color: #92400E;
}

.track-badge.status-under-review {
    background: #DBEAFE;
    color: #1E40AF;
}

.track-badge.status-accepted {
    background: #DCFCE7;
    color: #166534;
}

.track-badge.status-rejected {
    background: #FEE2E2;
    color: #991B1B;
}

.admissions-note a {
    color: #fff;
    text-decoration: underline;
}

.doc-upload-label>span {
    font-size: 10px;
    font-weight: 800;
    color: #2B3445;
}

/* ── Floating WhatsApp button ── */
.whatsapp-float {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 80;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25D366;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
    transition: transform .2s;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
    .main-nav .nav-link {
        padding: 9px;
        font-size: 14px;
    }

    .brand-text small {
        display: none;
    }
}

@media (max-width: 1180px) {
    .site-header {
        height: 72px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--primary);
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        background: #fff;
        padding: 14px 18px 22px;
        box-shadow: 0 15px 25px rgba(14, 23, 43, .12);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 12px 8px;
        font-size: 15px;
    }

    .submenu {
        position: static;
        box-shadow: none;
        border: 0;
        padding: 0 0 6px 12px;
        min-width: 0;
    }

    .main-nav .nav-cta {
        margin: 12px 0 0;
        justify-content: center;
    }

    .brand-text small {
        display: block;
    }
}

@media (max-width: 900px) {
    .topbar-inner .topbar-links {
        display: none;
    }

    .track-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 700px) {
    .topbar-inner .topbar-contact {
        gap: 14px;
        font-size: 12px;
    }

    .topbar-contact a:nth-child(3) {
        display: none;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        font-size: 10.5px;
        white-space: normal;
    }

    .hero,
    .hero-slide {
        min-height: 640px;
    }

    .hero-content {
        padding-block: 80px 130px;
    }

    .hero h1 {
        margin-top: 30px;
    }

    .hero-pill {
        font-size: 12.5px;
        padding: 7px 14px;
    }

    .button-gold,
    .button-ghost {
        padding: 15px 26px;
        font-size: 15px;
    }

    .hero-play {
        margin-left: 8px;
    }

    .track-form {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
}


/* ── Two-column menus (About, Academics, Admissions) ── */
.submenu.mega {
    left: 50%;
    transform: translateX(-50%);
    min-width: 640px;
    padding: 24px 22px;
    grid-template-columns: 1fr 1fr;
    gap: 6px 26px;
    border-radius: 14px;
}

.nav-item.is-open .submenu.mega {
    display: grid;
}

@media (hover: hover) and (min-width: 1181px) {
    .nav-item:hover .submenu.mega {
        display: grid;
    }
}

.mega-col {
    display: flex;
    flex-direction: column;
}

.mega-col h6 {
    margin: 0 0 8px 12px;
    font: 800 12px var(--display);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--primary);
}

.submenu.mega a {
    display: block;
    padding: 9px 12px;
}

.submenu.mega a strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.submenu.mega a span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 2px;
}

.submenu.mega a:hover strong {
    color: var(--primary);
}

@media (max-width: 1180px) {
    .submenu.mega {
        transform: none;
        min-width: 0;
        grid-template-columns: 1fr;
        padding: 0 0 6px 12px;
    }

    .mega-col h6 {
        margin: 10px 0 4px 12px;
    }
}

/* ── Why choose ── */
.why-section {
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.why-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--secondary-light);
    background: #FBF5E8;
    border-radius: 999px;
    color: var(--secondary-dark);
    font: 800 12px var(--display);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.why-title {
    font: 800 clamp(30px, 3.4vw, 44px)/1.15 var(--display);
    color: var(--primary);
    margin: 18px 0 30px;
}

.why-title em {
    font-style: normal;
    color: var(--secondary);
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.why-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}

.why-card:hover {
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.why-card i {
    font-size: 22px;
    color: var(--secondary);
    margin-top: 3px;
    width: 26px;
    text-align: center;
}

.why-card h3 {
    margin: 0 0 6px;
    font: 700 17px var(--display);
    color: var(--primary);
}

.why-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}

.why-photo {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, .18);
    min-height: 520px;
}

.why-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(14, 23, 43, .55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
}

.why-caption strong {
    display: block;
    font: 700 17px var(--display);
}

.why-caption strong i {
    color: var(--secondary-light);
    margin-right: 6px;
}

.why-caption span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: rgba(255, 255, 255, .82);
}

@media (max-width: 1000px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-photo {
        min-height: 380px;
    }
}

@media (max-width: 640px) {
    .why-cards {
        grid-template-columns: 1fr;
    }
}

/* ── Website inner pages (Online Learning, Research, Partnerships, News) ── */
.page-hero { position: relative; padding: 110px 0 100px; background: linear-gradient(90deg, rgba(20, 32, 58, .96) 0%, rgba(20, 32, 58, .82) 45%, rgba(20, 32, 58, .35) 100%), var(--bg) center / cover no-repeat; color: #fff; }
.page-hero.is-center { text-align: center; background: linear-gradient(rgba(20, 32, 58, .85), rgba(20, 32, 58, .85)), var(--bg) center / cover no-repeat; }
.page-hero-inner { max-width: 760px; margin-left: max(24px, calc((100% - 1160px) / 2)); }
.page-hero.is-center .page-hero-inner { margin: 0 auto; }
.page-crumb { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .55); margin-bottom: 26px; }
.page-hero.is-center .page-crumb { justify-content: center; }
.page-crumb a { color: rgba(255, 255, 255, .7); }
.page-crumb span:last-child { color: #fff; }
.page-badge, .wp-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; font: 700 12.5px var(--display); letter-spacing: .4px; }
.page-badge { background: rgba(201, 162, 77, .15); border: 1px solid rgba(201, 162, 77, .35); color: var(--secondary); }
.page-hero h1 { font: 900 clamp(34px, 4.6vw, 56px)/1.1 var(--display); margin: 18px 0; color: #fff; }
.page-hero h1 em { font-style: normal; color: var(--secondary); }
.page-hero p { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .78); margin: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-hero-actions.center, .page-hero.is-center .page-hero-actions { justify-content: center; }
.wp-hero-stats { display: flex; justify-content: center; gap: 22px; padding: 0 0 34px; margin-top: -1px; background: rgb(20, 32, 58); }
.wp-hero-stats div { padding: 12px 28px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: rgba(255, 255, 255, .08); text-align: center; color: #fff; }
.wp-hero-stats strong { display: block; font: 900 24px var(--display); }
.wp-hero-stats span { font-size: 12px; color: rgba(255, 255, 255, .6); }

.wp-section { padding: 84px 0; background: #fff; }
.wp-tint { background: #F8FAFC; }
.wp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.wp-split.top { align-items: start; }
.wp-badge { background: #FBF5E8; border: 1px solid var(--secondary-light); color: var(--secondary-dark); }
.wp-title { font: 800 clamp(26px, 2.8vw, 34px)/1.2 var(--display); color: var(--primary); margin: 16px 0 18px; }
.wp-center { text-align: center; margin-bottom: 44px; }
.wp-lead { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 620px; margin: 0 auto; }
.wp-lead.left { margin: 0 0 24px; }
.wp-prose p { color: #374151; font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }
.wp-note { margin-top: 22px; padding: 18px 20px; background: #EEF2F6; border: 1px solid #D3DBE3; border-radius: 14px; font-size: 14px; line-height: 1.6; color: #374151; }
.wp-note strong { display: block; color: var(--primary); margin-bottom: 4px; }

.wp-photo { position: relative; height: 450px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 23, 42, .16); }
.wp-photo.tall { height: 480px; }
.wp-photo.short { height: 290px; }
.wp-photo img { width: 100%; height: 100%; object-fit: cover; }
.wp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 32, 58, .8), transparent 60%); }
.wp-devices { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wp-devices div { padding: 12px 8px; border-radius: 12px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .2); text-align: center; color: #fff; }
.wp-devices i:first-child { font-size: 20px; display: block; margin-bottom: 4px; }
.wp-devices strong { display: block; font-size: 13px; }
.wp-devices span { font-size: 12px; color: #86efac; }
.wp-photo-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; }
.wp-photo-caption span { display: block; color: var(--secondary); font-size: 14px; font-weight: 700; }
.wp-photo-caption strong { display: block; font-size: 18px; }
.wp-photo-caption strong + span { color: rgba(255, 255, 255, .72); font-weight: 400; margin-top: 4px; }

.wp-cards { display: grid; gap: 22px; }
.wp-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: box-shadow .2s, transform .2s; }
.wp-card:hover { box-shadow: 0 18px 36px rgba(15, 23, 42, .09); transform: translateY(-3px); }
.wp-card h3 { font: 700 17px var(--display); color: var(--primary); margin: 0 0 8px; }
.wp-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.wp-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #243A53); color: var(--secondary); font-size: 20px; margin-bottom: 16px; }
.wp-card.media, .wp-card.partner { padding: 0; overflow: hidden; }
.wp-card.media p { padding: 18px 22px 22px; }
.wp-card-photo { position: relative; height: 150px; }
.wp-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.wp-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 32, 58, .88), transparent); }
.wp-card-photo div { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; display: flex; gap: 10px; align-items: flex-end; color: #fff; }
.wp-card-photo i { color: var(--secondary); font-size: 18px; margin-bottom: 3px; }
.wp-card-photo strong { font-size: 14px; line-height: 1.3; }

.wp-week { display: grid; gap: 10px; }
.wp-day { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #F8FAFC; border: 1px solid var(--line); border-radius: 12px; }
.wp-day > div { width: 96px; flex: none; }
.wp-day strong { display: block; font-size: 12.5px; color: var(--primary); }
.wp-day small { font-size: 12px; color: #94A3B8; }
.wp-day p { flex: 1; margin: 0; font-size: 14px; color: #374151; }
.wp-tag { padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: #EEF2F6; color: var(--primary); }
.wp-tag.reading, .wp-tag.live { background: #FBF3E7; color: #7A5A22; }
.wp-tag.assignment { background: #FEE2E2; color: #991B1B; }
.wp-tag.forum { background: #D1FAE5; color: #065F46; }

.wp-stats { background: #fff; border-bottom: 1px solid var(--line); }
.wp-stats .container { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 34px; padding-bottom: 34px; text-align: center; }
.wp-stats i { font-size: 22px; color: var(--secondary); }
.wp-stats strong { display: block; font: 900 26px var(--display); color: var(--primary); margin: 4px 0; }
.wp-stats span { font-size: 14px; color: var(--muted); }

.wp-stack { display: grid; gap: 22px; }
.wp-dark-card { padding: 30px; border-radius: 22px; background: linear-gradient(135deg, var(--primary), #243A53); color: #fff; }
.wp-dark-card.center { text-align: center; padding: 42px 30px; }
.wp-dark-card h3 { font: 800 22px var(--display); margin: 10px 0; color: #fff; }
.wp-dark-card p { color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.65; margin: 0 auto 20px; max-width: 560px; }

.wp-group { display: flex; align-items: center; gap: 10px; font: 800 21px var(--display); color: var(--primary); margin: 0 0 22px; }
.wp-group i { color: var(--secondary); }
.wp-group span { font: 400 14px var(--display); color: var(--muted); }
.wp-logo { position: relative; height: 150px; background: #F8FAFC; border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 24px; }
.wp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wp-type { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: #FBF3E7; color: #7A5A22; }
.wp-logo .wp-type { position: absolute; top: 12px; right: 12px; }
.wp-type.government { background: #EEF2F6; color: var(--primary); }
.wp-partner-body { padding: 18px 20px 22px; }
.wp-partner-body h3 { font-size: 15px; }
.wp-partner-body small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.wp-partner-body p { font-size: 13.5px; color: #374151; }
.wp-partner-body a { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--primary); }

.wp-card.event { display: flex; gap: 18px; align-items: flex-start; }
.wp-card.event.muted { opacity: .85; }
.wp-card.event h3 { margin-top: 8px; }
.wp-card.event small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.wp-date { flex: none; width: 66px; padding: 10px 0; border-radius: 14px; background: var(--primary); color: #fff; text-align: center; }
.wp-date strong { display: block; font: 900 24px/1 var(--display); }
.wp-date span { font-size: 11.5px; color: var(--secondary-light); }
.wp-empty { text-align: center; color: var(--muted); font-size: 16px; }

.wp-cta { padding: 70px 0; background: linear-gradient(135deg, var(--primary), #243A53); color: #fff; text-align: center; }
.wp-cta h2 { font: 800 clamp(24px, 2.6vw, 32px) var(--display); margin: 0 0 12px; color: #fff; }
.wp-cta p { color: rgba(255, 255, 255, .78); margin: 0; }

@media (max-width: 1000px) {
    .wp-split { grid-template-columns: 1fr; gap: 40px; }
    .wp-cards.three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .wp-cards.three { grid-template-columns: 1fr; }
    .page-hero { padding: 80px 0 70px; }
    .page-hero-inner { margin: 0 16px; }
    .wp-stats .container { grid-template-columns: 1fr; gap: 18px; }
    .wp-photo, .wp-photo.tall { height: 340px; }
    .wp-day { flex-wrap: wrap; }
}

/* Fuller menu: keep every link on one line, tighter on narrower desktops. */
.main-nav .nav-link { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1560px) {
    .main-nav { gap: 0; }
    .main-nav .nav-link { padding: 8px 8px; font-size: 14px; }
    .main-nav .nav-cta { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
    .brand-text small { display: none; }
}

/* Partner logos stay inside their box. */
.wp-logo img { width: auto; height: auto; max-width: 100%; max-height: 100px; }

/* ── About pages (History, Governance, Strategic Plan, Why) ── */
.page-crumb a + span { color: rgba(255, 255, 255, .55); }
.wp-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.wp-timeline::before { content: ""; position: absolute; left: 47px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary), var(--secondary)); }
.wp-timeline li { position: relative; display: flex; gap: 26px; align-items: flex-start; margin-bottom: 22px; }
.wp-timeline li:last-child { margin-bottom: 0; }
.wp-timeline-year { position: relative; z-index: 1; flex: none; width: 96px; padding: 10px 0; border-radius: 999px; background: var(--primary); color: #fff; text-align: center; font: 800 14px var(--display); }
.wp-timeline li.is-next .wp-timeline-year { background: var(--secondary); color: var(--primary); }
.wp-timeline .wp-card { flex: 1; }
.wp-timeline .wp-card a { color: var(--secondary-dark); font-weight: 700; }

.wp-org { max-width: 760px; margin: 0 auto; }
.wp-org-row { display: flex; justify-content: center; gap: 22px; position: relative; padding-bottom: 34px; }
.wp-org-row:last-child { padding-bottom: 0; }
.wp-org-row:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 34px; background: var(--line); }
.wp-org-row.is-split::before { content: ""; position: absolute; top: -17px; left: 25%; right: 25%; height: 2px; background: var(--line); }
.wp-org-row.is-split .wp-org-box { flex: 1; max-width: 300px; }
.wp-org-row.is-split .wp-org-box::before { content: ""; position: absolute; top: -19px; left: 50%; width: 2px; height: 19px; background: var(--line); }
.wp-org-box { position: relative; padding: 16px 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(15, 23, 42, .06); font: 700 15px var(--display); color: var(--primary); text-align: center; }
.wp-org-box i { color: var(--secondary); margin-right: 6px; }
.wp-org-box.is-top { background: linear-gradient(135deg, var(--primary), #243A53); color: #fff; border: 0; padding: 20px 40px; font-size: 17px; }
.wp-org-box.is-mid { border: 2px solid var(--secondary); }

.wp-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.wp-role { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.wp-role .wp-icon { flex: none; margin: 0; }
.wp-role h3 { font: 700 17px var(--display); color: var(--primary); margin: 0; }
.wp-role small { display: block; color: var(--secondary-dark); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin: 3px 0 8px; }
.wp-role p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #374151; }

.wp-objective { position: relative; padding-top: 30px; }
.wp-objective h3 { font-size: 18px; line-height: 1.35; }
.wp-objective-no { position: absolute; top: 18px; right: 22px; font: 900 40px/1 var(--display); color: #EEF2F6; }

.wp-why { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.wp-why-aside { position: sticky; top: 110px; }
.wp-reasons { list-style: none; margin: 0; padding: 0; }
.wp-reason { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.wp-reason:first-child { padding-top: 0; }
.wp-reason-no { flex: none; width: 58px; font: 900 34px/1 var(--display); color: var(--secondary); }
.wp-reason h3 { font: 700 18px var(--display); color: var(--primary); margin: 2px 0 8px; }
.wp-reason h3 i { color: var(--secondary); font-size: 15px; margin-right: 4px; }
.wp-reason p { margin: 0; font-size: 15px; line-height: 1.7; color: #374151; }

@media (max-width: 1000px) {
    .wp-why { grid-template-columns: 1fr; gap: 36px; }
    .wp-why-aside { position: static; }
}
@media (max-width: 680px) {
    .wp-roles { grid-template-columns: 1fr; }
    .wp-timeline::before { left: 35px; }
    .wp-timeline li { gap: 14px; }
    .wp-timeline-year { width: 72px; font-size: 12.5px; }
    .wp-org-row.is-split { flex-direction: column; align-items: center; gap: 12px; }
    .wp-org-row.is-split::before, .wp-org-row.is-split .wp-org-box::before { display: none; }
    .wp-org-box.is-top { padding: 18px 24px; }
    .wp-reason-no { width: 42px; font-size: 26px; }
}

/* ── About, Leadership, Philosophy ── */
.wp-stats.four .container { grid-template-columns: repeat(4, 1fr); }
.wp-values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.wp-value { padding: 26px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: center; border-top: 4px solid var(--secondary); }
.wp-value .wp-icon { margin: 0 auto 14px; }
.wp-value h3 { font: 800 16px var(--display); color: var(--primary); margin: 0 0 8px; }
.wp-value p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.wp-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wp-link { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.wp-link:hover { border-color: var(--secondary); box-shadow: 0 12px 26px rgba(15, 23, 42, .08); }
.wp-link .wp-icon { margin: 0; flex: none; width: 44px; height: 44px; font-size: 17px; }
.wp-link > span:nth-child(2) { flex: 1; }
.wp-link strong { display: block; color: var(--primary); font: 700 15.5px var(--display); }
.wp-link small { color: var(--muted); font-size: 13px; }
.wp-link > i { color: var(--secondary); }
.wp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.wp-gallery img { width: 100%; height: 240px; object-fit: cover; display: block; }
.wp-philosophy .wp-card { border-left: 4px solid var(--secondary); }

.wp-leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.wp-leader { display: block; text-align: center; padding: 22px 18px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.wp-leader:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(15, 23, 42, .09); }
.wp-leader-photo, .wp-message-photo { display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--primary), #243A53); color: var(--secondary); }
.wp-leader-photo { width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 50%; border: 4px solid var(--secondary-light); font-size: 46px; }
.wp-leader-photo img, .wp-message-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wp-leader strong { display: block; color: var(--primary); font: 800 16px var(--display); }
.wp-leader span { display: block; margin-top: 4px; color: var(--secondary-dark); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.wp-messages { display: grid; gap: 30px; max-width: 1040px; margin: 0 auto; }
.wp-message { display: grid; grid-template-columns: 230px 1fr; gap: 34px; padding: 32px; background: #F8FAFC; border: 1px solid var(--line); border-radius: 22px; scroll-margin-top: 110px; }
.wp-message aside { text-align: center; }
.wp-message-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; font-size: 64px; margin-bottom: 14px; }
.wp-message aside strong { display: block; color: var(--primary); font: 800 15px var(--display); }
.wp-message aside span { display: block; color: var(--secondary-dark); font-size: 12.5px; font-weight: 700; margin-top: 3px; }
.wp-message aside a { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--primary); }
.wp-message-body > i { font-size: 30px; color: var(--secondary-light); }
.wp-message-body p { color: #374151; font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
.wp-message-body .wp-salutation { font-weight: 700; color: var(--primary); margin-top: 8px; }
.wp-sign { padding-top: 14px; border-top: 1px solid var(--line); font-weight: 800; color: var(--primary) !important; margin: 18px 0 0 !important; }
.wp-sign small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }

@media (max-width: 1000px) {
    .wp-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wp-links, .wp-leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wp-gallery { grid-template-columns: repeat(2, 1fr); }
    .wp-stats.four .container { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 680px) {
    .wp-values, .wp-links { grid-template-columns: 1fr; }
    .wp-message { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
    .wp-message-photo { max-width: 220px; margin: 0 auto 14px; }
    .wp-gallery img { height: 160px; }
}

/* ---------- Academics, Fees, Scholarships ---------- */
.wp-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wp-level { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.wp-level:hover { transform: translateY(-3px); border-color: var(--secondary); box-shadow: 0 18px 36px rgba(15, 23, 42, .09); }
.wp-level h3 { font: 800 19px var(--display); color: var(--primary); margin: 0 0 8px; }
.wp-level p { flex: 1; margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.wp-level-count { font-weight: 700; font-size: 13.5px; color: var(--secondary); }
.wp-level.is-empty { background: #F8FAFC; }
.wp-level.is-empty .wp-level-count { color: var(--muted); }
.wp-prog-level + .wp-prog-level { margin-top: 44px; }
.wp-prog-level { scroll-margin-top: 110px; }
.wp-prog-list { display: grid; gap: 12px; }
.wp-prog { display: grid; grid-template-columns: 1fr 140px 190px 20px; align-items: center; gap: 20px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.wp-prog:hover { border-color: var(--secondary); box-shadow: 0 12px 26px rgba(15, 23, 42, .08); }
.wp-prog h3 { margin: 0 0 3px; font: 700 16.5px var(--display); color: var(--primary); }
.wp-prog small { color: var(--muted); font-size: 12.5px; }
.wp-prog > span small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; font-weight: 700; }
.wp-prog > span strong { color: var(--primary); font-size: 14.5px; }
.wp-prog > i { color: var(--secondary); }
.wp-links.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.wp-fees { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.wp-fee-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.wp-fee-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; }
.wp-fee-row + .wp-fee-row { border-top: 1px solid var(--line); }
.wp-fee-row:nth-child(even) { background: #F8FAFC; }
.wp-fee-row strong { display: block; color: var(--primary); font: 700 16px var(--display); }
.wp-fee-row small { color: var(--muted); font-size: 12.5px; }
.wp-fee-row b { font: 800 18px var(--display); color: var(--primary); white-space: nowrap; }
.wp-fee-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.wp-fee-card { padding: 28px; border-radius: 20px; background: linear-gradient(135deg, var(--primary), #243A53); color: #fff; }
.wp-fee-card small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; font-weight: 700; color: var(--secondary); }
.wp-fee-card strong { display: block; font: 800 28px var(--display); margin: 8px 0 6px; }
.wp-fee-card span { font-size: 14px; opacity: .85; line-height: 1.55; }
.wp-fee-card.is-light { background: #fff; color: var(--primary); border: 1px solid var(--line); border-top: 4px solid var(--secondary); }
.wp-fee-card.is-light span { color: var(--muted); opacity: 1; }

.wp-awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wp-award { display: flex; gap: 22px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.wp-award-value { flex: none; display: grid; place-content: center; text-align: center; width: 104px; height: 104px; border-radius: 18px; background: linear-gradient(135deg, var(--primary), #243A53); color: #fff; }
.wp-award-value strong { font: 800 30px var(--display); color: var(--secondary); line-height: 1; }
.wp-award-value small { font-size: 11.5px; margin-top: 6px; opacity: .85; }
.wp-award h3 { margin: 2px 0 8px; font: 800 17px var(--display); color: var(--primary); }
.wp-award h3 i { color: var(--secondary); margin-right: 4px; }
.wp-award p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.wp-award.is-plan { border: 2px dashed var(--secondary); background: #FFFBF2; }

.wp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.wp-steps li { position: relative; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.wp-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); color: var(--primary); font: 800 18px var(--display); margin-bottom: 16px; }
.wp-steps h3 { margin: 0 0 8px; font: 800 17px var(--display); color: var(--primary); }
.wp-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1000px) {
    .wp-levels { grid-template-columns: 1fr 1fr; }
    .wp-fees { grid-template-columns: 1fr; gap: 32px; }
    .wp-fee-side { position: static; grid-template-columns: 1fr 1fr; }
    .wp-awards { grid-template-columns: 1fr; }
    .wp-steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .wp-levels, .wp-links.two, .wp-fee-side { grid-template-columns: 1fr; }
    .wp-prog { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
    .wp-prog > div { grid-column: 1 / -1; }
    .wp-prog > i { display: none; }
    .wp-fee-row { padding: 16px 18px; }
    .wp-fee-row b { font-size: 16px; }
    .wp-award { flex-direction: column; gap: 14px; }
    .wp-award-value { width: 88px; height: 88px; }
}

/* Top bar and main navigation span 90% of the viewport. */
.topbar .container.topbar-inner,
.site-header .container.nav-wrap { width: 90vw; max-width: none; }

.wp-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .wp-cards.two { grid-template-columns: 1fr; } }

/* Header: the institution's name in full, "Divine Open Institute" over "of Management". */
.site-header .brand-full strong { font-size: 20px; line-height: 1.1; white-space: nowrap; }
.site-header .brand-full small { display: block; font-size: 15px; font-weight: 700; color: var(--primary); opacity: .8; margin-top: 3px; white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1560px) {
    .site-header .brand { gap: 9px; }
    .site-header .brand-mark { width: 48px; height: 48px; }
    .site-header .brand-full strong { font-size: 16px; }
    .site-header .brand-full small { display: block; font-size: 12.5px; }
}
@media (max-width: 1180px) {
    .site-header .brand-full small { display: block; }
}
@media (max-width: 700px) {
    .site-header .brand-full strong { font-size: 15px; }
    .site-header .brand-full small { font-size: 12px; }
}
/* Small laptops: room for the full name and every menu link on one line. */
@media (min-width: 1181px) and (max-width: 1380px) {
    .main-nav .nav-link { padding: 7px 5px; font-size: 13px; }
    .main-nav .nav-cta { padding-left: 13px; padding-right: 13px; font-size: 13.5px; }
    .main-nav .nav-cta i { display: none; }
    .site-header .brand-mark { width: 42px; height: 42px; }
    .site-header .brand-full strong { font-size: 14px; }
    .site-header .brand-full small { font-size: 11.5px; }
}
/* Name in capitals, a size up. */
.site-header .brand-full strong { text-transform: uppercase; letter-spacing: .02em; font-size: 23px; }
.site-header .brand-full small { text-transform: uppercase; letter-spacing: .06em; font-size: 15px; margin-top: 4px; }
@media (min-width: 1381px) and (max-width: 1560px) {
    .site-header .brand-full strong { font-size: 19px; }
    .site-header .brand-full small { font-size: 13px; }
}
@media (min-width: 1181px) and (max-width: 1380px) {
    .site-header .brand-full strong { font-size: 15px; }
    .site-header .brand-full small { font-size: 11px; }
}
@media (max-width: 700px) {
    .site-header .brand-full strong { font-size: 16px; }
    .site-header .brand-full small { font-size: 12px; }
}
@media (min-width: 1181px) and (max-width: 1260px) {
    .site-header .brand-full strong { font-size: 13.5px; }
    .site-header .brand-full small { font-size: 10px; }
    .site-header .brand { margin-right: 6px; }
}
