/* ==========================================================================
   UNICOHS UNIVERSITY — core stylesheet
   ========================================================================== */

:root {
  --navy-900: #081A38;
  --navy-800: #0F2E5C;
  --navy-700: #163E77;
  --navy-100: #E7EDF6;
  --gold-500: #F4A300;
  --gold-600: #D98C00;
  --gold-100: #FFF3DA;
  --ink: #1A1A2E;
  --gray-600: #5B6472;
  --gray-300: #D6DBE3;
  --gray-100: #F5F7FA;
  --white: #FFFFFF;
  --success: #1C7C54;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(8, 26, 56, .08);
  --shadow-md: 0 8px 24px rgba(8, 26, 56, .12);
  --shadow-lg: 0 20px 50px rgba(8, 26, 56, .18);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
  background-image: radial-gradient(rgba(11, 33, 73, .06) 1.1px, transparent 1.1px);
  background-size: 25px 25px;
}
.section-tight { padding: 48px 0; }
.section-alt { background-color: var(--gray-100); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.section-head p { color: var(--gray-600); font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-600); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-900); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-900);
  color: var(--gray-300);
  font-size: 12.5px;
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 22px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
}
.topbar a { opacity: .85; transition: opacity .15s; }
.topbar a:hover { opacity: 1; color: var(--gold-500); }
.topbar-search {
  background: none;
  border: none;
  color: var(--gray-300);
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-shrink: 0;
  transition: color .15s;
}
.topbar-search:hover { color: var(--gold-500); }
.topbar-search-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  background: var(--navy-800);
}
.topbar-search-panel.open { max-height: 70px; }
.topbar-search-panel .container {
  display: flex;
  gap: 10px;
  padding: 12px 24px;
  align-items: center;
}
.topbar-search-panel input[type="text"] {
  flex: 1;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 14px;
}
.topbar-search-panel input[type="text"]::placeholder { color: var(--gray-300); }

/* ---------- Sticky header shell: topbar + logo/nav row stay together ---------- */
.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ---------- Header row 2: logo + nav + Apply Now (single merged row) ---------- */
.header-row2 {
  position: relative; /* keeps the mobile nav-links.open flyout anchored here, not to the sticky wrapper */
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header-row2-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 116px;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.header-row2-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }

.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.brand-mark-img { width: 112px; height: 112px; object-fit: contain; flex-shrink: 0; }

.nav-links { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > li { position: relative; flex-shrink: 0; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 14px 12px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-900);
  border-radius: 6px;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--navy-700); background: var(--navy-100); }
.nav-links > li > a:focus:not(:hover) { background: none; outline: 2px solid var(--gold-500); outline-offset: -2px; }
.nav-links > li.active > a {
  color: var(--navy-900);
}
.nav-links > li.active > a:hover { background: var(--navy-100); }
.nav-links .caret { font-size: 10px; opacity: .6; margin-top: 1px; }

.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
  border: 1px solid var(--gray-300);
}
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.dropdown a:hover { background: var(--navy-100); color: var(--navy-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy-900); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, var(--navy-700), transparent),
              linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,163,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,163,0,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding: 96px 24px 110px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,163,0,.14);
  border: 1px solid rgba(244,163,0,.35);
  color: var(--gold-500);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); color: var(--white); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero p.lead { font-size: 17px; color: var(--gray-300); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: 'Poppins', sans-serif; font-size: 26px; color: var(--gold-500); }
