:root {
  --red: #e30613;
  --red-dark: #b9050f;
  --black: #08090b;
  --ink: #17191f;
  --muted: #6a707c;
  --line: #eceef2;
  --soft: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(10, 12, 20, 0.12);
  --soft-shadow: 0 12px 35px rgba(10, 12, 20, 0.08);
  --radius: 26px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  color: var(--ink);
  font-family: "Poppins", "Inter", Arial, sans-serif;
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid rgba(10, 12, 20, 0.08);
  box-shadow: 0 10px 32px rgba(10, 12, 20, 0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sound-experience-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: clamp(28px, 7vw, 120px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sound-experience-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sound-experience-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.84) 62%, rgba(0, 0, 0, 0.94)),
    rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px) saturate(0.84);
  -webkit-backdrop-filter: blur(14px) saturate(0.84);
}

.sound-experience-dialog {
  position: relative;
  width: min(100%, 620px);
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  text-align: left;
  transform: translateX(32px);
  transition: transform 0.32s ease;
}

.sound-experience-modal.is-open .sound-experience-dialog {
  transform: translateX(0);
}

.sound-experience-kicker {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.sound-experience-dialog h2 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.sound-experience-actions {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 28px;
}

.sound-experience-actions button {
  position: relative;
  min-width: 0;
  min-height: 42px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
}

.sound-experience-actions button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.sound-experience-actions button:hover::after,
.sound-experience-actions button:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sound-experience-actions button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 8px;
}

@media (max-width: 760px) {
  .sound-experience-modal {
    align-items: center;
    justify-items: center;
    padding: 28px;
  }

  .sound-experience-backdrop {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.9) 58%, rgba(0, 0, 0, 0.96)),
      rgba(0, 0, 0, 0.42);
  }

  .sound-experience-dialog {
    width: min(100%, 540px);
    transform: translateY(24px);
  }

  .sound-experience-modal.is-open .sound-experience-dialog {
    transform: translateY(0);
  }

  .sound-experience-actions {
    flex-wrap: wrap;
    gap: 18px 32px;
  }
}

.navbar {
  display: grid;
  grid-template-columns: minmax(190px, auto) 1fr auto;
  align-items: center;
  min-height: 88px;
  gap: clamp(28px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.05;
}

.brand img {
  width: 136px;
  height: 60px;
  object-fit: contain;
}

.brand span {
  color: var(--ink);
}

.brand strong {
  font-size: 18px;
  font-weight: 700;
}

.btn.nav-mobile-plus-two {
  display: none;
}

.nav-panel,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-panel {
  display: contents;
}

.nav-links {
  justify-content: center;
}

.nav-actions {
  justify-content: flex-end;
}

@media (min-width: 901px) {
  .brand {
    grid-column: 1;
  }

  .nav-links {
    grid-column: 2;
  }

  .nav-actions {
    grid-column: 3;
  }
}

.nav-panel {
  gap: 28px;
}

.nav-links {
  list-style: none;
  gap: clamp(30px, 3.6vw, 52px);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 48px;
  height: 2px;
  border-radius: 99px;
  background: var(--red);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.35);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--red);
}

.nav-links a.active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav-actions {
  gap: 14px;
}

.nav-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
}

.nav-actions .nav-plus-two {
  position: relative;
  overflow: hidden;
  color: var(--red);
  background: #fff5f6;
  border-color: rgba(227, 6, 19, 0.2);
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.12);
}

.nav-actions .nav-plus-two::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.14), transparent 58%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-actions .nav-plus-two span,
.nav-actions .nav-plus-two i {
  position: relative;
  z-index: 1;
}

.nav-actions .nav-plus-two:hover,
.nav-actions .nav-plus-two:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 18px 34px rgba(227, 6, 19, 0.28);
}

.nav-actions .nav-plus-two:hover::before,
.nav-actions .nav-plus-two:focus-visible::before {
  opacity: 1;
}

.nav-mobile-plus-two {
  position: fixed;
  z-index: 131;
  top: 15px;
  right: 128px;
  min-height: 44px;
  padding: 0 14px;
  border-color: rgba(227, 6, 19, 0.22);
  color: var(--red);
  background: #fff5f6;
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.14);
}

.nav-mobile-plus-two:hover,
.nav-mobile-plus-two:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 26px rgba(227, 6, 19, 0.24);
}

.btn-red:hover {
  background: var(--red-dark);
  box-shadow: 0 18px 32px rgba(227, 6, 19, 0.32);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-white {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.site-header.scrolled .nav-links a {
  color: #22252b;
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active {
  color: var(--red);
}

.site-header.scrolled .btn-dark {
  color: var(--white);
  background: var(--black);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(227, 6, 19, 0.35);
}

.btn:not(.nav-mobile-plus-two),
.gallery-more-btn,
.program-mini-btn,
.program-apply-btn,
.appointment-submit,
.submit-admission {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn:not(.nav-mobile-plus-two)::after,
.gallery-more-btn::after,
.program-mini-btn::after,
.program-apply-btn::after,
.appointment-submit::after,
.submit-admission::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 44%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-125%);
}

.btn:not(.nav-mobile-plus-two):hover::after,
.btn:not(.nav-mobile-plus-two):focus-visible::after,
.gallery-more-btn:hover::after,
.gallery-more-btn:focus-visible::after,
.program-mini-btn:hover::after,
.program-mini-btn:focus-visible::after,
.program-apply-btn:hover::after,
.program-apply-btn:focus-visible::after,
.appointment-submit:hover::after,
.appointment-submit:focus-visible::after,
.submit-admission:not(:disabled):hover::after,
.submit-admission:not(:disabled):focus-visible::after {
  opacity: 1;
  animation: siteButtonSheen 0.85s ease;
}

.btn.is-submitting::after,
.gallery-more-btn.is-submitting::after,
.program-mini-btn.is-submitting::after,
.program-apply-btn.is-submitting::after,
.appointment-submit.is-submitting::after,
.submit-admission.is-submitting::after {
  opacity: 1;
  animation: siteButtonSheen 1.05s ease-in-out infinite;
}

.btn.is-submitting,
.gallery-more-btn.is-submitting,
.program-mini-btn.is-submitting,
.program-apply-btn.is-submitting,
.appointment-submit.is-submitting,
.submit-admission.is-submitting {
  cursor: wait;
}

.btn:active,
.gallery-more-btn:active,
.program-mini-btn:active,
.program-apply-btn:active,
.appointment-submit:active,
.submit-admission:active {
  transform: translateY(0) scale(0.98);
}

@keyframes siteButtonSheen {
  to {
    transform: translateX(125%);
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 880px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(227, 6, 19, 0.18), transparent 30%),
    linear-gradient(115deg, #f7f9fc 0%, #eef2f6 45%, #dfe5ec 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 52%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 28%, rgba(0, 0, 0, 0.3) 50%, transparent 72%),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.99) 22%, rgba(0, 0, 0, 0.9) 31%, rgba(0, 0, 0, 0.62) 44%, rgba(0, 0, 0, 0.24) 60%, transparent 76%);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.08) contrast(1.06) brightness(1.02);
  transform: scale(1.01);
  transform-origin: center;
}

.hero-audio-toggle {
  position: fixed;
  z-index: 130;
  top: 114px;
  right: clamp(24px, 4.5vw, 64px);
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.94);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.14) 34%, rgba(255, 255, 255, 0.06) 70%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(8, 9, 11, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -14px 28px rgba(255, 255, 255, 0.045),
    0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  cursor: pointer;
  font-size: 19px;
  transform: translateY(0) scale(1);
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.hero-audio-toggle::before {
  content: "";
  position: absolute;
  inset: 8px 11px auto;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), transparent);
  pointer-events: none;
  opacity: 0.72;
}

.hero-audio-toggle:hover,
.hero-audio-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16) 34%, rgba(255, 255, 255, 0.06) 70%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(227, 6, 19, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 20px 52px rgba(227, 6, 19, 0.28),
    0 18px 46px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px) scale(1.06);
}

.hero-audio-toggle:active {
  transform: translateY(-1px) scale(0.96);
}

.hero-audio-toggle.is-muted {
  border-color: rgba(227, 6, 19, 0.46);
  color: var(--white);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12) 34%, rgba(255, 255, 255, 0.04) 70%),
    linear-gradient(145deg, rgba(227, 6, 19, 0.72), rgba(185, 5, 15, 0.34)),
    rgba(8, 9, 11, 0.3);
}

.hero-audio-toggle.is-muted:hover,
.hero-audio-toggle.is-muted:focus-visible {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.16) 34%, rgba(255, 255, 255, 0.05) 70%),
    linear-gradient(145deg, rgba(227, 6, 19, 0.86), rgba(185, 5, 15, 0.48)),
    rgba(8, 9, 11, 0.28);
}

.hero-audio-toggle i {
  pointer-events: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
  transition: transform 0.22s ease;
}

.hero-audio-toggle:hover i,
.hero-audio-toggle:focus-visible i {
  transform: scale(1.08);
}

.hero-scroll-cue {
  position: fixed;
  z-index: 5;
  right: clamp(18px, 2.6vw, 42px);
  bottom: clamp(22px, 3vw, 42px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 1;
  overflow: visible;
  transform: translateY(0);
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease,
    transform 0.24s ease;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  transform: translateY(-5px);
}

.hero-scroll-cue:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 5px;
}

.hero-scroll-cue.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
}

.hero-scroll-device {
  position: relative;
  align-self: center;
  justify-self: center;
  display: block;
  width: clamp(34px, 3vw, 42px);
  height: clamp(92px, 7.6vw, 116px);
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
}

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

.hero-scroll-loader {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-scroll-track,
.hero-scroll-runner {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.hero-scroll-track {
  stroke: rgba(226, 229, 235, 0.88);
  stroke-width: 6;
}

.hero-scroll-runner {
  stroke: rgba(227, 6, 19, 0.96);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 15 85;
  stroke-dashoffset: 0;
  animation: heroScrollTrackRun 1.35s linear infinite;
  filter: drop-shadow(0 0 6px rgba(227, 6, 19, 0.55));
}

.hero-scroll-path-text {
  fill: rgba(255, 255, 255, 0.95);
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero-scroll-dot {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(10px, 0.84vw, 12px);
  width: clamp(15px, 1.26vw, 19px);
  height: clamp(33px, 2.5vw, 40px);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 117, 126, 0.92), rgba(227, 6, 19, 0.96) 42%, rgba(159, 0, 9, 0.96));
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.42),
    inset 0 -5px 9px rgba(114, 0, 7, 0.3),
    0 7px 18px rgba(227, 6, 19, 0.36);
  transform: translate3d(-50%, 0, 0);
  animation: heroScrollPill 1.7s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes heroScrollTrackRun {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes heroScrollPill {
  0%,
  100% {
    opacity: 0.9;
    transform: translate3d(-50%, 0, 0);
  }

  45% {
    opacity: 1;
    transform: translate3d(-50%, calc(-1 * clamp(27px, 2.4vw, 34px)), 0);
  }

  72% {
    opacity: 0.72;
    transform: translate3d(-50%, calc(-1 * clamp(20px, 1.8vw, 26px)), 0);
  }
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.03) 58%, rgba(0, 0, 0, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  min-height: min(100svh, 880px);
  padding-top: 178px;
}

.hero-copy {
  width: min(530px, 100%);
  padding-top: 0;
}

.eyebrow {
  margin-bottom: 26px;
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 9px;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px 9px 18px;
  border-left: 4px solid var(--red);
  border-radius: 0 999px 999px 0;
  color: var(--white);
  background: rgba(227, 6, 19, 0.78);
  box-shadow: 0 12px 32px rgba(227, 6, 19, 0.12);
  backdrop-filter: blur(10px);
}

.red-text {
  color: var(--red);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.hero h1 span,
h2 span {
  color: var(--red);
}

.hero h1 span {
  color: #ff4652;
}

.hero-text {
  width: min(360px, 100%);
  margin: 28px 0 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  line-height: 1.8;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.36);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-mobile-apply {
  display: none;
}

.stats-wrap {
  position: relative;
  z-index: 5;
  margin-top: -92px;
  padding-bottom: 42px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(56px);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.stats-visible .stats-wrap {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}

.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 198px;
  padding: 26px 18px 22px;
  border: 1px solid rgba(14, 18, 27, 0.05);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(10, 12, 20, 0.12);
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.45s ease,
    transform 0.58s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease;
}

body.stats-visible .stat-item {
  opacity: 1;
  transform: translateY(0);
}

body.stats-visible .stat-item:nth-child(2) {
  transition-delay: 0.06s;
}

body.stats-visible .stat-item:nth-child(3) {
  transition-delay: 0.12s;
}

body.stats-visible .stat-item:nth-child(4) {
  transition-delay: 0.18s;
}

body.stats-visible .stat-item:nth-child(5) {
  transition-delay: 0.24s;
}

body.stats-visible .stat-item:nth-child(6) {
  transition-delay: 0.3s;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(10, 12, 20, 0.16);
}

.stat-item i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--red);
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(227, 6, 19, 0.06),
    0 12px 34px rgba(227, 6, 19, 0.11);
  font-size: 23px;
  opacity: 0.7;
}

.stat-item strong {
  color: var(--black);
  font-size: 32px;
  font-weight: 600;
  line-height: 0.95;
  white-space: nowrap;
}

.stat-item span {
  max-width: 126px;
  margin-top: 12px;
  color: #6d7078;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.section-pad {
  padding: 72px 0;
}

.section-heading.centered {
  position: relative;
  z-index: 4;
  margin-bottom: -22px;
  text-align: center;
}

h2 {
  color: var(--black);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
}

.journey {
  position: relative;
  min-height: 620px;
  padding: 0;
  scroll-margin-top: 88px;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

.journey::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 10%, 55.5% 100%, 44.5% 100%, 0 8%);
  filter: drop-shadow(0 14px 18px rgba(4, 5, 8, 0.16));
  pointer-events: none;
}

