:root {
  --site-topbar-height: 38px;
  --site-nav-height: 76px;
  --site-header-height: calc(var(--site-topbar-height) + var(--site-nav-height));
  --site-subnav-height: 48px;
  --brand-primary: #173058;
  --brand-accent: #aa222e;
  --text-main: #1f2d3d;
  --text-muted: #6f7e90;
  --bg-soft: #f5f8fc;
  --border: #e3e9f1;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(25, 50, 90, 0.08);
  --shadow-lg: 0 18px 45px rgba(25, 50, 90, 0.14);
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --cat-open-house: #173058;
  --cat-innovation: #aa222e;
  --cat-media: #173058;
  --cat-placement: #aa222e;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-height, 114px);
}

section[id] {
  scroll-margin-top: var(--site-header-height, 114px);
}

body.site-header-scrolled section[id] {
  scroll-margin-top: var(--site-nav-height, 76px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
  padding-top: var(--site-header-height, 114px);
}

/* Site-wide justified body copy */
p,
.section-desc,
.page-hero-lead,
.hero-lead,
.lead,
.vm-story__text,
.vm-story__bullets li,
.campus-intro-card p,
.about-vision-card p,
.about-content-panel .section-desc,
.about-story__desc,
.event-showcase-body p,
.news-body p,
.program-card p,
.site-footer__contact,
.article-body,
.prose p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.text-center p,
.text-center .section-desc,
.text-center .page-hero-lead,
.text-center .hero-lead,
.text-center .lead,
.text-end p,
.text-end .section-desc,
.pdd-head__label,
.pdd-head--center p,
.pdd-feature__text,
.about-gov-card__position,
.about-gov-card__meta {
  text-align: inherit;
}

body.site-header-scrolled {
  padding-top: var(--site-nav-height, 76px);
}

.section {
  padding: 5rem 0;
}

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

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-accent) !important;
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: clamp(1.9rem, 2.2vw + 1rem, 2.8rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
}

.navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
}

.brand-text {
  color: var(--brand-primary);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.brand-text small {
  display: block;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-accent) !important;
}

.btn-brand {
  background: var(--brand-accent);
  border: 1px solid var(--brand-accent);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.68rem 1.35rem;
  box-shadow: 0 10px 20px rgba(170, 34, 46, 0.25);
}

.btn-brand:hover {
  background: #8f1b26;
  border-color: #8f1b26;
  color: var(--white);
}

.btn-outline-brand {
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  border-radius: 999px;
  font-weight: 600;
  background: var(--white);
  padding: 0.68rem 1.35rem;
}

.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: var(--white);
}

.hero {
  min-height: 96vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 9.5rem 0 5rem;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-youtube {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2.3rem, 3.8vw + 1rem, 4rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.hero-title span {
  color: #ffd7db;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  max-width: 540px;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-meta i {
  color: #ffd7db;
  margin-right: 0.4rem;
}

.about-image {
  box-shadow: var(--shadow-sm);
}

.feature-list {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.75rem;
}

.feature-list div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  color: var(--brand-primary);
  font-weight: 500;
}

.feature-list i {
  color: var(--brand-accent);
  margin-right: 0.5rem;
}

.program-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.program-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  background: #edf3ff;
  color: var(--brand-primary);
  border-radius: 999px;
  font-size: 0.76rem;
  padding: 0.28rem 0.7rem;
  font-weight: 600;
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.95rem;
  background: #f2f6fb;
  color: var(--brand-accent);
}

.program-card h3 {
  color: var(--brand-primary);
  font-size: 1.18rem;
}

.program-card p {
  color: var(--text-muted);
  margin: 0;
}

.calendar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.calendar-head {
  background: var(--brand-primary);
  color: var(--white);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-head strong {
  font-size: 1.05rem;
}

.calendar-head span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 1rem;
}

.calendar-weekday {
  display: grid;
  place-items: center;
  color: #8b99ad;
  font-weight: 600;
  font-size: 0.75rem;
  min-height: 28px;
}

.calendar-day {
  display: grid;
  place-items: center;
  border-radius: 10px;
  min-height: 36px;
  font-size: 0.85rem;
  color: var(--brand-primary);
  border: 1px solid transparent;
  background: transparent;
}

span.calendar-day {
  border: 1px solid transparent;
}

button.calendar-day {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

button.calendar-day:hover {
  transform: translateY(-1px);
  border-color: #c8d5e8;
  box-shadow: 0 4px 14px rgba(25, 50, 90, 0.12);
}

.calendar-day.muted {
  color: #a4b0bf;
}

.calendar-day.has-event {
  color: var(--white);
  font-weight: 700;
}

.calendar-day.is-active {
  outline: 3px solid rgba(25, 50, 90, 0.2);
  transform: translateY(-1px);
}

.category-open-house { background: var(--cat-open-house); }
.category-innovation { background: var(--cat-innovation); }
.category-media { background: var(--cat-media); }
.category-placement { background: var(--cat-placement); }
.category-general { background: var(--brand-primary); }

.event-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0 1rem 1rem;
  font-size: 0.8rem;
  color: var(--brand-primary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.35rem;
}

.dot-open-house { background: var(--cat-open-house); }
.dot-innovation { background: var(--cat-innovation); }
.dot-media { background: var(--cat-media); }
.dot-placement { background: var(--cat-placement); }
.dot-general { background: var(--brand-primary); }

.event-showcase {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.event-showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f4f6f9;
  overflow: hidden;
  cursor: zoom-in;
}

.event-showcase-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f4f6f9;
}

.event-showcase-media .program-event-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.event-showcase-media .program-event-slider.is-zoomable {
  cursor: zoom-in;
}

.event-showcase-media .program-event-slider img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.event-showcase-media .program-event-slider img.is-active {
  opacity: 1;
  z-index: 1;
}

.event-showcase-media .program-event-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 28, 52, 0.72);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.event-showcase-media .program-event-slider__nav:hover {
  background: rgba(15, 28, 52, 0.92);
}

.event-showcase-media .program-event-slider.has-nav:hover .program-event-slider__nav,
.event-showcase-media .program-event-slider.has-nav:focus-within .program-event-slider__nav {
  opacity: 1;
  pointer-events: auto;
}

.event-showcase-media .program-event-slider__nav--prev {
  left: 0.55rem;
}

.event-showcase-media .program-event-slider__nav--next {
  right: 0.55rem;
}

@media (hover: none) {
  .event-showcase-media .program-event-slider.has-nav .program-event-slider__nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.program-event-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(8, 14, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.program-event-lightbox.is-open {
  display: flex;
}
.program-event-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.program-event-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.program-event-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-primary, #173058);
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(23, 48, 88, 0.2);
}
.program-event-lightbox__nav--prev {
  left: 1rem;
}
.program-event-lightbox__nav--next {
  right: 1rem;
}
.program-event-lightbox__nav[hidden] {
  display: none;
}

.event-showcase-body {
  padding: 1.2rem 1.3rem 1.3rem;
}

.event-category-badge {
  display: inline-block;
  color: var(--white);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-showcase h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.45rem;
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.event-showcase p {
  margin: 0;
  color: var(--text-muted);
}

.event-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.event-meta span {
  font-size: 0.86rem;
  color: var(--brand-primary);
  background: #f1f5fb;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
}

.event-meta i {
  color: var(--brand-accent);
  margin-right: 0.3rem;
}

.event-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.event-program-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: #eef4fb;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  text-decoration: none;
}

.event-program-chip:hover {
  color: var(--brand-accent);
  background: #f8e9eb;
  text-decoration: none;
}

.event-program-chip i {
  font-size: 0.85rem;
}

.event-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.event-quick-link {
  border: none;
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.78;
}

.event-quick-link.is-active {
  opacity: 1;
  box-shadow: 0 8px 20px rgba(25, 50, 90, 0.22);
}

.infra-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
}

.infra-card h3 {
  color: var(--brand-primary);
  font-size: 1.2rem;
}

.infra-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-body {
  padding: 1.1rem;
}

.news-body span {
  color: var(--brand-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.news-body h3 {
  margin: 0.45rem 0 0;
  color: var(--brand-primary);
  font-size: 1.05rem;
  line-height: 1.4;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 3.8rem 0 1.8rem;
}

.footer-title {
  color: var(--brand-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer a {
  color: var(--text-main);
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand-accent);
}

.floating-admission {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  background: var(--brand-accent);
  color: var(--white);
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(170, 34, 46, 0.32);
}

.floating-admission:hover {
  color: var(--white);
  background: #8f1b26;
}

.infra-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.infra-hero-panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 520px;
}

.infra-hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.infra-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1.3rem;
  background: rgba(23, 48, 88, 0.76);
}

.infra-hero-overlay p {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffd8dc;
}

.infra-hero-overlay h3 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: 1.35rem;
}

.infra-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.infra-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(25, 50, 90, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
}

.infra-side-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.65rem;
}

.infra-micro-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 120px;
}

.infra-micro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.infra-micro-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  background: rgba(23, 48, 88, 0.78);
}

.infra-micro-card:hover img {
  transform: scale(1.06);
}

.infra-metric-box {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--brand-primary);
  padding: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.infra-metric-box div {
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.55rem 0.2rem;
}

.infra-metric-box strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.infra-metric-box span {
  font-size: 0.7rem;
  color: #dbe7ff;
}

.infra-tab-layout {
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.infra-tab-nav {
  background: #f7f9fd;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.6rem;
  gap: 0.45rem;
}

.infra-tab-nav .nav-link {
  text-align: left;
  border-radius: 12px;
  border: 1px solid #dbe4f1;
  background: #fff;
  color: var(--brand-primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.72rem 0.8rem;
}

.infra-tab-nav .nav-link.active {
  background: var(--brand-primary);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(25, 50, 90, 0.28);
}

.infra-tab-content .tab-pane {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.infra-tab-content img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

.infra-pane-copy {
  padding: 0.95rem 1rem 1.1rem;
}

.infra-pane-copy h3 {
  margin: 0;
  color: var(--brand-primary);
  font-size: 1.22rem;
}

.infra-pane-copy p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
}

.infra-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.infra-copy {
  border-radius: 22px;
  padding: 1.6rem 1.45rem;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.infra-mini {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffdce0;
  font-weight: 600;
}

.infra-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.25;
}

.infra-copy p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.infra-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.infra-stat-grid div {
  border-radius: 14px;
  padding: 0.7rem 0.55rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.infra-stat-grid strong {
  display: block;
  font-size: 1.08rem;
  color: #fff;
}

.infra-stat-grid span {
  font-size: 0.72rem;
  color: #dce7ff;
}

.infra-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, 210px);
  gap: 0.65rem;
}

.infra-shot {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.infra-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.infra-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(23, 48, 88, 0.78);
}

.infra-shot:hover img {
  transform: scale(1.05);
}

.shot-main { grid-column: 1; grid-row: 1 / 3; }
.shot-lab { grid-column: 2; grid-row: 1; }
.shot-library { grid-column: 3; grid-row: 1; }
.shot-studio { grid-column: 2; grid-row: 2; }
.shot-collab { grid-column: 3; grid-row: 2; }

.life-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.life-banner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.life-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.3rem 1.5rem;
  background: rgba(23, 48, 88, 0.45);
}

.life-banner-overlay h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-family: var(--font-display);
  text-align: center;
  background: var(--brand-primary);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.52rem 1.25rem;
}

.life-banner-overlay .btn {
  display: none !important;
}

.life-tab-label--short {
  display: none;
}

.life-tabs-wrap {
  margin-top: -18px;
  position: relative;
  z-index: 3;
}

.life-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid #d7dfea;
  background: #fff;
  box-shadow: 0 8px 20px rgba(25, 50, 90, 0.12);
  margin: 0 auto;
  width: max-content;
  max-width: 100%;
}

