/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* local fonts tuned to Poppins / Playfair metrics, so the late web-font swap does not shift the layout */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }
@font-face { font-family: "Playfair Fallback"; src: local("Times New Roman"), local("Times"), local("Noto Serif"); size-adjust: 111.18%; ascent-override: 97.25%; descent-override: 22.56%; line-gap-override: 0%; }

:root {
  --red: #a01c1c;
  --red-dark: #7f1414;
  --red-light: #c62b28;
  --navy: #15224a;
  --navy-dark: #0e1836;
  --navy-light: #24346b;
  --gold: #f2c230;
  --green: #1a8a4a;
  --green-dark: #146b39;
  --text-dark: #1e2530;
  --text-muted: #5c6672;
  --paper: #f6f6f8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 25, 50, 0.10);
  --shadow-lg: 0 22px 55px rgba(20, 25, 50, 0.18);
}

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
  max-width: 100%;
  overflow-x: hidden;
}

.hero-grid > *, .about-grid > *, .why-grid > *, .awards-grid > *,
.life-grid > *, .recruiters-grid > *, .scholarship-grid > *,
.admission-grid > *, .program-cards > *, .footer-grid > *,
.phone-row > *, .select-row > *, .stat-item, .why-item, .life-item,
.recruiter-logos > *, .placement-card, .alumni-card,
.why-collage > *, .life-collage > *, .awards-media > *, .program-cards > * {
  min-width: 0;
}

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

/* prevent long unbreakable strings (emails/URLs) from widening the layout */
.reach-list li, .reach-list a, .topbar-contact a, .footer-links a, .rlogo {
  overflow-wrap: anywhere;
  word-break: break-word;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: 'Playfair Display', 'Playfair Fallback', 'Poppins', 'Poppins Fallback', serif; }

.container { width: 100%; max-width: 1488px; margin: 0 auto; padding: 0 24px; }
/* desktop width variants to match design: wide = programs, narrow = stats */
.container-wide { max-width: 1608px; width: 100%; }
@media (min-width: 1200px) { .container-wide { width: 81.25%; max-width: 1560px; padding: 0; } }
.container-narrow { max-width: 1168px; }

