:root {
    --blue-950: #061b31;
    --blue-900: #082f49;
    --blue-800: #0b3a5b;
    --blue-700: #14517a;
    --blue-100: #e8f1f8;
    --gold: #c7922d;
    --gold-soft: #fff4d8;
    --red: #b91c1c;
    --green: #16704b;
    --slate-900: #102033;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #dbe4ee;
    --slate-100: #edf3f8;
    --white: #ffffff;
    --shadow-soft: 0 16px 34px rgba(15, 35, 60, 0.08);
    --shadow-card: 0 10px 24px rgba(15, 35, 60, 0.07);
    --radius: 8px;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f3f7fb;
    color: var(--slate-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.font-scale-small {
    font-size: 90%;
}

body.font-scale-large {
    font-size: 112.5%;
}

img {
    max-width: 100%;
}

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

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
a,
.btn {
    overflow-wrap: break-word;
}

:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 3000;
    background: #facc15;
    color: #111827;
    padding: 10px 16px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

.accessibility-widget {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 3000;
    font-family: inherit;
}

.accessibility-toggle {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: #7c2bd9;
    color: var(--white);
    box-shadow: 0 14px 32px rgba(49, 24, 88, 0.32);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.accessibility-toggle:hover,
.accessibility-toggle[aria-expanded="true"] {
    background: #6d28d9;
    box-shadow: 0 18px 38px rgba(49, 24, 88, 0.38);
    transform: translateY(-2px);
}

.accessibility-icon {
    width: 36px;
    height: 36px;
    display: block;
    fill: currentColor;
}

.accessibility-wheel {
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
}

.accessibility-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(306px, calc(100vw - 36px));
    padding: 18px;
    border: 1px solid #7c3aed;
    border-radius: 8px;
    background: var(--white);
    color: var(--slate-900);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22);
}

.accessibility-panel[hidden] {
    display: none;
}

.accessibility-panel::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: -10px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-right: 1px solid #7c3aed;
    border-bottom: 1px solid #7c3aed;
    transform: rotate(45deg);
}

.accessibility-panel-title {
    margin-bottom: 12px;
    color: var(--slate-900);
    font-size: 1.15rem;
    font-weight: 700;
}

.accessibility-options {
    display: grid;
    gap: 4px;
}

.accessibility-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--slate-700);
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    padding: 9px 8px;
    text-align: left;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.accessibility-option:hover,
.accessibility-option[aria-pressed="true"] {
    background: #f2eaff;
    color: #5b21b6;
}

.tool-icon {
    flex: 0 0 30px;
    width: 30px;
    color: #2f3140;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.main-header {
    background: var(--white);
    box-shadow: 0 10px 26px rgba(6, 27, 49, 0.09);
}

.brand-strip {
    background: var(--white);
}

.logo-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand-logo-link {
    display: inline-flex;
    flex: 0 0 auto;
}

.site-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.logo-text {
    min-width: 0;
    flex: 1 1 auto;
}

.eyebrow-text {
    color: var(--red);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.logo-text .site-title {
    color: #123a7a;
    font-size: clamp(1.32rem, 2.1vw, 1.75rem);
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 700;
}

.logo-text .sub-text {
    color: var(--slate-600);
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 6px;
}

.header-contact {
    flex: 0 0 auto;
    display: grid;
    gap: 5px;
    text-align: right;
    color: var(--blue-800);
    font-weight: 600;
}

.header-contact a:hover {
    color: var(--red);
}

.sticky-menu-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 18px rgba(6, 27, 49, 0.12);
}

.main-nav {
    background: var(--blue-800);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid var(--gold);
}