.life-tabs .nav-link {
  white-space: nowrap;
  border: none;
  color: var(--brand-primary) !important;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  background: transparent;
}

.life-tabs .nav-link.active {
  background: var(--brand-accent);
  color: #fff !important;
  /* box-shadow: 0 8px 16px rgba(25, 50, 90, 0.3); */
}

.life-tab-content {
  margin-top: 0.55rem;
}

.life-tab-content .tab-pane {
  background: transparent;
}

.life-collage {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr 1fr;
  grid-template-rows: repeat(3, minmax(110px, 1fr));
  gap: 0.52rem;
  border-radius: 16px;
  overflow: hidden;
}

.life-tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.life-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.life-tile:hover img {
  transform: scale(1.06);
}

.tile-a { grid-column: 1; grid-row: 1; }
.tile-b { grid-column: 1; grid-row: 2; }
.tile-c { grid-column: 1; grid-row: 3; }
.tile-d { grid-column: 2 / 4; grid-row: 1 / 3; }
.tile-e { grid-column: 2; grid-row: 3; }
.tile-f { grid-column: 3; grid-row: 3; }
.tile-g { grid-column: 4; grid-row: 1; }
.tile-h { grid-column: 4; grid-row: 2; }
.tile-i { grid-column: 4; grid-row: 3; }

.infra-creative {
  position: relative;
  min-height: 540px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 50%, rgba(25, 50, 90, 0.07), transparent 45%),
    radial-gradient(circle at 15% 20%, rgba(170, 34, 46, 0.12), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(25, 50, 90, 0.1), transparent 40%),
    #ffffff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.infra-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(25, 50, 90, 0.18);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 340px;
  height: 340px;
  animation: spinClock 30s linear infinite;
}

.orbit-2 {
  width: 500px;
  height: 500px;
  animation: spinAnti 38s linear infinite;
}

.infra-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(25, 50, 90, 0.94);
  color: #fff;
  min-width: 280px;
  box-shadow: 0 16px 35px rgba(25, 50, 90, 0.35);
}

.infra-core p {
  color: #d3ddf0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.infra-core h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #fff;
}

.infra-core span {
  font-size: 0.8rem;
  color: #ffd9de;
}

.infra-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 600;
  animation: floatNode 4.6s ease-in-out infinite;
}

.infra-node img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(25, 50, 90, 0.22);
}

.node-1 { top: 10%; left: 20%; }
.node-2 { top: 22%; right: 10%; animation-delay: -0.8s; }
.node-3 { top: 50%; right: 5%; animation-delay: -1.4s; }
.node-4 { bottom: 16%; right: 18%; animation-delay: -2s; }
.node-5 { bottom: 10%; left: 18%; animation-delay: -2.6s; }
.node-6 { top: 48%; left: 6%; animation-delay: -3.2s; }

@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spinClock {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinAnti {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 8rem;
    min-height: 88vh;
  }

  .hero.hero--v2 {
    min-height: auto;
    padding-top: 5.25rem;
  }

  .infra-stage {
    grid-template-columns: 1fr;
  }

  .infra-copy {
    min-height: auto;
  }

  .infra-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px 180px;
  }

  .shot-main { grid-column: 1 / 3; grid-row: 1; }
  .shot-lab { grid-column: 1; grid-row: 2; }
  .shot-library { grid-column: 2; grid-row: 2; }
  .shot-studio { grid-column: 1; grid-row: 3; }
  .shot-collab { grid-column: 2; grid-row: 3; }

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

  .life-banner img {
    height: 320px;
  }

  .life-collage {
    grid-template-columns: 1fr 1.2fr 1.2fr;
  }

  .tile-a { grid-column: 1; grid-row: 1; }
  .tile-b { grid-column: 1; grid-row: 2; }
  .tile-c { grid-column: 1; grid-row: 3; }
  .tile-d { grid-column: 2 / 4; grid-row: 1 / 3; }
  .tile-e { grid-column: 2; grid-row: 3; }
  .tile-f { grid-column: 3; grid-row: 3; }
  .tile-g,
  .tile-h,
  .tile-i { display: none; }

  .life-tabs {
    width: 100%;
  }

}

@media (max-width: 575.98px) {
  .section {
    padding: 4rem 0;
  }

  .infra-copy h3 {
    font-size: 1.3rem;
  }

  .infra-stat-grid {
    grid-template-columns: 1fr;
  }

  .infra-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 170px 170px 170px 170px;
  }

  .shot-main,
  .shot-lab,
  .shot-library,
  .shot-studio,
  .shot-collab {
    grid-column: 1;
  }

  .shot-main { grid-row: 1; }
  .shot-lab { grid-row: 2; }
  .shot-library { grid-row: 3; }
  .shot-studio { grid-row: 4; }
  .shot-collab { grid-row: 5; }

  .infra-shot figcaption {
    font-size: 0.74rem;
  }

  .life-banner img {
    height: 235px;
  }

  .life-tabs .nav-link {
    font-size: 0.78rem;
    padding: 0.44rem 0.75rem;
  }

  .life-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 110px);
  }

  .tile-a { grid-column: 1; grid-row: 1; display: block; }
  .tile-b { grid-column: 1; grid-row: 2; display: block; }
  .tile-c { grid-column: 1; grid-row: 3; display: block; }
  .tile-d { grid-column: 2; grid-row: 1 / 3; display: block; }
  .tile-e { grid-column: 1; grid-row: 4; display: block; }
  .tile-f { grid-column: 2; grid-row: 3; display: block; }
  .tile-g { grid-column: 2; grid-row: 4; display: block; }
  .tile-h,
  .tile-i { display: none; }

  .life-tabs-wrap {
    margin-top: -12px;
  }

  .infra-main-overlay h3 {
    font-size: 1.05rem;
  }

  .infra-gallery-grid {
    grid-template-columns: 1fr;
  }

  .infra-gallery-item {
    min-height: 200px;
  }

  .calendar-day {
    min-height: 33px;
    font-size: 0.74rem;
  }

  .event-showcase-media img {
    height: auto;
  }

  .floating-admission {
    right: 12px;
    bottom: 12px;
    padding: 0.68rem 0.95rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 991.98px) {
  .infra-tab-layout {
    grid-template-columns: 1fr;
  }

  .infra-tab-nav {
    flex-direction: row !important;
    overflow-x: auto;
    white-space: nowrap;
  }

  .infra-tab-nav .nav-link {
    white-space: nowrap;
  }

  .infra-tab-content img {
    height: 340px;
  }
}

@media (max-width: 575.98px) {
  .infra-tab-content img {
    height: 240px;
  }

  .infra-pane-copy h3 {
    font-size: 1.05rem;
  }
}

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

  .infra-hero-panel {
    min-height: 360px;
  }

  .infra-side-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .infra-metric-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .infra-hero-panel {
    min-height: 260px;
  }

  .infra-hero-overlay h3 {
    font-size: 1.05rem;
  }

  .infra-badges {
    position: static;
    padding: 0.6rem 0.6rem 0;
  }

  .infra-hero-overlay {
    padding-top: 0.7rem;
  }

  .infra-side-layout {
    grid-template-columns: 1fr;
  }

  .infra-metric-box {
    grid-template-columns: 1fr;
  }
}
:root {
  --brand-primary: #19325a;
  --brand-accent: #aa222e;
  --text-main: #1f2d3d;
  --text-muted: #6f7e90;
  --bg-soft: #f5f8fc;
  --border: #e3e9f1;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(25, 50, 90, 0.08);
  --shadow-lg: 0 18px 45px rgba(25, 50, 90, 0.14);
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
}

.section {
  padding: 5rem 0;
}

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

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: clamp(1.9rem, 2.2vw + 1rem, 2.8rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
}

.navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-primary), #2d4f87);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
}

.brand-text {
  color: var(--brand-primary);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.brand-text small {
  display: block;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-accent) !important;
}

.btn-brand {
  background: var(--brand-accent);
  border: 1px solid var(--brand-accent);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.68rem 1.35rem;
  box-shadow: 0 10px 20px rgba(170, 34, 46, 0.25);
}

.btn-brand:hover {
  background: #8f1b26;
  border-color: #8f1b26;
  color: var(--white);
}

.btn-outline-brand {
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  border-radius: 999px;
  font-weight: 600;
  background: var(--white);
  padding: 0.68rem 1.35rem;
}

.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: var(--white);
}

.hero {
  padding: 9.5rem 0 5rem;
  min-height: 96vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2.3rem, 3.8vw + 1rem, 4rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.hero-title span {
  color: #ffd7db;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  max-width: 540px;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-meta i {
  color: #ffd7db;
  margin-right: 0.4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-youtube {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
  pointer-events: none;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.video-card video {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.about-image {
  box-shadow: var(--shadow-sm);
}

.feature-list {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.75rem;
}

.feature-list div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  color: var(--brand-primary);
  font-weight: 500;
}

.feature-list i {
  color: var(--brand-accent);
  margin-right: 0.5rem;
}

.program-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.program-tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  background: #edf3ff;
  color: var(--brand-primary);
  border-radius: 999px;
  font-size: 0.76rem;
  padding: 0.28rem 0.7rem;
  font-weight: 600;
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.95rem;
  background: #f2f6fb;
  color: var(--brand-accent);
}

.program-card h3 {
  color: var(--brand-primary);
  font-size: 1.18rem;
}

.program-card p {
  color: var(--text-muted);
  margin: 0;
}

.calendar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.calendar-head {
  background: var(--brand-primary);
  color: var(--white);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-head strong {
  font-size: 1.05rem;
}

.calendar-head span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 1rem;
}

.calendar-grid span {
  display: grid;
  place-items: center;
  border-radius: 10px;
  min-height: 34px;
  font-size: 0.82rem;
  color: var(--brand-primary);
}

.calendar-grid .muted {
  color: #a4b0bf;
}

.calendar-grid .active {
  background: #ffecef;
  color: var(--brand-accent);
  font-weight: 700;
}

.event-list {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem;
}

.event-item {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.event-date {
  flex-shrink: 0;
  background: #fff4f5;
  border: 1px solid #ffd8dd;
  color: var(--brand-accent);
  border-radius: 12px;
  width: 70px;
  text-align: center;
  padding: 0.4rem;
}

.event-date strong {
  font-size: 1.4rem;
  line-height: 1;
  display: block;
}

.event-date span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-item h3 {
  color: var(--brand-primary);
  margin-bottom: 0.3rem;
  font-size: 1.06rem;
}

.event-item p {
  margin: 0;
  color: var(--text-muted);
}

.infra-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
}

.infra-card h3 {
  color: var(--brand-primary);
  font-size: 1.2rem;
}

.infra-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-body {
  padding: 1.1rem;
}

.news-body span {
  color: var(--brand-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.news-body h3 {
  margin: 0.45rem 0 0;
  color: var(--brand-primary);
  font-size: 1.05rem;
  line-height: 1.4;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 3.8rem 0 1.8rem;
}

.footer-title {
  color: var(--brand-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer a {
  color: var(--text-main);
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand-accent);
}

.floating-admission {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  background: var(--brand-accent);
  color: var(--white);
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(170, 34, 46, 0.32);
}

.floating-admission:hover {
  color: var(--white);
  background: #8f1b26;
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 8rem;
    min-height: 88vh;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 4rem 0;
  }

  .calendar-grid span {
    min-height: 30px;
    font-size: 0.75rem;
  }

  .floating-admission {
    right: 12px;
    bottom: 12px;
    padding: 0.68rem 0.95rem;
    font-size: 0.82rem;
  }
}
:root {
  --svgu-bg: #ffffff;
  --svgu-bg-soft: #f8fafc;
  --svgu-bg-muted: #f1f5f9;
  --svgu-ink: #0f172a;
  --svgu-text: #1e293b;
  --svgu-muted: #64748b;
  --brand-primary: #173058;
  --brand-accent: #aa222e;
  --svgu-border: #e2e8f0;
  --svgu-card-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --svgu-card-shadow-hover: 0 20px 50px rgba(15, 23, 42, 0.1);
  --svgu-radius: 20px;
  --svgu-radius-sm: 14px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--svgu-bg);
  color: var(--svgu-text);
  line-height: 1.65;
  overflow-x: hidden;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 0% -20%, rgba(13, 148, 136, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(79, 70, 229, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(13, 148, 136, 0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.navbar {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid var(--svgu-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06);
}

.navbar-toggler {
  border-color: var(--svgu-border) !important;
}

.navbar-toggler-icon {
  filter: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--svgu-ink);
}

.brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--svgu-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--svgu-muted) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--svgu-ink) !important;
}

.btn-gradient {
  background: var(--brand-accent);
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  color: #fff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.35);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(13, 148, 136, 0.4);
  color: #fff !important;
}

.btn-outline-glass {
  border: 2px solid var(--svgu-border);
  color: var(--svgu-ink);
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn-outline-glass:hover {
  border-color: var(--brand-accent);
  background: rgba(170, 34, 46, 0.12);
  color: var(--brand-accent);
  transform: translateY(-2px);
}

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

.hero {
  min-height: calc(100svh - var(--site-header-height, 114px));
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--svgu-border);
  background: #fff;
  font-size: 0.8rem;
  color: var(--svgu-muted);
  margin-bottom: 1.5rem;
  box-shadow: var(--svgu-card-shadow);
}

.hero-badge span {
  color: var(--brand-accent);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.5vw + 1rem, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.07;
  margin-bottom: 1.25rem;
  color: var(--svgu-ink);
}

.gradient-text {
  background: var(--brand-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--svgu-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--svgu-border);
}

.hero-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--svgu-ink);
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--svgu-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-height: 440px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(79, 70, 229, 0.06) 0%, transparent 45%),
    var(--svgu-bg-muted);
  border: 1px solid var(--svgu-border);
  overflow: hidden;
}