.hero-stats div span { font-size: 12.5px; color: var(--gray-300); text-transform: uppercase; letter-spacing: .04em; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 28px;
}
.hero-card h3 { color: var(--white); font-size: 18px; margin-bottom: 16px; }
.hero-card .field { margin-bottom: 14px; }
.hero-card label { display: block; font-size: 12.5px; color: var(--gray-300); margin-bottom: 6px; }
.hero-card select, .hero-card input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 14px;
}
.hero-card select option { color: var(--ink); }
.hero-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---------- Hero Slider (auto-sliding carousel, MSU-style: inset photo card) ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 640px;
  background: var(--navy-900);
}
.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.65,0,.35,1);
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(1100px 550px at 88% 15%, var(--navy-700), transparent),
              linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
}
.hero-slide::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(244,163,0,.16);
  top: -140px; left: -180px;
  pointer-events: none;
}
.hero-slide::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(244,163,0,.10);
  top: -80px; left: -100px;
  pointer-events: none;
}
.hero-slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-slide-panel { max-width: 480px; }
.hero-slide-motto {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 16px;
}
.hero-slide-motto::before {
  content: "";
  width: 3px; height: 14px;
  background: var(--gold-500);
  flex-shrink: 0;
}
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold-500);
  margin-left: 2px;
  vertical-align: -2px;
  animation: typewriter-blink .9s step-end infinite;
}
@keyframes typewriter-blink { 50% { opacity: 0; } }

/* ---------- Text mask reveal (large headings slide up from behind a mask) ---------- */
.mask-reveal { display: block; overflow: hidden; }
.mask-reveal-inner {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform .85s cubic-bezier(.19,1,.22,1), opacity .7s ease;
}
.mask-reveal.in-view .mask-reveal-inner {
  transform: translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .mask-reveal-inner { transform: none; opacity: 1; transition: none; }
}
.hero-slide-tag {
  display: inline-block;
  background: rgba(244,163,0,.14);
  border: 1px solid rgba(244,163,0,.35);
  color: var(--gold-500);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-slide-title {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--white);
  margin-bottom: 14px;
}
.hero-slide-desc { color: var(--gray-300); font-size: 15.5px; margin-bottom: 26px; max-width: 420px; }
.hero-slide-media {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  width: 40%;
  height: 72%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  background-size: cover;
  background-position: center 20%;
  z-index: 1;
}
.hero-slide-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .15s;
}
.hero-nav:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 10;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
}
.hero-dots button.active { background: var(--gold-500); transform: scale(1.2); }

@media (max-width: 900px) {
  .hero-slider { height: auto; }
  .hero-slide { display: flex; flex-direction: column; padding: 40px 24px 32px; }
  .hero-slide-inner { order: 1; height: auto; padding: 0; }
  .hero-slide-media {
    position: static;
    order: 2;
    width: 100%;
    height: 220px;
    transform: none;
    margin-top: 24px;
  }
}

.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 68px 0;
}
.page-hero .eyebrow { color: var(--gold-500); }
.page-hero h1 { color: var(--white); font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.page-hero p { color: var(--gray-300); max-width: 620px; }
.breadcrumb { font-size: 13px; color: var(--gray-300); margin-top: 14px; }
.breadcrumb a { color: var(--gold-500); }

.page-hero-split .container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
}
.page-hero-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  align-self: stretch;
  min-height: 420px;
  max-height: 540px;
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.hero-media-slider { position: relative; }
.hero-media-slider .hero-media-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  z-index: 1;
}

/* fade (default): simple crossfade */
.hero-media-slider[data-style="fade"] .hero-media-slide { opacity: 0; transition: opacity 1.1s ease; }
.hero-media-slider[data-style="fade"] .hero-media-slide.active { opacity: 1; z-index: 2; }

/* slide-h: slides enter from the right, exit to the left */
.hero-media-slider[data-style="slide-h"] { overflow: hidden; }
.hero-media-slider[data-style="slide-h"] .hero-media-slide {
  transform: translateX(100%);
  transition: transform .9s cubic-bezier(.45,0,.2,1);
}
.hero-media-slider[data-style="slide-h"] .hero-media-slide.active { transform: translateX(0); z-index: 2; }
.hero-media-slider[data-style="slide-h"] .hero-media-slide.prev { transform: translateX(-100%); }