.main-nav > ul {
    max-width: var(--container);
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a,
.dropbtn {
    display: block;
    min-height: 52px;
    padding: 15px 24px;
    color: var(--white);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.main-nav > ul > li > a::after,
.main-nav > ul > li > .dropbtn::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 8px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.main-nav a:hover,
.dropbtn:hover,
.main-nav a[aria-current="page"],
.dropdown.open > .dropbtn,
.dropdown:focus-within > .dropbtn {
    background: var(--blue-700);
    text-decoration: none;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > .dropbtn:hover::after,
.main-nav > ul > li > a[aria-current="page"]::after,
.dropdown.open > .dropbtn::after,
.dropdown:focus-within > .dropbtn::after {
    transform: scaleX(1);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1100;
    min-width: 270px;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-soft);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content a {
    min-height: auto;
    padding: 12px 16px;
    color: var(--slate-900);
    border-bottom: 1px solid #edf2f7;
    font-weight: 700;
}

.dropdown-content a:hover {
    background: var(--blue-100);
    color: var(--blue-800);
}

.mobile-menu-toggle {
    display: none;
    width: 100%;
    border: 0;
    background: var(--blue-800);
    color: var(--white);
    padding: 13px 20px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.news-ticker {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
}

.ticker-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    background: var(--red);
    color: var(--white);
    padding: 11px 22px;
    font-weight: 600;
}

.ticker-content {
    overflow: hidden;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: inline-flex;
    gap: 38px;
    white-space: nowrap;
    animation: ticker-scroll 26s linear infinite;
    padding-left: 20px;
}

.news-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-900);
    font-weight: 700;
}

.new-badge {
    background: #f43f5e;
    color: var(--white);
    border-radius: 4px;
    padding: 3px 8px;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.content-area {
    min-height: 52vh;
}

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    background: var(--blue-950);
    color: var(--white);
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 18, 34, 0.96) 0%, rgba(6, 27, 49, 0.86) 50%, rgba(6, 27, 49, 0.42) 100%);
    display: none;
    z-index: 0;
    pointer-events: none;
}

.mySlides {
    position: relative;
    display: none;
    min-height: 430px;
}

.mySlides::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4, 18, 34, 0.84) 0%, rgba(6, 27, 49, 0.7) 46%, rgba(6, 27, 49, 0.2) 100%);
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) saturate(1);
    z-index: 0;
    transform: scale(1.02);
    animation: hero-soft-zoom 16s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 52px 82px;
    text-align: left;
    will-change: opacity, transform;
}

.hero-content::before {
    content: none;
}

.mySlides[aria-hidden="false"] .hero-content {
    opacity: 1;
    animation: hero-text-reveal 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > * {
    position: relative;
    z-index: 1;
}

.hero-eyebrow,
.section-kicker,
.card-label {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-eyebrow {
    color: #ffd166;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-content h1,
.hero-content h2 {
    max-width: 820px;
    color: var(--white) !important;
    opacity: 1;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 700;
    line-height: 1.12;
    margin: 12px 0 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0, 0, 0, 0.7);
}

.hero-content p:not(.hero-eyebrow) {
    max-width: 760px;
    color: #ffffff !important;
    opacity: 1;
    font-size: 1.04rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.86), 0 8px 24px rgba(0, 0, 0, 0.66);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--blue-800);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 11px 22px;
    text-decoration: none;
}

.btn:hover {
    background: var(--blue-700);
    text-decoration: none;
}

.btn-hero {
    background: var(--white);
    color: var(--blue-800);
    border-color: var(--white);
}

.btn-hero:hover {
    background: var(--gold-soft);
    color: var(--blue-900);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.prev,
.next {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    border: 0;
    background: rgba(6, 27, 49, 0.65);
    color: var(--white);
    cursor: pointer;
    font-size: 1.45rem;
    font-weight: 700;
    padding: 16px;
}

.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 3;
    text-align: center;
}

.dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.dot.active,
.dot:hover {
    background: var(--white);
}

.fade {
    animation: slide-fade 0.58s ease both;
}

@keyframes slide-fade {
    from { opacity: 0.88; }
    to { opacity: 1; }
}

