/* ============================================================
   Lloyd Business School – Management admission landing page
   ============================================================ */
:root {
  --navy: #161a55;
  --navy-2: #1f2470;
  --navy-deep: #0f1240;
  --red: #d3202a;
  --red-dark: #b0141d;
  --yellow: #f6b81a;
  --blue: #2f6fd6;
  --text: #2b2f45;
  --muted: #646a82;
  --light: #f3f5fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 26, 85, .10);
  --shadow-lg: 0 20px 50px rgba(22, 26, 85, .18);
  --ease: cubic-bezier(.22, .9, .3, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1488px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.center { text-align: center; }

.title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
}

/* Icons (stroke style) */
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  font: 600 1rem "Poppins", sans-serif;
  padding: 12px 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
}

.btn:hover::after { animation: shine .8s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(211, 32, 42, .35); }
.btn-red:hover { background: var(--red-dark); }
.btn-sm { padding: 9px 22px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .7; cursor: wait; }

.pulse { animation: pulse 2s infinite; }

@keyframes shine { to { left: 125%; } }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(211, 32, 42, .55); }
  70% { box-shadow: 0 0 0 14px rgba(211, 32, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(211, 32, 42, 0); }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: transform, opacity; }
.reveal[data-anim="fade-up"] { transform: translateY(40px); }
.reveal[data-anim="fade-left"] { transform: translateX(60px); }
.reveal[data-anim="fade-right"] { transform: translateX(-60px); }
.reveal[data-anim="zoom"] { transform: scale(.88); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  --hero-navy: #12306e;
  --hero-red: #d7141e;
  --hero-pad-top: 26px;
  --hero-pad-bottom: 34px;
  position: relative;
  overflow: hidden;
  color: var(--hero-navy);
  background:
    radial-gradient(ellipse 60% 70% at 8% 30%, rgba(255, 255, 255, .95), transparent 70%),
    linear-gradient(100deg, #f6f9fe 0%, #eaf2fc 40%, #d8e7f8 72%, #c9dcf3 100%);
}

/* corner stripes */
.hero-deco { position: absolute; z-index: 1; pointer-events: none; }
.hero-deco::before,
.hero-deco::after { content: ""; position: absolute; inset: 0; }
.hero-deco--tl { top: 0; left: 0; width: clamp(56px, 5.6vw, 112px); height: clamp(100px, 10vw, 200px); }
.hero-deco--tl::before { background: var(--hero-red); clip-path: polygon(0 0, 100% 0, 0 42%); }
.hero-deco--tl::after { background: var(--hero-navy); clip-path: polygon(100% 22%, 100% 31%, 0 100%, 0 88%); }
.hero-deco--bl { left: 0; bottom: 0; width: clamp(110px, 12vw, 240px); height: clamp(40px, 5vw, 100px); }
.hero-deco--bl::before { background: var(--hero-navy); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.hero-deco--br { right: 0; bottom: 0; width: clamp(70px, 7vw, 140px); height: clamp(60px, 6vw, 120px); }
.hero-deco--br::before { background: var(--hero-red); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.hero-deco--br::after { background: var(--hero-navy); clip-path: polygon(100% 30%, 100% 100%, 30% 100%); }

.hero-grid {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  padding: var(--hero-pad-top) clamp(24px, 4.5vw, 90px) var(--hero-pad-bottom);
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr) clamp(370px, 22vw, 430px);
  grid-template-areas:
    "text photo form"
    "spec spec  form";
  align-items: start;
}

.hero-grid > * { min-width: 0; }
.hero-text { grid-area: text; position: relative; z-index: 2; }
.hero-spec { grid-area: spec; position: relative; z-index: 2; align-self: end; margin-top: 18px; max-width: 940px; }
.hero-form { grid-area: form; position: relative; z-index: 3; align-self: center; }

/* photo cut from the campus banner; bleeds to the hero edges, sits under the text and form */
.hero-photo {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  z-index: 1;
  align-self: stretch;
  margin: calc(-1 * var(--hero-pad-top)) -50px calc(-1 * var(--hero-pad-bottom)) -60px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 88%, transparent);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

/* brand (logo.png has white text, so it sits on a navy badge) */
.hero-brand {
  display: inline-block;
  margin-bottom: clamp(14px, 2vw, 30px);
  padding: clamp(8px, .8vw, 14px) clamp(14px, 1.4vw, 24px);
  border-radius: 12px;
  background: var(--hero-navy);
  box-shadow: 0 10px 24px rgba(18, 48, 110, .25);
}

.hero-brand img { display: block; width: clamp(220px, 18vw, 340px); height: auto; }

/* headline */
.hero-text h1 {
  font-size: clamp(2.5rem, 3.9vw, 4.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--hero-navy);
}

.hero-text h1 span { display: block; color: var(--hero-red); }

.hero-tagline {
  margin: clamp(10px, 1vw, 18px) 0 clamp(12px, 1.4vw, 24px);
  font-size: clamp(1.35rem, 2.1vw, 2.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  color: var(--hero-navy);
}

.hero-tagline i { display: inline-block; width: .2em; height: .2em; margin: 0 .55em; border-radius: 50%; background: currentColor; vertical-align: middle; }

.hero-admission {
  position: relative;
  display: inline-block;
  margin-left: .35em;
  padding: .12em 1.2em .14em .9em;
  font-size: clamp(1.35rem, 2.05vw, 2.45rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--white);
  isolation: isolate;
}

.hero-admission::before,
.hero-admission::after { content: ""; position: absolute; top: 0; bottom: 0; transform: skewX(-24deg); }
.hero-admission::before { left: 0; right: 0; z-index: -1; background: var(--hero-navy); border-radius: 3px; }
.hero-admission::after { right: -.75em; width: .32em; background: var(--hero-red); }

.hero-courses { margin-top: clamp(8px, 1vw, 14px); font-size: clamp(1rem, 1.35vw, 1.6rem); font-weight: 600; color: var(--hero-navy); }
.hero-courses b { color: var(--hero-red); font-weight: 700; }

/* specialization chips */
.hero-spec h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 1.25vw, 1.45rem);
  font-weight: 700;
  color: var(--hero-navy);
  white-space: nowrap;
}

.hero-spec h2::before,
.hero-spec h2::after { content: ""; flex: 1; height: 2px; background: var(--hero-red); }
.hero-spec h2::before { flex: 1.4; }

.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.spec-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  color: var(--hero-navy);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 6px 18px rgba(18, 48, 110, .14);
  border-bottom: 3px solid transparent;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.spec-chip:hover { transform: translateY(-4px); border-color: var(--hero-red); box-shadow: 0 12px 26px rgba(18, 48, 110, .2); }
.spec-chip svg { width: 30px; height: 30px; flex: none; stroke-width: 1.9; }

/* form card */
.hero-form {
  width: 100%;
  margin-top: 26px;
  padding: 40px 24px 22px;
  border-radius: 26px;
  background: var(--hero-navy);
  box-shadow: 0 24px 60px rgba(10, 30, 80, .35);
  color: var(--white);
}

.form-panel { position: relative; display: flow-root; }

/* white rule behind the "Apply Now" pill */
.form-panel::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, .75);
}