/* slide-v: slides enter from the bottom, exit upward */
.hero-media-slider[data-style="slide-v"] { overflow: hidden; }
.hero-media-slider[data-style="slide-v"] .hero-media-slide {
  transform: translateY(100%);
  transition: transform .9s cubic-bezier(.45,0,.2,1);
}
.hero-media-slider[data-style="slide-v"] .hero-media-slide.active { transform: translateY(0); z-index: 2; }
.hero-media-slider[data-style="slide-v"] .hero-media-slide.prev { transform: translateY(-100%); }

/* zoom: crossfade with a slow Ken Burns push-in while active */
.hero-media-slider[data-style="zoom"] .hero-media-slide {
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease;
}
.hero-media-slider[data-style="zoom"] .hero-media-slide.active {
  opacity: 1; z-index: 2;
  animation: heroKenBurns 6s ease-out forwards;
}
@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .hero-media-slider .hero-media-slide { transition: none !important; animation: none !important; }
}
.page-hero-media.hero-logo-panel {
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}
.page-hero-media.hero-logo-panel img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
@media (max-width: 800px) {
  .page-hero-split .container { grid-template-columns: 1fr; }
  .page-hero-media { min-height: 240px; max-height: 260px; order: -1; }
}

/* ---------- Quick links strip ---------- */
.quicklinks {
  margin-top: -46px;
  position: relative;
  z-index: 5;
}
.quicklinks .grid {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.quicklink {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--gray-300);
  transition: background .15s;
}
.quicklink:last-child { border-right: none; }
.quicklink:hover { background: var(--gray-100); }
.quicklink .ico {
  width: 46px; height: 46px; margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.quicklink strong { display: block; font-size: 14.5px; color: var(--navy-900); }
.quicklink span { font-size: 12.5px; color: var(--gray-600); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.faculty-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.faculty-card .thumb {
  height: 130px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.faculty-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.faculty-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.faculty-card p { font-size: 13.5px; color: var(--gray-600); flex: 1; margin-bottom: 14px; }
.faculty-card a.link { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.faculty-card a.link:hover { color: var(--gold-600); }

/* ---------- Faculty photo cards (photo + floating label, MSU-style) ---------- */
.fpc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 44px; }
.faculty-photo-card { position: relative; margin-bottom: 26px; text-decoration: none; display: block; }
.fpc-image {
  height: 190px;
  border-radius: 14px;
  background-size: cover;
  background-position: center 12%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fpc-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,56,.18) 0%, rgba(8,26,56,.65) 100%);
}
.faculty-photo-card:hover .fpc-image { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fpc-label {
  position: absolute;
  left: 14px; right: 14px; bottom: -18px;
  background: var(--navy-800);
  border-radius: 10px;
  padding: 13px 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: background .2s;
}
.faculty-photo-card:hover .fpc-label { background: var(--navy-700); }
.fpc-label span { color: var(--white); font-weight: 700; font-size: 14.5px; letter-spacing: .01em; }

@media (max-width: 900px) { .fpc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fpc-grid { grid-template-columns: 1fr; } }

.news-card { padding: 0; }
.news-card .thumb {
  height: 150px;
  background-color: var(--gold-100);
  background-size: cover;
  background-position: center 15%;
  color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.news-card .body { padding: 20px; }
.news-card .date { font-size: 12px; color: var(--gray-600); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; display: block; }
.news-card h3 { font-size: 16px; margin-bottom: 8px; }
.news-card p { font-size: 13.5px; color: var(--gray-600); margin-bottom: 12px; }
.news-card a.link { font-size: 13px; font-weight: 700; color: var(--navy-800); }

.icon-card {
  padding: 28px;
  position: relative;
  background: linear-gradient(155deg, var(--white) 0%, var(--navy-100) 145%);
  border-color: var(--gray-300);
}
.icon-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-700));
  opacity: 0;
  transition: opacity .18s ease;
}
.icon-card:hover::before { opacity: 1; }
.icon-card:hover { border-color: var(--navy-100); }
.icon-card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 8px 16px -6px rgba(8,26,56,.45);
}
.icon-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.icon-card p { font-size: 13.5px; color: var(--gray-600); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0;
}
.stats-band .grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 40px; color: var(--gold-500); }
.stat span { font-size: 13px; color: var(--gray-300); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--gold-500), var(--gold-600));
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--navy-900);
}
.cta-banner h2 { color: var(--navy-900); font-size: 26px; margin-bottom: 6px; }
.cta-banner p { color: var(--navy-800); opacity: .85; }