@keyframes hero-text-reveal {
    from {
        transform: translateY(10px);
    }
    45% {
        transform: translateY(2px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes hero-soft-zoom {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.07);
    }
}

.main-layout,
.page-shell,
.section-container {
    max-width: var(--container);
    margin: 42px auto;
    padding: 0 20px;
}

.main-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

.home-layout .content-left {
    flex: 1 1 760px;
}

.home-layout .content-right {
    flex: 0 0 330px;
    position: sticky;
    top: 170px;
}

.panel,
.home-intro-panel,
.home-feature-panel,
.impact-panel,
.timeline-section,
.course-callout,
.sidebar-card,
.page-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.home-intro-panel,
.home-feature-panel,
.impact-panel,
.timeline-section,
.sidebar-card,
.page-card {
    padding: 30px;
    margin-bottom: 24px;
}

.home-intro-panel h2,
.home-feature-panel h2,
.impact-panel h2,
.timeline-section h2,
.course-callout h2,
.page-card h2,
.section-title {
    color: var(--blue-800);
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
    line-height: 1.18;
    margin: 8px 0 16px;
}

.intro-metrics,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.intro-metrics div,
.stat-card {
    border-left: 4px solid var(--gold);
    background: #f7fafc;
    border-radius: var(--radius);
    padding: 18px;
}

.intro-metrics span,
.stat-card strong {
    display: block;
    color: var(--blue-800);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.programme-grid,
.card-grid,
.link-grid,
.profile-grid,
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.main-layout > *,
.programme-grid > *,
.card-grid > *,
.link-grid > *,
.profile-grid > *,
.course-grid > *,
.course-status-grid > *,
.service-grid > *,
.funding-limit-grid > *,
.training-list > * {
    min-width: 0;
}

.programme-grid {
    margin-bottom: 24px;
}

.programme-card,
.info-card,
.link-card,
.course-card,
.profile-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-top: 4px solid var(--blue-800);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 24px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.programme-card:hover,
.info-card:hover,
.link-card:hover,
.course-card:hover,
.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 35, 60, 0.12);
    border-color: #bdd3e7;
}

.programme-card:nth-child(2),
.info-card:nth-child(2n),
.link-card:nth-child(2n),
.course-card:nth-child(2n),
.profile-card:nth-child(2n) {
    border-top-color: var(--gold);
}

.programme-card h3,
.info-card h3,
.link-card h3,
.course-card h3,
.profile-card h3,
.timeline-list h3,
.quick-facts-card h3,
.announcements-panel h3,
.footer-container h3 {
    color: var(--slate-900);
    display: block;
    border: 0;
    padding: 0;
    margin: 8px 0 10px;
    font-size: 1.2rem;
}

.clean-list,
.check-list {
    list-style: none;
    margin-top: 18px;
}

.clean-list li,
.check-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}

.clean-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-800);
}

.two-column-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.location-list,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.location-list span,
.tag-list span,
.status-badge,
.role-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--blue-100);
    color: var(--blue-800);
    border: 1px solid #cfe1ef;
    padding: 7px 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.home-feature-panel {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    background: linear-gradient(135deg, var(--white) 0%, #f5f9fc 100%);
}

.spectrum-list {
    display: grid;
    gap: 14px;
}

.spectrum-list div {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 17px;
}

.spectrum-list strong {
    display: block;
    color: var(--blue-800);
    margin-bottom: 6px;
}

.impact-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

.impact-facts {
    display: grid;
    gap: 14px;
}

.impact-facts div {
    background: var(--blue-800);
    color: var(--white);
    border-radius: var(--radius);
    padding: 20px;
}

.impact-facts span {
    display: block;
    color: #f8d68b;
    font-weight: 700;
    margin-bottom: 8px;
}

.impact-facts p {
    color: #e8f1f8;
}

.section-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.text-link {
    color: var(--blue-800);
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 2px solid currentColor;
}

.timeline-list {
    display: grid;
    gap: 16px;
}

.timeline-list article {
    background: #f7fafc;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.timeline-list span {
    color: var(--blue-800);
    font-weight: 700;
}

.course-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    background: var(--blue-800);
}

.course-callout h2,
.course-callout p {
    color: var(--white);
}

.course-callout .section-kicker {
    color: #f8d68b;
}

.btn-callout {
    background: var(--white);
    color: var(--blue-800);
    white-space: nowrap;
}

.btn-callout:hover {
    background: var(--gold-soft);
}

.quick-facts-card dl {
    display: grid;
    gap: 16px;
}

.quick-facts-card dt {
    color: var(--slate-900);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.quick-facts-card dd {
    margin: 0;
}

.announcement-list {
    list-style: none;
}

.announcement-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--slate-200);
}

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

.announcement-list .date {
    display: block;
    color: var(--slate-500);
    font-size: 0.84rem;
    margin-bottom: 5px;
}

.announcement-list a {
    color: var(--blue-800);
    font-weight: 600;
}

.page-hero {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
    color: var(--white);
    border-bottom: 4px solid var(--gold);
}

.page-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 54px 20px;
}

.page-hero p {
    max-width: 780px;
    color: #dbeafe;
    font-size: 1.08rem;
}

.page-title {
    color: var(--white);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.16;
    margin: 8px 0 12px;
}