.journey::after {
  content: "";
  position: absolute;
  z-index: 7;
  top: 129px;
  left: 50%;
  width: 164px;
  height: 112px;
  border-radius: 0 0 92px 92px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}

.journey .section-heading.centered {
  position: absolute;
  z-index: 9;
  top: 50px;
  left: 50%;
  width: min(460px, calc(100% - 32px));
  margin: 0;
  text-align: center;
  transform: translateX(-50%);
}

.journey .section-heading.centered,
.program-card {
  opacity: 0;
}

.journey .section-heading.centered {
  transform: translate(-50%, 28px);
}

.program-card.ug {
  transform: translateX(-42px);
}

.program-card.pg {
  transform: translateX(42px);
}

.journey.is-visible .section-heading.centered,
.journey.is-visible .program-card {
  opacity: 1;
  transform: translate(0);
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.journey.is-visible .section-heading.centered {
  transform: translateX(-50%);
}

.journey.is-visible .program-card.pg {
  transition-delay: 0.08s;
}

.journey .section-heading h2 {
  font-family: "Arial Narrow", "Roboto Condensed", "Poppins", "Inter", Arial, sans-serif;
  font-size: clamp(33px, 2.8vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.journey .section-heading h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 26px auto 0;
  border-radius: 99px;
  background: #16181d;
}

.journey-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-height: 620px;
  background: var(--white);
  overflow: hidden;
}

.journey-grid::after {
  content: "";
  position: absolute;
  z-index: 8;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}

.program-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--black);
}

.program-card.ug {
  border-top-right-radius: 132px 104px;
}

.program-card.pg {
  border-top-left-radius: 132px 104px;
}

.program-card img,
.campus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-card.ug img {
  object-position: 54% 50%;
}

.program-card.pg img {
  object-position: 34% 50%;
}

.program-card:hover img,
.campus-card:hover img {
  transform: scale(1.08);
}

.program-overlay {
  position: absolute;
  inset: 0;
}

.program-overlay.red {
  background:
    linear-gradient(90deg, rgba(227, 6, 19, 1) 0%, rgba(227, 6, 19, 0.94) 27%, rgba(227, 6, 19, 0.55) 55%, rgba(227, 6, 19, 0.1) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2));
}

.program-overlay.dark {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.82) 45%, rgba(0, 0, 0, 0.34) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
}

.program-content {
  position: absolute;
  z-index: 5;
  inset: 0 auto 0 0;
  display: grid;
  grid-template-rows: auto minmax(96px, auto) auto;
  align-content: center;
  align-items: flex-start;
  row-gap: 28px;
  width: min(500px, 66%);
  padding: 242px 0 48px clamp(52px, 5vw, 92px);
  color: var(--white);
}

.pg .program-content {
  inset: 0 0 0 auto;
  align-items: flex-start;
  justify-items: end;
  grid-template-rows: auto minmax(96px, auto) auto;
  row-gap: 28px;
  padding: 242px clamp(52px, 5vw, 92px) 48px 0;
  text-align: right;
}

.program-content h3 {
  margin: 0;
  font-size: clamp(32px, 2.55vw, 42px);
  font-weight: 600;
  line-height: 1.02;
}

.program-content h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 22px;
  background: currentColor;
  opacity: 0.9;
}

.pg .program-content h3::after {
  margin-left: auto;
  color: var(--red);
}

.program-content p {
  width: min(420px, 100%);
  margin: 0;
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 400;
  line-height: 1.75;
}

.pg .program-content p {
  justify-self: end;
}

.program-content a {
  display: inline-grid;
  width: 58px;
  height: auto;
  min-width: 58px;
  min-height: 0;
  inline-size: 58px;
  block-size: auto;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  padding: 18px;
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pg .program-content a {
  justify-self: end;
}

.program-content a:hover {
  transform: translateX(5px);
  color: var(--white);
  background: var(--red);
}

.pg .program-content a:hover {
  transform: translateX(-5px);
}

.why {
  position: relative;
  background: var(--white);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.why-top {
  max-width: 470px;
  opacity: 0;
  transform: translateX(-36px);
}

.why-top .eyebrow,
.env-copy .eyebrow {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 5px;
}

.why-top .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.1);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
}

.env-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.1);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
}

.why-top h2 {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.04;
}

.why-subtitle {
  margin-top: 20px;
  color: var(--black);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.why-top > p:not(.eyebrow),
.env-copy > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.why-top .btn {
  margin-top: 30px;
}

.about-more {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.about-more p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-more[hidden] {
  display: none;
}

.about-toggle i {
  transition: transform 0.2s ease;
}

.about-toggle.is-open i {
  transform: rotate(180deg);
}

.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 30px);
  width: min(560px, 100%);
  margin-left: 0;
  margin-right: auto;
  isolation: isolate;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid rgba(14, 18, 27, 0.08);
  border-radius: 18px;
  color: var(--black);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(10, 12, 20, 0.08);
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.6s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.feature-card:nth-child(2),
.feature-card:nth-child(4) {
  align-items: flex-end;
  text-align: right;
}

.feature-card:nth-child(3),
.feature-card:nth-child(4) {
  justify-content: flex-end;
}

.feature-card:hover {
  color: var(--white);
  background: var(--red);
  border-color: rgba(227, 6, 19, 0.72);
  box-shadow: 0 28px 72px rgba(227, 6, 19, 0.3);
}

.feature-card:hover i {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.feature-card:hover h3,
.feature-card:hover p {
  color: var(--white);
}

.feature-card:nth-child(5) {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(210px, 38%);
  min-width: 176px;
  min-height: 0;
  padding: 24px;
  text-align: center;
  border-color: rgba(227, 6, 19, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 64px rgba(10, 12, 20, 0.16);
  transform: translate(-50%, calc(-50% + 34px));
  backdrop-filter: blur(14px);
}

.feature-card:nth-child(5):hover {
  transform: translate(-50%, -50%);
}

.feature-card i {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--red);
  background: rgba(227, 6, 19, 0.1);
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.feature-card:nth-child(5) i {
  margin-bottom: 16px;
}

.feature-card h3,
.env-features h3 {
  margin-bottom: 9px;
  color: var(--black);
  font-size: 16px;
  font-weight: 800;
  transition: color 0.16s ease;
}

.feature-card p,
.env-features p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  transition: color 0.16s ease;
}

.why.is-visible .why-top,
.why.is-visible .feature-card {
  opacity: 1;
  transform: translate(0);
}

.why.is-visible .why-top {
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why.is-visible .feature-card:nth-child(1) {
  transition-delay: 0.08s;
}

.why.is-visible .feature-card:nth-child(2) {
  transition-delay: 0.14s;
}

.why.is-visible .feature-card:nth-child(3) {
  transition-delay: 0.2s;
}

.why.is-visible .feature-card:nth-child(4) {
  transition-delay: 0.26s;
}

.why.is-visible .feature-card:nth-child(5) {
  transition-delay: 0.32s;
}

.why.is-visible .feature-card:nth-child(5) {
  transform: translate(-50%, -50%);
}

.why.is-visible .feature-row .feature-card {
  transition-delay: 0s;
}

.why.is-visible .feature-card:hover {
  color: var(--white);
  background: var(--red);
  border-color: rgba(227, 6, 19, 0.72);
  box-shadow: 0 30px 78px rgba(227, 6, 19, 0.34);
  transform: translate(0);
}

.why.is-visible .feature-card:nth-child(5):hover {
  transform: translate(-50%, -50%);
}

.why.is-visible .feature-card:hover i {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.why.is-visible .feature-card:hover h3,
.why.is-visible .feature-card:hover p {
  color: var(--white);
}

.campus {
  position: relative;
  padding: 88px 0 104px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
}

.campus::before {
  display: none;
}

.campus::after {
  display: none;
}

.campus .container,
.campus-carousel,
.campus-track {
  position: relative;
  z-index: 2;
}

.campus-head,
.campus-card {
  opacity: 0;
  transform: translateY(34px);
}

.campus.is-visible .campus-head,
.campus.is-visible .campus-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.campus.is-visible .campus-card:nth-child(1) {
  transition-delay: 0.08s;
}

.campus.is-visible .campus-card:nth-child(2) {
  transition-delay: 0.14s;
}

.campus.is-visible .campus-card:nth-child(3) {
  transition-delay: 0.2s;
}

.campus.is-visible .campus-card:nth-child(4) {
  transition-delay: 0.26s;
}

.campus.is-visible .campus-card:nth-child(5) {
  transition-delay: 0.32s;
}

.campus .container {
  width: min(1180px, calc(100% - 48px));
}

.campus-eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 7px;
  text-transform: uppercase;
}

.campus h2 {
  color: var(--black);
  font-size: clamp(33px, 2.8vw, 48px);
  line-height: 1.08;
}

.campus h2 span {
  color: var(--red);
}

.campus-intro {
  width: min(560px, 100%);
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.campus-intro::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 99px;
  background: var(--red);
}

.campus-head {
  display: grid;
  justify-items: center;
  gap: 24px;
  margin-bottom: 34px;
  text-align: center;
}

.campus-head > div:first-child {
  display: grid;
  justify-items: center;
}

.campus-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 16px;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.campus-carousel-btn {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(10, 12, 20, 0.12);
  border-radius: 50%;
  color: var(--black);
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 12, 20, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.campus-carousel-btn:hover,
.campus-carousel-btn:focus-visible {
  color: #fff;
  background: var(--red);
  transform: translateY(-2px);
}

.campus-track {
  display: grid;
  grid-auto-columns: minmax(225px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  width: 100%;
  margin: 0;
  overflow-x: auto;
  padding: 18px 6px 20px;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  scroll-behavior: auto;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-inline: contain;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.campus-track::-webkit-scrollbar {
  display: none;
}

.campus-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.campus-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: var(--black);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  isolation: isolate;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.campus-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.3) 44%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.04) 66%);
}

.campus-card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.42);
  transform: translateY(-8px);
}

.campus.is-visible .campus-card:hover {
  transform: translateY(-8px);
}

.campus-card div {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 30px;
  color: var(--white);
}

.campus-card h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 1.45vw, 24px);
  font-weight: 600;
  line-height: 1.05;
}

.campus-card p {
  max-width: 240px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.campus-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.campus-card:hover img {
  filter: saturate(1.04) contrast(1.08);
}

@media (min-width: 901px) {
  .campus-track {
    grid-auto-columns: calc((100% - 42px) / 4);
  }
}

.gallery {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fafbfe 100%);
  padding-top: 66px;
  padding-bottom: 70px;
}

.gallery-heading {
  width: min(1120px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.gallery-heading,
.gallery-showcase,
.gallery-action {
  opacity: 0;
  transform: translateY(34px);
}

.gallery.is-visible .gallery-heading,
.gallery.is-visible .gallery-showcase,
.gallery.is-visible .gallery-action {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery.is-visible .gallery-showcase {
  transition-delay: 0.1s;
}

.gallery.is-visible .gallery-action {
  transition-delay: 0.18s;
}

.gallery-eyebrow {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 12px;
  text-transform: uppercase;
}

.gallery-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(33px, 2.8vw, 48px);
  line-height: 1.08;
}

.gallery-heading p:not(.gallery-eyebrow) {
  color: #59606b;
  font-size: 16px;
  line-height: 1.5;
}

.gallery-line {
  display: block;
  width: 106px;
  height: 5px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: var(--red);
}

.gallery-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 3vw, 42px);
  align-items: stretch;
}