/* ---------- Live chat widget ---------- */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 999; }
.chat-bubble {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.chat-bubble:hover { transform: scale(1.06); }
.chat-bubble svg { width: 26px; height: 26px; }
.chat-bubble .chat-dot {
  position: absolute; top: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #B3261E;
  border: 2px solid var(--white);
}
.chat-panel {
  position: absolute;
  right: 0; bottom: 76px;
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 460px;
  max-height: calc(100vh - 140px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-300);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-panel-head {
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.chat-panel-head strong { display: block; font-family: 'Poppins', sans-serif; font-size: 14.5px; }
.chat-panel-head span { display: block; font-size: 11.5px; color: var(--gray-300); margin-top: 2px; }
.chat-close { background: none; border: none; color: var(--white); font-size: 22px; line-height: 1; cursor: pointer; opacity: .8; }
.chat-close:hover { opacity: 1; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--gray-100); }
.chat-msg { display: flex; }
.chat-msg .bubble { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.chat-msg-staff { justify-content: flex-start; }
.chat-msg-staff .bubble { background: var(--white); border: 1px solid var(--gray-300); border-bottom-left-radius: 4px; }
.chat-msg-visitor { justify-content: flex-end; }
.chat-msg-visitor .bubble { background: var(--navy-900); color: var(--white); border-bottom-right-radius: 4px; }
.chat-msg-system .bubble { background: none; border: none; color: var(--gray-600); font-size: 12px; text-align: center; margin: 0 auto; }
.chat-form { border-top: 1px solid var(--gray-300); padding: 10px; flex-shrink: 0; background: var(--white); }
.chat-prefields { margin-bottom: 8px; }
.chat-prefields input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--gray-300); border-radius: 8px; font-size: 13px; font-family: inherit;
}
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-input-row textarea {
  flex: 1; resize: none; max-height: 90px;
  padding: 9px 12px; border: 1px solid var(--gray-300); border-radius: 18px;
  font-size: 13.5px; font-family: inherit; line-height: 1.4;
}
.chat-input-row textarea:focus { outline: none; border-color: var(--navy-700); }
.chat-send {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background .15s ease;
}
.chat-send:hover { background: var(--gold-600); }
.chat-send:disabled { opacity: .5; cursor: default; }
@media (max-width: 420px) {
  .chat-widget { right: 12px; bottom: 12px; }
  .chat-panel { right: -4px; width: calc(100vw - 24px); }
}

/* ---------- Hospital department/services accordion cards ---------- */
.dept-card { padding: 0; position: relative; z-index: 1; }
.dept-card summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 18px 22px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--navy-900);
}
.dept-card summary::-webkit-details-marker { display: none; }
.dept-card summary:focus-visible { outline: 2px solid var(--gold-500); outline-offset: -2px; }
.dept-card .dept-chevron {
  flex-shrink: 0; color: var(--gold-500); font-size: 13px;
  transition: transform .2s ease;
}
.dept-card[open] .dept-chevron { transform: rotate(180deg); }
.dept-card[open] summary { border-bottom: 1px solid var(--gray-300); }
.dept-card ul { list-style: none; padding: 16px 22px 20px; margin: 0; }
.dept-card li {
  font-size: 13px; color: var(--gray-600); line-height: 1.45;
  margin-bottom: 7px; padding-left: 16px; position: relative;
}
.dept-card li:last-child { margin-bottom: 0; }
.dept-card li::before { content: "•"; position: absolute; left: 0; color: var(--gold-500); font-weight: 700; }