.lead-panel {
    border-left: 5px solid var(--gold);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 26px 28px;
    margin-bottom: 24px;
    font-size: 1.06rem;
}

.feature-band {
    background: var(--blue-800);
    color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin: 24px 0;
}

.feature-band h2,
.feature-band h3 {
    color: var(--white);
}

.vm-stack {
    display: grid;
    gap: 24px;
}

.vm-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.vm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-100);
    color: var(--blue-800);
    font-size: 2.4rem;
    font-weight: 700;
}

.vm-card:nth-child(2) .vm-icon {
    background: var(--gold-soft);
    color: #8a5a00;
}

.vm-body {
    padding: 30px;
}

.profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card {
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.profile-photo-wrap {
    background: #f1f5f9;
    padding: 26px;
}

.profile-card img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 18px rgba(15, 35, 60, 0.12);
}

.profile-card-body {
    padding: 22px;
}

.officer-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 34px;
    align-items: center;
}

.officer-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    background: #f1f5f9;
}

.officer-details .designation {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.course-card .status-badge {
    margin-bottom: 14px;
}

.course-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.course-status-card {
    border: 1px solid var(--slate-200);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    background: #f7fafc;
    padding: 22px;
}

.course-status-card:nth-child(2) {
    border-left-color: var(--blue-800);
}

.course-status-card .status-badge {
    margin-bottom: 14px;
}

.course-status-card h3 {
    color: var(--blue-800);
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.research-status,
.counselling-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    text-align: center;
}

.status-closed {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.service-card {
    border: 1px solid var(--slate-200);
    border-top: 4px solid var(--blue-800);
    border-radius: var(--radius);
    background: #f7fafc;
    padding: 22px;
}

.service-card:nth-child(2n) {
    border-top-color: var(--gold);
}

.service-card h3 {
    color: var(--slate-900);
    font-size: 1.12rem;
    margin: 8px 0 10px;
}

.funding-limit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.funding-limit-card {
    border-radius: var(--radius);
    background: var(--blue-800);
    color: var(--white);
    padding: 24px;
}

.funding-limit-card:nth-child(2) {
    background: #8a5a00;
}

.funding-limit-card span {
    display: block;
    color: #f8d68b;
    font-weight: 700;
    margin-bottom: 8px;
}

.funding-limit-card strong {
    display: block;
    color: var(--white);
    font-size: 1.45rem;
}

.process-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    background: #f7fafc;
    padding: 22px;
    margin-top: 20px;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--blue-800);
    color: var(--white);
    font-weight: 700;
}

.counselling-contact-card {
    background: var(--blue-800);
    color: var(--white);
}

.counselling-contact-card h2,
.counselling-contact-card p,
.counselling-contact-card address {
    color: var(--white);
}

.counselling-contact-card .section-kicker {
    color: #f8d68b;
}

.counselling-contact-card address {
    margin-top: 12px;
    font-style: normal;
}

.counselling-contact-card a:not(.btn) {
    color: #bfdbfe;
    font-weight: 700;
}

.training-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin-top: 22px;
    counter-reset: training-counter;
}

.training-list li {
    counter-increment: training-counter;
    position: relative;
    min-height: 54px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    background: #f7fafc;
    padding: 14px 16px 14px 54px;
    color: var(--slate-900);
    font-weight: 600;
}

.training-list li::before {
    content: counter(training-counter, decimal-leading-zero);
    position: absolute;
    left: 14px;
    top: 14px;
    color: var(--blue-800);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.contact-item {
    border-left: 4px solid var(--gold);
    background: #f7fafc;
    border-radius: var(--radius);
    padding: 16px;
}

.map-frame {
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    min-height: 420px;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.link-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card a {
    color: var(--blue-800);
    font-weight: 700;
}

.org-link-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 26px;
    align-items: center;
}

.org-link-card img {
    max-height: 140px;
    object-fit: contain;
}

.main-footer {
    background: #071426;
    color: #dbeafe;
    margin-top: 58px;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 1fr;
    gap: 34px;
    padding: 44px 20px;
}

.footer-brand {
    display: flex;
    gap: 18px;
}

.footer-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background: var(--white);
    border-radius: var(--radius);
    padding: 8px;
}

.footer-container h2,
.footer-container h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-contact {
    font-style: normal;
}

.footer-container a {
    color: #bfdbfe;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 20px 24px;
    color: #b7c6d8;
    text-align: center;
    font-size: 0.92rem;
}

