/* Public website of Vigyan International Junior College — the ERP's green. */
:root {
  --green: #0f7b2e; --green-d: #0a5c22; --green-l: #e8f3eb; --gold: #e0a800;
  --ink: #1a2433; --muted: #5d6b7a; --line: #dde3e8; --bg: #ffffff; --alt: #f5f8f6; --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e8edf2; --muted: #a7b3bf; --line: #2c3743; --bg: #10161c; --alt: #151d24; --card: #1a232c; --green-l: #173524; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.25; }
.muted { color: var(--muted); }
/* Not filled in yet (the administrator adds it in the ERP: Admin → College Website). */
.ph { color: var(--muted); font-style: italic; border-left: 3px solid var(--gold); padding-left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 8px 16px;
  background: var(--card); border-bottom: 3px solid var(--green); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand > span { min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.brand b { display: block; font-size: 18px; letter-spacing: .3px; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { color: var(--ink); font-size: 13px; font-weight: 600; }
@media (max-width: 1180px) { .brand { flex: 1; } .brand b { font-size: 15px; white-space: normal; } }
.nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-size: 14px; padding: 6px 10px; border-radius: 6px; }
.nav a:hover { background: var(--green-l); color: var(--green); }
/* Login dropdown (Admin login, Staff login, Staff app). */
.login-menu { position: relative; }
.nav-login { background: var(--green); color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-login:hover { background: var(--green-d); }
.login-drop { display: none; position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 6px; z-index: 30; }
.login-menu.open .login-drop { display: block; }
.nav .login-drop a { display: block; padding: 8px 10px; border-radius: 8px; }
.login-drop b { display: block; color: var(--green); font-size: 14px; }
.login-drop small { color: var(--muted); font-size: 12px; }
.menu-btn { display: none; margin-left: auto; font-size: 22px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; color: var(--ink); }
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--card); padding: 8px 16px 14px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 10px; }
  .nav-login { width: 100%; text-align: left; padding: 10px; margin-top: 4px; }
  .login-drop { position: static; box-shadow: none; margin-top: 6px; }
}

/* 01 Home */
.hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--green-d); }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(135deg, #0f7b2e, #0a3d17) center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.hero-video.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: end;
  max-width: none; margin: 0; width: 100%; padding: 32px clamp(16px, 3vw, 40px) 36px clamp(16px, 6vw, 110px); }