.hero-form h3 {
  position: relative;
  width: fit-content;
  margin: -62px auto 22px;
  padding: 7px 30px;
  border-radius: 14px;
  background: var(--hero-red);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25), 0 0 0 6px var(--hero-navy);
  font-size: clamp(1.4rem, 1.7vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero-form input,
.hero-form select {
  width: 100%;
  height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  margin-bottom: 10px;
  font: 500 14.5px "Poppins", sans-serif;
  color: var(--hero-navy);
  background-color: var(--white);
  background-repeat: no-repeat;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

.hero-form input::placeholder { color: #1d2b5e; opacity: 1; }
.hero-form input:focus,
.hero-form select:focus { border-color: #8fb3ff; box-shadow: 0 0 0 3px rgba(143, 179, 255, .45); }
.hero-form .invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 90, 100, .45); }

.hero-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 34px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-size: 14px;
}

/* field icons */
#ProgramDetails, #studentName, #email, #mobile_no, #state, #cityname { padding-left: 46px; }
#studentName, #email, #mobile_no { background-position: 15px center; background-size: 19px; }
#ProgramDetails, #state, #cityname { background-position: 15px center, right 12px center; background-size: 19px, 14px; }

#ProgramDetails {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Cpath d='M12 3 1 9l11 6 9-4.9V17h2V9L12 3zM5 13.2v4L12 21l7-3.8v-4L12 17l-7-3.8z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

#studentName { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Ccircle cx='12' cy='7.5' r='4.5'/%3E%3Cpath d='M3 21c0-4.4 4-7.5 9-7.5s9 3.1 9 7.5z'/%3E%3C/svg%3E"); }
#email { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Cpath d='M2 5h20v14H2zm2 2v.5l8 5.5 8-5.5V7l-8 5.5z'/%3E%3C/svg%3E"); }
#mobile_no { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }

#state {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

#cityname {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Cpath d='M3 21V9h5V3h13v18h-7v-4h-3v4zm2-2h2v-2H5zm0-4h2v-2H5zm0-4h2V9H5zm5 4h2v-2h-2zm0-4h2V9h-2zm0-4h2V5h-2zm4 8h2v-2h-2zm0-4h2V9h-2zm0-4h2V5h-2zm4 12h1v-2h-1zm0-4h1v-2h-1zm0-4h1V9h-1zm0-4h1V5h-1z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.phone-row { display: flex; gap: 10px; }
.phone-row .isd { width: 66px; flex: none; padding: 0; text-align: center; }
.select-row { display: flex; gap: 10px; }
.select-row select { padding-left: 38px; padding-right: 26px; font-size: 13px; }
.hero-form .select-row select { background-position: 12px center, right 10px center; background-size: 17px, 12px; }

.consent-row { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; line-height: 1.45; margin: 2px 0 12px; color: var(--white); cursor: pointer; }
.hero-form .consent-row input { width: 13px; height: 13px; margin: 3px 0 0; flex: none; accent-color: #fff; cursor: pointer; }

.hero-form .btn-red {
  height: 56px;
  margin-top: 4px;
  border-radius: 12px;
  background: var(--hero-red);
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  font-weight: 700;
}

.hero-form .btn-red:hover { background: var(--red-dark); }

.form-msg { font-size: .78rem; text-align: center; margin-top: 8px; min-height: 1em; }
.form-msg.ok { color: #7ee2a2; }
.form-msg.err { color: #ffb4b8; }

/* consent + privacy notice */
.consent-block { margin: 4px 0 14px; }
.consent-block .consent-row { margin: 0 0 8px; }
.consent-row a, .consent-note a { color: var(--white); font-weight: 600; text-decoration: underline; }
.consent-note { text-align: center; font-size: .7rem; color: #c3c7e3; 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(15, 18, 64, .8); }
.privacy-modal[hidden] { display: none; }
.privacy-box { background: var(--white); width: 100%; max-width: 720px; max-height: 88vh; overflow-y: auto; border-radius: 14px; padding: 24px; color: var(--text); }
.privacy-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.privacy-head h2 { font-size: 1.3rem; margin: 0; color: var(--navy); }
.privacy-close { border: 0; background: #eef0f7; border-radius: 8px; padding: 8px 12px; font-size: 14px; cursor: pointer; }
.privacy-box h3 { font-size: .95rem; 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: .82rem; line-height: 1.65; color: var(--muted); }

/* login / OTP panels */
.form-panel.hidden, #otpVerifyRow.hidden, .otp-sent-msg.hidden { display: none; }
.hero-form label:not(.consent-row) { display: block; font-size: .78rem; font-weight: 500; margin-bottom: 5px; color: #d8dbf0; }
.form-sub { font-size: .78rem; line-height: 1.5; text-align: center; color: #d8dbf0; margin-bottom: 12px; }
.password-field { position: relative; }
.password-field input { padding-right: 40px; }
.pw-toggle { position: absolute; right: 6px; top: 9px; height: 28px; width: 30px; border: 0; background: none; cursor: pointer; font-size: 15px; }
.otp-sent-msg { font-size: .78rem; text-align: center; color: #7ee2a2; margin-top: 8px; }
.form-link { display: block; text-align: center; margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--white); text-decoration: underline; }
.form-link:hover { color: #ffb4b8; }

.form-divider { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: .92rem; font-weight: 500; }
.form-divider::before,
.form-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .45); }
.form-divider .form-link { display: inline; margin: 0; font-size: inherit; font-weight: 700; }

@media (max-width: 1399px) {
  .hero-text h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
  .hero-grid { grid-template-columns: minmax(0, max-content) minmax(0, 1fr) 380px; }
  .hero-photo { margin-left: -70px; }
}

@media (max-width: 1199px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas:
      "text  form"
      "photo form"
      "spec  spec";
    column-gap: 30px;
  }
  .hero-photo {
    grid-area: photo;
    align-self: start;
    margin: 16px 0 0;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
    mask-image: linear-gradient(180deg, #000 78%, transparent);
  }
  .hero-photo img { height: auto; max-height: 400px; object-position: 50% 20%; }
  .hero-spec { margin-top: 24px; max-width: none; }
  .spec-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .hero-form { align-self: center; }
}

@media (max-width: 899px) {
  .hero { --hero-pad-top: 22px; --hero-pad-bottom: 30px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "text" "photo" "form" "spec";
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero-photo {
    margin: 18px -16px 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 78%, transparent);
    mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 78%, transparent);
  }
  .hero-photo img { height: auto; max-height: 560px; }
  .hero-form { width: 100%; max-width: 520px; justify-self: center; margin-top: -30px; padding: 38px 16px 20px; border-radius: 22px; }
  .hero-spec { margin-top: 38px; }
  .hero-spec h2 { max-width: none; }
  .hero-spec h2::before { flex: 1; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .hero-deco--bl, .hero-deco--br { display: none; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-wrap { padding: 40px 0 70px; background: var(--white); }

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 880px;
  margin: 0 auto;
  background: #eef1f9;
  border-radius: 16px;
  padding: 26px 20px;
  box-shadow: var(--shadow);
}

.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: #cfd4e6; }
.stat strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: var(--navy); }
.stat:first-child strong { color: var(--red); }
.stat span:not(.counter) { font-size: .82rem; color: var(--muted); }

/* ============================================================
   COURSES
   ============================================================ */
.courses { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: var(--white); overflow: hidden; }
.courses-img { overflow: hidden; }
.courses-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.courses:hover .courses-img img { transform: scale(1.06); }
.courses-body { padding: 60px 50px; }
.courses-body h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 22px; }

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

.course-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: #0f1b4c;
  border-radius: 10px;
  border-left: 4px solid var(--yellow);
  padding: 14px 12px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.course-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.course-card .ico { width: 46px; height: 46px; border-radius: 50%; background: #eaedf8; color: var(--navy); }
.course-card:hover .ico { background: var(--navy); color: var(--yellow); }
.course-info { display: flex; flex-direction: column; min-width: 0; }
.course-info strong { font-size: .98rem; font-weight: 700; line-height: 1.2; }
.course-info small { font-size: .72rem; font-weight: 500; line-height: 1.3; margin-top: 3px; color: var(--muted); }

.course-group { font-size: .8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin: 22px 0 10px; }
.course-group:first-of-type { margin-top: 0; }

.elig-title { margin-top: 34px !important; }
.elig-list li { position: relative; padding-left: 30px; margin-bottom: 8px; font-size: .95rem; }

.elig-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--white);
  border-radius: 3px;
  font-size: .7rem;
  line-height: 16px;
  text-align: center;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-text p { color: var(--muted); font-size: .92rem; text-align: justify; margin-bottom: 24px; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; transition: transform .7s var(--ease); }
.about-img:hover img { transform: scale(1.07); }

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.feature-card {
  background: var(--white);
  border: 1px solid #e3e7f3;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.feature-card:nth-child(1) { border-color: #c9d8f7; }
.feature-card:nth-child(2) { border-color: #cdeccc; }
.feature-card.wide { grid-column: 1 / -1; border-color: #f6e3b0; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card h4 { color: var(--navy); font-size: 1rem; margin: 12px 0 6px; }
.feature-card p { color: var(--muted); font-size: .82rem; }

.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; flex: none; }
.ico-blue { background: #e7efff; color: var(--blue); }
.ico-green { background: #e5f6e8; color: #2e9b4e; }
.ico-yellow { background: #fff4d6; color: #d08c00; }

.mini-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e3e7f3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 10px;
  text-align: center;
}

.mini-stat + .mini-stat { border-left: 1px solid #e3e7f3; }
.mini-stat .ico { width: 34px; height: 34px; }
.mini-stat .ico svg { width: 18px; height: 18px; }
.mini-stat strong { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.mini-stat b { display: block; font-size: .85rem; color: var(--navy); font-weight: 600; }
.mini-stat small { color: var(--muted); font-size: .72rem; }
.c-blue .ico { background: #e7efff; color: var(--blue); }
.c-blue strong { color: var(--blue); }
.c-green .ico { background: #e5f6e8; color: #2e9b4e; }
.c-green strong { color: #2e9b4e; }
.c-orange .ico { background: #fff1de; color: #e98a14; }
.c-orange strong { color: #e98a14; }

/* ============================================================
   WHY LLOYD
   ============================================================ */
.why {
  position: relative;
  background: url("../images/Background.webp") center bottom / cover no-repeat;
  padding-bottom: 0;
  overflow: hidden;
}

.why::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .78) 55%, rgba(255, 255, 255, .25) 100%); }
.why .container { position: relative; }
.why-head { text-align: center; margin-bottom: 30px; }
.why-head .title { margin-bottom: 6px; }
.why-head h3 { color: var(--red); font-size: 1.5rem; font-weight: 600; }
.why-head p { color: var(--muted); }

.why-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 30px; align-items: end; }
.why-col { display: flex; flex-direction: column; gap: 22px; padding-bottom: 60px; }

.why-card {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, .95);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-card .ico { background: #eaedf8; color: var(--navy); transition: background .35s, color .35s; }
.why-card:hover .ico { background: var(--navy); color: var(--white); }
.why-card h4 { color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.why-card p { color: var(--muted); font-size: .8rem; }

.why-center { position: relative; display: flex; flex-direction: column; align-items: center; }
.why-center img { max-height: 470px; width: auto; animation: floatY 6s ease-in-out infinite; }

.why-quote {
  position: relative;
  margin-top: -90px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 22px 24px 26px;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
}

.why-quote .q { display: block; color: #8fb3ff; font-size: 2.6rem; line-height: .6; font-style: normal; }

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

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities { position: relative; overflow: hidden; }
.deco { position: absolute; border-radius: 50%; pointer-events: none; }
.deco-circle { width: 90px; height: 90px; left: 5%; top: 30px; background: linear-gradient(135deg, #2580b5, #45a3d6); animation: floatY 7s ease-in-out infinite; }
.deco-ring { width: 26px; height: 26px; left: 4%; top: 340px; border: 7px solid var(--navy-deep); animation: floatY 5s ease-in-out infinite reverse; }

.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fac-intro { align-self: center; padding-right: 20px; }
.fac-intro p { color: var(--muted); font-size: .9rem; text-align: justify; }

.fac-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.fac-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }

.fac-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(180deg, transparent 35%, rgba(15, 18, 64, .92));
  transform: translateY(55%);
  transition: transform .5s var(--ease);
}

.fac-item h4 { font-size: 1.05rem; }
.fac-item p { font-size: .78rem; opacity: 0; transition: opacity .4s .1s; }
.fac-item:hover img { transform: scale(1.1); }
.fac-item:hover figcaption { transform: none; }
.fac-item:hover p { opacity: 1; }
.facilities .center { margin-top: 36px; }

/* ============================================================
   LIFE @ LLOYD
   ============================================================ */
.life { background: var(--navy); }
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.life-img img { width: 100%; border-radius: 6px; }
.life-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.life-card h2 { color: var(--navy); font-size: 1.5rem; margin-bottom: 18px; }
.life-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef0f6; transition: transform .3s var(--ease); }
.life-item:last-child { border-bottom: 0; }
.life-item:hover { transform: translateX(6px); }
.life-item .ico { width: 40px; height: 40px; background: var(--navy); color: var(--white); border-radius: 50%; }
.life-item .ico svg { width: 18px; height: 18px; }
.life-item h4 { color: var(--navy); font-size: .95rem; }
.life-item p { color: var(--muted); font-size: .8rem; }

/* ============================================================
   KEY HIGHLIGHTS
   ============================================================ */
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 20px; }

.hl-card {
  background: var(--white);
  border: 1px solid #e6e9f4;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s;
}

.hl-card .ico { width: 50px; height: 50px; border-radius: 50%; background: #eaedf8; color: var(--navy); margin-bottom: 14px; transition: transform .6s var(--ease); }
.hl-card h4 { color: var(--navy); font-size: .95rem; margin-bottom: 8px; line-height: 1.35; }
.hl-card p { color: var(--muted); font-size: .8rem; }
.hl-card.dark { background: var(--navy); border-color: var(--navy); }
.hl-card.dark .ico { background: var(--yellow); color: var(--navy); }
.hl-card.dark h4 { color: var(--white); }
.hl-card.dark p { color: #c9cce6; }
.hl-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.hl-card:hover .ico { transform: rotateY(360deg); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: linear-gradient(180deg, #eef1fb, #e6eaf8); position: relative; }
.testimonials::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: var(--navy); }
.testimonials .container { position: relative; z-index: 1; }
.testi-head { text-align: center; margin-bottom: 30px; }
.big-quote { display: block; color: var(--blue); font-size: 4rem; font-weight: 800; line-height: .7; font-family: Georgia, serif; letter-spacing: -6px; }

.testi-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }

/* horizontal padding lives on the slides, so the next slide never peeks into the card's padding */
.testi-slider { background: var(--white); border-radius: var(--radius); padding: 30px 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.testi-track { display: flex; transition: transform .7s var(--ease); }
.testi-slide { flex: 0 0 100%; padding: 0 30px; }
.testi-slide p { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 600; font-size: .85rem; }
.author b { display: block; color: var(--navy); font-size: .92rem; }
.author small { color: var(--muted); }

.testi-dots { display: flex; gap: 8px; margin-top: 22px; padding: 0 30px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: #cfd4e8; cursor: pointer; transition: width .35s var(--ease), background .35s; }
.testi-dots button.active { width: 28px; background: var(--red); }

.testi-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-height: 520px; }
.testi-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { background: var(--white); padding: 34px 0; border-bottom: 1px solid #eceef5; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta p { color: var(--navy); font-weight: 600; font-size: 1.05rem; }

.footer { background: var(--navy); color: #d6d9ee; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.f-brand img { width: 170px; margin-bottom: 20px; }
.social { display: flex; gap: 10px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); transition: transform .3s var(--ease), background .3s; }
.social a:hover { transform: translateY(-4px); background: var(--red); }
.social svg { width: 16px; height: 16px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.f-links li { margin-bottom: 6px; font-size: .85rem; }
.f-links a { transition: color .25s, padding .25s; }
.f-links a:hover { color: var(--yellow); padding-left: 6px; }
.f-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .85rem; }
.f-contact svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--yellow); }
.f-contact a:hover { color: var(--yellow); }

.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; }
.footer-bottom a:hover { color: var(--yellow); }

/* Floating buttons */
.float-btns { position: fixed; right: 18px; bottom: 90px; display: flex; flex-direction: column; gap: 12px; z-index: 50; }
.float-btns a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.float-btns a:hover { transform: scale(1.1); }
.float-btns svg { fill: currentColor; stroke: none; fill-rule: evenodd; width: 24px; height: 24px; }
.fb-wa { background: #25d366; animation: ring 2.4s infinite; }
.fb-call { background: var(--red); }

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .4s var(--ease);
}

.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .courses-body { padding: 50px 30px; }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-center { grid-column: 1 / -1; order: 3; }
  .why-col { padding-bottom: 0; }
}

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .courses,
  .about-grid,
  .life-grid,
  .testi-grid { grid-template-columns: 1fr; }
  .courses-img { max-height: 420px; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .fac-intro { grid-column: 1 / -1; padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .testi-img { max-height: 380px; }
}

@media (max-width: 768px) {
  .stats-wrap { padding: 30px 0 50px; }
  .stats-card { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(3)::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-center img { max-height: 380px; }
  .container { padding: 0 16px; }
  /* Side-slide reveals widen the mobile viewport and push the fixed buttons off-screen */
  .reveal[data-anim="fade-left"],
  .reveal[data-anim="fade-right"] { transform: translateY(30px); }
  .float-btns { right: 14px; }
  .float-btns a { width: 46px; height: 46px; }
  .to-top { right: 16px; }
}

@media (max-width: 560px) {
  .course-grid { grid-template-columns: 1fr; }
  /* stack icon over text so long names do not wrap into 3-4 cramped lines */
  .spec-grid { gap: 8px; }
  .spec-chip { flex-direction: column; justify-content: center; gap: 6px; min-height: 0; padding: 12px 8px; text-align: center; font-size: .74rem; }
  .spec-chip svg { width: 24px; height: 24px; }
  .spec-chip:last-child:nth-child(odd) { flex-direction: row; gap: 10px; }
  .courses-body { padding: 40px 16px; }
  .about-cards { grid-template-columns: 1fr; }
  .mini-stat strong { font-size: 1.15rem; }
  .fac-grid { grid-template-columns: 1fr; }
  .hl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { justify-content: center; text-align: center; }
  .deco { display: none; }
  .select-row { flex-direction: column; gap: 0; }
}

/* admissions-only form fields */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.field-row { display: flex; gap: 10px; }
.field-row > * { min-width: 0; }
.hero-form .field-row select,
.hero-form .field-row input { padding-left: 38px; padding-right: 26px; font-size: 13px; }

#qualification {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Cpath d='M6 2h9l5 5v15H6zm8 1.5V8h4.5zM9 12h8v1.6H9zm0 4h8v1.6H9z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: 12px center, right 10px center;
  background-size: 17px, 12px;
}

#whatsapp_number {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312306e'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2.1 1-2.4c.3-.3.6-.3.8-.3h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .5l-.3.5-.4.5c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l2 .9c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E");
  background-position: 12px center;
  background-size: 17px;
}
.consent-row b { color: #ff8a90; }
.consent-tag { font-style: normal; font-size: .62rem; font-weight: 600; padding: 1px 7px; border-radius: 20px; background: rgba(255, 255, 255, .14); color: #e4e6f5; white-space: nowrap; }