.gallery-featured {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  border-radius: 18px;
  background: var(--black);
  box-shadow: 0 24px 62px rgba(10, 12, 20, 0.14);
}

.gallery-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.08) 36%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 62%);
  pointer-events: none;
}

.gallery-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.75s ease, filter 0.35s ease, opacity 0.25s ease;
}

.gallery-showcase.is-changing .gallery-featured-img {
  opacity: 0.78;
  filter: saturate(1.04) contrast(1.03);
}

.gallery-featured:hover .gallery-featured-img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.gallery-featured-caption {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 3vw, 42px);
  right: clamp(22px, 3vw, 42px);
  bottom: clamp(22px, 3vw, 40px);
  display: grid;
  justify-items: start;
  gap: 10px;
  color: var(--white);
}

.gallery-featured-caption span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: var(--white);
  background: rgba(227, 6, 19, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery-featured-caption h3 {
  width: min(620px, 100%);
  padding: 9px 14px;
  border-radius: 12px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.04;
  text-shadow: none;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
  max-height: none;
  overflow: visible;
  padding: 6px 0;
  scroll-behavior: smooth;
}

.gallery-thumb {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 106px;
  padding: 14px;
  border: 1px solid rgba(10, 12, 20, 0.08);
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(10, 12, 20, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gallery-thumb::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.gallery-thumb img {
  width: 126px;
  height: 78px;
  border-radius: 9px;
  object-fit: cover;
}

.gallery-thumb span {
  display: -webkit-box;
  overflow: hidden;
  color: #20242d;
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(227, 6, 19, 0.22);
  background: #fff8f9;
  box-shadow: 0 18px 38px rgba(10, 12, 20, 0.1);
}

.gallery-thumb.is-active::before {
  border-color: var(--red);
}

.gallery-action {
  display: flex;
  justify-content: center;
  justify-items: center;
  margin-top: 34px;
}

.gallery-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 16px 0 32px;
  border: 1px solid rgba(227, 6, 19, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(227, 6, 19, 0.24);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gallery-more-btn i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: var(--white);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.gallery-more-btn:hover {
  transform: translateY(-3px);
  background: var(--red-dark);
  box-shadow: 0 22px 44px rgba(227, 6, 19, 0.32);
}

.gallery-more-btn:hover i {
  transform: translateX(3px);
}

.program-modal {
  position: fixed;
  z-index: 125;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.program-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.program-modal-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(227, 6, 19, 0.24), transparent 30%),
    rgba(3, 4, 8, 0.78);
  backdrop-filter: blur(16px);
}

.program-modal-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1120px, 100%);
  max-height: min(92svh, 880px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, #11131a 0%, #07080b 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.program-modal.is-open .program-modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.program-modal-header,
.program-modal-cta {
  position: sticky;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(18px);
}

.program-modal-header {
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.program-modal-cta {
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.program-modal-kicker,
.program-modal-cta span,
.program-section-title p {
  margin: 0 0 6px;
  color: #ffb7bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.program-modal-header h2 {
  color: #fff8f5;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.program-modal-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.program-modal-close:hover {
  border-color: rgba(227, 6, 19, 0.55);
  background: var(--red);
  transform: rotate(90deg) scale(1.06);
}

.program-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.program-modal-scroll::-webkit-scrollbar {
  width: 9px;
}

.program-modal-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.42);
}

.program-modal-content {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.program-modal-hero,
.program-modal-section,
.program-course-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.program-modal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(227, 6, 19, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(227, 6, 19, 0.22), rgba(255, 255, 255, 0.07));
}

.program-modal-hero span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ffdadd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.program-modal-hero h3 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 0.98;
}

.program-modal-hero p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.75;
}

.program-hero-actions,
.program-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.program-modal-section {
  padding: clamp(22px, 3vw, 32px);
}

.program-section-title {
  margin-bottom: 18px;
}

.program-section-title h3 {
  color: #fff8f5;
  font-size: clamp(21px, 2.4vw, 30px);
}

.program-highlights {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.program-highlights article {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.program-highlights article:hover,
.program-course-card:hover {
  background: rgba(227, 6, 19, 0.12);
  box-shadow: 0 24px 55px rgba(227, 6, 19, 0.16);
  transform: translateY(-4px);
}

.program-highlights span,
.program-course-head span,
.program-course-meta dt {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.program-highlights strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.program-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.program-course-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.program-course-toggle {
  display: none;
}

.program-course-details {
  display: grid;
  gap: 16px;
}

.program-course-head h4 {
  margin-top: 8px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.25;
}

.program-course-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.program-course-meta div {
  padding: 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}

.program-course-meta dd {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.program-course-card > p,
.program-course-details > p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.7;
}

.program-course-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.program-course-lists h5 {
  margin-bottom: 8px;
  color: #fff8f5;
  font-size: 13px;
}

.program-course-lists ul,
.program-timeline {
  list-style: none;
}

.program-course-lists li,
.program-timeline li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.program-course-lists li::before,
.program-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px rgba(227, 6, 19, 0.58);
}

.program-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.program-mini-btn:hover {
  border-color: rgba(227, 6, 19, 0.52);
  background: rgba(227, 6, 19, 0.16);
  transform: translateY(-2px);
}

.program-mini-btn.is-red {
  border-color: transparent;
  background: var(--red);
}

.program-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.program-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-facilities span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.program-facilities i {
  color: #ff6b74;
}

.program-timeline {
  display: grid;
  gap: 8px;
}

.program-faq {
  display: grid;
  gap: 10px;
}

.program-faq details {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.program-faq summary {
  padding: 16px 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.program-faq p {
  padding: 0 18px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.program-modal-cta strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
}

@media (max-width: 980px) {
  .program-modal-hero,
  .program-split,
  .program-course-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .program-modal {
    padding: 8px;
  }

  .program-modal-dialog {
    max-height: 96svh;
    border-radius: 18px;
  }

  .program-modal-header,
  .program-modal-cta {
    align-items: flex-start;
    padding: 16px;
  }

  .program-modal-header {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .program-modal-cta,
  .program-hero-actions,
  .program-course-actions,
  .program-course-lists,
  .program-course-meta {
    grid-template-columns: 1fr;
    display: grid;
  }

  .program-modal-cta .btn,
  .program-hero-actions .btn {
    width: 100%;
  }

  .program-modal-content {
    gap: 16px;
    padding: 16px;
  }

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

/* Light premium treatment for Bachelor/Masters program modal. */
.program-modal {
  padding: 22px;
}

.program-modal-overlay {
  background: rgba(8, 9, 13, 0.66);
  backdrop-filter: blur(12px);
}

.program-modal-dialog {
  grid-template-rows: minmax(0, 1fr);
  width: min(1240px, 100%);
  max-height: min(92svh, 900px);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 24px;
  color: #242731;
  background:
    radial-gradient(circle at 77% 13%, rgba(227, 6, 19, 0.11), transparent 27%),
    linear-gradient(135deg, #fffdfc 0%, #f8f5f4 48%, #ffffff 100%);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
}

.program-modal-header {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 8;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.program-modal-header > div {
  display: none;
}

.program-modal-close {
  width: 54px;
  height: 54px;
  border: 0;
  color: #08090b;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(12, 16, 24, 0.12);
  font-size: 22px;
}

.program-modal-close:hover {
  color: #ffffff;
  background: var(--red);
  transform: rotate(90deg) scale(1.04);
}

.program-modal-scroll {
  grid-row: 1;
  background:
    radial-gradient(circle at 78% 22%, rgba(227, 6, 19, 0.08), transparent 34%),
    transparent;
}

.program-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(227, 6, 19, 0.32);
}

.program-modal-content {
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
  padding-bottom: 30px;
}

.program-modal-hero,
.program-modal-section,
.program-course-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.program-modal-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  min-height: 300px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(115deg, #ffffff 0%, #fffdfc 58%, #fafafa 100%);
  overflow: hidden;
}

.program-modal-hero > div:first-child {
  padding: clamp(24px, 4vw, 44px);
}

.program-modal-hero::after {
  display: none;
}

.program-modal-hero h3 {
  max-width: 620px;
  color: #121622;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

.program-modal-hero p {
  max-width: 690px;
  color: #636772;
  font-size: 14px;
  line-height: 1.7;
}

.program-modal-hero .program-hero-school {
  display: inline-flex;
  margin-bottom: 18px;
  color: #ff0012;
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(255, 0, 18, 0.36);
}

.program-hero-art {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 300px;
  align-self: stretch;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.program-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  object-position: center bottom;
}

.program-hero-art.is-masters img {
  object-position: center bottom;
}

.program-illustration {
  display: none;
}

.program-illustration span {
  position: absolute;
  display: block;
}

.program-illus-orbit {
  inset: 24px;
  border: 1px dashed rgba(227, 6, 19, 0.18);
  border-radius: 50%;
}

.program-illus-spark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.program-illus-spark::before {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 8px;
  background: rgba(227, 6, 19, 0.16);
}

.program-illus-spark.one {
  left: 22px;
  top: 70px;
}

.program-illus-spark.two {
  right: 20px;
  top: 42px;
}

.program-illus-head {
  left: 50%;
  top: 52px;
  width: 74px;
  height: 84px;
  border-radius: 44% 44% 48% 48%;
  background: #ffe2d4;
  box-shadow: inset 0 -7px 0 rgba(199, 103, 78, 0.13);
  transform: translateX(-50%);
}

.program-illus-head::before,
.program-illus-head::after {
  content: "";
  position: absolute;
  top: 37px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17191f;
}

.program-illus-head::before {
  left: 21px;
}

.program-illus-head::after {
  right: 21px;
}

.program-illus-hair {
  left: 50%;
  top: 42px;
  width: 86px;
  height: 48px;
  border-radius: 48px 48px 20px 20px;
  background: #20242d;
  transform: translateX(-50%);
}

.program-illus-hair::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -17px;
  width: 30px;
  height: 34px;
  border-radius: 0 0 22px 22px;
  background: #20242d;
}

.program-illus-neck {
  left: 50%;
  top: 129px;
  width: 30px;
  height: 28px;
  border-radius: 0 0 12px 12px;
  background: #f6c7b8;
  transform: translateX(-50%);
}

.program-illus-body {
  left: 50%;
  bottom: 48px;
  width: 142px;
  height: 104px;
  border-radius: 34px 34px 18px 18px;
  background: #25324a;
  transform: translateX(-50%);
  box-shadow: 0 18px 34px rgba(20, 30, 48, 0.16);
}

.program-illus-shirt {
  left: 50%;
  top: 151px;
  width: 56px;
  height: 72px;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
  background: #ffffff;
  transform: translateX(-50%);
}

.program-illus-tie {
  left: 50%;
  top: 160px;
  width: 14px;
  height: 48px;
  clip-path: polygon(50% 0, 100% 20%, 68% 100%, 32% 100%, 0 20%);
  background: #e30613;
  transform: translateX(-50%);
}

.program-illus-arm {
  bottom: 60px;
  width: 44px;
  height: 76px;
  border-radius: 28px;
  background: #25324a;
}

.program-illus-arm.left {
  left: 57px;
  transform: rotate(18deg);
}

.program-illus-arm.right {
  right: 57px;
  transform: rotate(-18deg);
}

.program-illus-prop {
  left: 50%;
  bottom: 42px;
  width: 92px;
  height: 58px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  transform: translateX(-50%);
}

.program-illus-prop::before {
  content: "";
  position: absolute;
  inset: 13px 18px;
  border-top: 3px solid rgba(227, 6, 19, 0.34);
  border-bottom: 3px solid rgba(227, 6, 19, 0.18);
}

.program-hero-art.is-masters .program-illustration {
  background:
    radial-gradient(circle at 50% 24%, rgba(20, 32, 54, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(238, 242, 248, 0.76));
  box-shadow: inset 0 0 0 1px rgba(37, 50, 74, 0.12), 0 26px 60px rgba(37, 50, 74, 0.13);
}

.program-hero-art.is-masters .program-illus-body,
.program-hero-art.is-masters .program-illus-arm {
  background: #111827;
}

.program-hero-art.is-masters .program-illus-tie {
  background: #d3a240;
}

.program-hero-art.is-masters .program-illus-hair {
  width: 78px;
  height: 38px;
  border-radius: 44px 44px 18px 18px;
}

.program-hero-art.is-masters .program-illus-hair::after {
  display: none;
}

.program-hero-art.is-masters .program-illus-prop {
  width: 104px;
  height: 52px;
  border-radius: 12px;
  background: #eef2f7;
}

.program-hero-art.is-masters .program-illus-prop::before {
  inset: 12px 18px;
  border-top-color: rgba(17, 24, 39, 0.28);
  border-bottom-color: rgba(17, 24, 39, 0.16);
}

.program-section-title p,
.program-modal-cta span {
  display: none;
}

.program-section-title h3 {
  color: #181b23;
  font-size: clamp(22px, 2.1vw, 28px);
}

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

.program-highlights article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
  min-height: 86px;
  padding: 18px 20px;
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.program-highlights article i,
.program-course-head i {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: span 2;
  place-items: center;
  border-radius: 14px;
  color: #e30613;
  background: #ffe8e6;
  box-shadow: inset 0 0 0 1px rgba(227, 6, 19, 0.1);
}

.program-highlights article:hover,
.program-course-card:hover {
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(227, 6, 19, 0.13);
  transform: translateY(-5px);
}

.program-highlights span,
.program-course-head span,
.program-course-meta dt {
  color: #8b8f9a;
  line-height: 1.2;
}

.program-highlights strong,
.program-course-head h4,
.program-course-lists h5,
.program-modal-cta strong {
  color: #191c24;
}

.program-highlights strong {
  line-height: 1.35;
}

.program-course-grid {
  gap: 18px;
}

.program-course-card {
  border-radius: 18px;
  padding: 24px;
}

.program-course-head {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 14px;
  align-items: center;
}

.program-course-head h4 {
  grid-column: 2;
  margin-top: 2px;
}

.program-course-meta div {
  background: #f8f8fa;
}

.program-course-meta dd,
.program-course-card > p,
.program-course-details > p,
.program-course-lists li,
.program-timeline li,
.program-faq p {
  color: #555b66;
}

.program-course-lists li::before,
.program-timeline li::before {
  background: #c93a35;
  box-shadow: none;
}

.program-mini-btn {
  border-color: rgba(15, 23, 42, 0.1);
  color: #252934;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.program-mini-btn:hover {
  border-color: rgba(227, 6, 19, 0.24);
  color: var(--red);
  background: #fff5f4;
}

.program-mini-btn.is-red {
  color: #ffffff;
  background: #de332b;
  box-shadow: none;
}

.program-mini-btn.is-red:hover {
  color: #ffffff;
  background: #e30613;
  box-shadow: 0 18px 36px rgba(227, 6, 19, 0.24);
  transform: translateY(-3px) scale(1.03);
}

.program-facilities span {
  color: #353a44;
  background: #f8f8fa;
}

.program-faq details {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.program-faq summary {
  color: #181b23;
}

.program-modal-cta {
  display: none;
}

.program-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 12px 0 30px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f05a4f, #d92f27);
  box-shadow: 0 22px 42px rgba(227, 6, 19, 0.26);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.program-apply-btn i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #d92f27;
  background: #ffffff;
  transition: transform 0.24s ease;
}

.program-apply-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 28px 58px rgba(227, 6, 19, 0.34);
}

.program-apply-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .program-modal-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .program-hero-art {
    min-height: 220px;
  }

  .program-hero-art img {
    min-height: 220px;
  }

  .program-modal-hero::after {
    right: 28px;
    top: auto;
    bottom: 26px;
    width: 220px;
    height: 86px;
  }
}

@media (max-width: 620px) {
  .program-modal {
    padding: 8px;
  }

  .program-modal-close {
    width: 46px;
    height: 46px;
  }

  .program-modal-content {
    gap: 14px;
    padding: 12px;
  }

  .program-modal-hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    min-height: 164px;
    align-items: center;
    padding-top: 0;
    border-radius: 16px;
  }

  .program-modal-hero > div:first-child {
    padding: 18px 0 18px 16px;
  }

  .program-modal-hero .program-hero-school {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .program-modal-hero h3 {
    font-size: 25px;
    line-height: 1.02;
  }

  .program-modal-hero p {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.55;
  }

  .program-hero-art {
    min-height: 150px;
    margin-top: 0;
  }

  .program-hero-art img {
    min-height: 150px;
    object-position: center bottom;
  }

  .program-modal-hero::after {
    display: none;
  }

  .program-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .program-highlights article {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 9px;
    min-height: 70px;
    padding: 10px;
    border-radius: 12px;
  }

  .program-highlights article i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 13px;
  }

  .program-highlights span {
    font-size: 9px;
    letter-spacing: 0.6px;
  }

  .program-highlights strong {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.25;
  }

  .program-section-title {
    margin-bottom: 12px;
  }

  .program-section-title h3 {
    font-size: 20px;
    line-height: 1.2;
  }

  .program-course-grid {
    gap: 10px;
  }

  .program-course-card {
    gap: 10px;
    padding: 13px;
    border-radius: 14px;
  }

  .program-course-head {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 9px;
  }

  .program-course-head i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 13px;
  }

  .program-course-head span {
    font-size: 9px;
    letter-spacing: 0.7px;
  }

  .program-course-head h4 {
    font-size: 15px;
    line-height: 1.25;
  }

  .program-course-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(227, 6, 19, 0.22);
    border-radius: 999px;
    color: var(--red);
    background: #fff5f4;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
  }

  .program-course-details {
    display: none;
    gap: 10px;
  }

  .program-course-card.is-expanded .program-course-details {
    display: grid;
  }

  .program-course-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .program-course-meta div {
    padding: 8px;
    border-radius: 10px;
  }

  .program-course-meta dt {
    font-size: 9px;
  }

  .program-course-meta dd,
  .program-course-details > p,
  .program-course-lists li {
    font-size: 11px;
    line-height: 1.45;
  }

  .program-course-lists {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .program-course-lists h5 {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .program-course-lists li {
    margin-bottom: 5px;
    padding-left: 14px;
  }

  .program-course-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .program-mini-btn {
    width: 100%;
    min-height: 34px;
    padding: 0 8px;
    gap: 5px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
  }

  .program-modal-cta {
    display: none;
    gap: 14px;
  }

  .program-apply-btn {
    width: 100%;
  }
}

.gallery-modal {
  position: fixed;
  z-index: 160;
  inset: 0;
  display: grid;
  place-items: stretch;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.68);
  backdrop-filter: blur(2px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
  padding: clamp(22px, 2.5vw, 34px);
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.985);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-modal.is-open .gallery-modal-dialog {
  transform: translateY(0) scale(1);
}

.gallery-modal-close {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 38px rgba(227, 6, 19, 0.28);
  cursor: pointer;
  font-size: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-modal-close:hover {
  transform: rotate(90deg) scale(1.03);
  background: var(--red-dark);
}

.gallery-modal-head {
  padding-right: 78px;
  margin-bottom: 16px;
}

.gallery-modal-head p {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 7px;
  text-transform: uppercase;
}

.gallery-modal-head h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
}

.gallery-modal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding-right: 78px;
}

.gallery-modal-filter {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(227, 6, 19, 0.12);
  border-radius: 999px;
  color: var(--black);
  background: #fff8f8;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-modal-filter:hover,
.gallery-modal-filter.is-active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(227, 6, 19, 0.24);
  transform: translateY(-1px);
}

.gallery-modal-body {
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  min-height: 0;
  height: 100%;
}

.gallery-modal-thumbs {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 14px;
  align-content: start;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}

.gallery-modal-thumbs::-webkit-scrollbar {
  width: 7px;
}

.gallery-modal-thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--red);
}

.gallery-modal-thumb {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #eef1f5;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(10, 12, 20, 0.06);
}

.gallery-modal-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.gallery-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.2s ease;
}

.gallery-modal-thumb:hover img,
.gallery-modal-thumb.is-active img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.05);
}