.hero-grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--svgu-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--svgu-border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black, transparent);
}

.hero-orbit {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 2px dashed rgba(13, 148, 136, 0.2);
  animation: spin-slow 56s linear infinite;
}

.hero-card {
  position: absolute;
  border-radius: var(--svgu-radius-sm);
  background: #fff;
  border: 1px solid var(--svgu-border);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--svgu-card-shadow);
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}

.hero-card:nth-child(3) {
  top: 6%;
  right: 4%;
  animation-delay: -1.5s;
}

.hero-card:nth-child(4) {
  bottom: 14%;
  left: 2%;
  animation-delay: -3s;
}

.hero-card:nth-child(5) {
  top: 38%;
  right: 8%;
  animation-delay: -2.5s;
}

.hero-card:nth-child(6) {
  top: 52%;
  left: 8%;
  animation-delay: -4s;
}

.hero-card h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--svgu-muted);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.hero-card p {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--svgu-ink);
}

.hero-card .hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(170, 34, 46, 0.12);
  color: var(--brand-accent);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-accent);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.85rem, 2.5vw + 1rem, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--svgu-ink);
}

.section-desc {
  color: var(--svgu-muted);
  max-width: 580px;
}

.glass-panel {
  border-radius: 24px;
  border: 1px solid var(--svgu-border);
  background: #fff;
  box-shadow: var(--svgu-card-shadow);
  padding: 2rem;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  background: rgba(170, 34, 46, 0.12);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Infrastructure bento */
.infra-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 1rem;
}

.infra-item {
  border-radius: var(--svgu-radius);
  border: 1px solid var(--svgu-border);
  background: #fff;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--svgu-card-shadow);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.infra-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.infra-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--svgu-card-shadow-hover);
  border-color: rgba(13, 148, 136, 0.25);
}

.infra-item:hover::before {
  opacity: 1;
}

.infra-item--hero {
  grid-column: span 7;
  grid-row: span 2;
  background: linear-gradient(145deg, #fff 0%, var(--svgu-bg-soft) 100%);
  padding: 2rem;
}

.infra-item--tall {
  grid-column: span 5;
  grid-row: span 2;
  background: var(--brand-primary);
  color: #fff;
  border: none;
}

.infra-item--tall .infra-stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.infra-item--tall h3,
.infra-item--tall p {
  color: #fff;
}

.infra-item--tall .infra-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.infra-item--wide {
  grid-column: span 6;
}

.infra-item--cell {
  grid-column: span 3;
}

.infra-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(170, 34, 46, 0.12);
  color: var(--brand-accent);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.infra-item--tall .infra-stat-num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.5rem 0;
}

.infra-stat-label {
  font-size: 0.8rem;
  color: var(--svgu-muted);
  font-weight: 600;
}

.infra-item h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--svgu-ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.infra-item p {
  font-size: 0.92rem;
  color: var(--svgu-muted);
  margin: 0;
  line-height: 1.55;
}

.infra-pattern {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.program-card {
  height: 100%;
  border-radius: var(--svgu-radius);
  border: 1px solid var(--svgu-border);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--svgu-card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: var(--svgu-card-shadow-hover);
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(79, 70, 229, 0.1));
  color: var(--brand-accent);
}

.program-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--svgu-ink);
  margin-bottom: 0.45rem;
}

.program-card p {
  color: var(--svgu-muted);
  font-size: 0.94rem;
  margin: 0;
}

.why-item {
  display: flex;
  gap: 1.15rem;
  padding: 1.5rem;
  border-radius: var(--svgu-radius);
  border: 1px solid var(--svgu-border);
  background: #fff;
  height: 100%;
  box-shadow: var(--svgu-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--svgu-card-shadow-hover);
}

.why-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}

.why-item h3 {
  color: var(--svgu-ink);
}

.facility-chip {
  border-radius: var(--svgu-radius);
  border: 1px solid var(--svgu-border);
  padding: 1.75rem 1.35rem;
  text-align: center;
  background: #fff;
  box-shadow: var(--svgu-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.facility-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--svgu-card-shadow-hover);
}

.facility-chip i {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  background: var(--brand-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.facility-chip h3 {
  color: var(--svgu-ink);
}

.event-card {
  border-radius: var(--svgu-radius);
  overflow: hidden;
  border: 1px solid var(--svgu-border);
  background: #fff;
  height: 100%;
  box-shadow: var(--svgu-card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--svgu-card-shadow-hover);
}

.event-date {
  background: var(--brand-primary);
  color: #fff;
  font-weight: 800;
  padding: 1rem;
  text-align: center;
  min-width: 88px;
}

.event-date .day {
  font-size: 1.75rem;
  line-height: 1;
}

.event-body {
  padding: 1.25rem 1.5rem;
}

.event-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-accent);
  font-weight: 800;
}

.event-body h3 {
  color: var(--svgu-ink);
}

.placement-panel {
  border-radius: 28px;
  border: 1px solid var(--svgu-border);
  background: linear-gradient(125deg, #fff 0%, var(--svgu-bg-soft) 50%, rgba(13, 148, 136, 0.06) 100%);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--svgu-card-shadow);
}

.placement-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 65%);
  pointer-events: none;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.logo-pill {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--svgu-border);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--svgu-muted);
}

.testimonial-card {
  border-radius: var(--svgu-radius);
  border: 1px solid var(--svgu-border);
  padding: 1.65rem;
  background: #fff;
  height: 100%;
  box-shadow: var(--svgu-card-shadow);
}

.testimonial-card .stars {
  color: #f59e0b;
  margin-bottom: 0.85rem;
  letter-spacing: 0.12em;
}

.testimonial-card strong {
  color: var(--svgu-ink);
}

.topper-card {
  border-radius: var(--svgu-radius);
  border: 1px solid var(--svgu-border);
  background: #fff;
  padding: 1.6rem;
  box-shadow: var(--svgu-card-shadow);
  height: 100%;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.topper-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--svgu-card-shadow-hover);
}

.topper-rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(170, 34, 46, 0.12);
  color: var(--brand-accent);
}

.avatar-lg {
  width: 56px;
  height: 56px;
  font-size: 1rem;
}

.step-card {
  border-radius: var(--svgu-radius);
  border: 1px solid var(--svgu-border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--svgu-card-shadow);
  height: 100%;
}

.step-no {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-accent);
  background: rgba(170, 34, 46, 0.12);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.9rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.85rem;
}

.cta-banner {
  border-radius: 28px;
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px solid var(--svgu-border);
  background: linear-gradient(135deg, var(--svgu-bg-soft) 0%, #fff 40%, rgba(13, 148, 136, 0.08) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--svgu-card-shadow);
}

.cta-banner h2 {
  font-size: clamp(1.65rem, 2vw + 1rem, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: var(--svgu-ink);
}

.footer {
  border-top: 1px solid var(--svgu-border);
  padding: 3.5rem 0 1.75rem;
  background: var(--svgu-bg-soft);
}

.footer a {
  color: var(--svgu-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--brand-accent);
}

.footer-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--svgu-ink);
  font-weight: 800;
  margin-bottom: 1rem;
}


@media (max-width: 1199.98px) {
  .infra-item--hero {
    grid-column: span 12;
    grid-row: span 1;
  }

  .infra-item--tall {
    grid-column: span 12;
    grid-row: span 1;
    min-height: 220px;
  }

  .infra-item--wide {
    grid-column: span 6;
  }

  .infra-item--cell {
    grid-column: span 6;
  }
}

@media (max-width: 991.98px) {
  .hero-visual {
    margin-top: 2.5rem;
    min-height: 380px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .hero-grid-bg {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    min-height: 200px;
    order: -1;
  }

  .hero-orbit {
    display: none;
  }

  .hero-card {
    position: relative;
    margin-bottom: 0;
    animation: none;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .infra-item--wide,
  .infra-item--cell {
    grid-column: span 12;
  }
}

@media (max-width: 575.98px) {
  .hero-stats {
    gap: 1.25rem;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .placement-panel {
    padding: 2rem 1.25rem;
  }
}

/* Brand lock: no gradients, only two theme colors */
:root {
  --brand-primary: #173058;
  --brand-accent: #AA222E;
  --cat-open-house: #173058;
  --cat-innovation: #AA222E;
  --cat-media: #173058;
  --cat-placement: #AA222E;
}

.brand-mark,
.life-banner-overlay h2,
.life-tabs .nav-link.active,
.infra-metric-box,
.infra-tab-nav .nav-link.active {
  background-image: none !important;
}

.brand-mark { background-color: var(--brand-primary) !important; }
.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.12) 68%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
}
.life-banner-overlay { background: rgba(23, 48, 88, 0.45) !important; }
.life-banner-overlay h2 { background-color: var(--brand-primary) !important; }
.life-tabs .nav-link.active { background-color: var(--brand-accent) !important; }
.infra-showcase,
.infra-stage { background: #ffffff !important; }
.infra-hero-overlay,
.infra-shot figcaption,
.infra-micro-card figcaption { background: rgba(23, 48, 88, 0.78) !important; }
.infra-metric-box,
.infra-copy { background-color: var(--brand-primary) !important; }

/* Hero readability fix */
.hero {
  position: relative;
}

/* Soft black left scrim only — no blue tint */
.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.12) 68%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  pointer-events: none;
}

.hero .eyebrow,
.hero .hero-title,
.hero .hero-title span,
.hero .hero-lead,
.hero .hero-meta,
.hero .hero-meta i,
.pd-hero__meta,
.pd-hero .pd-hero__meta,
.page-hero-lead,
.page-hero .page-hero-lead,
.program-hero-meta {
  color: #ffffff !important;
}

.pd-hero__meta i {
  color: #ffd7db !important;
}

