/* ==========================================================================
   RCP-INDIA — Regional College of Polytechnic
   style.css — full design system (navy / royal blue / academic gold)
   ========================================================================== */

:root {
  --navy: #102e55;
  --deep: #0a1f38;
  --royal: #1d4ed8;
  --gold: #d6a84f;
  --gold-dark: #c89840;
  --lightblue: #eaf2fb;
  --nav-tint-rgb: 234, 242, 251; /* light shower-blue tint for mobile sticky nav + bottom bar */
  --soft: #f4f6f8;
  --charcoal: #1b3a63;
  --slate: #50657f;
  --line: #e3e9f1;
  --white: #ffffff;
  --wa: #22a85a;
  --wa-dark: #1d8f4c;
  --shadow-sm: 0 1px 3px rgba(10, 31, 56, 0.08);
  --shadow-md: 0 6px 22px rgba(10, 31, 56, 0.12);
  --shadow-lg: 0 18px 46px rgba(10, 31, 56, 0.18);
  --radius: 12px;
  --radius-lg: 18px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--navy); }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.25; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.18em; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--deep); padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--royal); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 34px; height: 2.5px; background: var(--gold); border-radius: 2px; }
.eyebrow.gold { color: var(--gold); }
.h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.h2.light { color: var(--white); }
.gold-rule { display: block; width: 72px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); margin: 4px 0 22px; }
.gold-rule.center { margin-left: auto; margin-right: auto; }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.text-link { color: var(--royal); font-weight: 600; }
.text-link:hover { color: var(--gold-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.2;
  transition: all 0.22s ease; text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-dark); color: var(--deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--deep); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); color: var(--white); }
.btn-outline-brand { border-color: rgba(16, 46, 85, 0.25); color: var(--navy); background: transparent; }
.btn-outline-brand:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn-outline-white { border-color: rgba(255, 255, 255, 0.65); color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-ghost-white { color: rgba(255, 255, 255, 0.92); background: transparent; }
.btn-ghost-white:hover { color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.center-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { background: var(--navy); color: rgba(255, 255, 255, 0.82); font-size: 12.5px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-left, .topbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.topbar-link:hover { color: var(--gold); }
.topbar-link b { color: var(--white); font-weight: 600; }
.topbar-link.wa:hover { color: #4ade80; }
.topbar-note { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; }
.topbar-sep { color: rgba(255, 255, 255, 0.22); }

/* ==========================================================================
   BRANDING BAR
   ========================================================================== */
.brandbar { background: var(--white); border-bottom: 1px solid var(--line); }
.brandbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand-logo { height: 54px; width: auto; }
.brand-divider { width: 1px; height: 46px; background: var(--line); }
.brand-meta { display: flex; flex-direction: column; }
.brand-est { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); }
.brand-sub { font-size: 11.5px; color: var(--slate); margin-top: 2px; }
.brandbar-actions { display: flex; align-items: center; gap: 10px; }

/* ==========================================================================
   NAVIGATION + MEGA MENU
   ========================================================================== */
.mainnav { background: var(--navy); box-shadow: var(--shadow-md); position: relative; z-index: 60; }
.sticky-on .mainnav { position: sticky; top: 0; }
.mainnav-in { display: flex; align-items: stretch; justify-content: flex-start; }
.nav-list { display: flex; align-items: stretch; list-style: none; }
.nav-list > li { display: flex; align-items: stretch; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 13px 16px; background: none; border: 0;
  color: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link:focus-visible { background: var(--deep); color: var(--white); }
.nav-list > li.open > .nav-link,
.nav-list > li.active > .nav-link { background: var(--deep); color: var(--gold); }
.ic-chev { width: 1em; height: 1em; transition: transform 0.25s; }
.nav-list > li.open .ic-chev { transform: rotate(180deg); }
.nav-cta-li { margin-left: auto; align-items: center; }
.nav-apply { margin: 0 4px; }

/* --- Sticky-nav brand: slides in while scrolling (desktop) --- */
.mainnav-brand {
  display: block; max-width: 0; opacity: 0; overflow: hidden;
  pointer-events: none; color: var(--white);
  transition: max-width 0.35s ease, opacity 0.25s ease;
}
.mainnav-brand:hover { color: var(--white); }
.sticky-on .mainnav-brand { max-width: 280px; opacity: 1; pointer-events: auto; }
.mnb-in { display: flex; align-items: center; gap: 10px; padding: 8px 20px 8px 0; white-space: nowrap; }
.mainnav-brand img {
  height: 36px; width: auto;
  background: var(--white); padding: 3px 7px;
  border-radius: 9px; box-shadow: 0 1px 4px rgba(10, 31, 56, 0.2);
}
.mnb-text { display: flex; flex-direction: column; line-height: 1.12; }
.mnb-title { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: 0.03em; color: var(--white); }
.mnb-title b { color: var(--gold); }
.mnb-sub { font-size: 8.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255, 255, 255, 0.68); }

/* --- Mega panel --- */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 70; pointer-events: none; overflow: hidden;
}
.nav-list > li.open > .mega { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mega-grid { display: grid; gap: 26px; padding-top: 26px; padding-bottom: 30px; }
.mega-grid.cols-4 { grid-template-columns: repeat(3, 1fr) 240px; }
.mega-grid.cols-5 { grid-template-columns: repeat(4, 1fr) 240px; }
.mega-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--royal); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px;
}
.mega-col ul { list-style: none; }
.mega-col li a {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 8px; margin-left: -8px; border-radius: 8px;
  font-size: 13px; color: var(--charcoal); line-height: 1.45;
}
.mega-col li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(214, 168, 79, 0.55); margin-top: 7px; flex-shrink: 0; transition: background 0.2s; }
.mega-col li a:hover { background: var(--lightblue); color: var(--navy); }
.mega-col li a:hover::before { background: var(--gold); }
.mega-feature {
  background: linear-gradient(160deg, var(--navy), var(--deep));
  border-radius: var(--radius); padding: 16px; color: var(--white);
  display: flex; flex-direction: column; gap: 8px; align-self: start;
}
.mega-feature img { height: 96px; width: 100%; object-fit: cover; border-radius: 8px; }
.mf-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 2px 0 0; color: var(--white); }
.mf-text { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.55; margin: 0 0 auto; }
.mega-feature .btn { align-self: flex-start; }