.gallery-modal-thumb.is-active::after {
  border-color: var(--red);
}

.gallery-modal-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 150px;
  place-items: center;
  margin: 0;
  border: 1px dashed rgba(10, 12, 20, 0.14);
  border-radius: 16px;
  color: #667085;
  background: #f7f8fb;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.gallery-modal-preview {
  order: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: min(100%, calc(100dvh - 230px));
  align-self: start;
  justify-self: start;
  min-height: 0;
  border-radius: 18px;
  background: var(--black);
}

.gallery-modal-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-modal-preview figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 13px 16px;
  border-radius: 13px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  font-size: 15px;
  font-weight: 800;
}

.environment {
  position: relative;
  padding: 88px 0;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfe 100%);
}

.env-image {
  position: absolute;
  top: 88px;
  bottom: 88px;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: min(45vw, 520px);
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(10, 12, 20, 0.14);
}

.env-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.32));
}

.env-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.env-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  column-gap: clamp(48px, 7vw, 110px);
  row-gap: 18px;
  align-items: start;
  min-height: 430px;
}

.env-copy {
  grid-column: 2;
  max-width: 520px;
}

.env-copy h2 {
  font-size: clamp(36px, 3.4vw, 50px);
  line-height: 1.04;
}

.env-copy > p {
  max-width: 520px;
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
}