/* ---------- Falling injections background (hospital services section) ---------- */
.dept-section { position: relative; z-index: 0; overflow: hidden; }
.injection-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.injection {
  position: absolute;
  top: -60px;
  color: var(--navy-900);
  animation-name: injectionFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.injection svg { width: 100%; height: auto; display: block; transform: rotate(var(--fall-rotate)); }
@keyframes injectionFall {
  from { transform: translateY(-10%); }
  to { transform: translateY(1600px); }
}
@media (prefers-reduced-motion: reduce) {
  .injection { animation: none; display: none; }
}

/* ---------- Digital library resources ---------- */
.lib-panel { background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 0 24px; }
.lib-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.lib-filters select, .lib-filters input[type="text"] {
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
}
.lib-filters input[type="text"] { flex: 1; min-width: 200px; }
.lib-list { display: flex; flex-direction: column; gap: 0; }
.lib-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-300);
}
.lib-item:last-child { border-bottom: none; }
.lib-ico {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .02em;
}
.lib-item .body { flex: 1; min-width: 0; }
.lib-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.lib-item p { font-size: 13.5px; color: var(--gray-600); margin-bottom: 8px; }
.lib-meta { font-size: 11.5px; color: var(--gray-600); text-transform: uppercase; letter-spacing: .03em; }
.lib-actions { flex-shrink: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; padding-top: 2px; }
@media (max-width: 560px) {
  .lib-item { flex-wrap: wrap; }
  .lib-actions { padding-top: 8px; margin-left: 68px; }
}

/* ---------- Notice list ---------- */
.notice-list { display: flex; flex-direction: column; gap: 0; }
.notice-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-300);
}
.notice-item .datebox {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
}
.notice-item .datebox strong { font-size: 18px; line-height: 1; }
.notice-item .datebox span { font-size: 10.5px; text-transform: uppercase; }
.notice-item h4 { font-size: 15px; margin-bottom: 4px; }
.notice-item p { font-size: 13px; color: var(--gray-600); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px var(--navy-100);
}
.form-note { font-size: 12.5px; color: var(--gray-600); margin-top: 6px; }

/* ---------- Tables ---------- */
table.simple { width: 100%; border-collapse: collapse; }
table.simple th, table.simple td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-300); font-size: 14px; }
table.simple th { background: var(--navy-100); color: var(--navy-900); font-weight: 700; }
table.simple td:first-child { white-space: nowrap; font-weight: 600; color: var(--navy-800); }

/* ---------- Academic calendar ---------- */
.cal-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.cal-tag { display: inline-block; background: var(--navy-100); color: var(--navy-800); font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 6px 14px; border-radius: 999px; flex-shrink: 0; }

.cal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 40px;
}
.cal-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-600);
  padding: 13px 18px;
  position: relative;
  top: 1px;
  border-radius: 8px 8px 0 0;
  transition: color .15s ease, background .15s ease;
}
.cal-tab:hover { color: var(--navy-800); background: var(--navy-100); }
.cal-tab.active { color: var(--navy-900); box-shadow: inset 0 -3px 0 var(--gold-500); }

.cal-panel { display: none; }
.cal-panel.active { display: block; }

.cal-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.cal-fact { background: var(--navy-100); border-radius: var(--radius); padding: 18px 20px; }
.cal-fact span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy-700); font-weight: 700; margin-bottom: 6px; }
.cal-fact strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16.5px; color: var(--navy-900); line-height: 1.25; }

.cal-timeline-heading { font-size: 15px; color: var(--navy-900); margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-300); }
.cal-timeline-heading:first-child { margin-top: 0; }

.cal-timeline { display: flex; flex-direction: column; margin-left: 6px; }
.cal-event {
  position: relative;
  padding: 0 0 22px 28px;
  border-left: 2px solid var(--gray-300);
}
.cal-event:last-child { border-left-color: transparent; padding-bottom: 2px; }
.cal-event::before {
  content: "";
  position: absolute;
  left: -7px; top: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy-700);
}
.cal-event-date { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--navy-900); margin-bottom: 3px; }
.cal-event-title { font-size: 14px; color: var(--gray-600); }