/* ==========================================================================
   MOBILE NAV (LIGHT) + DRAWER
   ========================================================================== */
.mobilenav {
  display: none; position: sticky; top: 0; z-index: 60;
  background: rgba(var(--nav-tint-rgb), 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 78, 216, 0.14);
  box-shadow: var(--shadow-sm);
  align-items: center; justify-content: space-between;
  padding: 8px 12px;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.mobilenav.scrolled { box-shadow: var(--shadow-md); padding: 6px 12px; }
.mn-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mn-brand img { height: 40px; width: auto; flex-shrink: 0; mix-blend-mode: multiply; }
.mn-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mn-burger { background: none; border: 0; color: var(--navy); padding: 8px; border-radius: 8px; }
.mn-burger:hover { background: rgba(255, 255, 255, 0.9); }
.mn-burger .ic { width: 22px; height: 22px; }

.drawer-wrap { position: fixed; inset: 0; z-index: 100; }
.drawer-wrap[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 31, 56, 0.6); backdrop-filter: blur(2px); animation: fadeIn 0.25s ease; }
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88%, 380px);
  background: var(--white); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-logo { height: 42px; width: auto; }
.drawer-close { background: none; border: 0; color: var(--navy); padding: 8px; border-radius: 8px; }
.drawer-close:hover { background: var(--lightblue); }
.drawer-close .ic { width: 20px; height: 20px; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 12px 10px; -webkit-overflow-scrolling: touch; }
.d-acc { border-bottom: 1px solid var(--soft); }
.d-acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; padding: 13px 10px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--navy); text-align: left;
}
.d-acc-head:hover { background: var(--lightblue); }
.d-acc-head .ic-chev { transition: transform 0.25s; }
.d-acc.open .d-acc-head .ic-chev { transform: rotate(180deg); }
.d-acc-body { display: none; padding: 0 10px 12px 22px; border-left: 3px solid rgba(214, 168, 79, 0.5); margin: 0 0 8px 18px; }
.d-acc.open .d-acc-body { display: block; }
.d-sub-head { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal); margin: 10px 0 4px; }
.d-acc-body a { display: block; padding: 7px 6px; font-size: 13.5px; color: var(--charcoal); border-radius: 7px; }
.d-acc-body a:hover { background: var(--lightblue); color: var(--navy); }
.d-link { display: block; padding: 13px 10px; font-size: 15px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--soft); border-radius: 8px; }
.d-link:hover { background: var(--lightblue); }
.drawer-ctas { padding: 14px 16px 18px; border-top: 1px solid var(--line); display: grid; gap: 9px; background: var(--soft); }
.drawer-cta { width: 100%; }

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
.hero { position: relative; height: min(88vh, 720px); min-height: 540px; overflow: hidden; background: var(--deep); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1s ease; z-index: 1; }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 31, 56, 0.88) 0%, rgba(10, 31, 56, 0.62) 45%, rgba(10, 31, 56, 0.28) 100%);
}
.hero-caption { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; max-width: 1200px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-eyebrow::before { content: ""; width: 44px; height: 2.5px; background: var(--gold); }
.hero-title {
  color: var(--white); font-size: clamp(30px, 5vw, 56px); font-weight: 800;
  text-shadow: 0 4px 26px rgba(10, 31, 56, 0.5); margin-bottom: 14px; max-width: 820px;
}
.hero-sub { color: rgba(255, 255, 255, 0.92); font-size: clamp(14px, 1.8vw, 18px); font-weight: 500; margin-bottom: 6px; }
.hero-quote { color: var(--gold); font-family: var(--font-display); font-style: italic; font-size: clamp(15px, 1.9vw, 19px); margin-bottom: 22px; }
.hero-stat-chip {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  background: rgba(214, 168, 79, 0.14); border: 1px solid rgba(214, 168, 79, 0.5);
  color: var(--white); padding: 9px 18px; border-radius: 999px; font-size: 14px; margin-bottom: 20px;
}
.hero-stat-chip b { color: var(--gold); font-size: 17px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; backdrop-filter: blur(3px);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.hero-arrow .ic { width: 20px; height: 20px; }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 9px; }
.hero-dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.8); background: transparent; padding: 0; transition: all 0.25s; }
.hero-dot.active { background: var(--gold); border-color: var(--gold); width: 30px; border-radius: 999px; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 84px 0; }
.section.soft { background: var(--soft); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.split-text p { color: var(--slate); }
.split-text p b { color: var(--navy); }
.split-media { position: relative; padding-bottom: 54px; }
.split-img-main { width: 100%; height: 430px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-img-small {
  position: absolute; right: -14px; bottom: 0; width: 44%;
  height: 220px; object-fit: cover; border-radius: var(--radius);
  border: 5px solid var(--white); box-shadow: var(--shadow-lg);
}
.split-badge {
  position: absolute; left: -14px; bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold);
}
.split-badge .ic { width: 26px; height: 26px; color: var(--gold); }
.split-badge b { display: block; font-size: 14px; }
.split-badge span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }

.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vm-card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vm-ic { width: 30px; height: 30px; color: var(--royal); margin-bottom: 12px; }
.vm-card h3 { font-size: 19px; }
.vm-card p { font-size: 13.5px; color: var(--slate); margin: 0; }

/* ---------- Legacy (dark) ---------- */
.legacy { background: linear-gradient(150deg, var(--navy) 0%, var(--deep) 70%); color: var(--white); }
.legacy-lead { color: rgba(255, 255, 255, 0.78); max-width: 820px; margin: 0 auto; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.stat-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
}
.stat-ic { width: 30px; height: 30px; color: var(--gold); margin-bottom: 10px; }
.stat-num { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: var(--gold); margin: 0 0 4px; line-height: 1.1; }
.stat-num-sm { font-size: clamp(20px, 2.2vw, 27px); }
.stat-label { font-weight: 600; color: var(--white); margin-bottom: 6px; font-size: 14.5px; }
.stat-note { font-size: 12px; color: rgba(255, 255, 255, 0.62); margin: 0; }

.timeline { position: relative; max-width: 760px; margin: 64px auto 0; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2.5px; background: linear-gradient(var(--gold), rgba(214, 168, 79, 0.15)); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -34px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 4px solid var(--deep); box-shadow: 0 0 0 2px rgba(214, 168, 79, 0.4); }
.tl-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 20px 24px; }
.tl-date { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.tl-card h3 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.tl-card p { color: rgba(255, 255, 255, 0.72); font-size: 13.5px; margin: 0; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: all 0.25s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(214, 168, 79, 0.6); }
.why-card .ic { width: 30px; height: 30px; color: var(--royal); margin-bottom: 14px; }
.why-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--slate); margin: 0; }