body.pause-motion *,
body.pause-motion *::before,
body.pause-motion *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

body.grayscale > :not(.accessibility-widget) {
    filter: grayscale(1);
}

body.underline-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

body.readable-font {
    font-family: Verdana, Arial, sans-serif;
    letter-spacing: 0.01em;
}

body.light-background {
    background: #fff;
    color: #111827;
}

body.light-background .main-header,
body.light-background .brand-strip,
body.light-background .sticky-menu-bar,
body.light-background .news-ticker,
body.light-background .panel,
body.light-background .home-intro-panel,
body.light-background .home-feature-panel,
body.light-background .impact-panel,
body.light-background .timeline-section,
body.light-background .sidebar-card,
body.light-background .page-card,
body.light-background .programme-card,
body.light-background .info-card,
body.light-background .link-card,
body.light-background .course-card,
body.light-background .course-status-card,
body.light-background .research-status,
body.light-background .service-card,
body.light-background .process-card,
body.light-background .profile-card,
body.light-background .lead-panel,
body.light-background .timeline-list article,
body.light-background .spectrum-list div,
body.light-background .intro-metrics div,
body.light-background .stat-card,
body.light-background .contact-item,
body.light-background .training-list li,
body.light-background .accessibility-panel {
    background: #fff;
    color: #111827;
    border-color: #9ca3af;
    box-shadow: none;
}

body.light-background .main-nav,
body.light-background .page-hero,
body.light-background .feature-band,
body.light-background .course-callout,
body.light-background .funding-limit-card,
body.light-background .counselling-contact-card,
body.light-background .impact-facts div,
body.light-background .main-footer {
    background: #fff;
    color: #111827;
    border-color: #111827;
}

body.light-background .hero-section::after {
    background: rgba(255, 255, 255, 0.84);
}

body.light-background .hero-content h1,
body.light-background .hero-content h2,
body.light-background .hero-content p:not(.hero-eyebrow),
body.light-background .main-nav a,
body.light-background .dropbtn,
body.light-background .page-hero p,
body.light-background .course-callout h2,
body.light-background .course-callout p,
body.light-background .counselling-contact-card h2,
body.light-background .counselling-contact-card p,
body.light-background .counselling-contact-card address,
body.light-background .feature-band h2,
body.light-background .feature-band h3,
body.light-background .impact-facts p,
body.light-background .main-footer,
body.light-background .main-footer a {
    color: #111827;
    text-shadow: none;
}

body.light-background .accessibility-panel::after {
    background: #fff;
    border-color: #9ca3af;
}

body.negative-contrast {
    background: #000;
    color: #fff;
}

body.negative-contrast .main-header,
body.negative-contrast .brand-strip,
body.negative-contrast .sticky-menu-bar,
body.negative-contrast .news-ticker,
body.negative-contrast .panel,
body.negative-contrast .home-intro-panel,
body.negative-contrast .home-feature-panel,
body.negative-contrast .impact-panel,
body.negative-contrast .timeline-section,
body.negative-contrast .sidebar-card,
body.negative-contrast .page-card,
body.negative-contrast .programme-card,
body.negative-contrast .info-card,
body.negative-contrast .link-card,
body.negative-contrast .course-card,
body.negative-contrast .course-status-card,
body.negative-contrast .research-status,
body.negative-contrast .service-card,
body.negative-contrast .process-card,
body.negative-contrast .profile-card,
body.negative-contrast .lead-panel,
body.negative-contrast .timeline-list article,
body.negative-contrast .spectrum-list div,
body.negative-contrast .intro-metrics div,
body.negative-contrast .stat-card,
body.negative-contrast .contact-item,
body.negative-contrast .training-list li,
body.negative-contrast .accessibility-panel {
    background: #000;
    color: #fff;
    border-color: #fff;
    box-shadow: none;
}

body.negative-contrast .main-nav,
body.negative-contrast .page-hero,
body.negative-contrast .feature-band,
body.negative-contrast .course-callout,
body.negative-contrast .funding-limit-card,
body.negative-contrast .counselling-contact-card,
body.negative-contrast .impact-facts div,
body.negative-contrast .main-footer {
    background: #000;
    color: #fff;
    border-color: #fff;
}