.env-features {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.env-features article {
  min-height: 168px;
  padding: 24px 20px;
  border: 1px solid rgba(14, 18, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(10, 12, 20, 0.08);
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.env-features h3 {
  font-size: 17px;
}

.env-features p {
  font-size: 13px;
  line-height: 1.65;
}

.env-features article:hover {
  border-color: rgba(227, 6, 19, 0.18);
  box-shadow: 0 24px 60px rgba(10, 12, 20, 0.12);
  transform: translateY(-6px);
}

.env-features i {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 20px;
  background: #f5f7f3;
}

.env-image,
.env-copy,
.env-features article {
  opacity: 0;
}

.env-image {
  transform: translateX(-38px);
}

.env-copy,
.env-features article {
  transform: translateY(32px);
}

.environment.is-visible .env-image,
.environment.is-visible .env-copy,
.environment.is-visible .env-features article {
  opacity: 1;
  transform: translate(0);
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.environment.is-visible .env-copy {
  transition-delay: 0.1s;
}

.environment.is-visible .env-features article:nth-child(1) {
  transition-delay: 0.18s;
}

.environment.is-visible .env-features article:nth-child(2) {
  transition-delay: 0.25s;
}

.environment.is-visible .env-features article:nth-child(3) {
  transition-delay: 0.32s;
}

.green {
  color: #4caf50;
}

.pink {
  color: #e25a7d;
}

.gold {
  color: #d9a526;
}

.cta {
  position: relative;
  z-index: 3;
  margin-bottom: -72px;
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 245px;
  gap: 36px;
  align-items: center;
  width: min(100% - 72px, 1180px);
  min-height: 160px;
  margin-inline: auto;
  padding: 46px 58px;
  overflow: visible;
  border-radius: 34px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 28px 55px rgba(227, 6, 19, 0.24);
  opacity: 0;
  transform: translateY(42px);
}

.cta.is-visible .cta-banner {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 34px;
  top: 42px;
  width: 96px;
  height: 96px;
  opacity: 0.25;
  background-image: radial-gradient(#fff 2px, transparent 2px);
  background-size: 16px 16px;
}

.cta-banner h2 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(26px, 3.2vw, 40px);
}

.cta-banner p {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.9;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

.cta-banner img {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 0;
  width: min(305px, 27vw);
  max-height: 292px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 22px rgba(83, 5, 9, 0.18));
}

.contact-section {
  position: relative;
  padding: 124px 0 56px;
  background:
    radial-gradient(circle at 12% 0%, rgba(227, 6, 19, 0.14), transparent 26%),
    linear-gradient(135deg, #08090b 0%, #17191f 58%, #0b0c10 100%);
}

.contact-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 42px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.contact-heading {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffe4e7;
  background: rgba(227, 6, 19, 0.28);
  box-shadow: 0 10px 30px rgba(227, 6, 19, 0.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.contact-heading h2 {
  color: #fff8f5;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.48);
}

.contact-heading h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--red);
}

.contact-heading p {
  max-width: 650px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.65;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.contact-card {
  min-height: 124px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: inherit;
  background: rgba(255, 255, 255, 0.075);
  text-align: center;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(227, 6, 19, 0.42);
  background: rgba(227, 6, 19, 0.14);
}

.contact-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 4px;
}

.contact-cards i {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 24px;
}

.contact-cards h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.contact-card:hover span,
.contact-card:focus-visible span {
  color: var(--white);
}

.contact-map-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: stretch;
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-radius: 18px;
  background: var(--white);
  color: var(--black);
}

.contact-map-copy h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.15;
}

.contact-map-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.map-arrow-cue {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 34px rgba(227, 6, 19, 0.26);
  font-size: 20px;
}

.contact-map {
  min-height: 240px;
  overflow: hidden;
  border-radius: 18px;
  background: #11131a;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
  filter: saturate(0.95) contrast(1.02);
}

.footer {
  padding: 88px 0 0;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 14% 10%, rgba(227, 6, 19, 0.2), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #050607 0%, #11131a 48%, #07080b 100%);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 64px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.1);
  filter: blur(10px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.9fr 0.8fr 1.25fr;
  gap: 48px;
  padding-bottom: 52px;
}

.footer-grid,
.footer-bottom {
  opacity: 0;
  transform: translateY(34px);
}

.footer.is-visible .footer-grid,
.footer.is-visible .footer-bottom {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.68s ease,
    transform 0.78s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer.is-visible .footer-bottom {
  transition-delay: 0.12s;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.footer-logo img {
  display: block;
  width: 168px;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  width: min(340px, 100%);
  margin: 24px 0 22px;
  font-size: 13px;
  line-height: 1.8;
}

.footer h3 {
  position: relative;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.footer h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 11px;
  border-radius: 99px;
  background: var(--red);
}

.footer a,
.footer p {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease, text-shadow 0.24s ease;
}

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

.footer-grid > div:not(.footer-brand) a {
  width: fit-content;
  margin-left: -8px;
  padding: 2px 8px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.68);
  transform-origin: left center;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--white);
  background: rgba(227, 6, 19, 0.18);
  text-shadow: 0 0 18px rgba(227, 6, 19, 0.42);
  transform: translateX(4px) scale(1.06);
}

.footer p i {
  width: 24px;
  color: var(--red);
}

.footer-contact p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 0;
}

.footer-contact p i {
  padding-top: 3px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.socials a:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a {
  display: inline-block;
  margin: 0;
  font-size: 12px;
}

.footer-bottom a + a {
  margin-left: 26px;
}

.footer-legal {
  display: grid;
  gap: 8px;
}

.footer-credit-line {
  color: rgba(255, 255, 255, 0.76);
}

.footer-credit-line .developer-logo {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0 0 0 6px;
  color: inherit;
  font: inherit;
  line-height: inherit;
  vertical-align: middle;
}

.footer-credit-line .developer-logo img {
  width: 174px;
  max-height: 28px;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.footer-credit-line .developer-logo:hover {
  color: var(--white);
}

@media (max-width: 1100px) {
  .navbar {
    grid-template-columns: minmax(150px, auto) 1fr auto;
    gap: 16px;
  }

  .brand img {
    width: 116px;
    height: 54px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 14px;
    font-weight: 500;
  }

  .nav-actions .btn {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn {
    padding-inline: 18px;
  }

  .stats-card {
    gap: 18px;
    transform: none;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .stat-item {
    width: auto;
    min-height: 190px;
    padding: 30px 20px 24px;
  }

  .stat-item i {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    font-size: 25px;
  }

  .stat-item strong {
    font-size: 34px;
  }

  .stat-item span {
    font-size: 13px;
  }

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

@media (min-width: 700px) and (max-width: 1100px) {
  .hero {
    min-height: 620px;
    height: min(68svh, 720px);
    max-height: 720px;
    overflow: hidden;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at 24% 50%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 35%, rgba(0, 0, 0, 0.28) 60%, transparent 82%),
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.98) 33%, rgba(0, 0, 0, 0.62) 58%, rgba(0, 0, 0, 0.18) 82%, transparent 100%);
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-inner {
    min-height: 620px;
    padding-top: clamp(132px, 13svh, 166px);
    padding-bottom: 180px;
  }

  .hero-copy {
    width: min(500px, 72%);
  }

  .hero h1 {
    font-size: clamp(50px, 5.9vw, 64px);
  }

  .hero-text {
    width: min(380px, 100%);
    margin: 24px 0 24px;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding-inline: 18px;
  }

  .hero-scroll-cue {
    position: absolute;
    z-index: 8;
    right: clamp(24px, 5vw, 54px);
    bottom: clamp(132px, 12svh, 154px);
  }

  .hero-scroll-device {
    width: 38px;
    height: 106px;
  }

  .hero-scroll-cue.is-hidden {
    opacity: 0;
    visibility: hidden;
  }

  .stats-wrap {
    z-index: 10;
    margin-top: -82px;
    padding-bottom: 46px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 860px);
    margin-inline: auto;
  }

  .stat-item {
    min-height: 136px;
    padding: 20px 14px 18px;
    border-color: rgba(14, 18, 27, 0.08);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 254, 0.95));
    box-shadow: 0 18px 46px rgba(10, 12, 20, 0.14);
    opacity: 1;
    transform: none;
  }

  .stat-item::after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 3px;
    border-radius: 99px 99px 0 0;
    background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.92), transparent);
    opacity: 0.78;
  }

  .stat-item i {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--white);
    background: var(--red);
    box-shadow: 0 12px 26px rgba(227, 6, 19, 0.24);
    font-size: 17px;
    opacity: 1;
  }

  .stat-item strong {
    font-size: 28px;
  }

  .stat-item span {
    max-width: 150px;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  .journey {
    margin-top: -8px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .navbar {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .brand img {
    width: 112px;
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .btn.nav-mobile-plus-two {
    display: inline-flex;
    width: 112px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 11px;
    gap: 7px;
  }

  .nav-panel {
    position: fixed;
    z-index: 80;
    top: 74px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 22px;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links,
  .nav-actions {
    display: grid;
    gap: 14px;
  }

  .nav-links a {
    display: block;
    padding: 10px 4px;
    font-size: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-actions .nav-plus-two {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero {
    height: 100svh;
    max-height: 820px;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at 24% 50%, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.24) 62%, transparent 84%),
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.96) 36%, rgba(0, 0, 0, 0.62) 58%, rgba(0, 0, 0, 0.2) 78%, transparent 100%);
  }

  .hero-inner {
    min-height: min(100svh, 820px);
    padding-top: clamp(132px, 17svh, 168px);
    padding-bottom: 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.04) 58%, rgba(0, 0, 0, 0.1));
  }

  .hero-audio-toggle {
    top: 15px;
    right: 72px;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .journey-grid,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .why-top {
    max-width: 640px;
  }

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

  .stats-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .stat-item {
    min-height: 176px;
    padding: 26px 16px 22px;
    border-radius: 24px;
  }

  .section-heading.centered {
    margin-bottom: 24px;
  }

  .journey {
    padding-top: 164px;
    min-height: auto;
  }

  .journey::before {
    height: 164px;
    clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
    filter: drop-shadow(0 8px 12px rgba(4, 5, 8, 0.1));
  }

  .journey::after {
    display: none;
  }

  .journey .section-heading.centered {
    top: 26px;
  }

  .journey-grid {
    min-height: auto;
    gap: 0;
  }

  .journey-grid::before,
  .journey-grid::after {
    display: none;
  }

  .program-content,
  .pg .program-content {
    inset: 0 auto 0 0;
    align-items: flex-start;
    justify-items: start;
    grid-template-rows: auto minmax(74px, auto) auto;
    row-gap: 22px;
    width: min(440px, 86%);
    padding: 54px 0 42px 34px;
    text-align: left;
  }

  .pg .program-content h3::after {
    margin-left: 0;
  }

  .pg .program-content p,
  .pg .program-content a {
    justify-self: start;
  }

  .program-card.ug,
  .program-card.pg {
    border-radius: 0;
  }

  .program-card.ug::before,
  .program-card.pg::before {
    display: none;
  }

  .campus {
    padding: 72px 0 84px;
  }

  .campus .container,
  .campus-carousel {
    width: min(100% - 32px, 720px);
  }

  .campus-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
  }

  .campus-track {
    grid-auto-columns: minmax(230px, 42vw);
  }

  .gallery-heading {
    margin-bottom: 24px;
  }

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

  .gallery-featured {
    min-height: 430px;
  }

  .gallery-thumbs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 1fr);
    grid-template-columns: none;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 10px;
  }

  .gallery-action {
    display: flex;
    justify-content: center;
  }

  .gallery-more-btn {
    grid-column: auto;
  }

  .gallery-modal {
    padding: 0;
  }

  .gallery-modal-dialog {
    height: 100vh;
    height: 100dvh;
    max-height: none;
    overflow: hidden;
    border-radius: 0;
    padding: 26px 18px 18px;
  }

  .gallery-modal-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .gallery-modal-head {
    padding-right: 60px;
  }

  .gallery-modal-filters {
    gap: 8px;
    margin-bottom: 14px;
    padding-right: 0;
  }

  .gallery-modal-filter {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .gallery-modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .gallery-modal-thumbs {
    order: 2;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 34vw);
    grid-template-columns: none;
    grid-auto-rows: 112px;
    max-height: 122px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 10px;
  }

  .gallery-modal-preview {
    order: 1;
    width: min(100%, calc(100dvh - 290px));
    justify-self: center;
    min-height: 0;
  }

  .env-image {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 320px;
    margin: 0 auto 36px;
    border-radius: 18px;
  }

  .env-image::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.24));
  }

  .env-content {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .env-copy {
    grid-column: 1;
    margin-top: 0;
    padding-bottom: 18px;
  }

  .env-features {
    grid-column: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
  }

  .contact-section {
    padding: 108px 0 52px;
  }

  .cta {
    margin-bottom: -56px;
  }

  .contact-cards,
  .contact-map-wrap {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 280px;
    padding: 34px;
    overflow: hidden;
  }

  .cta-banner img {
    right: -8px;
    width: 215px;
    max-height: 232px;
    opacity: 0.88;
  }

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

@media (min-width: 700px) and (max-width: 900px) {
  .container {
    width: min(100% - 56px, 760px);
  }

  .hero,
  .hero-inner {
    min-height: 700px;
  }

  .hero {
    max-height: 780px;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-inner {
    padding-top: clamp(132px, 15svh, 156px);
    padding-bottom: 118px;
  }

  .hero-copy {
    width: min(500px, 72%);
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 64px);
  }

  .hero-text {
    width: min(380px, 100%);
  }

  .stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .stat-item {
    min-height: 166px;
    padding: 22px 14px 18px;
  }

  .journey {
    padding-top: 0;
    min-height: 570px;
  }

  .journey::before {
    height: 218px;
    clip-path: polygon(0 0, 100% 0, 100% 12%, 56% 100%, 44% 100%, 0 10%);
  }

  .journey::after {
    display: block;
    top: 112px;
    width: 140px;
    height: 96px;
  }

  .journey .section-heading.centered {
    top: 44px;
  }

  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 570px;
  }

  .journey-grid::after {
    display: block;
  }

  .program-card {
    min-height: 570px;
  }

  .program-card.ug {
    border-top-right-radius: 104px 82px;
  }

  .program-card.pg {
    border-top-left-radius: 104px 82px;
  }

  .program-content {
    inset: 0 auto 0 0;
    grid-template-rows: auto minmax(90px, auto) auto;
    row-gap: 20px;
    width: min(330px, 82%);
    padding: 214px 0 40px 30px;
  }

  .pg .program-content {
    inset: 0 0 0 auto;
    align-items: flex-start;
    justify-items: end;
    padding: 214px 30px 40px 0;
    text-align: right;
  }

  .program-content h3 {
    font-size: clamp(31px, 4.2vw, 38px);
  }

  .program-content p {
    font-size: 13px;
    line-height: 1.65;
  }

  .pg .program-content h3::after {
    margin-left: auto;
  }

  .pg .program-content p,
  .pg .program-content a {
    justify-self: end;
  }

  .why-layout {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: 28px;
  }

  .why-top {
    max-width: 310px;
  }

  .why-top h2 {
    font-size: clamp(34px, 4.8vw, 42px);
  }

  .why-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }

  .why-top > p:not(.eyebrow),
  .about-more p {
    font-size: 13px;
    line-height: 1.7;
  }

  .feature-row {
    gap: 14px;
    width: 100%;
  }

  .feature-card {
    padding: 18px;
  }

  .feature-card:nth-child(5) {
    min-width: 148px;
    padding: 18px;
  }

  .feature-card i {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
  }

  .feature-card h3 {
    font-size: 14px;
  }

  .feature-card p {
    font-size: 11px;
  }

  .campus .container,
  .campus-carousel {
    width: min(100% - 56px, 760px);
  }

  .campus-track {
    grid-auto-columns: minmax(240px, 38vw);
  }

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

  .contact-map-wrap {
    grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.22fr);
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 70px;
  }

  .container {
    width: min(100% - 28px, 430px);
  }

  .navbar {
    min-height: 68px;
  }

  .brand img {
    width: 92px;
    height: 44px;
  }

  .brand strong {
    font-size: 14px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .btn.nav-mobile-plus-two {
    top: 13px;
    right: 116px;
    width: 92px;
    min-height: 42px;
    padding: 0 9px;
    font-size: 10px;
    gap: 5px;
  }

  .nav-panel {
    top: 68px;
    left: 10px;
    right: 10px;
    gap: 16px;
    max-height: calc(100dvh - 80px);
    padding: 18px;
    border-radius: 16px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    min-height: 40px;
    padding: 8px 2px;
    font-size: 14px;
  }

  .nav-actions .btn {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
  }

  .nav-actions .nav-apply {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: max(100svh, 640px);
  }

  .hero {
    height: auto;
    max-height: none;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at 35% 48%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 46%, transparent 82%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.74) 58%, rgba(0, 0, 0, 0.34) 100%);
  }

  .hero-bg {
    object-position: 58% center;
  }

  .hero-inner {
    min-height: max(100svh, 640px);
    padding-top: clamp(146px, 22svh, 178px);
    padding-bottom: 118px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 0;
  }

  .hero-audio-toggle {
    top: 13px;
    right: 68px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 5px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    width: min(100%, 330px);
    margin: 22px 0 24px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions,
  .nav-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-actions {
    gap: 12px;
    width: 100%;
    justify-items: center;
    margin-inline: auto;
  }

  .hero-mobile-apply {
    display: inline-flex;
  }

  .hero-actions .btn {
    width: min(100%, 340px);
    min-height: 48px;
    padding-inline: 16px;
    justify-content: center;
    text-align: center;
  }

  .stats-wrap {
    margin-top: -220px;
    padding-bottom: 34px;
  }

  .stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(360px, 100%);
    margin-inline: auto;
  }

  .stat-item {
    min-height: 96px;
    padding: 9px 4px 8px;
    border-radius: 16px;
  }

  .stat-item i {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    font-size: 13px;
  }

  .stat-item strong {
    font-size: 20px;
  }

  .stat-item span {
    max-width: 94px;
    margin-top: 5px;
    font-size: 8.5px;
    line-height: 1.2;
  }

  @media (max-width: 380px) {
    .hero h1 {
      font-size: 38px;
    }

    .hero .eyebrow {
      letter-spacing: 3px;
    }

    .hero-actions .btn {
      font-size: 12px;
    }
  }

  .program-card {
    min-height: 390px;
  }

  .program-content h3 {
    font-size: 26px;
  }

  .program-content p {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
  }

  .program-content a {
    width: 42px;
    height: auto;
    min-width: 42px;
    min-height: 0;
    inline-size: 42px;
    block-size: auto;
    padding: 13px;
    font-size: 14px;
  }

  .why-top {
    max-width: 100%;
  }

  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-card,
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4) {
    aspect-ratio: auto;
    min-height: 126px;
    padding: 14px 12px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .feature-card:nth-child(5) {
    position: relative;
    grid-column: 1 / -1;
    top: auto;
    left: auto;
    width: auto;
    min-width: 0;
    min-height: 138px;
    padding: 16px 14px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateY(34px);
  }

  .feature-card i {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .feature-card:nth-child(5) i {
    margin-bottom: 12px;
  }

  .feature-card h3 {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.25;
  }

  .feature-card p {
    font-size: 10px;
    line-height: 1.45;
  }

  .feature-card:nth-child(5):hover {
    transform: translateY(0);
  }

  .why.is-visible .feature-card:nth-child(5) {
    transform: translateY(0);
  }

  .why.is-visible .feature-card:hover,
  .why.is-visible .feature-card:nth-child(5):hover {
    transform: translateY(0);
  }

  .section-pad {
    padding: 56px 0;
  }

  .campus {
    padding: 52px 0 34px;
  }

  .campus .container,
  .campus-carousel {
    width: min(100% - 28px, 430px);
  }

  .campus-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .campus-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .campus h2 {
    font-size: 33px;
  }

  .campus-eyebrow {
    font-size: 10px;
    letter-spacing: 5px;
  }

  .campus-intro {
    font-size: 14px;
    line-height: 1.65;
  }

  .campus-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .campus-track {
    grid-auto-columns: minmax(215px, 72vw);
    gap: 12px;
  }

  .campus-card {
    min-height: 300px;
  }

  .campus-card div {
    left: 22px;
    right: 22px;
    bottom: 24px;
  }

  .campus-card h3 {
    font-size: 22px;
  }

  .gallery {
    padding-top: 34px;
  }

  .gallery-heading {
    margin-bottom: 18px;
  }

  .gallery-eyebrow {
    font-size: 11px;
    letter-spacing: 5px;
  }

  .gallery-heading h2 {
    font-size: 30px;
  }

  .gallery-heading p:not(.gallery-eyebrow) {
    font-size: 15px;
  }

  .gallery-featured {
    min-height: 300px;
    border-radius: 18px;
  }

  .gallery-featured-caption {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .gallery-featured-caption span {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .gallery-featured-caption h3 {
    font-size: 28px;
  }

  .gallery-thumbs {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .gallery-thumb {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 66px;
    padding: 8px;
    gap: 9px;
    border-radius: 12px;
  }

  .gallery-thumb img {
    width: 68px;
    height: 50px;
    border-radius: 8px;
  }

  .gallery-thumb span {
    font-size: 11px;
    line-height: 1.25;
  }

  .gallery-more-btn {
    min-height: 52px;
    padding-left: 22px;
    font-size: 13px;
  }

  .gallery-modal-dialog {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 24px 14px 14px;
  }

  .gallery-modal-head {
    margin-bottom: 20px;
    padding-right: 54px;
  }

  .gallery-modal-head p {
    font-size: 11px;
    letter-spacing: 5px;
  }

  .gallery-modal-head h2 {
    font-size: 31px;
  }

  .gallery-modal-filters {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: none;
  }

  .gallery-modal-filters::-webkit-scrollbar {
    display: none;
  }

  .gallery-modal-filter {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .gallery-modal-preview {
    width: min(100%, 320px);
    min-height: 0;
    border-radius: 16px;
  }

  .gallery-modal-body {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    align-content: start;
  }

  .gallery-modal-preview figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 13px 16px;
    font-size: 15px;
  }

  .gallery-modal-thumbs {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 76px;
    max-height: 164px;
    gap: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 4px 0 0;
  }

  .environment {
    display: grid;
    justify-items: center;
    padding: 56px 0;
  }

  .env-image {
    order: 2;
    width: min(100% - 44px, 386px);
    height: 230px;
    margin: 20px auto 22px;
    justify-self: center;
  }

  .env-content {
    display: contents;
  }

  .env-copy {
    order: 1;
    width: min(100% - 28px, 430px);
    margin-inline: auto;
    padding-bottom: 0;
  }

  .env-copy h2 {
    font-size: 34px;
  }

  .env-copy > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .env-features {
    order: 3;
    width: min(100% - 28px, 430px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-inline: auto;
  }

  .env-features article {
    min-height: auto;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .env-features article:nth-child(3) {
    grid-column: 1 / -1;
    padding: 16px 14px;
  }

  .env-features i {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    font-size: 15px;
  }

  .env-features h3 {
    font-size: 13px;
    line-height: 1.25;
  }

  .env-features p {
    font-size: 10px;
    line-height: 1.45;
  }

  .contact-section {
    padding: 86px 0 42px;
  }

  .cta {
    margin-bottom: -44px;
  }

  .contact-panel {
    border-radius: 20px;
    padding: 24px 16px;
  }

  .contact-heading {
    margin-bottom: 22px;
  }

  .contact-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .contact-heading h2 {
    font-size: 30px;
  }

  .contact-heading p {
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-card {
    min-height: 106px;
    padding: 14px 10px;
    border-radius: 14px;
  }

  .contact-card:nth-child(3) {
    grid-column: 1 / -1;
    width: calc((100% - 10px) / 2);
    justify-self: center;
  }

  .contact-cards i {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .contact-cards h3 {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .contact-card span {
    font-size: 10px;
    line-height: 1.35;
  }

  .contact-map-wrap {
    display: block;
  }

  .contact-map-copy {
    display: none;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 220px;
  }

  .cta-banner {
    min-height: 270px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 14px;
    border-radius: 24px;
    padding: 26px 22px;
  }

  .cta-banner .btn {
    width: fit-content;
  }

  .cta-banner p {
    max-width: 210px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .cta-copy span {
    display: block;
  }

  .cta-banner > div,
  .cta-banner .btn {
    position: relative;
    z-index: 4;
  }

  .cta-banner img {
    z-index: 2;
    right: -10px;
    width: 205px;
    max-height: 226px;
    opacity: 0.88;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-links {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-contact {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-programs {
    grid-column: 1;
    grid-row: 3;
  }

  .footer-facilities {
    grid-column: 2;
    grid-row: 3;
  }

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

  .footer-bottom > div:last-child {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    align-items: center;
  }

  .footer-bottom > div:last-child a {
    white-space: nowrap;
  }

  .footer-bottom a + a {
    margin-left: 0;
  }
}

.appointment-modal {
  position: fixed;
  z-index: 112;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.appointment-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.appointment-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.76);
  backdrop-filter: blur(8px);
}

.appointment-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 48px));
  max-height: min(92vh, 820px);
  overflow-y: auto;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.08), transparent 38%),
    var(--white);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.36);
  transform: translateY(22px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}

.appointment-dialog::-webkit-scrollbar,
.time-options::-webkit-scrollbar {
  width: 7px;
}

.appointment-dialog::-webkit-scrollbar-thumb,
.time-options::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--red);
}

.appointment-modal.is-open .appointment-dialog {
  transform: translateY(0) scale(1);
}

.appointment-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--black);
  font-family: inherit;
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.appointment-close:hover {
  transform: rotate(90deg) scale(1.04);
  background: var(--red);
}

.appointment-head {
  padding-right: 58px;
  margin-bottom: 24px;
}

.appointment-head p {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.appointment-head h2 {
  color: var(--black);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.appointment-form {
  display: grid;
  gap: 20px;
}

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

.appointment-form label,
.time-field legend {
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: rgba(227, 6, 19, 0.72);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.appointment-form textarea {
  min-height: 108px;
  padding-top: 13px;
  resize: vertical;
}

.phone-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
}

.appointment-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 16px;
  background: rgba(247, 248, 251, 0.72);
}

.time-field {
  min-width: 0;
  border: 1px solid #e6e8ee;
  border-radius: 18px;
  padding: 16px;
  background: rgba(247, 248, 251, 0.72);
}

.time-field legend {
  padding: 0 8px;
}

.time-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 172px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}

.time-options label {
  position: relative;
  display: block;
  min-height: 48px;
  cursor: pointer;
}

.time-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.time-options span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.time-options input:checked + span {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.22);
}

.reason-field {
  display: block;
}

.appointment-submit {
  width: fit-content;
  min-width: 220px;
}

@media (max-width: 900px) {
  .appointment-modal {
    padding: 16px;
  }

  .appointment-dialog {
    width: min(680px, calc(100vw - 32px));
    max-height: 92vh;
    border-radius: 22px;
    padding: 30px 22px;
  }

  .appointment-grid,
  .appointment-slot-grid,
  .time-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .appointment-modal {
    padding: 10px;
  }

  .appointment-dialog {
    width: calc(100vw - 20px);
    max-height: 94vh;
    padding: 26px 16px 18px;
    border-radius: 20px;
  }

  .appointment-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .appointment-head {
    padding-right: 50px;
  }

  .appointment-head p {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .appointment-head h2 {
    font-size: 29px;
  }

  .phone-row {
    grid-template-columns: 98px 1fr;
  }

  .time-options {
    max-height: 214px;
  }

  .appointment-submit {
    width: 100%;
  }
}

.management-modal {
  position: fixed;
  z-index: 105;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.management-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.management-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(227, 6, 19, 0.2), transparent 26%),
    rgba(5, 6, 9, 0.76);
  backdrop-filter: blur(9px);
}

.management-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 56px));
  max-height: calc(100svh - 58px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(22px, 2.4vw, 30px) clamp(36px, 4vw, 52px) clamp(28px, 2.8vw, 38px);
  border: 1px solid rgba(227, 6, 19, 0.09);
  border-radius: 26px;
  color: var(--black);
  background:
    linear-gradient(140deg, rgba(227, 6, 19, 0.025), transparent 44%),
    #fff;
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.38);
  transform: translateY(22px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 6, 19, 0.42) transparent;
}