/* ---------- Programmes ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.28s; border: 1px solid var(--line); }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prog-card img { height: 180px; width: 100%; object-fit: cover; transition: transform 0.4s; }
.prog-card:hover img { transform: scale(1.05); }
.prog-body { padding: 22px 20px 24px; }
.prog-ic { width: 30px; height: 30px; color: var(--gold); background: rgba(214, 168, 79, 0.14); border-radius: 9px; padding: 6px; width: 42px; height: 42px; margin-bottom: 12px; }
.prog-body h3 { font-size: 19px; }
.prog-body p { font-size: 13px; color: var(--slate); min-height: 62px; }
.prog-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13.5px; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.prog-link:hover { color: var(--gold-dark); }

/* ---------- Courses ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  border: 1.5px solid var(--line); background: var(--white); color: var(--charcoal);
  padding: 9px 20px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: all 0.28s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(214, 168, 79, 0.7); }
.cc-media { position: relative; }
.cc-media img { height: 168px; width: 100%; object-fit: cover; }
.cc-qual {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--deep);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.cc-cat { position: absolute; top: 12px; right: 12px; background: rgba(10, 31, 56, 0.85); color: var(--white); font-size: 10.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.cc-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.cc-body h3 { font-size: 17px; margin-bottom: 8px; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--slate); margin-bottom: 10px; }
.cc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cc-meta .ic { width: 14px; height: 14px; color: var(--gold-dark); }
.cc-desc { font-size: 13px; color: var(--slate); flex: 1; margin-bottom: 14px; }
.cc-actions { display: flex; gap: 10px; }
.cc-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }
.cc-actions .btn-outline-brand { border-color: rgba(16, 46, 85, 0.2); }
.courses-note { text-align: center; font-size: 13px; color: var(--slate); max-width: 720px; margin: 34px auto 0; }

/* ---------- Admission banner ---------- */
.adm-banner {
  background:
    linear-gradient(105deg, rgba(10, 31, 56, 0.94) 20%, rgba(16, 46, 85, 0.82) 65%, rgba(29, 78, 216, 0.55) 100%),
    url("images/campus-building.jpg") center/cover no-repeat;
  padding: 76px 0;
}
.adm-badge {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(214, 168, 79, 0.15);
  border: 1px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 13.5px;
  padding: 9px 20px; border-radius: 999px; margin-bottom: 18px; letter-spacing: 0.06em;
}
.adm-sub { color: rgba(255, 255, 255, 0.85); font-size: 17px; font-family: var(--font-display); font-style: italic; margin-bottom: 26px; }

/* ---------- Steps ---------- */
.steps-grid { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px 22px 20px; box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(214, 168, 79, 0.6); }
.step-num {
  position: absolute; top: -14px; left: 20px; width: 34px; height: 34px;
  background: var(--navy); color: var(--gold); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 2px solid var(--gold); font-family: var(--font-display);
}
.step .ic { width: 26px; height: 26px; color: var(--royal); margin: 8px 0 12px; }
.step h3 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--slate); margin: 0; }

