/* ============================================================
   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 {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10, 30, 92, .96) 0%, rgba(13, 38, 110, .82) 38%, rgba(13, 38, 110, .25) 62%, rgba(10, 30, 92, .55) 100%),
    var(--navy) url("../images/banner1.png") center / cover no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 34px 0 40px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(10, 30, 92, .75));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: center;
  max-width: none;
  padding: 0 4vw;
}

.hero-grid > * { min-width: 0; }
.hero-logo { width: 300px; max-width: 100%; margin-bottom: 26px; }

.hero-text h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); font-weight: 600; line-height: 1.08; letter-spacing: -.5px; }
.hero-text h1 span { display: block; color: var(--yellow); font-weight: 700; }
.hero-text h1::after { content: ""; display: block; width: 76px; height: 5px; border-radius: 4px; background: var(--yellow); margin: 20px 0 18px; }

.hero-admission { font-size: clamp(1.25rem, 2.3vw, 1.9rem); font-weight: 600; line-height: 1.25; }
.hero-courses { font-size: clamp(.95rem, 1.5vw, 1.2rem); margin: 4px 0 24px; color: #e6e9f6; }
.hero-courses b { color: var(--white); }

.hero-spec h2 { font-size: clamp(1.1rem, 1.9vw, 1.5rem); font-weight: 600; margin-bottom: 12px; }

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

.spec-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--yellow);
  color: #0f1b4c;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  transition: transform .3s var(--ease), background .3s;
}

.spec-chip:hover { transform: translateY(-4px); background: #ffd64d; }
.spec-chip svg { width: 26px; height: 26px; flex: none; stroke-width: 1.6; }

.hero-form {
  width: 100%;
  max-width: 400px;
  background: rgba(22, 26, 85, .88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 22px 22px 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
  color: var(--white);
}

.hero-form h3 {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.hero-form h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--yellow);
  transform: translateX(-50%);
}

.hero-form input,
.hero-form select {
  width: 100%;
  height: 38px;
  border: 1px solid #d9dcea;
  border-radius: 6px;
  padding: 0 10px;
  margin-bottom: 9px;
  font: 14px "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

.hero-form input:focus,
.hero-form select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(246, 184, 26, .3); }
.hero-form .invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 32, 42, .25); }

.phone-row { display: flex; gap: 8px; }
.phone-row .isd { width: 58px; flex: none; text-align: center; background: #eef0f7; }
.select-row { display: flex; gap: 8px; }

.consent-row { display: flex; gap: 8px; align-items: flex-start; font-size: .72rem; line-height: 1.4; margin: 2px 0 12px; color: #d8dbf0; cursor: pointer; }
.consent-row input { width: 14px; height: 14px; margin: 2px 0 0; flex: none; accent-color: var(--yellow); }

.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: 2px 0 12px; }
.consent-block .consent-row { margin: 0 0 8px; }
.consent-row a, .consent-note a { color: var(--yellow); font-weight: 600; text-decoration: underline; }
.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; }
.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: 5px; 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: .8rem; font-weight: 600; color: var(--yellow); text-decoration: underline; }
.form-link:hover { color: var(--white); }

/* ============================================================
   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) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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) {
  .hero {
    display: block;
    min-height: 0;
    padding: 24px 0 30px;
    background:
      linear-gradient(180deg, rgba(10, 30, 92, .55) 0%, rgba(10, 30, 92, .8) 45%, var(--navy) 75%),
      var(--navy) url("../images/banner1.png") 72% top / auto 520px no-repeat;
  }
  .hero-grid { grid-template-columns: 1fr; padding: 0 16px; gap: 24px; }
  .hero-logo { width: 220px; margin-bottom: 120px; }
  .hero-form { max-width: none; }
  .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; }
  .spec-chip { font-size: .74rem; min-height: 52px; padding: 8px 10px; }
  .spec-chip svg { width: 22px; height: 22px; }
  .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; }
}
