:root {
  --navy: #1b587c;
  --navy-deep: #214d68;
  --navy-soft: #2d6d99;
  --navy-rgb: 27, 88, 124;
  --gold: #c2924f;
  --gold-dark: #a87a3d;
  --gold-soft: #e0b578;
  --gold-rgb: 194, 146, 79;
  --text: #000000;
  --muted: #64748b;
  --border: #e8ecf2;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 20px 45px -12px rgba(27, 88, 124, 0.16);
  --shadow-sm: 0 4px 18px rgba(27, 88, 124, 0.07);
  --shadow-lg: 0 30px 70px -18px rgba(27, 88, 124, 0.28);
  --shadow-gold: 0 12px 28px -8px rgba(194, 146, 79, 0.45);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--gold);
  color: #fff;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: #cfd8e3;
  border-radius: 999px;
  border: 3px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Wider page content — reduce left/right empty margins */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  width: 100%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 560px;
  }
}

@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 740px;
  }
}

@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 1180px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1360px;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1560px;
  }
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.text-muted-body {
  color: var(--muted);
}

.text-gold {
  color: var(--gold) !important;
}

.bg-navy {
  background: var(--navy) !important;
}

.bg-soft {
  background: var(--bg-soft);
}

/* Buttons */
.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  letter-spacing: 0.01em;
}

.btn:active {
  transform: translateY(1px);
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(27, 88, 124, 0.45);
}

.btn-navy:hover,
.btn-navy:focus {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(27, 88, 124, 0.5);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(194, 146, 79, 0.55);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(27, 88, 124, 0.4);
}

/* Navbar */
.site-header {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(27, 88, 124, 0.06);
  position: sticky;
  top: 0;
  z-index: 1040;
}

.site-header .navbar > .container {
  flex-wrap: nowrap;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--navy) !important;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  min-width: 0;
  flex-shrink: 1;
}

.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

.brand-mark {
  width: auto;
  height: 38px;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}


.mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  order: 2;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 0.78rem;
    gap: 0.4rem;
  }

  .brand-mark {
    width: auto;
    height: 34px;
    max-width: 100px;
  }

  .mobile-nav-actions {
    gap: 0.4rem;
  }

  .mobile-login-btn {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .navbar-brand {
    font-size: 0.68rem;
  }

  .brand-mark {
    width: auto;
    height: 30px;
    max-width: 88px;
  }
}

.mobile-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 1.2rem;
  transition: all var(--transition);
}

.mobile-login-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

@media (min-width: 992px) {
  .mobile-login-btn {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    position: relative;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem 1.5rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 1039;
  }
}

.nav-link {
  color: var(--navy) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-item.dropdown .dropdown-toggle::after {
  vertical-align: 0.15em;
  margin-left: 0.35rem;
  border-top-color: currentColor;
  opacity: 0.7;
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55rem 0.9rem;
  border-radius: calc(var(--radius) - 6px);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--gold-dark);
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    margin: 0.25rem 0 0.5rem 0.85rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-actions .btn {
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
}

.search-toggle {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.15rem;
  padding: 0.35rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.search-toggle:hover {
  background: rgba(var(--navy-rgb), 0.08);
  color: var(--gold);
}

/* Hero home — full-bleed photo per slide with a navy left-to-right gradient,
   matching the .split-hero treatment on inner pages. Carousel/sliding kept. */
.hero-home {
  position: relative;
  background: var(--navy-ink);
  color: #fff;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
}

.hero-carousel .carousel-item {
  min-height: 68vh;
  background-color: var(--navy-ink);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.hero-carousel .carousel-item.active,
.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev {
  display: flex;
  align-items: center;
}

.hero-slide-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      var(--navy-ink) 0%,
      var(--navy-ink) 30%,
      rgba(12, 43, 61, 0.82) 47%,
      rgba(12, 43, 61, 0.35) 70%,
      rgba(12, 43, 61, 0.12) 100%),
    linear-gradient(180deg,
      rgba(12, 43, 61, 0.3) 0%,
      rgba(12, 43, 61, 0) 26%,
      rgba(12, 43, 61, 0) 70%,
      rgba(12, 43, 61, 0.5) 100%);
}

.hero-home .container {
  position: relative;
  z-index: 2;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.hero-slide-content {
  max-width: 640px;
}

@media (max-width: 991.98px) {
  .hero-carousel .carousel-item {
    min-height: 0;
    background-position: center;
  }

  .hero-slide-scrim {
    background: linear-gradient(180deg, rgba(12, 43, 61, 0.84) 0%, rgba(12, 43, 61, 0.92) 100%);
  }
}

.hero-carousel-nav {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 2;
  background: rgba(6, 18, 41, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
}

.hero-carousel-arrow {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.hero-carousel-arrow:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.hero-carousel-indicators {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-carousel-indicators button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background var(--transition), width var(--transition);
}

.hero-carousel-indicators button.active {
  width: 22px;
  border-radius: 999px;
  background: var(--gold);
}

@media (max-width: 767.98px) {
  .hero-carousel-nav {
    bottom: 1rem;
  }
}

.hero-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 3px;
  background: var(--gold);
  vertical-align: text-bottom;
  animation: hero-cursor-blink 1s step-end infinite;
}

@keyframes hero-cursor-blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-typewriter-cursor {
    animation: none;
  }
}

.hero-home::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.16);
  filter: blur(110px);
  top: -180px;
  left: -140px;
  z-index: 1;
  pointer-events: none;
}