/* ---------- Facilities ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fac-card {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); background: var(--navy);
}
.fac-card img { height: 240px; width: 100%; object-fit: cover; transition: transform 0.4s, opacity 0.4s; }
.fac-card:hover img { transform: scale(1.05); opacity: 0.86; }
.fac-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 16px; background: linear-gradient(transparent, rgba(10, 31, 56, 0.92) 55%); color: var(--white); }
.fac-card h3 { color: var(--white); font-size: 18px; margin-bottom: 4px; }
.fac-card p { color: rgba(255, 255, 255, 0.82); font-size: 12.5px; margin: 0; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--deep); padding: 70px 0; position: relative; overflow: hidden; }
.quote-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  border: 2px solid rgba(214, 168, 79, 0.18); border-radius: 50%;
}
.quote-band::after {
  content: ""; position: absolute; left: -80px; bottom: -90px; width: 320px; height: 320px;
  border: 2px solid rgba(214, 168, 79, 0.12); border-radius: 50%;
}
.quote-in { text-align: center; max-width: 860px; position: relative; z-index: 1; }
.quote-emblem { height: 64px; width: auto; margin: 0 auto 20px; background: var(--white); padding: 8px 14px; border-radius: 10px; }
.quote-band blockquote {
  font-family: var(--font-display); font-size: clamp(20px, 3vw, 30px); font-weight: 600;
  color: var(--white); font-style: italic; line-height: 1.5; margin: 0 0 18px;
}
.quote-src { color: var(--gold); font-size: 13.5px; letter-spacing: 0.08em; margin: 0; }
.quote-src b { text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: rgba(214, 168, 79, 0.7); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; font-weight: 600; color: var(--navy); font-size: 14.5px; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { width: 18px; height: 18px; color: var(--gold-dark); transition: transform 0.25s; }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--slate); font-size: 13.5px; }
.faq-a p { margin: 0; }
.faq-a a { font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 10px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ic { width: 24px; height: 24px; color: var(--gold-dark); background: rgba(214, 168, 79, 0.13); padding: 12px; border-radius: 10px; width: 48px; height: 48px; }
.contact-list b { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 3px; }
.contact-list p { margin: 0; font-size: 13.5px; color: var(--slate); }
/* Campus Google Map */
.map-wrap { margin-top: 54px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.map-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-dark); background: rgba(214, 168, 79, 0.15); border-radius: 12px; }
.map-ic .ic { width: 22px; height: 22px; }
.map-title { font-size: 17.5px; margin: 0; }
.map-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--slate); }
.map-dir { margin-left: auto; }
.map-frame { height: 380px; background: var(--soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-md); border-top: 3px solid var(--gold);
}
.form-title { font-size: 21px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-family: var(--font-body); font-size: 14px; color: var(--charcoal); background: var(--soft);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d64545; background: #fdf3f3; }
.err { color: #c0392b; font-size: 11.5px; margin: 5px 0 0; min-height: 0; }
.form-success {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  background: #eefaf1; border: 1px solid #b7e2c3; color: #1d7a3d;
  padding: 13px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 500;
}
.form-success[hidden] { display: none; }
.form-hint { font-size: 12px; color: var(--slate); margin: 14px 0 0; text-align: center; }

/* ==========================================================================
   ROUTE VIEWS (course detail + info pages)
   ========================================================================== */
.route-view { animation: fadeIn 0.35s ease; }
.route-hero {
  position: relative; color: var(--white); padding: 92px 0 70px;
  background-color: var(--navy);
  background-image: linear-gradient(105deg, rgba(10, 31, 56, 0.95) 25%, rgba(16, 46, 85, 0.88) 60%, rgba(29, 78, 216, 0.62) 100%), var(--hero-img, none);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.route-hero .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); }
.route-hero .eyebrow { color: var(--gold); }
.route-hero .eyebrow::before { background: var(--gold); }
.route-title { color: var(--white); font-size: clamp(26px, 4vw, 42px); max-width: 850px; }
.route-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 22px; }
.route-badge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white);
  font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
.route-badge .ic { color: var(--gold); }
.route-lead { color: rgba(255, 255, 255, 0.85); max-width: 780px; font-size: 15px; }
.route-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.section-tight { padding: 56px 0; }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.info-card { background: var(--soft); border-radius: var(--radius); padding: 24px; border-left: 3px solid var(--gold); }
.info-card h3 { font-size: 18px; margin-bottom: 10px; }
.info-card ul { list-style: none; display: grid; gap: 9px; }
.info-card li { display: flex; gap: 9px; font-size: 13.5px; color: var(--slate); }
.info-card li .ic { width: 16px; height: 16px; color: var(--gold-dark); margin-top: 4px; }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.hl-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.hl-card .ic { width: 26px; height: 26px; color: var(--royal); margin-bottom: 10px; }
.hl-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--navy); margin: 0; }
.sub-h { font-size: clamp(20px, 2.6vw, 27px); margin-bottom: 10px; }
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.check-list li { display: flex; gap: 10px; font-size: 14px; color: var(--charcoal); }
.check-list .ic { color: var(--wa); margin-top: 4px; }
.sem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sem-card { background: var(--soft); border-radius: var(--radius); padding: 20px 22px; }
.sem-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.sem-card ul { list-style: none; display: grid; gap: 6px; }
.sem-card li { font-size: 13px; color: var(--slate); padding-left: 16px; position: relative; }
.sem-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cta-band { background: linear-gradient(105deg, var(--navy), var(--deep)); border-radius: var(--radius-lg); padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: var(--white); font-size: 24px; margin: 0; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin: 4px 0 0; font-size: 14px; }
.info-body { max-width: 900px; }
.info-body h2 { font-size: 21px; margin: 34px 0 12px; }
.info-body p { color: var(--slate); }
.info-body ul.plain { list-style: disc; padding-left: 22px; color: var(--slate); display: grid; gap: 8px; margin: 0 0 16px; }
.notice {
  display: flex; gap: 12px; background: rgba(214, 168, 79, 0.1); border: 1px solid rgba(214, 168, 79, 0.5);
  border-radius: var(--radius); padding: 16px 18px; font-size: 13.5px; color: var(--charcoal); margin: 20px 0;
}
.notice .ic { color: var(--gold-dark); margin-top: 3px; }
.map-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.site-list { columns: 2; column-gap: 40px; list-style: none; }
.site-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.site-list a { color: var(--charcoal); font-weight: 500; }
.site-list a:hover { color: var(--royal); }
.site-group { margin-bottom: 26px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--deep); color: rgba(255, 255, 255, 0.78); margin-top: 0; }

