/* ==========================================================================
   RGU School of Law — single-page website
   Theme follows the Rathinam Global University site (rgu_test):
   Sora headings, Outfit body, purple gradient actions, sky/lime/pink accents,
   dark #080810 sections alternating with light #f8fafc / white sections.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --purple:      #a855f7;
  --purple-600:  #9333ea;
  --purple-700:  #7e22ce;
  --purple-800:  #6b21a8;
  --purple-soft: #d8b4fe;
  --sky:    #38bdf8;
  --lime:   #a3e635;
  --pink:   #f472b6;
  --orange: #fb923c;
  --amber:  #f59e0b;

  --dark:   #080810;
  --dark-2: #0c0c18;
  --dark-3: #12121f;
  --light:  #f8fafc;
  --white:  #ffffff;

  --ink:    #0f172a;
  --text:   #1e293b;
  --muted:  #64748b;
  --line:   #e2e8f0;

  --on-dark:       #f8fafc;
  --on-dark-muted: #a1a1b5;
  --line-dark:     rgba(255, 255, 255, .09);

  --grad-btn:  linear-gradient(90deg, var(--purple-600), var(--purple-800));
  --grad-text: linear-gradient(90deg, #38bdf8, #a855f7);
  --grad-text-dark: linear-gradient(90deg, #a3e635, #34d399, #38bdf8);
  --grad-brand: linear-gradient(90deg, #f58220 0%, #2a9bd8 34%, #8cbe22 67%, #9c2089 100%);

  --sh-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --sh-md: 0 14px 34px rgba(15, 23, 42, .08);
  --sh-lg: 0 28px 60px rgba(15, 23, 42, .14);

  --r-sm: 12px;
  --r:    16px;
  --r-lg: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --nav-h: 76px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.sprite { display: none; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-brand { fill: currentColor; stroke: none; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 3. Kicker pill + pulse dot (rgu_test section label) ---------------------- */
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, .3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(163, 230, 53, .08); opacity: .75; } }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker-light { color: var(--purple-700); background: #f3e8ff; border: 1px solid rgba(168, 85, 247, .22); }
.kicker-dark  { color: var(--purple-soft); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r);
  font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn .ico { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 26px rgba(126, 34, 206, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(126, 34, 206, .42); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-outline { color: var(--purple-700); background: #fff; box-shadow: inset 0 0 0 1.5px var(--purple-600); }
.btn-outline:hover { background: var(--purple-600); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* 5. Scroll progress ------------------------------------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad-brand); }

/* 6. Utility bar + navbar -------------------------------------------------- */
.utility-bar { background: var(--dark); color: var(--on-dark-muted); font-size: 13.5px; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.utility-bar strong { color: var(--on-dark); font-weight: 600; }
.u-sep { margin: 0 8px; opacity: .5; }
.utility-right { display: flex; align-items: center; gap: 18px; }
.u-link { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark); }
.u-link:hover { color: var(--purple-soft); }
.u-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.navbar.is-stuck { box-shadow: 0 8px 30px rgba(15, 23, 42, .08); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--nav-h); }
.nav-logo img { height: 46px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; display: block; white-space: nowrap; padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 10px; transition: color .25s, background-color .25s; }
.nav-link:hover { color: var(--purple-700); background: #faf5ff; }
.nav-link.is-active { color: var(--purple-700); }
.nav-link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad-btn); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. Hero slider (dark) ---------------------------------------------------- */
.hero { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; height: clamp(640px, calc(100svh - var(--nav-h) - 40px), 860px); }
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease), visibility 0s; z-index: 1; }
.slide-media { position: absolute; inset: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 16, .94) 0%, rgba(8, 8, 16, .78) 38%, rgba(8, 8, 16, .25) 75%, rgba(8, 8, 16, .1) 100%),
    linear-gradient(0deg, rgba(8, 8, 16, .85) 0%, rgba(8, 8, 16, 0) 40%);
}
/* bottom padding keeps the text clear of the timer/arrow row (.hero-controls) */
.slide-content { position: relative; z-index: 2; padding: 40px 0 176px; }
.slide-content > * { max-width: 720px; opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: .45s; }
.slide.is-active .slide-content > *:nth-child(5) { transition-delay: .6s; }
.slide-content > .slide-title { max-width: 860px; }
.slide-title { font-weight: 800; font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.06; letter-spacing: -.035em; color: var(--on-dark); margin-bottom: 18px; }
.slide-lead { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.7vw, 1.45rem); color: #fff; letter-spacing: -.01em; margin-bottom: 10px; }
.slide-title .grad-text { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; }
.slide-sub { font-size: clamp(1rem, 1.4vw, 1.12rem); color: #d4d4e0; max-width: 560px; margin-bottom: 30px; }
.slide-sub strong { color: #fff; font-weight: 600; }
.slide-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.slide-tags span { padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.slide-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 54px; height: 22px; display: flex; align-items: center; }
.hero-dots button span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero-dots button span::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--lime); }
.hero-dots button.is-active span::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dots button.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.hero-arrows { display: flex; align-items: center; gap: 10px; }
.hero-count { font-family: var(--font-head); font-size: 14px; color: var(--on-dark-muted); margin-right: 8px; }
.hero-count b { color: #fff; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, color .3s, border-color .3s; }
.round-btn .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.round-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* 8. Stats (overlap hero) -------------------------------------------------- */
.stats-wrap { position: relative; z-index: 6; margin-top: -64px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat .lab { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* 9. Sections -------------------------------------------------------------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.section-white { background: var(--white); }
.section-soft  { background: var(--light); }
.section-dark  { background: var(--dark); color: var(--on-dark-muted); }
.section-dark-2 { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3, .section-dark-2 h2, .section-dark-2 h3 { color: var(--on-dark); }
.section-dark .grad-text, .section-dark-2 .grad-text { background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; }
#about { padding-top: clamp(96px, 11vw, 140px); }

.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .32; pointer-events: none; }
.glow-a { background: var(--purple-700); top: -180px; right: -160px; }
.glow-b { background: var(--sky); opacity: .14; bottom: -220px; left: -180px; }
.glow-c { background: var(--purple-700); opacity: .25; bottom: -260px; left: 50%; transform: translateX(-50%); }

.section-head { margin-bottom: 52px; position: relative; z-index: 1; }
.section-head.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head.split { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 40px; }
.section-head p { font-size: 17.5px; color: var(--muted); }
.section-dark .section-head p, .section-dark-2 .section-head p { color: var(--on-dark-muted); }
.h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.15rem); letter-spacing: -.03em; line-height: 1.12; margin-bottom: 16px; }
.lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.lead strong { color: var(--ink); font-weight: 600; }
.smallcap { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* colour helpers for icon chips */
.c-purple { --c: #9333ea; --cb: #f3e8ff; }
.c-sky    { --c: #0284c7; --cb: #e0f2fe; }
.c-lime   { --c: #4d7c0f; --cb: #ecfccb; }
.c-pink   { --c: #db2777; --cb: #fce7f3; }
.c-orange { --c: #ea580c; --cb: #ffedd5; }
.c-amber  { --c: #b45309; --cb: #fef3c7; }

/* 10. About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; padding: 0 0 70px 0; }
.about-main { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--sh-md); }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-float { position: absolute; right: -18px; bottom: 0; width: 52%; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-lg); aspect-ratio: 4 / 3; }
.about-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: 22px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: var(--dark); color: var(--on-dark-muted); box-shadow: var(--sh-lg); font-size: 13px; line-height: 1.3; }
.about-badge strong { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--lime); line-height: 1; }
.tick-list { display: grid; gap: 14px; margin-bottom: 26px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; }
.tick { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f3e8ff; color: var(--purple-700); margin-top: 1px; }
.tick .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.tick-list strong { color: var(--ink); }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pillar { padding: 8px 18px; border-radius: 999px; font-family: var(--font-head); font-size: 14px; font-weight: 700; border: 1.5px solid; }
.p-purple { color: #7e22ce; border-color: rgba(168, 85, 247, .4); background: #faf5ff; }
.p-sky    { color: #0369a1; border-color: rgba(56, 189, 248, .5); background: #f0f9ff; }
.p-lime   { color: #3f6212; border-color: rgba(163, 230, 53, .6); background: #f7fee7; }
.p-pink   { color: #be185d; border-color: rgba(244, 114, 182, .5); background: #fdf2f8; }

/* 11. Programme cards ------------------------------------------------------ */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.program-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(168, 85, 247, .35); }
.program-media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0c18; }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.program-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 16, 0) 45%, rgba(8, 8, 16, .82) 100%); }
.program-card:hover .program-media img { transform: scale(1.05); }
.program-badge { position: absolute; z-index: 1; top: 16px; right: 16px; padding: 7px 14px; border-radius: 999px; background: var(--dark); color: var(--lime); font-family: var(--font-head); font-size: 13px; font-weight: 700; box-shadow: var(--sh-md); }
.program-motto { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.program-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.program-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.program-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: var(--cb); }
.program-icon .ico { width: 22px; height: 22px; }
.program-body h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.program-body h3 small { font-size: .6em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.program-lead { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; color: var(--purple-700); margin-bottom: 18px; }
.check-list { display: grid; gap: 10px; margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #f3e8ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237e22ce' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.4 4.4L19 6.6'/%3E%3C/svg%3E") center / 12px no-repeat; }
.program-tags { margin-bottom: 22px; }
.program-tags-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.program-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.program-tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #f8fafc; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.programs-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
.program-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: auto 0 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.program-meta dt { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.program-meta dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15.5px; }

/* 12. Why RGU Law (dark) --------------------------------------------------- */
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-card { padding: 26px; border-radius: var(--r); border: 1px solid var(--bc); background: rgba(255, 255, 255, .025); transition: background-color .35s, transform .35s var(--ease); }
.why-card:hover { background: rgba(255, 255, 255, .06); transform: translateY(-4px); }
.why-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--ac); background: color-mix(in srgb, var(--ac) 14%, transparent); margin-bottom: 16px; }
.why-icon .ico { width: 23px; height: 23px; }
.why-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 15.5px; color: var(--on-dark-muted); }
.b-purple { --bc: rgba(169, 85, 247, .34); --ac: #c084fc; }
.b-sky    { --bc: rgba(56, 191, 248, .3);  --ac: #38bdf8; }
.b-lime   { --bc: rgba(162, 230, 53, .3);  --ac: #a3e635; }
.b-pink   { --bc: rgba(244, 114, 181, .3); --ac: #f472b6; }
.b-orange { --bc: rgba(251, 146, 60, .3);  --ac: #fb923c; }
.b-amber  { --bc: rgba(245, 158, 11, .3);  --ac: #f59e0b; }
.why-aside { display: grid; gap: 20px; }
.why-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); aspect-ratio: 4 / 5; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 16, 0) 50%, rgba(8, 8, 16, .85) 100%); }
.why-photo figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.quote { margin: 0; padding: 20px 22px; border-left: 3px solid var(--lime); background: rgba(255, 255, 255, .04); border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-head); font-size: 15.5px; font-weight: 600; color: var(--on-dark); line-height: 1.55; }

/* 13. Career pathways ------------------------------------------------------ */
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { position: relative; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.path::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--c); transition: width .45s var(--ease); }
.path:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }
.path:hover::before { width: 100%; }
.path { --c: var(--purple-600); }
.path:has(.c-sky) { --c: #0284c7; } .path:has(.c-lime) { --c: #65a30d; } .path:has(.c-pink) { --c: #db2777; } .path:has(.c-orange) { --c: #ea580c; } .path:has(.c-amber) { --c: #d97706; }
.path-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--c); background: var(--cb); margin-bottom: 18px; }
.path-icon .ico { width: 25px; height: 25px; }
.path h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.path p { font-size: 15.5px; color: var(--muted); }
.path-num { position: absolute; right: 22px; top: 18px; font-family: var(--font-head); font-size: 42px; font-weight: 800; color: #f1f5f9; line-height: 1; }

/* 14. Learning experience (dark) ------------------------------------------ */
.exp-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.exp-card { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-dark); isolation: isolate; }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.exp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 16, .05) 0%, rgba(8, 8, 16, .55) 45%, rgba(8, 8, 16, .96) 100%); }
.exp-card:hover img { transform: scale(1.07); }
.exp-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.exp-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(168, 85, 247, .22); color: var(--purple-soft); border: 1px solid rgba(216, 180, 254, .3); margin-bottom: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.exp-icon .ico { width: 21px; height: 21px; }
.exp-body h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 6px; }
.exp-body p { font-size: 15px; color: #c9c9d6; }

/* 15. Gallery -------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { padding: 10px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); background: #fff; border: 1px solid var(--line); transition: all .25s var(--ease); }
.filter:hover { border-color: var(--purple); color: var(--purple-700); }
.filter.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; border-radius: var(--r); overflow: hidden; background: #e2e8f0; cursor: zoom-in; animation: gIn .5s var(--ease) both; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 16, .75)); opacity: 0; transition: opacity .35s; }
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.g-cap .ico { width: 20px; height: 20px; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
@keyframes gIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.gallery-more { display: flex; justify-content: center; margin-top: 36px; }
.gallery-more[hidden] { display: none; }

/* 16. Admission journey (dark) -------------------------------------------- */
.journey { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.journey::before, .journey::after { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; border-radius: 2px; }
.journey::before { background: var(--line-dark); }
.journey::after { background: linear-gradient(90deg, var(--purple), var(--sky), var(--lime)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.journey.is-drawn::after { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 6px; }
.stepnum { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: #fff; background: var(--dark-3); border: 1px solid rgba(216, 180, 254, .35); box-shadow: 0 0 0 8px var(--dark), 0 0 30px rgba(168, 85, 247, .35); }
.step:last-child .stepnum { background: var(--grad-btn); border-color: transparent; }
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--on-dark-muted); }

/* 17. Enquire -------------------------------------------------------------- */
.enquire-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-bottom: 28px; }
.contact-cards li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--light); border: 1px solid var(--line); }
.cc-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #f3e8ff; color: var(--purple-700); }
.cc-icon .ico { width: 21px; height: 21px; }
.contact-cards small { display: block; font-size: 13px; color: var(--muted); }
.contact-cards a, .contact-cards span { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15.5px; }
.contact-cards a:hover { color: var(--purple-700); }
.campus-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); aspect-ratio: 16 / 9; }
.campus-photo img { width: 100%; height: 100%; object-fit: cover; }
.campus-photo figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(8, 8, 16, .82); color: #fff; font-size: 14px; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.campus-photo figcaption .ico { width: 16px; height: 16px; color: var(--lime); }
.enquire-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.form-card { position: relative; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.form-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(168, 85, 247, .5), rgba(56, 189, 248, .4)); filter: blur(28px); opacity: .35; }
.form-rule { display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin-bottom: 16px; }
.form-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 20px; }
.npf_wgts { min-height: 420px; }

