@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap");

:root {
  --red: #9a0000;
  --red-dark: #6b0000;
  --red-light: rgba(154, 0, 0, 0.08);
  --white: #ffffff;
  --off-white: #fdf5f5;
  --text: #1a1a2e;
  --muted: #64748b;
  --gold: #f59e0b;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  transition: all 0.4s var(--ease);
  background: #9a0000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.navbar.solid {
  background: #9a0000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 85px;
  width: auto;
}

.logo-name {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
}

.navbar.solid .logo-name {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 50px;
  transition: all 0.3s;
  border: 2px solid wheat;
}

.navbar.solid .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover,
.navbar.solid .nav-links a:hover {
  background: rgb(120, 3, 3);
  color: #fff;
}

.nav-apply {
  background: var(--red) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(154, 0, 0, 0.35);
}

.nav-apply:hover {
  background: var(--red-dark) !important;
  transform: translateY(-2px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 110px 5% 40px;
}

/* Typewriter Cursor */
.typewriter-cursor {
  font-weight: 100;
  color: var(--red);
  animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 2;
}

.hero-main-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.hero-left {
  flex: 1.6;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  min-height: 480px;
  animation: heroSlideIn 1s var(--ease) both;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: heroSlideRight 1s 0.3s var(--ease) both;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: brightness(0.8) contrast(1.1);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(45, 45, 45, 0.8) 0%,
      rgba(45, 45, 45, 0.4) 50%,
      rgba(60, 60, 60, 0.3) 100%);
}

/* Hero Text Overlay */
.hero-text-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  color: #fff;
}

.hero-badge-anim {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  width: max-content;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation:
    fadeDown 0.8s var(--ease) both,
    shimmer 3s ease-in-out infinite;
}

.dot-glow {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    0 0 15px var(--gold),
    0 0 30px rgba(245, 158, 11, 0.3);
  animation: pulse 2s infinite;
}

.hero-title-anim {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  animation: fadeUp 1s 0.2s var(--ease) both;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.highlight-text {
  background: linear-gradient(135deg,
      var(--gold) 0%,
      #fff 50%,
      var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 4s ease-in-out infinite;
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

@keyframes shimmer {

  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.2);
  }

  50% {
    border-color: rgba(245, 158, 11, 0.5);
  }
}

/* Mini Stats in Hero */
.hero-stats-mini {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  animation: fadeUp 1s 0.5s var(--ease) both;
}

/* Program Tiles (inside hero overlay) */
.hero-program-tiles {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  animation: fadeUp 1s 0.65s var(--ease) both;
}

.hero-program-tile {
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  transform: translateZ(0);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-program-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.9);
}

.hero-program-tile__body {
  padding: 18px 14px;
  text-align: center;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-program-tile__title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 18px;
}

.hero-program-tile__sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.9;
}

.mini-stat {
  text-align: center;
}

.mini-num {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 900;
  display: block;
  color: #fff;
}

.mini-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
  display: block;
  margin-top: 2px;
}

.mini-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* ── HERO FORM CARD ── */
.hero-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  padding: 30px 28px;
}

.hero-form-card.hero-form-card--embed {
  padding: 0;
}

.embedded-lead-form {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: transparent;
}

.embedded-form-fallback {
  margin: 10px 14px 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.embedded-form-fallback a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
}

/* ── FLOATING APPLY BUTTON + MODAL ── */
.no-scroll {
  overflow: hidden;
}

.floating-apply-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 240px;
  height: 52px;
  padding: 0 18px;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ff2f6d 0%, #d61f5b 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 18px 40px rgba(214, 31, 91, 0.35);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.floating-apply-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.floating-apply-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 50px rgba(214, 31, 91, 0.45);
}

.floating-apply-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.apply-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.apply-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 15, 0.55);
  backdrop-filter: blur(6px);
}

.apply-modal__panel {
  position: relative;
  width: min(92vw, 520px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s var(--ease);
}

.apply-modal.is-open .apply-modal__panel {
  transform: translateY(0) scale(1);
}

.apply-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #9a0000;
  color: #fff;
}

.apply-modal__header h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
}

