/* ── Tokens ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green:        #4d7034;
  --green-dark:   #3a5427;
  --green-light:  #eef3e9;
  --green-xlight: #f4f8f1;
  --gold:         #b78d49;
  --gold-light:   #faf5ec;
  --black:        #1a1a1a;
  --muted:        #6b7280;
  --muted-light:  #9ca3af;
  --border:       #e5e4e0;
  --bg:           #f8f8f6;
  --white:        #ffffff;
  --radius:       10px;
  --shadow:       0 2px 12px rgba(0,0,0,.07);
  --shadow-md:    0 4px 24px rgba(0,0,0,.09);
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
body { font-family: 'Outfit', system-ui, sans-serif; color: var(--black); background: var(--bg); line-height: 1.6; font-weight: 400; overflow-x: hidden; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { text-wrap: balance; line-height: 1.15; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1 { font-size: 2.75rem; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 600; }
.text-muted { color: var(--muted); font-size: .9rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.section-head { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.section-head > div { flex: 1; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: .975rem; max-width: 520px; margin: 0; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 68px; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo { height: 60px; width: auto; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-name { font-size: 1.1rem; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.nav-brand-sub { font-size: .65rem; color: var(--muted); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .875rem; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: all .15s; }
.nav-links a:hover { color: var(--green); background: var(--green-xlight); }
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  margin-left: 8px;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-drop { position: relative; }
.nav-drop-btn {
  background: none; border: none; color: var(--muted); font-size: .875rem;
  font-weight: 500; padding: 6px 12px; cursor: pointer; border-radius: 6px;
  font-family: 'Outfit', sans-serif; transition: all .15s;
}
.nav-drop-btn:hover { color: var(--green); background: var(--green-xlight); }
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 6px; min-width: 200px;
  box-shadow: var(--shadow-md); z-index: 200;
}
.nav-dropdown a { display: block; color: var(--black); font-size: .875rem; padding: 8px 14px; border-radius: 6px; }
.nav-dropdown a:hover { background: var(--green-xlight); color: var(--green); }
.nav-drop:hover .nav-dropdown { display: block; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--black); cursor: pointer; margin-left: auto; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: .65rem 1.4rem; border-radius: 8px; font-size: .925rem; font-weight: 600; font-family: 'Outfit', sans-serif; cursor: pointer; border: 2px solid transparent; transition: all .15s; text-decoration: none; letter-spacing: -.01em; }
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: #a07a3d; border-color: #a07a3d; color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--border); }
.btn-ghost:hover { border-color: #aaa; }
.btn-white { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-white:hover { background: var(--green-light); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: #333; }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.65); color: var(--white); }
.btn-tint-green { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.btn-tint-green:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-sm { padding: .4rem .9rem; font-size: .825rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; }

/* ── Hero — two column, left = campus image bg ─────────────────────────────── */
.hero { display: grid; grid-template-columns: 1fr 400px; min-height: 580px; }
.hero-left {
  position: relative;
  padding: 80px 56px 72px 40px;
  display: flex; flex-direction: column; justify-content: center;
  background-image: url('/images/campus.png');
  background-size: cover;
  background-position: center;
  background-color: var(--green-dark);
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,18,4,.88) 0%, rgba(6,18,4,.60) 100%);
  z-index: 0;
}
.hero-left > * { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .75rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px; width: fit-content;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-left h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.06; letter-spacing: -.04em; margin-bottom: 20px; color: var(--white); }
.hero-left h1 .accent-light { color: #8ecf6a; }
.hero-sub { font-size: 1rem; line-height: 1.72; color: rgba(255,255,255,.65); margin-bottom: 36px; font-weight: 400; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-right { background: var(--green); display: flex; flex-direction: column; justify-content: center; padding: 48px 36px; gap: 16px; }
.hero-right-label { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.stream-card { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); border-radius: 10px; padding: 22px 22px 18px; transition: background .2s; }
.stream-card:hover { background: rgba(255,255,255,.16); }
.stream-code { font-size: 2.2rem; font-weight: 900; color: var(--white); letter-spacing: -.04em; margin-bottom: 3px; line-height: 1; }
.stream-full { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 14px; font-weight: 400; }
.stream-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.stream-pill { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: .73rem; padding: 4px 11px; border-radius: 20px; font-weight: 500; }
.stream-pill.gold { background: var(--gold); color: var(--white); }

/* ── Stats strip ───────────────────────────────────────────────────────────── */
.stats-strip { background: var(--black); display: flex; }
.stat-item { flex: 1; padding: 28px 32px; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: none; }
.stat-n { font-size: 1.9rem; font-weight: 900; color: var(--gold); letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.stat-l { font-size: .75rem; color: rgba(255,255,255,.4); font-weight: 400; letter-spacing: .02em; }

/* ── Bento feature grid ────────────────────────────────────────────────────── */
.bento-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.bento-head h2 { font-size: 1.8rem; }
.bento-head a { font-size: .875rem; color: var(--green); font-weight: 600; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b-card { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); }
.b-card-wide { grid-column: span 2; display: flex; gap: 24px; align-items: center; }
.b-card-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.b-card-icon.green { background: var(--green-light); }
.b-card-icon.gold  { background: var(--gold-light); }
.b-card-icon.dark  { background: #f0f0f0; }
.b-card h3 { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 6px; letter-spacing: -.01em; }
.b-card p { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.b-card-big-num { font-size: 2.8rem; font-weight: 900; color: var(--green); letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.b-card-num-label { font-size: .78rem; color: var(--muted-light); font-weight: 500; }

/* ── Scholarship dark strip ────────────────────────────────────────────────── */
.schol-strip { background: var(--black); border-radius: 16px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.schol-strip h2 { font-size: 1.7rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; margin-bottom: 8px; text-wrap: balance; }
.schol-strip p { font-size: .9rem; color: rgba(255,255,255,.5); max-width: 400px; line-height: 1.65; }
.schol-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ── News section ──────────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: box-shadow .2s; }
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--green-light); }
.news-card-img-placeholder { aspect-ratio: 16/9; background: var(--green-light); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 2rem; }
.news-card-body { padding: 20px; }
.news-card-body h4 { font-size: .975rem; font-weight: 700; color: var(--black); margin-bottom: 6px; line-height: 1.4; }
.news-card-body h4 a { color: inherit; }
.news-card-body h4 a:hover { color: var(--green); }
.news-card-body time { font-size: .78rem; color: var(--muted-light); }
.news-card-excerpt { font-size: .82rem; color: var(--muted); margin: 4px 0 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Events ────────────────────────────────────────────────────────────────── */
.event-list { display: flex; flex-direction: column; gap: 12px; }
.event-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); border-left: 3px solid var(--green); }
.event-date-box { background: var(--green); color: var(--white); border-radius: 8px; padding: 8px 14px; text-align: center; flex-shrink: 0; min-width: 60px; }
.event-date-day { font-size: 1.4rem; font-weight: 900; line-height: 1; }
.event-date-mon { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.event-info h4 { font-size: .975rem; font-weight: 700; margin-bottom: 4px; }
.event-info p { font-size: .85rem; color: var(--muted); }

/* ── Gallery ───────────────────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.album-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.album-thumb { aspect-ratio: 4/3; background: var(--green-light); position: relative; }
.album-thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-thumb-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--green); opacity: .5; }
.album-count { position: absolute; bottom: 8px; right: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; padding: 3px 10px; border-radius: 20px; }
.album-card-body { padding: 14px 16px; }
.album-card-body h4 { font-size: .925rem; font-weight: 700; margin-bottom: 3px; }
.album-card-body p { font-size: .8rem; color: var(--muted); }

/* ── Faculty ───────────────────────────────────────────────────────────────── */
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.faculty-card { text-align: center; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 28px 20px 22px; }
.faculty-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--green-light); }
.faculty-avatar-placeholder { width: 88px; height: 88px; border-radius: 50%; background: var(--green-light); color: var(--green); font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.faculty-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.faculty-designation { font-size: .8rem; color: var(--green); font-weight: 600; margin-bottom: 2px; }
.faculty-dept { font-size: .78rem; color: var(--muted); }

/* ── Papers ────────────────────────────────────────────────────────────────── */
.papers-grid { display: flex; flex-direction: column; gap: 10px; }
.paper-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.paper-icon { width: 40px; height: 40px; background: var(--gold-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.paper-info { flex: 1; }
.paper-info h4 { font-size: .925rem; font-weight: 700; margin-bottom: 2px; }
.paper-info p { font-size: .78rem; color: var(--muted); }

/* ── Filter form ───────────────────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-bar select, .filter-bar input[type="text"], .filter-bar input[type="number"] {
  padding: .5rem .85rem; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .875rem; font-family: 'Outfit', sans-serif; background: var(--white);
  color: var(--black); transition: border-color .15s;
}
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--green); }

/* ── Results ───────────────────────────────────────────────────────────────── */
.result-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 28px 32px; max-width: 600px; }
.result-card h2 { font-size: 1.4rem; margin-bottom: 4px; }
.result-card .roll { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.marks-table { width: 100%; border-collapse: collapse; }
.marks-table th, .marks-table td { padding: .6rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
.marks-table th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.marks-table tr.total th, .marks-table tr.total td { font-size: 1rem; font-weight: 700; color: var(--green); border-bottom: none; border-top: 2px solid var(--border); padding-top: .9rem; }
.grade-badge { display: inline-block; background: var(--green); color: #fff; font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; }

/* ── Scholarship ───────────────────────────────────────────────────────────── */
.portal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.portal-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 36px 32px; }
.portal-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.portal-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.portal-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.status-badge { display: inline-block; padding: .35rem 1rem; border-radius: 20px; font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.status-pending      { background: #f3f4f6; color: #6b7280; }
.status-under_review { background: #fffbeb; color: #d97706; }
.status-approved     { background: var(--green-light); color: var(--green-dark); }
.status-sanctioned   { background: #eff6ff; color: #1d4ed8; }
.status-rejected     { background: #fef2f2; color: #dc2626; }

/* ── Info/disclosure ───────────────────────────────────────────────────────── */
.info-box { background: var(--green-light); border-left: 3px solid var(--green); border-radius: var(--radius); padding: 20px 24px; }
.info-box h4 { color: var(--green-dark); margin-bottom: 8px; }
.info-box ul { list-style: disc; padding-left: 20px; }
.info-box li { font-size: .9rem; margin-bottom: 6px; color: var(--black); }
.disclosure-table { overflow-x: auto; }
.disclosure-table table { width: 100%; border-collapse: collapse; }
.disclosure-table th, .disclosure-table td { padding: .65rem 1rem; border: 1px solid var(--border); font-size: .9rem; text-align: left; }
.disclosure-table th { background: var(--green-xlight); font-weight: 600; }
.disclosure-table tr:hover td { background: #fafaf8; }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 32px; max-width: 560px; }
.form-card-wide { max-width: 820px; }
.form-group { margin-bottom: 18px; }
.form-group label:not(.checkbox-label) { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .4rem; color: var(--black); }
.form-group input:not(.checkbox-custom),
.form-group select,
.form-group textarea {
  width: 100%; padding: .6rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .9rem; font-family: 'Outfit', sans-serif;
  color: var(--black); background: var(--white);
  transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(77,112,52,.1);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
fieldset { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
fieldset legend { font-weight: 700; padding: 0 8px; color: var(--green); font-size: .9rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; font-size: .9rem; line-height: 1.5; }
.checkbox-label input:not(.checkbox-custom) { margin-top: 3px; flex-shrink: 0; accent-color: var(--green); width: auto; }

/* ── Alerts ────────────────────────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: .9rem; line-height: 1.5; }
.alert-success { background: var(--green-light); color: var(--green-dark); border-left: 3px solid var(--green); }
.alert-error   { background: #fef2f2; color: #b91c1c; border-left: 3px solid #dc2626; }

/* ── Badges ────────────────────────────────────────────────────────────────── */
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.badge-green  { background: var(--green-light); color: var(--green-dark); }
.badge-gold   { background: var(--gold-light); color: #8a6420; }
.badge-muted  { background: #f3f4f6; color: #6b7280; }
.badge-success { background: var(--green-light); color: var(--green-dark); }
.badge-danger { background: #fef2f2; color: #dc2626; }

/* ── Programs page ─────────────────────────────────────────────────────────── */
.program-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 40px 36px; border-top: 4px solid var(--green); }
.program-card .program-code { font-size: 3rem; font-weight: 900; color: var(--green); letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.program-card .program-name { font-size: 1rem; color: var(--gold); font-weight: 600; margin-bottom: 16px; letter-spacing: .01em; }
.program-card p { color: var(--muted); font-size: .925rem; line-height: 1.7; margin-bottom: 24px; }
.subject-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.subject-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.subject-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-info p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }

/* ── Page hero ─────────────────────────────────────────────────────────────── */
.page-hero { background: var(--green); padding: 52px 0; color: var(--white); }
.page-hero h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 8px; }
.page-hero p { font-size: 1rem; opacity: .75; }

/* ── Error pages ───────────────────────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.error-code { font-size: 7rem; font-weight: 900; color: var(--green); letter-spacing: -.05em; line-height: 1; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--black); padding: 56px 0 0; margin-top: 80px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 80px; width: auto; }
.footer-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer-board { font-size: .75rem; color: rgba(255,255,255,.4); max-width: 200px; line-height: 1.4; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,.55); font-size: .85rem; margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .78rem; }
.footer-bottom a { color: rgba(255,255,255,.3); font-size: .78rem; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 56px 24px 60px; }
  .hero-left h1 { font-size: 2.4rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .b-card-wide { grid-column: span 1; flex-direction: column; gap: 12px; }
  .schol-strip { flex-direction: column; gap: 20px; }
  .schol-actions { flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
  .portal-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .hero-left h1 { font-size: 2.4rem; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.08); gap: 2px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-inner { position: relative; }
  .nav-drop-btn { width: 100%; text-align: left; }
  .nav-dropdown { position: static; box-shadow: none; border: none; background: var(--green-xlight); margin-top: 4px; }
  .section { padding: 48px 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.empty-state { text-align: center; color: var(--muted); padding: 48px 0; font-size: 1rem; }
.fact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.bg-light { background: var(--green-xlight); }
.bg-green { background: var(--green); color: var(--white); }
.ml-1 { margin-left: .5rem; }

/* ── Article (news detail) ──────────────────────────────────────────────────── */
.article-layout { max-width: 780px; }
.article-body-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.article-hero-img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.article-content { padding: 32px 36px; font-size: .975rem; line-height: 1.85; color: #333; }
.article-content h2, .article-content h3 { margin: 1.5rem 0 .5rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content img { border-radius: var(--radius); margin: 1rem 0; }

/* ── Empty box ─────────────────────────────────────────────────────────────── */
.empty-box { text-align: center; padding: 64px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.empty-box-icon { font-size: 2.8rem; margin-bottom: 16px; opacity: .6; }
.empty-box h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--black); }
.empty-box p { font-size: .9rem; color: var(--muted); max-width: 340px; margin: 0 auto; }

/* ── Section label (interior heading) ──────────────────────────────────────── */
.section-label { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 16px; }

/* ── Admissions layout ─────────────────────────────────────────────────────── */
.admission-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.elig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.elig-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.elig-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.elig-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.elig-card p { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--white); font-size: .95rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-body h4 { font-size: .975rem; font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.admission-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.side-card h4 { font-size: .975rem; font-weight: 700; margin-bottom: 14px; color: var(--black); }
.side-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.side-card-dark { background: var(--black); border-color: var(--black); }
.side-card-dark h4 { color: var(--white); }
.side-card-dark p { color: rgba(255,255,255,.55); }
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-list li { font-size: .875rem; color: var(--black); display: flex; align-items: flex-start; gap: 8px; }
.doc-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 7px; }

/* ── Contact layout ────────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.cinfo-list { display: flex; flex-direction: column; gap: 0; }
.cinfo-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cinfo-item:last-child { border-bottom: none; }
.cinfo-icon-box { width: 40px; height: 40px; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cinfo-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-light); margin-bottom: 3px; }
.cinfo-value { font-size: .9rem; color: var(--black); font-weight: 500; text-decoration: none; }
a.cinfo-value:hover { color: var(--green); }
.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }

/* ── Responsive additions ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .admission-layout { grid-template-columns: 1fr; }
  .admission-side { order: -1; }
  .elig-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── Required / optional field markers ─────────────────────────────────────── */
.req { color: #e53e3e; font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; font-size: .8em; }

/* ── Footer 4-column variant ────────────────────────────────────────────────── */
.footer-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .footer-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .footer-cols-4 { grid-template-columns: 1fr; } }

/* ── Programs page — tracks ─────────────────────────────────────────────────── */
.program-block { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px; margin-bottom: 32px; }
.program-block-bipc { border-top: 4px solid var(--gold); }
.program-block:not(.program-block-bipc) { border-top: 4px solid var(--green); }
.program-block-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.program-code-lg { font-size: 3.5rem; font-weight: 900; color: var(--green); letter-spacing: -.05em; line-height: 1; }
.program-code-lg.bipc { color: var(--gold); }
.program-name-lg { font-size: .95rem; color: var(--muted); font-weight: 600; margin-top: 4px; letter-spacing: .01em; }
.program-tag { display: inline-flex; align-items: center; background: var(--green-light); color: var(--green-dark); font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; letter-spacing: .03em; white-space: nowrap; }
.program-tag-girls { background: #fff0f3; color: #c0392b; }
.program-intro { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 28px; max-width: 740px; }
.tracks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 900px) { .tracks-grid { grid-template-columns: 1fr; } }
.track-card { background: var(--green-xlight); border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; gap: 0; transition: box-shadow .2s, transform .2s; }
.track-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.track-badge { display: inline-block; background: var(--green); color: var(--white); font-size: .7rem; font-weight: 800; padding: 3px 10px; border-radius: 20px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; width: fit-content; }
.track-badge-bipc { background: var(--gold); }
.track-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--black); margin-bottom: 4px; letter-spacing: -.02em; }
.track-aim { font-size: .8rem; color: var(--green); font-weight: 600; margin-bottom: 14px; }
.track-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; flex: 1; }
.track-list li { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.track-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 6px; }
.track-neet .track-aim, .track-neet-eap .track-aim, .track-inter-bipc .track-aim { color: var(--gold); }
.track-neet .track-list li::before, .track-neet-eap .track-list li::before, .track-inter-bipc .track-list li::before { background: var(--gold); }
.subject-strip { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.subject-chip { background: var(--green-light); color: var(--green-dark); font-size: .78rem; font-weight: 600; padding: 5px 13px; border-radius: 20px; }
.subject-chip.muted { background: #f3f4f6; color: var(--muted); font-weight: 400; }

/* ── Leadership ─────────────────────────────────────────────────────────────── */
.leadership-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.leader-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 32px; display: flex; gap: 24px; align-items: flex-start; transition: box-shadow .2s; }
.leader-card:hover { box-shadow: var(--shadow-md); }
@media (max-width: 600px) { .leader-card { gap: 16px; padding: 20px; } .leader-photo, .leader-photo-placeholder { width: 72px; height: 72px; } }
.leader-photo-wrap { flex-shrink: 0; }
.leader-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green-light); }
.leader-photo-placeholder { width: 100px; height: 100px; border-radius: 50%; background: var(--green-light); color: var(--green); font-size: 1.8rem; font-weight: 900; display: flex; align-items: center; justify-content: center; letter-spacing: -.02em; }
.leader-role { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 4px; }
.leader-name { font-size: 1.2rem; font-weight: 800; color: var(--black); margin-bottom: 4px; letter-spacing: -.02em; }
.leader-designation { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.leader-bio { font-size: .88rem; color: #555; line-height: 1.7; }

/* ── Sister branches ────────────────────────────────────────────────────────── */
.sister-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sister-card { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; text-decoration: none; transition: box-shadow .2s, transform .2s; color: inherit; }
.sister-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit; }
.sister-icon { font-size: 2rem; flex-shrink: 0; }
.sister-logo-wrap { width: 56px; height: 56px; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; flex-shrink: 0; background: var(--white); display: flex; align-items: center; justify-content: center; }
.sister-logo-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sister-logo-placeholder { font-size: 1.5rem; width: 100%; height: 100%; align-items: center; justify-content: center; }
.sister-info { flex: 1; }
.sister-name { font-size: .975rem; font-weight: 800; color: var(--black); margin-bottom: 3px; letter-spacing: -.01em; }
.sister-type { font-size: .8rem; color: var(--green); font-weight: 600; margin-bottom: 4px; }
.sister-loc { font-size: .78rem; color: var(--muted); }
.sister-arrow { font-size: 1.2rem; color: var(--muted-light); flex-shrink: 0; transition: transform .2s; }
.sister-card:hover .sister-arrow { transform: translateX(4px); color: var(--green); }

/* ── Scholarship terms page ─────────────────────────────────────────────────── */
.terms-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .terms-layout { grid-template-columns: 1fr; } .terms-sidebar { order: -1; } }
.terms-section { margin-bottom: 36px; }
.terms-section h2 { font-size: 1.1rem; font-weight: 800; color: var(--black); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-light); }
.terms-section ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.terms-section li { font-size: .9rem; color: #333; line-height: 1.65; }
.terms-section p { font-size: .9rem; color: #333; line-height: 1.65; margin-bottom: 8px; }
.terms-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.terms-table th, .terms-table td { padding: .6rem 1rem; border: 1px solid var(--border); font-size: .88rem; text-align: left; }
.terms-table th { background: var(--green-xlight); font-weight: 700; }
.terms-table tr:nth-child(even) td { background: #fafafa; }
.terms-note { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: 8px; }
.terms-footer-note { background: var(--green-light); border-left: 3px solid var(--green); border-radius: var(--radius); padding: 16px 20px; margin-top: 8px; }
.terms-footer-note p { font-size: .88rem; color: var(--green-dark); margin: 0; }
.terms-cta-box { background: var(--black); border-radius: 12px; padding: 24px; margin-bottom: 16px; }
.terms-cta-box h4 { color: var(--white); margin-bottom: 8px; }
.terms-cta-box p { color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.6; margin-bottom: 16px; }
.terms-quick-links { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.terms-quick-links h5 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.terms-quick-links a { display: block; font-size: .875rem; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.terms-quick-links a:hover { color: var(--green-dark); }

/* ── Scroll-reveal animation system ─────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); transition-delay: var(--delay, 0ms); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ── Page entrance (hero) ────────────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero .container { animation: fadeDown .5s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-left h1  { animation: fadeDown .5s .05s cubic-bezier(.22,.61,.36,1) both; }
.hero-left .hero-sub { animation: fadeDown .5s .12s cubic-bezier(.22,.61,.36,1) both; }
.hero-left .hero-actions { animation: fadeDown .5s .2s cubic-bezier(.22,.61,.36,1) both; }
.hero-right .stream-card:nth-child(2) { animation: fadeDown .45s .1s cubic-bezier(.22,.61,.36,1) both; }
.hero-right .stream-card:nth-child(3) { animation: fadeDown .45s .18s cubic-bezier(.22,.61,.36,1) both; }
.hero-right .stream-card:nth-child(4) { animation: fadeDown .45s .26s cubic-bezier(.22,.61,.36,1) both; }

/* ── Stat counter animation ──────────────────────────────────────────────────── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-item { animation: countUp .5s cubic-bezier(.22,.61,.36,1) both; }
.stat-item:nth-child(1) { animation-delay: .05s; }
.stat-item:nth-child(2) { animation-delay: .12s; }
.stat-item:nth-child(3) { animation-delay: .19s; }
.stat-item:nth-child(4) { animation-delay: .26s; }

/* ── Nav smooth underline hover ──────────────────────────────────────────────── */
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px; height: 2px; background: var(--green); border-radius: 2px; transform: scaleX(0); transition: transform .2s cubic-bezier(.22,.61,.36,1); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* ── Card hover lift (global) ────────────────────────────────────────────────── */
.b-card { transition: box-shadow .25s, transform .25s; }
.b-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.portal-card { transition: box-shadow .25s, transform .25s; }
.portal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card { transition: box-shadow .25s, transform .25s; }
.news-card:hover { transform: translateY(-3px); }
.faculty-card { transition: box-shadow .25s, transform .25s; }
.faculty-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ── Smooth scroll ───────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; overflow-x: hidden; }

/* ── Nav scrolled compact ────────────────────────────────────────────────────── */
.site-nav { transition: box-shadow .3s, background .3s; }
.nav-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.nav-inner { transition: height .25s; }
.nav-scrolled .nav-inner { height: 58px; }

/* ── Scale Stats Strip (item 2) ───────────────────────────────────────────────── */
.scale-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 0; }
.scale-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .scale-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .scale-grid { grid-template-columns: 1fr 1fr; } }
.scale-card { padding: 32px 24px; border-right: 1px solid var(--border); }
.scale-card:last-child { border-right: none; }
@media (max-width: 768px) { .scale-card:nth-child(2) { border-right: none; } .scale-card:nth-child(3) { border-top: 1px solid var(--border); } }
.scale-n { font-size: 2.5rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; margin-bottom: 4px; }
.scale-n.green { color: var(--green); }
.scale-l { font-size: .9rem; font-weight: 600; color: var(--black); }
.scale-sub { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* ── Linear Carousel Achievement Section ─────────────────────────────────────── */
.lc-section { background: #0b1a08; padding: 64px 0 0; }
.lc-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.lc-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.lc-title { font-size: 1.8rem; font-weight: 800; color: var(--white); letter-spacing: -.02em; }

/* Year filter bar */
.lc-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; padding: 0 0 4px; }
.lc-filter { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .78rem; font-weight: 600; padding: 5px 16px; border-radius: 100px; cursor: pointer; transition: all .2s; font-family: inherit; }
.lc-filter:hover { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.lc-filter.active { background: var(--green); border-color: var(--green); color: var(--white); }

.lc-track-wrap { overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 0 0 48px 24px; -webkit-overflow-scrolling: touch; }
.lc-track-wrap.dragging { cursor: grabbing; user-select: none; }
.lc-track-wrap::-webkit-scrollbar { display: none; }
.lc-track { display: flex; gap: 16px; width: max-content; padding-right: 24px; }
.lc-card { position: relative; width: 260px; height: 340px; border-radius: 18px; overflow: hidden; flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .25s, box-shadow .25s; }
.lc-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.lc-card-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lc-card-overlay { position: absolute; inset: 0; }
.lc-card-body { position: relative; z-index: 1; padding: 20px; }
.lc-card-cat { font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.lc-card-rank { font-size: 1.6rem; font-weight: 900; color: var(--white); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; }
.lc-card-name { font-size: .82rem; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.lc-card-highlight { display: inline-block; font-size: .65rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.lc-card-yr { font-size: .62rem; color: rgba(255,255,255,.3); margin-top: 6px; letter-spacing: .06em; }
/* Card colour themes */
.lc-card-jee-main     { background: linear-gradient(160deg, #1a3a8f 0%, #0a1a4a 100%); }
.lc-card-jee-main .lc-card-overlay { background: linear-gradient(to top, rgba(10,26,74,.85) 0%, rgba(10,26,74,.2) 100%); }
.lc-card-jee-advanced { background: linear-gradient(160deg, #4a1a8f 0%, #1a0a4a 100%); }
.lc-card-jee-advanced .lc-card-overlay { background: linear-gradient(to top, rgba(26,10,74,.85) 0%, rgba(26,10,74,.2) 100%); }
.lc-card-neet         { background: linear-gradient(160deg, #7a1a1a 0%, #3a0a0a 100%); }
.lc-card-neet .lc-card-overlay { background: linear-gradient(to top, rgba(58,10,10,.85) 0%, rgba(58,10,10,.2) 100%); }
.lc-card-eapcet       { background: linear-gradient(160deg, #0f4a3a 0%, #052a1a 100%); }
.lc-card-eapcet .lc-card-overlay { background: linear-gradient(to top, rgba(5,42,26,.85) 0%, rgba(5,42,26,.2) 100%); }
.lc-card-board        { background: linear-gradient(160deg, #6b4a10 0%, #3a2a06 100%); }
.lc-card-board .lc-card-overlay { background: linear-gradient(to top, rgba(58,42,6,.85) 0%, rgba(58,42,6,.2) 100%); }
.lc-card-coming       { background: linear-gradient(160deg, #1a3a1a 0%, #0a1a0a 100%); border: 1.5px solid rgba(255,255,255,.08); }
.lc-card-coming .lc-card-overlay { background: linear-gradient(to top, rgba(10,26,10,.85) 0%, rgba(10,26,10,.2) 100%); }
.lc-drag-hint { text-align: center; font-size: .72rem; color: rgba(255,255,255,.2); padding-bottom: 24px; letter-spacing: .06em; }

/* ── Our Journey Timeline — Vertical ──────────────────────────────────────────── */
.tl2-section { background: var(--green-xlight); padding: 64px 0; }
.tl2-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.tl2-sup { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; white-space: nowrap; }

/* Desktop: horizontal scroll */
.tl2-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: 8px; }
.tl2-scroll::-webkit-scrollbar { height: 4px; }
.tl2-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.tl2-track {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-width: max-content;
  position: relative;
  gap: 0;
}
.tl2-track::before {
  content: '';
  position: absolute;
  left: 34px;
  right: 34px;
  top: 34px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.tl2-item {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 190px;
  padding: 0 8px;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.tl2-item:last-child { padding-bottom: 0; }

.tl2-connector { display: none; }

.tl2-node { width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; transition: border-color .25s; }
.tl2-yr { font-size: .72rem; font-weight: 900; color: var(--green-dark); letter-spacing: -.01em; text-align: center; line-height: 1.1; }

.tl2-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px 12px; text-align: center; width: 100%; box-shadow: 0 2px 8px rgba(0,0,0,.04); transition: box-shadow .25s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tl2-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.tl2-num { display: none; }
.tl2-logo { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.tl2-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tl2-logo-abbr { font-size: .6rem; font-weight: 800; color: var(--green); letter-spacing: .04em; text-align: center; line-height: 1.2; }
.tl2-card-text { flex: 1; min-width: 0; text-align: center; }
.tl2-name { font-size: .9rem; font-weight: 700; color: var(--black); line-height: 1.3; margin-bottom: 3px; }
.tl2-loc { font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
.tl2-type { font-size: .7rem; color: var(--muted-light); letter-spacing: .01em; }

/* Current milestone */
.tl2-node-current { background: var(--green); border-color: var(--green); }
.tl2-node-current .tl2-yr { color: var(--white); }
.tl2-card-current { border-color: var(--green); background: #f2f9ee; box-shadow: 0 4px 20px rgba(77,112,52,.14); }
.tl2-now-badge { display: inline-block; background: var(--green); color: var(--white); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; margin-bottom: 4px; }

/* Pulsing ring on current node */
.tl2-ping { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: tl2Ping 2.4s ease-out infinite; }
@keyframes tl2Ping {
  0%   { transform: scale(.7); opacity: .55; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ── Why Greenvaley ───────────────────────────────────────────────────────────── */
.why-section { background: #162d12; }
.why-section .section-head h2 { color: var(--white); }
.why-section .section-head p { color: rgba(255,255,255,.45); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .why-grid { grid-template-columns: 1fr; } }
.why-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 28px 22px; transition: background .25s, transform .25s; }
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.why-icon-green { background: rgba(157,214,122,.15); }
.why-icon-gold  { background: rgba(183,141,73,.15); }
.why-icon-blue  { background: rgba(100,150,255,.12); }
.why-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--white); }
.why-card p { font-size: .87rem; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ── Our Programmes ───────────────────────────────────────────────────────────── */
.programs-home-section { background: var(--white); border-top: 4px solid var(--green); }
.prog-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .prog-home-grid { grid-template-columns: 1fr; } }
.prog-home-card { border-radius: 16px; padding: 32px 28px; border: 2px solid transparent; transition: box-shadow .25s, transform .25s; }
.prog-home-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prog-home-mpc  { background: var(--green-xlight); border-color: var(--green-light); }
.prog-home-bipc { background: var(--gold-light); border-color: #f0ddb6; }
.prog-home-badge { display: inline-block; background: var(--green); color: var(--white); font-size: .75rem; font-weight: 800; letter-spacing: .08em; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }
.prog-home-badge-gold { background: var(--gold); }
.prog-home-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.prog-home-sub { font-size: .78rem; color: var(--muted); margin-bottom: 18px; }
.prog-home-tracks { display: flex; flex-direction: column; gap: 10px; }
.prog-home-tracks li { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--black); line-height: 1.4; }
.pht-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.pht-green { background: var(--green); }
.pht-gold  { background: var(--gold); }

/* ── Leadership Home (item 5) ─────────────────────────────────────────────────── */
.leadership-home-section { background: var(--white); border-top: 1px solid var(--border); }
.lh-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.lh-card { display: flex; align-items: center; gap: 20px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px 22px; text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s; }
.lh-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.lh-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.lh-photo-placeholder { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lh-role { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
.lh-name { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.lh-designation { font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.lh-bio { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ── Achievements / Toppers ───────────────────────────────────────────────────── */

/* Stats row on home page */
.achieve-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.achieve-stat { display: flex; flex-direction: column; }
.achieve-n { font-size: 2.25rem; font-weight: 800; color: var(--green); line-height: 1; letter-spacing: -.03em; }
.achieve-l { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* Horizontal scroll on home page */
.toppers-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.toppers-scroll::-webkit-scrollbar { height: 4px; }
.toppers-scroll::-webkit-scrollbar-track { background: transparent; }
.toppers-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Grid on achievements page */
.toppers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }

/* Individual topper card */
.topper-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 168px; transition: box-shadow .25s, transform .25s; }
.topper-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Exam badge */
.topper-exam { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 14px; }
.topper-exam-jee-main    { background: #e8f0fe; color: #1a56db; }
.topper-exam-jee-advanced { background: #fde8ff; color: #7c3aed; }
.topper-exam-neet        { background: #fde8e8; color: #c81e1e; }
.topper-exam-eapcet      { background: #e8f5e9; color: #2e7d32; }
.topper-exam-board       { background: #fef3e2; color: #b45309; }

/* Photo circle */
.topper-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border); margin-bottom: 12px; }
.topper-photo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 1.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }

/* Card text */
.topper-rank { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); margin-bottom: 4px; letter-spacing: -.01em; }
.topper-name { font-size: .9rem; font-weight: 600; color: var(--black); }
.topper-score { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.topper-highlight { font-size: .7rem; background: var(--gold-light); color: var(--gold); font-weight: 600; padding: 2px 8px; border-radius: 100px; margin-top: 6px; }
.topper-meta { font-size: .72rem; color: var(--muted-light); margin-top: 6px; }

/* Filter bar on achievements page */
.achieve-filter-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.achieve-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.achieve-year-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.achieve-filter-btn { padding: 6px 16px; border-radius: 100px; border: 1.5px solid var(--border); font-size: .85rem; font-weight: 500; color: var(--muted); background: var(--white); cursor: pointer; transition: all .2s; }
.achieve-filter-btn:hover { border-color: var(--green); color: var(--green); }
.achieve-filter-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }
.achieve-filter-year { font-size: .78rem; }
.achieve-filter-sep { width: 1px; height: 24px; background: var(--border); margin: 0 4px; }

/* Empty state (achievements page) */
.achieve-empty { text-align: center; padding: 80px 20px; }
.achieve-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.achieve-empty h3 { margin-bottom: 8px; }
.achieve-empty p { color: var(--muted); max-width: 400px; margin: 0 auto; font-size: .95rem; }

/* ── Topper Carousel (homepage) ───────────────────────────────────────────────── */
.achieve-section .section-head p { margin: 0; }

.tc-wrapper { position: relative; display: flex; align-items: center; gap: 12px; }
.tc-track-outer { flex: 1; overflow: hidden; }
.tc-track { display: flex; gap: 16px; transition: transform .4s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.tc-track .topper-card { flex: 0 0 calc(25% - 12px); }
@media (max-width: 1100px) { .tc-track .topper-card { flex: 0 0 calc(33.333% - 11px); } }
@media (max-width: 900px)  { .tc-track .topper-card { flex: 0 0 calc(50% - 8px); } }
@media (max-width: 600px)  { .tc-track .topper-card { flex: 0 0 100%; } }

.tc-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); color: var(--muted); font-size: 1rem; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.tc-arrow:hover { border-color: var(--green); color: var(--green); background: var(--green-xlight); }

.tc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.tc-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.tc-dot.active { background: var(--green); transform: scale(1.3); }

/* Empty / coming-soon state on homepage */
.achieve-coming-soon { text-align: center; background: var(--green-xlight); border: 1.5px dashed var(--border); border-radius: 16px; padding: 56px 24px; }
.acs-year { font-size: 4rem; font-weight: 900; color: var(--green); opacity: .15; line-height: 1; margin-bottom: -20px; letter-spacing: -.05em; }
.achieve-coming-soon h3 { font-size: 1.4rem; margin-bottom: 8px; }
.achieve-coming-soon p { color: var(--muted); max-width: 380px; margin: 0 auto; font-size: .9rem; }

/* ── Timeline v2 responsive ───────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .tl2-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Mobile: switch to vertical layout */
@media (max-width: 767px) {
  .tl2-scroll { overflow-x: visible; padding-bottom: 0; }
  .tl2-track { flex-direction: column; min-width: unset; }
  .tl2-track::before { left: 33px; right: auto; top: 34px; bottom: 34px; height: auto; width: 2px; }
  .tl2-item { flex-direction: row; align-items: flex-start; width: auto; gap: 20px; padding: 0 0 20px; }
  .tl2-item:last-child { padding-bottom: 0; }
  .tl2-card { flex-direction: row; align-items: center; text-align: left; padding: 14px 16px; gap: 12px; }
  .tl2-card-text { text-align: left; }
}

/* ── Why Greenvaley responsive dark bg ────────────────────────────────────────── */
@media (max-width: 700px) {
  .why-section .section-head p { color: rgba(255,255,255,.4); }
}

/* ── Comprehensive mobile fixes (≤ 480px) ─────────────────────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .hero-left { padding: 48px 20px 52px; }
  .hero-left h1 { font-size: 1.95rem; letter-spacing: -.03em; }
  .hero-sub { font-size: .9rem; margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .btn-lg { padding: .75rem 1.4rem; font-size: .9rem; }

  /* Achievements carousel */
  .lc-section { padding: 48px 0 0; }
  .lc-title { font-size: 1.4rem; }
  .lc-head { margin-bottom: 16px; }
  .lc-card { width: 220px; height: 300px; }

  /* Scale strip */
  .scale-card { padding: 22px 14px; }
  .scale-n { font-size: 2rem; }

  /* Timeline */
  .tl2-section { padding: 48px 0; }
  .tl2-node { width: 52px; height: 52px; }
  .tl2-yr { font-size: .65rem; }
  .tl2-track::before { left: 25px; top: 26px; bottom: 26px; }
  .tl2-sup { font-size: .68rem; letter-spacing: .06em; white-space: nowrap; }
  .tl2-card { padding: 10px 12px; gap: 8px; }
  .tl2-logo { width: 36px; height: 36px; }

  /* Why Greenvaley */
  .why-section { padding: 48px 0; }

  /* Programs */
  .prog-home-card { padding: 24px 20px; }

  /* Section general */
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 1.55rem; }

  /* Footer bottom */
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Leadership card */
  .lh-card { gap: 14px; padding: 16px; }
  .lh-photo, .lh-photo-placeholder { width: 56px; height: 56px; font-size: 1.2rem; }
}

/* ── Small phone tweaks (≤ 380px) ─────────────────────────────────────────────── */
@media (max-width: 380px) {
  .hero-left h1 { font-size: 1.7rem; }
  .lc-card { width: 190px; height: 280px; }
  .lc-card-rank { font-size: 1.3rem; }
  .container { padding-left: 14px; padding-right: 14px; }
}

/* ── Carousel arrow navigation ─────────────────────────────────────────────────── */
.lc-head-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.lc-nav-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lc-arr { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--white); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; line-height: 1; padding: 0; font-family: inherit; flex-shrink: 0; }
.lc-arr:hover { background: rgba(255,255,255,.18); }

/* ── Timeline institution logo slot ───────────────────────────────────────────── */
.tl2-logo { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; margin: 6px auto 10px; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.tl2-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tl2-logo-abbr { font-size: .65rem; font-weight: 800; color: var(--green); letter-spacing: .04em; text-align: center; line-height: 1.2; }
.tl2-card-current .tl2-logo { border-color: rgba(77,112,52,.3); background: rgba(255,255,255,.8); }

/* ── Custom styled checkbox ───────────────────────────────────────────────────── */
.checkbox-custom { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 5px; flex-shrink: 0; margin-top: 2px; cursor: pointer; transition: all .15s; background: var(--white); position: relative; }
.checkbox-custom:checked { background: var(--green); border-color: var(--green); }
.checkbox-custom:checked::after { content: ''; position: absolute; top: 3px; left: 6px; width: 5px; height: 9px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg); }
.checkbox-custom:focus { outline: 2px solid rgba(77,112,52,.4); outline-offset: 2px; }
.checkbox-label { gap: 12px; }
.checkbox-label a { color: var(--green); }

/* ── WhatsApp floating button ─────────────────────────────────────────────────── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(37,211,102,.55); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 480px) { .wa-float { bottom: 18px; right: 16px; width: 50px; height: 50px; } .wa-float svg { width: 26px; height: 26px; } }
