/* =========================================================
   CFI Model School - Mati, Lucknow
   Animated, colourful theme. No framework - plain CSS.
   ========================================================= */

:root {
  --orange: #FF6B1A;
  --gold: #FFC23D;
  --pink: #FF3D7F;
  --purple: #7B2FF7;
  --blue: #1E9BFF;
  --teal: #00C2A8;
  --green: #3CCF4E;
  --magenta: #D63AF9;

  --ink: #1E1537;
  --ink-2: #4A4463;
  --muted: #6E6887;
  --cream: #FFF8EF;
  --white: #FFFFFF;

  --grad-1: linear-gradient(135deg, #FF6B1A 0%, #FF3D7F 55%, #7B2FF7 100%);
  --grad-2: linear-gradient(135deg, #1E9BFF 0%, #7B2FF7 100%);
  --grad-3: linear-gradient(135deg, #00C2A8 0%, #1E9BFF 100%);
  --grad-4: linear-gradient(135deg, #FFC23D 0%, #FF6B1A 100%);

  --radius: 26px;
  --shadow: 0 24px 50px -24px rgba(30, 21, 55, .35);
  --shadow-sm: 0 10px 30px -14px rgba(30, 21, 55, .3);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);

  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

body.menu-open, body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
h1, h2, h3, h4, h5 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1.1em; color: var(--ink-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--pink); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; }

/* ---------- Generic keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(6deg); } }
@keyframes floatSm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinRev { to { transform: rotate(-360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 61, .7); } 70% { box-shadow: 0 0 0 14px rgba(255, 194, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 61, 0); } }
@keyframes gradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 38% 62% / 52% 38% 62% 48%; }
  33% { border-radius: 40% 60% 55% 45% / 60% 45% 55% 40%; }
  66% { border-radius: 62% 38% 45% 55% / 42% 60% 40% 58%; }
}
@keyframes blobDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 25px) scale(.95); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-6deg); } }
@keyframes shine { 0% { left: -80%; } 60%, 100% { left: 130%; } }
@keyframes ringPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* =========================================================
   REVEAL SYSTEM (only hides things when JS is running)
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="up"]    { transform: translateY(50px); }
.js [data-reveal="left"]  { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"]  { transform: scale(.86); }
.js [data-reveal="pop"]   { transform: scale(.4) rotate(-10deg); transition-timing-function: var(--ease), var(--bounce); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* word-by-word heading reveal */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .03em .14em; margin: -.06em 0 -.14em; }
.js [data-split] .wi { display: inline-block; transform: translateY(110%) rotate(8deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 75ms + var(--sd, 0ms)); }
.js [data-split].in .wi, .js .in [data-split] .wi { transform: none; }

/* clip-path image reveal */
.js .reveal-clip { clip-path: inset(0 100% 0 0 round 30px); transition: clip-path 1.4s var(--ease); }
.js .reveal-clip img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.js .in .reveal-clip { clip-path: inset(0 0 0 0 round 30px); }
.js .in .reveal-clip img { transform: scale(1); }
.js .reveal-clip.rc-delay { transition-delay: .35s; }
.js .reveal-clip.rc-delay img { transition-delay: .35s; }

/* =========================================================
   PRELOADER
   ========================================================= */
#preloader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.js #preloader { pointer-events: auto; }
html:not(.js) #preloader { display: none; }
.pl-curtain { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.77, 0, .18, 1); }
.pl-curtain.c1 { background: var(--orange); z-index: 1; transition-delay: .5s; }
.pl-curtain.c2 { background: var(--pink); z-index: 2; transition-delay: .35s; }
.pl-curtain.c3 { background: var(--cream); z-index: 3; transition-delay: .2s; }
.pl-inner { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .4s, transform .5s var(--ease); }
.pl-emblem { position: relative; width: 120px; height: 120px; animation: floatSm 1.6s ease-in-out infinite; }
.pl-emblem img { width: 100%; height: 100%; border-radius: 50%; }
.pl-ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); animation: spin 1.3s linear infinite; }
.pl-ring circle { fill: none; stroke: var(--pink); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 90 250; }
.pl-text { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--ink); letter-spacing: .5px; }
.pl-text span { display: inline-block; animation: plWave 1.4s ease-in-out infinite; }
.pl-text span:nth-child(3n+1) { color: var(--orange); }
.pl-text span:nth-child(3n+2) { color: var(--pink); }
.pl-text span:nth-child(3n) { color: var(--purple); }
.pl-text span:nth-child(1) { animation-delay: 0s; } .pl-text span:nth-child(2) { animation-delay: .06s; } .pl-text span:nth-child(3) { animation-delay: .12s; }
.pl-text span:nth-child(4) { animation-delay: .18s; } .pl-text span:nth-child(5) { animation-delay: .24s; } .pl-text span:nth-child(6) { animation-delay: .3s; }
.pl-text span:nth-child(7) { animation-delay: .36s; } .pl-text span:nth-child(8) { animation-delay: .42s; } .pl-text span:nth-child(9) { animation-delay: .48s; }
.pl-text span:nth-child(10) { animation-delay: .54s; } .pl-text span:nth-child(11) { animation-delay: .6s; } .pl-text span:nth-child(12) { animation-delay: .66s; }
.pl-text span:nth-child(13) { animation-delay: .72s; } .pl-text span:nth-child(14) { animation-delay: .78s; }
@keyframes plWave { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-12px); } }

.loaded #preloader { pointer-events: none; }
.loaded .pl-inner { opacity: 0; transform: scale(.9); }
.loaded .pl-curtain { transform: translateY(-101%); }
.pl-done #preloader { display: none; }

/* =========================================================
   CUSTOM CURSOR (mouse devices only)
   ========================================================= */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--pink); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 2px solid rgba(123, 47, 247, .6); }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 61, 127, .12); border-color: var(--pink); }
.cursor-hover .cursor-dot { background: var(--purple); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 150; background: linear-gradient(90deg, var(--gold), var(--orange), var(--pink), var(--purple), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 120; padding: 14px 16px; transition: padding .4s var(--ease), transform 1s var(--ease); }
.js .nav { transform: translateY(-140%); }
.loaded .nav { transform: none; transition-delay: 0s, .6s; }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 22px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 12px 40px -14px rgba(30, 21, 55, .35); transition: box-shadow .4s, background .4s; }
.nav.scrolled { padding-top: 8px; }
.nav.scrolled .nav-inner { background: rgba(255, 255, 255, .94); box-shadow: 0 14px 40px -12px rgba(30, 21, 55, .4); }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease), transform .4s var(--bounce); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.nav.scrolled .brand img { height: 42px; }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { position: relative; display: block; padding: 9px 13px; border-radius: 999px; font-weight: 800; font-size: .92rem; color: var(--ink); isolation: isolate; transition: color .3s; white-space: nowrap; }
.nav-links a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grad-1); opacity: 0; transform: scale(.4); transition: transform .45s var(--bounce), opacity .3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::before, .nav-links a.active::before { opacity: 1; transform: none; }
.js .nav-links li { opacity: 0; transform: translateY(-16px); transition: opacity .5s, transform .6s var(--bounce); }
.loaded .nav-links li { opacity: 1; transform: none; }
.loaded .nav-links li:nth-child(1) { transition-delay: .9s; } .loaded .nav-links li:nth-child(2) { transition-delay: .96s; }
.loaded .nav-links li:nth-child(3) { transition-delay: 1.02s; } .loaded .nav-links li:nth-child(4) { transition-delay: 1.08s; }
.loaded .nav-links li:nth-child(5) { transition-delay: 1.14s; } .loaded .nav-links li:nth-child(6) { transition-delay: 1.2s; }
.loaded .nav-links li:nth-child(7) { transition-delay: 1.26s; }