.hero-home .subtitle {
  display: inline-block;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-home h1 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 0.9rem;
  max-width: 18ch;
}

.hero-home h1 .dot {
  color: var(--gold);
}

.hero-home .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
}

.hero-home .meta-chips {
  color: rgba(255, 255, 255, 0.82);
}

.featured-card {
  background: rgba(27, 88, 124, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.featured-card:hover {
  transform: translateY(-6px);
}

.featured-card .label {
  color: var(--gold-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.featured-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.featured-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.featured-meta li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.featured-meta i {
  color: var(--gold);
}

/* Stats bar — floats up over the hero, like a card resting on its bottom edge */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  margin-bottom: 2.5rem;
}

@media (max-width: 767.98px) {
  .stats-bar {
    margin-top: -32px;
  }
}

.stats-float-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1rem;
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition), transform var(--transition);
}

.stat-item:hover {
  background: var(--bg-soft);
  transform: translateY(-3px);
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

@media (max-width: 767.98px) {
  .stat-item:not(:last-child)::after {
    display: none;
  }
}

.stat-item i {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
  display: block;
}

.stat-item .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.stat-item .label {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
  font-weight: 500;
}

/* Page hero */
.page-hero {
  padding: 4rem 0 2.25rem;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Left-aligned variant for hero copy longer than a one-line tagline, so it
   lines up with the page's normal left margin instead of floating centered
   in a narrower column than the sections below it. */
.page-hero--left {
  text-align: left;
}

.page-hero--left p {
  max-width: none;
  margin: 0 0 1rem;
}

.page-hero--left p:last-child {
  margin-bottom: 0;
}

.resource-type-toggle {
  display: inline-flex;
  gap: 0.3rem;
  margin-top: 1.5rem;
  padding: 0.3rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.resource-type-toggle a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition: all var(--transition);
}

.resource-type-toggle a:hover {
  color: var(--gold-dark);
}

.resource-type-toggle a.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(27, 88, 124, 0.4);
}

/* Filters */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(27, 88, 124, 0.4);
}

/* Cards */
.program-card,
.resource-card,
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
}

.program-card:hover,
.resource-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--gold-rgb), 0.35);
}

.program-card .card-img,
.resource-card .card-img,
.team-card .card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  background: var(--navy);
  transition: transform var(--transition-slow);
}

.program-card:hover .card-img,
.resource-card:hover .card-img,
.team-card:hover .card-img {
  transform: scale(1.05);
}

.card-img-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}

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

.card-img-video i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: color var(--transition);
  pointer-events: none;
}

.card-img-video:hover i {
  color: var(--gold-soft);
}

.program-card .card-body,
.resource-card .card-body,
.team-card .card-body {
  padding: 1.4rem;
}

@media (min-width: 768px) {
  .program-card--wide {
    display: flex;
    align-items: stretch;
  }

  .program-card--wide .program-card-media {
    width: 38%;
    min-height: 200px;
    flex-shrink: 0;
  }

  .program-card--wide .program-card-media .card-img {
    height: 100%;
  }

  .program-card--wide .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.4rem 1.8rem;
  }

  .program-card--wide .card-body .program-card-cta {
    width: auto;
    align-self: flex-start;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
}