.cal-event.milestone { border-left-color: var(--gold-500); }
.cal-event.milestone::before {
  width: 15px; height: 15px; left: -8.5px; top: 0;
  border-color: var(--gold-500);
  background: var(--gold-500);
  box-shadow: 0 0 0 4px var(--gold-100);
}
.cal-event.milestone .cal-event-date { color: var(--gold-600); }
.cal-event.milestone .cal-event-title { font-weight: 700; color: var(--navy-900); }

@media (max-width: 760px) {
  .cal-facts { grid-template-columns: repeat(2, 1fr); }
  .cal-tabs { gap: 2px; }
  .cal-tab { padding: 11px 12px; font-size: 13.5px; }
}

/* ---------- Timeline (admissions steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  margin-bottom: 14px;
}
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--gray-600); }

/* ---------- Online Application wizard ---------- */
.apply-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 44px;
}
.apply-stepper::before {
  content: "";
  position: absolute;
  top: 19px; left: 5%; right: 5%;
  height: 2px;
  background: var(--gray-300);
  z-index: 0;
}
.apply-stepper .step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.apply-stepper .step .num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--gray-600);
  transition: all .2s ease;
}
.apply-stepper .step.active .num { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }
.apply-stepper .step.done .num { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-900); }
.apply-stepper .step .label { font-size: 11.5px; font-weight: 600; color: var(--gray-600); text-align: center; max-width: 90px; }
.apply-stepper .step.active .label { color: var(--navy-900); }

.apply-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.apply-panel { display: none; }
.apply-panel.active { display: block; animation: apply-panel-in .35s ease; }
@keyframes apply-panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.apply-panel h3 { font-size: 19px; margin-bottom: 4px; }
.apply-panel .step-desc { color: var(--gray-600); font-size: 13.5px; margin-bottom: 22px; }

.apply-nav-buttons { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }

.upload-item {
  border: 1.5px dashed var(--gray-300);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.upload-item .ico {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.upload-item .meta strong { display: block; font-size: 14px; color: var(--navy-900); }
.upload-item .meta span { font-size: 12px; color: var(--gray-600); }
.upload-item input[type="file"] { margin-top: 6px; font-size: 12.5px; }

.review-block { margin-bottom: 22px; }
.review-block h4 { font-size: 14px; color: var(--navy-900); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--gray-300); }
.review-block dl { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px 12px; }
.review-block dt { font-size: 12.5px; color: var(--gray-600); }
.review-block dd { font-size: 13.5px; color: var(--ink); font-weight: 600; }

.apply-success {
  text-align: center;
  padding: 56px 24px;
}
.apply-success .ico {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 38px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}

@media (max-width: 700px) {
  .apply-stepper .label { display: none; }
  .apply-card { padding: 22px; }
  .review-block dl { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: var(--gray-300); padding-top: 64px; position: relative; overflow: hidden; }
.footer-watermark {
  position: absolute;
  top: 6%;
  right: 3%;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 8vw, 118px);
  color: rgba(255,255,255,.045);
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}
.footer .grid { position: relative; z-index: 1; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 14.5px; margin-bottom: 18px; letter-spacing: .03em; text-transform: uppercase; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 13.5px; color: var(--gray-300); }
.footer ul a:hover { color: var(--gold-500); }
.footer .about-col p { font-size: 13.5px; color: var(--gray-300); margin: 14px 0 18px; max-width: 260px; }
.footer .brand-text strong { color: var(--white); }
.footer .brand-text span { color: var(--gray-300); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gold-500);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
}
.social-row a:hover { background: var(--gold-600); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 12.5px;
  color: var(--gray-300);
}
.footer-bottom a { color: var(--gray-300); }
.footer-bottom a:hover { color: var(--gold-500); }