.hero .hero-content {
  filter:
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.95))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.hero .hero-title,
.hero .hero-title span {
  font-weight: 800;
  text-shadow:
    0 0 2px #000,
    0 0 6px rgba(0, 0, 0, 0.95),
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.85);
  -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.65);
  paint-order: stroke fill;
}

.hero .hero-lead,
.hero .hero-meta {
  font-weight: 600;
  text-shadow:
    0 0 2px #000,
    0 0 6px rgba(0, 0, 0, 0.95),
    0 2px 6px rgba(0, 0, 0, 0.9),
    0 4px 12px rgba(0, 0, 0, 0.75);
}

.hero .eyebrow {
  background: rgba(0, 0, 0, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  margin-top: 1.35rem;
  margin-bottom: 0.9rem;
  line-height: 1.2;
  font-size: 0.84rem;
  padding: 0.42rem 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero .btn-outline-brand {
  background: rgba(0, 0, 0, 0.55) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

/* Header menu visibility fix */
.site-header {
  z-index: 1030;
  width: 100%;
  overflow: visible;
}

.site-topbar {
  background: var(--brand-primary);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 80px;
  overflow: visible;
  transition: max-height 0.28s ease, opacity 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled .site-topbar {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
  pointer-events: none;
  overflow: hidden;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--site-topbar-height);
  padding: 0.35rem clamp(1rem, 2.5vw, 2.5rem);
}

.site-topbar__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  min-width: 0;
}

.site-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-topbar__link:hover,
.site-topbar__link:focus {
  color: #fff;
}

.site-topbar__link.active {
  color: #fff;
  font-weight: 700;
  background: var(--brand-accent);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
}

.site-topbar__link--toggle.dropdown-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  border-top-color: rgba(255, 255, 255, 0.85);
}

.site-topbar__link--toggle.active::after {
  border-top-color: #fff;
}

.site-topbar__dropdown {
  display: inline-flex;
  position: relative;
}

.site-topbar__menu {
  font-size: 0.82rem;
  min-width: 12rem;
  margin-top: 0.35rem !important;
  z-index: 1055;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.site-topbar__menu .dropdown-item {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
}

.site-topbar__menu .dropdown-item.active,
.site-topbar__menu .dropdown-item:active {
  background: var(--brand-accent);
  color: #fff;
}

.site-topbar__menu--student-corner {
  min-width: 15rem;
}

.site-topbar__menu-label {
  padding: 0.35rem 0.85rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  list-style: none;
}

.site-topbar__menu-divider {
  margin: 0.35rem 0.75rem;
  border-color: rgba(255, 255, 255, 0.14);
}

.site-topbar__menu-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.85rem 0.55rem;
  list-style: none;
}

.site-topbar__menu-social a {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-topbar__menu-social a:hover {
  background: var(--brand-accent);
  color: #fff;
}

.site-topbar__social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.site-topbar__social a {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-topbar__social a:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
  transform: translateY(-1px);
}

.site-topbar__social a i {
  font-size: 0.82rem;
}

.site-nav-mobile-topbar {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.site-nav-mobile-group {
  border-bottom: 1px solid var(--border);
}

.site-nav-mobile-group__toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.7rem 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.site-nav-mobile-group__toggle::-webkit-details-marker {
  display: none;
}

.site-nav-mobile-group__toggle::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.site-nav-mobile-group[open] .site-nav-mobile-group__toggle::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.site-nav-mobile-topbar__label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav-mobile-topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.75rem;
}

.site-nav-mobile-topbar__links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.site-nav-mobile-topbar__links a:hover {
  color: var(--brand-accent);
}

.site-nav-mobile-topbar__social {
  display: flex;
  gap: 0.45rem;
}

.site-nav-mobile-topbar__social a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--brand-primary);
  text-decoration: none;
}

.site-nav-mobile-topbar__social a:hover {
  background: var(--brand-primary);
  color: #fff;
}

#mainNav {
  background: rgba(255, 255, 255, 0.98) !important;
  width: 100%;
  box-shadow: 0 4px 18px rgba(23, 48, 88, 0.06);
}

.site-header.is-scrolled #mainNav {
  box-shadow: 0 8px 24px rgba(23, 48, 88, 0.1);
}

#mainNav > .container-fluid {
  width: 100%;
  max-width: 100%;
}

#mainNav .navbar-brand .brand-text {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--brand-primary) !important;
}

#mainNav .navbar-brand .brand-text small {
  font-size: 0.7rem !important;
  color: var(--brand-primary) !important;
  opacity: 0.8;
}

#mainNav .nav-link {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary) !important;
  opacity: 1 !important;
  padding: 0.62rem 0.5rem !important;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
  color: var(--brand-accent) !important;
}

#mainNav .nav-link.active,
#mainNav .nav-item.dropdown.active > .nav-link {
  color: #fff !important;
  background: var(--brand-accent);
  border-radius: 999px;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
  box-shadow: 0 6px 14px rgba(170, 34, 46, 0.28);
}

#mainNav .nav-link.active:hover,
#mainNav .nav-link.active:focus,
#mainNav .nav-item.dropdown.active > .nav-link:hover {
  color: #fff !important;
}

#mainNav .btn.btn-brand {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
}

/* Programs tabbed layout */
.program-modern-wrap {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.program-intro-strip {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: #f8fbff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.program-intro-strip p {
  color: var(--brand-primary);
}

.program-intro-strip small {
  color: var(--text-muted);
}

.program-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.program-chip-row span {
  border: 1px solid rgba(23, 48, 88, 0.18);
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  background: #ffffff;
}

.program-tabs-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.program-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8fbff;
}

.program-tabs .nav-link {
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--brand-primary) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 0.95rem;
  background: transparent;
}

.program-tabs .nav-link.active {
  background: var(--brand-primary);
  color: #fff !important;
  border-color: var(--brand-primary);
}

.program-tab-content {
  margin-top: 0.8rem;
}

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

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-accent);
}

.program-card p {
  margin-bottom: 0;
}

.program-card:hover .program-icon {
  transform: scale(1.06);
}

.program-icon {
  transition: transform 0.25s ease;
}

/* About story */
#about.about-story-section {
  position: relative;
  overflow: hidden;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  background:
    linear-gradient(105deg, #f7f8fb 0%, #eef1f6 42%, #f5f6f9 100%);
}

#about.about-story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 14px,
      rgba(23, 48, 88, 0.025) 14px,
      rgba(23, 48, 88, 0.025) 15px
    );
  pointer-events: none;
}

#about .about-story {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
}

#about .about-story__head {
  text-align: center;
  margin: 0;
}

#about .about-story__heading {
  font-family: inherit;
  font-size: clamp(1.35rem, 1.2vw + 0.9rem, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  line-height: 1.2;
  margin: 0;
}

#about .about-story__visual {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  width: 100%;
}

#about .about-story__visual--mosaic {
  grid-template-columns: 1fr;
}

#about .about-story__photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 88, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(23, 48, 88, 0.4);
  padding: 0.45rem;
}

#about .about-story__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(23, 48, 88, 0.1);
}

#about .about-story__film {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

#about .about-story__frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 48, 88, 0.18);
  border-radius: 16px;
  background: #fff;
  padding: 0.35rem;
  box-shadow: 0 10px 22px -14px rgba(10, 24, 48, 0.45);
}

#about .about-story__frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(23, 48, 88, 0.1);
}

#about .about-story__copy {
  min-width: 0;
  width: 100%;
  max-width: none;
}

#about .about-story__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand-accent);
  margin-bottom: 0.75rem;
}

#about .about-story__title {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: clamp(1.65rem, 1.5vw + 1rem, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--brand-accent);
  overflow-wrap: anywhere;
  max-width: none;
}

#about .about-story__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  max-width: none;
}

#about .about-story__desc > *:first-child {
  margin-top: 0;
}

#about .about-story__desc > *:last-child {
  margin-bottom: 0;
}

#about .about-story__desc p {
  margin: 0 0 0.75rem;
}

#about .about-story__desc p:empty {
  display: none;
}

#about .about-story__desc h1,
#about .about-story__desc h2,
#about .about-story__desc h3,
#about .about-story__desc h4,
#about .about-story__desc h5,
#about .about-story__desc h6 {
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0.85rem 0 0.45rem;
}

#about .about-story__desc h1:first-child,
#about .about-story__desc h2:first-child,
#about .about-story__desc h3:first-child,
#about .about-story__desc h4:first-child,
#about .about-story__desc h5:first-child,
#about .about-story__desc h6:first-child {
  margin-top: 0;
}

#about .about-story__desc ul,
#about .about-story__desc ol {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

#about .about-story__desc a {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#about .about-story__desc strong,
#about .about-story__desc b {
  color: var(--brand-primary);
  font-weight: 700;
}

#about .about-story__link {
  margin-top: 1rem;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-primary);
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 0.2rem;
  transition: color 0.25s ease, gap 0.25s ease;
}

#about .about-story__link i {
  font-size: 0.95rem;
  transition: transform 0.28s ease;
}

#about .about-story__link:hover {
  color: var(--brand-accent);
  gap: 0.9rem;
}

#about .about-story__link:hover i {
  transform: translate(2px, -2px);
}

@keyframes about-story-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #about .about-story__visual {
    animation: about-story-in 0.65s ease both;
  }

  #about .about-story__copy {
    animation: about-story-in 0.7s 0.08s ease both;
  }
}

@media (max-width: 991.98px) {
  #about .about-story {
    gap: 1.35rem;
    min-width: 0;
    max-width: 100%;
  }

  #about .about-story__copy,
  #about .about-story__visual,
  #about .about-story__desc {
    min-width: 0;
    max-width: 100%;
  }

  #about .about-story__title {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    max-width: 100%;
  }

  #about .about-story__photo img,
  #about .about-story__frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}

@media (max-width: 575.98px) {
  #about.about-story-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .program-intro-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .program-chip-row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  #about .about-story__visual,
  #about .about-story__copy,
  #about .about-story__link,
  #about .about-story__link i {
    animation: none !important;
    transition: none !important;
  }
}

/* Programs creative redesign */
#programs .program-creative-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

#programs .program-feature {
  grid-column: span 6;
  border-radius: 16px;
  padding: 1rem;
  background: var(--brand-primary);
  color: #fff;
}

#programs .program-feature-label {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9e6ff;
  font-weight: 700;
}

#programs .program-feature h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #fff;
}

#programs .program-feature p {
  margin: 0.8rem 0 0;
  color: #e7efff;
}

#programs .program-feature-chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#programs .program-feature-chips span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 600;
}

#programs .program-neo-card {
  grid-column: span 3;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

#programs .program-neo-card span {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 0.45rem;
}

#programs .program-neo-card h4 {
  margin: 0;
  font-size: 1.04rem;
  color: var(--brand-primary);
}

#programs .program-neo-card p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

#programs .program-neo-highlight {
  grid-column: span 6;
  border-radius: 14px;
  border: 1px solid #d9e2ef;
  background: #f8fbff;
  padding: 0.9rem;
}

#programs .program-neo-highlight strong {
  color: var(--brand-primary);
}

#programs .program-neo-highlight p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  #programs .program-feature,
  #programs .program-neo-highlight {
    grid-column: span 12;
  }

  #programs .program-neo-card {
    grid-column: span 6;
  }
}

@media (max-width: 575.98px) {
  #programs .program-neo-card {
    grid-column: span 12;
  }

  #programs .program-feature h3 {
    font-size: 1.25rem;
  }
}

/* Programs tabs v3 */
#programs .program-v3-wrap {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

#programs .program-v3-head {
  margin-bottom: 0.7rem;
  color: var(--brand-primary);
}

#programs .program-v3-head small {
  color: var(--text-muted);
}