.apply-modal__close {
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.apply-modal__body {
  padding: 0;
}

.apply-modal__frame {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}

.apply-modal__fallback {
  margin: 10px 14px 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.apply-modal__fallback a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
}

.form-card-header {
  text-align: center;
  margin-bottom: 24px;
  background: #9a0000;
  padding: 10px 10px;
  margin: -30px -28px 24px;
}

.hero-form-card.hero-form-card--embed .form-card-header {
  margin: 0;
}

/* Desktop: scale ("zoom out") embedded iframe to fit the hero-right height */
@media (min-width: 1025px) {
  .hero-right {
    max-height: 570px;
  }

  .hero-form-card.hero-form-card--embed {
    /* Adjust these two values if the provider changes the form height */
    --embedded-form-height: 620px;
    --embedded-form-scale: 0.92;

    position: relative;
    height: calc(var(--embedded-form-height) * var(--embedded-form-scale));
    overflow: hidden;
  }

  .hero-form-card.hero-form-card--embed .embedded-lead-form {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% / var(--embedded-form-scale));
    height: calc(var(--embedded-form-height) / var(--embedded-form-scale));
    transform: scale(var(--embedded-form-scale));
    transform-origin: top left;
  }

  /* Keep the card clean on desktop; link is still available in the page source */
  .hero-form-card.hero-form-card--embed .embedded-form-fallback {
    display: none;
  }
}

.form-logo {
  height: 75px;
  width: auto;
  margin-bottom: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.form-card-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.form-card-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero-form .form-group {
  margin-bottom: 14px;
}

.hero-form .form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all 0.3s;
  appearance: none;
}

.hero-form .form-control:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(154, 0, 0, 0.08);
}

.hero-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: #009dff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-submit-btn:hover {
  background: #0172b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  animation: bounce 2s infinite;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--red);
  padding: 30px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  color: #fff;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.stat-suffix {
  font-size: 28px;
  color: var(--gold);
}

.stat-label {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ── SECTION COMMONS ── */
.section {
  padding: 70px 5%;
}

/* ── EVENT SLIDER (PREMIUM OVERHAUL) ── */
.event-slider-section {
  padding: 70px 5% !important;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  overflow: hidden;
}

.event-slider-section .sec-head {
  margin-bottom: 40px;
}

.event-slider {
  position: relative;
  width: 92%;
  max-width: 1400px;
  height: 600px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(154, 0, 0, 0.1);
  background: #0f172a;
}

.event-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
}

.event-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.event-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.2);
  transition: transform 10s cubic-bezier(0.1, 0.1, 0.1, 1);
  filter: brightness(0.6) contrast(1.1) saturate(1.1);
}

.event-slide.active img {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 23, 42, 0.95) 0%,
      rgba(15, 23, 42, 0.6) 40%,
      rgba(15, 23, 42, 0.2) 70%,
      transparent 100%);
  z-index: -1;
}

.slide-content {
  max-width: 600px;
  color: #fff;
  z-index: 10;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.8s 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  background: transparent;
  padding: 40px 0;
}

.event-slide.active .slide-content {
  transform: translateX(0);
  opacity: 1;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--red) 0%, #dc2626 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-radius: 50px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(154, 0, 0, 0.4);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.6s 0.5s var(--ease);
}

.event-slide.active .slide-badge {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s 0.6s var(--ease);
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.8),
    0 2px 10px rgba(0, 0, 0, 0.5);
}

.event-slide.active .slide-content h2 {
  transform: translateY(0);
  opacity: 1;
}

.slide-content p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  font-weight: 400;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s 0.7s var(--ease);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.event-slide.active .slide-content p {
  transform: translateY(0);
  opacity: 1;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s var(--ease);
  font-size: 14px;
  letter-spacing: 1px;
  transform: translateY(20px);
  opacity: 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.event-slide.active .slide-btn {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.6s 0.8s var(--ease);
}

.slide-btn i {
  transition: transform 0.4s var(--ease);
}

.slide-btn:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(154, 0, 0, 0.4);
}

.slide-btn:hover i {
  transform: translateX(5px);
}

/* Premium Navigation Controls */
.slider-nav {
  position: absolute;
  bottom: 60px;
  right: 8%;
  display: flex;
  gap: 15px;
  z-index: 20;
}

.slider-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  font-size: 16px;
}

.slider-arrow:hover {
  background: #fff;
  color: var(--text);
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.slider-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.5s var(--ease);
  position: relative;
}

.dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: all 0.4s;
}

.dot.active {
  background: #fff;
  width: 32px;
  border-radius: 10px;
}

.dot.active::after {
  border-color: rgba(255, 255, 255, 0.3);
  inset: -6px;
}

/* Progress Bar (Glow) */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #fb7185);
  z-index: 30;
  width: 0%;
  box-shadow: 0 0 15px rgba(154, 0, 0, 0.8);
  transition: width 0.05s linear;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .event-slider {
    height: 520px;
    width: 95%;
  }

  .slide-content {
    padding: 40px;
    max-width: 500px;
  }

  .slide-content h2 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .event-slider {
    height: 480px;
    border-radius: 30px;
  }

  .event-slide {
    justify-content: center;
    text-align: center;
    padding: 0 5%;
  }

  .slide-content {
    transform: translateY(40px);
    max-width: 90%;
    padding: 35px 25px;
    border-radius: 30px;
  }

  .slide-overlay {
    background: radial-gradient(circle at center,
        rgba(15, 23, 42, 0.8) 0%,
        rgba(15, 23, 42, 0.95) 100%);
  }

  .event-slide.active .slide-content {
    transform: translateY(0);
  }

  .slide-content h2 {
    font-size: 32px;
  }

  .slide-content p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .slider-nav {
    display: none;
  }

  .slider-dots {
    bottom: 40px;
  }
}

@media (max-width: 480px) {
  .event-slider {
    height: 420px;
  }

  .slide-content {
    padding: 25px 20px;
  }

  .slide-content h2 {
    font-size: 26px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .slide-badge {
    padding: 8px 16px;
    font-size: 10px;
  }

  .slide-btn {
    padding: 14px 28px;
    font-size: 12px;
  }
}

.section-alt {
  background: var(--off-white);
}

.sec-head {
  text-align: center;
  margin-bottom: 45px;
}

.sec-label {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sec-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--text);
}

.sec-title span {
  color: var(--red);
}

.sec-desc {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── RANKINGS & ACCREDITATIONS ── */
.accreditations-section {
  background: var(--off-white);
  padding: 70px 5%;
}

.accreditations-section .sec-head {
  margin-bottom: 40px;
}



.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.accreditation-card {
  background: #fff;
  padding: 30px 30px;
  border-radius: 32px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.accreditation-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(154, 0, 0, 0.08);
  border-color: rgba(154, 0, 0, 0.1);
}

.accreditation-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.accreditation-card:hover::after {
  transform: scaleX(1);
}

.card-logo {
  height: 140px;
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.accreditation-card:hover .card-logo {
  transform: scale(1.05);
}

.card-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card-divider {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin-bottom: 20px;
}

.card-text {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.5;
  font-weight: 500;
}

.card-text strong {
  display: block;
  font-size: 20px;
  color: var(--red);
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

@media (max-width: 992px) {
  .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .accreditation-grid {
    grid-template-columns: 1fr;
  }

  .accreditation-card {
    padding: 30px 20px;
  }
}

/* ── WHY DYPSEM BENTO ── */
.why-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.why-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
  cursor: pointer;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.why-card--large {
  min-height: 320px;
}

.why-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.why-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.05) 100%);
  transition: background 0.5s;
  z-index: 1;
}

.why-card:hover .why-card__overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.05) 100%);
}

.why-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.4s var(--ease);
}

.why-card__badge i {
  font-size: 22px;
  color: #fff;
  transition: transform 0.4s;
}

.why-card:hover .why-card__badge {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(-10deg) scale(1.15);
  box-shadow: 0 8px 30px rgba(154, 0, 0, 0.5);
}

.why-card:hover .why-card__badge i {
  transform: scale(1.1);
}

.why-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.5s var(--ease);
}

.why-card:hover .why-card__content {
  transform: translateY(0);
}

.why-card__content h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.why-card__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  max-width: 400px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s 0.1s;
}

.why-card:hover .why-card__content p {
  opacity: 1;
  transform: translateY(0);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.why-card:hover .why-card__img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .why-bento {
    grid-template-columns: 1fr;
  }
}