.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: .92rem; margin-left: 6px; white-space: nowrap; transition: background .3s; }
.nav-cta svg { width: 17px; height: 17px; fill: currentColor; animation: wiggle 2.2s ease-in-out infinite; }
.nav-cta:hover { background: var(--pink); color: #fff; }

.burger { display: none; width: 50px; height: 50px; margin-left: auto; border: 0; border-radius: 50%; background: var(--grad-1); cursor: pointer; position: relative; z-index: 130; flex: none; }
.burger span { position: absolute; left: 14px; width: 22px; height: 2.6px; border-radius: 3px; background: #fff; transition: transform .45s var(--bounce), opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 24px; width: 15px; } .burger span:nth-child(3) { top: 31px; }
.menu-open .burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.menu-open .burger span:nth-child(3) { top: 24px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 110; background: var(--grad-1); display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px; clip-path: circle(0 at calc(100% - 52px) 46px); transition: clip-path .8s cubic-bezier(.77, 0, .18, 1); visibility: hidden; overflow-y: auto; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 52px) 46px); visibility: visible; }
.mobile-menu ul li { overflow: hidden; }
.mobile-menu ul a { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.5rem); color: #fff; transform: translateY(110%); transition: transform .6s var(--ease), color .3s; }
.mobile-menu ul a em { font-style: normal; font-size: .9rem; color: rgba(255, 255, 255, .6); font-family: "Nunito", sans-serif; }
.mobile-menu ul a:hover { color: var(--gold); }
.menu-open .mobile-menu ul a { transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: .25s; } .menu-open .mobile-menu li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .35s; } .menu-open .mobile-menu li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .45s; } .menu-open .mobile-menu li:nth-child(6) a { transition-delay: .5s; }
.menu-open .mobile-menu li:nth-child(7) a { transition-delay: .55s; }
.mm-call { align-self: flex-start; margin-top: 28px; padding: 14px 24px; border-radius: 999px; background: #fff; color: var(--pink); font-weight: 800; opacity: 0; transform: translateY(20px); transition: opacity .5s .6s, transform .6s .6s var(--bounce); }
.menu-open .mm-call { opacity: 1; transform: none; }
.mm-shapes i { position: absolute; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); animation: float 7s ease-in-out infinite; }
.mm-shapes i:nth-child(1) { width: 180px; height: 180px; right: -50px; bottom: 60px; }
.mm-shapes i:nth-child(2) { width: 90px; height: 90px; right: 30%; top: 16%; border-color: rgba(255, 194, 61, .6); animation-delay: -2s; }
.mm-shapes i:nth-child(3) { width: 50px; height: 50px; left: 60%; bottom: 20%; background: rgba(255, 255, 255, .15); border: 0; animation-delay: -4s; }

