/* =====================================================================
   NEW CAMBRIDGE ACADEMY - Public Website
   Navy + Gold, animated
   ===================================================================== */
:root {
    --navy: #14215b; --navy-2: #1d2e7a; --navy-3: #0b1238;
    --gold: #f6c21c; --gold-2: #ffd84d; --gold-soft: #fff6d6;
    --purple: #6a2c91; --orange: #f39a2b; --green: #16a34a; --red: #dc2626;
    --text: #1f2937; --muted: #6b7280; --bg: #f6f7fb; --border: #e5e8f0;
    --radius: 18px; --shadow: 0 10px 30px rgba(20,33,91,.10); --shadow-lg: 0 25px 60px rgba(20,33,91,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 100% - 32px); margin: 0 auto; }
.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: 14.5px; border: 2px solid transparent;
       cursor: pointer; transition: all .3s; font-family: inherit; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 25px rgba(246,194,28,.35); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(246,194,28,.45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(20,33,91,.3); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-wa { background: #25d366; color: #fff; }

/* ---------- Top bar + Nav ---------- */
.topline { background: var(--navy-3); color: #cfd6f3; font-size: 12.5px; }
.topline .container { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 12px; flex-wrap: wrap; }
.topline a:hover { color: var(--gold); }
.topline .soc { display: flex; gap: 14px; }
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); transition: box-shadow .3s, background .3s; }
.nav.scrolled { box-shadow: 0 6px 24px rgba(20,33,91,.10); }
.nav .container { display: flex; align-items: center; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: 54px; transition: transform .6s; }
.brand:hover img { transform: rotate(360deg); }
.brand b { display: block; font-size: 17px; color: var(--navy); line-height: 1.15; font-weight: 700; }
.brand small { font-size: 11px; color: var(--orange); letter-spacing: .5px; text-transform: uppercase; font-weight: 600; }
.menu { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.menu a { padding: 9px 14px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: 30px; position: relative; transition: color .2s; }
.menu a::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; background: var(--gold); transition: all .3s; transform: translateX(-50%); }
.menu a:hover, .menu a.active { color: var(--navy); }
.menu a:hover::after, .menu a.active::after { width: 40%; }
.menu .btn { margin-left: 8px; }
.menu .btn::after { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; font-size: 18px; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(125deg, var(--navy-3) 0%, var(--navy) 45%, var(--navy-2) 70%, var(--purple) 100%); color: #fff; overflow: hidden; padding: 90px 0 130px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 25%, rgba(246,194,28,.18), transparent 40%), radial-gradient(circle at 85% 80%, rgba(243,154,43,.18), transparent 40%); }
.hero .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 7px 16px; border-radius: 50px; font-size: 13px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(246,194,28,.7); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(246,194,28,.7) } 80%,100% { box-shadow: 0 0 0 12px rgba(246,194,28,0) } }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.12; margin: 22px 0 18px; font-weight: 700; }
.hero h1 .gold { color: var(--gold); }
.typed { display: inline-block; color: var(--gold); border-right: 3px solid var(--gold); padding-right: 4px; animation: caret .8s steps(1) infinite; min-height: 1.1em; }
@keyframes caret { 50% { border-color: transparent } }
.hero p.lead { font-size: 17px; color: #d6dcf5; max-width: 560px; }
.hero .cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; font-size: 13px; color: #c7cff0; }
.hero .trust i { color: var(--gold); margin-right: 6px; }

/* Orbit logo (logo jaisa atom) */
.orbit-wrap { position: relative; width: min(420px, 85vw); aspect-ratio: 1; margin: 0 auto; }
.orbit-wrap .core { position: absolute; inset: 22%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 0 80px rgba(246,194,28,.35); display: flex; align-items: center; justify-content: center; animation: float 6s ease-in-out infinite; z-index: 2; }
.orbit-wrap .core img { width: 92%; }
.ring { position: absolute; inset: 0; border: 2px solid rgba(246,194,28,.35); border-radius: 50%; animation: spin 18s linear infinite; }
.ring.r2 { inset: 8%; border-color: rgba(255,255,255,.18); border-style: dashed; animation-duration: 26s; animation-direction: reverse; }
.ring.r3 { inset: -8%; transform: rotateX(70deg); border-color: rgba(243,154,43,.35); }
.ring .el { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange); top: -9px; left: calc(50% - 9px); }
.ring.r2 .el { background: var(--gold); box-shadow: 0 0 18px var(--gold); top: auto; bottom: -9px; }
.float-card { position: absolute; background: #fff; color: var(--navy); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 12.5px; z-index: 3; animation: float 5s ease-in-out infinite; }
.float-card i { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.float-card b { display: block; font-size: 14px; }
.fc1 { top: 6%; left: -6%; } .fc1 i { background: #f0e6f7; color: var(--purple); }
.fc2 { bottom: 12%; right: -8%; animation-delay: 1.5s; } .fc2 i { background: #dbeafe; color: #2563eb; }
.fc3 { bottom: -2%; left: 4%; animation-delay: 3s; } .fc3 i { background: #fdeedb; color: var(--orange); }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 90px; }

/* ---------- Stats ---------- */
.stats { margin-top: -70px; position: relative; z-index: 5; }
.stats .box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 10px; }
.stat { text-align: center; padding: 6px 12px; border-right: 1px dashed var(--border); }
.stat:last-child { border-right: 0; }
.stat i { font-size: 26px; color: var(--orange); margin-bottom: 6px; }
.stat b { display: block; font-size: 34px; color: var(--navy); font-weight: 700; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.sec-head .tag { display: inline-block; color: var(--orange); font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.sec-head .tag::before, .sec-head .tag::after { content: '—'; margin: 0 8px; color: var(--gold); }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--navy); line-height: 1.2; font-weight: 700; }
.sec-head h2 span { color: var(--orange); }
.sec-head p { color: var(--muted); margin-top: 12px; }
.bg-soft { background: var(--bg); }

/* Departments */
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dept { background: #fff; border-radius: var(--radius); padding: 34px 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s; border: 1px solid var(--border); }
.dept::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--c); transform: scaleX(.25); transform-origin: left; transition: transform .5s; }
.dept:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.dept:hover::before { transform: scaleX(1); }
.dept .ic { width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; background: var(--c); margin-bottom: 20px; box-shadow: 0 12px 25px -8px var(--c); transition: transform .5s; }
.dept:hover .ic { transform: rotate(-8deg) scale(1.08); }
.dept h3 { color: var(--navy); font-size: 21px; margin-bottom: 8px; }
.dept p { color: var(--muted); font-size: 14px; }
.dept ul { list-style: none; margin: 16px 0 20px; }
.dept li { font-size: 13.5px; padding: 4px 0; } .dept li i { color: var(--c); margin-right: 8px; }
.dept .more { color: var(--navy); font-weight: 600; font-size: 14px; } .dept .more i { transition: transform .3s; } .dept:hover .more i { transform: translateX(6px); }
.dept .big { position: absolute; right: -20px; bottom: -30px; font-size: 140px; color: var(--c); opacity: .06; }

/* Courses */
.filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filters button { border: 2px solid var(--border); background: #fff; padding: 9px 22px; border-radius: 50px; font: 500 14px 'Poppins', sans-serif; cursor: pointer; color: var(--text); transition: all .25s; }
.filters button:hover { border-color: var(--navy); }
.filters button.on { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.course { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s, opacity .35s; display: flex; flex-direction: column; border: 1px solid var(--border); }
.course:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course.hide { display: none; }
.course .thumb { height: 160px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.course .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.course:hover .thumb img { transform: scale(1.08); }
.course .thumb .ph { font-size: 54px; color: rgba(255,255,255,.9); }
.course .thumb .cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); color: var(--navy); font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.course .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.course h4 { color: var(--navy); font-size: 17px; line-height: 1.35; }
.course .desc { color: var(--muted); font-size: 13px; margin: 8px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course .meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; margin-bottom: 14px; }
.course .meta i { color: var(--orange); margin-right: 4px; }
.course .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border); padding-top: 14px; gap: 10px; }
.course .price b { color: var(--navy); font-size: 19px; } .course .price small { color: var(--muted); font-size: 12px; }

/* Why us */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-visual { position: relative; }
.why-visual .card-big { background: linear-gradient(135deg, var(--navy), var(--purple)); border-radius: 30px; padding: 40px; color: #fff; position: relative; overflow: hidden; min-height: 380px; }
.why-visual .card-big::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(246,194,28,.15); right: -80px; bottom: -80px; }
.why-visual .q { font-size: 22px; line-height: 1.5; font-style: italic; position: relative; z-index: 1; }
.why-visual .q i { color: var(--gold); font-size: 34px; display: block; margin-bottom: 14px; }
.why-visual .badge-exp { position: absolute; right: -10px; top: -20px; background: var(--gold); color: var(--navy); border-radius: 20px; padding: 18px 22px; text-align: center; box-shadow: var(--shadow-lg); z-index: 2; animation: float 5s infinite; }
.why-visual .badge-exp b { font-size: 34px; display: block; line-height: 1; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.feat div { display: flex; gap: 14px; }
.feat i { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--gold-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 19px; transition: all .3s; }
.feat div:hover i { background: var(--navy); color: var(--gold); transform: rotate(-10deg); }
.feat h5 { font-size: 15px; color: var(--navy); } .feat p { font-size: 13px; color: var(--muted); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { text-align: center; padding: 20px; position: relative; }
.step .n { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; background: #fff; border: 3px dashed var(--gold); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--navy); position: relative; transition: all .4s; }
.step:hover .n { background: var(--navy); color: var(--gold); border-style: solid; transform: scale(1.08); }
.step .n::after { counter-increment: s; content: counter(s); position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h5 { color: var(--navy); font-size: 16px; } .step p { font-size: 13px; color: var(--muted); }

/* News */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .3s; }
.news-card:hover { transform: translateY(-6px); }
.news-card img { height: 180px; width: 100%; object-fit: cover; }
.news-card .b { padding: 20px; }
.news-card .d { font-size: 12px; color: var(--orange); font-weight: 600; }
.news-card h4 { color: var(--navy); margin: 6px 0; font-size: 17px; }
.news-card p { color: var(--muted); font-size: 13.5px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery a { border-radius: 14px; overflow: hidden; position: relative; }
.gallery a:nth-child(5n+1) { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; background: rgba(20,33,91,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; opacity: 0; transition: opacity .3s; }
.gallery a:hover img { transform: scale(1.1); } .gallery a:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(5,10,30,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 85vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* Testimonials */
.testi-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .7s cubic-bezier(.65,0,.35,1); }
.testi { min-width: 100%; text-align: center; padding: 10px 30px; }
.testi .stars { color: var(--gold); margin-bottom: 14px; }
.testi blockquote { font-size: 19px; color: var(--navy); line-height: 1.7; font-style: italic; }
.testi .who { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi .who img, .testi .who .av { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testi .who b { color: var(--navy); display: block; text-align: left; } .testi .who small { color: var(--muted); display: block; text-align: left; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: #cdd3e6; cursor: pointer; transition: all .3s; }
.dots button.on { width: 30px; background: var(--navy); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--gold)); border-radius: 30px; padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--navy); position: relative; overflow: hidden; flex-wrap: wrap; }
.cta-band::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.18); right: -80px; top: -120px; }
.cta-band h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.25; position: relative; }
.cta-band p { position: relative; }

/* Verify + Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; }
.c-info { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 36px; }
.c-info h3 { font-size: 24px; margin-bottom: 8px; }
.c-info .row { display: flex; gap: 14px; margin-top: 22px; }
.c-info .row i { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.c-info small { color: #b9c2ea; display: block; font-size: 12px; }
.c-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #374151; }
.field label .req { color: var(--red); }
.input { width: 100%; padding: 12px 15px; border: 1.5px solid #d5dae6; border-radius: 12px; font: 14px 'Poppins', sans-serif; transition: border-color .2s, box-shadow .2s; background: #fff; color: var(--text); }
.input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(29,46,122,.1); }
textarea.input { resize: vertical; min-height: 110px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.map { border-radius: var(--radius); overflow: hidden; margin-top: 30px; height: 320px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; }
.verify-box { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); display: flex; gap: 24px; align-items: center; flex-wrap: wrap; border: 1px solid var(--border); }
.verify-box .ic { width: 70px; height: 70px; border-radius: 20px; background: var(--gold-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.verify-box form { display: flex; gap: 10px; flex: 1; min-width: 260px; }

/* Footer */
.footer { background: var(--navy-3); color: #b9c2ea; padding: 70px 0 0; margin-top: 0; position: relative; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h5 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--gold); border-radius: 2px; }
.footer a { display: block; padding: 4px 0; font-size: 14px; transition: color .2s, padding .2s; }
.footer a:hover { color: var(--gold); padding-left: 6px; }
.footer .soc { display: flex; gap: 10px; margin-top: 16px; }
.footer .soc a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; padding: 0; }
.footer .soc a:hover { background: var(--gold); color: var(--navy); padding: 0; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Floating */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 150; box-shadow: 0 10px 25px rgba(37,211,102,.45); animation: ping-g 2s infinite; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6) } 80%,100% { box-shadow: 0 0 0 16px rgba(37,211,102,0) } }
.to-top { position: fixed; right: 30px; bottom: 92px; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); border: 0; cursor: pointer; z-index: 150; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.left { transform: translateX(-50px); } .reveal.right { transform: translateX(50px); } .reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s } .d2 { transition-delay: .2s } .d3 { transition-delay: .3s } .d4 { transition-delay: .4s }

/* Flash */
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.flash-success { background: #dcfce7; color: #166534; } .flash-error { background: #fee2e2; color: #991b1b; } .flash-info { background: #dbeafe; color: #1e40af; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.alert-success { background: #dcfce7; color: #166534; } .alert-error { background: #fee2e2; color: #991b1b; } .alert-info { background: #dbeafe; color: #1e40af; }
.alert-close { margin-left: auto; background: none; border: 0; font-size: 20px; cursor: pointer; color: inherit; }

/* Inner page header */
.page-head { background: linear-gradient(125deg, var(--navy-3), var(--navy) 60%, var(--purple)); color: #fff; padding: 60px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); }
.page-head p { color: #cfd6f3; }
.page-head .crumb { font-size: 13px; color: var(--gold); margin-bottom: 8px; }

/* Admission wizard */
.wizard { max-width: 920px; margin: -40px auto 0; position: relative; z-index: 3; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 34px; }
.wsteps { display: flex; justify-content: space-between; margin-bottom: 32px; position: relative; }
.wsteps::before { content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 3px; background: var(--border); }
.wsteps .bar { position: absolute; top: 22px; left: 8%; height: 3px; background: var(--gold); transition: width .5s; }
.ws { position: relative; z-index: 1; text-align: center; flex: 1; }
.ws i { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; color: var(--muted); transition: all .4s; }
.ws span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ws.on i { border-color: var(--gold); background: var(--navy); color: var(--gold); transform: scale(1.1); }
.ws.done i { border-color: var(--green); background: var(--green); color: #fff; }
.ws.on span { color: var(--navy); }
.wpane { display: none; animation: fadeUp .5s ease; }
.wpane.on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; border-top: 1px dashed var(--border); padding-top: 22px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; max-height: 420px; overflow: auto; padding: 4px; }
.choice { border: 2px solid var(--border); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: all .2s; display: flex; gap: 12px; align-items: flex-start; }
.choice input { display: none; }
.choice:hover { border-color: var(--navy-2); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 6px 16px rgba(246,194,28,.25); }
.choice .ci { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.choice:has(input:checked) .ci { background: var(--navy); color: var(--gold); }
.choice b { color: var(--navy); font-size: 14px; display: block; line-height: 1.3; }
.choice small { color: var(--muted); font-size: 12px; }
.pay-box { background: linear-gradient(135deg, #fff6d6, #fff); border: 2px dashed var(--gold); border-radius: 16px; padding: 22px; margin-bottom: 20px; }
.pay-acc { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 14px; margin-top: 12px; border: 1px solid var(--border); }
.pay-acc .logo { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.pay-acc b { font-size: 17px; color: var(--navy); letter-spacing: .5px; }
.copy { margin-left: auto; border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 12px; }
.sum-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sum-table td { padding: 9px 4px; border-bottom: 1px dashed var(--border); }
.sum-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.sum-table tr.tot td { font-size: 17px; border-bottom: 0; color: var(--orange); }
.drop { border: 2px dashed #c7cde0; border-radius: 14px; padding: 24px; text-align: center; cursor: pointer; transition: all .2s; position: relative; }
.drop:hover, .drop.has { border-color: var(--gold); background: var(--gold-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop i { font-size: 30px; color: var(--navy); }
.drop img { max-height: 140px; margin: 10px auto 0; border-radius: 8px; }
.review { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 14px; }
.review div { border-bottom: 1px dashed var(--border); padding: 6px 0; } .review small { color: var(--muted); display: block; font-size: 11.5px; }
.success-box { text-align: center; padding: 20px 0; }
.success-box .ic { width: 96px; height: 96px; border-radius: 50%; background: #dcfce7; color: var(--green); font-size: 46px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; animation: pop .6s ease; }
@keyframes pop { 0% { transform: scale(0) } 70% { transform: scale(1.15) } 100% { transform: scale(1) } }
.refno { display: inline-block; background: var(--navy); color: var(--gold); font-size: 24px; font-weight: 700; letter-spacing: 2px; padding: 10px 26px; border-radius: 14px; margin: 12px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .hero .container, .why, .contact { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 120px; text-align: center; }
    .hero p.lead { margin: 0 auto; } .hero .cta, .hero .trust { justify-content: center; }
    .orbit-wrap { width: min(340px, 80vw); margin-top: 20px; }
    .depts { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .steps { grid-template-columns: 1fr 1fr; }
    .footer .cols { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .burger { display: block; }
    .menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 84vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 22px 22px;
            box-shadow: -10px 0 40px rgba(0,0,0,.15); transform: translateX(100%); transition: transform .35s; margin: 0; gap: 2px; z-index: 120; }
    .menu.open { transform: none; }
    .menu a { padding: 12px 14px; } .menu .btn { margin: 10px 0 0; justify-content: center; }
    .menu-close { position: absolute; top: 20px; right: 20px; }
    .stats .box { grid-template-columns: 1fr 1fr; gap: 18px 0; }
    .stat:nth-child(2) { border-right: 0; }
    .topline .addr { display: none; }
}
@media (max-width: 640px) {
    section { padding: 64px 0; }
    .feat, .grid2, .review { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
    .footer .cols { grid-template-columns: 1fr; }
    .cta-band { padding: 34px 24px; text-align: center; justify-content: center; }
    .wizard { padding: 22px 16px; margin-top: -30px; border-radius: 18px; }
    .ws span { font-size: 10.5px; } .ws i { width: 38px; height: 38px; }
    .wsteps::before, .wsteps .bar { top: 18px; }
    .float-card { display: none; }
    .brand b { font-size: 15px; } .brand img { width: 46px; height: 46px; }
    .nav .container { height: 68px; }
    .c-info, .c-form { padding: 24px; }
    .verify-box form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