/* ---------- Sidebar / two-column content ---------- */
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.sidebar-box { background: var(--gray-100); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 15px; margin-bottom: 14px; }
.sidebar-box ul li { margin-bottom: 10px; font-size: 13.5px; }
.sidebar-box ul a { color: var(--navy-800); font-weight: 600; }
.sidebar-box ul a:hover { color: var(--gold-600); }

.prose h2 { font-size: 24px; margin: 30px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 22px 0 10px; }
.prose p { color: var(--gray-600); margin-bottom: 14px; font-size: 15px; }
.prose ul { margin: 0 0 16px 0; }
.prose ul li { color: var(--gray-600); font-size: 15px; margin-bottom: 8px; padding-left: 22px; position: relative; }
.prose ul li::before { content: "→"; position: absolute; left: 0; color: var(--gold-600); font-weight: 700; }

/* ---------- Leadership message cards (welcome/graduation notes) ---------- */
.message-card {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  border-radius: 18px;
  padding: 36px 32px 30px;
  overflow: hidden;
  color: var(--gray-300);
  box-shadow: var(--shadow-md);
}
.message-card::before {
  content: "\201C";
  position: absolute;
  top: -46px;
  right: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 220px;
  font-weight: 800;
  color: rgba(244,163,0,.10);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.message-card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(244,163,0,.15);
  bottom: -120px; left: -100px;
  z-index: 0;
}
.message-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.message-card-header .avatar-wrap { width: 76px; height: 76px; margin: 0; flex-shrink: 0; }
.message-card-header .avatar-wrap img { width: 76px; height: 76px; border: 3px solid rgba(255,255,255,.18); box-shadow: var(--shadow-sm); }
.message-card-header .avatar-fallback { width: 76px; height: 76px; font-size: 24px; border: 3px solid rgba(255,255,255,.18); }
.message-card-header strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--white); font-size: 17px; }
.message-card-header span { display: block; font-size: 13px; color: var(--gold-500); font-weight: 600; margin-top: 2px; }
.message-card p { position: relative; z-index: 1; font-size: 14.5px; color: var(--gray-300); margin-bottom: 12px; }
.message-card p:last-of-type { margin-bottom: 0; }

/* ---------- Who We Are section background ---------- */
#who-we-are {
  position: relative;
  background: linear-gradient(165deg, var(--navy-100) 0%, var(--white) 38%, var(--white) 100%);
  overflow: hidden;
}
#who-we-are::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,163,0,.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
#who-we-are::after {
  content: "";
  position: absolute;
  bottom: -240px; left: -200px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(15,46,92,.10);
  pointer-events: none;
  z-index: 0;
}
#who-we-are .dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,46,92,.10) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(700px 500px at 78% 5%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 500px at 78% 5%, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
#who-we-are .container { position: relative; z-index: 1; }
#who-we-are .footprint-item { background: linear-gradient(160deg, var(--white), var(--gray-100)); }

/* ---------- Vision / Mission statement cards ---------- */
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 30px; }
.statement-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-top: 3px solid var(--gold-500);
  border-radius: 14px;
  padding: 26px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.statement-card::after {
  content: "\201D";
  position: absolute;
  bottom: -54px; right: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 140px;
  font-weight: 800;
  color: var(--navy-100);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.statement-card .ico {
  position: relative; z-index: 1;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.statement-card h3 {
  position: relative; z-index: 1;
  font-size: 13px; margin: 0 0 10px;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--gold-600);
}
.statement-card p {
  position: relative; z-index: 1;
  font-size: 15px; color: var(--ink);
  font-style: italic; line-height: 1.65; margin: 0;
}

/* ---------- Core values grid ---------- */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 8px; }
.value-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--gray-100);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
  transition: background .15s;
}
.value-item:hover { background: var(--navy-100); }
.value-item .num {
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Quick facts panel (sidebar) ---------- */
.facts-panel {
  background: linear-gradient(155deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius);
  padding: 26px 24px;
  color: var(--white);
}
.facts-panel h4 { color: var(--white); font-size: 14px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .04em; }
.facts-stat { margin-bottom: 16px; }
.facts-stat strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 25px; color: var(--gold-500); line-height: 1.1; }
.facts-stat span { font-size: 12px; color: var(--gray-300); }
.facts-divider { height: 1px; background: rgba(255,255,255,.14); margin: 18px 0; }
.facts-list li { font-size: 12.5px; color: var(--gray-300); margin-bottom: 10px; padding-left: 20px; position: relative; }
.facts-list li:last-child { margin-bottom: 0; }
.facts-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-500); font-weight: 700; font-size: 11px; }