#programs .program-v3-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem;
  background: #f8fbff;
}

#programs .program-v3-tabs .nav-link {
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--brand-primary) !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.52rem 0.92rem;
}

#programs .program-v3-tabs .nav-link.active {
  background: var(--brand-primary);
  color: #fff !important;
}

#programs .program-v3-content {
  margin-top: 0.85rem;
}

#programs .program-v3-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.75rem;
}

#programs .program-v3-feature {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 0.95rem;
  grid-row: span 2;
}

#programs .program-v3-feature span {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  font-weight: 700;
}

#programs .program-v3-feature h3 {
  color: var(--brand-primary);
  margin: 0;
  font-size: 1.28rem;
}

#programs .program-v3-feature p {
  margin: 0.5rem 0 0.7rem;
  color: var(--text-muted);
}

#programs .program-v3-feature ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--brand-primary);
}

#programs .program-v3-side {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fbff;
  padding: 0.85rem;
}

#programs .program-v3-side h4 {
  margin: 0;
  color: var(--brand-primary);
  font-size: 1rem;
}

#programs .program-v3-side p {
  margin: 0.38rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  #programs .program-v3-grid {
    grid-template-columns: 1fr;
  }

  #programs .program-v3-feature {
    grid-row: auto;
  }
}

/* Programs redesign override: cleaner tabs, no card look */
#programs .program-v3-wrap {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

#programs .program-v3-head {
  text-align: center;
  margin-bottom: 1rem;
}

#programs .program-v3-head p {
  color: var(--brand-primary);
}

#programs .program-v3-tabs {
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 0.2rem;
  justify-content: center;
}

#programs .program-v3-tabs .nav-link {
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.68rem 1rem;
}

#programs .program-v3-tabs .nav-link.active {
  background: transparent !important;
  color: var(--brand-accent) !important;
  border-bottom-color: var(--brand-accent) !important;
}

#programs .program-v3-content {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

#programs .program-v3-grid {
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
}

#programs .program-v3-feature {
  border: none !important;
  background: transparent !important;
  padding: 0.15rem !important;
}

#programs .program-v3-feature span {
  color: var(--brand-accent);
}

#programs .program-v3-feature h3 {
  font-size: 1.55rem;
}

#programs .program-v3-feature ul {
  margin-top: 0.8rem;
}

#programs .program-v3-side {
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.35rem 0.2rem 0.75rem;
}

#programs .program-v3-side:last-child {
  border-bottom: none !important;
}

/* Programs final: only icon + name */
#programs .program-v3-head {
  margin-bottom: 0.7rem;
}

#programs .program-v3-tabs {
  gap: 0.35rem;
  border-bottom: 2px solid var(--border) !important;
}

#programs .program-v3-tabs .nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: #4e5f7a !important;
}

#programs .program-v3-tabs .nav-link.active {
  color: var(--brand-primary) !important;
  border-bottom-color: var(--brand-primary) !important;
}

#programs .program-v3-content {
  border: none !important;
  background: transparent !important;
  padding: 0.75rem 0 0 !important;
}

#programs .program-v4-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

#programs .program-v4-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 0.55rem;
}

#programs .program-v4-item i {
  font-size: 1.6rem;
  color: var(--brand-accent);
  margin-bottom: 0.45rem;
}

#programs .program-v4-item h4 {
  margin: 0;
  font-size: 0.96rem;
  color: var(--brand-primary);
}

@media (max-width: 991.98px) {
  #programs .program-v4-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  #programs .program-v3-tabs .nav-link {
    font-size: 0.84rem;
  }

  #programs .program-v4-grid {
    grid-template-columns: 1fr;
  }
}

#programs .program-v5-tab-label--short {
  display: none;
}

/* Programs v5 clean redesign */
#programs .program-v5-wrap {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

#programs .program-v5-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fbff;
  padding: 0.28rem;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

#programs .program-v5-tabs .nav-link {
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--brand-primary) !important;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.56rem 1rem;
}

#programs .program-v5-tabs .nav-link.active {
  background: var(--brand-primary) !important;
  color: #fff !important;
  border-color: var(--brand-primary) !important;
}

#programs .program-v5-content {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 0.55rem;
}

/* Domain → Institute → Program split (governance-style, site-native) */
#programs .program-v5-level__label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

#programs .program-v5-level--domain {
  margin-bottom: 0.85rem;
}

#programs .program-v5-level--domain .program-v5-level__label {
  text-align: center;
}

#programs .program-v5-split {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

#programs .program-v5-institutes {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fbff;
  position: sticky;
  top: calc(var(--site-nav-height, 76px) + 1rem);
}

#programs .program-v5-institute-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: min(420px, 55vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

#programs .program-v5-institute-nav__btn {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--brand-primary);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#programs .program-v5-institute-nav__btn:hover {
  background: #fff;
  border-color: rgba(23, 48, 88, 0.1);
}

#programs .program-v5-institute-nav__btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 48, 88, 0.18);
}

#programs .program-v5-institute-nav__mark {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(170, 34, 46, 0.1);
  color: var(--brand-accent);
  font-size: 0.85rem;
}

#programs .program-v5-institute-nav__btn.active .program-v5-institute-nav__mark {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

#programs .program-v5-institute-nav__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

#programs .program-v5-institute-nav__short {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  opacity: 0.85;
}

#programs .program-v5-institute-nav__name {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

#programs .program-v5-programs {
  padding: 0.95rem 1rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  min-height: 280px;
}

#programs .program-v5-programs__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

#programs .program-v5-programs__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
  color: var(--brand-primary);
}

#programs .program-v5-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#programs .program-v5-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

#programs .program-v5-list li:last-child {
  border-bottom: none;
}

#programs .program-v5-list i {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(170, 34, 46, 0.12);
  color: var(--brand-accent);
  font-size: 2rem;
}

#programs .program-v5-list span {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1rem;
}

#programs .program-v5-list__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

#programs .program-v5-list__short {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

#programs .program-v5-list__full {
  color: rgba(23, 58, 117, 0.68);
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.35;
}

#programs .program-v5-list-note--specs {
  align-items: flex-start;
}

#programs .program-v5-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

#programs .program-v5-spec-list li {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.2rem 0;
  border-bottom: none;
}

#programs .program-v5-spec-list li + li {
  margin-top: 0.15rem;
}

@media (max-width: 991.98px) {
  #programs .program-v5-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    min-width: 0;
    max-width: 100%;
  }

  #programs .program-v5-institutes,
  #programs .program-v5-programs {
    min-width: 0;
    max-width: 100%;
  }

  #programs .program-v5-institutes {
    position: static;
    padding: 0.75rem;
  }

  #programs .program-v5-institute-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
    scroll-snap-type: x mandatory;
  }

  #programs .program-v5-institute-nav__btn {
    flex: 0 0 calc(100% - 4.75rem);
    width: calc(100% - 4.75rem);
    max-width: calc(100% - 4.75rem);
    align-items: center;
    scroll-snap-align: start;
  }

  #programs .program-v5-institute-nav:has(> :only-child) .program-v5-institute-nav__btn {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  #programs .program-v5-institute-nav__name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: none;
    overflow-wrap: anywhere;
  }

  #programs .program-v5-programs,
  #programs .program-v5-programs__title,
  #programs .program-v5-list,
  #programs .program-v5-list a,
  #programs .program-v5-list__text,
  #programs .program-v5-list__short,
  #programs .program-v5-list__full {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  #programs .program-v5-programs__title {
    font-size: 0.98rem;
    line-height: 1.35;
  }
}

.program-category-spec-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.program-category-spec {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.35rem 0.25rem;
}

.program-category-spec + .program-category-spec {
  margin-top: 0.15rem;
}

.program-category-spec__short {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 0.92rem;
}

.program-category-spec__full {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(23, 58, 117, 0.68);
  line-height: 1.35;
}

.program-category-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--brand-primary);
  font-size: 1.35rem;
  margin: 0;
}

.program-category-title__short {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(23, 58, 117, 0.62);
}

.program-card__title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.program-card__short {
  font-size: 1.05rem;
  line-height: 1.25;
}

.program-card__full {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(23, 58, 117, 0.68);
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  #programs .program-v5-tabs {
    gap: 0.35rem;
  }

  #programs .program-v5-tabs .nav-link {
    white-space: nowrap;
  }
}

/* Programs final alignment update */
@media (min-width: 992px) {
  #programs .program-v5-tabs {
    justify-content: center !important;
  }

  .program-v5-tabs-shell::before,
  .program-v5-tabs-shell::after {
    display: none;
  }
}

.program-v5-tabs-shell {
  position: relative;
  margin-bottom: 0.85rem;
}

.program-v5-tabs-slider {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.75rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

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

.program-v5-tabs-shell.is-scrollable::before,
.program-v5-tabs-shell.is-scrollable::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2rem;
  z-index: 2;
  pointer-events: none;
}

.program-v5-tabs-shell.is-scrollable::before {
  left: 0;
  background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0));
}

.program-v5-tabs-shell.is-scrollable::after {
  right: 0;
  background: linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0));
}

@media (max-width: 991.98px) {
  .program-v5-tabs-shell.is-scrollable::before,
  .program-v5-tabs-shell.is-scrollable::after {
    width: 1.25rem;
  }

  .program-v5-tabs-shell.is-at-start::before {
    opacity: 0;
    visibility: hidden;
  }

  .program-v5-tabs-shell.is-at-end::after {
    opacity: 0;
    visibility: hidden;
  }
}

#programs .program-v5-content {
  border: none !important;
  padding: 0.4rem 0 0 !important;
  background: transparent !important;
}

#programs .program-v5-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  justify-content: start;
  justify-items: stretch;
}

#programs .program-v5-list li {
  border: 1px solid var(--border) !important;
  border-radius: 14px;
  background: #fff;
  min-height: 118px;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0.7rem 0.5rem !important;
}

#programs .program-v5-list i {
  margin-bottom: 0.35rem;
}

@media (max-width: 767.98px) {
  #programs .program-v5-list {
    grid-template-columns: 1fr;
  }
}

/* Events left side date rows */
.event-date-list {
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem;
}

.event-date-row {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
}

.event-date-row .date-pill {
  min-width: 74px;
  text-align: center;
  border-radius: 999px;
  padding: 0.28rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-primary);
}

.event-date-row.category-open-house .date-pill { background: var(--cat-open-house); }
.event-date-row.category-innovation .date-pill { background: var(--cat-innovation); }
.event-date-row.category-media .date-pill { background: var(--cat-media); }
.event-date-row.category-placement .date-pill { background: var(--cat-placement); }
.event-date-row.category-general .date-pill { background: var(--brand-primary); }

.event-date-row .event-row-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.event-date-row.is-active {
  border-color: var(--brand-primary);
  box-shadow: 0 6px 16px rgba(23, 48, 88, 0.14);
}

/* Final pending fixes */
.section-label {
  font-size: clamp(1.75rem, 2vw + 0.9rem, 2.0rem) !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.08em !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

p {
  color: #2b3f60;
  line-height: 1.75;
}

.hero p,
.pd-hero p,
.page-hero p,
.pd-career-panel--accent p,
.brochure-card p,
.campus-cta-band p,
.careers-cta-band p,
.placement-cta-band p,
.contact-help-band p,
.psd-cta p,
.footer p {
  line-height: inherit;
}

.campus-cta-band p,
.careers-cta-band p,
.careers-cta-band__text,
.placement-cta-band p,
.contact-help-band p,
.psd-cta p {
  color: #fff !important;
}

#about .about-mini-grid {
  display: none !important;
}

.events-equal > .col-lg-5,
.events-equal > .col-lg-7 {
  display: flex;
}

.events-equal .calendar-card,
.events-equal .event-showcase {
  width: 100%;
  height: 100%;
}