body.negative-contrast a,
body.negative-contrast h1,
body.negative-contrast h2,
body.negative-contrast h3,
body.negative-contrast dt,
body.negative-contrast .section-kicker,
body.negative-contrast .card-label,
body.negative-contrast .hero-eyebrow,
body.negative-contrast .tool-icon {
    color: #7dd3fc !important;
}

body.negative-contrast p,
body.negative-contrast li,
body.negative-contrast dd,
body.negative-contrast span,
body.negative-contrast .accessibility-option {
    color: #fff;
}

body.negative-contrast .accessibility-panel::after {
    background: #000;
    border-color: #fff;
}

body.negative-contrast .accessibility-option:hover,
body.negative-contrast .accessibility-option[aria-pressed="true"] {
    background: #111827;
    color: #7dd3fc;
}

body.high-contrast {
    background: #000;
    color: #fff;
}

body.high-contrast .main-header,
body.high-contrast .brand-strip,
body.high-contrast .sticky-menu-bar,
body.high-contrast .news-ticker,
body.high-contrast .panel,
body.high-contrast .home-intro-panel,
body.high-contrast .home-feature-panel,
body.high-contrast .impact-panel,
body.high-contrast .timeline-section,
body.high-contrast .sidebar-card,
body.high-contrast .page-card,
body.high-contrast .programme-card,
body.high-contrast .info-card,
body.high-contrast .link-card,
body.high-contrast .course-card,
body.high-contrast .course-status-card,
body.high-contrast .research-status,
body.high-contrast .service-card,
body.high-contrast .process-card,
body.high-contrast .profile-card,
body.high-contrast .lead-panel,
body.high-contrast .timeline-list article,
body.high-contrast .spectrum-list div,
body.high-contrast .intro-metrics div,
body.high-contrast .stat-card,
body.high-contrast .contact-item,
body.high-contrast .training-list li,
body.high-contrast .accessibility-panel {
    background: #000;
    color: #fff;
    border-color: #fff;
    box-shadow: none;
}

body.high-contrast .main-nav,
body.high-contrast .page-hero,
body.high-contrast .feature-band,
body.high-contrast .course-callout,
body.high-contrast .funding-limit-card,
body.high-contrast .counselling-contact-card,
body.high-contrast .impact-facts div,
body.high-contrast .main-footer {
    background: #000;
    color: #fff;
    border-color: #fff;
}

body.high-contrast a,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast dt,
body.high-contrast .section-kicker,
body.high-contrast .card-label,
body.high-contrast .hero-eyebrow,
body.high-contrast .tool-icon {
    color: #ffff00 !important;
}

body.high-contrast p,
body.high-contrast li,
body.high-contrast dd,
body.high-contrast span,
body.high-contrast .accessibility-option {
    color: #fff;
}

body.high-contrast .accessibility-panel::after {
    background: #000;
    border-color: #fff;
}