/* Featured Programs (homepage) — modernized card treatment: floating
   category/featured badges on the image, a bottom gradient for depth, pill
   meta chips, and a full-width animated CTA instead of a flat button. */
.program-card--modern {
  border-radius: 20px;
  border-color: rgba(27, 88, 124, 0.08);
}

.program-card--modern:hover {
  box-shadow: 0 24px 48px -20px rgba(27, 88, 124, 0.3);
}

.program-card--modern .card-img {
  height: 150px;
}

.program-card--modern .card-body {
  padding: 1.1rem 1.25rem;
}

.program-card--modern .meta-row {
  margin-bottom: 0.5rem;
}

.program-card--modern .card-body p {
  margin-bottom: 0.75rem;
}

.program-card-media {
  position: relative;
  overflow: hidden;
}

.program-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 41, 0) 55%, rgba(6, 18, 41, 0.45) 100%);
  pointer-events: none;
}

.program-card-tag,
.program-card-featured {
  position: absolute;
  top: 1rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.program-card-tag {
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--navy);
}

.program-card-featured {
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.program-card--modern .meta-row span {
  background: rgba(27, 88, 124, 0.06);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.program-card-cta,
.event-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  margin-top: auto;
  transition: background var(--transition), transform var(--transition);
}

.program-card-cta i,
.event-card-cta i {
  transition: transform var(--transition);
}

.program-card-cta:hover,
.event-card-cta:hover {
  background: var(--gold);
  color: #fff;
}

.program-card-cta:hover i,
.event-card-cta:hover i {
  transform: translateX(3px);
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

.represented-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

@media (min-width: 992px) {
  .represented-block:not(:last-child) {
    border-right: 1px solid var(--border, #e8ecf2);
    padding-right: 2.5rem;
  }
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 26s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

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

.marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.institution-logo {
  height: 64px;
  padding: 0 2.25rem;
}

.institution-logo img {
  max-height: 100%;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

.nationality-flag {
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.75rem;
}

.nationality-flag img {
  width: 64px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border, #e8ecf2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nationality-flag span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.meta-row i {
  color: var(--gold);
}

.resource-tag {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid rgba(194, 146, 79, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.link-arrow {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-arrow i {
  transition: transform var(--transition);
}

.link-arrow:hover {
  color: var(--gold);
}

.link-arrow:hover i {
  transform: translateX(3px);
}

button.link-arrow {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.video-modal .modal-content {
  background: #000;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.video-modal .btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.9;
  padding: 0.5rem;
}

.video-modal iframe {
  border: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px);
  gap: 1.1rem;
  justify-content: center;
  max-width: calc(5 * 250px + 4 * 1.1rem);
  margin: 0 auto;
}

.gallery-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--gold-rgb), 0.35);
}

.gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  background: var(--navy);
}

.gallery-caption {
  padding: 0.85rem 0.95rem 1rem;
}

.gallery-caption-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.gallery-caption-text {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.gallery-thumb-count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

.image-modal .modal-content {
  background: #000;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.image-modal .btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.9;
  padding: 0.5rem;
}

.image-modal img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  touch-action: pan-y;
}

.image-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.image-modal-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.image-modal-prev {
  left: 0.75rem;
}

.image-modal-next {
  right: 0.75rem;
}

.image-modal.single-image .image-modal-nav {
  display: none;
}

@media (max-width: 576px) {
  .image-modal-nav {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

.image-modal-caption {
  color: #fff;
  text-align: center;
  padding: 0.9rem 1.2rem;
  margin: 0;
}

/* Pricing */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--gold-rgb), 0.35);
}

.pricing-card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

@media (min-width: 992px) {
  .pricing-card--featured {
    transform: scale(1.045);
    z-index: 1;
  }

  .pricing-card--featured:hover {
    transform: scale(1.045) translateY(-6px);
  }
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.pricing-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  min-height: 2.6em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.pricing-price .currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-price .amount {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.pricing-price .period {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.pricing-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 1.4rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Event rows */
.event-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.event-row:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(var(--gold-rgb), 0.3);
}

.event-date-box {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.event-date-box .month {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.event-date-box .day {
  color: #fff;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1;
}

.event-row .content {
  flex: 1;
}

.event-row h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

/* Compact vertical event card — used where events sit in a multi-column
   grid (e.g. the homepage teaser) rather than the full-width Events list. */
.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(var(--gold-rgb), 0.3);
}

.event-card .event-date-box {
  margin-bottom: 1rem;
}

.event-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.event-card p {
  flex: 1;
}

.event-card .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* Upcoming Events (homepage) — modernized card: gradient date badge with
   weekday, a category tag and days-until countdown, pill meta chips, and
   the same animated pill CTA as the Featured Programs cards. */
.event-card--modern {
  border-radius: 20px;
  border-color: rgba(27, 88, 124, 0.08);
}

.event-card--modern:hover {
  box-shadow: 0 24px 48px -20px rgba(27, 88, 124, 0.3);
}

.event-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.event-card--modern .event-date-box {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 15px;
  background: linear-gradient(160deg, var(--navy) 0%, #0c3350 100%);
  gap: 0.05rem;
  margin-bottom: 0;
}

.event-card--modern .event-date-box .weekday {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.event-card--modern .event-date-box .day {
  font-size: 1.3rem;
  line-height: 1.1;
}

.event-card--modern .event-date-box .month {
  font-size: 0.65rem;
}

.event-card-tag {
  background: rgba(var(--gold-rgb), 0.12);
  border: 1px solid rgba(194, 146, 79, 0.25);
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.event-card-countdown {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.event-card--modern .meta-row span {
  background: rgba(27, 88, 124, 0.06);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

/* About */
.about-image {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 380px;
  max-height: 46vh;
  object-fit: cover;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.about-image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem;
}

@media (max-width: 767.98px) {
  .about-image {
    height: 260px;
  }
}

.stats-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.1rem;
  height: 100%;
  box-shadow: var(--shadow-lg);
}

.stats-panel h3 {
  color: var(--gold-soft);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.stats-panel .stat-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-panel .stat-line:last-child {
  border-bottom: 0;
}

.stats-panel .num {
  color: var(--gold-soft);
  font-size: 1.8rem;
  font-weight: 800;
  min-width: 70px;
}

/* About page — story cards (two columns on desktop) */
.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.about-story-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
}

.about-story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--gold-rgb), 0.35);
}

.about-story-card--wide {
  grid-column: 1 / -1;
}

.about-story-index {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  background: rgba(var(--gold-rgb), 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.about-story-card h2 {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.about-story-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-story-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }
}

/* About page — values grid */
.about-values-head {
  margin-bottom: 2.5rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--gold-rgb), 0.35);
}

.about-value-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.about-value-card h3 {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.about-value-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.about-values-tagline {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gold);
  border-radius: 50%;
}

.cta-banner {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 1.9rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.35);
  filter: blur(40px);
  top: -80px;
  right: -60px;
  pointer-events: none;
}

.cta-banner h3 {
  color: #fff;
  margin: 0;
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.contact-list i {
  color: #fff;
  font-size: 1rem;
  margin-top: 0;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 10px;
}

.form-control,
.form-select {
  border-radius: 10px;
  border-color: #d9e0e8;
  padding: 0.75rem 1rem;
  min-height: 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(194, 146, 79, 0.18);
}

textarea.form-control {
  min-height: 140px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.contact-panel-info {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 2.75rem;
  position: relative;
  overflow: hidden;
}

.contact-panel-info::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 320px;
  height: 320px;
  background: rgba(194, 146, 79, 0.35);
  pointer-events: none;
}

.contact-panel-info h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.contact-panel-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.contact-panel-info .contact-list {
  position: relative;
  z-index: 1;
}

.contact-panel-info .contact-list li {
  color: rgba(255, 255, 255, 0.88);
}

.contact-panel-info .contact-list i {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-soft);
}

.contact-panel-info .social-links {
  position: relative;
  z-index: 1;
}

.contact-panel-info .social-links a {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.contact-panel-info .social-links a:hover {
  background: var(--gold);
  border-color: transparent;
}

.contact-panel-form {
  padding: 3rem 2.75rem;
}

.contact-panel-form .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.contact-panel-form textarea.form-control {
  min-height: 130px;
}

@media (max-width: 991.98px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .contact-panel-info,
  .contact-panel-form {
    padding: 2.25rem 1.5rem;
  }
}

/* Apply */
.apply-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.apply-panel-info {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.apply-panel-info::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 320px;
  height: 320px;
  background: rgba(194, 146, 79, 0.35);
  pointer-events: none;
}

.apply-panel-info h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.apply-panel-info > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.apply-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.apply-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.apply-steps li:last-child {
  margin-bottom: 0;
}

.apply-steps__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

.apply-steps li strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.apply-steps li span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.5;
}

.apply-panel-form {
  padding: 3rem 2.75rem;
}

.apply-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(194, 146, 79, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.apply-panel-form .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.apply-field-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.apply-field-icon i {
  position: absolute;
  left: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color var(--transition);
}

.apply-field-icon input {
  padding-left: 2.5rem;
}

.apply-field-icon:focus-within i {
  color: var(--gold);
}

.apply-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.1rem;
}

.apply-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.apply-trust-row i {
  color: var(--gold);
}

.apply-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.apply-section-title i {
  color: var(--gold);
  font-size: 1rem;
}

.apply-terms {
  margin: 1.75rem 0 1.5rem;
}

@media (max-width: 991.98px) {
  .apply-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .apply-panel-info,
  .apply-panel-form {
    padding: 2.25rem 1.5rem;
  }
}

/* Program detail */
.breadcrumb-bar {
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.program-hero-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.1rem;
  margin-bottom: 2rem;
}

.program-hero-box h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

.program-tabs .nav-link {
  color: var(--muted) !important;
  border: 0;
  border-radius: 0;
  font-weight: 600;
  padding: 0.85rem 1rem !important;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .program-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .program-tabs::-webkit-scrollbar {
    display: none;
  }
}

.program-tabs .nav-link.active {
  color: var(--navy) !important;
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--gold);
}

.program-tabs .nav-link.active::after,
.program-tabs .nav-link::after {
  display: none;
}

.detail-sidebar {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.detail-sidebar:hover {
  box-shadow: var(--shadow);
}

.detail-sidebar h4 {
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}

.detail-sidebar dl {
  margin: 0 0 1.5rem;
}

.detail-sidebar dt {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.detail-sidebar dd {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(var(--gold-rgb), 0.14);
  border: 1px solid rgba(var(--gold-rgb), 0.32);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section-eyebrow i {
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.team-section {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.team-section h2 {
  font-weight: 800;
  color: var(--navy);
  position: relative;
  padding-bottom: 1rem;
}

.team-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.grid-scroll {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.grid-scroll.is-scrollable {
  overflow-y: auto;
  padding: 0.25rem 0.5rem 1.25rem 0.25rem;
  margin: -0.25rem -0.5rem -1.25rem -0.25rem;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
}

.grid-scroll.is-scrollable::-webkit-scrollbar {
  width: 8px;
}

.grid-scroll.is-scrollable::-webkit-scrollbar-track {
  background: rgba(var(--navy-rgb), 0.06);
  border-radius: 8px;
}

.grid-scroll.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(var(--gold-rgb), 0.55);
  border-radius: 8px;
}

.grid-scroll.is-scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.section-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.team-card-modern {
  border-radius: 24px;
  border-color: rgba(var(--navy-rgb), 0.08);
  text-align: center;
}

.team-card-modern:hover {
  border-color: rgba(var(--gold-rgb), 0.45);
}

.team-card-avatar-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 1.4rem 0;
}

.team-card-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.25), var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.team-card-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: #fff;
  font-size: 2.25rem;
}

.team-card-modern:hover .team-card-avatar {
  transform: scale(1.06);
  box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.4), var(--shadow-lg);
}

.team-card-modern .role {
  display: inline-block;
  color: var(--gold-dark);
  background: rgba(var(--gold-rgb), 0.1);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.team-card-linkedin {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(var(--navy-rgb), 0.08);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.team-card-linkedin:hover {
  background: var(--navy);
  color: #fff;
}

.social-links a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--navy);
  margin-right: 0.35rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(27, 88, 124, 0.4);
}

/* Footer */
.site-footer {
  background: var(--bg-soft);
  padding-top: 3.5rem;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

.newsletter-section {
  margin-top: 4rem;
  margin-bottom: 0;
  padding: 0 0 0.5rem;
  background: transparent;
}

.newsletter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 1.9rem 2.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.newsletter-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.3);
  filter: blur(50px);
  top: -100px;
  right: -60px;
  pointer-events: none;
}

.newsletter-panel .newsletter-band-copy,
.newsletter-panel .newsletter-form {
  position: relative;
  z-index: 1;
}

.newsletter-panel .newsletter-band-copy {
  flex: 1 1 240px;
  min-width: 0;
}

.newsletter-panel .newsletter-band-copy h2 {
  color: #fff;
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.newsletter-panel .newsletter-band-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 0.95rem;
}

.newsletter-panel .newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 440px;
  width: 100%;
  height: 50px;
  flex: 1 1 320px;
}

.newsletter-panel .form-control {
  border: 0;
  height: 50px;
  min-height: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.newsletter-panel .btn-gold {
  height: 50px;
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer h5 {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-about {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding: 1.15rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.pay-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
}

.newsletter-form .form-control {
  border-radius: 999px 0 0 999px;
}

.newsletter-form .btn {
  border-radius: 0 999px 999px 0;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .stat-item {
    padding: 0.5rem;
  }

  .event-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    margin-top: 0.75rem;
  }

  .newsletter-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.6rem;
  }

  .newsletter-panel .newsletter-form {
    max-width: none;
    flex: 0 0 auto;
    height: 50px;
  }

  .newsletter-panel .newsletter-band-copy {
    flex: 0 0 auto;
    margin-bottom: 0.25rem;
  }
}

body.no-copy {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.no-copy input,
body.no-copy textarea,
body.no-copy [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* =========================================================================
   2026 REDESIGN — shared marketing layout system
   Home uses an editorial serif for display headings (--font-display);
   inner pages keep the geometric sans. Everything below is additive and
   namespaced so the existing component styles above are untouched.
   ========================================================================= */
:root {
  --font-display: "Fraunces", "Plus Jakarta Sans", Georgia, serif;
  --navy-ink: #0c2b3d;
  --cream: #faf7f1;
}

/* Serif display headings — homepage only, to match the flagship mockup. */
body.page-home h1,
body.page-home h2,
body.page-home .display-serif {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.eyebrow--light {
  color: var(--gold-soft);
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.rule-gold {
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  margin: 0 0 1.6rem;
}

/* ---- Split hero used by Programmes / About / Community ---- */
/* Full-bleed photo hero: the section IS the photo; a navy gradient sits over
   it — opaque behind the copy on the left, dissolving into the image on the
   right. No contained card. */
.split-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background-color: var(--navy-ink);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.split-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--navy-ink) 0%,
      var(--navy-ink) 30%,
      rgba(12, 43, 61, 0.82) 47%,
      rgba(12, 43, 61, 0.35) 70%,
      rgba(12, 43, 61, 0.12) 100%),
    linear-gradient(180deg,
      rgba(12, 43, 61, 0.3) 0%,
      rgba(12, 43, 61, 0) 28%,
      rgba(12, 43, 61, 0) 70%,
      rgba(12, 43, 61, 0.45) 100%);
  pointer-events: none;
}

.split-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.16);
  filter: blur(110px);
  top: -180px;
  left: -140px;
  pointer-events: none;
}

.split-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.split-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 0.9rem;
  max-width: 15ch;
}

.split-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  max-width: 54ch;
  margin-bottom: 0.6rem;
}

.split-hero .rule-gold {
  margin-bottom: 1rem;
}

.split-hero .hero-chips {
  max-width: 560px;
  margin-top: 1.4rem;
  gap: 1.1rem 1.75rem;
}

.split-hero .eyebrow {
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}

/* Right-hand column: holds the floating quote card / script over the photo. */
.split-hero-aside {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 200px;
}

.split-hero-quote {
  max-width: 360px;
  background: rgba(12, 43, 61, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.split-hero-quote .mark {
  color: var(--gold-soft);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 0.4;
}

.split-hero-quote p {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0.6rem 0 0.5rem;
}

.split-hero-quote span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.05em;
}

.split-hero-script {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--gold-soft);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

@media (max-width: 991.98px) {
  .split-hero {
    background-position: center;
  }

  /* Stacked: photo becomes a dim full-bleed backdrop behind the copy. */
  .split-hero::before {
    background: linear-gradient(180deg, rgba(12, 43, 61, 0.86) 0%, rgba(12, 43, 61, 0.93) 100%);
  }

  .split-hero-aside {
    min-height: 0;
    justify-content: flex-start;
  }
}

/* Small feature chips row (hero) */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.hero-chip {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 220px;
}

.hero-chip > i {
  color: var(--gold-soft);
  font-size: 1.3rem;
  line-height: 1.4;
}

.hero-chip strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-chip span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Inline meta chips (home hero, under the CTAs) */
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.meta-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.meta-chips i {
  color: var(--gold-soft);
}

.meta-chips .divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 767.98px) {
  .meta-chips .divider {
    display: none;
  }
}

/* ---- Flat stats strip (home + community) ---- */
.stats-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-strip .row > [class*="col"] {
  position: relative;
}

.stats-strip .row > [class*="col"]:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

@media (max-width: 767.98px) {
  .stats-strip .row > [class*="col"]:nth-child(2n)::after {
    display: none;
  }
}

.stat-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: left;
}