.management-dialog::-webkit-scrollbar {
  width: 7px;
}

.management-dialog::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(227, 6, 19, 0.42);
}

.management-dialog::before,
.management-dialog::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.management-dialog::before {
  right: -72px;
  top: 132px;
  width: 360px;
  height: 258px;
  border-radius: 50%;
  opacity: 0.16;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 11px, rgba(227, 6, 19, 0.42) 12px 13px, transparent 14px 22px);
  transform: rotate(-14deg);
  animation: managementWaveDrift 9s ease-in-out infinite;
}

.management-dialog::after {
  left: 60%;
  top: 36%;
  width: 112px;
  height: 112px;
  opacity: 0.08;
  background-image: radial-gradient(var(--red) 2px, transparent 2px);
  background-size: 15px 15px;
  animation: managementDotsFloat 7s ease-in-out infinite;
}

.management-modal.is-open .management-dialog {
  transform: translateY(0) scale(1);
}

.management-close {
  position: absolute;
  z-index: 8;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--black);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(10, 12, 20, 0.12);
  cursor: pointer;
  font-size: 17px;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.management-close:hover {
  color: var(--white);
  background: var(--red);
  transform: rotate(90deg) scale(1.04);
}

.management-brand {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  margin-bottom: clamp(12px, 1.7vw, 18px);
  text-align: center;
}