/* ── GALLERY ── */
.gallery-masonry {
  columns: 3;
  gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  z-index: 1;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption h4 {
  font-size: 18px;
  font-family: "Playfair Display", serif;
}

/* ── RECRUITERS ── */
.recruiter-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.rec-stat-card {
  background: var(--off-white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(154, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.rec-stat-card:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.rec-stat-card .val {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
  display: block;
}

.rec-stat-card .lbl {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 600;
}

.marquee-section {
  background: #fff;
  padding: 70px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 30s linear infinite;
  width: max-content;
  align-items: center;
}

.marquee-track img {
  height: 45px;
  filter: none;
  opacity: 1;
  transition: all 0.4s var(--ease);
}

.marquee-track img:hover {
  transform: scale(1.15);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── PLACEMENT SLIDER SECTION ── */
.placement-slider-section {
  background: var(--off-white);
  padding: 70px 5%;
}

.placementSwiper {
  padding: 40px 10px 80px !important;
}

.placement-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(154, 0, 0, 0.05);
  height: 100%;
  display: flex;
}

.placement-card img {
  width: 100%;
  aspect-ratio: 1 / 1.3;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

/* Swiper Customization */
.placementSwiper .swiper-button-next,
.placementSwiper .swiper-button-prev {
  color: var(--red);
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.placementSwiper .swiper-button-next::after,
.placementSwiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: 900;
}

.placementSwiper .swiper-button-next:hover,
.placementSwiper .swiper-button-prev:hover {
  background: var(--red);
  color: #fff;
}

.placementSwiper .swiper-pagination-bullet-active {
  background: var(--red);
}

/* ── SCHOLARSHIP ── */
.schol-wrap {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 10px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(154, 0, 0, 0.3);
}

.schol-content {
  color: #fff;
  transition: opacity 0.8s ease;
}

.schol-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.schol-content p {
  opacity: 0.9;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.schol-list {
  list-style: none;
  margin-bottom: 32px;
}

.schol-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.schol-list li i {
  color: var(--gold);
  font-size: 16px;
}

.schol-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.schol-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* ── EVENTS ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.event-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateZ(0);
}

.event-card:hover {
  transform: translateY(-12px) translateZ(0);
  box-shadow: 0 20px 50px rgba(154, 0, 0, 0.15);
  border-color: rgba(154, 0, 0, 0.1);
}

.event-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  display: block;
}

.event-card:hover .event-img-wrap img {
  transform: scale(1.08);
}

.event-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 10px;
}

.event-body {
  padding: 28px;
}

.event-body h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.event-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.event-date-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
}

.event-arrow {
  width: 36px;
  height: 36px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: all 0.3s;
}

.event-card:hover .event-arrow {
  background: var(--red);
  color: #fff;
}

/* ── CAMPUS GALLERY (BENTO GRID) ── */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.gallery-item img,
.gallery-item video,
.gallery-slider {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slider {
  position: relative;
  overflow: hidden;
}

.gallery-slider img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: galleryFade 16s infinite;
}

.gallery-slider img:nth-child(1) {
  animation-delay: 0s;
}

.gallery-slider img:nth-child(2) {
  animation-delay: 4s;
}

.gallery-slider img:nth-child(3) {
  animation-delay: 8s;
}

.gallery-slider img:nth-child(4) {
  animation-delay: 12s;
}

@keyframes galleryFade {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  5%,
  25% {
    opacity: 1;
    transform: scale(1.05);
  }

  30% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.gallery-item:hover img,
.gallery-item:hover video,
.gallery-item:hover .gallery-slider {
  transform: scale(1.1);
}

.gallery-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--red);
  color: #fff;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 5px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  opacity: 0.7;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.gallery-item:hover::before {
  opacity: 0.9;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  z-index: 2;
  transition: all 0.5s var(--ease);
}

.gallery-caption h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  transform: translateY(5px);
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover .gallery-caption h4 {
  transform: translateY(0);
}

.gallery-item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--lg .gallery-caption h4 {
  font-size: 28px;
}

.gallery-item--wide {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item--tall {
  grid-column: span 1;
  grid-row: span 2;
}

@media (max-width: 1024px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item--lg,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ── ENQUIRY ── */
.enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
}

.enquiry-img-panel {
  position: relative;
  min-height: 600px;
}

.enquiry-img-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enquiry-img-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.enquiry-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 1;
  color: #fff;
}

.enquiry-img-overlay h3 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.enquiry-img-overlay ul {
  list-style: none;
}

.enquiry-img-overlay ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.enquiry-img-overlay ul li i {
  color: var(--gold);
}

.enquiry-form-panel {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.enquiry-form-panel h2 {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  margin-bottom: 6px;
}

.enquiry-form-panel h2 span {
  color: var(--red);
}

.enquiry-form-panel p {
  color: var(--muted);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(154, 0, 0, 0.1);
}

/* ── FOOTER ── */
.footer {
  background: rgb(0, 0, 17);
  background:
    linear-gradient(rgba(0, 5, 27, 0.85), rgba(0, 7, 37, 0.9)),
    url("footer-bg.png") center bottom / cover no-repeat;

  color: white;

  padding: 60px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #fff;
  margin-bottom: 16px;
  display: block;
}

.logo-name img {
  width: 200px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--red);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* ── FLOAT ENQUIRY BTN ── */
.float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  background: var(--red);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(154, 0, 0, 0.5);
  animation: floatPop 3s ease-in-out infinite;
}

.float-btn.consultation-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 240px;
  height: 52px;
  padding: 0 18px;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  right: 24px;
  bottom: 88px;
  z-index: 999;
  background: #25d366;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.35);
}