.stat-inline i {
  font-size: 1.5rem;
  color: var(--gold);
}

.stat-inline .value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-inline .label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Flagship programme (home) ---- */
.flagship {
  padding: 3rem 0;
}

.flagship .eyebrow {
  margin-bottom: 0.55rem;
}

.flagship h2 {
  margin-bottom: 0;
}

.flagship .section-lead {
  margin-top: 0.75rem !important;
}

.flagship-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.flagship-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.3rem 0;
  color: var(--text);
  font-size: 0.96rem;
}

.flagship-list i {
  color: #2e9e6b;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.cohort-card {
  border: 1px solid rgba(46, 158, 107, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.cohort-card-media {
  height: 140px;
  background: var(--navy) center/cover no-repeat;
}

.cohort-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cohort-card-body {
  padding: 1.15rem 1.5rem 1.35rem;
}

.cohort-card .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2e9e6b;
}

.cohort-card .headline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.2rem 0 0.65rem;
}

.cohort-card .headline .sep {
  color: var(--border);
  margin: 0 0.4rem;
}

.cohort-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding: 0.7rem 0 0.9rem;
  margin: 0 0 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

.cohort-card .btn {
  padding: 0.6rem 1.25rem;
}

.cohort-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cohort-card-meta i {
  color: var(--gold);
}