.program-cta-banner {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.program-cta-banner h2 {
  margin: 0;
  color: var(--brand-primary);
  font-size: 1.4rem;
}

.chatbot-toggle {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 1030;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 12px 24px rgba(23, 48, 88, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-toggle:hover,
.chatbot-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 48, 88, 0.38);
  outline: none;
}

.chatbot-panel {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 120px));
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1030;
}

.chatbot-panel.open {
  display: flex;
}

.chatbot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--brand-primary);
  color: #fff;
}

.chatbot-head__title {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chatbot-head__title strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.chatbot-head__title span {
  font-size: 0.72rem;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chatbot-head__actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.chatbot-icon-btn {
  border: none;
  background: transparent;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chatbot-icon-btn:hover,
.chatbot-icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  background: #f6f8fb;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chatbot-msg {
  display: flex;
  flex-direction: column;
  max-width: 92%;
}

.chatbot-msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.chatbot-msg--assistant,
.chatbot-msg--system {
  align-self: flex-start;
  align-items: flex-start;
}

.chatbot-bubble {
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chatbot-msg--assistant .chatbot-bubble {
  background: #fff;
  color: #1d2a44;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chatbot-msg--user .chatbot-bubble {
  background: var(--brand-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-bubble--error {
  background: #fff5f5;
  color: #8a1f28;
  border: 1px solid #f0c7cb;
}

.chatbot-retry {
  border: none;
  background: transparent;
  color: var(--brand-accent);
  font-weight: 700;
  padding: 0;
  margin-left: 0.25rem;
  cursor: pointer;
  text-decoration: underline;
}

.chatbot-bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 52px;
}

.chatbot-bubble--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 0.35;
  animation: chatbot-dot 1.2s infinite ease-in-out;
}

.chatbot-bubble--typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chatbot-bubble--typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chatbot-dot {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chatbot-bubble--streaming::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: currentColor;
  opacity: 0.7;
  animation: chatbot-cursor 0.75s step-end infinite;
}

@keyframes chatbot-cursor {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0;
  }
}

.chatbot-sources {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.45rem;
}

.chatbot-sources__label {
  margin: 0;
  padding: 0 0.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7a90;
}

.chatbot-sources__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.chatbot-sources__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-primary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.chatbot-sources__item-title {
  min-width: 0;
  flex: 1;
}

.chatbot-sources__item-icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--brand-accent);
  opacity: 0.85;
}

.chatbot-sources__item:hover,
.chatbot-sources__item:focus-visible {
  border-color: rgba(170, 34, 46, 0.35);
  background: #fff8f8;
  color: var(--brand-accent);
  outline: none;
}

.chatbot-sources__item:hover .chatbot-sources__item-icon,
.chatbot-sources__item:focus-visible .chatbot-sources__item-icon {
  opacity: 1;
}

.chatbot-sources__item--static {
  cursor: default;
  color: #5a6a82;
  font-weight: 500;
}

.chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.chatbot-chip {
  border: 1px solid rgba(23, 48, 88, 0.18);
  background: #fff;
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.chatbot-chip:hover,
.chatbot-chip:focus-visible {
  border-color: var(--brand-primary);
  background: rgba(23, 48, 88, 0.05);
  outline: none;
}

.chatbot-composer {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.chatbot-composer textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  line-height: 1.35;
  max-height: 96px;
  min-height: 40px;
  font-family: inherit;
  color: #1d2a44;
}

.chatbot-composer textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(23, 48, 88, 0.12);
}

.chatbot-send {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--brand-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.chatbot-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chatbot-send:not(:disabled):hover,
.chatbot-send:not(:disabled):focus-visible {
  background: #122442;
  outline: none;
}

.floating-side-actions {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.floating-side-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--white);
  border-radius: 14px 0 0 14px;
  padding: 0.76rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(23, 48, 88, 0.22);
}

.floating-side-btn i {
  font-size: 0.98rem;
}

.floating-side-actions .floating-admission {
  position: static;
  right: auto;
  bottom: auto;
  background: var(--brand-accent);
}

.floating-side-actions .floating-admission:hover {
  color: var(--white);
  background: #8f1b26;
}

.floating-program {
  background: var(--brand-primary);
}

.floating-program:hover {
  color: var(--white);
  background: #102342;
}

@media (max-width: 575.98px) {
  .program-cta-banner {
    justify-content: center;
    text-align: center;
  }

  .floating-side-btn {
    font-size: 0.8rem;
    padding: 0.64rem 0.82rem;
  }
}

/* Global typography refresh */
:root {
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
}

body,
button,
input,
select,
textarea,
.nav-link,
.btn,
p,
small,
span,
li,
a {
  font-family: var(--font-body) !important;
}

.bi,
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  font-family: bootstrap-icons !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title,
.life-banner-overlay h2,
.program-v3-feature h3,
.infra-hero-overlay h3 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
}

/* Programs pages / inner page heroes — match admin 21:9 crop */
.page-hero,
.program-detail-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0;
  overflow: hidden;
  box-sizing: border-box;
}

body:not([data-page="home"]) .page-hero,
body:not([data-page="home"]) .page-hero--campus {
  aspect-ratio: 21 / 9;
  height: auto;
  min-height: 280px;
  max-height: 480px;
  padding: 2.5rem 0;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Soft black left scrim only — no blue tint */
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.12) 68%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  filter:
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.95))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.page-hero-title {
  color: #fff;
  font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
  margin-bottom: 0.75rem;
  max-width: 820px;
  font-weight: 800;
  text-shadow:
    0 0 2px #000,
    0 0 6px rgba(0, 0, 0, 0.95),
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.85);
  -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.65);
  paint-order: stroke fill;
}

.page-hero-lead {
  color: #fff !important;
  max-width: 640px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow:
    0 0 2px #000,
    0 0 6px rgba(0, 0, 0, 0.95),
    0 2px 6px rgba(0, 0, 0, 0.9),
    0 4px 12px rgba(0, 0, 0, 0.75);
}

.text-white-opacity.section-label {
  color: #fff !important;
  font-weight: 700;
  text-shadow:
    0 0 2px #000,
    0 0 6px rgba(0, 0, 0, 0.95),
    0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Keep hero kickers small — global .section-label is a display heading */
.page-hero .section-label,
.page-hero .text-white-opacity.section-label,
.hero .section-label {
  font-size: 0.72rem !important;
  font-family: var(--font-sans, inherit) !important;
  letter-spacing: 0.22em !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.4rem;
}

.page-breadcrumb .breadcrumb-item a,
.page-breadcrumb .breadcrumb-item.active {
  color: #fff;
  text-shadow:
    0 0 2px #000,
    0 1px 3px rgba(0, 0, 0, 0.9);
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.page-hero-content .btn-outline-light,
.page-hero-content .btn-outline-brand {
  background: rgba(0, 0, 0, 0.55) !important;
  border-color: #fff !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.program-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.program-hero-meta {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.program-subnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 1010;
  top: var(--site-nav-height, 76px);
}

.program-subnav-list {
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
}

.program-subnav-list a {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  color: var(--brand-primary);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.program-subnav-list a:hover {
  border-color: var(--border);
  background: var(--bg-soft);
  color: var(--brand-accent);
}

/* Nav dropdowns — hover on desktop, click on mobile */
.nav-mega.position-static {
  position: static !important;
}

@media (min-width: 992px) {
  .nav-mega,
  .nav-life-dropdown {
    position: relative;
  }
}

.nav-mega .dropdown-menu.mega-menu,
.nav-mega .dropdown-menu.mega-menu.show {
  width: 100%;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  margin-top: 0 !important;
  transform: none !important;
  z-index: 1025;
  padding: 0;
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--border);
  box-shadow: 0 18px 40px -22px rgba(23, 48, 88, 0.28);
  background: #fff;
}

/* Life at SVGU — compact panel (not full-width) */
.life-mega-menu--panel {
  width: min(300px, calc(100vw - 2rem));
  padding: 0.85rem 0.95rem;
  margin-top: 0 !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px -16px rgba(23, 48, 88, 0.28);
  background: #fff;
}

.life-mega-panel__block + .life-mega-panel__block {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.life-mega-panel__label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-primary);
}

.life-mega-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.life-mega-panel__list a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #4a5d75;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.life-mega-panel__list a:hover,
.life-mega-panel__list a:focus {
  color: var(--brand-accent);
  background: rgba(23, 58, 117, 0.06);
}

.life-mega-panel__list a.active {
  color: var(--brand-accent);
  font-weight: 700;
  background: rgba(170, 34, 46, 0.08);
}

.student-corner-links .student-corner-link--group {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.student-corner-link__group-label {
  display: block;
  padding: 0.35rem 0.5rem 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.student-corner-link__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.35rem;
}

.student-corner-link__sublist a {
  display: block;
  padding: 0.32rem 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: #4a5d75;
  font-size: 0.84rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.student-corner-link__sublist a:hover,
.student-corner-link__sublist a:focus {
  color: var(--brand-accent);
  background: rgba(23, 58, 117, 0.06);
}

.nav-student-dropdown .life-mega-menu--panel {
  width: min(320px, calc(100vw - 2rem));
}

.mega-menu__list-note {
  display: block;
  padding: 0.35rem 0.5rem 0.35rem 1.1rem;
  font-size: 0.86rem;
  color: #5a6d85;
  font-weight: 500;
}

.program-v5-list-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  color: #5a6d85;
  font-size: 0.92rem;
  font-weight: 500;
}

.program-category-note {
  color: #5a6d85;
  font-size: 0.9rem;
  font-weight: 500;
  padding-left: 0.25rem;
}

.mega-menu__list a.active {
  color: var(--brand-accent);
  font-weight: 700;
  background: rgba(170, 34, 46, 0.08);
}

.mega-menu__inner {
  padding: 1.35rem 0 1.5rem;
}

.mega-menu__group + .mega-menu__group {
  margin-top: 1.25rem;
}

.mega-menu__title {
  margin: 0 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(23, 58, 117, 0.12);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  line-height: 1.3;
}

.mega-menu__title-short {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(23, 58, 117, 0.62);
  text-transform: none;
}


.mega-menu__list a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: #4a5d75;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.mega-menu__program-short {
  font-weight: 700;
  color: var(--brand-primary);
}

.mega-menu__program-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(23, 58, 117, 0.88);
  line-height: 1.35;
}

.mega-menu__program-full {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(23, 58, 117, 0.62);
  line-height: 1.35;
}

.mega-menu__spec-list {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0;
}

.mega-menu__spec-list li {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.35rem 0.55rem;
}

.mega-menu__spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.42rem 0.55rem;
}