.float-btn.consultation-btn i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
}

.float-btn.consultation-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.05);
}

.float-btn:hover {
  background: var(--red-dark);
  color: #fff;
  transform: scale(1.05);
}

@keyframes floatPop {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s var(--ease);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── KEYFRAMES ── */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.4);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
}

/* ── COUNTDOWN ── */
.countdown-section {
  background: var(--red);
  padding: 70px 5%;
  text-align: center;
  color: #fff;
}

.countdown-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 8px;
}

.countdown-section p {
  opacity: 0.85;
  margin-bottom: 32px;
  font-size: 16px;
}

.countdown-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.count-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 24px 32px;
  min-width: 110px;
}

.count-box .num {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.count-box .lbl {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── TESTIMONIALS ── */
.testi-section {
  padding: 70px 5%;
  background: var(--off-white);
}

.testi-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testi-slide {
  display: none;
  animation: fadeUp 0.6s var(--ease);
}

.testi-slide.active {
  display: block;
}

.testi-card {
  background: #fff;
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(154, 0, 0, 0.08);
  border-left: 6px solid var(--red);
  position: relative;
}

.testi-card::before {
  content: '\"';
  font-family: "Playfair Display", serif;
  font-size: 120px;
  color: var(--red);
  opacity: 0.08;
  position: absolute;
  top: -10px;
  left: 30px;
  line-height: 1;
}

.testi-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 18px;
}

.testi-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.testi-role {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}

.testi-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 6px;
}

.testi-nav {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-btn:hover {
  background: var(--red);
  color: #fff;
  transform: scale(1.1);
}

.testi-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(154, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.testi-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--red);
}