/* Hero variant — translucent glass card in the homepage hero copy column.
   Declared here (after the base .cohort-card rules) so its single-class
   overrides win. */
.hero-slide-content .cohort-card--hero {
  margin-top: 1.4rem;
}

.cohort-card--hero {
  width: 100%;
  max-width: 520px;
  background: rgba(9, 30, 43, 0.4);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cohort-card--hero .cohort-card-media {
  display: none;
}

.cohort-card--hero .cohort-card-body {
  padding: 1.35rem 1.5rem 1.45rem;
}

.cohort-card--hero .label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-soft);
}

.cohort-card--hero .headline {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0.4rem 0 0;
  color: #fff;
}

.cohort-card--hero .cohort-card-meta {
  color: #fff;
  font-weight: 500;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.7rem 0 0;
  margin: 0.75rem 0 1rem;
}

.cohort-card--hero .cohort-card-meta i {
  color: var(--gold-soft);
}

@media (max-width: 991.98px) {
  .cohort-card--hero {
    max-width: 560px;
  }
}

/* ---- Icon feature grid ("What you'll be able to do", "Our approach") ---- */
.icon-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.icon-grid--bordered {
  gap: 0;
}

.icon-grid--bordered .icon-cell {
  padding: 0 1.4rem;
  border-left: 1px solid var(--border);
}