@media (max-width: 1200px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
}
@media (min-width: 1201px) { .mobile-menu { display: none; } }
@media (max-width: 480px) {
  .nav { padding: 10px 10px; }
  .nav-inner { padding: 6px 6px 6px 16px; }
  .brand img, .nav.scrolled .brand img { height: 40px; }
  .burger { width: 46px; height: 46px; }
  .burger span { left: 12px; }
  .burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
  .menu-open .burger span:nth-child(1), .menu-open .burger span:nth-child(3) { top: 22px; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; border: 0; font-weight: 800; font-size: 1rem; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; transition: box-shadow .35s, background .35s, color .35s; }
.btn > span, .btn > svg { position: relative; z-index: 1; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--bounce); }
.btn:hover svg { transform: translateX(5px); }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-25deg); animation: shine 4s ease-in-out infinite; z-index: 0; }
.btn-primary { color: #fff; background: var(--grad-1); background-size: 200% 200%; animation: gradShift 6s ease infinite; box-shadow: 0 16px 34px -12px rgba(255, 61, 127, .7); }
.btn-primary:hover { box-shadow: 0 22px 40px -12px rgba(255, 61, 127, .9); color: #fff; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-glass::after { display: none; }
.btn-white { background: #fff; color: var(--pink); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .4); }
.btn-white:hover { color: var(--purple); }
.btn.full { width: 100%; }
.magnetic { transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 80vh; min-height: 80svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease; will-change: opacity, transform; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active, .hero-slide.leaving { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.2) translate3d(2%, 1%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }

.hero-overlay { display: none; }

.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; display: block; width: var(--s, 50px); transition: transform .8s var(--ease); }
.hs svg { display: block; width: 100%; height: auto; animation: float var(--t, 7s) ease-in-out infinite; animation-delay: var(--ad, 0s); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
.js .hs { opacity: 0; scale: 0; }
.loaded .hs { opacity: 1; scale: 1; transition: transform .8s var(--ease), scale .9s var(--bounce) var(--d, 1s), opacity .5s var(--d, 1s); }
.hs-1 { --s: 54px; top: 18%; left: 56%; --t: 6s; --d: 1.2s; }
.hs-2 { --s: 64px; bottom: 24%; right: 7%; --t: 8s; --ad: -2s; --d: 1.3s; }
.hs-3 { --s: 50px; top: 24%; right: 9%; --t: 7s; --ad: -1s; --d: 1.4s; }
.hs-4 { --s: 90px; bottom: 30%; left: 52%; --t: 9s; --d: 1.5s; }
.hs-5 { --s: 76px; top: 58%; right: 26%; --t: 6.5s; --ad: -3s; --d: 1.6s; }
.hs-6 { --s: 40px; top: 15%; left: 4%; --t: 5.5s; --d: 1.7s; }
.hs-7 { --s: 70px; top: 40%; right: 16%; --t: 7.5s; --ad: -4s; --d: 1.8s; }
.hs-8 { --s: 60px; bottom: 16%; left: 3%; --t: 10s; opacity: .5; --d: 1.9s; }
.hs-2 svg, .hs-6 svg { animation-name: spin; animation-timing-function: linear; animation-duration: 16s; }

.hero-content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 110px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 700; font-size: .92rem; margin-bottom: 22px; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; flex: none; }
.hero-title { max-width: 820px; font-size: clamp(2.1rem, 4.4vw, 3.7rem); font-weight: 800; line-height: 1.08; color: #fff; margin-bottom: 18px; text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 6px 24px rgba(0, 0, 0, .45); }
.hero-sub, .hero-badge, .scroll-cue { text-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 4px 16px rgba(0, 0, 0, .4); }
.hero-badge { background: rgba(30, 21, 55, .35); }
.hero-hl { position: relative; color: var(--gold); white-space: nowrap; }
.hero-hl svg { position: absolute; left: 0; bottom: .02em; width: 100%; height: .28em; overflow: visible; }
.hero-hl path { fill: none; stroke: var(--pink); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1.2s var(--ease) 1.4s; }
.hero-title.in .hero-hl path { stroke-dashoffset: 0; }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: rgba(255, 255, 255, .9); font-weight: 600; margin-bottom: 34px; min-height: 1.6em; }
.typer { font-family: "Baloo 2", sans-serif; font-weight: 800; color: var(--tc, var(--gold)); position: relative; padding-right: 4px; transition: color .3s; }
.typer::after { content: ""; position: absolute; right: -4px; top: 12%; height: 76%; width: 3px; border-radius: 2px; background: currentColor; animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.js .hero-badge, .js .hero-sub, .js .hero-actions { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.loaded .hero-badge { opacity: 1; transform: none; transition-delay: .9s; }
.loaded .hero-sub { opacity: 1; transform: none; transition-delay: 1.5s; }
.loaded .hero-actions { opacity: 1; transform: none; transition-delay: 1.7s; }

.hero-dots { position: absolute; z-index: 3; right: 40px; bottom: 130px; display: flex; gap: 8px; }
.hero-dots button { position: relative; width: 30px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .35); cursor: pointer; overflow: hidden; transition: width .5s var(--ease); }
.hero-dots button.is-active { width: 64px; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.hero-dots button.is-active::after { animation: dotFill var(--slide-ms, 6000ms) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 105px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 800; }
.mouse { width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 16px; position: relative; }
.wheel { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 100px; z-index: 2; }
.footer-wave { display: block; width: 100%; height: 90px; margin-bottom: -1px; }
.wave-layers use { animation: waveMove 25s cubic-bezier(.55, .5, .45, .5) infinite; }
.wave-layers use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.wave-layers use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.wave-layers use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.wave-layers use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes waveMove { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }

@media (max-width: 760px) {
  .hero-content { padding-top: 120px; padding-bottom: 170px; }
  .hero-dots { right: 50%; transform: translateX(50%); bottom: 96px; }
  .scroll-cue { display: none; }
  .hs-1, .hs-4, .hs-5 { display: none; }
  .hs-7 { top: 16%; right: 6%; --s: 46px; }
  .hs-3 { top: auto; bottom: 26%; right: 14%; }
  .waves { height: 60px; }
  .hero-hl { white-space: normal; }
  .hero-badge { font-size: .76rem; padding: 8px 14px; gap: 8px; }
}

/* =========================================================
   RIBBONS / MARQUEE
   ========================================================= */
.ribbons { position: relative; height: 150px; overflow: hidden; background: var(--cream); margin-top: -10px; }
.ribbon { position: absolute; left: -5%; width: 110%; padding: 14px 0; overflow: hidden; }
.ribbon.r1 { top: 40px; background: var(--grad-1); transform: rotate(-3deg); z-index: 2; box-shadow: 0 16px 30px -18px rgba(123, 47, 247, .8); }
.ribbon.r2 { top: 56px; background: var(--ink); transform: rotate(2.4deg); z-index: 1; }
.ribbon-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon.r2 .ribbon-track { animation-direction: reverse; animation-duration: 32s; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.35rem; color: #fff; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.ribbon b { color: var(--gold); font-size: 1.3rem; display: inline-block; animation: spin 6s linear infinite; }
.ribbon.r2 span { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .ribbons { height: 120px; } .ribbon span { font-size: 1.05rem; } .ribbon.r1 { top: 30px; } .ribbon.r2 { top: 44px; } }

/* =========================================================
   SECTION BASICS
   ========================================================= */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; scroll-margin-top: 70px; }
@supports (overflow: clip) { .section { overflow: clip; } }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head.left { text-align: left; margin-bottom: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: floatSm 1.8s ease-in-out infinite; }
.e-orange { background: rgba(255, 107, 26, .12); color: #E0540A; }
.e-purple { background: rgba(123, 47, 247, .1); color: var(--purple); }
.e-pink { background: rgba(255, 61, 127, .12); color: #E0215F; }
.e-blue { background: rgba(30, 155, 255, .12); color: #0A7ADB; }
.e-teal { background: rgba(0, 194, 168, .12); color: #00937F; }
.e-gold { background: rgba(255, 194, 61, .16); color: var(--gold); }
.e-white { background: rgba(255, 255, 255, .2); color: #fff; margin-bottom: 6px; }
.title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; margin-bottom: 8px; }
.title.sm { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.hl .wi, .hl:not(:has(.wi)) { background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.squiggle { display: block; width: 150px; height: 16px; margin: 6px auto 0; overflow: visible; color: var(--sq, var(--orange)); }
.sec-head.left .squiggle { margin-left: 0; }
.squiggle path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 230; stroke-dashoffset: 230; transition: stroke-dashoffset 1.3s var(--ease) .5s; }
html:not(.js) .squiggle path, .sec-head.in .squiggle path { stroke-dashoffset: 0; }
.lead { font-size: 1.16rem; color: var(--ink); font-weight: 600; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; pointer-events: none; animation: blobDrift 18s ease-in-out infinite; }
.blob-a { width: 380px; height: 380px; background: #FFD0B0; top: -80px; right: -100px; }
.blob-b { width: 300px; height: 300px; background: #E6D5FF; bottom: 0; left: -120px; animation-delay: -6s; }
.blob-c { width: 420px; height: 420px; background: #FFD6E4; top: 30%; right: -200px; animation-delay: -3s; }
.blob-d { width: 380px; height: 380px; background: #CDEBFF; top: -100px; left: -120px; }
.blob-e { width: 400px; height: 400px; background: #FFE5B0; bottom: 10%; right: -150px; animation-delay: -9s; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { --sq: var(--orange); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about-media { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.05; }
.about-ring { position: absolute; inset: -4%; width: 108%; height: 108%; animation: spin 50s linear infinite; }
.about-ring circle { fill: none; stroke: var(--orange); stroke-width: .8; stroke-dasharray: 3 5; opacity: .55; }
.am-main { position: absolute; top: 5%; right: 3%; width: 78%; height: 76%; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); animation: morph 14s ease-in-out infinite; }
.am-main img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 1.2s var(--ease); }
.am-main:hover img { transform: scale(1.08); }
.am-small { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 9 / 13; border-radius: 24px; overflow: hidden; border: 7px solid #fff; box-shadow: var(--shadow); transform: rotate(-7deg); animation: tiltFloat 6s ease-in-out infinite; }
.am-small img { width: 100%; height: 100%; object-fit: cover; }
@keyframes tiltFloat { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-14px); } }
.am-seal { position: absolute; top: 0; left: 1%; width: 30%; aspect-ratio: 1; }
.am-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.am-seal text { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 17px; letter-spacing: 3.4px; fill: var(--ink); }
.am-seal img { position: absolute; top: 50%; left: 50%; width: 56%; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .35); background: #fff; }
.am-chip { position: absolute; background: #fff; border-radius: 20px; padding: 12px 18px; box-shadow: var(--shadow); font-weight: 800; font-size: .88rem; line-height: 1.25; color: var(--ink); animation: floatSm 4s ease-in-out infinite; }
.am-chip b { display: block; font-family: "Baloo 2", sans-serif; font-size: 2rem; line-height: 1; background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip-1 { right: 0; bottom: 8%; }
.chip-2 { right: -3%; top: 12%; display: flex; align-items: center; gap: 10px; animation-delay: -2s; }
.chip-2 .heart { font-size: 1.5rem; color: var(--pink); animation: heartbeat 1.3s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }

.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.more.open { grid-template-rows: 1fr; }
.more-inner { overflow: hidden; }
.more-inner p { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.more.open .more-inner p { opacity: 1; transform: none; }
.more.open .more-inner p:nth-child(2) { transition-delay: .1s; } .more.open .more-inner p:nth-child(3) { transition-delay: .2s; } .more.open .more-inner p:nth-child(4) { transition-delay: .3s; }
.read-more { display: inline-flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 8px; border: 0; background: none; color: var(--pink); font-weight: 800; cursor: pointer; }
.read-more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--bounce); }
.read-more .rm-close { display: none; }
.read-more[aria-expanded="true"] .rm-open { display: none; }
.read-more[aria-expanded="true"] .rm-close { display: inline; }
.read-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.read-more:hover { color: var(--purple); }

.quote { position: relative; margin: 26px 0; padding: 26px 28px 22px 84px; border-radius: 24px; background: linear-gradient(135deg, #FFF0E4, #FFE2EE 60%, #F0E6FF); overflow: hidden; }
.quote::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--grad-1); }
.q-mark { position: absolute; left: 26px; top: 26px; width: 40px; fill: var(--orange); animation: bob 3s ease-in-out infinite; }
.quote p { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.32rem; line-height: 1.35; color: var(--ink); margin-bottom: 8px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: .92rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .92rem; transition: transform .4s var(--bounce), box-shadow .3s; cursor: default; }
.chips li span { font-size: 1.15rem; display: inline-block; }
.chips li:hover { transform: translateY(-5px) rotate(-2deg) !important; box-shadow: 0 16px 30px -12px rgba(255, 61, 127, .45); }
.chips li:hover span { animation: wiggle .5s ease-in-out; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media { margin: 0 auto; max-width: 480px; }
}
@media (max-width: 480px) {
  .am-chip { font-size: .75rem; padding: 9px 12px; }
  .am-chip b { font-size: 1.5rem; }
  .am-seal text { font-size: 19px; }
  .quote { padding: 70px 22px 20px; }
  .q-mark { left: 22px; top: 22px; width: 34px; }
  .quote p { font-size: 1.15rem; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats-wrap { position: relative; padding: 0 0 20px; background: var(--cream); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 46px 30px; border-radius: 34px; overflow: hidden; isolation: isolate; background: var(--ink); }
.stats::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, var(--orange), var(--pink), var(--purple), var(--blue), var(--teal), var(--gold), var(--orange)); animation: spin 7s linear infinite; }
.stats::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 31px; background: radial-gradient(circle at 10% 0%, #2E2255, var(--ink) 60%); }
.stat { text-align: center; color: #fff; }
.stat-ico { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 20px; display: grid; place-items: center; transition: transform .6s var(--bounce); }
.stat:hover .stat-ico { transform: rotate(-12deg) scale(1.12); }
.stat-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.si-1 { background: var(--grad-4); } .si-2 { background: var(--grad-1); } .si-3 { background: var(--grad-3); } .si-4 { background: var(--grad-2); }
.stat-num { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; }
.stat-num sup { font-size: .5em; color: var(--gold); margin-left: 2px; }
.stat-num small { font-size: .42em; color: rgba(255, 255, 255, .8); }
.stat-label { color: rgba(255, 255, 255, .72); font-weight: 700; font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; padding: 36px 16px; } }

/* =========================================================
   MISSION & VISION
   ========================================================= */
.mission { --sq: var(--purple); background-color: #fff; background-image: radial-gradient(rgba(123, 47, 247, .13) 1.6px, transparent 1.6px); background-size: 26px 26px; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.vm-card { position: relative; overflow: hidden; padding: 44px 40px; border-radius: 34px; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.vm-vision { background: var(--grad-2); }
.vm-mission { background: var(--grad-1); }
.vm-card h3 { color: #fff; font-size: 2.1rem; margin-bottom: 20px; }
.vm-ico { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); animation: bob 3.5s ease-in-out infinite; }
.vm-ico svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ticks li { position: relative; padding-left: 40px; margin-bottom: 14px; color: rgba(255, 255, 255, .95); font-weight: 600; line-height: 1.6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23FF3D7F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.vm-vision .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%237B2FF7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.vm-deco { position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .1); animation: floatSm 6s ease-in-out infinite; }
.vm-deco::after { content: ""; position: absolute; top: -170px; left: -60px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, .1); animation: floatSm 4s ease-in-out infinite reverse; }

.values-head { margin-top: 90px; margin-bottom: 40px; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { --c: var(--orange); --ct: rgba(255, 107, 26, .12); position: relative; overflow: hidden; isolation: isolate; padding: 32px 22px 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); border-top: 5px solid var(--c); text-align: center; }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.value:hover::before { transform: scaleY(1); }
.value h4 { font-size: 1.35rem; margin-bottom: 8px; transition: color .4s; }
.value p { font-size: .94rem; line-height: 1.6; margin: 0; transition: color .4s; }
.value:hover h4, .value:hover p { color: #fff; }
.v-ico { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: var(--ct); display: grid; place-items: center; transition: background .4s, transform .7s var(--bounce); }
.v-ico svg { width: 32px; height: 32px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value:hover .v-ico { background: #fff; transform: rotate(360deg) scale(1.08); }
.v1 { --c: var(--orange); --ct: rgba(255, 107, 26, .12); }
.v2 { --c: var(--blue); --ct: rgba(30, 155, 255, .12); }
.v3 { --c: var(--pink); --ct: rgba(255, 61, 127, .12); }
.v4 { --c: var(--teal); --ct: rgba(0, 194, 168, .12); }
.v5 { --c: var(--purple); --ct: rgba(123, 47, 247, .12); }

@media (max-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } .vm-card { padding: 36px 26px; } }
@media (max-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); gap: 14px; } .value { padding: 26px 16px 22px; } }
@media (max-width: 400px) { .values { grid-template-columns: 1fr; } }

/* =========================================================
   ACADEMICS
   ========================================================= */
.academics { --sq: var(--blue); background: linear-gradient(180deg, var(--cream), #FFF3E6); }
.acad-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.badge { padding: 20px 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); border-bottom: 4px solid var(--bc); transition: transform .4s var(--bounce), box-shadow .3s; }
.badge:hover { transform: translateY(-8px) !important; box-shadow: var(--shadow); }
.badge b { display: block; font-family: "Baloo 2", sans-serif; font-size: 1.55rem; line-height: 1.1; margin-bottom: 4px; background: var(--bg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge span { font-size: .88rem; color: var(--muted); font-weight: 600; line-height: 1.45; display: block; }
.b1 { --bc: var(--orange); --bg: var(--grad-4); } .b2 { --bc: var(--blue); --bg: var(--grad-2); } .b3 { --bc: var(--pink); --bg: var(--grad-1); }

.days-card { position: relative; overflow: hidden; padding: 34px 30px; border-radius: 34px; color: #fff; background: linear-gradient(150deg, #1E9BFF, #7B2FF7 75%, #D63AF9); box-shadow: 0 30px 60px -28px rgba(123, 47, 247, .8); }
.days-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); top: -110px; right: -90px; animation: floatSm 5s ease-in-out infinite; }
.days-top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; position: relative; }
.days-top h3 { color: #fff; font-size: 1.9rem; margin: 0; }
.clock { width: 112px; height: 112px; flex: none; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25)); }
.c-face { fill: #fff; stroke: var(--gold); stroke-width: 5; }
.c-ticks line { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.c-ticks line.big { stroke: var(--pink); stroke-width: 3.5; }
.c-h, .c-m, .c-s { stroke-linecap: round; transform-origin: 60px 60px; }
.c-h { stroke: var(--ink); stroke-width: 5; }
.c-m { stroke: var(--purple); stroke-width: 3.5; }
.c-s { stroke: var(--pink); stroke-width: 1.8; transition: transform .25s var(--bounce); }
.c-pin { fill: var(--pink); }
.times li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; margin-bottom: 10px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); transition: background .3s, transform .4s var(--bounce); }
.times li:hover { background: rgba(255, 255, 255, .24); transform: translateX(6px) !important; }
.times b { display: block; font-family: "Baloo 2", sans-serif; font-size: 1.2rem; line-height: 1.2; }
.times span:not(.t-dot) { font-size: .9rem; opacity: .88; line-height: 1.4; display: block; }
.t-dot { flex: none; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; animation: pulse 2s infinite; }
.td-1 { background: var(--gold); } .td-2 { background: #7CF3E0; animation-delay: .5s; } .td-3 { background: #FF9CC0; animation-delay: 1s; }

.year { margin-top: 80px; text-align: center; }
.year-title { font-size: 1.7rem; margin-bottom: 34px; }
.year-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.year-line { position: absolute; top: 34px; left: 16.66%; right: 16.66%; height: 6px; border-radius: 6px; background: rgba(30, 21, 55, .08); overflow: hidden; }
.year-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--orange), var(--gold) 50%, var(--pink)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s var(--ease) .3s; }
.year.in .year-line i, html:not(.js) .year-line i { transform: none; }
.y-step { position: relative; display: flex; flex-direction: column; align-items: center; }
.y-dot { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 5px solid var(--yc); box-shadow: 0 14px 28px -14px var(--yc); margin-bottom: 14px; transition: transform .7s var(--bounce); }
.js .y-dot { transform: scale(0); }
.year.in .y-dot { transform: scale(1); }
.year.in .ys-1 .y-dot { transition-delay: .3s; } .year.in .ys-2 .y-dot { transition-delay: 1.1s; } .year.in .ys-3 .y-dot { transition-delay: 1.9s; }
.y-dot svg { width: 32px; height: 32px; fill: none; stroke: var(--yc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.y-step:hover .y-dot svg { animation: wiggle .6s ease-in-out; }
.ys-2 .y-dot svg { animation: spin 10s linear infinite; }
.y-step b { font-family: "Baloo 2", sans-serif; font-size: 1.35rem; line-height: 1.2; }
.y-step span { color: var(--muted); font-weight: 700; font-size: .95rem; }
.ys-1 { --yc: var(--orange); } .ys-2 { --yc: #F2A900; } .ys-3 { --yc: var(--pink); }

@media (max-width: 960px) { .acad-grid { grid-template-columns: 1fr; } .days-card { max-width: 560px; } }
@media (max-width: 640px) {
  .badges { grid-template-columns: 1fr; }
  .y-dot { width: 58px; height: 58px; border-width: 4px; }
  .y-dot svg { width: 26px; height: 26px; }
  .year-line { top: 27px; }
  .y-step b { font-size: 1.05rem; }
  .y-step span { font-size: .82rem; }
  .clock { width: 88px; height: 88px; }
  .days-top h3 { font-size: 1.5rem; }
  .days-card { padding: 28px 20px; }
}

/* =========================================================
   INFRASTRUCTURE
   ========================================================= */
.infra { --sq: var(--teal); background: #fff; }
.infra-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.infra-media { position: relative; padding-bottom: 16%; }
.im-main { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.im-main img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.im-second { position: absolute; right: -4%; bottom: 0; width: 52%; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; border: 7px solid #fff; box-shadow: var(--shadow); }
.im-second img { width: 100%; height: 100%; object-fit: cover; }
.js .im-second.reveal-clip { clip-path: inset(100% 0 0 0 round 24px); }
.js .in .im-second.reveal-clip { clip-path: inset(0 0 0 0 round 24px); }
.im-badge { position: absolute; top: -26px; left: -20px; z-index: 2; width: 116px; height: 116px; border-radius: 50%; background: var(--grad-4); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 18px 30px -12px rgba(255, 107, 26, .7); animation: bob 4s ease-in-out infinite; }
.im-badge::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--orange); animation: spin 14s linear infinite; }
.im-badge b { font-family: "Baloo 2", sans-serif; font-size: 1.9rem; line-height: 1; }
.im-badge span { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.pin { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(0, 194, 168, .1); font-weight: 800; color: #00806F; }
.pin-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; animation: floatSm 2s ease-in-out infinite; }
.pin-ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.facilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 80px; }
.fac { --fc: var(--orange); position: relative; overflow: hidden; padding: 28px 18px; border-radius: 26px; text-align: center; background: linear-gradient(160deg, color-mix(in srgb, var(--fc) 14%, #fff), #fff 80%); border: 1px solid color-mix(in srgb, var(--fc) 22%, #fff); transition: transform .45s var(--bounce), box-shadow .35s; cursor: default; }
.fac:hover { transform: translateY(-10px) rotate(-1.5deg) !important; box-shadow: 0 26px 40px -22px var(--fc); }
.f-ico { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; background: var(--fc); box-shadow: 0 12px 22px -10px var(--fc); transition: border-radius .5s; }
.fac:hover .f-ico { border-radius: 50%; }
.fac:hover .f-ico svg { animation: wiggle .6s ease-in-out; }
.f-ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fac span { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.12rem; line-height: 1.2; display: block; }
.f1 { --fc: var(--orange); } .f2 { --fc: #F2A900; } .f3 { --fc: var(--pink); } .f4 { --fc: var(--purple); }
.f5 { --fc: var(--green); } .f6 { --fc: var(--blue); } .f7 { --fc: var(--teal); } .f8 { --fc: var(--magenta); }

@media (max-width: 960px) { .infra-grid { grid-template-columns: 1fr; gap: 60px; } .infra-media { max-width: 640px; margin: 20px auto 0; width: 100%; } }
@media (max-width: 860px) { .facilities { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .im-badge { width: 92px; height: 92px; left: -6px; } .im-badge b { font-size: 1.5rem; } .im-second { right: 0; } .fac { padding: 22px 12px; } .fac span { font-size: 1rem; } }

/* =========================================================
   ADMISSION
   ========================================================= */
.admission { --sq: var(--gold); background: var(--ink); color: #fff; }
.adm-bg i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: blobDrift 16s ease-in-out infinite; }
.adm-bg i:nth-child(1) { width: 420px; height: 420px; background: var(--purple); top: -120px; left: -100px; }
.adm-bg i:nth-child(2) { width: 360px; height: 360px; background: var(--pink); bottom: -120px; right: -80px; animation-delay: -5s; }
.adm-bg i:nth-child(3) { width: 260px; height: 260px; background: var(--blue); top: 40%; left: 45%; opacity: .25; animation-delay: -10s; }
.sec-head.light .title { color: #fff; }
.admission .hl .wi { background: linear-gradient(135deg, var(--gold), var(--orange)); -webkit-background-clip: text; background-clip: text; }
.adm-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: start; position: relative; }

.steps { position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 30px; width: 4px; border-radius: 4px; }
.steps::before { bottom: 30px; background: rgba(255, 255, 255, .12); }
.steps::after { height: calc((100% - 60px) * var(--p, 0)); background: linear-gradient(180deg, var(--gold), var(--orange), var(--pink), var(--purple)); box-shadow: 0 0 16px rgba(255, 107, 26, .7); }
.step { position: relative; display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.step:last-child { margin-bottom: 0; }
.s-num { position: relative; z-index: 1; flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.5rem; color: rgba(255, 255, 255, .7); background: #2A2048; border: 3px solid rgba(255, 255, 255, .18); transition: background .5s, color .5s, border-color .5s, transform .6s var(--bounce), box-shadow .5s; }
.step.lit .s-num { background: var(--grad-1); color: #fff; border-color: transparent; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 61, 127, .2); }
.step > div { flex: 1; padding: 18px 22px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); transition: background .35s, transform .45s var(--bounce), border-color .35s; }
.step:hover > div { background: rgba(255, 255, 255, .11); border-color: rgba(255, 194, 61, .4); transform: translateX(8px); }
.step h4 { color: #fff; font-size: 1.28rem; margin-bottom: 4px; }
.step p { color: rgba(255, 255, 255, .74); margin: 0; font-size: .98rem; line-height: 1.6; }

.docs { position: sticky; top: 110px; padding: 34px 30px; border-radius: 32px; background: #fff; color: var(--ink); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.docs-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.docs-head h3 { margin: 0; font-size: 1.6rem; }
.docs-ico { width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--grad-1); display: grid; place-items: center; animation: bob 3s ease-in-out infinite; }
.docs-ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checklist { margin-bottom: 24px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 2px dashed rgba(30, 21, 55, .09); font-weight: 700; color: var(--ink-2); transition: color .3s, transform .4s var(--bounce); }
.checklist li:hover { color: var(--ink); transform: translateX(6px); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 28px; height: 28px; flex: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.checklist circle { stroke: var(--teal); stroke-width: 2; fill: transparent; stroke-dasharray: 64; stroke-dashoffset: 64; transition: stroke-dashoffset .6s var(--ease), fill .4s; }
.checklist path { stroke: #fff; stroke-width: 2.6; stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset .4s var(--ease); }
.docs.in .checklist circle, html:not(.js) .checklist circle { stroke-dashoffset: 0; fill: var(--teal); }
.docs.in .checklist path, html:not(.js) .checklist path { stroke-dashoffset: 0; }
.docs.in .checklist li:nth-child(1) circle { transition-delay: .5s, .9s; } .docs.in .checklist li:nth-child(1) path { transition-delay: 1s; }
.docs.in .checklist li:nth-child(2) circle { transition-delay: .7s, 1.1s; } .docs.in .checklist li:nth-child(2) path { transition-delay: 1.2s; }
.docs.in .checklist li:nth-child(3) circle { transition-delay: .9s, 1.3s; } .docs.in .checklist li:nth-child(3) path { transition-delay: 1.4s; }
.docs.in .checklist li:nth-child(4) circle { transition-delay: 1.1s, 1.5s; } .docs.in .checklist li:nth-child(4) path { transition-delay: 1.6s; }
.docs.in .checklist li:nth-child(5) circle { transition-delay: 1.3s, 1.7s; } .docs.in .checklist li:nth-child(5) path { transition-delay: 1.8s; }

@media (max-width: 960px) { .adm-grid { grid-template-columns: 1fr; } .docs { position: relative; top: 0; } }
@media (max-width: 480px) {
  .steps::before, .steps::after { left: 21px; }
  .s-num { width: 46px; height: 46px; font-size: 1.2rem; }
  .step { gap: 14px; }
  .step > div { padding: 14px 16px; }
  .docs { padding: 28px 20px; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { --sq: var(--pink); background: var(--cream); }
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; }
.g-item { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); background: #eee; cursor: zoom-in; }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.1) rotate(1deg); filter: saturate(1.2); }
.g-over { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(123, 47, 247, .75), rgba(255, 61, 127, .25)); opacity: 0; transition: opacity .45s; }
.g-item:hover .g-over, .g-item:focus-visible .g-over { opacity: 1; }
.g-plus { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: grid; place-items: center; transform: scale(.3) rotate(-90deg); transition: transform .55s var(--bounce); }
.g-item:hover .g-plus { transform: none; }
.g-plus svg { width: 28px; height: 28px; fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 1000px) { .masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 700px) { .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; } .g-item { border-radius: 16px; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; background: rgba(20, 14, 40, .93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lb.open { opacity: 1; visibility: visible; }
.lb-img { max-width: 90vw; max-height: 74vh; margin-top: -40px; border-radius: 18px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); transform: scale(.85) translateY(20px); opacity: 0; transition: transform .6s var(--bounce), opacity .4s; }
.lb.open .lb-img.ready { transform: none; opacity: 1; }
.lb button { position: absolute; width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .4s var(--bounce); }
.lb button:hover { background: var(--pink); transform: scale(1.1); }
.lb button svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -28px; }
.lb-next { right: 20px; top: 50%; margin-top: -28px; }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-weight: 800; letter-spacing: 2px; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; } .lb-img { max-width: 94vw; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { --sq: var(--orange); background: #fff; padding-bottom: 60px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.c-card { position: relative; padding: 34px 28px; border-radius: 28px; background: #fff; border: 2px solid rgba(30, 21, 55, .06); box-shadow: var(--shadow-sm); transition: box-shadow .4s, border-color .4s; }
.c-card:hover { box-shadow: var(--shadow); border-color: rgba(255, 61, 127, .25); }
.c-card h4 { font-size: 1.4rem; margin-bottom: 8px; }
.c-card p { margin: 0; line-height: 1.75; }
.c-card a { font-weight: 800; color: var(--ink); font-size: 1.12rem; }
.c-card a:hover { color: var(--pink); }
.c-ico { position: relative; width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 18px; transition: transform .6s var(--bounce); }
.c-card:hover .c-ico { transform: rotate(-10deg) scale(1.1); }
.c-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cc-2 .c-ico svg { fill: #fff; stroke: none; animation: wiggle 2s ease-in-out infinite; }
.cc-1 .c-ico { background: var(--grad-1); } .cc-2 .c-ico { background: var(--grad-3); } .cc-3 .c-ico { background: var(--grad-4); }
.c-ico.ring::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--teal); animation: ringPulse 1.8s ease-out infinite; }

.cta { position: relative; overflow: hidden; margin-top: 60px; padding: 52px 56px; border-radius: 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: #fff; background: linear-gradient(120deg, #FF6B1A, #FF3D7F 40%, #7B2FF7 75%, #1E9BFF); background-size: 250% 250%; animation: gradShift 10s ease infinite; box-shadow: 0 30px 60px -30px rgba(123, 47, 247, .8); }
.cta-text { position: relative; max-width: 560px; }
.cta h3 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, .9); margin: 0; font-weight: 600; }
.cta-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shapes i { position: absolute; border-radius: 50%; animation: float 8s ease-in-out infinite; }
.cta-shapes i:nth-child(1) { width: 160px; height: 160px; border: 26px solid rgba(255, 255, 255, .12); right: 22%; top: -70px; }
.cta-shapes i:nth-child(2) { width: 60px; height: 60px; background: rgba(255, 194, 61, .5); left: 40%; bottom: -20px; animation-delay: -3s; }
.cta-shapes i:nth-child(3) { width: 24px; height: 24px; background: rgba(255, 255, 255, .5); right: 6%; top: 20%; animation-delay: -5s; }
.cta-shapes i:nth-child(4) { width: 110px; height: 110px; border: 3px dashed rgba(255, 255, 255, .35); left: -30px; bottom: -40px; animation-name: spin; animation-duration: 20s; animation-timing-function: linear; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } .cta { padding: 40px 26px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: #fff; }
.footer-body { background: var(--ink); color: rgba(255, 255, 255, .72); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; padding-top: 30px; padding-bottom: 50px; }
.f-logo { display: inline-block; padding: 12px 18px; margin-bottom: 18px; border-radius: 20px; background: #fff; transition: transform .5s var(--bounce); }
.f-logo:hover { transform: rotate(-2deg) scale(1.03); }
.f-logo img { max-width: 240px; width: 100%; }
.footer p { color: rgba(255, 255, 255, .7); font-size: .98rem; }
.f-col h5 { position: relative; color: #fff; font-size: 1.25rem; margin-bottom: 20px; padding-bottom: 10px; }
.f-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 4px; border-radius: 4px; background: var(--grad-1); transition: width .5s var(--ease); }
.f-col:hover h5::after { width: 70px; }
.f-col li { margin-bottom: 8px; }
.f-col li a { display: inline-flex; align-items: center; gap: 0; color: rgba(255, 255, 255, .72); font-weight: 600; transition: color .3s, gap .3s, transform .3s; }
.f-col li a::before { content: ""; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.f-col li a:hover { color: var(--gold); gap: 8px; }
.f-col li a:hover::before { width: 12px; }
.f-col p a { color: #fff; font-weight: 800; font-size: 1.08rem; }
.f-col p a:hover { color: var(--gold); }
.f-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.f-bottom p { margin: 0; font-size: .9rem; }
.f-bottom a { color: var(--gold); font-weight: 800; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-wave { height: 60px; } }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.8); transition: opacity .4s, transform .5s var(--bounce), visibility .4s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-5px); }
.tt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tt-ring circle { fill: none; stroke: var(--pink); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: var(--tt, 132); }
.tt-arrow { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover .tt-arrow { animation: floatSm .8s ease-in-out infinite; }

.call-fab { position: fixed; left: 18px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; background: var(--grad-3); box-shadow: 0 14px 30px -10px rgba(0, 194, 168, .8); }
.call-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--teal); animation: ringPulse 1.8s ease-out infinite; }
.call-fab svg { width: 26px; height: 26px; fill: #fff; animation: wiggle 1.6s ease-in-out infinite; }
@media (max-width: 900px) { .call-fab { display: grid; } }

/* =========================================================
   INNER PAGES / 404
   ========================================================= */
.page-wrapper { padding-top: 150px; padding-bottom: 80px; min-height: 70vh; }
.nf { text-align: center; max-width: 620px; margin: 0 auto; }
.nf-num { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; }
.nf-num span { background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; animation: bob 2.6s ease-in-out infinite; }
.nf-num span:last-child { animation-delay: -1.3s; }
.nf-num img { width: .8em; height: .8em; border-radius: 50%; animation: spin 8s linear infinite; }
.nf h1 { font-size: 2.4rem; }
.nf a:not(.btn) { color: var(--pink); font-weight: 800; }

/* confetti particles (buttons) */
.confetti { position: fixed; z-index: 9998; width: 9px; height: 9px; pointer-events: none; border-radius: 2px; }

/* =========================================================
   FACULTY PHOTO (academics)
   ========================================================= */
.faculty { position: relative; margin: 30px 0 26px; }
.faculty-img { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow); }
.faculty-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.faculty:hover .faculty-img img { transform: scale(1.06); }
.faculty figcaption { position: absolute; left: 18px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); animation: floatSm 4s ease-in-out infinite; }
.faculty figcaption b { display: block; font-family: "Baloo 2", sans-serif; font-size: 1.05rem; line-height: 1.15; color: var(--ink); }
.faculty figcaption span:last-child { font-size: .85rem; color: var(--muted); font-weight: 700; line-height: 1.3; }
.fc-ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--grad-2); }

/* =========================================================
   LIFE AT CFI
   ========================================================= */
.life { --sq: var(--teal); background: linear-gradient(180deg, #FFF3E6, var(--cream)); padding-bottom: 50px; }
.blob-f { width: 380px; height: 380px; background: #C9F3EA; top: 12%; left: -150px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.t-big { grid-column: 1 / 3; grid-row: 1 / 3; }
.t-wide { grid-column: 3 / 5; grid-row: 1; }
.t-sq { grid-column: 3; grid-row: 2; }
.t-tall { grid-column: 4; grid-row: 2 / 4; }
.t-sq2 { grid-column: 1; grid-row: 3; }
.t-wide2 { grid-column: 2 / 4; grid-row: 3; }

.tile { --tc: var(--orange); position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 28px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.tile.t-big { --tc: var(--orange); } .tile.t-wide { --tc: var(--pink); } .tile.t-sq { --tc: var(--blue); }
.tile.t-tall { --tc: var(--purple); } .tile.t-sq2 { --tc: var(--teal); } .tile.t-wide2 { --tc: var(--green); }
.tile-slides { position: absolute; inset: 0; z-index: -2; transition: transform .9s var(--ease); }
.tile-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.14); transition: opacity 1.3s ease, transform 7s linear; }
.tile-slides img.is-on { opacity: 1; transform: scale(1); }
.tile:hover .tile-slides { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 14, 40, .85) 0%, rgba(20, 14, 40, .35) 38%, transparent 62%); }
.tile::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 5px; background: var(--tc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.tile:hover::before { transform: scaleX(1); }
.tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.tile-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 15px; background: #fff; font-size: 1.4rem; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); transition: transform .6s var(--bounce); }
.tile:hover .tile-ico { transform: rotate(-12deg) scale(1.12); }
.tile h3 { color: #fff; font-size: 1.45rem; margin: 0 0 2px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.tile.t-big h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.tile p { margin: 0; color: rgba(255, 255, 255, .88); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.tile-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 14px; border-radius: 999px; background: var(--tc); font-weight: 800; font-size: .85rem; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--bounce); }
.tile-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-go, .tile:focus-visible .tile-go { opacity: 1; transform: none; }
.tile-count { position: absolute; top: 16px; right: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 800; font-size: .8rem; }
.t-sq p, .t-sq2 p { display: none; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 14px; }
  .bento .tile { grid-column: auto; grid-row: auto; }
  .bento .t-big { grid-column: 1 / -1; grid-row: span 2; }
  .bento .t-wide, .bento .t-wide2 { grid-column: 1 / -1; }
  .bento .t-tall { grid-row: span 2; }
  .tile-go { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .bento { grid-auto-rows: 165px; }
  .tile h3 { font-size: 1.2rem; }
  .tile-info { padding: 14px 16px; }
  .tile-ico { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 12px; margin-bottom: 6px; }
  .t-tall p { display: none; }
  .tile-go { display: none; }
}

/* polaroid strip */
.pol-strip { position: relative; margin-top: 70px; padding: 26px 0 36px; overflow: hidden; }
.pol-track { display: flex; align-items: flex-start; gap: 30px; width: max-content; padding: 0 15px; animation: marquee 60s linear infinite; }
.pol-strip:hover .pol-track { animation-play-state: paused; }
.pol { --r: -4deg; position: relative; flex: none; width: 200px; margin: 0; padding: 10px 10px 0; border-radius: 6px; background: #fff; box-shadow: 0 18px 30px -16px rgba(30, 21, 55, .45); transform: rotate(var(--r)); transition: transform .5s var(--bounce), box-shadow .4s; }
.pol:nth-child(even) { --r: 3.5deg; margin-top: 24px; }
.pol:nth-child(3n) { --r: -1.5deg; margin-top: 10px; }
.pol::before { content: ""; position: absolute; top: -11px; left: 50%; width: 76px; height: 24px; margin-left: -38px; background: rgba(255, 194, 61, .6); transform: rotate(-4deg); }
.pol:nth-child(even)::before { background: rgba(0, 194, 168, .45); transform: rotate(3deg); }
.pol:nth-child(3n)::before { background: rgba(255, 61, 127, .4); }
.pol img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.pol figcaption { padding: 6px 0 10px; text-align: center; font-family: "Caveat", "Baloo 2", cursive; font-weight: 700; font-size: 1.55rem; line-height: 1.1; color: var(--ink); }
.pol:hover { transform: rotate(0) translateY(-10px) scale(1.08); box-shadow: 0 28px 40px -18px rgba(30, 21, 55, .55); z-index: 2; }
@media (max-width: 600px) { .pol { width: 150px; } .pol figcaption { font-size: 1.25rem; } .pol-strip { margin-top: 50px; } }

/* =========================================================
   GALLERY FILTERS / LOAD MORE
   ========================================================= */
.g-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px 0 36px; }
.g-filter { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px 10px 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 800; font-size: .95rem; color: var(--ink); cursor: pointer; white-space: nowrap; transition: transform .4s var(--bounce), background .3s, color .3s, box-shadow .3s; }
.g-filter span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(123, 47, 247, .1); color: var(--purple); font-size: .78rem; transition: background .3s, color .3s; }
.g-filter:hover { transform: translateY(-3px); }
.g-filter.is-active { color: #fff; background: var(--grad-1); box-shadow: 0 14px 26px -12px rgba(255, 61, 127, .8); }
.g-filter.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }
.g-item[hidden], .g-more-wrap[hidden] { display: none; }
.g-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; font-weight: 800; font-size: .95rem; line-height: 1.3; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-pop { animation: gPop .75s var(--bounce) both; animation-delay: var(--gd, 0ms); }
@keyframes gPop { from { opacity: 0; transform: translateY(40px) scale(.8) rotate(-3deg); } }
.g-more-wrap { text-align: center; margin-top: 26px; }
html:not(.js) .g-filters, html:not(.js) .g-more-wrap { display: none; }
.lb-cap { position: absolute; left: 80px; right: 80px; bottom: 58px; text-align: center; color: #fff; font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
@media (max-width: 600px) {
  .g-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -18px -20px 28px; padding: 6px 20px 12px; scrollbar-width: none; }
  .g-filters::-webkit-scrollbar { display: none; }
  .lb-cap { left: 16px; right: 16px; bottom: 90px; font-size: 1.05rem; }
}

/* =========================================================
   CTA FACES
   ========================================================= */
.cta-faces { display: flex; align-items: center; margin-bottom: 14px; }
.cta-faces img, .cta-faces span { width: 56px; height: 56px; margin-left: -14px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .4); animation: bob 3s ease-in-out infinite; }
.cta-faces img:first-child { margin-left: 0; }
.cta-faces img:nth-child(2) { animation-delay: -.8s; } .cta-faces img:nth-child(3) { animation-delay: -1.6s; }
.cta-faces span { display: grid; place-items: center; background: var(--gold); color: var(--pink); font-size: 1.5rem; animation-delay: -2.2s; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .wi, .js .reveal-clip, .js .reveal-clip img, .js .hs, .js .y-dot, .g-pop { opacity: 1 !important; transform: none !important; scale: 1 !important; clip-path: none !important; }
  .ribbon-track, .pol-track { animation: none !important; }
  .pol-strip { overflow-x: auto; }
}