@media (max-width: 700px) {
  .statement-grid, .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Academic footprint grid (icon cards) ---------- */
.footprint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 24px; }
.footprint-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.footprint-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--navy-700); }
.footprint-item .ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.footprint-item strong { display: block; font-size: 14.5px; color: var(--navy-900); margin-bottom: 4px; }
.footprint-item p { font-size: 13px; color: var(--gray-600); margin: 0; }

/* ---------- Pull quote (closing statement) ---------- */
.pull-quote {
  position: relative;
  margin-top: 8px;
  padding: 20px 24px 20px 28px;
  background: linear-gradient(120deg, var(--navy-100), var(--gold-100));
  border-left: 4px solid var(--gold-500);
  border-radius: 0 12px 12px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-900);
}

/* ---------- Accreditation sidebar panel ---------- */
.accred-panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.accred-panel-head {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.accred-panel-head .ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(244,163,0,.16);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.accred-panel-head h4 { color: var(--white); font-size: 14.5px; margin: 0; letter-spacing: .01em; }
.accred-panel-body { background: var(--white); padding: 8px 10px; }
.accred-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 8px 4px;
}
.accred-logo {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.accred-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.accred-panel-body ul { display: flex; flex-direction: column; }
.accred-panel-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-100);
}
.accred-panel-body li:last-child { border-bottom: none; }
.accred-panel-body li .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

.leader-card { text-align: center; padding: 26px 20px; }
.leader-card .avatar,
.leader-card .avatar-fallback {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px;
}
.leader-card .avatar-wrap { position: relative; width: 84px; height: 84px; margin: 0 auto 14px; }
.leader-card .avatar-wrap img {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; display: block;
}
.leader-card .avatar-wrap .avatar-fallback { position: absolute; inset: 0; margin: 0; }
.leader-card h4 { font-size: 15px; margin-bottom: 4px; }
.leader-card span { font-size: 12.5px; color: var(--gray-600); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .quicklinks .grid { grid-template-columns: repeat(2, 1fr); }
  .quicklink:nth-child(2) { border-right: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .topbar-left { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-band .grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .footprint-grid { grid-template-columns: 1fr; }
}

/* ---------- Accreditation logo marquee (slides right to left) ---------- */
.accred-marquee {
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.accred-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 64px;
  animation: accred-slide 32s linear infinite;
}
.accred-marquee:hover .accred-track { animation-play-state: paused; }
.accred-track img {
  height: 64px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(15%);
  opacity: .92;
}
@keyframes accred-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .accred-track { animation: none; }
}

/* ---------- Scroll reveal animations (text slides up, graphics roll in) ---------- */
.reveal-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal-fade.in-view { opacity: 1; transform: translateY(0); }

.reveal-roll {
  opacity: 0;
  transform: rotate(-40deg) scale(.7);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1);
}
.reveal-roll.in-view { opacity: 1; transform: rotate(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal-fade, .reveal-roll { opacity: 1; transform: none; transition: none; }
}

/* mobile nav (open state) */
.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  flex-direction: column;
  box-shadow: var(--shadow-md);
  padding: 10px;
}
.nav-links.open > li { width: 100%; }
.nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; border: none; }
.nav-links.open li.dropdown-open .dropdown { display: block; }