/* --- Gradient recognition banner (top of footer) --- */
.f-banner { background: linear-gradient(115deg, #0a1f38 0%, #10345e 48%, #0e8a74 115%); border-bottom: 3px solid var(--gold); }
.f-banner-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; padding-top: 24px; padding-bottom: 24px; }
.fb-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px; padding: 13px 15px;
}
.fb-tile { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--white); }
.fb-tile .ic { width: 22px; height: 22px; }
.fb-orange { background: #e8862e; }
.fb-teal { background: #0f9d8c; }
.fb-gold { background: var(--gold); color: var(--deep); }
.fb-tile-img { background: var(--white); padding: 5px; }
.fb-tile-img img { width: 100%; height: 100%; object-fit: contain; }
.fb-meta { display: flex; flex-direction: column; min-width: 0; }
.fb-meta b { display: block; color: var(--white); font-size: 13.5px; line-height: 1.3; }
.fb-meta span { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 34px; padding-top: 44px; padding-bottom: 34px; }
.f-logo {
  height: 50px; width: auto; margin-bottom: 14px;
  background: linear-gradient(135deg, #f2faff 0%, #d6edfe 48%, #b3ddfa 100%);
  padding: 10px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 20px rgba(4, 16, 32, 0.28);
}
.f-tag { color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 10px; }
.f-desc { font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, 0.66); }
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.2s;
}
.f-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.f-col h4 { color: var(--white); font-family: var(--font-body); font-size: 14.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2.5px; background: var(--gold); border-radius: 2px; }
.f-col ul { list-style: none; display: grid; gap: 10px; }
.f-col ul a {
  display: flex; align-items: flex-start; gap: 9px;
  color: rgba(255, 255, 255, 0.68); font-size: 13px; line-height: 1.5;
}
.f-col ul a .ic { width: 14px; height: 14px; color: var(--gold); opacity: 0.85; flex-shrink: 0; margin-top: 3.5px; transition: opacity 0.15s; }
.f-col ul a:hover { color: var(--gold); }
.f-col ul a:hover .ic { opacity: 1; }
.footer-contact {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding-top: 28px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.c-card {
  display: flex; align-items: center; gap: 13px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px; padding: 13px 16px; color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.c-card:hover { border-color: rgba(214, 168, 79, 0.55); background: rgba(255, 255, 255, 0.09); color: var(--white); }
.c-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.c-ic .ic { width: 19px; height: 19px; }
.c-blue { background: var(--royal); }
.c-green { background: var(--wa); }
.c-orange { background: #e8862e; }
.c-teal { background: #0f9d8c; }
.c-gold { background: var(--gold); color: var(--deep); }
.c-meta { display: flex; flex-direction: column; min-width: 0; }
.c-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.c-val { font-size: 13.5px; font-weight: 600; color: var(--white); line-height: 1.45; word-break: break-word; }
.c-card-wide { grid-column: 1 / -1; }
.footer-bottom { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 0; }
.footer-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.68); font-size: 12.5px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed; right: 16px; bottom: 22px; z-index: 95;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.fab {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); border: 0;
  box-shadow: 0 6px 18px rgba(10, 31, 56, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fab:hover, .fab:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }
.fab .ic { width: 22px; height: 22px; }
.fab-wa { background: var(--wa); }
.fab-wa:hover, .fab-wa:focus-visible { background: var(--wa-dark); }
.fab-call { background: var(--royal); }
.fab-call:hover, .fab-call:focus-visible { background: var(--navy); }
.fab-mail { background: var(--navy); }
.fab-mail:hover, .fab-mail:focus-visible { background: var(--deep); }
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa); z-index: -1; animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.fab::after {
  content: attr(data-tip);
  position: absolute; right: 58px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--white); color: var(--navy); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); border-radius: 8px; padding: 6px 12px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab:hover::after, .fab:focus-visible::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Back-to-top joins the floating stack */
.fab-stack .backtop {
  position: static;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--deep); border: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(10, 31, 56, 0.22);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.3s;
}
.fab-stack .backtop.show { opacity: 1; visibility: visible; transform: none; }
.fab-stack .backtop:hover { background: var(--gold-dark); }
.fab-stack .backtop .ic { width: 20px; height: 20px; }

/* ---------- Mobile bottom action bar ---------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  display: none;
  background: rgba(var(--nav-tint-rgb), 0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(29, 78, 216, 0.14);
  box-shadow: 0 -8px 24px rgba(10, 31, 56, 0.14);
  padding: 5px 10px calc(5px + env(safe-area-inset-bottom, 0px));
}
.bottombar-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 560px; margin: 0 auto; }
.bb-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 3px 2px; border-radius: 10px;
  color: var(--navy); font-size: 9.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
}
.bb-item:hover { background: rgba(255, 255, 255, 0.9); color: var(--navy); }
.bb-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); }
.bb-ic .ic { width: 15px; height: 15px; }
.bb-call .bb-ic { background: var(--royal); }
.bb-wa .bb-ic { background: var(--wa); }
.bb-courses .bb-ic { background: var(--navy); }
.bb-apply .bb-ic { background: var(--gold); color: var(--deep); }
.bb-apply { color: var(--gold-dark); }

/* ---------- Dual Diploma Certification Programme ---------- */
.section-navy { background: linear-gradient(160deg, var(--deep) 0%, #0d2a4d 55%, #14396b 100%); color: rgba(255, 255, 255, 0.82); }
.section-navy .h2 { color: var(--white); }
.dual-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(214, 168, 79, 0.14); border: 1px solid rgba(214, 168, 79, 0.42); border-radius: 999px; padding: 7px 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #f0cf7e; }
.dual-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: dualPulse 1.6s ease-in-out infinite; }
@keyframes dualPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.dual-lead { max-width: 820px; margin: 4px auto 0; font-size: 14.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.85); }
.dual-lead b { color: #f0cf7e; }
.dual-chips { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.dual-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 9px 18px; font-size: 12.5px; font-weight: 600; color: var(--white); }
.dual-chip .ic { width: 15px; height: 15px; color: var(--gold); }
.gtx { color: var(--gold); }
.btx { color: #8fb3f9; }
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.dual-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 26px; border-top: 3px solid var(--gold); }
.dual-card.d-skill { border-top-color: var(--royal); }
.dc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dc-ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(214, 168, 79, 0.18); color: var(--gold); }
.dc-ic .ic { width: 22px; height: 22px; }
.dc-ic-b { background: rgba(59, 130, 246, 0.2); color: #8fb3f9; }
.dc-head h3 { font-size: 16.5px; color: var(--white); margin: 0; }
.dc-head p { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin: 2px 0 0; letter-spacing: 0.04em; }
.dc-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); }
.dc-list .ic { flex: none; width: 15px; height: 15px; margin-top: 4px; color: var(--gold); }
.d-skill .dc-list .ic { color: #8fb3f9; }
.dual-struct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.dual-struct > div { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 14px 16px; }
.dual-struct b { display: block; color: var(--gold); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.dual-struct span { display: block; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.dual-block { margin-top: 46px; }
.dual-h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; color: var(--white); margin: 0 0 18px; }
.dual-h3 .ic { width: 20px; height: 20px; color: var(--gold); flex: none; }
.dual-table-wrap { overflow-x: auto; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 14px; }
.nsqf-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 13px; }
.nsqf-table th { background: rgba(214, 168, 79, 0.16); color: #f0cf7e; text-align: left; padding: 12px 16px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.nsqf-table td { padding: 15px 16px; border-top: 1px solid rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.85); vertical-align: top; line-height: 1.6; }
.nsqf-table td b { color: var(--white); }
.lvl { display: inline-flex; flex-direction: column; align-items: center; border-radius: 10px; padding: 8px 14px; min-width: 66px; line-height: 1; }
.lvl b { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.lvl i { font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.lvl-b { background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: var(--white); }
.lvl-b i { color: #dbeafe; }
.lvl-g { background: linear-gradient(135deg, var(--gold), #e3b95f); color: var(--deep); }
.lvl-g i { color: rgba(10, 31, 56, 0.7); }
.lvl-r { background: linear-gradient(135deg, #b3261e, #d0453c); color: var(--white); }
.lvl-r i { color: #fecaca; }
.cmp-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 13px; }
.cmp-table th { padding: 13px 16px; text-align: left; font-size: 13px; letter-spacing: 0.02em; }
.cmp-table th:first-child { background: var(--soft); color: var(--navy); width: 30%; }
.cmp-table .t-trad { background: var(--slate); color: var(--white); text-align: center; width: 30%; }
.cmp-table .t-dual { background: var(--navy); color: var(--gold); text-align: center; width: 40%; }
.cmp-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.cmp-table td:first-child { background: var(--soft); font-weight: 600; color: var(--navy); }
.cmp-table .td-x { color: var(--slate); text-align: center; }
.cmp-table .td-y { background: #eef4fc; color: var(--navy); text-align: center; font-weight: 500; }
.adv9-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv9 { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 14px; padding: 20px; transition: transform 0.3s ease, border-color 0.3s ease; }
.adv9:hover { transform: translateY(-4px); border-color: rgba(214, 168, 79, 0.5); }
.adv9-num { position: absolute; top: 8px; right: 14px; font-family: var(--font-display); font-size: 30px; font-weight: 800; color: rgba(255, 255, 255, 0.12); line-height: 1; }
.adv9 > .ic { width: 20px; height: 20px; color: var(--gold); }
.adv9 h4 { font-size: 15px; color: var(--white); margin: 10px 0 6px; }
.adv9 p { font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); margin: 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.pg-box { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 18px 14px; text-align: center; }
.pg-box b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.pg-box span { display: block; margin-top: 7px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
.smart-cta { margin-top: 46px; background: linear-gradient(120deg, rgba(214, 168, 79, 0.16), rgba(59, 130, 246, 0.18)); border: 1px solid rgba(214, 168, 79, 0.38); border-radius: 18px; padding: 36px 28px; text-align: center; }
.smart-cta h3 { color: var(--white); font-size: clamp(20px, 2.6vw, 28px); margin: 0 0 8px; }
.smart-cta p { color: #c7d8f0; font-size: 14.5px; font-weight: 600; margin: 0 0 22px; }
.smart-cta .cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mainnav-brand { transition: none; }
  .fab-wa::before { animation: none; opacity: 0; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1120px) {
  .why-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; }
  .mnb-sub { display: none; }
  .mainnav-brand img { height: 32px; }
  .mnb-in { padding-right: 14px; }
  .nav-link { padding: 13px 12px; }
}
@media (max-width: 991px) {
  html { scroll-padding-top: 84px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .mainnav { display: none; }
  .topbar { font-size: 12px; }
  .brandbar { display: none; }
  .mobilenav { display: flex; }
  .bottombar { display: block; }
  .fab-stack { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .fab::after { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 480px; height: 78vh; }
  .hero-caption { justify-content: flex-end; padding-bottom: 70px; }
  .section { padding: 62px 0; }
  .split { grid-template-columns: 1fr; gap: 38px; margin-bottom: 44px; }
  .split-img-main { height: 340px; }
  .split-badge { left: 10px; }
  .vm-grid, .contact-grid { grid-template-columns: 1fr; }
  .dual-grid { grid-template-columns: 1fr; }
  .dual-struct { grid-template-columns: repeat(2, 1fr); }
  .adv9-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid, .fac-grid, .hl-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hide-sm { display: none !important; }
  .stats-grid, .why-grid, .prog-grid, .course-grid, .fac-grid, .steps-grid, .hl-grid, .related-grid, .sem-grid, .check-list, .form-row { grid-template-columns: 1fr; }
  .split-img-small { width: 52%; height: 170px; right: 4px; }
  .hero-arrow { display: none; }
  .brandbar-actions .btn-outline-brand { display: none; }
  .contact-list .ic { width: 42px; height: 42px; padding: 10px; }
  .map-wrap { margin-top: 36px; }
  .map-head { gap: 10px; padding: 14px 16px; }
  .map-ic { width: 40px; height: 40px; border-radius: 10px; }
  .map-ic .ic { width: 19px; height: 19px; }
  .map-title { font-size: 16px; }
  .map-sub { font-size: 12.5px; }
  .map-frame { height: 260px; }
  .map-dir { margin-left: 0; }
  .dual-struct { grid-template-columns: 1fr; }
  .adv9-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .smart-cta { padding: 26px 18px; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 30px 24px; }
  .site-list { columns: 1; }
  .f-banner-in { gap: 10px; }
  .fb-meta b { font-size: 12.5px; }
  .fb-tile { width: 42px; height: 42px; }
  .section { padding: 52px 0; }
  .faq-item summary { padding: 14px 16px; font-size: 14px; }
  .faq-a { padding: 0 16px 15px; }
}
@media (max-width: 1023px) {
  .hide-lg { display: none !important; }
}
@media (max-width: 766px) {
  .hide-md { display: none !important; }
}
@media (max-width: 380px) {
  .mn-brand img { height: 34px; }
}
