/* Sunflower School — one small stylesheet. Colours: sunflower yellow + leaf green. */
:root {
  --g: #1f5c3a; --g-d: #153f28; --g-50: #e9f3ec;
  --s: #f6b800; --s-d: #d99a00; --s-50: #fff6d6;
  --ink: #1f2a24; --ink-2: #4f5b54; --line: #ebe6d3; --bg: #fffdf6; --card: #fff;
  --r: 14px; --sh: 0 4px 18px rgba(31, 92, 58, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }

/* buttons */
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; font: inherit; font-weight: 600; line-height: 1.2; border: 0; cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn--sun { background: var(--s); color: #3b2a00; }
.btn--green { background: var(--g); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--block { display: block; width: 100%; }

/* header */
.hd { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img, .brand__sf { width: 44px; height: 44px; flex: none; border-radius: 10px; }
.brand b { display: block; font-size: 18px; line-height: 1.15; color: var(--g-d); }
.brand small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.nav a:hover { background: var(--g-50); text-decoration: none; }
.nav a.on { color: var(--g); background: var(--g-50); font-weight: 600; }
.nav .nav__cta { margin-left: 6px; padding: 9px 18px; color: #3b2a00; background: var(--s); }
.nav .nav__cta:hover { background: var(--s); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--g-50); cursor: pointer; padding: 12px 11px; }
.menu-btn span { display: block; height: 2px; margin: 4px 0; background: var(--g-d); border-radius: 2px; }
@media (max-width: 899px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav__cta { margin: 8px 0 0; }
}

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--g-d), var(--g) 60%, #2d7a4f); }
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--img::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(14, 44, 27, .85), rgba(14, 44, 27, .45)); }
.hero__sf { position: absolute; opacity: .9; }
.hero__sf--a { width: 260px; height: 260px; right: -60px; top: -50px; }
.hero__sf--b { width: 120px; height: 120px; right: 170px; bottom: -40px; opacity: .55; }
.hero__in { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 60px; max-width: 1140px; }
.hero__kicker { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border-radius: 999px; background: rgba(246, 184, 0, .2); color: #ffe28a; font-weight: 600; font-size: 15px; }
.hero h1 { font-size: clamp(30px, 6vw, 50px); margin-bottom: 10px; max-width: 640px; }
.hero h1 span { display: block; font-size: .5em; color: var(--s); font-weight: 600; margin-top: 4px; }
.hero__text { font-size: 18px; max-width: 560px; opacity: .95; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 599px) {
  .hero__in { padding-top: 40px; padding-bottom: 44px; }
  .hero__text { font-size: 16px; }
  .hero__sf--a { width: 170px; height: 170px; right: -55px; top: -45px; opacity: .5; }
  .hero__sf--b { display: none; }
}

/* page banner (inner pages) */
.pbanner { position: relative; overflow: hidden; background: var(--g); color: #fff; padding: 28px 0 30px; }
.pbanner__sf { position: absolute; width: 150px; height: 150px; right: -30px; top: -30px; opacity: .35; }
.pbanner h1 { position: relative; font-size: clamp(24px, 4.5vw, 34px); margin: 4px 0; }
.pbanner p { position: relative; margin: 0; opacity: .9; }
.crumb { position: relative; font-size: 14px; opacity: .85; }
.crumb a { color: #ffe28a; }

/* cards + sections */
.sec { margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.h2 { font-size: 22px; color: var(--g-d); position: relative; padding-bottom: 8px; }
.h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--s); }
.sec__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sec__hd .h2 { margin: 0; }
.two { display: grid; gap: 18px; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } .two--form { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.more { font-weight: 600; }
.empty { text-align: center; color: var(--ink-2); padding: 36px 20px; }
.prose { font-size: 17px; }
.prose h3 { font-size: 18px; margin-top: 18px; color: var(--g-d); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; border-top: 1px dashed var(--line); }

/* notice box */
.notice-box { margin-top: -26px; position: relative; z-index: 2; }
.notice-box, .nlist--page { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px; }
.notice-box__hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.notice-box__hd h2 { font-size: 19px; color: var(--g-d); margin: 0 0 6px; }
.nlist { list-style: none; margin: 0; padding: 0; }
.nlist li + li { border-top: 1px solid var(--line); }
.nlist a { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--ink); }
.nlist a:hover { text-decoration: none; color: var(--g); }
.nlist__date { flex: none; width: 54px; text-align: center; border-radius: 10px; background: var(--s-50); color: #7a5600; font-size: 12px; line-height: 1.2; padding: 6px 0; }
.nlist__date b { display: block; font-size: 20px; color: #5c4000; }
.nlist__t { min-width: 0; font-weight: 500; }
.tag { font-style: normal; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #fde2e1; color: #b42318; vertical-align: 2px; }
.tag--file { background: var(--g-50); color: var(--g); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; background: var(--s-50); border-radius: var(--r); padding: 18px 10px; border: 1px solid #f5e3a1; }
.stat b { display: block; font-size: 30px; line-height: 1.1; color: var(--g-d); }
.stat span { font-size: 15px; color: var(--ink-2); }

/* principal */
.principal__in { display: flex; gap: 16px; align-items: flex-start; }
.principal__in img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--s); }
.principal--full .principal__in img { width: 120px; height: 120px; }
.principal blockquote { margin: 0; font-size: 16px; color: var(--ink-2); }
.principal__name { margin: 12px 0 0; }
.principal__name b { display: block; color: var(--g-d); }
.principal__name span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 520px) { .principal__in { flex-direction: column; } }

/* people */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .people { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.person { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 10px; box-shadow: var(--sh); }
.person img, .person__ph { width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; border: 3px solid var(--s-50); }
.person .person__ph { display: grid; place-items: center; background: var(--g-50); color: var(--g); font-size: 36px; font-weight: 700; }
.person b { display: block; color: var(--g-d); line-height: 1.3; }
.person span { display: block; font-size: 14px; color: var(--ink-2); }
.person small { display: block; font-size: 13px; color: var(--s-d); font-weight: 600; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1000px) { .gal:not(.gal--home) { grid-template-columns: repeat(4, 1fr); } }
.gal__i { display: block; position: relative; padding-top: 75%; overflow: hidden; border-radius: 12px; background: var(--g-50); }
.gal__i img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal__i:hover img { transform: scale(1.04); }
.lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: rgba(10, 20, 14, .92); color: #fff; }
.lb img { max-height: 82vh; border-radius: 8px; }
.lb button { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 26px; cursor: pointer; }

/* admission CTA */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 24px; border-radius: var(--r); background: linear-gradient(120deg, #fff1bf, var(--s-50)); border: 1px solid #f5e3a1; }
.cta__sf { width: 76px; height: 76px; flex: none; }
.cta h2 { color: var(--g-d); margin: 0 0 4px; font-size: 22px; }
.cta p { margin: 0; color: var(--ink-2); }
.cta .btn { margin-left: auto; flex: none; }
@media (max-width: 640px) { .cta { flex-direction: column; text-align: center; } .cta .btn { margin: 0; } .cta__sf { width: 60px; height: 60px; } }

/* contact */
.contact { display: grid; gap: 18px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1.3fr; } .contact--nomap { grid-template-columns: 1fr; } }
.ilist { list-style: none; margin: 0; padding: 0; }
.ilist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.ilist svg { width: 22px; height: 22px; flex: none; fill: var(--g); margin-top: 3px; }
.contact__map { min-height: 280px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* forms */
.form label { display: block; margin-bottom: 12px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #d9d3bd; border-radius: 10px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--s); border-color: var(--s); }
.form--narrow { max-width: 720px; }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert { padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.alert--ok { background: var(--g-50); color: var(--g-d); }
.alert--err { background: #fde8e7; color: #9b1c13; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; }
.chips li { padding: 4px 14px; border-radius: 999px; background: var(--s-50); border: 1px solid #f5e3a1; font-size: 15px; }

/* footer */
.ft { margin-top: 48px; background: var(--g-d); color: #d8e6dc; font-size: 15px; }
.ft__grid { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 24px; }
@media (min-width: 760px) { .ft__grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.ft h3 { color: #fff; font-size: 17px; }
.ft a { color: #fff; }
.brand--ft b { color: #fff; }
.brand--ft small { color: #ffe28a; }
.ft__tag { margin: 12px 0 4px; }
.ft__meta { font-size: 14px; opacity: .8; }
.ft__links, .ft__contact { list-style: none; margin: 0; padding: 0; }
.ft__links { columns: 2; }
.ft__links li, .ft__contact li { padding: 3px 0; }
.ft__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; padding-bottom: 18px; font-size: 14px; opacity: .8; }

@media (prefers-reduced-motion: reduce) { .gal__i img { transition: none; } }
