/* NDAS Maritime — static site stylesheet (mirrors the WordPress theme's style.css) */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   Design tokens — copied 1:1 from the Next.js app's app/globals.css
   ========================================================================== */

:root {
  --navy: #0b2748;
  --navy-soft: #1d4e81;
  --gold: #af8f47;
  --gold-hover: #c9a55a;
  --teal: #3a7d8c;
  --bg-off: #f8f9fb;
  --bg-off-2: #f5f7f9;
  --white: #ffffff;
  --text-muted: rgba(11, 39, 72, 0.6);
  --text-muted-2: rgba(11, 39, 72, 0.5);
  --radius: 0.625rem;
  --radius-lg: 1.5rem;
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --max-width: 1280px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 640px) { .wrap { padding: 0 2.5rem; } }

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline-white { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--gold); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); padding: 0.75rem 1.5rem; }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.eyebrow--light .eyebrow__text { color: var(--gold); }
.eyebrow--light .eyebrow__line { background: var(--gold); }

/* Department "About This Department" layout — admin can toggle between
   side-by-side (default) and stacked (image above text) via the inline editor. */
.dept-about { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.dept-about__image { flex: 1 1 320px; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; background: #eee; }
.dept-about__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dept-about__text { flex: 2 1 380px; min-width: 280px; font-size: 1rem; line-height: 1.75; color: #333; }
.dept-about.is-stacked { flex-direction: column; }
.dept-about.is-stacked .dept-about__image { width: 100%; flex-basis: auto; aspect-ratio: 21/9; }
.dept-about.is-stacked .dept-about__text { width: 100%; flex-basis: auto; }
.eyebrow__line { width: 32px; height: 2px; background: var(--gold); border-radius: 999px; flex-shrink: 0; }
.eyebrow__text { font-size: 0.625rem; font-weight: 800; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); }

/* Reveal-on-scroll (mimics Framer Motion whileInView) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Top bar (contact info + social links, above the main header)
   ========================================================================== */

:root { --topbar-h: 2.375rem; }

.site-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 51;
  height: var(--topbar-h);
  background: #4c6c84;
  color: rgba(232, 238, 245, 0.75);
  font-size: 0.75rem;
  font-weight: 500;
}
.site-topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-topbar__location {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-topbar__right { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 768px) { .site-topbar__right { display: flex; } }
.site-topbar__contact { display: flex; align-items: center; gap: 1.25rem; }
.site-topbar__contact a { display: inline-flex; align-items: center; gap: 0.375rem; color: inherit; text-decoration: none; white-space: nowrap; transition: color 0.2s ease; }
.site-topbar__contact a:hover { color: #fff; }
.site-topbar__contact svg { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
.site-topbar__socials { display: flex; align-items: center; gap: 0.375rem; padding-left: 1rem; border-left: 1px solid rgba(232, 238, 245, 0.3); }
.site-topbar__socials a {
  width: 1.5rem; height: 1.5rem; border-radius: 0.1875rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232, 238, 245, 0.15); color: inherit;
  transition: background-color 0.2s ease;
}
.site-topbar__socials a:hover { background: #af8f47; }
.site-topbar__socials svg { width: 0.75rem; height: 0.75rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 39, 72, 0.06);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (max-width: 767.98px) {
  .site-header__inner { height: auto; min-height: 4rem; padding: 0.4rem 0; }
}

.site-logo { display: flex; align-items: center; gap: 0.5rem; }
.site-logo__badge { width: 32px; height: 32px; border-radius: 0.5rem; background: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; transition: transform 0.6s ease; }
.site-logo:hover .site-logo__badge { transform: rotate(360deg); }
.site-logo__img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.site-logo__text { display: block; line-height: 1.15; max-width: 9.5rem; }
.site-logo__title { display: block; font-size: 0.6875rem; font-weight: 800; color: var(--navy); }
.site-logo__sub { display: block; font-size: 0.625rem; color: var(--text-muted-2); }
@media (min-width: 768px) {
  .site-logo__text { max-width: 15rem; }
  .site-logo__title { font-size: 0.875rem; }
  .site-logo__sub { font-size: 0.75rem; }
}

.primary-nav { position: relative; display: none; align-items: center; gap: 1.2rem; }
@media (min-width: 1024px) { .primary-nav { display: flex; } }
.primary-nav__item { position: relative; padding: 1rem 0; }
.primary-nav__link { font-size: 0.875rem; font-weight: 500; color: var(--text-muted-2); display: flex; align-items: center; gap: 0.375rem; transition: color 0.2s; }
.primary-nav__link:hover, .primary-nav__item.is-active .primary-nav__link { color: var(--navy); }
.primary-nav__link .chevron { transition: transform 0.3s ease; opacity: 0.6; }
.primary-nav__link--cta { font-weight: 700; color: #fff !important; background: var(--gold, #af8f47); padding: 0.5rem 1.1rem; border-radius: 0.375rem; transition: background 0.2s, color 0.2s; }
.primary-nav__link--cta:hover, .primary-nav__item.is-active .primary-nav__link--cta { background: var(--navy, #0b2748); color: #fff !important; }
.mobile-nav__cta { font-weight: 700 !important; color: #fff !important; background: var(--gold, #af8f47); border-radius: 0.375rem; margin: 0.25rem 1rem; text-align: center; }
.primary-nav__item:hover .chevron, .primary-nav__item.has-dropdown.is-open .chevron { transform: rotate(180deg); }
.nav-underline { position: absolute; bottom: 0; height: 2px; background: var(--navy); border-radius: 999px 999px 0 0; transition: left 0.35s cubic-bezier(0.19,1,0.22,1), width 0.35s cubic-bezier(0.19,1,0.22,1), opacity 0.2s; opacity: 0; left: 0; width: 0; pointer-events: none; }
.primary-nav__dropdown {
  position: absolute; top: 100%; left: 0; padding-top: 0.5rem; width: 14rem; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s ease;
}
.primary-nav__item:hover .primary-nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav__dropdown-inner { background: rgba(250,250,248,0.9); backdrop-filter: blur(20px); border: 1px solid rgba(11,39,72,0.08); border-radius: 0.75rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 0.375rem; }
.primary-nav__dropdown a { display: block; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: var(--text-muted-2); border-radius: 0.5rem; }
.primary-nav__dropdown a:hover { color: var(--navy); background: rgba(11,39,72,0.05); }

.site-header__cta { display: none; }
@media (min-width: 768px) { .site-header__cta { display: block; } }

.mobile-menu-toggle { background: none; border: none; padding: 0.5rem; cursor: pointer; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-nav { display: none; border-top: 1px solid rgba(11,39,72,0.06); padding: 1rem 0; }
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav a { display: block; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; border-radius: 0.5rem; color: var(--navy); }
.mobile-nav a:hover { background: rgba(11,39,72,0.05); }
.mobile-nav__children { margin-left: 1rem; padding-left: 0.75rem; border-left: 2px solid rgba(11,39,72,0.1); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold); z-index: 60; width: 0%; transition: width 0.1s linear; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero__slider { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,39,72,0.8) 55%, transparent 100%); z-index: 1; }
.hero__content { position: relative; z-index: 10; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 8rem 1.5rem; }
@media (min-width: 640px) { .hero__content { padding-left: 2.5rem; padding-right: 2.5rem; } }
.hero__inner { max-width: 660px; }
.hero__title { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900; color: var(--white); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero__subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 2.5rem; max-width: 32rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__slider-caption { position: absolute; bottom: 4.5rem; left: 1.5rem; display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 1rem; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; }
@media (min-width: 640px) { .hero__slider-caption { left: 2.5rem; } }
.hero__slider-caption-icon { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; animation: heroCaptionPulse 2s ease-in-out infinite; }
@keyframes heroCaptionPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero__slider-caption span:last-child { color: var(--white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; }
.hero__slider-dots { position: absolute; bottom: 2rem; left: 1.5rem; display: flex; gap: 0.5rem; }
@media (min-width: 640px) { .hero__slider-dots { left: 2.5rem; } }
.hero__slider-dot { width: 1.5rem; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.3); border: none; padding: 0; cursor: pointer; transition: background 0.3s, width 0.3s; }
.hero__slider-dot.is-active { background: var(--gold); width: 2.25rem; }
.hero__slider-dot:hover { background: rgba(255,255,255,0.6); }

/* ==========================================================================
   About section
   ========================================================================== */

.about-section { padding: 6rem 0; background: var(--white); }
.about-section__inner p, .about-section__inner h2 { max-width: 42rem; }
.about-section h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 900; color: var(--navy); margin-bottom: 1.5rem; line-height: 1.15; }
.about-section p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.about-section__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ==========================================================================
   Stats section
   ========================================================================== */

.stats-section { padding: 6rem 0; background: var(--navy); }
.stats-section__badge { display: inline-block; padding: 0.25rem 1rem; margin-bottom: 1.5rem; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; background: rgba(175,143,71,0.2); color: var(--gold); border-radius: 999px; border: 1px solid rgba(175,143,71,0.3); }
.stats-section h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.stats-section h2 span { color: var(--gold); }
.stats-section__sub { font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 42rem; line-height: 1.6; margin-bottom: 4rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(5, 1fr); } }
.stats-grid__item { display: block; text-decoration: none; cursor: pointer; transition: transform 0.2s ease; }
.stats-grid__item:hover { transform: translateY(-3px); }
.stats-grid__item:hover .stats-grid__value { color: var(--gold-hover); }
.stats-grid__value { font-size: clamp(1.875rem, 3vw, 2.25rem); font-weight: 900; color: var(--gold); margin-bottom: 0.5rem; transition: color 0.2s ease; }
.stats-grid__label { font-size: 0.875rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   Features section
   ========================================================================== */

.features-section { padding: 6rem 0; background: var(--bg-off); }
.features-section__head { margin-bottom: 4rem; }
.features-section h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 900; color: var(--navy); }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--white); padding: 2rem; border-radius: 1.5rem; border: 1px solid rgba(11,39,72,0.05); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.feature-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--navy); margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.125rem; font-weight: 900; color: var(--navy); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ==========================================================================
   Events section
   ========================================================================== */

.events-section { padding: 6rem 0; background: var(--white); }
.events-section__head { display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; margin-bottom: 4rem; }
@media (min-width: 768px) { .events-section__head { flex-direction: row; align-items: flex-end; } }
.events-section__head-text { max-width: 32rem; }
.events-section h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 900; color: var(--navy); margin-bottom: 1rem; }
.events-section__head-text p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { border-radius: 1.5rem; overflow: hidden; border: 1px solid rgba(11,39,72,0.08); background: var(--white); }
.event-card__img { height: 10rem; background-size: cover; background-position: center; background-color: rgba(11,39,72,0.05); }
.event-card__body { padding: 1.25rem; }
.event-card__date { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.event-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }

/* ==========================================================================
   CTA section
   ========================================================================== */

.cta-section { padding: 6rem 0; background: var(--navy); text-align: center; }
.cta-section__badge { display: inline-block; padding: 0.25rem 1rem; margin-bottom: 1.5rem; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; background: rgba(175,143,71,0.2); color: var(--gold); border-radius: 999px; border: 1px solid rgba(175,143,71,0.3); }
.cta-section h2 { font-size: clamp(1.875rem, 5vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 1.5rem; line-height: 1.2; max-width: 48rem; margin-left: auto; margin-right: auto; }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 36rem; margin: 0 auto 2.5rem; }
.cta-section__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy); }
.site-footer__grid { padding: 4rem 0; display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__brand { color: var(--white); font-weight: 900; font-size: 0.8125rem; letter-spacing: -0.01em; margin-bottom: 1rem; line-height: 1.4; }
.site-footer__desc { color: rgba(255,255,255,0.5); font-size: 0.8125rem; font-weight: 500; line-height: 1.75; }
.site-footer__col-title { color: var(--white); font-size: 0.625rem; font-weight: 800; letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a { font-size: 0.8125rem; font-weight: 500; color: rgba(255,255,255,0.5); transition: all 0.3s; }
.site-footer__col a:hover { color: var(--white); padding-left: 0.25rem; }
.site-footer__bottom { max-width: var(--max-width); margin: 0 auto; padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; padding-left: 2.5rem; padding-right: 2.5rem; } }
.site-footer__copy { font-size: 0.6875rem; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; text-transform: uppercase; }
.site-footer__est { display: flex; align-items: center; gap: 0.5rem; }
.site-footer__est-line { width: 2rem; height: 1px; background: rgba(175,143,71,0.4); }
.site-footer__est-text { font-size: 0.625rem; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }

/* ==========================================================================
   Utility
   ========================================================================== */

main { padding-top: calc(4rem + var(--topbar-h)); } /* offset for fixed topbar + header on inner pages */
.hero { margin-top: calc(-4rem - var(--topbar-h)); padding-top: calc(4rem + var(--topbar-h)); } /* hero sits under transparent header */

/* ==========================================================================
   Shared inner-page components (About, Academics, Admissions, Facilities,
   Partnerships, News, Gallery, Contact)
   ========================================================================== */

.page-hero { position: relative; padding: 10rem 0 5rem; background: var(--navy); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); opacity: 0.6; z-index: 0; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__crumb { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 1.25rem; max-width: 44rem; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 1.0625rem; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 40rem; }

.content-section { padding: 5rem 0; background: var(--white); }
.content-section.bg-off { background: var(--bg-off); }
.content-section.bg-navy { background: var(--navy); }
.content-section.bg-navy h2, .content-section.bg-navy p { color: var(--white); }
.content-section.bg-navy p { color: rgba(255,255,255,0.6); }
.content-section h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--navy); margin-bottom: 1.25rem; line-height: 1.2; }
.content-section > .wrap > p, .content-section__lead { font-size: 1rem; color: var(--text-muted); line-height: 1.7; max-width: 42rem; margin-bottom: 3rem; }