.mega-menu__spec-list li + li {
  margin-top: 0.1rem;
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mega-menu__list li {
  break-inside: avoid;
  page-break-inside: avoid;
}

.mega-menu__list li + li {
  margin-top: 0;
}

.mega-menu__list a:hover,
.mega-menu__list a:focus {
  color: var(--brand-accent);
  background: rgba(23, 58, 117, 0.06);
}

.mega-menu__cta {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.mega-menu__cta p {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.programs-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.programs-mega__column {
  min-width: 0;
}

.programs-mega__stack {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  min-width: 0;
}

.programs-mega__footer {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.programs-mega__footer .mega-menu__cta {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.programs-mega__footer .mega-menu__cta p {
  margin: 0;
  flex: 1 1 12rem;
}

.mega-menu__category-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.mega-menu__category-mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  border-radius: 8px;
  background: rgba(170, 34, 46, 0.1);
  color: var(--brand-accent);
  font-size: 0.75rem;
  font-weight: 800;
}

.mega-menu__category-mark i {
  font-size: 0.85rem;
  line-height: 1;
}

.mega-menu__cta p strong,
.mega-menu__cta p span {
  display: block;
}

.mega-menu__cta p strong {
  color: var(--brand-primary);
  font-size: 0.86rem;
}

.mega-menu__cta p span {
  margin-top: 0.08rem;
  font-size: 0.76rem;
}

.mega-menu__cta-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Academics mega menu — compact desktop (no scrollbar) */
@media (min-width: 992px) {
  .nav-mega .dropdown-menu.mega-menu,
  .nav-mega .dropdown-menu.mega-menu.show {
    overflow: visible;
    max-height: none;
    z-index: 1045;
  }

  .programs-mega-menu .mega-menu__inner {
    padding: 0.85rem 0 0.9rem;
  }

  .programs-mega-menu .mega-menu__inner > .container {
    max-width: 1240px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .programs-mega-menu .mega-menu__title {
    margin-bottom: 0.35rem;
    padding-bottom: 0.3rem;
    font-size: 0.76rem;
  }

  .programs-mega-menu .mega-menu__list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    padding: 0.32rem 0.45rem;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .programs-mega-menu .mega-menu__list li + li {
    margin-top: 0;
  }

  .programs-mega-menu .mega-menu__program-full {
    display: block;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .programs-mega-menu .mega-menu__program-name {
    display: block;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .programs-mega-menu .mega-menu__program-short {
    font-size: 0.8rem;
    font-weight: 700;
  }

  .programs-mega-menu .mega-menu__list-item--spec a,
  .programs-mega-menu .mega-menu__list-item--spec .mega-menu__spec-item {
    padding: 0.24rem 0.45rem 0.24rem 0.65rem;
  }

  .programs-mega-menu .mega-menu__list-item--spec .mega-menu__program-short {
    font-size: 0.76rem;
    font-weight: 600;
  }

  .programs-mega-menu .mega-menu__list-item--spec .mega-menu__program-full {
    font-size: 0.72rem;
  }

  .programs-mega-menu .programs-mega__footer {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
  }

  .programs-mega-menu .programs-mega__footer .mega-menu__cta {
    padding: 0.55rem 0.75rem;
    gap: 0.5rem 0.85rem;
  }

  .programs-mega-menu .programs-mega__footer .mega-menu__cta p {
    font-size: 0.84rem;
  }

  .programs-mega-menu .programs-mega__footer .btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
  }

  .programs-mega-menu {
    border-bottom: 3px solid var(--brand-accent) !important;
  }

  .programs-mega-menu .mega-menu__inner {
    max-width: 1180px;
    padding: 1rem 1rem 0.9rem;
  }

  .programs-mega-menu .programs-mega__grid {
    gap: 0.8rem;
  }

  .programs-mega-menu .programs-mega__column {
    padding: 0.75rem;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    background: #fafbfd;
  }

  .programs-mega-menu .mega-menu__title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0.72rem;
    letter-spacing: 0.055em;
  }

  .programs-mega-menu .mega-menu__list {
    gap: 0.08rem;
  }

  .programs-mega-menu .mega-menu__list a {
    position: relative;
    padding: 0.32rem 0.4rem;
    border-radius: 7px;
  }

  .programs-mega-menu .mega-menu__list a::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 0.35rem;
    font-size: 0.75rem;
    color: var(--brand-accent);
    opacity: 0;
    transform: translate(-4px, -50%);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .programs-mega-menu .mega-menu__list a:hover,
  .programs-mega-menu .mega-menu__list a:focus {
    padding-right: 1.25rem;
    background: #fff;
    box-shadow: 0 3px 12px rgba(23, 48, 88, 0.07);
  }

  .programs-mega-menu .mega-menu__list a:hover::after,
  .programs-mega-menu .mega-menu__list a:focus::after {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .programs-mega-menu .mega-menu__program-short {
    font-size: 0.78rem;
  }

  .programs-mega-menu .mega-menu__program-name {
    max-width: 95%;
    font-size: 0.72rem;
  }

  .programs-mega-menu .mega-menu__program-full {
    max-width: 95%;
    font-size: 0.69rem;
    color: #718096;
  }

  .programs-mega-menu .programs-mega__footer {
    margin-top: 0.8rem;
    padding-top: 0;
    border-top: 0;
  }

  .programs-mega-menu .programs-mega__footer .mega-menu__cta {
    padding: 0.65rem 0.8rem;
    border-color: #e3e8ef;
    border-radius: 10px;
    background: linear-gradient(90deg, #f7f9fc 0%, #fff 100%);
  }

  body:has(.nav-mega .dropdown-menu.mega-menu.show) .floating-side-actions {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}

@media (min-width: 992px) {
  .nav-dropdown-hover:hover > .dropdown-menu,
  .nav-dropdown-hover > .dropdown-menu:hover {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-mega.nav-dropdown-hover:hover > .dropdown-toggle,
  .nav-life-dropdown.nav-dropdown-hover:hover > .dropdown-toggle,
  .nav-mega .dropdown-toggle.show,
  .nav-life-dropdown .dropdown-toggle.show {
    color: var(--brand-accent) !important;
  }

  .nav-mega .dropdown-toggle::after,
  .nav-life-dropdown .dropdown-toggle::after {
    transition: transform 0.2s ease;
  }

  .nav-mega.nav-dropdown-hover:hover > .dropdown-toggle::after,
  .nav-life-dropdown.nav-dropdown-hover:hover > .dropdown-toggle::after,
  .nav-mega .dropdown-toggle.show::after,
  .nav-life-dropdown .dropdown-toggle.show::after {
    transform: rotate(180deg);
  }

  #mainNav .nav-life-dropdown {
    position: relative !important;
  }

  #mainNav .nav-life-dropdown > .dropdown-menu.life-mega-menu--panel {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    /* inset: auto !important; */
    margin-top: 0.35rem !important;
    float: none !important;
  }

  #mainNav .nav-life-dropdown > .dropdown-menu.life-mega-menu--panel.show,
  #mainNav .nav-life-dropdown.nav-dropdown-hover:hover > .dropdown-menu.life-mega-menu--panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Invisible bridge so cursor can reach the menu without closing */
  .nav-life-dropdown .dropdown-menu::before {
    content: "";
    display: block;
    height: 0.65rem;
    margin: -0.65rem 0 0;
  }

  .nav-mega .dropdown-menu.mega-menu::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -1.5rem;
    height: 1.5rem;
  }

  .nav-mega.nav-dropdown-hover > .dropdown-menu.mega-menu.show,
  .nav-mega.nav-dropdown-hover:hover > .dropdown-menu.mega-menu {
    pointer-events: auto;
  }
}

@media (max-width: 991.98px) {
  .nav-mega .dropdown-menu.mega-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border-top: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 0.35rem 0 0.85rem !important;
    padding: 0.65rem 0.85rem !important;
    background: var(--bg-soft);
  }

  .life-mega-menu--panel {
    width: 100%;
    margin-top: 0.35rem !important;
    margin-bottom: 0.65rem;
    box-shadow: none;
    background: var(--bg-soft);
  }

  .nav-mega .dropdown-toggle::after,
  .nav-life-dropdown .dropdown-toggle::after {
    float: right;
    margin-top: 0.35rem;
  }

  .mega-menu__inner {
    padding: 0.15rem 0 0.25rem;
  }

  .mega-menu__category-head {
    margin-bottom: 0.25rem;
  }

  .mega-menu__cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .mega-menu__group + .mega-menu__group {
    margin-top: 1.15rem;
  }

  .mega-menu__cta {
    margin-top: 1rem;
  }

  .programs-mega__grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .programs-mega__footer {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .programs-mega__footer .mega-menu__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

.program-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.program-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.program-category-count {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.program-category-block + .program-category-block {
  margin-top: 3rem;
}

.program-overview-title {
  margin: 0.35rem 0 0.75rem;
  color: var(--brand-primary);
  font-size: clamp(1.05rem, 1.5vw + 0.6rem, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.programs-section-head__title {
  margin: 0;
  color: var(--brand-primary);
  font-size: clamp(1.05rem, 1.5vw + 0.6rem, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.program-overview-points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.program-overview-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.program-overview-points i {
  color: var(--brand-accent);
}

.inquiry-form .form-label,
.brochure-card .form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.inquiry-form .form-control,
.inquiry-form .form-select,
.brochure-card .form-control {
  border-radius: 10px;
  border-color: var(--border);
}

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

.brochure-card h3 {
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.form-feedback {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.form-feedback.show {
  opacity: 1;
}

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

.quick-facts-card h3 {
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quick-facts-grid {
  display: grid;
  gap: 0.75rem;
}

.quick-fact-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: var(--bg-soft);
}

.quick-fact-item span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.quick-fact-item strong {
  display: block;
  color: var(--brand-primary);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}

.pd-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.pd-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pd-check-list i {
  color: var(--brand-accent);
  margin-top: 0.2rem;
}

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

.highlight-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.highlight-card h4 {
  color: var(--brand-primary);
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.92rem;
}

.program-accordion .accordion-button {
  font-weight: 700;
  color: var(--brand-primary);
}

.program-accordion .accordion-button:not(.collapsed) {
  background: var(--bg-soft);
  color: var(--brand-accent);
  box-shadow: none;
}

.curriculum-meta strong {
  color: var(--brand-primary);
}

.career-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.career-info-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1.1rem;
}

.career-info-card h4 {
  color: var(--brand-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.faculty-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.faculty-card--photo {
  text-align: center;
}

.faculty-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: block;
  background: rgba(170, 34, 46, 0.12);
  color: var(--brand-accent);
  font-size: 1.6rem;
  overflow: hidden;
}

.faculty-card--photo .faculty-avatar,
.faculty-carousel .faculty-avatar {
  width: 112px;
  height: 112px;
  background: #e8edf4;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(23, 48, 88, 0.12);
}

.faculty-avatar > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.faculty-avatar img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.faculty-card h4 {
  color: var(--brand-primary);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.faculty-role {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.faculty-meta {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin: 0;
}

/* Faculty tile grid — Academics & program detail */
.faculty-tiles__grid {
  overflow: visible;
}

.faculty-tiles__grid > [class*="col-"] {
  display: flex;
}

.faculty-card--tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.faculty-card-link:hover .faculty-card--tile,
.faculty-card--tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(23, 48, 88, 0.18);
}

.faculty-card__media {
  flex: 0 0 auto;
  background: linear-gradient(180deg, #eef2f8 0%, #f8fafc 100%);
  padding: 1.15rem 1.15rem 0;
  text-align: center;
}

.faculty-avatar--card {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(23, 48, 88, 0.12);
  overflow: hidden;
  flex: 0 0 auto;
  display: block;
}

.faculty-avatar--card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center 18%;
}

.faculty-avatar--placeholder {
  background: linear-gradient(145deg, #e8edf4 0%, #dce4ef 100%);
  color: var(--brand-accent);
}

.faculty-card__body {
  flex: 1;
  padding: 1rem 1.15rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.faculty-card--tile h4 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
  text-align: center;
  color: var(--brand-primary);
}

.faculty-card--tile .faculty-role {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
}

.faculty-card--tile .faculty-meta {
  text-align: left;
  line-height: 1.45;
  margin: 0;
  font-size: 0.8rem;
}

.faculty-card--tile .faculty-meta--qual {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.faculty-card--tile .faculty-meta strong {
  color: var(--brand-primary);
  font-weight: 700;
}

.faculty-card__footer {
  padding: 0.85rem 1.15rem 1.1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  text-align: center;
  background: #fafbfd;
}

.faculty-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.faculty-card-link:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
  border-radius: 14px;
}

.faculty-card-link .faculty-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-accent);
}

.faculty-card-link:hover .faculty-card-cta i {
  transform: translateX(3px);
}

.faculty-card-link .faculty-card-cta i {
  transition: transform 0.2s ease;
}

@media (max-width: 991.98px) {
  #facultyGrid,
  #pddFacultyGrid,
  .faculty-tiles__grid {
    --bs-gutter-x: 0.7rem;
    --bs-gutter-y: 0.7rem;
  }

  .faculty-card--tile .faculty-card__media {
    padding: 0.85rem 0.75rem 0;
  }

  .faculty-avatar--card {
    width: 88px;
    height: 88px;
  }

  .faculty-card__body {
    padding: 0.75rem 0.65rem 0.5rem;
  }

  .faculty-card--tile h4 {
    font-size: 0.84rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .faculty-card--tile .faculty-role {
    font-size: 0.72rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .faculty-card--tile .faculty-meta {
    display: none;
  }

  .faculty-card__footer {
    padding: 0.5rem 0.55rem 0.7rem;
  }

  .faculty-card-link .faculty-card-cta {
    font-size: 0.74rem;
  }
}

.infra-mini-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1.1rem;
}

.infra-mini-card h4 {
  color: var(--brand-primary);
  font-size: 1rem;
}

.life-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.life-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 0.88rem;
}

.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.achievement-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.achievement-list i {
  color: var(--brand-accent);
}

.pd-event-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.pd-event-item strong {
  color: var(--brand-primary);
}

.pd-event-item span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pd-gallery-img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.testimonial-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1.1rem;
  margin: 0;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial-card footer {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 0.88rem;
}

.admission-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.admission-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.step-num {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.date-cards-grid {
  display: grid;
  gap: 0.65rem;
}

.date-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  background: #fff;
}

.date-card span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.date-card strong {
  color: var(--brand-primary);
}

.program-final-cta {
  padding-top: 0;
}

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

.floating-inquiry-btn {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 1030;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 12px 24px rgba(170, 34, 46, 0.35);
}

.floating-inquiry-panel {
  position: fixed;
  right: 18px;
  bottom: 145px;
  width: 300px;
  max-width: calc(100vw - 36px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 0.85rem;
  z-index: 1030;
  display: none;
}

.floating-inquiry-panel.open {
  display: block;
}

.floating-inquiry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  color: var(--brand-primary);
}

.floating-inquiry-head button {
  border: none;
  background: transparent;
  color: var(--brand-primary);
}

#programs .program-v5-list a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0.15rem;
}

#programs .program-v5-list a::after {
  display: none;
}

#programs .program-v5-list li.is-current {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 8px 20px rgba(23, 48, 88, 0.12);
}

#programs .program-v5-list li.is-current a {
  pointer-events: none;
}

#programs .program-v5-list__text {
  align-items: center;
  text-align: center;
}

@media (max-width: 991.98px) {
  .program-subnav {
    top: 68px;
  }

  #programs .program-v5-list a::after {
    display: block;
    font-family: "bootstrap-icons";
    content: "\f285";
    position: absolute;
    right: 0.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-accent);
    font-size: 0.9rem;
    opacity: 0.65;
  }

  #programs .program-v5-list__text {
    align-items: flex-start;
    text-align: left;
    min-width: 0;
    max-width: 100%;
  }

  #programs .program-v5-list__short,
  #programs .program-v5-list__full {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 575.98px) {
  .page-hero,
  .program-detail-hero,
  body:not([data-page="home"]) .page-hero,
  body:not([data-page="home"]) .page-hero--campus {
    aspect-ratio: 21 / 9;
    height: auto;
    min-height: 180px;
    max-height: 280px;
    padding: 1.5rem 0;
  }

  .floating-inquiry-btn {
    bottom: 74px;
  }
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
}

/* Programs pages – layout polish */
.program-subnav {
  box-shadow: 0 4px 18px rgba(23, 48, 88, 0.08);
}

.program-subnav-list a.is-active {
  background: var(--brand-primary);
  color: #fff !important;
  border-color: var(--brand-primary);
}

.program-card.program-card-link {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card.program-card-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.program-card.program-card-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(23, 48, 88, 0.2);
}

.program-card.program-card-link:hover::before {
  opacity: 1;
}

.program-category-block {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--site-nav-height, 76px) + 24px);
}

.program-category-block + .program-category-block {
  margin-top: 1.5rem;
}

#programCategoryLists > .program-category-block:first-child {
  margin-top: 0;
}

.programs-inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 120px;
  }

  section[id] {
    scroll-margin-top: 120px;
  }

  .programs-inquiry-grid {
    grid-template-columns: 1fr;
  }
}

.pd-dynamic-zone:empty {
  min-height: 0;
}

.news-card img,
.pd-gallery-img {
  background: var(--bg-soft);
}

.site-logo {
  width: min(300px, 62vw);
  max-width: 100%;
  height: auto;
  display: block;
}

body[data-page]:not([data-page="home"]) .page-hero,
body[data-page]:not([data-page="home"]) .program-detail-hero {
  margin-top: 0;
}

.program-subnav {
  top: var(--site-nav-height, 76px);
}

body.has-sticky-subnav {
  scroll-padding-top: calc(var(--site-nav-height, 76px) + var(--site-subnav-height, 48px) + 20px);
}

.hero.hero--v2 {
  align-items: flex-end;
  padding-top: 6rem;
  padding-bottom: 2.75rem;
}

.hero--v2 .hero-content .row {
  align-items: flex-end;
}

.hero--v2 .hero-title {
  font-size: clamp(1.55rem, 2.2vw + 0.75rem, 2.35rem);
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.hero--v2 .hero-lead {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 1rem;
}

.hero--v2 .hero-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 28%,
    rgba(0, 0, 0, 0.08) 55%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
}

.hero--v2 .hero-mute-btn {
  left: auto;
  right: 1.25rem;
  bottom: 1.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 520px;
  border-top: none;
  padding-top: 0;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
}

.hero-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
  font-weight: 600;
}