.icon-grid--bordered .icon-cell:first-child {
  border-left: 0;
  padding-left: 0;
}

@media (max-width: 991.98px) {
  .icon-grid--bordered .icon-cell {
    border-left: 0;
    padding: 0;
  }
}

.icon-cell {
  text-align: center;
}

.icon-grid--left .icon-cell {
  text-align: left;
}

.icon-cell .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.icon-cell h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.icon-cell p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.section-heading-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-heading-center h2 {
  margin-bottom: 0.6rem;
}

/* On the navy sections */
.section-navy {
  background: linear-gradient(165deg, var(--navy-ink), var(--navy-deep));
  color: #fff;
  padding: 4.5rem 0;
}

.section-navy h2 {
  color: #fff;
}

.section-navy .icon-cell h3 {
  color: #fff;
}

.section-navy .icon-cell p {
  color: rgba(255, 255, 255, 0.62);
}

.section-navy .icon-cell .ic {
  color: var(--gold-soft);
}

.section-navy .icon-grid--bordered .icon-cell {
  border-color: rgba(255, 255, 255, 0.14);
}

/* ---- Who it's for + practitioners (home) ---- */
.two-col-band {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.two-col-band h2 {
  margin-bottom: 0;
}

.two-col-band .text-center.mb-4 {
  margin-bottom: 1.25rem !important;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.audience-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
  font-size: 0.94rem;
}

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

.audience-list i {
  color: var(--gold);
  margin-top: 0.2rem;
}

.practitioner-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.practitioner {
  text-align: center;
  padding: 1.15rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.practitioner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--gold-rgb), 0.35);
}

