:root {
  --primary: #a30f16;
  --heritage-red: #d71920;
  --deep-red: #7f0c10;
  --onyx: #111111;
  --surface-light: #f8f8f8;
  --academy-gold: #f7b731;
  --secondary: #5f5f5f;
  --outline: #e2b8b8;
}
.toast{
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111;
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.toast.show{
  opacity: 1;
  transform: translateY(0);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { padding-bottom: 0; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; }
a, button, input, select { outline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(215, 25, 32, 0.35); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--onyx);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }
.material-symbols-outlined { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }

.site-navbar, .nav-inner { transition: all 0.28s ease; }
.site-navbar.is-shrunk .nav-inner { height: 64px; padding-top: 10px; padding-bottom: 10px; }
.brand-mark { display: inline-flex; align-items: center; gap: 12px; color: var(--onyx); }
.brand-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 46px;
  background: var(--heritage-red);
  color: #fff;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.brand-text { max-width: 210px; color: var(--primary); font-size: 14px; line-height: 1.1; font-weight: 900; text-transform: uppercase; }
.footer-brand { display: inline-flex; background: #fff; color: var(--heritage-red); padding: 12px 16px; border-radius: 6px; font-weight: 900; letter-spacing: 0.08em; }

.nav-link {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.icon-button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

.mobile-menu {
  display: grid;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(215, 25, 32, 0.14);
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.mobile-menu.open { max-height: 420px; padding: 12px 24px 20px; }
.mobile-nav-link {
  padding: 13px 0;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(215, 25, 32, 0.1);
}

.hero-premium-bg {
  background:
    linear-gradient(110deg, rgba(127, 12, 16, 0.92), rgba(215, 25, 32, 0.86)),
    url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero-kicker {
  display: inline-flex;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-title { color: #fff; letter-spacing: 0; }
.hero-title span { color: var(--academy-gold); text-shadow: 0 3px 18px rgba(0, 0, 0, 0.22); }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--onyx);
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.12);
  font-size: 14px;
  font-weight: 800;
}
.hero-chip .material-symbols-outlined { color: var(--heritage-red); }

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.hero-program-callout {
  max-width: 760px;
  padding: 22px 24px;
  border-left: 5px solid var(--academy-gold);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
}
.hero-program-callout p { margin-bottom: 10px; color: var(--primary); font-size: 16px; font-weight: 800; }
.hero-program-callout h3 { color: var(--onyx); font-size: clamp(16px, 2.5vw, 26px); line-height: 1.12; font-weight: 900; }
.hero-program-callout span {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--heritage-red);
  color: #fff;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.1;
  font-weight: 900;
}

.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.field input, .field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-bottom: 1px solid rgba(215, 25, 32, 0.32);
  border-radius: 0;
  min-height: 42px;
  padding: 8px 12px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus { border-color: var(--heritage-red); background: #fff; box-shadow: 0 8px 20px rgba(215, 25, 32, 0.1); }
.field.has-error input, .field.has-error select { border-bottom-color: var(--heritage-red); }
.error-message { min-height: 12px; margin-top: 2px; color: var(--heritage-red); font-size: 11px; line-height: 1.1; }

.submit-button { position: relative; min-height: 56px; }
.submit-button.is-loading { color: transparent; pointer-events: none; }
.submit-button.is-loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 50%;
  top: 50%;
  margin-left: -11px;
  margin-top: -11px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.campus-frame { aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; box-shadow: 0 24px 60px rgba(17, 17, 17, 0.16); }
.campus-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.campus-frame:hover img { transform: scale(1.07); }
.campus-note {
  position: absolute;
  right: -28px;
  bottom: -28px;
  max-width: 250px;
  background: #fff;
  padding: 22px;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(17, 17, 17, 0.14);
}
.campus-note p { color: var(--primary); font-family: "Playfair Display", serif; font-size: 20px; font-weight: 800; line-height: 1.2; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; }
.feature-item > span { background: rgba(215, 25, 32, 0.08); padding: 12px; border-radius: 10px; }
.feature-item h3 { font-size: 14px; font-weight: 900; margin-bottom: 4px; }
.feature-item p { color: var(--secondary); font-size: 12px; }

.award-card {
  padding: 32px;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 12px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.award-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08); }
.award-card span {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--surface-light);
  color: var(--heritage-red);
  font-size: 42px;
}
.award-card h3 { font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.award-card p { color: var(--secondary); font-size: 14px; }

.program-band { background: linear-gradient(135deg, var(--deep-red), var(--heritage-red)); }
.program-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.program-tab {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 0.22s ease;
}
.program-tab:hover, .program-tab.active { background: #fff; color: var(--heritage-red); }
.program-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 26px;
  min-height: 210px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.program-card:hover { transform: translateY(-7px); background: #fff; color: var(--onyx); }
.program-card .material-symbols-outlined { font-size: 40px; margin-bottom: 18px; }
.program-card h3 { font-weight: 900; font-size: 20px; margin-bottom: 8px; }
.program-card p { color: currentColor; opacity: 0.78; font-size: 14px; }

.gallery-masonry { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 220px; gap: 24px; }
.gallery-item {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border-radius: 16px;
  border: 0;
  padding: 0;
  background: #111;
  text-align: left;
  cursor: zoom-in;
}
.gallery-item.large { grid-column: span 8; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.82), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:hover span, .gallery-item:focus-visible::after, .gallery-item:focus-visible span { opacity: 1; transform: translateY(0); }

.recruiter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 16px; }
.recruiter-card {
  display: grid;
  min-height: 132px;
  place-items: center;
  gap: 12px;
  padding: 20px 14px;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.recruiter-card:hover { transform: translateY(-5px); border-color: rgba(215, 25, 32, 0.35); box-shadow: 0 18px 38px rgba(215, 25, 32, 0.12); }
.recruiter-card img { width: 56px; height: 56px; object-fit: contain; }
.recruiter-card span { color: var(--onyx); font-size: 13px; font-weight: 900; letter-spacing: 0.03em; text-align: center; }

.testimonials-section { background: var(--heritage-red); color: #fff; }
.testimonial-heading { max-width: 980px; margin: 0 auto; color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.16; font-weight: 500; }
.testimonial-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.testimonial-story-card, .testimonial-video-card { overflow: hidden; border-radius: 14px; background: #fff; color: var(--onyx); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2); }
.testimonial-story-card { display: flex; min-height: 360px; flex-direction: column; justify-content: space-between; padding: 34px; }
.testimonial-stars { color: var(--heritage-red); font-size: 25px; letter-spacing: 1px; }
.testimonial-story-card p { margin-top: 12px; color: #1f1f1f; font-size: 18px; line-height: 1.6; }
.testimonial-author { display: grid; gap: 4px; margin-top: 34px; }
.testimonial-author strong, .testimonial-video-meta strong { font-size: 17px; font-weight: 900; }
.testimonial-author span, .testimonial-video-meta span { color: #777; font-size: 15px; }
.testimonial-video-card { display: grid; grid-template-rows: minmax(280px, 1fr) auto; }
.testimonial-video-thumb { position: relative; min-height: 315px; border: 0; padding: 0; overflow: hidden; background: #222; }
.testimonial-video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: transform 0.45s ease, opacity 0.45s ease; }
.testimonial-video-thumb:hover img { transform: scale(1.04); opacity: 0.86; }
.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 34px solid transparent;
  border-bottom: 34px solid transparent;
  border-left: 54px solid #fff;
  transform: translate(-42%, -50%);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}
.testimonial-video-meta { display: grid; gap: 4px; padding: 20px 24px; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 26px; }
.testimonial-thumbs { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.testimonial-thumb { width: 58px; height: 58px; overflow: hidden; border: 3px solid transparent; border-radius: 50%; opacity: 0.72; transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease; }
.testimonial-thumb img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-thumb.active, .testimonial-thumb:hover { transform: scale(1.16); border-color: var(--academy-gold); opacity: 1; }
.testimonial-arrow { width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 40px; line-height: 1; transition: transform 0.2s ease, color 0.2s ease; }
.testimonial-arrow:hover { transform: translateY(-2px); color: var(--academy-gold); }

#scholarship-fab.side-fab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 40;
  padding: 8px 10px 28px;
  border-radius: 8px 0 0 8px;
  background: var(--academy-gold);
  color: var(--onyx);
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.18);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-panel {
  width: min(100%, 520px);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-close { float: right; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-light); color: var(--onyx); }
.lightbox-panel { position: relative; width: min(100%, 960px); }
.lightbox-panel img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 16px; background: #111; }
.lightbox-panel p { margin-top: 14px; color: #fff; font-weight: 900; font-size: 18px; }
.lightbox-panel .modal-close { position: absolute; top: -18px; right: -18px; z-index: 1; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(380px, calc(100vw - 48px));
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--onyx);
  color: #fff;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.18);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.ripple-link { position: relative; overflow: hidden; }
.ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 0.55s ease-out forwards;
  pointer-events: none;
}
.mobile-download { min-height: 44px; justify-content: center; }
.footer-map { width: 100%; height: 190px; border: 0; border-radius: 12px; filter: grayscale(0.15); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.floating-anim { animation: floating 3s ease-in-out infinite; }

@keyframes floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(18); opacity: 0; } }

@media (max-width: 1024px) {
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .gallery-item, .gallery-item.large { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 767px) {
  body { padding-bottom: 86px; }
  .brand-text { display: none; }
  .brand-badge { width: 58px; height: 40px; }
  #scholarship-fab.side-fab {
    right: -94px !important;
    width: 230px !important;
    height: 44px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%) rotate(90deg) !important;
    writing-mode: horizontal-tb !important;
    text-orientation: initial !important;
    white-space: nowrap !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: 0.06em !important;
  }
  .hero-title { font-size: 34px !important; line-height: 1.16 !important; }
  .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 230px; gap: 18px; }
  .testimonial-heading { font-size: 32px; }
  .testimonial-showcase { grid-template-columns: 1fr; }
  .testimonial-story-card { min-height: auto; padding: 26px; }
  .testimonial-video-thumb { min-height: 230px; }
  .testimonial-controls { gap: 12px; }
  .testimonial-thumb { width: 48px; height: 48px; }
  .toast { right: 16px; bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@keyframes campusScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-campus-scroll {
  animation: campusScroll 28s linear infinite;
}

.animate-campus-scroll:hover {
  animation-play-state: paused;
}

@keyframes recruiterScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-recruiter-scroll {
  animation: recruiterScroll 30s linear infinite;
}

.animate-recruiter-scroll:hover {
  animation-play-state: paused;
}

.recruiter-card {
  min-width: 220px;
  height: 160px;
  background: white;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border: 1px solid #f1f1f1;
  transition: 0.3s ease;
  padding: 20px;
}

.recruiter-card:hover {
  transform: translateY(-8px);
}

.recruiter-card p {
  font-weight: 700;
  color: #111827;
  text-align: center;
  font-size: 15px;
}

.recruiter-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.recruiter-card{
  min-width:220px;
  height:160px;
  background:#fff;
  border-radius:28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:16px;
  padding:20px;
  box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

.recruiter-card img{
  width:72px;
  height:72px;
  object-fit:contain;
}

.recruiter-card span{
  font-weight:700;
  font-size:15px;
  color:#111827;
  text-align:center;
}