.hero-inner .hero-text { padding: 0; margin: 0; max-width: none; }
/* The short enquiry card beside the video. */
.hero-enquiry { color: var(--ink); background: var(--card); border: 0; border-top: 5px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.3); padding: 18px; }
.hero-enquiry h3 { margin: 0 0 2px; color: var(--green); }
.hero-enquiry p.muted { margin: 0 0 10px; font-size: 14px; }
.hero-enquiry label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.hero-enquiry input, .hero-enquiry select { display: block; width: 100%; margin-top: 3px; padding: 8px 10px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.hero-enquiry .btn { width: 100%; margin-top: 4px; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero { align-items: stretch; } .hero-inner { align-self: end; } }
.hero-text { z-index: 1; }
.video-box { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: grid; place-items: center; z-index: 60; padding: 16px; }
.video-box video { width: min(960px, 100%); max-height: 86vh; border-radius: 10px; background: #000; }
.video-box .close { position: absolute; top: 12px; right: 16px; font-size: 30px; color: #fff; background: none; border: 0; cursor: pointer; }
.hero-text { position: relative; padding: 32px 16px 36px; max-width: 1100px; margin: 0 auto; width: 100%; }
/* The college name and address, highlighted on a panel over the photo. */
.hero-name { display: inline-block; background: rgba(10, 60, 25, .78); border-left: 6px solid var(--gold); border-radius: 10px; padding: 14px 20px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.hero h1 { margin: 0; font-size: clamp(24px, 4.4vw, 46px); letter-spacing: .6px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-place { margin: 6px 0 0; font-size: clamp(16px, 2vw, 21px); font-weight: 700; color: #ffe08a; }
.hero-patron { margin: 6px 0 0; font-style: italic; opacity: .95; }
.hero-welcome { max-width: 760px; margin: 12px 0 0; font-size: 17px; }
.hero .ph { color: #f3f3f3; border-color: var(--gold); }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 9px; padding: 10px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-d); }
.btn.ghost { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.7); }
.strip { overflow: hidden; background: var(--alt); padding: 10px 0; }
.strip-track { display: flex; gap: 10px; width: max-content; animation: slide 60s linear infinite; }
.strip-track img { height: 120px; width: auto; border-radius: 8px; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* Sections */
.wrap { max-width: 1100px; margin: 0 auto; padding: 44px 16px; }
.wrap.alt { max-width: none; background: var(--alt); }
.wrap.alt > * { max-width: 1068px; margin-left: auto; margin-right: auto; }
.sec-title { font-size: 28px; margin: 0 0 18px; color: var(--green); }
.sec-title span { display: none; }
.sec-title-old { display: inline-block; font-size: 14px; background: var(--green); color: #fff; border-radius: 6px; padding: 2px 8px; vertical-align: middle; margin-right: 6px; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.card h3 { margin: 0 0 6px; color: var(--green); }
.card img.cover { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick a { text-decoration: none; border: 1px solid var(--green); border-radius: 20px; padding: 5px 14px; font-size: 14px; }
.principal { text-align: center; }
.principal-photo img, .principal-photo .noimg { width: 140px; height: 160px; object-fit: cover; border-radius: 10px; margin: 0 auto 10px; }
.noimg { background: var(--green-l); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.principal p { text-align: left; }
.sign { font-weight: 700; text-align: right !important; }

/* Enquiry form */
.enquiry { margin-top: 20px; max-width: 760px; }
.enquiry label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.enquiry input, .enquiry select, .enquiry textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 10px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: #b3261e; }

/* Gallery, notices, faculty */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gallery img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: grid; place-items: center; z-index: 50; cursor: zoom-out; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 8px; }
.notice { border-left: 4px solid var(--green); background: var(--card); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.notice .date { font-size: 13px; color: var(--muted); }
.notice b { display: block; }
.downloads a { display: block; padding: 10px 12px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.faculty { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.person { text-align: center; }
.person img, .person .noimg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; }
.person b { display: block; }
.dept { grid-column: 1 / -1; margin: 10px 0 0; color: var(--green); font-size: 17px; }
.contact-card p { margin: 0 0 10px; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: 12px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 16px; background: var(--green-d); color: #e9f3ec; font-size: 14px; }
.foot .muted { color: #c2d9c9; }

/* CBT Centre */
.cbt-head { border-left: 5px solid var(--green); margin-bottom: 14px; }
.cbt-head > b { display: block; font-size: 19px; color: var(--green); margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips span { background: var(--green-l); color: var(--green); border: 1px solid var(--green); border-radius: 20px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Two addresses and the social links (Facebook, Instagram, Twitter). */
.addr { margin: 0 0 12px; }
.addr .maplink { display: inline-block; margin-top: 2px; font-size: 14px; }
.social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; }
.soc { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; }
.soc svg { width: 20px; height: 20px; }
.soc-facebook { background: #1877f2; } .soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); } .soc-twitter { background: #000; }
.soc:hover { filter: brightness(1.1); transform: translateY(-1px); }
.foot-social .social { margin: 0; }

/* Latest news ticker (under the top bar). */
.ticker { display: flex; align-items: center; background: #fff8e1; border-bottom: 1px solid #f0d98a; overflow: hidden; font-size: 14px; }
.ticker[hidden] { display: none; }
.ticker-label { flex: none; background: var(--gold); color: #3a2a00; font-weight: 800; padding: 7px 14px; text-transform: uppercase; letter-spacing: .5px; font-size: 12px; }
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track { display: flex; width: max-content; padding: 7px 0; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { color: #3a2a00; text-decoration: none; white-space: nowrap; padding: 0 24px; }
.tick:hover { text-decoration: underline; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* "Remove animations" on a phone: the news still moves (it is the only way to read it all), just slower. */
@media (prefers-reduced-motion: reduce) { .ticker-track { animation-duration: 90s !important; } }
@media (prefers-color-scheme: dark) { .ticker { background: #2b2410; border-color: #4d3f12; } .tick { color: #f5e2a6; } }

/* Our toppers. */
.toppers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.topper { text-align: center; border-top: 4px solid var(--gold); }
.topper img, .topper .noimg { width: 110px; height: 130px; object-fit: cover; border-radius: 10px; margin: 0 auto 8px; }
.topper b { display: block; }
.topper .pct { font-size: 24px; font-weight: 800; color: var(--green); }

/* Hostel & Transport photos, testimonials. */
.gallery.small { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-top: 10px; }
.gallery.small img { height: 110px; }
.quotes .quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; border-left: 4px solid var(--green); }
.quote blockquote { margin: 0 0 12px; font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: 10px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote small { display: block; color: var(--muted); }

/* Two maps side by side (stacked on phones). */
.contact-card { max-width: 760px; margin-bottom: 18px; }
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.maps.one { grid-template-columns: 1fr; }
.maps .map { margin: 0; }
.maps figcaption { font-weight: 700; color: var(--green); margin-bottom: 6px; }
@media (max-width: 760px) { .maps { grid-template-columns: 1fr; } }

/* WhatsApp chat button. */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff;
  text-decoration: none; font-weight: 700; padding: 10px 16px 10px 12px; border-radius: 30px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float[hidden] { display: none; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #1ebe5b; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 12px; border-radius: 50%; } }

/* Highlights: the text lines up straight on both sides (justified), and the cards in a row are the same height. */
.highlight { display: flex; flex-direction: column; }
.highlight p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; margin-bottom: 0; }

/* All written content lines up straight on both sides (justified). Short lines — names, dates,
   addresses, buttons — stay as they are. */
main p:not(.sign):not(.form-msg), main li, .cards .card p, .cards .card > div:not(.pct),
.notice > div:not(.date), .quote blockquote {
  text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto;
}
/* Cards laid out in the middle (faculty, toppers) keep their centred names. */
main .person, main .person *, main .topper, main .topper * { text-align: center !important; }
/* Courses: wider cards, and the subject list reads left to right (a list of names, not a paragraph,
   so it is not stretched to both edges). */
.cards.courses { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
main .cards.courses .card p, main .cards.courses .card li { text-align: left; hyphens: manual; }
.cards.courses .subjects { margin: 6px 0 10px; padding-left: 20px; }
.cards.courses .subjects li { margin: 2px 0; }
@media (max-width: 420px) { .cards.courses { grid-template-columns: 1fr; } }
/* Written text: each line / paragraph is its own block, so long ones are justified to both edges. */
[data-text] .line { display: block; }
[data-text] .gap { display: block; height: .8em; }
/* Live bus location buttons (WheelsEye links). */
.bus-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.bus-links[hidden] { display: none; }
.bus-links .bus-track { font-size: 14px; padding: 8px 14px; }

/* ===================================================================================================
   Design 2026 — elegant look: serif headings, ivory and deep green with gold, a full-screen campus
   banner, glass enquiry card, soft cards that lift, and sections that rise into view.
   =================================================================================================== */
:root {
  --green: #0d6b2c; --green-d: #083d1b; --green-x: #052712; --green-l: #e9f2ec; --gold: #c9a227; --gold-l: #f3e3a6;
  --ink: #17221b; --muted: #5f6b64; --line: #e3e6e1; --bg: #fdfcf8; --alt: #f6f2e8; --card: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --shadow: 0 1px 2px rgba(16,40,24,.06), 0 8px 28px rgba(16,40,24,.08);
  --shadow-h: 0 2px 4px rgba(16,40,24,.08), 0 18px 44px rgba(16,40,24,.16);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #ecefe9; --muted: #a9b3ab; --line: #26302a; --bg: #0d1310; --alt: #121a15; --card: #18211b; --green-l: #173524; --green: #3fae64; }
}
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand b { font-family: var(--serif); font-weight: 700; letter-spacing: .2px; }
h3 { font-size: 1.35em; }

/* Top bar: clear over the banner, solid (frosted) after scrolling. */
.top { position: fixed; left: 0; right: 0; background: transparent; border-bottom: 1px solid transparent; box-shadow: none;
  padding: 12px clamp(16px, 3vw, 40px); transition: background .35s, box-shadow .35s, padding .35s, border-color .35s; }
.top .brand b { color: #fff; font-size: 22px; letter-spacing: .6px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.top .brand small { color: var(--gold-l); letter-spacing: 1.5px; text-transform: uppercase; font-size: 11px; }
.top .brand img { border: 2px solid rgba(255,255,255,.85); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.top .nav a { color: #fff; font-weight: 500; letter-spacing: .2px; }
.top .nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.top .nav-login { background: transparent; border: 1px solid var(--gold); color: var(--gold-l); border-radius: 30px; padding: 6px 16px; }
.top .nav-login:hover { background: var(--gold); color: var(--green-x); }
.top .menu-btn { color: #fff; border-color: rgba(255,255,255,.6); }
.top.scrolled { background: rgba(253,252,248,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16,40,24,.08); padding-top: 6px; padding-bottom: 6px; }
.top.scrolled .brand b { color: var(--green); text-shadow: none; }
.top.scrolled .brand small { color: var(--muted); }
.top.scrolled .brand img { border-color: var(--line); box-shadow: none; }
.top.scrolled .nav a { color: var(--ink); }
.top.scrolled .nav a:hover { background: var(--green-l); color: var(--green); }
.top.scrolled .nav-login { color: var(--green); border-color: var(--green); }
.top.scrolled .nav-login:hover { background: var(--green); color: #fff; }
.top.scrolled .menu-btn { color: var(--ink); border-color: var(--line); }
.login-drop b { font-family: inherit; }
@media (prefers-color-scheme: dark) { .top.scrolled { background: rgba(13,19,16,.9); } }
@media (max-width: 1180px) {
  .top .nav { background: var(--card); box-shadow: 0 12px 30px rgba(0,0,0,.15); border-radius: 0 0 14px 14px; }
  .top .nav a, .top.scrolled .nav a { color: var(--ink); }
  .top .nav-login { color: var(--green); border-color: var(--green); }
}
/* The news strip sits under the banner's top bar. */
.ticker { position: relative; z-index: 2; background: var(--green-x); border: 0; }
.ticker-label { background: var(--gold); color: var(--green-x); letter-spacing: 1.5px; }
.tick { color: #f5ecd0; }
@media (prefers-color-scheme: dark) { .ticker { background: #04180b; } .tick { color: #f5ecd0; } }
body > .ticker { position: absolute; top: 0; left: 0; right: 0; z-index: 15; margin-top: var(--top-h, 74px); background: rgba(5,39,18,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* The banner: full screen, the campus film (or photo) with a deep cinematic shade. */
.hero { min-height: 100vh; min-height: 100svh; align-items: center; background: var(--green-x); }
.hero::after { background:
  linear-gradient(90deg, rgba(4,26,12,.88) 0%, rgba(4,26,12,.62) 42%, rgba(4,26,12,.18) 75%, rgba(4,26,12,.35) 100%),
  linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 70%, rgba(0,0,0,.45) 100%); }
.hero-photo { transform: scale(1.04); animation: heroZoom 22s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; } }
.hero-inner { padding: 140px clamp(16px, 4vw, 56px) 90px clamp(16px, 7vw, 120px); grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--gold-l); font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; }
.hero-eyebrow span { width: 34px; height: 1px; background: var(--gold); }
.hero-name { display: block; background: none; border: 0; box-shadow: none; padding: 0; }
.hero h1 { font-family: Inter, system-ui, sans-serif; font-size: clamp(13px, 1.3vw, 16px); font-weight: 700; letter-spacing: 4px; color: #fff; text-shadow: none; opacity: .95; }
.hero-place { margin: 4px 0 0; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--gold-l); }
.hero-headline { font-family: var(--serif); font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; font-weight: 600; margin: 22px 0 14px; max-width: 14ch;
  color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); text-align: left !important; hyphens: manual !important; }
.hero-headline .line { display: inline; }
.hero-patron { font-family: var(--serif); font-size: 20px; color: var(--gold-l); opacity: 1; margin: 0; text-align: left !important; }
.hero-welcome { font-size: 17px; color: rgba(255,255,255,.88); max-width: 56ch; margin-top: 14px; }
.hero-actions { margin-top: 30px; gap: 14px; align-items: center; }
.btn { border-radius: 40px; padding: 12px 24px; letter-spacing: .2px; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn.gold { background: linear-gradient(135deg, #e4c35a, var(--gold)); color: var(--green-x); font-weight: 700; box-shadow: 0 10px 30px rgba(201,162,39,.35); }
.btn.gold:hover { background: linear-gradient(135deg, #f0d277, #d4ad31); }
.btn.gold span { display: inline-block; transition: transform .2s; }
.btn.gold:hover span { transform: translateX(4px); }
.btn.play { background: transparent; color: #fff; padding-left: 8px; display: inline-flex; align-items: center; gap: 12px; }
.btn.play:hover { box-shadow: none; }
.play-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; padding-left: 3px;
  border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .play-ic { animation: none; } }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.55); }
.hero .btn.ghost:hover { background: rgba(255,255,255,.12); }
/* Glass enquiry card. */
.hero-enquiry { background: rgba(255,255,255,.93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.6);
  border-top: 0; border-radius: 20px; padding: 26px 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; overflow: hidden; }
.hero-enquiry::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), #e8cf7a, var(--gold)); }
.hero-enquiry h3 { font-size: 26px; }
.hero-enquiry input, .hero-enquiry select { border-radius: 10px; padding: 10px 12px; }
.hero-enquiry input:focus, .hero-enquiry select:focus, .enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
@media (prefers-color-scheme: dark) { .hero-enquiry { background: rgba(24,33,27,.92); border-color: rgba(255,255,255,.08); } }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 120px 18px 40px; grid-template-columns: 1fr; }
  .hero-headline { max-width: none; }
  .scroll-cue { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(4,26,12,.55) 0%, rgba(4,26,12,.78) 55%, rgba(4,26,12,.92) 100%); }
}

/* The moving photo strip. */
.strip { background: var(--green-x); padding: 14px 0; }
.strip-track img { height: 150px; border-radius: 12px; }

/* Sections: generous space, a gold rule under each title. */
.wrap { padding: clamp(56px, 8vw, 96px) 18px; max-width: 1180px; }
.wrap.alt > * { max-width: 1144px; }
.sec-title { font-size: clamp(34px, 4vw, 48px); color: var(--green-d); margin-bottom: 34px; position: relative; padding-bottom: 14px; }
.sec-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), #e8cf7a); }
@media (prefers-color-scheme: dark) { .sec-title { color: #e9f2ec; } }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.cards .card:hover, .faculty .card:hover, .toppers .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.card h3 { color: var(--green-d); font-size: 1.5em; }
@media (prefers-color-scheme: dark) { .card h3 { color: #cfe8d7; } }
.card img.cover { height: 190px; border-radius: 12px; }
/* Highlights: a gold mark on each card. */
.highlight { position: relative; padding-top: 30px; }
.highlight::before { content: ""; position: absolute; top: 0; left: 24px; width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }
/* Courses: a deep-green heading band. */
.cards.courses .card { padding: 0; overflow: hidden; }
.cards.courses .card > h3 { margin: 0; padding: 20px 24px; background: linear-gradient(135deg, var(--green), var(--green-d)); color: #fff; font-size: 1.7em; }
.cards.courses .card > :not(h3) { margin-left: 24px; margin-right: 24px; }
.cards.courses .card > :last-child { margin-bottom: 22px; }
.cards.courses .card > p:first-of-type, .cards.courses .card > ul { margin-top: 16px; }
/* Toppers: a medal look. */
.topper { border-top: 0; background: linear-gradient(180deg, var(--card) 0%, var(--card) 70%, #fbf5e3 100%); }
.topper img, .topper .noimg { border-radius: 50%; width: 120px; height: 120px; border: 4px solid var(--gold); box-shadow: 0 6px 18px rgba(201,162,39,.35); }
.topper .pct { font-family: var(--serif); font-size: 34px; color: var(--green-d); }
@media (prefers-color-scheme: dark) { .topper { background: var(--card); } .topper .pct { color: var(--gold-l); } }
/* Secretary's message. */
.principal { border-radius: 20px; background: linear-gradient(180deg, var(--card), var(--card)); }
.principal-photo img, .principal-photo .noimg { border-radius: 50%; width: 150px; height: 150px; border: 4px solid var(--gold); }
.sign { font-family: var(--serif); font-size: 1.25em; }
/* Quotes. */
.quotes .quote { border-left: 0; position: relative; padding-top: 44px; }
.quotes .quote::before { content: "“"; position: absolute; top: -6px; left: 20px; font-family: var(--serif); font-size: 90px; line-height: 1; color: var(--gold); }
.quote blockquote { font-family: var(--serif); font-size: 1.25em; font-style: italic; }
/* Gallery photos zoom softly. */
.gallery img { border-radius: 14px; transition: transform .4s, filter .4s; }
.gallery figure, .gallery > img { overflow: hidden; border-radius: 14px; }
.gallery img:hover { transform: scale(1.04); filter: saturate(1.1); }
.notice { border-left: 3px solid var(--gold); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; }
.downloads a { border-radius: 12px; box-shadow: var(--shadow); }
.chips span { border-radius: 30px; background: var(--card); border-color: var(--gold); color: var(--green-d); }
.enquiry { background: var(--card); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.enquiry::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), #e8cf7a, var(--gold)); }
.enquiry input, .enquiry select, .enquiry textarea { border-radius: 10px; }
.map iframe { border-radius: 18px; box-shadow: var(--shadow); }
/* Footer. */
.foot { background: var(--green-x); border-top: 3px solid var(--gold); padding: 34px clamp(16px, 4vw, 56px); }
.foot b { font-family: var(--serif); font-size: 22px; color: #fff; }
/* Sections rise gently into view. */
.reveal-on main > section:not(.hero):not(.strip) { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal-on main > section:not(.hero):not(.strip).in { opacity: 1; transform: none; }
@media print { .reveal-on main > section { opacity: 1 !important; transform: none !important; } }
/* Top bar fits on one line: the name on two short lines, the menu without wrapping. */
.top .brand b { white-space: normal; max-width: 270px; font-size: 19px; line-height: 1.1; overflow: visible; }
.top .nav { flex-wrap: nowrap; align-items: center; }
.top .nav a { padding: 6px 9px; font-size: 14px; white-space: nowrap; }
.hero-inner { padding-top: calc(var(--top-h, 74px) + 80px); }
@media (max-width: 900px) { .hero-inner { padding-top: calc(var(--top-h, 74px) + 64px); } }
@media (max-width: 600px) {
  .top .brand b { font-size: 15px; max-width: 220px; }
  .top .brand img { width: 40px; height: 40px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 1.8px; }
  .hero h1 { letter-spacing: 2.5px; }
}
.hero-eyebrow, .hero-place { text-align: left !important; }
.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cards.courses { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
@media (max-width: 420px) { .cards, .cards.courses { grid-template-columns: 1fr; } }
/* The college name and address stand out on the banner: a frosted panel with a gold edge. */
.hero-eyebrow[hidden] { display: none; }
.hero-name { display: inline-block; background: rgba(4,26,12,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14); border-left: 5px solid var(--gold); border-radius: 16px; padding: 20px 26px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: 1.5px; color: #fff; opacity: 1; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-place { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 5px 14px; border-radius: 30px;
  background: linear-gradient(135deg, #e4c35a, var(--gold)); color: var(--green-x); font-size: clamp(14px, 1.4vw, 17px); font-weight: 700; letter-spacing: .4px; }
.hero-headline { font-size: clamp(26px, 3.2vw, 44px); font-style: italic; font-weight: 500; max-width: 24ch; margin: 22px 0 10px; color: #f6efd9; }
.btn.gold b { font-weight: 700; }
@media (max-width: 600px) { .hero-name { padding: 16px 18px; display: block; } .hero h1 { letter-spacing: .6px; } }
/* Online admission form. */
.apply { margin-top: 26px; max-width: 900px; }
.apply[hidden] { display: none; }
.apply fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 6px; margin: 0 0 14px; }
.apply legend { font-family: var(--serif); font-weight: 700; font-size: 1.2em; color: var(--green-d); padding: 0 6px; }
.apply .agree { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 4px 0 12px; }
.apply .agree input { width: auto; margin: 0; }
@media (prefers-color-scheme: dark) { .apply legend { color: #cfe8d7; } }
/* Parent corner. */
.parent-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; max-width: 820px; }
.parent-form label { font-size: 14px; font-weight: 600; }
.parent-form input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.parent-form .form-msg { grid-column: 1 / -1; margin: 0; }
@media (max-width: 700px) { .parent-form { grid-template-columns: 1fr; } }
.parent-view { margin-top: 20px; display: grid; gap: 16px; }
.parent-view .who h3 { margin: 0; }
.parent-view .who p { margin: 2px 0 0; }
.pc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat small { display: block; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; }
.stat b { display: block; font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--green-d); }
.stat.due b { color: #b3261e; }
@media (prefers-color-scheme: dark) { .stat b { color: var(--gold-l); } }
.pc-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.result table { width: 100%; border-collapse: collapse; font-size: 15px; }
.result td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.result td.num { text-align: right; white-space: nowrap; }
.result tr.tot td { font-weight: 700; border-bottom: 0; }

/* Parts only Vigyan International Junior College has (CBT centre, campus film, +2 admission form). */
body.not-plustwo [data-only-plustwo] { display: none !important; }