/* ── FAQ ── */
.faq-section {
  padding: 70px 5%;
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item.open {
  box-shadow: 0 8px 30px rgba(154, 0, 0, 0.1);
  border-color: rgba(154, 0, 0, 0.2);
}

.faq-q {
  width: 100%;
  background: #fff;
  border: none;
  padding: 22px 28px;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.faq-item.open .faq-q {
  color: var(--red);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.35s;
}

.faq-item.open .faq-icon {
  background: var(--red);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
}

.faq-a-inner {
  padding: 0 28px 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .navbar {
    height: 84px;
    padding: 0 4%;
    gap: 14px;
  }

  .logo img {
    height: 60px;
  }

  .nav-links {
    gap: 6px;
    flex-shrink: 0;
  }

  .nav-links a {
    font-size: 14px;
    padding: 7px 12px;
    border-width: 1px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .about-wrap,
  .schol-wrap,
  .enquiry-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-img-stack {
    height: 380px;
  }

  .enquiry-img-panel {
    min-height: 300px;
  }

  .hero-main-row {
    flex-direction: column;
  }

  .hero-left {
    min-height: 420px;
  }

  .hero-right {
    align-items: center;
  }

  .hero-form-card {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-text-overlay {
    padding: 0 32px;
  }

  .hero-program-tiles {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 2%;
  }

  .hero-program-tile__title {
    font-size: 13px;
  }

  .hero-program-tile__body {
    min-height: 60px;
    padding: 10px 5px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    gap: 6px;
    margin-left: 12px;
    flex-shrink: 0;
  }

  .nav-links a {
    font-size: 12px;
    padding: 6px 10px;
    border-width: 1px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 44px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .flip-card {
    height: 320px;
  }

  .schol-wrap {
    padding: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .navbar {
    height: 72px;
    padding: 0 4%;
    gap: 12px;
  }

  .logo img {
    height: 44px;
    max-width: 160px;
  }

  .hero {
    padding: 82px 5% 34px;
  }

  .hero-text-overlay {
    padding: 0 22px;
  }

  .hero-badge-anim {
    max-width: 100%;
    width: fit-content;
    white-space: normal;
  }

  .hero-stats-mini {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-program-tiles {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0;
  }

  .hero-program-tile__title {
    font-size: 11px;
  }

  .hero-program-tile__body {
    min-height: 56px;
    padding: 8px 4px;
  }

  .sec-head {
    margin-bottom: 44px;
  }

  .sec-title {
    font-size: 34px;
  }

  .sec-desc {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item--lg,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {

  .navbar {
    height: 64px;
    gap: 10px;
  }

  .logo img {
    height: 50px;
    max-width: 180px;
  }

  .nav-links a {
    font-size: 11px;
    padding: 6px 8px;
    line-height: 1.1;
  }

  .section,
  .event-slider-section,
  .accreditations-section,
  .marquee-section,
  .placement-slider-section,
  .countdown-section,
  .testi-section,
  .faq-section {
    padding: 60px 5% !important;
  }

  .hero-left {
    min-height: 320px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-text-overlay {
    padding: 0 16px;
  }

  .hero-badge-anim {
    padding: 9px 16px;
    font-size: 11px;
  }

  .hero-program-tile__title {
    font-size: 10px;
  }

  .hero-program-tile__body {
    min-height: 26px;
    padding: 4px 2px;
  }

  .hero-program-tile__sub {
    font-size: 7.5px;
    margin-top: 0;
  }

  .hero-program-tiles {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 0;
    max-width: 100%;
  }

  .hero-form-card {
    padding: 22px 18px;
  }

  .form-card-header {
    margin: -22px -18px 18px;
    padding: 20px 14px;
  }

  .form-logo {
    height: 62px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .sec-label {
    font-size: 12px;
    padding: 6px 14px;
  }

  .sec-title {
    font-size: 30px;
  }

  .sec-desc {
    font-size: 15px;
  }

  .marquee-track {
    gap: 44px;
  }

  .marquee-track img {
    height: 34px;
  }

  .event-body {
    padding: 20px;
  }

  .gallery-caption {
    padding: 18px;
  }

  .faq-q {
    padding: 18px 18px;
    font-size: 15px;
  }

  .faq-a-inner {
    padding: 0 18px 18px;
    font-size: 15px;
  }

  .footer {
    padding: 50px 5% 24px;
  }

  .footer-grid {
    gap: 26px;
  }
}

@media (max-width: 360px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 3%;
    row-gap: 8px;
  }

  .logo img {
    height: 40px;
    max-width: 130px;
  }

  .nav-links {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: 10.5px;
    padding: 5px 7px;
    line-height: 1.1;
  }

  .hero {
    padding-top: 100px;
  }
}

/* Ensure embedded lead form layout wins over responsive defaults */
.hero-form-card.hero-form-card--embed {
  padding: 0 !important;
}

.hero-form-card.hero-form-card--embed .form-card-header {
  margin: 0 !important;
}

/* ── MEDIA MODAL (POP CARD) ── */
.media-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.media-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  border: 1px solid rgba(154, 0, 0, 0.2);
}

.media-modal.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(154, 0, 0, 0.3);
}

.modal-close:hover {
  background: var(--red-dark);
  transform: rotate(90deg) scale(1.1);
}

.modal-body {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.modal-media {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

.modal-caption {
  padding: 24px 30px;
  background: #fff;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 800;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .modal-card {
    width: 95%;
  }

  .modal-caption {
    font-size: 18px;
    padding: 15px 20px;
  }
}