body.high-contrast .accessibility-option:hover,
body.high-contrast .accessibility-option[aria-pressed="true"] {
    background: #1f2937;
    color: #ffff00;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1080px) {
    .header-contact {
        display: none;
    }

    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .home-layout .content-right {
        position: static;
        flex: 1 1 100%;
    }

    .home-feature-panel,
    .impact-panel,
    .contact-grid,
    .officer-profile,
    .org-link-card,
    .research-status,
    .counselling-contact-card {
        grid-template-columns: 1fr;
    }

    .research-status,
    .counselling-contact-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        padding: 22px 16px;
        text-align: center;
    }

    .brand-strip {
        background: var(--white);
    }

    .logo-text {
        width: 100%;
    }

    .eyebrow-text,
    .logo-text .site-title,
    .logo-text .sub-text {
        overflow-wrap: anywhere;
    }

    .eyebrow-text {
        font-size: 0.78rem;
    }

    .site-logo {
        width: 82px;
        height: 82px;
    }

    .logo-text .site-title {
        font-size: 1.25rem;
    }

    .logo-text .sub-text {
        font-size: 0.98rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav > ul {
        display: block;
    }

    .main-nav a,
    .dropbtn {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .dropdown-content {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border: 0;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
    }

    .news-ticker {
        align-items: stretch;
    }

    .ticker-label {
        padding: 10px 14px;
        font-size: 0.92rem;
    }

    .ticker-track {
        gap: 24px;
        animation-duration: 18s;
    }

    .hero-section,
    .mySlides {
        min-height: 430px;
    }

    .hero-content {
        padding: 58px 24px 76px;
    }

    .hero-content::before {
        content: none;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .hero-content p:not(.hero-eyebrow) {
        font-size: 1rem;
    }

    .prev,
    .next {
        display: none;
    }

    .main-layout,
    .page-shell,
    .section-container {
        margin: 28px auto;
    }

    .home-intro-panel,
    .home-feature-panel,
    .impact-panel,
    .timeline-section,
    .sidebar-card,
    .page-card,
    .programme-card,
    .info-card,
    .link-card,
    .course-card {
        padding: 22px;
    }

    .programme-grid,
    .card-grid,
    .link-grid,
    .profile-grid,
    .course-grid,
    .course-status-grid,
    .service-grid,
    .funding-limit-grid,
    .training-list,
    .intro-metrics,
    .stat-grid,
    .two-column-list {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        flex-direction: column;
    }

    .vm-card {
        grid-template-columns: 1fr;
    }

    .vm-icon {
        min-height: 120px;
    }

    .footer-brand {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .accessibility-widget {
        right: 14px;
        bottom: 16px;
    }

    .accessibility-toggle {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }

    .accessibility-panel {
        right: 0;
        bottom: 68px;
        width: min(300px, calc(100vw - 44px));
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        padding: 16px;
    }

    .accessibility-option {
        min-height: 40px;
        padding: 8px 6px;
    }

    .logo-container {
        gap: 14px;
        padding: 18px 14px;
    }

    .site-logo {
        width: 74px;
        height: 74px;
    }

    .mobile-menu-toggle {
        padding: 12px 16px;
    }

    .main-nav a,
    .dropbtn {
        min-height: 48px;
        padding: 13px 18px;
    }

    .news-ticker {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ticker-label {
        justify-content: center;
        padding: 8px 12px;
    }

    .ticker-content {
        min-height: 38px;
    }

    .ticker-track {
        gap: 18px;
        padding-left: 12px;
    }

    .hero-section,
    .mySlides {
        min-height: 390px;
    }

    .hero-content {
        padding: 46px 18px 68px;
    }

    .hero-content::before {
        content: none;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn,
    .btn-callout {
        width: 100%;
    }

    .main-layout,
    .page-shell,
    .section-container {
        margin: 22px auto;
        padding: 0 14px;
    }

    .home-intro-panel,
    .home-feature-panel,
    .impact-panel,
    .timeline-section,
    .sidebar-card,
    .page-card,
    .programme-card,
    .info-card,
    .link-card,
    .course-card,
    .course-status-card,
    .service-card,
    .funding-limit-card,
    .process-card {
        padding: 18px;
    }

    .process-card {
        grid-template-columns: 1fr;
    }

    .status-pill,
    .counselling-contact-card .btn {
        width: 100%;
    }

    .course-callout,
    .feature-band {
        padding: 22px 18px;
    }

    .training-list li {
        min-height: 50px;
        padding: 12px 12px 12px 48px;
    }

    .training-list li::before {
        left: 12px;
        top: 13px;
    }

    .page-hero-inner {
        padding: 38px 14px;
    }

    .lead-panel {
        padding: 20px;
    }

    .map-frame {
        min-height: 320px;
    }

    .map-frame iframe {
        height: 320px;
    }

    .footer-container {
        padding: 34px 16px;
    }
}

@media (max-width: 360px) {
    .accessibility-panel {
        width: calc(100vw - 44px);
        padding: 14px;
    }

    .accessibility-panel-title {
        font-size: 1.05rem;
    }

    .accessibility-option {
        gap: 8px;
        font-size: 0.92rem;
    }

    .tool-icon {
        flex-basis: 26px;
        width: 26px;
    }

    .logo-text .site-title {
        font-size: 1.15rem;
    }

    .logo-text .sub-text {
        font-size: 0.9rem;
    }

    .hero-content h1,
    .hero-content h2,
    .page-title {
        font-size: 1.35rem;
    }

    .home-intro-panel h2,
    .home-feature-panel h2,
    .impact-panel h2,
    .timeline-section h2,
    .course-callout h2,
    .page-card h2,
    .section-title {
        font-size: 1.18rem;
    }

    .intro-metrics span,
    .stat-card strong {
        font-size: 1.28rem;
    }

    .location-list span,
    .tag-list span,
    .status-badge,
    .role-badge {
        width: 100%;
        justify-content: center;
    }
}