.management-logo {
  width: clamp(76px, 7.2vw, 94px);
  height: auto;
  margin-bottom: 8px;
  object-fit: contain;
  animation: managementLogoFloat 5s ease-in-out infinite;
}

.management-brand h2 {
  position: relative;
  margin: 0;
  color: var(--black);
  font-size: clamp(30px, 3.55vw, 42px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.management-brand h2 span {
  color: #c91f26;
}

.management-brand h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: #c91f26;
}

.management-body {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 0;
}

.management-copy {
  position: relative;
  max-width: 720px;
  padding-left: 34px;
}

.management-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 1px;
  height: calc(100% - 12px);
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.2), rgba(201, 31, 38, 0.18));
}

.management-eyebrow {
  position: relative;
  width: fit-content;
  margin-bottom: 12px;
  color: #5d6470;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.management-eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 8px;
  border-radius: 99px;
  background: #c91f26;
}

.management-copy h3 {
  margin: 0;
  max-width: 470px;
  color: var(--black);
  font-size: clamp(24px, 2.24vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.management-copy h3 span {
  color: inherit;
  text-transform: none;
}

.management-copy h3 span:last-child {
  color: #c91f26;
}

.management-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 470px;
  margin-top: 16px;
}

.management-note i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #c91f26;
  background: rgba(201, 31, 38, 0.09);
  font-size: 16px;
}

.management-note p {
  margin: 0;
  color: #4f5968;
  font-size: 13px;
  line-height: 1.5;
}

.management-highlights {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
  margin-top: clamp(14px, 1.8vw, 20px);
}

.management-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(201, 31, 38, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(10, 12, 20, 0.07);
  animation: managementCardFloat 7s ease-in-out infinite;
}

.management-card:nth-child(2) {
  animation-delay: -1.2s;
}

.management-card:nth-child(3) {
  animation-delay: -2.4s;
}

.management-card:nth-child(4) {
  animation-delay: -3.6s;
}

.management-card i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: #c91f26;
  background: rgba(201, 31, 38, 0.09);
  font-size: 18px;
}

.management-card h3 {
  margin: 1px 0 6px;
  color: var(--black);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.management-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 7px;
  border-radius: 99px;
  background: #c91f26;
}

.management-card p {
  grid-column: 2;
  margin: 0;
  color: #4f5968;
  font-size: 11px;
  line-height: 1.42;
}

.management-quote {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  column-gap: clamp(16px, 2vw, 24px);
  width: min(760px, 100%);
  margin: clamp(16px, 1.9vw, 22px) auto 0;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.45vw, 18px);
  font-style: italic;
  text-align: center;
}

.management-quote::before,
.management-quote::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 18, 27, 0.2));
}

.management-quote::after {
  background: linear-gradient(90deg, rgba(14, 18, 27, 0.2), transparent);
}

.management-quote-text {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 22px);
  color: var(--black);
  line-height: 1.2;
  white-space: nowrap;
}

.management-quote-text::before,
.management-quote-text::after {
  color: #c91f26;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.6vw, 38px);
  font-style: normal;
  font-weight: 700;
  line-height: 0.7;
}

.management-quote-text::before {
  content: "\201C";
}

.management-quote-text::after {
  content: "\201D";
}

.management-quote em {
  color: #c91f26;
  font-style: inherit;
}

@keyframes managementCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes managementLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes managementGlowPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes managementWaveDrift {
  0%,
  100% {
    transform: translateY(0) rotate(-14deg);
  }

  50% {
    transform: translateY(16px) rotate(-10deg);
  }
}

@keyframes managementDotsFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-dot,
  .hero-scroll-runner,
  .management-dialog::before,
  .management-dialog::after,
  .management-logo,
  .management-card {
    animation: none;
  }
}

@media (max-width: 620px) {
  .hero-scroll-cue {
    right: 14px;
    bottom: 86px;
  }

  .hero-scroll-device {
    width: 32px;
    height: 88px;
  }

  .hero-scroll-dot {
    bottom: 9px;
    width: 14px;
    height: 32px;
  }
}

@media (max-width: 900px) {
  .management-modal {
    padding: 18px;
  }

  .management-dialog {
    width: min(720px, calc(100vw - 36px));
    max-height: 92vh;
    overflow-y: auto;
    padding: 32px 24px 30px;
    border-radius: 22px;
  }

  .management-copy {
    max-width: 100%;
    padding-left: 28px;
  }

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

@media (max-width: 620px) {
  .management-modal {
    padding: 10px;
  }

  .management-dialog {
    width: calc(100vw - 20px);
    max-height: 94vh;
    overflow-y: auto;
    padding: 28px 18px;
    border-radius: 20px;
  }

  .management-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .management-logo {
    width: 88px;
    margin-bottom: 10px;
  }

  .management-brand h2 {
    font-size: 30px;
  }

  .management-copy {
    padding-left: 20px;
  }

  .management-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .management-copy h3 {
    font-size: 27px;
    line-height: 1.18;
  }

  .management-note {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .management-note i {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .management-highlights {
    grid-template-columns: 1fr;
  }

  .management-card {
    min-height: 0;
    padding: 16px;
  }

  .management-quote {
    grid-template-columns: minmax(18px, 1fr) auto minmax(18px, 1fr);
    column-gap: 10px;
    font-size: 16px;
  }

  .management-quote-text {
    gap: 10px;
    white-space: normal;
  }

  .management-quote-text::before,
  .management-quote-text::after {
    font-size: 28px;
  }
}

body.modal-open,
body.appointment-modal-open,
body.management-modal-open,
body.program-modal-open,
body.sound-modal-open {
  overflow: hidden;
}

body.gallery-modal-open {
  overflow: hidden;
}

body.popup-open {
  overflow: hidden;
}

.admission-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.admission-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.admission-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.78);
  backdrop-filter: blur(8px);
}

.admission-dialog {
  position: relative;
  z-index: 1;
  width: min(95vw, 1240px);
  max-height: min(92vh, 980px);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  transform: translateY(28px) scale(0.985);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.admission-modal.is-open .admission-dialog {
  transform: translateY(0) scale(1);
}

.admission-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(227, 6, 19, 0.32);
  cursor: pointer;
  font-size: 20px;
}

.admission-form {
  max-height: min(92vh, 980px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding: clamp(28px, 4vw, 58px);
  background:
    radial-gradient(circle at 8% 0%, rgba(227, 6, 19, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff9fa 100%);
}

.admission-hero {
  display: grid;
  justify-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.admission-hero p {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.admission-hero h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.admission-hero > span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.photo-upload {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin-top: 28px;
  border: 1px dashed rgba(227, 6, 19, 0.42);
  border-radius: 24px;
  color: var(--red);
  background: #fff4f5;
  cursor: pointer;
  overflow: hidden;
}

.photo-upload input {
  display: none;
}

.photo-upload i {
  margin-bottom: 10px;
  font-size: 34px;
}

.photo-upload strong {
  font-size: 13px;
}

.photo-preview {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload.has-preview {
  border-style: solid;
  background: #fff;
}

.photo-upload.has-preview .photo-preview {
  display: block;
}

.photo-upload.has-preview i,
.photo-upload.has-preview strong {
  display: none;
}

.form-card {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(227, 6, 19, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 54px rgba(10, 12, 20, 0.08);
}

.form-section-title {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.form-section-title span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.form-section-title h3 {
  color: var(--red);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
}

.form-section-title::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 6, 19, 0.36), transparent);
}

.form-card h4 {
  margin: 22px 0 14px;
  color: var(--black);
  font-size: 15px;
  font-weight: 800;
}

.form-grid,
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: start;
}

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

.span-2 {
  grid-column: 1 / -1;
}

.admission-form label {
  display: grid;
  align-content: start;
  gap: 8px;
  color: #20242d;
  font-size: 13px;
  font-weight: 700;
}

.admission-form .photo-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.admission-form .photo-upload i {
  margin-bottom: 0;
}

.admission-form small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #e7e9ee;
  border-radius: 14px;
  color: var(--ink);
  background: #fbfcfe;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admission-form textarea {
  min-height: 112px;
  resize: vertical;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
  border-color: rgba(227, 6, 19, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.08);
}

.admission-form select:disabled {
  color: #9aa1ad;
  cursor: not-allowed;
}

.upload-grid label,
.payment-copy label {
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(227, 6, 19, 0.16);
  border-radius: 16px;
  background: #fff8f9;
}

.upload-grid label {
  justify-content: stretch;
}

.upload-grid input,
.payment-copy input,
.form-grid input[type="file"] {
  align-self: end;
  padding: 11px;
  background: #fff;
}

.document-group + h4,
.masters-documents h4 {
  margin-top: 26px;
}

.field-error {
  margin-top: -2px;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: rgba(227, 6, 19, 0.68);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.08);
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: stretch;
}

.qr-box {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px dashed rgba(227, 6, 19, 0.32);
  border-radius: 22px;
  color: var(--red);
  background: #fff4f5;
}

.qr-box i {
  font-size: 92px;
}

.qr-box span {
  margin-top: -34px;
  font-weight: 800;
}

.payment-copy {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(227, 6, 19, 0.1);
}

.payment-copy h4 {
  margin-top: 0;
  color: var(--red);
  font-size: 22px;
}

.payment-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px 20px;
  color: #343946;
  font-size: 15px;
  line-height: 1.6;
}

.declaration-card p {
  color: #343946;
  font-size: 15px;
  line-height: 1.75;
}

.declaration-check {
  display: flex !important;
  align-items: center;
  grid-template-columns: auto 1fr;
  margin: 20px 0;
}

.declaration-check input {
  width: 20px;
  min-height: 20px;
  margin-right: 10px;
  accent-color: var(--red);
}

.submit-admission {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: var(--red);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(227, 6, 19, 0.24);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.submit-admission:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.submit-admission.is-submitting:disabled {
  cursor: wait;
  opacity: 0.86;
  box-shadow: 0 18px 38px rgba(227, 6, 19, 0.18);
}

.submit-admission:not(:disabled):hover {
  transform: translateY(-2px);
}

.admission-status {
  min-height: 22px;
  margin-top: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.admission-status.success {
  color: #15803d;
}

.site-popup-ad {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 8, 0.68);
}

.site-popup-card {
  position: relative;
  width: fit-content;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.site-popup-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.site-popup-card button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 24px;
}

.site-popup-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
}

.site-popup-card strong {
  display: block;
  box-sizing: border-box;
  max-width: calc(100vw - 40px);
  padding: 16px 18px 18px;
  color: var(--black);
  font-size: 18px;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .admission-modal {
    padding: 18px;
  }

  .admission-dialog {
    width: 94vw;
    border-radius: 22px;
  }

  .admission-form {
    padding: 28px 18px;
  }

  .form-grid,
  .form-grid.compact,
  .upload-grid,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .admission-modal {
    padding: 10px;
  }

  .admission-dialog,
  .admission-form {
    max-height: 94vh;
  }

  .admission-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .admission-hero h2 {
    font-size: 32px;
  }

  .form-section-title {
    grid-template-columns: auto 1fr;
  }

  .form-section-title::after {
    grid-column: 1 / -1;
  }

  .photo-upload {
    width: 132px;
    height: 132px;
  }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 18px;
}

.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  color: var(--black);
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 48px;
  height: 2px;
  border-radius: 99px;
  background: var(--red);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.35);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-toggle.active,
.nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--red);
}

.nav-dropdown-toggle.active::after,
.nav-dropdown.is-active .nav-dropdown-toggle::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.nav-dropdown-toggle i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown.is-open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 90;
  display: grid;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(10, 12, 20, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(10, 12, 20, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  min-height: auto;
  padding: 11px 12px;
  border-radius: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--red);
  background: #fff4f5;
}

.site-header.scrolled .nav-dropdown-toggle {
  color: #22252b;
}

.site-header.scrolled .nav-dropdown-toggle:hover,
.site-header.scrolled .nav-dropdown-toggle.active,
.site-header.scrolled .nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--red);
}

.nav-actions .nav-lms {
  border-color: rgba(8, 9, 11, 0.08);
  background: linear-gradient(135deg, #15171d, #050607);
  box-shadow: 0 16px 34px rgba(8, 9, 11, 0.22);
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-login-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px !important;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px !important;
  font-weight: 800;
  transform: none !important;
}

.footer-login-btn:hover {
  background: var(--red) !important;
  border-color: var(--red);
}

.partners {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.testimonials {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.testimonials-heading,
.partners-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.testimonials-heading h2,
.partners-heading h2,
.page-hero h1,
.student-feedback-panel h2 {
  color: var(--black);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.03;
}

.testimonials-heading h2 span,
.partners-heading h2 span {
  color: var(--red);
}

.testimonials-heading p:not(.eyebrow),
.partners-heading p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.student-feedback-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.content-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
}

.partners-carousel {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.content-carousel.is-static-carousel {
  grid-template-columns: minmax(0, 1fr);
}

.partners-carousel.is-active-carousel {
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  justify-items: stretch;
}

.content-carousel.is-static-carousel .carousel-track {
  grid-column: 1;
}

.partners-carousel .partners-grid {
  grid-column: 1;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  overflow: visible;
  scroll-snap-type: none;
}

.partners-carousel.is-active-carousel .partners-grid {
  grid-column: auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
}

.testimonials-grid,
.partners-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar,
.partners-grid::-webkit-scrollbar {
  display: none;
}

.carousel-track.is-centered {
  justify-content: center;
}

.carousel-track.is-static {
  flex-wrap: wrap;
  justify-content: center;
  overflow: visible;
  scroll-snap-type: none;
}

.carousel-track.is-looping {
  overflow-x: hidden;
  justify-content: flex-start;
}

.testimonials-grid {
  justify-content: flex-start;
}

.carousel-btn {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(10, 12, 20, 0.1);
  border-radius: 50%;
  color: var(--black);
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 12, 20, 0.08);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  color: #fff;
  background: var(--red);
  transform: translateY(-2px);
}

.carousel-btn[hidden] {
  display: none;
}

.testimonial-card {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  flex: 0 0 clamp(280px, 31vw, 390px);
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(10, 12, 20, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 12, 20, 0.055);
  scroll-snap-align: center;
  text-align: center;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(227, 6, 19, 0.08), transparent 58%);
  pointer-events: none;
}

.testimonial-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 15px;
  font-weight: 900;
}

.testimonial-stars {
  position: relative;
  z-index: 1;
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  color: #343946;
  font-size: 14px;
  line-height: 1.85;
}

.testimonial-card strong,
.testimonial-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.testimonial-card strong {
  color: var(--black);
  font-size: 15px;
  font-weight: 900;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.partner-card {
  position: relative;
  display: grid;
  flex: 0 0 clamp(210px, 22vw, 270px);
  min-height: 190px;
  align-content: center;
  gap: 8px;
  place-items: center;
  padding: 26px 18px;
  border: 1px solid rgba(10, 12, 20, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 12, 20, 0.05);
  overflow: hidden;
  scroll-snap-align: center;
  text-align: center;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(227, 6, 19, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.partner-card img {
  position: relative;
  z-index: 1;
  width: min(172px, 86%);
  max-height: 104px;
  margin-inline: auto;
  object-fit: contain;
  filter: saturate(0.92);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.partner-category,
.partner-card strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.partner-category {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.partner-card strong {
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.partner-card:hover,
.partner-card:focus-visible {
  border-color: rgba(227, 6, 19, 0.2);
  box-shadow: 0 14px 34px rgba(10, 12, 20, 0.08);
  transform: translateY(-4px);
}

.partner-card:hover::before,
.partner-card:focus-visible::before,
.partner-card:hover .partner-category,
.partner-card:focus-visible .partner-category,
.partner-card:hover strong,
.partner-card:focus-visible strong {
  opacity: 1;
  transform: translateY(0);
}

.partner-card:hover img,
.partner-card:focus-visible img {
  filter: saturate(1.08);
  transform: scale(0.96);
}

.testimonials-empty,
.partners-empty,
.empty-state {
  grid-column: 1 / -1;
  flex: 1 0 100%;
  padding: 28px;
  border: 1px dashed rgba(10, 12, 20, 0.14);
  border-radius: 18px;
  color: var(--muted);
  background: #fff;
  text-align: center;
  font-weight: 700;
}

.is-filter-hidden {
  display: none !important;
}

.filter-empty-state {
  grid-column: 1 / -1;
}

.page-hero {
  padding: 164px 0 78px;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.08), transparent 42%),
    linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.compact-page-hero {
  padding-bottom: 58px;
}

.page-hero .container {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.notice-tabs,
.content-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.notice-tabs button,
.content-filter-row button,
.text-link-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.notice-tabs button,
.content-filter-row button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--ink);
  background: #f1f3f7;
  font-size: 13px;
  font-weight: 800;
}

.notice-tabs button.is-active,
.notice-tabs button:hover,
.content-filter-row button.is-active,
.content-filter-row button:hover {
  color: #fff;
  background: var(--red);
}

.team-filter-row,
.blog-filter-row {
  justify-content: center;
}

.blog-filter-row {
  width: min(430px, 100%);
  justify-content: space-between;
  margin-inline: auto;
}

.blog-filter-row button {
  min-width: 140px;
}

.notice-page .page-hero .container {
  justify-items: center;
  text-align: center;
}

.notice-grid,
.student-post-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-post-carousel .student-post-grid {
  display: flex;
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.blog-post-carousel .student-post-grid::-webkit-scrollbar {
  display: none;
}

.blog-post-carousel .student-post-card {
  flex: 0 0 clamp(280px, 31vw, 390px);
  scroll-snap-align: center;
}

.blog-post-carousel .filter-empty-state,
.blog-post-carousel .empty-state {
  flex: 1 0 100%;
}

.notice-card,
.student-post-card,
.team-card {
  overflow: hidden;
  border: 1px solid rgba(10, 12, 20, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(10, 12, 20, 0.08);
}

.notice-card,
.student-post-card {
  display: grid;
}

.notice-card img,
.student-post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.notice-card > div,
.student-post-card > div,
.team-card-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.notice-card span,
.student-post-card span,
.team-card span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.notice-card time,
.student-post-card time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.notice-card h2,
.student-post-card h2,
.team-card h2 {
  color: var(--black);
  font-size: 20px;
  line-height: 1.25;
}

.notice-card p,
.student-post-card p,
.team-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.student-post-card small,
.team-department {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.text-link-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--red);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.text-link-btn i {
  transition: transform 0.2s ease;
}

.text-link-btn:hover i {
  transform: translateX(4px);
}

.card-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.attachment-missing {
  align-self: center;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f3f4f7;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.team-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #fff4f5;
}

.team-links a:hover {
  color: #fff;
  background: var(--red);
}

.student-feedback-section {
  background: #f7f8fb;
}

.student-page .page-hero .container {
  justify-items: center;
  text-align: center;
}

.student-page .student-post-grid:not(.is-looping) {
  justify-content: center;
}

.team-page .page-hero .container {
  justify-items: center;
  text-align: center;
}

.student-page .empty-state {
  text-align: center;
}

.student-page .student-post-card > div {
  justify-items: center;
  text-align: center;
}

.student-page .student-post-card p {
  max-width: 54ch;
}

.student-page .text-link-btn {
  margin-inline: auto;
}

.student-feedback-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 62px rgba(10, 12, 20, 0.08);
}

.student-feedback-panel > div:first-child {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.student-feedback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.student-feedback-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.student-feedback-form input,
.student-feedback-form select,
.student-feedback-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #e5e7ed;
  border-radius: 13px;
  background: #fbfcfe;
  font: inherit;
}

.student-feedback-form textarea {
  min-height: 130px;
  resize: vertical;
}

.feedback-alert {
  grid-column: 1 / -1;
  padding: 13px 15px;
  border-radius: 13px;
  color: #8a0d16;
  background: #fff0f2;
  font-size: 13px;
  font-weight: 800;
}

.feedback-alert.success {
  color: #0f6b32;
  background: #e9f8ee;
}

.content-modal,
.admission-success-popup {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.content-modal.is-open,
.admission-success-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.content-modal-backdrop,
.admission-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(8px);
}

.content-modal-panel,
.admission-success-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.content-modal-close,
.admission-success-card button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 24px;
}

.content-modal-image {
  width: 100%;
  max-height: 340px;
  margin-bottom: 22px;
  border-radius: 16px;
  object-fit: cover;
}

.content-modal-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.content-modal-panel h2,
.admission-success-card h2 {
  margin: 8px 44px 8px 0;
  color: var(--black);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.content-modal-panel time {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.content-modal-body,
.admission-success-card p {
  color: #343946;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line;
}

.content-modal-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.content-modal-action:hover {
  background: var(--red-dark);
}

.admission-success-card {
  width: min(520px, 100%);
  text-align: center;
}

.admission-success-card > i {
  margin-bottom: 16px;
  color: #15803d;
  font-size: 54px;
}

.apply-form-section {
  padding-top: 150px;
  background:
    radial-gradient(circle at 12% 0%, rgba(227, 6, 19, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff8f9 100%);
}

.admission-page-shell {
  max-width: 1240px;
}

.admission-page-shell .admission-form {
  max-height: none;
  overflow: visible;
  border: 1px solid rgba(227, 6, 19, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(10, 12, 20, 0.1);
}

body.content-modal-open,
body.admission-success-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .notice-grid,
  .student-post-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-feedback-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .content-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .partner-category,
  .partner-card strong {
    opacity: 1;
    transform: none;
  }

  .partner-card::before {
    opacity: 0.55;
  }

  .partner-card img {
    filter: saturate(1);
  }
}

@media (max-width: 900px) {
  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 8px 2px;
    font-size: 14px;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    max-height: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    overflow: hidden;
    transition: max-height 0.22s ease, padding 0.22s ease;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 180px;
    padding: 6px 0 6px 12px;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 10px 12px;
  }

  .page-hero {
    padding-top: 132px;
  }

  .apply-form-section {
    padding-top: 124px;
  }
}

@media (max-width: 620px) {
  .partners-grid,
  .testimonials-grid,
  .notice-grid,
  .student-post-grid,
  .team-grid,
  .student-feedback-form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 116px 0 46px;
  }

  .apply-form-section {
    padding-top: 104px;
  }

  .partners-heading h2,
  .page-hero h1,
  .student-feedback-panel h2 {
    font-size: 34px;
  }

  .student-feedback-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .content-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .blog-filter-row {
    gap: 8px;
  }

  .blog-filter-row button {
    flex: 1 1 130px;
    min-width: 0;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .testimonial-card,
  .partner-card {
    flex-basis: min(100%, 320px);
  }

  .team-page .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .team-page .team-card {
    border-radius: 15px;
  }

  .team-page .team-card img {
    aspect-ratio: 4 / 3;
  }

  .team-page .team-card-body {
    gap: 7px;
    padding: 13px 11px;
  }

  .team-page .team-card span {
    font-size: 9px;
    letter-spacing: 0.6px;
  }

  .team-page .team-card h2 {
    font-size: 15px;
    line-height: 1.22;
  }

  .team-page .team-card p,
  .team-page .team-department {
    font-size: 11px;
    line-height: 1.55;
  }

  .team-page .team-links a {
    width: 30px;
    height: 30px;
  }

  .content-modal,
  .admission-success-popup {
    padding: 12px;
  }
}