.hero-bg-video {
  background: var(--brand-primary);
}

.hero-bg-video[data-loading="true"] {
  opacity: 0;
}

.hero-bg-video.is-ready {
  opacity: 1;
  transition: opacity 0.35s ease;
}

.hero-mute-btn {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.hero-mute-btn:hover {
  background: rgba(0, 0, 0, 0.72);
  border-color: #fff;
  transform: translateY(-1px);
}

.hero-mute-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-mute-btn i {
  font-size: 1.05rem;
}

.hero-mute-btn.is-unmuted {
  background: rgba(170, 34, 46, 0.88);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-mute-btn.needs-sound {
  background: rgba(170, 34, 46, 0.95);
  border-color: #fff;
  animation: heroMutePulse 1.4s ease-in-out infinite;
}

@keyframes heroMutePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 28px rgba(170, 34, 46, 0.55);
  }
}

@media (max-width: 575.98px) {
  .hero-mute-btn {
    left: 0.85rem;
    bottom: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  .hero--v2 .hero-mute-btn {
    left: auto;
    right: 0.85rem;
  }

  .hero-mute-btn__label {
    display: none;
  }
}

#pdFaculty,
#pdLabs,
#pdRelated,
#pdGallery,
#pdTestimonials {
  min-height: 1px;
}

body[data-page="program-detail"] #pdIntro:empty::before {
  content: none;
}

.alumni-videos__head .section-desc {
  color: var(--text-muted);
}

.alumni-video-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.alumni-video-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--bg-soft);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.alumni-video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.alumni-video-card__media:hover img,
.alumni-video-card__media:focus-visible img {
  transform: scale(1.04);
}

.alumni-video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(15, 35, 70, 0.08) 0%, rgba(15, 35, 70, 0.45) 100%);
  transition: background 0.25s ease;
}

.alumni-video-card__play i {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  box-shadow: 0 12px 28px rgba(170, 34, 46, 0.35);
}

.alumni-video-card__media:hover .alumni-video-card__play,
.alumni-video-card__media:focus-visible .alumni-video-card__play {
  background: linear-gradient(180deg, rgba(15, 35, 70, 0.12) 0%, rgba(15, 35, 70, 0.55) 100%);
}

.alumni-video-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}

.alumni-video-card__body h3 {
  font-size: 1.05rem;
  color: var(--brand-primary);
  margin-bottom: 0.25rem;
}

.alumni-video-card__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 0.5rem;
}

.alumni-video-card__body p:last-child {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.alumni-video-modal__content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
}

.alumni-video-modal__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.alumni-video-modal__caption {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.home-admission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.home-admission__perks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.home-admission__perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--brand-primary);
}

.home-admission__perks i {
  color: var(--brand-accent);
  margin-top: 0.15rem;
}

.home-admission__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}

.home-admission__card-head {
  margin-bottom: 1.15rem;
}

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

.home-news__head,
.home-events__head,
.home-facilities__head {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.home-events__head .section-desc,
.home-facilities__head .section-desc,
.alumni-videos__head .section-desc {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--text-muted);
}

.home-facilities__head {
  margin-bottom: 1.5rem;
}

.home-admission__intro .section-label {
  text-align: center;
}

.home-facilities__head .section-desc {
  max-width: 38rem;
  color: var(--text-muted);
}

.section-end-cta {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
  text-align: center;
}

.section-end-cta .btn {
  min-height: 44px;
}

.facility-group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.facility-group-pill {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.facility-group-pill:hover {
  border-color: rgba(23, 58, 117, 0.25);
}

.facility-group-pill.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.facility-group-pill.active i {
  color: #fff;
}

.facility-group-pill i {
  color: var(--brand-accent);
  font-size: 0.95rem;
}

.facility-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.facility-card:hover {
  border-color: rgba(23, 58, 117, 0.22);
  box-shadow: 0 14px 32px -18px rgba(23, 48, 88, 0.22);
  transform: translateY(-3px);
}

.facility-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

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

.facility-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.facility-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  margin-bottom: 0.35rem;
}

.facility-card__body h3 {
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 0.35rem;
}

.facility-card__body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex: 1;
  line-height: 1.45;
}

.facility-card__cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.facility-card:hover .facility-card__cta {
  color: var(--brand-accent);
}

.infra-folder-btn.is-hidden {
  display: none;
}

#facilityGroupPills {
  margin-bottom: 1rem;
}

.home-news__grid > [class*="col-"] {
  display: flex;
}

.home-news-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.home-news-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.home-news-card__link:hover h3 {
  color: var(--brand-accent);
}

.home-news-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.home-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-news-card .news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.25rem;
}

.home-news-card .news-body h3 {
  flex: 1;
  margin-bottom: 0;
  min-height: 2.8em;
}

.home-news-card.news-card .home-news-card__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.home-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.home-post-card__meta time,
.home-post-card__house {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.event-upcoming-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.event-past-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-events .calendar-head {
  justify-content: center;
  text-align: center;
}

.event-date-group__label {
  margin: 0.15rem 0 0.35rem;
  padding: 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.event-date-group__label:not(:first-child) {
  margin-top: 0.85rem;
}

.event-date-row--past {
  opacity: 0.82;
}

.event-date-row--past .date-pill {
  filter: saturate(0.65);
}

.event-date-row--past .event-row-text > span:last-child {
  color: var(--text-muted);
}

.event-date-empty {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.event-date-empty a {
  font-weight: 600;
}

/* Site footer — 4 column layout */
.site-footer__logo {
  width: 210px;
  max-width: 100%;
}

.site-footer__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand-primary);
  background: #fff;
  font-size: 1rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-footer__social a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.site-footer__links a {
  color: var(--text-main);
}

.site-footer__contact {
  line-height: 1.65;
}

.site-footer__contact-link {
  color: var(--text-main);
  text-decoration: none;
}

.site-footer__contact-link:hover {
  color: var(--brand-accent);
}

.site-footer__contact .text-main {
  color: var(--brand-primary) !important;
}

@media (max-width: 991.98px) {
  .site-footer__desc {
    max-width: none;
  }
}