.practitioner img,
.practitioner .avatar-fallback {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.65rem;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.25);
}

.practitioner .avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: #fff;
  font-size: 1.6rem;
}

.practitioner strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}

.practitioner span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* ---- Testimonial band ---- */
.testi-band {
  background: linear-gradient(165deg, var(--navy-ink), var(--navy-deep));
  color: #fff;
  padding: 4.5rem 0;
}

.testi-band h2 {
  color: #fff;
}

.testi-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testi {
  border-left: 2px solid rgba(var(--gold-rgb), 0.6);
  padding-left: 1.4rem;
}

.testi p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  margin-bottom: 0.9rem;
}

.testi cite {
  font-style: normal;
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- Gold CTA band ---- */
.cta-gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  padding: 3rem 0;
}

.cta-gold-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.cta-gold h2 {
  color: #fff;
  margin: 0 0 0.3rem;
  font-size: 1.9rem;
}

.cta-gold p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.cta-gold .btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.cta-gold .btn-light:hover {
  background: var(--navy-ink);
  color: #fff;
  border-color: var(--navy-ink);
}

.cta-gold .btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.cta-gold .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---- Numbered curriculum cards (Programmes) ---- */
.curriculum-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.curriculum-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.curriculum-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--gold-rgb), 0.3);
}