.section { padding: 76px 0; position: relative; }

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 15px;
}
.section-sub.light { color: rgba(255,255,255,0.85); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.btn {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.18); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-register {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-weight: 700;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-register:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ============ ANIMATIONS ============ */
[data-aos] {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: transform, opacity;
}
[data-aos="fade-up"] { transform: translateY(45px); }
[data-aos="fade-right"] { transform: translateX(-55px); }
[data-aos="fade-left"] { transform: translateX(55px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: translate(0, 0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@keyframes pulseWA {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============ TOP BAR ============ */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; background: transparent; color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 24px; flex-wrap: wrap; gap: 4px 22px; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact a:hover { color: var(--gold); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: #06080e url('../images/hero-bg.webp') center center/cover no-repeat;
  color: #fff;
  padding: 46px 0 0;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(6 8 14 / 14%) 0%, rgb(8 10 18 / 0%) 38%, rgba(8, 10, 18, 0.22) 62%, rgba(8, 10, 18, 0.12) 100%), linear-gradient(0deg, rgba(6, 8, 14, 0.35), rgba(6, 8, 14, 0.15));
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.82fr 0.9fr;
  align-items: center;
  gap: 10px;
  min-height: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero-text h1 {
  font-size: clamp(30px, 3.9vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 22px;
  white-space: nowrap;
}
.hero-text h1 span { color: var(--gold); }
.hero-admission { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgb(255 255 255); margin-bottom: 8px; }
.hero-admission strong { font-weight: 700; color: var(--gold); }
.hero-course { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: 0.3px; color: #fff; margin-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; }
.hero-course span { display: inline-flex; align-items: center; }
.hero-course span + span::before { content: ""; width: 2px; height: 18px; border-radius: 2px; background: var(--gold); opacity: 0.8; margin: 0 14px; }
.hero-scholarship {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-chat, .btn-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 140px; height: 50px; padding: 0 28px; border-radius: 8px; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: 1.2px; }
.btn-chat { background: var(--green); }
.btn-chat:hover { background: var(--green-dark); }
.btn-call { background: #3b5bdb; }
.btn-call:hover { background: #2f49b0; }
.btn-chat .bi, .btn-call .bi { font-size: 15px; }

.hero-girl {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: end;
  justify-self: center;
  display: flex;
  align-items: flex-end;
}
.hero-girl img {
  max-height: 640px;
  max-width: 118%;
  width: auto;
  transform: translateX(-14%);
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
}

.hero-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}
.hero-form h3 {
  text-align: center;
  color: #1e3a8a;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-form h3.modal-heading { color: var(--navy); }
.hero-form input, .hero-form select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #dfe1e8;
  border-radius: 7px;
  background: #f4f5f8;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
}
.hero-form input:focus, .hero-form select:focus { outline: 2px solid var(--red-light); background: #fff; }
.phone-row { display: flex; gap: 8px; }
.phone-row .isd { flex: 0 0 54px; text-align: center; background: #ececf1; }
.select-row { display: flex; gap: 8px; }
.existing-user {
  display: block; text-align: center; margin-top: 12px;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 13px; font-weight: 700; color: #1e3a8a;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.existing-user:hover { text-decoration: underline; }

/* ============ STATS BAR ============ */
.stats-section { background: var(--white); padding: 64px 0 64px; }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(20, 25, 50, 0.16);
  text-align: center;
  padding: 16px 14px 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 70px; height: 70px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #f2c4c4;
  display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 38px; height: 38px; fill: none; stroke: #b00f0f; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stat-num {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  color: #b00f0f;
  margin-bottom: 6px;
}
.stat-item h3 { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 20px; font-weight: 700; color: var(--navy-dark); margin-bottom: 4px; }
.stat-item p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 14px; color: var(--text-muted); }

/* ============ PROGRAMS ============ */
.programs { background: var(--white); padding-top: 90px; }
.program-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.program-card {
  background: #fff;
  border: 1px solid #ececf0;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pc-num { font-family: 'Playfair Display', 'Playfair Fallback', serif; font-size: 24px; font-weight: 800; color: #e7e7ec; }
.pc-years { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 12px; font-weight: 600; color: var(--red); background: #fbeceb; padding: 4px 10px; border-radius: 20px; }
.program-card h3 {
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 8px;
}
.program-card p {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 15px;
  color: #000000;
  margin-bottom: 14px;
}
.pc-tags-label {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 8px;
}
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-tags span {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 13px;
  background: var(--paper);
  color: #0c0d0e;
  padding: 4px 9px;
  border-radius: 6px;
}

/* ============ ABOUT ============ */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.about-text h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--red); margin-bottom: 16px; }
.about-text p {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  color: #0d0f12;
  font-size: 16px;
  margin-bottom: 14px;
  text-align: justify;
}
.about-quote {
  font-family: 'Playfair Display', 'Playfair Fallback', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding: 6px 0 6px 16px;
  margin-top: 18px;
}

/* ============ SCHOLARSHIP BAND ============ */
.scholarship-band {
  background: linear-gradient(115deg, var(--red-dark), var(--red-light));
  color: #fff;
  padding: 58px 0 0;
  overflow: hidden;
}
.scholarship-grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 40px; align-items: end; }
.scholarship-text { padding-bottom: 58px; }
.scholarship-text h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; margin-bottom: 20px; max-width: 640px; }
.scholarship-flex { display: flex; gap: 26px; align-items: center; }
.scholarship-big { font-family: 'Playfair Display', 'Playfair Fallback', serif; font-size: clamp(60px, 10vw, 120px); font-weight: 800; color: var(--gold); line-height: 1; }
.scholarship-big span { font-size: 0.45em; }
.scholarship-flex p {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
}
.scholarship-img { align-self: end; text-align: center; }
.scholarship-img img {
  width: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: bottom center;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.35));
}

/* ============ WHY CHOOSE ============ */
.why-choose { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.why-masonry { column-count: 2; column-gap: 14px; }
.why-masonry img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  break-inside: avoid;
}
.why-masonry img:nth-child(1) { margin-top: 22px; }
.why-masonry img { transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
.why-media.focus-mode img { filter: blur(3px) grayscale(0.3); opacity: 0.45; }
.why-media.focus-mode img.is-active {
  filter: none; opacity: 1;
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.why-item { cursor: pointer; transition: background 0.25s ease; border-radius: 8px; }
.why-item:hover { background: #faf1f1; }
.why-text h2 { font-size: clamp(24px, 3vw, 34px); color: var(--red); margin-bottom: 14px; }
.why-intro { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.why-list { display: flex; flex-direction: column; gap: 4px; }
.why-item { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px dashed #e3e3ea; }
.why-item:last-child { border-bottom: none; }
.wicon {
  flex: 0 0 46px; height: 46px; width: 46px;
  background: #fbe9e9; color: var(--red);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.why-item h3 { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.why-item p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 13px; color: #030304; }

/* ============ AWARDS ============ */
.awards { background: #f5f5f5; }
.awards-layout {
  display: grid;
  grid-template-columns: 695fr 362fr 307fr;
  grid-template-areas:
    "intro  dots   cards"
    "video  slider cards";
  column-gap: 38px;
  row-gap: 48px;
  align-items: start;
}
.awards-intro { grid-area: intro; }
.awards-intro .section-title { font-size: clamp(30px, 2.9vw, 46px); color: #b00f0f; margin-bottom: 18px; line-height: 1.15; }
.awards-intro p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 15px; line-height: 1.75; color: #222; text-align: justify; }

.dot-grid {
  grid-area: dots;
  align-self: start;
  margin-top: 22px;
  width: 92px; height: 92px;
  background-image: radial-gradient(circle, transparent 0 9.5px, #e3a9a9 10px 12.5px, transparent 13px);
  background-size: 32px 32px;
  background-position: -2px -2px;
}

/* campus tour video */
.award-video {
  grid-area: video;
  position: relative;
  margin: 0 10px;
  aspect-ratio: 675 / 378;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.award-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.award-video-trigger {
  border: none; padding: 0; margin: 0; width: 100%; height: 100%;
  cursor: pointer; background: none; display: block; position: relative;
}
.award-video-trigger:hover img { transform: scale(1.05); }
.play-btn {
  position: absolute; left: 50%; top: 49%;
  width: 70px; height: 70px; margin: -35px 0 0 -35px;
  border-radius: 50%;
  border: 3px solid #b52222;
  background: rgba(255,255,255,0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}
.play-btn::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  margin: -9px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #b52222;
}
.award-video-trigger:hover .play-btn { transform: scale(1.08); background: rgba(255,255,255,0.35); }
.award-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.award-video.is-playing .award-video-trigger { display: none; }

/* award slider */
.award-slider {
  grid-area: slider;
  position: relative;
  margin: 5px 0 0 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px #d9d9d9, 0 2px 8px rgba(0,0,0,0.08);
}
.award-track { display: flex; overflow: hidden; scroll-behavior: smooth; }
.award-slide { flex: 0 0 100%; min-width: 0; }
.award-slide img { width: 100%; height: auto; display: block; }
.award-slider .slide-btn {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  width: 26px; height: 40px; flex: none;
  border: none; border-radius: 0; background: transparent;
  color: #555; font-size: 20px;
}
.award-slider .slide-btn:hover { background: transparent; color: var(--red); }
.award-slider .slide-btn.prev { left: 4px; }
.award-slider .slide-btn.next { right: 4px; }

/* side cards */
.awards-cards { grid-area: cards; display: flex; flex-direction: column; gap: 26px; margin-top: 97px; }
.award-card {
  background: #020b33;
  color: #fff;
  border-radius: 24px;
  padding: 22px 30px 26px;
  box-shadow: 0 8px 24px rgba(20, 25, 50, 0.16);
}
.award-card.light { background: #fff; padding: 22px 20px 20px; }
.award-card h3 { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.award-card.light h3 { color: var(--navy-dark); }
.award-card:not(.light) h3 { color: #fff; }
.award-card p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 15px; line-height: 1.8; }
.award-card.light p { color: var(--text-muted); }
.award-card:not(.light) p { color: rgba(255,255,255,0.92); }
.btn-pill {
  align-self: flex-start;
  border-radius: 40px;
  background: #b00f0f;
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 20px;
}
.btn-pill:hover { background: var(--red-dark); }

@media (max-width: 1024px) {
  .awards-layout {
    grid-template-columns: 1.5fr 1fr;
    grid-template-areas:
      "intro  intro"
      "video  slider"
      "cards  cards";
    row-gap: 30px;
  }
  .dot-grid { display: none; }
  .award-video { margin: 0; align-self: center; }
  .award-slider { margin: 0; }
  .awards-cards { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .awards-cards .btn-pill { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
}
@media (max-width: 768px) {
  .awards-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "video" "slider" "cards";
  }
  .award-slider { max-width: 360px; width: 100%; justify-self: center; }
  .awards-cards { grid-template-columns: 1fr; }
  .awards-cards .btn-pill { justify-self: center; }
}

/* ============ LIFE AT LLOYD ============ */
.life { background: var(--red); color: #fff; overflow: hidden; }
.life .section-title { color: #fff; }
.life-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; }
.life-media { position: relative; }
.life-media::before,
.life-media::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.13);
  border-radius: 16px;
  z-index: 0;
}
.life-media::before { width: 46px; height: 190px; left: -14px; top: 26px; }
.life-media::after { width: 70px; height: 210px; right: -8px; top: 150px; }
.life-collage-img {
  position: relative;
  z-index: 1;
  width: 100%;
  animation: floatY 6s ease-in-out infinite;
}
.life-text h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.life-intro { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 15px; color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.life-item { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.life-item:last-child { border-bottom: none; }
.licon {
  flex: 0 0 40px; height: 40px; width: 40px;
  display: flex; align-items: flex-start; justify-content: center; font-size: 26px;
  line-height: 1;
}
.licon svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.6; }
.life-item h3 { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.life-item p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 13.5px; color: rgba(255,255,255,0.82); }

/* ============ RECRUITERS ============ */
.recruiters { background: var(--white); }
.recruiters-grid { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 40px; align-items: center; }
.recruiters-text h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--red); margin-bottom: 14px; line-height: 1.15; }
.recruiters-text h2 .counter { color: var(--red); }
.recruiters-text > p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.recruiters-slider { min-width: 0; }
.recruiter-track {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  border-radius: 10px;
}
.recruiter-slide { flex: 0 0 100%; min-width: 0; }
.recruiter-slide img { width: 100%; display: block; }
.recruiters-slider .slider-dots { justify-content: center; margin-top: 16px; }
.recruiters-slider .slider-dots button { background: #d9d9e0; }
.recruiters-slider .slider-dots button.active { background: var(--red); }

.recruiters-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 360px; object-fit: cover; }

/* ============ PLACEMENT ============ */
.placement { background: var(--paper); }
.placement-slider, .alumni-slider { display: flex; align-items: center; gap: 14px; }
.placement-track, .alumni-track { display: flex; gap: 24px; overflow: hidden; scroll-behavior: smooth; flex: 1; }
.placement-card {
  flex: 0 0 calc(25% - 18px);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #ececf0;
}
.placement-card img { width: 100%; display: block; }
.placement .slider-dots { justify-content: center; margin-top: 20px; }
.placement .slider-dots button { background: #d3d3dc; }
.placement .slider-dots button.active { background: var(--red); }

.slide-btn {
  flex: 0 0 40px; height: 40px; width: 40px;
  border-radius: 50%;
  border: 1px solid #d3d3dc;
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font-size: 15px;
  transition: background 0.25s ease, color 0.25s ease;
}
.slide-btn:hover { background: var(--red); color: #fff; }

/* ============ ALUMNI ============ */
.alumni {
  background: var(--navy-dark) url('../images/hero-bg.webp') center center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  overflow: hidden;
}
.alumni-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,24,54,0.78) 0%, rgba(120,60,40,0.55) 55%, rgba(14,24,54,0.92) 100%);
}
.alumni .container { position: relative; z-index: 2; }

.alumni-badge {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 40px;
  margin: 0 auto 16px;
}
.alumni .container { text-align: center; }
.alumni-badge .ab-star { color: var(--gold); margin-right: 6px; }

.alumni-card {
  flex: 0 0 calc(33.333% - 16px);
  position: relative;
  background: #0b1a44;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 46px 26px 30px;
  text-align: left;
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}
.alumni-mark {
  font-family: 'Playfair Display', 'Playfair Fallback', Georgia, serif;
  position: absolute;
  top: 14px; left: 22px;
  font-size: 70px;
  line-height: 1;
  color: #fff;
  font-weight: 700;
}
.alumni-card .stars {
  display: inline-block;
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.28);
  margin: 6px 0 14px;
}
.alumni-card .stars::before { content: "\2605\2605\2605\2605\2605"; }
.alumni-card .stars span {
  position: absolute; left: 0; top: 0;
  overflow: hidden; white-space: nowrap;
  color: var(--gold);
}
.alumni-card .stars span::before { content: "\2605\2605\2605\2605\2605"; }
.alumni-card p {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 26px;
}
.alumni-meta { margin-top: auto; }
.alumni-card h4 { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 16px; font-weight: 700; color: #fff; }
.alumni-course { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 12.5px; color: rgba(255,255,255,0.65); }
.alumni-track { align-items: stretch; }
.alumni-card { display: flex; flex-direction: column; }
.alumni .slide-btn {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.alumni .slide-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.3); cursor: pointer; padding: 0;
}
.slider-dots button.active { background: var(--gold); }

/* ============ ADMISSION PROCESS ============ */
.admission { background: var(--white); }
.admission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.admission-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.admission-acc { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid #e6e6ec; border-radius: 10px; overflow: hidden; background: #fff; }
.acc-head {
  width: 100%;
  text-align: left;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 15px 18px;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.acc-ic { font-size: 18px; transition: transform 0.3s ease; }
.acc-item.active .acc-ic { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.acc-item.active .acc-body { max-height: 900px; }
.acc-item.active .acc-body-scroll {
  max-height: 430px;
  overflow-y: auto;
  padding-bottom: 8px;
}
.acc-body-scroll { scrollbar-width: thin; }
.acc-body-scroll::-webkit-scrollbar { width: 8px; }
.acc-body-scroll::-webkit-scrollbar-thumb { background: #cfd2dc; border-radius: 8px; }
.acc-body p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 13.5px; color: var(--text-muted); padding: 14px 18px; }
.acc-body p ~ p,
.acc-body .acc-subtitle ~ p { padding-top: 0; }
.acc-subtitle {
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding: 14px 18px 6px;
}
.acc-body p + .acc-subtitle,
.acc-body .acc-list + .acc-subtitle { padding-top: 10px; }
.acc-list {
  list-style: disc;
  padding: 0 18px 8px 38px;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-size: 13.5px;
  color: var(--text-muted);
}
.acc-list li { margin-bottom: 4px; }
.acc-list li::marker { color: var(--red); }
.acc-body a { color: var(--red); font-weight: 600; overflow-wrap: anywhere; }
.acc-body a:hover { text-decoration: underline; }
.admission-acc .btn { align-self: flex-start; margin-top: 6px; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 30px; padding-bottom: 40px; }
.footer-logo { width: 54px; margin-bottom: 12px; }
.footer-col h4 { font-family: 'Poppins', 'Poppins Fallback', sans-serif; color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col p { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-col ul li { margin-bottom: 9px; font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 13.5px; }
.footer-col ul li a:hover { color: var(--gold); }
.reach-list li { display: flex; gap: 8px; align-items: flex-start; color: rgba(255,255,255,0.7); }
.reach-list .ri { flex: 0 0 auto; line-height: 1.6; }
.reach-list li a { color: rgba(255,255,255,0.7); }
.reach-list li a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff;
  transition: background 0.25s ease;
}
.footer-social a:hover { background: var(--red); }
.footer-bottom { background: #0a1128; padding: 16px 0; font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 12.5px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-links a:hover { color: var(--gold); }

/* ============ FLOATING BUTTONS ============ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; z-index: 999;
  animation: pulseWA 2.4s infinite;
}
.apply-float {
  position: fixed; bottom: 26px; left: 24px;
  background: var(--red); color: #fff;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 40px;
  box-shadow: var(--shadow-lg); z-index: 999;
}
.apply-float:hover { background: var(--red-dark); }

/* ============ FORM PANELS (login / otp) ============ */
.form-panel.hidden { display: none; }
.modal-heading { text-align: center; color: var(--navy); font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.modal-sub { font-family: 'Poppins', 'Poppins Fallback', sans-serif; text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
#loginPanel label, #otpPanel label { font-family: 'Poppins', 'Poppins Fallback', sans-serif; display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 6px; top: 8px;
  background: none; border: none; font-size: 17px; cursor: pointer; color: var(--text-muted); padding: 6px;
}
.modal-links.center { text-align: center; margin-top: 12px; }
.modal-link { font-family: 'Poppins', 'Poppins Fallback', sans-serif; color: var(--navy); font-weight: 700; font-size: 13px; text-decoration: underline; }
.modal-link:hover { color: var(--red); }
.btn-modal-submit {
  width: 100%; background: var(--red); color: #fff; border: none;
  padding: 13px; border-radius: 8px; font-family: 'Poppins', 'Poppins Fallback', sans-serif;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: background 0.25s ease;
}
.btn-modal-submit:hover { background: var(--red-dark); }
.otp-verify-row.hidden, .otp-sent-msg.hidden { display: none; }
.otp-sent-msg { font-family: 'Poppins', 'Poppins Fallback', sans-serif; text-align: center; color: var(--green); font-weight: 600; font-size: 13px; margin: -4px 0 12px; }

/* ============ PRIVACY CONSENT (register / login) ============ */
.consent-block { margin: 2px 0 14px; }
.consent-help { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 11.5px; line-height: 1.55; color: var(--text-muted); margin: 0 0 10px; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 9px; font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 12px; line-height: 1.5; color: var(--text-dark); cursor: pointer; }
.hero-form .consent-row input[type="checkbox"] { width: 13px; height: 13px; flex: 0 0 13px; margin: 3px 0 0; padding: 0; accent-color: #8690ab; }
.consent-row a, .consent-note a { color: #8690ab; font-weight: 600; text-decoration: underline; }
.consent-row b { color: var(--red); }
.consent-tag { font-style: normal; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; background: #edf0f5; color: #536174; white-space: nowrap; }
.consent-note { font-family: 'Poppins', 'Poppins Fallback', sans-serif; text-align: center; font-size: 11.5px; color: var(--text-muted); margin: 10px 0 0; }
.privacy-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(16, 26, 45, 0.8); }
.privacy-modal[hidden] { display: none; }
.privacy-box { background: #fff; width: 100%; max-width: 720px; max-height: 88vh; overflow-y: auto; border-radius: 14px; padding: 24px; color: var(--text-dark); }
.privacy-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.privacy-head h2 { font-size: 21px; margin: 0; color: var(--navy); }
.privacy-close { border: 0; background: #eef2f8; border-radius: 8px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.privacy-box h3 { font-size: 15px; margin: 20px 0 4px; color: var(--navy); }
.privacy-box ul { list-style: disc; padding-left: 22px; margin: 6px 0; }
.privacy-box p, .privacy-box li { font-size: 13px; line-height: 1.65; color: #526078; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 30px; min-height: 0; }
  .hero-girl { display: none; }
}

@media (max-width: 1024px) {
  .hero { padding-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-form { max-width: 460px; margin: 0 auto; width: 100%; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .program-cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .scholarship-grid, .why-grid, .awards-grid, .life-grid,
  .recruiters-grid, .admission-grid { grid-template-columns: 1fr; }
  .recruiters-img, .about-img { max-width: 520px; }
  .scholarship-text { padding-bottom: 32px; }
  .scholarship-img { justify-self: center; }
  .scholarship-img img { max-height: 320px; }
  .placement-card { flex: 0 0 calc(50% - 12px); }
  .alumni-card { flex: 0 0 calc(50% - 12px); }
  .alumni { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .topbar-inner { flex-direction: column; gap: 6px; text-align: center; padding: 8px 14px; }
  .topbar-contact { gap: 6px 14px; flex-wrap: wrap; justify-content: center; width: 100%; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badge { margin-bottom: 14px; }
  .hero-course { justify-content: center; }
  .hero-btns { display: none; }
  .program-cards { grid-template-columns: 1fr; }
  .scholarship-flex { flex-direction: column; text-align: center; }
  .life-media { max-width: 520px; margin: 0 auto; }
  .placement-card, .alumni-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .apply-float { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .topbar { font-size: 11.5px; }
  .topbar-contact { gap: 4px 14px; }
  .topbar-contact a { word-break: break-word; }
  .hero-text h1 { font-size: 30px; white-space: normal; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats-section { padding: 40px 0; }
  .stat-num { font-size: 26px; }
  .stat-item h3 { font-size: 16px; }
  .stat-item p { font-size: 12.5px; }
  .why-masonry { column-count: 2; column-gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-form { padding: 22px 16px; }
  .scholarship-big { font-size: 72px; }
}

/* ============ MOBILE STICKY BOTTOM BAR (call + WhatsApp) ============ */
.mobile-sticky-bar { display: none; }
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
  }
  .mobile-sticky-bar a {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 8px calc(12px + env(safe-area-inset-bottom));
    color: #fff;
    font-family: 'Poppins', 'Poppins Fallback', sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
  }
  .mobile-sticky-bar svg { width: 26px; height: 26px; fill: #fff; flex: 0 0 auto; }
  .msb-call { background: var(--red); }
  .msb-wa { background: #25d366; }
  .msb-call:active { background: var(--red-dark); }
  .msb-wa:active { background: #1ebe5a; }

  /* the bar replaces the round WhatsApp button; keep footer clear of the bar */
  .whatsapp-float { display: none; }
  body { padding-bottom: 52px; }
}

/* ============ TOP BAR LOGO (transparent, sits on the hero image) ============ */
.topbar-inner { padding-top: 18px; padding-bottom: 0; }
.topbar-logo { display: inline-block; line-height: 0; }
.topbar-logo img { height: 74px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45)); }
.hero { padding-top: 120px; }
@media (max-width: 768px) {
  .topbar-inner { align-items: center; padding-top: 14px; }
  .topbar-logo img { height: 56px; }
  .hero { padding-top: 96px; }
}

/* ============================================================
   HERO v2 – light banner (students + campus, navy Apply Now card)
   ============================================================ */
.hero {
  background: linear-gradient(100deg, #ffffff 0%, #f5f8fe 38%, #dbe8fb 70%, #c9ddf8 100%);
  color: var(--navy);
  padding: 34px 0 70px;
  overflow: hidden;
}
.hero-swoosh { position: absolute; pointer-events: none; z-index: 1; }
.hero-swoosh-top {
  top: -120px; left: -150px; width: 330px; height: 230px; border-radius: 50%;
  background: var(--navy); box-shadow: 18px 14px 0 0 var(--gold); transform: rotate(-24deg);
}
.hero-swoosh-bottom {
  left: -10%; right: -10%; bottom: -110px; height: 160px; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--navy); box-shadow: 0 -10px 0 0 var(--gold), 0 -22px 0 0 #fff;
}
.hero-photo {
  position: absolute; z-index: 1; top: 0; bottom: 0; left: 41%; width: 35%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 88%, transparent 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; min-height: 600px; align-items: center; }
.hero-text { position: relative; z-index: 2; max-width: 640px; }

.hero-brand { display: inline-flex; align-items: center; gap: 22px; margin-bottom: 30px; }
.hero-brand img { width: 150px; height: auto; mix-blend-mode: multiply; }
.hero-brand-text { display: flex; flex-direction: column; padding-left: 22px; border-left: 2px solid var(--navy); font-family: 'Poppins', 'Poppins Fallback', sans-serif; }
.hero-brand-text strong { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: .3px; border-bottom: 2px solid var(--navy); padding-bottom: 4px; margin-bottom: 6px; }
.hero-brand-text small { font-size: 21px; font-weight: 600; color: var(--navy); }

.hero-text h1 { font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: clamp(34px, 3.8vw, 60px); font-weight: 700; line-height: 1.12; letter-spacing: -.5px; color: var(--navy); margin-bottom: 26px; }
.hero-text h1 span { position: relative; display: inline-block; color: var(--gold); padding-bottom: 12px; }
.hero-text h1 span::after {
  content: ""; position: absolute; left: 17%; right: 18%; bottom: 0; height: 5px;
  background: var(--gold); border-radius: 50%; transform: rotate(-1deg);
}

.hero-admission {
  display: inline-block; position: relative; margin: 0 0 18px -6px; padding: 12px 52px 12px 46px;
  background: var(--navy); color: #fff; font-size: clamp(18px, 2vw, 30px); font-weight: 600;
  letter-spacing: 0; text-transform: none; clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}
.hero-admission strong { color: var(--gold); }

.hero-course { color: var(--navy); font-size: clamp(18px, 1.9vw, 28px); font-weight: 600; margin-bottom: 26px; padding-left: 26px; }
.hero-course span + span::before { width: 3px; height: 26px; margin: 0 12px; opacity: 1; }

.hero-features { list-style: none; display: grid; grid-template-columns: .8fr .9fr 1.1fr 1.25fr; gap: 12px; margin: 0 0 34px; padding: 0; }
.hero-features li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 118px; padding: 14px 8px; background: rgba(255, 255, 255, .92); border-radius: 12px;
  box-shadow: 0 8px 22px rgba(21, 34, 74, .12); font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--navy);
}
.hero-features svg { width: 42px; height: 42px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-scholarship {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 0 60px; padding: 14px 34px;
  background: var(--gold); color: var(--navy); border-radius: 50px; font-size: clamp(16px, 1.7vw, 26px); font-weight: 700;
  box-shadow: 0 10px 24px rgba(242, 194, 48, .4); transition: transform .25s ease, box-shadow .25s ease;
}
.hero-scholarship:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(242, 194, 48, .5); }
.hero-scholarship svg { width: 40px; height: 40px; fill: var(--navy); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
.hero-scholarship .arrow, .btn-register .arrow { font-weight: 700; }

/* --- Apply Now card --- */
.hero-form {
  position: relative; z-index: 3; margin-top: 46px; padding: 46px 22px 22px;
  background: rgba(21, 34, 74, .94); border: 2px solid rgba(255, 255, 255, .85); border-radius: 18px;
  box-shadow: 0 24px 50px rgba(14, 24, 54, .35); color: #fff;
}
.hero-form #registerPanel > h3 {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%); margin: 0; padding: 12px 38px;
  background: var(--gold); color: var(--navy); border-radius: 40px; white-space: nowrap;
  font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 30px; font-weight: 700; letter-spacing: 0; text-transform: none; box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}
.hero-form h3.modal-heading { color: #fff; }
.hero-form input:not([type="checkbox"]), .hero-form select {
  height: 46px; margin-bottom: 12px; padding: 0 14px; border: 0; border-radius: 6px; background: #fff;
  font-size: 15px; font-weight: 500; color: var(--navy);
}
.hero-form input::placeholder { color: var(--navy); opacity: 1; }
.hero-form input:focus, .hero-form select:focus { outline: 3px solid var(--gold); outline-offset: 0; background: #fff; }
.hero-form .fi { position: relative; flex: 1; min-width: 0; }
.hero-form .fi svg {
  position: absolute; left: 14px; top: 23px; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none;
  fill: var(--navy); stroke: var(--navy); stroke-width: 1.2; stroke-linejoin: round;
}
.hero-form .fi input, .hero-form .fi select { padding-left: 46px; }
.hero-form .phone-row { gap: 10px; }
.hero-form .phone-row .isd { flex: 0 0 84px; padding: 0 14px; text-align: left; background: #fff; }
.hero-form .select-row { gap: 10px; }
.hero-form .select-row select { padding-left: 40px; font-size: 14px; }
.hero-form .select-row .fi svg { left: 12px; }

.hero-form .consent-block { margin: 4px 0 18px; }
.hero-form .consent-row { color: #fff; font-size: 13px; line-height: 1.4; gap: 10px; }
.hero-form .consent-row input[type="checkbox"] { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--gold); }
.hero-form .consent-row a { color: #fff; font-weight: 500; }
.hero-form .consent-note { color: #c9d1ea; }
.hero-form .consent-note a { color: var(--gold); }

.btn-register {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; border: 0; border-radius: 8px;
  background: var(--gold); color: var(--navy); font-family: 'Poppins', 'Poppins Fallback', sans-serif; font-size: 22px; font-weight: 700; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.btn-register:hover { background: #ffd24d; transform: translateY(-1px); }
.btn-register[disabled] { opacity: .75; cursor: wait; }
.hero-form .existing-user { margin: 16px 0 0; text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 500; color: #fff; }
.hero-form .existing-user a { color: var(--gold); font-weight: 700; text-decoration: underline; }
.hero-form .existing-user:hover { text-decoration: none; }

/* login / OTP panels inside the navy card */
.hero-form #loginPanel label, .hero-form #otpPanel label { color: #fff; }
.hero-form .modal-sub { color: #c9d1ea; }
.hero-form .modal-link { color: var(--gold); }
.hero-form .modal-link:hover { color: #fff; }
.hero-form .btn-modal-submit { background: var(--gold); color: var(--navy); }
.hero-form .btn-modal-submit:hover { background: #ffd24d; }
.hero-form .otp-sent-msg { color: #7ee2a2; }
.hero-form .password-field input { margin-bottom: 0; }
.hero-form .password-field { margin-bottom: 12px; }
.hero-form .pw-toggle { top: 50%; transform: translateY(-50%); right: 6px; line-height: 1; }

@media (max-width: 1280px) {
  .hero-photo { left: 40%; width: 33%; }
  .hero-brand img { width: 120px; }
  .hero-brand-text strong { font-size: 24px; }
  .hero-brand-text small { font-size: 17px; }
  .hero-features li { font-size: 13px; min-height: 104px; }
  .hero-features svg { width: 34px; height: 34px; }
  .hero-scholarship { margin-left: 30px; }
}
@media (max-width: 1100px) {
  .hero-photo { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 1024px) {
  .hero { padding-bottom: 90px; }
  .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-text { max-width: 680px; }
  .hero-brand { justify-content: center; }
  .hero-course { justify-content: center; padding-left: 0; }
  .hero-scholarship { margin-left: 0; }
  .hero-form { max-width: 440px; width: 100%; text-align: left; }
}
@media (max-width: 768px) {
  .hero { padding-top: 24px; }
  .hero-swoosh-top { width: 220px; height: 150px; top: -90px; left: -110px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-brand { gap: 12px; }
  .hero-brand img { width: 78px; }
  .hero-brand-text { padding-left: 12px; text-align: left; }
  .hero-brand-text strong { font-size: 17px; }
  .hero-brand-text small { font-size: 12px; }
  .hero-text h1 { font-size: 32px; }
  .hero-admission { padding: 10px 28px; margin-left: 0; }
  .hero-course span + span::before { margin: 0 8px; height: 18px; }
  .hero-features li { min-height: 96px; font-size: 12.5px; }
  .hero-scholarship { padding: 12px 22px; gap: 10px; }
  .hero-scholarship svg { width: 28px; height: 28px; }
  .hero-form { padding: 42px 14px 18px; }
  .hero-form #registerPanel > h3 { font-size: 24px; padding: 10px 30px; }
  .hero-form .phone-row .isd { flex-basis: 64px; }
  .btn-register { font-size: 19px; height: 50px; }
}

/* desktop: hero spans the full width so the form sits at the right edge (as in the banner) */
@media (min-width: 1101px) {
  .hero .hero-grid { max-width: none; padding: 0 28px 0 4%; }
  .hero-form { justify-self: end; width: 100%; max-width: 400px; }
}

/* wider campus photo (building + LLOYD sign) running behind the form; form nudged left */
.hero-photo { left: 38%; right: 0; width: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 100%); }
.hero-photo img { object-position: left top; }
@media (max-width: 1280px) { .hero-photo { left: 36%; width: auto; } }
@media (min-width: 1101px) { .hero .hero-grid { padding-right: 6%; } }
.hero-swoosh-bottom { z-index: 2; }
@media (min-width: 1101px) { .hero-form { margin-top: 120px; } }

/* hero logo: logo-llc.webp has white text, so it sits on a navy panel */
.hero-brand-logo { display: inline-block; gap: 0; padding: 12px 22px; background: var(--navy); border-radius: 12px; box-shadow: 0 10px 24px rgba(21, 34, 74, .22); line-height: 0; }
.hero-brand-logo img { width: auto; height: 74px; mix-blend-mode: normal; }
@media (max-width: 480px) { .hero-brand-logo { padding: 8px 14px; } .hero-brand-logo img { height: 52px; } }
@media (min-width: 1025px) { .hero-brand-logo { margin-left: 40px; } }
.hero-text h1 span { color: var(--red); }
/* scholarship button + bottom curve in the "Our Programs" red */
.hero-scholarship { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(160, 28, 28, .35); }
.hero-scholarship:hover { background: var(--red-dark); box-shadow: 0 14px 28px rgba(160, 28, 28, .45); }
.hero-scholarship svg { fill: #fff; stroke: #fff; }
.hero-swoosh-bottom { background: var(--red); }
/* Register / Login / Send OTP buttons in the same red */
.btn-register, .hero-form .btn-modal-submit { background: var(--red); color: #fff; }
.btn-register:hover, .hero-form .btn-modal-submit:hover { background: var(--red-dark); color: #fff; }
.hero-form #registerPanel > h3 { background: var(--red); color: #fff; }
/* Apply Now as a red header strip inside the card (no floating pill over the building) */
.hero-form { padding-top: 22px; }
.hero-form #registerPanel > h3 {
  position: static; transform: none; display: block; margin: -22px -22px 18px; padding: 14px 20px;
  border-radius: 16px 16px 0 0; box-shadow: none; text-align: center; font-size: 26px; line-height: 1.2;
}
.hero-form #registerPanel > h3::after { display: none; }
@media (max-width: 480px) {
  .hero-form { padding-top: 18px; }
  .hero-form #registerPanel > h3 { margin: -18px -14px 16px; font-size: 22px; padding: 12px; }
}
/* compact Apply Now card */
.hero-form { max-width: 360px; padding: 18px 18px 16px; }
.hero-form #registerPanel > h3 { margin: -18px -18px 14px; padding: 11px 16px; font-size: 22px; }
.hero-form input:not([type="checkbox"]), .hero-form select { height: 40px; margin-bottom: 10px; font-size: 14px; }
.hero-form .fi svg { top: 20px; width: 18px; height: 18px; }
.hero-form .fi input, .hero-form .fi select { padding-left: 40px; }
.hero-form .select-row select { padding-left: 34px; font-size: 13px; }
.hero-form .select-row .fi svg { left: 10px; }
.hero-form .phone-row .isd { flex-basis: 64px; }
.hero-form .consent-block { margin: 2px 0 14px; }
.hero-form .consent-row { font-size: 12px; margin-bottom: 7px; gap: 8px; }
.hero-form .consent-row input[type="checkbox"] { width: 15px; height: 15px; flex-basis: 15px; }
.btn-register { height: 48px; font-size: 19px; }
.hero-form .existing-user { margin-top: 12px; font-size: 14px; }
.hero-form .btn-modal-submit { padding: 11px; font-size: 15px; }
@media (min-width: 1101px) { .hero-form { max-width: 360px; } .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.hero-form .consent-row input[type="checkbox"] { width: 12px; height: 12px; flex: 0 0 12px; margin-top: 2px; }
/* show the whole campus photo (no zoom-crop) so the students sit higher */
.hero-photo img { width: auto; height: 100%; max-width: none; object-fit: contain; object-position: left bottom; }
.hero-photo { -webkit-mask-image: none; mask-image: none; }
.hero-photo img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 80%, transparent 100%); }
/* anchor the campus photo to the form: its empty right part sits behind the card, students run up to the form */
@media (min-width: 1101px) {
  .hero-photo { left: 0; right: calc(6% - 20px); width: auto; display: flex; justify-content: flex-end; }
  .hero-photo img { flex: none; height: 100%; width: auto; object-position: right bottom;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 100%); }
}
@media (min-width: 1101px) { .hero-photo img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%); } }
/* large screens: keep the hero content together (no empty gap between text and students) */
@media (min-width: 1700px) {
  .hero .hero-grid { max-width: 1640px; margin: 0 auto; padding: 0 40px; }
  .hero-photo { right: calc((100% - 1640px) / 2 + 20px); }
}
/* mobile: feature cards go below the Apply Now form */
@media (max-width: 768px) {
  .hero-text { display: contents; }
  .hero-text > * { position: relative; z-index: 2; }
  .hero-form { order: 1; }
  .hero-features { order: 2; width: 100%; max-width: 440px; margin: 8px auto 0; }
}
@media (max-width: 768px) {
  .hero-grid { gap: 0; }
  .hero-brand { margin-bottom: 22px; }
  .hero-text h1 { margin-bottom: 18px; }
  .hero-course { margin-bottom: 20px; }
  .hero-scholarship { margin-bottom: 0; }
  .hero-form { margin-top: 26px; }
  .hero-features { margin-top: 18px; margin-bottom: 0; }
}

/* ============ RANKINGS STRIP (same as cyber-law) ============ */
.rankings { background: #B20601; padding: 18px 0; line-height: 0; }
.rankings .container { display: flex; justify-content: center; }
.rankings-img { width: 100%; height: auto; display: block; }

/* tablet landscape / small laptop (861–1100px): text left, form right, cards 2x2 */
@media (min-width: 861px) and (max-width: 1100px) {
  .hero { padding: 28px 0 90px; }
  .hero .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; justify-items: stretch; text-align: left; align-items: center; }
  .hero-text { max-width: none; }
  .hero-brand, .hero-brand-logo { margin-left: 0; justify-content: flex-start; }
  .hero-brand-logo img { height: 60px; }
  .hero-text h1 { font-size: clamp(34px, 4.4vw, 46px); }
  .hero-admission { font-size: 20px; padding: 10px 36px 10px 30px; }
  .hero-course { justify-content: flex-start; padding-left: 0; font-size: 19px; }
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
  .hero-features li { min-height: 84px; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px; text-align: left; font-size: 13px; }
  .hero-features li br { display: none; }
  .hero-features svg { width: 30px; height: 30px; flex: none; }
  .hero-scholarship { margin-left: 0; font-size: 17px; padding: 12px 24px; }
  .hero-form { max-width: 340px; width: 100%; margin: 0; justify-self: end; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hero .hero-grid { padding: 0 32px; }
  .hero-features li br { display: inline; content: ""; }
  .hero-features li br::after { content: " "; }
}

/* ===== consistent desktop hero at every width (>=1101px) ===== */
@media (min-width: 1101px) {
  .hero { padding-top: 40px; }
  .hero .hero-grid { max-width: 1640px; margin: 0 auto; padding: 0 clamp(32px, 4vw, 72px); }
  .hero-photo { right: calc(max(0px, (100% - 1640px) / 2) + clamp(32px, 4vw, 72px) - 20px); }
  .hero-brand-logo { margin-left: 0; }
  .hero-brand-logo img { height: 84px; }
}
/* smaller navy/yellow top-left corner so it never runs into the logo */
.hero-swoosh-top { width: 240px; height: 160px; top: -100px; left: -130px; box-shadow: 12px 10px 0 0 var(--gold); }
/* floating Apply Now hides while the hero form is on screen */
.apply-float { transition: opacity .25s ease, visibility .25s ease; }
.apply-float.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* desktop only: campus trees fill the right side behind the form (not loaded on mobile) */
.hero-side { display: none; }
@media (min-width: 1101px) {
  .hero-side {
    display: block; position: absolute; z-index: 0; top: 0; bottom: 0; right: 0;
    width: calc(max(0px, (100% - 1640px) / 2) + clamp(32px, 4vw, 72px) + 300px);
    background: url("../images/hero-trees.webp") left top / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%);
  }
  .hero-photo { z-index: 1; }
}

/* LL.B single-course hero badge */
.hero-course--single{margin-top: 4px;align-items: center}
.hero-course--single span + span::before{content: none}
.hero-course--single .hc-name{font-family: 'Playfair Display',serif;font-size: clamp(34px,3.4vw,48px);font-weight: 800;line-height: 1;letter-spacing: 0.5px;color: var(--red)}
.hero-course--single .hc-full{flex-direction: column;align-items: flex-start;font-size: clamp(13px,1.1vw,16px);font-weight: 600;letter-spacing: 1.5px;text-transform: uppercase;line-height: 1.35;color: var(--navy);margin-left: 16px;padding-left: 16px;border-left: 3px solid var(--gold)}
.hero-course--single .hc-full em{font-style: normal;font-size: 0.82em;font-weight: 500;letter-spacing: 1px;color: var(--text-muted)}
@media (max-width: 768px){.hero-course--single .hc-name{font-size: 32px}
.hero-course--single .hc-full{text-align: left;font-size: 12.5px;margin-left: 12px;padding-left: 12px}
}