/* 18. Footer (dark) -------------------------------------------------------- */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 0 0 26px; font-size: 15.5px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line-dark); }
.footer-cta h2 { color: var(--on-dark); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 6px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-logo { display: inline-block; padding: 12px 16px; border-radius: var(--r); background: #fff; margin-bottom: 18px; }
.footer-logo img { height: 42px; width: auto; }
.footer-brand p { max-width: 340px; margin-bottom: 20px; }
.footer h4 { font-family: var(--font-head); color: var(--on-dark); font-size: 15px; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--purple-soft); }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color .25s, border-color .25s; }
.social-row a:hover { background: var(--purple-700); border-color: var(--purple-700); }
.social-row .ico { width: 17px; height: 17px; }
.contact-list { display: grid; gap: 14px; margin-bottom: 20px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.c-ico { color: var(--lime); margin-top: 3px; }
.c-ico .ico { width: 18px; height: 18px; }
.contact-list a:hover { color: var(--purple-soft); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-row li { padding: 5px 11px; border-radius: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--on-dark); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.copyright { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 64px 0 0; border-top: 1px solid var(--line-dark); font-size: 14px; }

/* 19. Back to top + lightbox ---------------------------------------------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; box-shadow: 0 10px 26px rgba(126, 34, 206, .4); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top .ico { width: 20px; height: 20px; transform: rotate(-90deg); stroke-width: 2.2; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: rgba(5, 5, 10, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-height: calc(100vh - 120px); max-width: 100%; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb-figure figcaption { color: #d4d4e0; font-size: 15px; text-align: center; }
.lb-btn { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); transition: background-color .25s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.lb-close { position: absolute; top: 18px; right: 18px; font-size: 30px; line-height: 1; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { visibility: hidden; }

/* 20. Reveal --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 21. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 23, 42, .1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .3s var(--ease); }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-link { padding: 12px 14px; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { background: #faf5ff; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-card { min-height: 360px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-aside { grid-template-columns: .8fr 1.2fr; align-items: center; max-width: 820px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .enquire-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 640px; }
  .programs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pathways { grid-template-columns: repeat(2, 1fr); }
  .section-head.split { grid-template-columns: 1fr; gap: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .journey { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .journey::before, .journey::after { top: 10px; bottom: 10px; left: 31px; right: auto; width: 2px; height: auto; }
  .journey::after { background: linear-gradient(180deg, var(--purple), var(--sky), var(--lime)); transform: scaleY(0); transform-origin: top; }
  .journey.is-drawn::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding: 0 0 30px; }
  .stepnum { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin-top: 8px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .u-hide-sm, .u-sep, .u-pill, .utility-right .u-link span { display: none; }
  .utility-inner { min-height: 36px; }
  .utility-inner p { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .utility-bar p strong { font-size: 12.5px; }
  .nav-logo img { height: 38px; }
  :root { --nav-h: 66px; }
  .hero { height: 720px; }
  .slide-content { padding: 48px 0 172px; }
  .slide-media::after { background: linear-gradient(0deg, rgba(8, 8, 16, .96) 0%, rgba(8, 8, 16, .72) 55%, rgba(8, 8, 16, .45) 100%); }
  .slide-cta .btn { flex: 1 1 auto; }
  .hero-controls { bottom: 84px; }
  .hero-dots button { width: 34px; }
  .hero-count { display: none; }
  .round-btn { width: 42px; height: 42px; }
  .stat { padding: 20px 18px; }
  .stat .lab { font-size: 13.5px; }
  .about-float { right: -6px; width: 56%; }
  .about-badge { left: 12px; bottom: 16px; padding: 10px 14px; }
  .about-badge strong { font-size: 24px; }
  .why-cards, .pathways, .exp-grid { grid-template-columns: 1fr; }
  .why-aside { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 16 / 10; }
  .exp-card { min-height: 320px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .g-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox { padding: 12px; gap: 0; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-figure img { max-height: calc(100vh - 170px); }
}

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

/* 22. Spacing between neighbouring light sections ------------------------- */
/* Two light sections in a row read as one long white gap, so trim the space where they meet. */
.section.is-tight-bottom { padding-bottom: clamp(32px, 4vw, 48px); }
.section-white + .section-soft,
.section-soft + .section-white { padding-top: clamp(48px, 5vw, 72px); }

/* 23. Grand Launch video --------------------------------------------------- */
.launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.launch-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.launch-cta .btn-outline .ico-brand { width: 20px; height: 20px; color: #ff0033; }
.launch-cta .btn-outline:hover .ico-brand { color: #fff; transform: none; }
.launch-media { display: flex; justify-content: center; position: relative; }
.launch-media::before { content: ""; position: absolute; inset: 8% -4% -4% 12%; border-radius: 40px; background: linear-gradient(135deg, rgba(147, 51, 234, .18), rgba(56, 189, 248, .18)); filter: blur(2px); }
.video-frame { position: relative; width: 100%; max-width: 1080px; aspect-ratio: 16/9; border-radius: 28px; overflow: hidden; background: var(--dark); border: 6px solid #fff; box-shadow: var(--sh-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; transition: transform .7s var(--ease); }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 16, .1) 40%, rgba(8, 8, 16, .85) 100%); }
.video-poster:hover img { transform: scale(1.05); }
.play-btn { position: absolute; z-index: 1; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-btn); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), 0 16px 34px rgba(126, 34, 206, .5); transition: transform .35s var(--ease); }
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.video-poster:hover .play-btn, .video-poster:focus-visible .play-btn { transform: scale(1.08); }
.video-label { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 22px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: #fff; text-align: left; }

@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr; }
  .video-frame { width: min(100%, 720px); }
}
.pillars:last-child, .tick-list:last-child { margin-bottom: 0; }