.curriculum-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.curriculum-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-ink);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.curriculum-card-head h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0.15rem 0 0;
}

.curriculum-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.curriculum-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.curriculum-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.curriculum-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- Info blocks row (Programmes) ---- */
.info-blocks {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-block .ib-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-ink);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.info-block h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
}

.info-block p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.info-block .btn {
  align-self: flex-start;
  margin-top: 0.4rem;
}

/* ---- Story panel (About) ---- */
.story-panel {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: grid;
  gap: 1.75rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.story-pillar .ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-ink);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.story-pillar h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.story-pillar p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.prose-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

/* ---- Community "beyond" cards ---- */
.beyond-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.beyond-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.beyond-card .ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.beyond-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.beyond-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.pull-quote {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}

.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.pull-quote cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---- Shared community CTA band (Programmes / About) ---- */
.community-band {
  background: linear-gradient(165deg, var(--navy-ink), var(--navy-deep));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.community-band .cb-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-soft);
}

.community-band .cb-copy {
  flex: 1 1 320px;
}

.community-band h2 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
}

.community-band h2 .accent {
  color: var(--gold-soft);
}

.community-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.95rem;
}

.community-band .btn {
  flex-shrink: 0;
}

/* Light card variant (About page) */
.community-band--light {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.community-band--light .cb-icon {
  background: var(--navy-ink);
  color: #fff;
}

.community-band--light h2 {
  color: var(--navy);
}

.community-band--light h2 .accent {
  color: var(--gold);
}

.community-band--light p {
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .cta-gold-inner,
  .community-band {
    text-align: center;
    justify-content: center;
  }

  .split-hero-script {
    font-size: 1.3rem;
  }
}

/* ---- Modernised pricing cards (homepage teaser) ---- */
.pricing-card--modern {
  border-radius: var(--radius-xl);
  border-color: rgba(27, 88, 124, 0.1);
  padding: 2rem 1.6rem 1.7rem;
}

.pricing-card--modern.pricing-card--featured {
  border-color: var(--gold);
}

.pricing-card--modern .pricing-name {
  font-family: var(--font-display);
  font-weight: 600;
}

.pricing-card--modern .pricing-tagline {
  min-height: 0;
  margin-bottom: 1rem;
}

.pricing-card--modern .pricing-features {
  margin-bottom: 1.4rem;
}

.pricing-card--modern .pricing-features li {
  border-bottom: 0;
  align-items: center;
  padding: 0.28rem 0;
  font-size: 0.9rem;
}

.pricing-card--modern .pricing-features i {
  margin-top: 0;
}