.badge-pill { display: inline-block; padding: 0.25rem 1rem; margin-bottom: 1.5rem; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; background: rgba(175,143,71,0.15); color: var(--gold); border-radius: 999px; border: 1px solid rgba(175,143,71,0.3); }

.cards-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.cards-grid.cols-2 { }
.cards-grid.cols-3 { }
.cards-grid.cols-4 { }
@media (min-width: 768px) {
	.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
	.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
	.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.info-card { background: var(--white); border: 1px solid rgba(11,39,72,0.07); border-radius: 1.25rem; padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.info-card__category { display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.info-card__img { height: 12rem; border-radius: 0.875rem; background-size: cover; background-position: center; background-color: rgba(11,39,72,0.05); margin-bottom: 1.25rem; }
.info-card h3 { font-size: 1.125rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.info-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.info-card__code { font-family: monospace; font-size: 0.75rem; color: var(--gold); font-weight: 700; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.filter-bar button { padding: 0.5rem 1.25rem; border-radius: 999px; border: 1px solid rgba(11,39,72,0.15); background: var(--white); color: var(--navy); font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.filter-bar button:hover, .filter-bar button.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.stat-block { text-align: center; }
.stat-block__value { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 900; color: var(--gold); margin-bottom: 0.375rem; }
.stat-block__label { font-size: 0.8125rem; color: var(--text-muted-2); text-transform: uppercase; letter-spacing: 0.05em; }

.leader-card { text-align: center; }
.leader-card__photo { width: 100%; aspect-ratio: 1; border-radius: 1rem; background-size: cover; background-position: center; background-color: rgba(11,39,72,0.06); margin-bottom: 1.25rem; }
.leader-card h3 { font-size: 1.0625rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
.leader-card__role { font-size: 0.8125rem; color: var(--gold); font-weight: 700; margin-bottom: 0.75rem; }
.leader-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

.step-list { display: grid; grid-template-columns: 1fr; gap: 1.5rem; counter-reset: step; }
@media (min-width: 768px) { .step-list { grid-template-columns: repeat(4, 1fr); } }
.step-item { position: relative; padding: 2rem 1.5rem 1.5rem; background: var(--bg-off); border-radius: 1.25rem; }
.step-item__num { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 800; margin-bottom: 1rem; }
.step-item h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.step-item p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

.faq-list { max-width: 48rem; }
.faq-item { border-bottom: 1px solid rgba(11,39,72,0.1); }
.faq-item__q { width: 100%; text-align: left; padding: 1.5rem 0; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1rem; font-weight: 700; color: var(--navy); }
.faq-item__q .icon { flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__q .icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.is-open .faq-item__a { max-height: 20rem; }
.faq-item__a-inner { padding-bottom: 1.5rem; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid__item { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: rgba(11,39,72,0.05); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid__item:hover img { transform: scale(1.06); }
.gallery-grid__caption { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(0deg, rgba(11,39,72,0.85), transparent); color: var(--white); font-size: 0.8125rem; font-weight: 600; opacity: 0; transition: opacity 0.3s; }
.gallery-grid__item:hover .gallery-grid__caption { opacity: 1; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(11,39,72,0.92); z-index: 100; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 0.5rem; }
.lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--white); cursor: pointer; }

.post-card { display: block; border-radius: 1.25rem; overflow: hidden; border: 1px solid rgba(11,39,72,0.08); background: var(--white); }
.post-card__img { height: 12rem; background-size: cover; background-position: center; background-color: rgba(11,39,72,0.05); }
.post-card__body { padding: 1.5rem; }
.post-card__date { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.post-card h3 { font-size: 1.0625rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.35; }
.post-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.department-card { display: block; text-decoration: none; border-radius: 1.5rem; overflow: hidden; border: 1px solid rgba(11,39,72,0.08); background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.department-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(11,39,72,0.12); }
.department-card__img { height: 10rem; background-size: cover; background-position: center; position: relative; }
.department-card__body { padding: 1.5rem; }
.department-card__body h3 { font-size: 1.0625rem; font-weight: 900; color: var(--navy); margin: 0 0 0.5rem; }
.department-card__body p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; margin: 0 0 0.75rem; }
.department-card__link { font-size: 0.8125rem; font-weight: 700; color: var(--gold); }
.event-card, .feature-card.department-card-link { cursor: pointer; }
a.event-card { display: block; text-decoration: none; color: inherit; }
a.feature-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.info-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; } }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-info-item__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(11,39,72,0.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); }
.contact-info-item h4 { font-size: 0.9375rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
.contact-info-item p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.form-field input, .form-field select, .form-field textarea {
	width: 100%; padding: 0.875rem 1rem; border-radius: 0.75rem; border: 1px solid rgba(11,39,72,0.15);
	font-family: inherit; font-size: 0.9375rem; color: var(--navy); background: var(--white); transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field input[type="file"] { padding: 0.625rem; font-size: 0.875rem; cursor: pointer; }
.form-field input[type="file"]::file-selector-button { border: none; background: var(--navy); color: var(--white); padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.8125rem; margin-right: 0.75rem; cursor: pointer; transition: background 0.2s; }
.form-field input[type="file"]::file-selector-button:hover { background: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.form-success { padding: 1rem 1.25rem; background: rgba(80,150,120,0.1); border: 1px solid rgba(80,150,120,0.3); border-radius: 0.75rem; color: #2f7a55; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.25rem; display: none; }
.form-success.is-visible { display: block; }
.form-error { padding: 1rem 1.25rem; background: rgba(200,60,60,0.08); border: 1px solid rgba(200,60,60,0.3); border-radius: 0.75rem; color: #b03434; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.25rem; display: none; }
.form-error.is-visible { display: block; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }

/* Registration form — Regular Programme vs Short Course toggle.
   "Programme Type" radios show/hide one of two panels: the existing
   Course Enrolled <select> (Regular Programme), or an expandable list
   of standalone short courses (Short Course). Both write to the same
   "Course Enrolled" field name so forms-backend/submit.php needs no changes. */
.short-course-toggle {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.875rem 1rem; border-radius: 0.75rem; border: 1px solid rgba(11,39,72,0.15);
	background: var(--white); font-family: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--navy);
	cursor: pointer; transition: border-color 0.2s;
}
.short-course-toggle:hover, .short-course-toggle:focus { outline: none; border-color: var(--gold); }
.short-course-toggle__icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--bg-off); color: var(--navy); font-size: 1.125rem; line-height: 1; transition: transform 0.3s ease, background 0.2s ease; }
.short-course-field.is-open .short-course-toggle__icon { transform: rotate(45deg); background: var(--gold); color: var(--white); }
.short-course-field.is-open .short-course-toggle { border-color: var(--gold); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.short-course-panel-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-expo); border: 1px solid transparent; border-top: none; border-radius: 0 0 0.75rem 0.75rem; }
.short-course-field.is-open .short-course-panel-wrap { grid-template-rows: 1fr; border-color: rgba(11,39,72,0.15); }
.short-course-panel { overflow: hidden; min-height: 0; }
.short-course-panel__inner { max-height: 22rem; overflow-y: auto; padding: 0.5rem; }

.short-course-option { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem; border-radius: 0.5rem; cursor: pointer; transition: background 0.15s ease; }
.short-course-option:hover { background: var(--bg-off); }
.short-course-option input[type="radio"] { width: auto; margin-top: 0.25rem; flex-shrink: 0; accent-color: var(--gold); }
.short-course-option__body { display: flex; flex-direction: column; gap: 0.2rem; }
.short-course-option__title { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.short-course-option__desc { font-size: 0.8125rem; color: var(--text-muted-2); line-height: 1.5; }
.short-course-option:has(input:checked) { background: rgba(175,143,71,0.1); }
.short-course-option:has(input:checked) .short-course-option__title { color: var(--gold-hover); }

.map-embed { width: 100%; height: 24rem; border-radius: 1.25rem; overflow: hidden; border: 1px solid rgba(11,39,72,0.1); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Spotlight card hover (matches the real Contact page's SpotlightCard —
   a radial gold glow that follows the cursor, plus icon color-fill on hover)
   ========================================================================== */

.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(175,143,71,0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card:hover { border-color: rgba(175,143,71,0.2) !important; }
.spotlight-card .contact-info-item__icon { transition: all 0.5s; }
.spotlight-card:hover .contact-info-item__icon { background: var(--gold); color: var(--white); }

/* Card lift on hover (leadership, trades, facilities, partners) */
.hover-lift { transition: transform 0.4s cubic-bezier(0.19,1,0.22,1), box-shadow 0.4s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(11,39,72,0.12); }

/* Image zoom on hover inside a card */
.img-zoom { overflow: hidden; }
.img-zoom img, .img-zoom > div { transition: transform 0.6s cubic-bezier(0.19,1,0.22,1); }
.img-zoom:hover img, .img-zoom:hover > div { transform: scale(1.08); }

/* Underlined link with animated draw-on-hover (used for "View Programs" style links) */
.link-underline { position: relative; display: inline-flex; align-items: center; gap: 0.375rem; }
.link-underline::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.19,1,0.22,1); }
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }
.link-underline .arrow { transition: transform 0.3s; }
.link-underline:hover .arrow { transform: translateX(4px); }

/* Leadership section */
.leader-badge { display: inline-flex; flex-direction: column; }
.leader-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
.leader-card-lg { display: flex; gap: 1.5rem; background: var(--white); border: 1px solid rgba(11,39,72,0.07); border-radius: 1.25rem; padding: 1.75rem; }
.leader-card-lg__photo { width: 5.5rem; height: 5.5rem; border-radius: 50%; background-color: rgba(11,39,72,0.05); flex-shrink: 0; border: 2px solid var(--gold); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.leader-card-lg__photo img { width: 100%; height: 100%; object-fit: contain; padding: 0.85rem; transition: transform 0.5s cubic-bezier(0.19,1,0.22,1); }
.leader-card-lg:hover .leader-card-lg__photo img { transform: scale(1.15); }
.leader-card-lg h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 0.125rem; }
.leader-card-lg__role { font-size: 0.8125rem; color: var(--gold); font-weight: 700; margin-bottom: 0.625rem; }
.leader-card-lg p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.65; }

.co-message { max-width: 50rem; margin: 0 auto; }
.co-message blockquote { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.co-message__sign { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(11,39,72,0.1); }
.co-message__sign strong { display: block; color: var(--navy); font-size: 0.9375rem; }
.co-message__sign span { font-size: 0.8125rem; color: var(--text-muted); }

.values-tags { display: flex; flex-wrap: wrap; gap: 0.625rem; margin: 1.25rem 0; }
.values-tags span { padding: 0.375rem 1rem; border-radius: 999px; background: rgba(11,39,72,0.06); color: var(--navy); font-size: 0.75rem; font-weight: 700; }

.ndl-advantage { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .ndl-advantage { grid-template-columns: 2fr 1fr; } }
.ndl-advantage__stats { display: flex; gap: 1.5rem; }
.ndl-advantage__stat { text-align: center; }
.ndl-advantage__stat-value { font-size: 2rem; font-weight: 900; color: var(--gold); }
.ndl-advantage__stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   CO Message — photo beside write-up, matches the real About page layout
   (260px photo column + flexible text column, gradient caption overlay)
   ========================================================================== */

.co-message-grid { display: grid; grid-template-columns: 1fr; align-items: start; background: rgba(11,39,72,0.05); border: 1px solid rgba(11,39,72,0.1); gap: 1px; max-width: 56rem; margin: 0 auto; }
@media (min-width: 900px) { .co-message-grid { grid-template-columns: 260px 1fr; } }
.co-message-photo { position: relative; background: var(--navy); aspect-ratio: 5 / 6; overflow: hidden; }
.co-message-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 1; position: absolute; inset: 0; }
.co-message-photo__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; background: linear-gradient(0deg, var(--navy) 0%, transparent 100%); }
.co-message-photo__caption p:first-child { color: var(--white); font-size: 0.8125rem; font-weight: 700; }
.co-message-photo__caption p:last-child { color: var(--gold); font-size: 0.625rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.125rem; }
.co-message-text { background: var(--bg-off-2); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .co-message-text { padding: 3rem; } }
.co-message-text p.body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.85; }
.co-message-text__sign { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(11,39,72,0.1); }
.co-message-text__sign strong { display: block; color: var(--gold); font-size: 0.9375rem; font-weight: 700; }
.co-message-text__sign span { display: block; font-size: 0.8125rem; color: var(--text-muted-2); margin-top: 0.125rem; }
.co-message-text__sign .signoff { color: var(--gold); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.03em; margin-top: 0.75rem; }

/* ==========================================================================
   3D Tilt card (map panel) — follows the cursor like the real TiltCard
   ========================================================================== */

.tilt-card { transform-style: preserve-3d; transition: transform 0.15s ease-out; will-change: transform; }

.map-panel {
  position: relative; min-height: 24rem; background: var(--navy); border-radius: 1.25rem;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.map-panel__grid { position: absolute; inset: 0; opacity: 0.08; background-image: linear-gradient(#f5f7f9 1px, transparent 1px), linear-gradient(90deg, #f5f7f9 1px, transparent 1px); background-size: 40px 40px; }
.map-panel__glow { position: absolute; top: 30%; left: 30%; width: 8rem; height: 8rem; border-radius: 50%; background: rgba(175,143,71,0.25); filter: blur(32px); animation: mapGlowPulse 6s ease-in-out infinite; }
@keyframes mapGlowPulse { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.3); opacity: 0.55; } }
.map-panel__particle { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(175,143,71,0.5); animation: mapParticleFloat 8s ease-in-out infinite; }
@keyframes mapParticleFloat { 0%, 100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(-24px); opacity: 0.8; } }
.map-panel__content { position: relative; z-index: 2; text-align: center; padding: 2rem; }
.map-panel__pin { width: 4rem; height: 4rem; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.map-panel__label { color: rgba(255,255,255,0.6); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.map-panel__address { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 0.375rem; max-width: 20rem; }

/* ==========================================================================
   Leadership flip cards — exact match to the real LeaderCard component:
   3D flip on hover, front = photo + name/role caption, back = gold panel
   with role + bio. Used both in the compass grid and the previous-COs grid.
   ========================================================================== */

.flip-card { perspective: 1000px; cursor: pointer; width: 100%; }
.flip-card__inner { position: relative; width: 100%; aspect-ratio: 3 / 4; transition: transform 0.55s cubic-bezier(0.19,1,0.22,1); transform-style: preserve-3d; }
.flip-card:hover .flip-card__inner { transform: rotateY(180deg); }
.flip-card__front, .flip-card__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px; overflow: hidden; }
.flip-card__front { border: 1px solid rgba(11,39,72,0.1); background: #dce3ec; }
.flip-card__front img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0.85; transition: transform 0.7s ease; }
.flip-card:hover .flip-card__front img { transform: scale(1.05); }
.flip-card__anchor { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.flip-card__anchor span { width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid rgba(175,143,71,0.4); display: flex; align-items: center; justify-content: center; }
.flip-card__gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 6rem; background: linear-gradient(0deg, var(--navy) 0%, transparent 100%); }
.flip-card__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; }
.flip-card__caption p:first-child { color: var(--white); font-size: 0.8125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.flip-card__caption p:last-child { color: var(--gold); font-size: 0.625rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.125rem; }
.flip-card__back { background: var(--gold); border: 1px solid var(--gold); transform: rotateY(180deg); padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; }
.flip-card__back-label { font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(13,34,56,0.5); margin-bottom: 0.5rem; }
.flip-card__back-role { color: #0d2238; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.75rem; }
.flip-card__back-rule { width: 1.25rem; height: 1px; background: rgba(13,34,56,0.25); margin-bottom: 0.75rem; }
.flip-card__back-bio { color: rgba(13,34,56,0.75); font-size: 0.75rem; line-height: 1.65; }
.flip-card__back-name { color: #0d2238; font-size: 0.6875rem; font-weight: 700; margin-top: 0.75rem; }

/* Compass grid — senior leaders + current CO arranged around a decorative
   compass rose, exactly matching the real About page layout */
.compass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: center; max-width: 42rem; margin: 0 auto; }
.compass-rose { position: relative; width: 6rem; height: 6rem; margin: 0 auto; }
.compass-rose__ring1 { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(11,39,72,0.15); }
.compass-rose__ring2 { position: absolute; inset: 0.75rem; border-radius: 50%; border: 1px solid rgba(175,143,71,0.3); }
.compass-rose__h { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(11,39,72,0.1); transform: translateY(-50%); }
.compass-rose__v { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(11,39,72,0.1); transform: translateX(-50%); }
.compass-rose__dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.compass-rose__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.5rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(11,39,72,0.4); }

/* Previous COs — hairline grid of flip cards, exactly matching the real layout */
.co-hairline-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(11,39,72,0.05); border: 1px solid rgba(11,39,72,0.1); }
@media (min-width: 640px) { .co-hairline-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .co-hairline-grid { grid-template-columns: repeat(5, 1fr); } }
.co-hairline-grid__cell { background: var(--bg-off-2); padding: 1rem; min-height: 23rem; display: flex; }


/* ==========================================================================
   Heritage — text + decorative rotating emblem box, matching the real
   About page's Heritage component (rotating rings, orbiting dot, ND badge)
   ========================================================================== */

.heritage-grid { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .heritage-grid { flex-direction: row; gap: 5rem; } }
.heritage-grid__text { flex: 1; }
.heritage-grid__visual { flex: 1; width: 100%; display: flex; justify-content: center; }
.heritage-badge { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.heritage-badge__icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.heritage-badge strong { display: block; color: var(--navy); font-size: 0.875rem; font-weight: 700; }
.heritage-badge span { display: block; color: var(--text-muted-2); font-size: 0.75rem; }

.heritage-visual { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; }
.heritage-visual__base { position: absolute; inset: 0; background: var(--navy); overflow: hidden; }
.heritage-visual__grid { position: absolute; inset: 0; opacity: 0.08; background-image: linear-gradient(#f5f7f9 1px, transparent 1px), linear-gradient(90deg, #f5f7f9 1px, transparent 1px); background-size: 32px 32px; }
.heritage-visual__glow { position: absolute; top: 50%; left: 50%; width: 55%; height: 55%; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(29,78,129,0.35); filter: blur(40px); }
.heritage-visual__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(175,143,71,0.2); animation: heritageSpin 18s linear infinite; }
.heritage-visual__ring--outer { inset: 12%; }
.heritage-visual__ring--inner { inset: 22%; border-color: rgba(175,143,71,0.12); }
.heritage-visual__ring--dashed { inset: 17%; border-style: dashed; border-color: rgba(76,108,132,0.35); animation-direction: reverse; animation-duration: 24s; }
@keyframes heritageSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.heritage-emblem { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.heritage-emblem__ring { position: relative; width: 6rem; height: 6rem; border-radius: 50%; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.heritage-emblem__core { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(175,143,71,0.12); display: flex; align-items: center; justify-content: center; }
.heritage-emblem__core span { color: var(--gold); font-weight: 900; font-size: 1.125rem; letter-spacing: -0.02em; }
.heritage-emblem__orbit { position: absolute; inset: 0; animation: heritageSpin 12s linear infinite; }
.heritage-emblem__orbit-dot { position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.heritage-visual__corner-a { position: absolute; top: 1.5rem; right: 1.5rem; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(175,143,71,0.4); }
.heritage-visual__corner-b { position: absolute; bottom: 1.5rem; left: 1.5rem; width: 1.5rem; height: 1.5rem; background: rgba(175,143,71,0.2); }
.heritage-visual__label-br { position: absolute; bottom: 2.5rem; right: 2.5rem; text-align: right; }
.heritage-visual__label-br p:first-child { color: rgba(175,143,71,0.6); font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.4em; text-transform: uppercase; }
.heritage-visual__label-br p:last-child { color: rgba(255,255,255,0.4); font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; margin-top: 0.25rem; }
.heritage-visual__label-tl { position: absolute; top: 2.5rem; left: 2.5rem; }
.heritage-visual__label-tl p:first-child { color: rgba(255,255,255,0.85); font-size: 1.75rem; font-weight: 700; }
.heritage-visual__label-tl p:last-child { color: rgba(255,255,255,0.3); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; margin-top: 0.125rem; }

/* ==========================================================================
   Mission / Vision / Values (left) + NDL Advantage sticky navy panel (right)
   ========================================================================== */

.mv-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .mv-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.mv-list { display: flex; flex-direction: column; gap: 2rem; }
.mv-item { border-left: 2px solid var(--gold); padding-left: 1.25rem; }
.mv-item__label { font-size: 0.625rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.mv-item__text { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.8; }

.ndl-panel { background: var(--navy); padding: 2.5rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .ndl-panel { padding: 3rem; } }
.ndl-panel__grid { position: absolute; inset: 0; opacity: 0.06; background-image: linear-gradient(#f5f7f9 1px, transparent 1px), linear-gradient(90deg, #f5f7f9 1px, transparent 1px); background-size: 32px 32px; }
.ndl-panel__content { position: relative; z-index: 2; }
.ndl-panel__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(175,143,71,0.4); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.ndl-panel h3 { color: var(--white); font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin-bottom: 1.25rem; }
.ndl-panel p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.85; margin-bottom: 2rem; }
.ndl-panel__stats { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; text-align: center; }
.ndl-panel__stat-value { color: var(--gold); font-size: 1.875rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.ndl-panel__stat-label { color: rgba(255,255,255,0.45); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Partner logo placeholder — upload-ready slot above each partner name */
.partner-logo-holder { width: 4.5rem; height: 4.5rem; border-radius: 0.75rem; border: 1.5px dashed rgba(11,39,72,0.2); background: rgba(11,39,72,0.03); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: border-color 0.3s, background 0.3s; }
.info-card:hover .partner-logo-holder { border-color: var(--gold); background: rgba(175,143,71,0.05); }
.partner-logo-holder svg { color: rgba(11,39,72,0.25); transition: color 0.3s; }
.info-card:hover .partner-logo-holder svg { color: var(--gold); }


.primary-nav__link{white-space:nowrap;}
.primary-nav__link--cta{white-space:nowrap;padding:.75rem 1.5rem;}
