/* Aspire International School & College — site styles */
:root {
  --navy: #15284f;
  --navy-dark: #10203f;
  --navy-soft: #1f3567;
  --green: #8cc63f;
  --green-dark: #5d8a1f;
  --green-light: #e9f4d7;
  --orange: #f6a623;
  --orange-light: #fdeccc;
  --red: #c8372d;
  --cream: #f7f7f2;
  --white: #ffffff;
  --text: #16284f;
  --muted: #5b6478;
  --border: #e6e8de;
  --placeholder: #e4e8da;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(16, 32, 63, .06);
  --container: 1120px;
  --font: "Poppins", "Hind Siliguri", system-ui, sans-serif;
  --font-bn: "Hind Siliguri", "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.bn { font-family: var(--font-bn); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--green { background: var(--green-light); }
.section--navy { background: var(--navy); color: var(--white); }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow.bn { letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 500; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--navy); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.link-arrow { font-weight: 600; font-size: 14px; color: var(--navy); text-underline-offset: 3px; }
.link-arrow:hover { color: var(--green-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; border: 2px solid transparent;
  font: 600 14px var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green); color: var(--navy); }
.btn--green:hover { background: #7db52f; }
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: #e9991a; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.08); }
.btn--pill { border-radius: 999px; }
.btn--block { width: 100%; }

/* Top bar */
.topbar { background: var(--navy-dark); color: #dfe4ee; font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #dfe4ee; text-underline-offset: 2px; }
.topbar strong { color: var(--orange); font-weight: 600; }

/* Header */
.header { background: var(--white); border-bottom: 3px solid var(--green); box-shadow: 0 2px 12px rgba(16,32,63,.06); position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo { height: 56px; width: auto; }
.brand--card { background: var(--white); border-radius: 12px; padding: 8px 12px; }
.brand--card .brand__logo { height: 50px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green-dark); }
.nav a.active { font-weight: 600; color: var(--navy); border-bottom-color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 28px; height: 28px; }
.header__cta { flex-shrink: 0; }

/* Hero (home) */
.hero { background: var(--navy); color: var(--white); padding: 70px 0 64px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  border: 1px solid rgba(141,198,63,.6); background: rgba(141,198,63,.12);
  color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.hero__bn { font-family: var(--font-bn); font-weight: 700; color: var(--green); font-size: clamp(44px, 6vw, 64px); line-height: 1.15; margin: 16px 0 14px; }
.hero__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin-bottom: 14px; }
.hero__text { font-family: var(--font-bn); color: #d8deea; font-size: 16px; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
/* Hero banner slideshow: slides stack in one grid cell and cross-fade; the stats + controls bar sits on top. */
.hero--slider { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; overflow: hidden; isolation: isolate; }
.hero__slide, .hero__bar { grid-area: 1 / 1; }
.hero__slide { position: relative; display: flex; align-items: center; min-height: 600px; padding: 72px 0 170px; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.hero__slide > .container { position: relative; z-index: 1; width: 100%; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,32,63,.94) 0%, rgba(21,40,79,.82) 42%, rgba(21,40,79,.3) 100%), linear-gradient(0deg, rgba(16,32,63,.85) 0%, rgba(16,32,63,0) 40%); }
.hero__copy { max-width: 600px; }
.hero__heading { font-family: var(--font-bn); font-weight: 700; color: var(--white); font-size: clamp(34px, 5vw, 54px); line-height: 1.2; margin-bottom: 14px; }
.hero__bar { align-self: end; z-index: 2; padding-bottom: 32px; pointer-events: none; }
.hero__bar .container { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.hero__bar .hero__stats { width: min(100%, 520px); margin: 0; pointer-events: auto; }
.hero__controls { display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(16,32,63,.35); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.hero__arrow:hover, .hero__arrow:focus-visible { background: var(--green); border-color: var(--green); color: var(--navy); }
.hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s ease, background .3s ease; }
.hero__dots button.is-active { width: 28px; background: var(--green); }
@media (max-width: 820px) {
  .hero__slide { min-height: 0; padding: 56px 0 250px; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(16,32,63,.88) 0%, rgba(21,40,79,.78) 55%, rgba(16,32,63,.95) 100%); }
  .hero__bar .container { flex-direction: column-reverse; align-items: stretch; }
  .hero__controls { justify-content: center; }
}
@media (max-width: 560px) { .hero__slide { padding-bottom: 230px; } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide.is-active, .hero__bg { transition: none; }
  .hero__bg { transform: none; }
}

.stat { background: var(--cream); color: var(--navy); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.stat strong { display: block; font-size: 18px; font-weight: 800; }
.stat span { font-size: 11px; color: var(--muted); }

/* Photo placeholders / images */
.photo {
  border-radius: var(--radius); border: 1.5px dashed var(--green);
  background: var(--placeholder); color: #6b7062;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 14px; padding: 20px; min-height: 280px; overflow: hidden; position: relative;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--dark { background: var(--navy-soft); color: #c9d2e6; }
.photo--white { background: var(--white); }
.photo--hero { min-height: 340px; }

/* Feature cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--muted); }
.card--soft { background: var(--cream); border: 0; }
.icon {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--green-light); color: var(--navy);
}
.icon--orange { background: var(--orange-light); }
.icon svg { width: 18px; height: 18px; }

/* Smart learning */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lead { color: var(--muted); margin: 16px 0 18px; }
.numbered { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.numbered li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; }
.numbered .num { width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: var(--green); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mini { border-radius: var(--radius-sm); padding: 16px 20px; }
.mini strong { display: block; font-size: 18px; font-weight: 800; }
.mini span { font-size: 13px; }
.mini--navy { background: var(--navy); color: var(--white); }
.mini--navy strong { color: var(--green); }
.mini--white { background: var(--white); }
.mini--white span { color: var(--muted); }

/* Levels */
.levels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.level { border-radius: var(--radius-sm); padding: 18px 8px; text-align: center; text-decoration: none; transition: transform .15s ease; }
.level:hover { transform: translateY(-3px); }
.level strong { display: block; font-size: 24px; font-weight: 800; }
.level span { font-size: 13px; font-weight: 600; }
.level--orange { background: var(--orange); color: var(--navy); }
.level--navy { background: var(--navy); color: var(--white); }
.level--navy strong { color: var(--green); }
.level--outline { background: var(--white); border: 1.5px solid var(--navy); color: var(--navy); }

/* Leadership */
.person { display: flex; align-items: center; gap: 16px; background: var(--cream); border-radius: var(--radius); padding: 18px; }
.avatar {
  width: 66px; height: 66px; border-radius: 50%; border: 3px solid var(--green);
  background: var(--placeholder); color: #6b7062; font-size: 11px;
  display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--orange { border-color: var(--orange); }
.person .role { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--red); text-transform: uppercase; }
.person h3 { font-size: 16px; font-weight: 700; }
.person small { display: block; font-size: 12px; color: var(--muted); }
.quote { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px 30px; margin-top: 20px; }
.quote p { font-style: italic; font-size: clamp(16px, 2vw, 20px); line-height: 1.55; }
.quote cite { display: block; font-style: normal; font-size: 13px; font-weight: 700; margin-top: 14px; }
.quote cite span { color: var(--orange); font-weight: 400; }

/* CTA band */
.cta-wrap { padding: 50px 0; }
.cta {
  background: var(--green); border-radius: var(--radius); padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta h2 { font-family: var(--font-bn); font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.cta p { font-size: 14px; margin-top: 6px; color: var(--navy); }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta--navy { background: var(--navy); }
.cta--navy h2 { color: var(--green); }

/* Page hero */
.page-hero { background: var(--navy); color: var(--white); padding: 44px 0 50px; }
.page-hero--img { background: linear-gradient(90deg, rgba(21,40,79,.92), rgba(21,40,79,.6)), var(--banner) center / cover no-repeat; padding: 70px 0 76px; }
.breadcrumb { font-size: 13px; color: #c9d2e6; margin-bottom: 10px; }
.breadcrumb a { color: #c9d2e6; text-underline-offset: 2px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.page-hero h1.bn { color: var(--green); font-weight: 700; }
.page-hero .sub { font-family: var(--font-bn); color: var(--green); font-size: 17px; margin-top: 8px; }
.page-hero .sub--en { font-family: var(--font); color: var(--white); }

/* About */
.chairman { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.chairman__photo { text-align: center; }
.chairman__photo .avatar { width: 160px; height: 160px; border-width: 4px; margin: 0 auto 16px; font-size: 13px; }
.chairman__photo h3 { font-size: 18px; font-weight: 700; }
.chairman__photo .role { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--red); margin-top: 6px; }
.chairman__msg .eyebrow { color: var(--green-dark); }
.chairman__msg .en { font-size: 16px; margin-bottom: 14px; }
.chairman__msg .bn { color: var(--muted); font-size: 15.5px; }
.mv { border-radius: var(--radius); padding: 30px 26px; }
.mv h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.mv h2 .bn { font-size: 18px; font-weight: 500; }
.mv p { font-size: 14.5px; margin-bottom: 12px; }
.mv p.bn { font-size: 15px; }
.mv--navy { background: var(--navy); color: var(--white); }
.mv--navy h2 .bn { color: var(--green); }
.mv--navy p.bn { color: #d8deea; }
.mv--green { background: var(--green-light); }
.mv--green h2 .bn { color: var(--red); }
.mv--green p.bn { color: var(--muted); }

.profile { display: grid; grid-template-columns: 130px 1fr; gap: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-top: 18px; }
.profile__photo { width: 130px; height: 130px; border-radius: 14px; border: 3px solid var(--green); background: var(--placeholder); color: #6b7062; font-size: 12px; display: grid; place-items: center; overflow: hidden; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo--orange { border-color: var(--orange); }
.profile .role { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--red); }
.profile h3 { font-size: 22px; font-weight: 700; margin: 4px 0 6px; }
.profile .quals { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.exp { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; font-size: 13px; color: var(--muted); }
.exp h4 { font-size: 13px; color: var(--navy); margin-bottom: 2px; }
.exp ul { list-style: none; }
.exp .block + .block { margin-top: 12px; }
.duties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.duty { background: var(--cream); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; color: var(--muted); }
.duty strong { display: block; color: var(--navy); font-size: 13px; }

.board h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.board ul { list-style: none; display: grid; gap: 10px; }
.board li { background: var(--cream); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; color: var(--muted); }
.board li strong { display: block; color: var(--navy); }
.board--green li { background: var(--green-light); }
.board li { display: flex; align-items: center; gap: 14px; }
.board__photo { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--navy); background: var(--white); display: grid; place-items: center; overflow: hidden; }
.board--green .board__photo { border-color: var(--green-dark); }
.board__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.board__photo .initials { font-weight: 800; font-size: 16px; color: var(--navy); }

.section-title .bn { font-size: .55em; font-weight: 600; color: var(--muted); }
.faculty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.teacher { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.teacher__photo { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--green); background: var(--placeholder); color: #6b7062; font-weight: 700; display: grid; place-items: center; overflow: hidden; }
.teacher:nth-child(even) .teacher__photo { border-color: var(--orange); }
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.teacher h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.teacher .role { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-top: 4px; }
.teacher .quals { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
@media (max-width: 960px) { .faculty { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .faculty { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .faculty { grid-template-columns: 1fr; } }

/* Academics */
.stage { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stage__head { padding: 22px 20px; }
.stage__head h3 { font-size: 20px; font-weight: 700; }
.stage__head span { font-size: 12px; font-weight: 600; }
.stage__head--orange { background: var(--orange); }
.stage__head--green { background: var(--green); }
.stage__head--navy { background: var(--navy); color: var(--white); }
.stage__head--navy span { color: var(--green); }
.stage ul { list-style: none; padding: 18px 20px 22px; display: grid; gap: 10px; }
.stage li { display: flex; justify-content: space-between; font-size: 14px; }
.stage li b { font-weight: 700; }
.specs { list-style: none; margin-top: 18px; }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.specs li:last-child { border-bottom: 0; }
.specs b { font-weight: 600; }
.specs span { text-align: right; }

/* Admission */
.step .stepnum { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 14px; background: var(--orange); color: var(--navy); }
.step:nth-child(even) .stepnum { background: var(--green); }
.docs { background: var(--green-light); border-radius: var(--radius); padding: 28px 24px; }
.docs h2, .fees h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.docs .note { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.docs ul { padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.fees { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.fees table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.fees th { text-align: left; font-size: 13px; padding: 8px 0; border-bottom: 2px solid var(--navy); }
.fees th:last-child, .fees td:last-child { text-align: right; }
.fees td { padding: 10px 0; border-bottom: 1px solid var(--border); }
.fees .last-date { font-size: 13px; color: var(--muted); margin-top: 14px; }

.enquiry { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.enquiry .eyebrow { color: var(--orange); }
.enquiry h2 { font-family: var(--font-bn); font-weight: 700; font-size: clamp(28px, 3.5vw, 38px); color: var(--green); }
.enquiry p { color: #d8deea; margin-top: 12px; font-size: 14.5px; }

/* Forms */
.form-card { background: var(--cream); color: var(--navy); border-radius: var(--radius); padding: 24px 22px; }
.form-card--white { background: var(--white); border: 1px solid var(--border); }
.form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d6d9cf; border-radius: 8px;
  font: 14px var(--font); color: var(--navy); background: var(--white);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form-msg { font-size: 13px; margin-top: 10px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: var(--green-dark); }
.form-msg.err { color: var(--red); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary { padding: 14px 18px; font-weight: 600; font-size: 14.5px; cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸"; transition: transform .2s ease; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details p { padding: 0 18px 16px 38px; font-size: 14px; color: var(--muted); }

/* Contact */
.contact-card .icon { background: none; color: var(--green-dark); margin-bottom: 10px; width: auto; height: auto; place-items: start; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 16px; }
.contact-card .big { font-weight: 700; font-size: 15px; color: var(--navy); }
.contact-card a { color: var(--navy); }
.map { border-radius: var(--radius); overflow: hidden; border: 1.5px dashed var(--green); min-height: 300px; background: var(--placeholder); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.fb-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px; margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; }
.fb-card h3 { font-size: 16px; }
.fb-card p { font-size: 13px; color: #c9d2e6; }
.fb-card .qr { width: 80px; height: 80px; border-radius: 10px; background: var(--cream); color: #6b7062; font-size: 11px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }

/* Footer */
.footer { background: var(--navy-dark); color: #dfe4ee; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 46px 0 36px; }
.footer .brand { margin-bottom: 12px; }
.footer p.bn { font-size: 13.5px; }
.tagline { color: var(--green); font-weight: 700; letter-spacing: .16em; font-size: 12px; margin-top: 14px; }
.footer h4 { color: var(--white); font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: #dfe4ee; text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer a.u { text-decoration: underline; text-underline-offset: 2px; }
.fb-btn { display: inline-block; margin-top: 12px; border: 1px solid var(--green); color: var(--green) !important; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 12.5px; }
/* Student & parent app badges (footer + app page) */
.footer__app-title { margin: 18px 0 10px !important; }
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 150px; padding: 8px 16px 8px 12px; border-radius: 12px;
  background: #000; color: #fff !important; border: 1px solid rgba(255,255,255,.28); text-decoration: none; line-height: 1.15; transition: transform .15s, border-color .15s; }
.app-badge:hover { transform: translateY(-2px); border-color: var(--green); color: #fff !important; }
.app-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.app-badge small { display: block; font-size: 10.5px; opacity: .85; font-weight: 500; }
.app-badge b { display: block; font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.app-badges--lg .app-badge { min-width: 190px; padding: 11px 20px 11px 14px; }
.app-badges--lg .app-badge svg { width: 34px; height: 34px; }
.app-badges--lg .app-badge b { font-size: 20px; }
.app-page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.app-page__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow); background: #fff; }
.app-page h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--navy); margin: 16px 0 10px; }
.app-page .lead { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.app-page .meta { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.app-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 22px; font-size: 14px; }
.app-features li { display: flex; gap: 8px; align-items: flex-start; }
.app-features li::before { content: "✓"; color: var(--green-dark); font-weight: 800; }
.app-phone { justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 18; border-radius: 34px; background: var(--navy); padding: 12px; box-shadow: 0 24px 60px rgba(16,32,63,.25); }
.app-phone__screen { height: 100%; border-radius: 24px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.app-phone__screen img { width: 120px; }
.app-phone__screen b { font-size: 20px; color: var(--navy); }
.app-phone__screen span { font-size: 13px; color: var(--muted); }
.install-steps { counter-reset: s; list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.install-steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text); }
.install-steps li::before { content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); font-weight: 800; display: grid; place-items: center; }
.install-card { scroll-margin-top: 110px; }
.install-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px !important; }
.install-card h3 svg { width: 30px; height: 30px; }
.install-card .note { margin-top: 14px; font-size: 12.5px; background: var(--orange-light); border-radius: var(--radius-sm); padding: 10px 12px; color: var(--navy); }
@media (max-width: 820px) { .app-page { grid-template-columns: 1fr; } .app-phone { display: none; } .app-features { grid-template-columns: 1fr; } }
/* app version + release notes */
.app-version-pill { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 -4px; padding: 5px 14px 5px 6px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: 13px; font-weight: 600; text-decoration: none; }
.app-version-pill:not(:has(b)) { padding-left: 14px; }
.app-version-pill b { background: var(--green-dark); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.app-version-pill:hover { background: #dcedc0; }
.release-card { scroll-margin-top: 110px; }
.release-card h3 { font-size: 19px !important; color: var(--navy); }
.release-card h4 { font-size: 15px; color: var(--navy); margin: 18px 0 2px; }
.release-date { font-size: 12.5px; color: var(--muted); margin: 2px 0 6px; }
.release-list { list-style: none; display: grid; gap: 9px; margin-top: 10px; font-size: 14px; }
.release-list li { display: flex; gap: 10px; align-items: flex-start; }
.release-list li::before { content: "★"; color: var(--orange); flex: 0 0 auto; line-height: 1.5; }
.release-card .note { margin-top: 14px; font-size: 12.5px; background: var(--orange-light); border-radius: var(--radius-sm); padding: 10px 12px; color: var(--navy); }
.release-older { margin-top: 16px; font-size: 13.5px; border-top: 1px solid var(--border); padding-top: 12px; }
.release-older summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.release-older p { margin: 10px 0 0; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: 12px; color: #a9b3c8; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .header__cta { display: none; }
}
@media (max-width: 820px) {
  .section { padding: 56px 0; }
  .hero .container, .split, .chairman, .enquiry, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .chairman { gap: 28px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 79px; left: 0; right: 0; background: var(--white);
    flex-direction: column; gap: 0; padding: 8px 20px 18px; display: none;
    border-bottom: 3px solid var(--green); box-shadow: 0 12px 24px rgba(16,32,63,.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a.active { border-bottom-color: var(--border); color: var(--green-dark); }
  .brand__logo { height: 48px; }
  .profile { grid-template-columns: 1fr; }
  .duties { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid-4, .grid-3, .form-grid, .exp, .mini-cards { grid-template-columns: 1fr; }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar .left { display: none; }
  .cta { padding: 28px 22px; }
  .hero__stats { gap: 8px; }
  .stat strong { font-size: 15px; }
}

/* ---- Laravel additions ---- */
.photo--empty { flex-direction: column; }
.photo__ph { display: grid; justify-items: center; gap: 10px; font-weight: 500; opacity: .75; }
.photo__ph img { position: static; opacity: .9; }
.photo--white .photo__ph, .photo:not(.photo--dark) .photo__ph { color: #6b7062; }
.avatar .initials, .profile__photo .initials { font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: .04em; }
.chairman__photo .avatar .initials { font-size: 44px; }
.profile__photo .initials { font-size: 34px; }
.fb-card .qr img { width: 100%; height: 100%; object-fit: cover; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.alert--ok { background: var(--green-light); color: var(--green-dark); border: 1px solid #cfe6ac; }
.alert--err { background: #fdecea; color: var(--red); border: 1px solid #f5c6c1; }
.field .error { font-size: 12px; color: var(--red); }
.field .invalid { border-color: var(--red); }

.notice-strip { background: var(--orange-light); border-bottom: 1px solid #f6dca8; }
.notice-strip .container { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; font-size: 14px; }
.notice-strip__label { background: var(--red); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 4px; flex-shrink: 0; text-transform: uppercase; letter-spacing: .08em; }
.notice-strip__items { display: flex; gap: 22px; flex: 1; min-width: 0; overflow: hidden; }
.notice-strip__items a { text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--navy); }
.notice-strip__items a:hover { text-decoration: underline; }
.notice-strip__items time { font-weight: 700; margin-right: 6px; color: var(--red); }
.notice-strip__all { font-weight: 600; font-size: 13px; flex-shrink: 0; color: var(--navy); }

.narrow { max-width: 820px; }
.notice-item { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; text-decoration: none; transition: border-color .15s ease; }
.notice-item:hover { border-color: var(--green); }
.notice-item h2 { font-size: 17px; margin-bottom: 4px; }
.notice-item p { font-size: 14px; color: var(--muted); }
.notice-date { flex-shrink: 0; width: 70px; text-align: center; background: var(--navy); color: #c9d2e6; border-radius: 10px; padding: 8px 4px; font-size: 11px; height: fit-content; }
.notice-date strong { display: block; font-size: 24px; color: var(--green); line-height: 1.1; }
.tag { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; background: var(--green-light); color: var(--green-dark); border-radius: 999px; padding: 2px 10px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.notice-body { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; font-size: 15.5px; line-height: 1.8; }
.notice-image { margin-top: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; font-size: 14px; }
.pager a { font-weight: 600; color: var(--navy); }
.pager .disabled { color: #b0b5c0; }

@media (max-width: 960px) {
  .nav { gap: 18px; }
}
@media (max-width: 560px) {
  .notice-strip__items a:not(:first-child) { display: none; }
  .notice-strip__all { display: none; }
}

/* Real images (design-kit graphics or uploaded photos) */
.photo:not(.photo--empty) { border: 0; padding: 0; min-height: 0; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.hero .photo:not(.photo--empty) { box-shadow: 0 10px 30px rgba(0,0,0,.25); outline: 1px solid rgba(255,255,255,.1); }
.photo__ph img { width: 64px; height: 64px; border-radius: 12px; background: var(--white); padding: 4px; }
.banner-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 48px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a, .gallery figure { display: block; margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); transition: transform .2s ease; }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
/* Home gallery: square 1:1 tiles with the whole photo fitted inside (no cropping) */
.gallery--square a { aspect-ratio: 1 / 1; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.gallery--square img { aspect-ratio: auto; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }

/* Gallery page: whole photos (no cropping) in a masonry of columns */
.gallery--page { display: block; columns: 3 280px; column-gap: 14px; }
.gallery--page figure { break-inside: avoid; margin-bottom: 14px; }
.gallery--page img { aspect-ratio: auto; height: auto; object-fit: contain; background: var(--placeholder); }
.gallery--page a { border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }

/* Full-screen photo viewer */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(10,18,36,.96); color: var(--white); }
.lightbox::backdrop { background: rgba(10,18,36,.96); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 56px 72px 12px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__bar { display: flex; justify-content: center; gap: 16px; align-items: baseline; padding: 10px 16px 20px; font-size: 14px; text-align: center; }
.lightbox__count { color: #9aa6c0; font-size: 13px; white-space: nowrap; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--green); border-color: var(--green); color: var(--navy); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
@media (max-width: 560px) {
  .lightbox__stage { padding: 60px 8px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .lightbox__bar { padding: 10px 70px 24px; }
}
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.details ul { list-style: none; margin-top: 2px; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery--page { columns: 2 140px; column-gap: 10px; } .gallery--page figure { margin-bottom: 10px; } }

/* Login / Dashboard link in the menu */
.nav .nav__login { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--navy); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.nav .nav__login:hover { background: var(--navy); color: var(--white); }
.nav .nav__login svg { width: 16px; height: 16px; }
.nav { align-items: center; gap: 22px; }
@media (max-width: 1100px) { .nav { gap: 16px; } .nav a { font-size: 13.5px; } }
@media (max-width: 820px) {
  .nav { align-items: stretch; gap: 0; }
  .nav a { font-size: 15px; }
  .nav .nav__login { margin-top: 12px; justify-content: center; padding: 10px 14px; border-bottom: 1.5px solid var(--navy); }
}
@media (max-width: 1100px) { .header__cta { display: none; } }

/* ---- Website live chat (bottom-right) ---- */
.vchat { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font); }
.vchat__fab { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: var(--green); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 28px rgba(21,40,79,.35); transition: transform .15s ease; }
.vchat__fab:hover { transform: scale(1.06); }
.vchat__fab svg { width: 28px; height: 28px; }
.vchat__icon-close, .vchat--open .vchat__icon-open { display: none; }
.vchat--open .vchat__icon-close { display: block; }
.vchat--open .vchat__fab { background: var(--navy); color: #fff; }
.vchat__fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(140,198,63,.6); animation: vchat-pulse 2.4s infinite; }
.vchat--open .vchat__fab::after { animation: none; }
@keyframes vchat-pulse { 0% { box-shadow: 0 0 0 0 rgba(140,198,63,.55); } 70% { box-shadow: 0 0 0 16px rgba(140,198,63,0); } 100% { box-shadow: 0 0 0 0 rgba(140,198,63,0); } }
.vchat__badge { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; border: 2px solid #fff; }
.vchat__hint { position: absolute; right: 72px; bottom: 14px; background: var(--white); color: var(--navy); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.vchat__hint--show { opacity: 1; transform: none; }
.vchat__hint[hidden] { display: none; }

.vchat__panel { width: 370px; height: min(560px, calc(100vh - 120px)); background: var(--white); border-radius: 18px; box-shadow: 0 18px 50px rgba(21,40,79,.28); display: flex; flex-direction: column; overflow: hidden; }
.vchat__panel[hidden] { display: none; }
.vchat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.vchat__head img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 2px; }
.vchat__head div { flex: 1; min-width: 0; }
.vchat__head strong { display: block; font-size: 15px; }
.vchat__head small { display: block; font-size: 11.5px; color: var(--green); }
.vchat__close { width: 34px; height: 34px; border-radius: 8px; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.vchat__close svg { width: 18px; height: 18px; }
.vchat__list { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px; background: var(--cream); display: flex; flex-direction: column; gap: 8px; }
.vchat__date { align-self: center; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 1px 10px; margin: 4px 0; }
.vchat__msg { display: flex; max-width: 85%; }
.vchat__msg--mine { align-self: flex-end; }
.vchat__bubble { background: #fff; border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; padding: 7px 11px 5px; min-width: 0; }
.vchat__msg--mine .vchat__bubble { background: var(--navy); border-color: var(--navy); color: #fff; border-radius: 14px 14px 4px 14px; }
.vchat__bubble strong { display: block; font-size: 11.5px; color: var(--green-dark); }
.vchat__bubble p { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.vchat__bubble time { display: block; text-align: right; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.vchat__msg--mine .vchat__bubble time { color: #aab6cf; }
.vchat__start { display: grid; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.vchat__start[hidden], .vchat__form[hidden] { display: none; }
.vchat__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vchat__start input, .vchat__start textarea, .vchat__form textarea { width: 100%; font: 14px var(--font); color: var(--navy); border: 1px solid #d6d9cf; border-radius: 10px; padding: 9px 11px; background: #fff; resize: none; }
.vchat__start input:focus, .vchat__start textarea:focus, .vchat__form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.vchat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--border); background: #fff; }
.vchat__form textarea { border-radius: 20px; min-height: 42px; max-height: 110px; line-height: 1.4; }
.vchat__form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--green); color: var(--navy); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.vchat__form button:disabled, .vchat__start button:disabled { opacity: .55; }
.vchat__form button svg { width: 19px; height: 19px; }
.vchat__error { margin: 0; padding: 6px 12px 10px; font-size: 12.5px; color: var(--red); background: #fff; }

@media (max-width: 560px) {
  .vchat { right: 14px; bottom: 14px; }
  .vchat__fab { width: 56px; height: 56px; }
  .vchat--open { inset: 0; right: 0; bottom: 0; }
  .vchat--open .vchat__fab { display: none; }
  .vchat__panel { width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .vchat__head { padding-top: calc(14px + env(safe-area-inset-top)); }
  .vchat__start, .vchat__form { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .vchat__row { grid-template-columns: 1fr; }
}

/* ===== Campaign landing pages (Admin → Campaigns) ===== */
.cmp-preview { background: var(--orange-light); border-bottom: 1px solid #f3d499; font-size: 13.5px; padding: 10px 0; }
.cmp-preview a { font-weight: 600; margin-left: 6px; }
.cmp-badge { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--orange); color: var(--navy); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.cmp h1 { font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin: 16px 0 12px; }
.cmp-sub { font-size: 16.5px; max-width: 620px; }
.cmp-body { font-size: 15.5px; line-height: 1.8; max-width: 760px; }
.cmp-body--center { margin: 36px auto 0; text-align: center; }
.cmp-h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 28px 0 14px; }
.cmp-narrow { max-width: 680px; }
.cmp-form h2 { font-size: 21px; }
.cmp-form .req { color: var(--red); }
.cmp-form .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cmp-thanks { text-align: center; padding: 18px 6px; }
.cmp-thanks__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--navy); font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cmp-thanks p { color: var(--muted); font-family: var(--font-bn); font-size: 15.5px; margin-top: 6px; }

/* Admission offer */
.cmp-hero { position: relative; background: var(--navy); color: var(--white); padding: 64px 0 72px; overflow: hidden; }
.cmp-hero::before { content: ""; position: absolute; inset: 0; background: var(--cmp-img, none) center / cover; opacity: .18; }
.cmp-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cmp-hero h1 { color: var(--green); }
.cmp-hero .cmp-sub { color: #d8deea; font-family: var(--font-bn); }
.cmp-ticks { list-style: none; display: grid; gap: 10px; margin: 24px 0; }
.cmp-ticks li { position: relative; padding-left: 32px; font-size: 15px; }
.cmp-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--navy); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.cmp-deadline { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 16px; font-size: 14px; }
.cmp-deadline__left { background: var(--orange); color: var(--navy); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: 13px; }

/* Event / Open day */
.cmp-banner { position: relative; background: linear-gradient(rgba(16,32,63,.72), rgba(16,32,63,.82)), var(--cmp-img, linear-gradient(135deg, var(--navy-soft), var(--navy))) center / cover; color: var(--white); padding: 90px 0 120px; text-align: center; }
.cmp-banner .cmp-sub { margin: 0 auto 26px; color: #e3e8f2; }
.cmp-facts { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: -60px; }
.cmp-facts--flat { margin-top: 36px; }
.cmp-fact { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cmp-fact small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.cmp-fact strong { font-size: 15px; }
.cmp-fact__cal { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 60px; border-radius: 10px; background: var(--navy); color: var(--green); font-size: 12px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.cmp-fact__cal b { font-size: 24px; color: var(--white); }
.cmp-fact__icon { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: var(--green-light); font-size: 24px; }
.cmp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cmp-timeline { list-style: none; display: grid; gap: 0; border-left: 3px solid var(--green); margin-left: 8px; }
.cmp-timeline li { position: relative; padding: 0 0 18px 22px; display: grid; }
.cmp-timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); }
.cmp-timeline b { color: var(--green-dark); font-size: 13px; }

/* Scholarship / test */
.cmp-center { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%); color: var(--white); text-align: center; padding: 80px 0; overflow: hidden; }
.cmp-center::before { content: ""; position: absolute; inset: 0; background: var(--cmp-img, none) center / cover; opacity: .14; }
.cmp-center .container { position: relative; }
.cmp-center h1 { color: var(--white); }
.cmp-center .cmp-sub { margin: 0 auto; color: #d8deea; }
.cmp-count-label { margin: 30px 0 10px; color: var(--green); font-weight: 600; font-size: 14px; }
.cmp-countdown { display: inline-grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.cmp-countdown div { min-width: 84px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 12px 8px; }
.cmp-countdown b { display: block; font-size: 34px; font-weight: 800; color: var(--green); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cmp-countdown span { font-size: 12px; color: #c9d2e6; text-transform: uppercase; letter-spacing: .08em; }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cmp-card { background: var(--cream); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.cmp-card span { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 800; }
.cmp-card p { font-weight: 500; padding-top: 5px; }

/* Simple */
.cmp-simple { text-align: center; }
.cmp-simple .container { display: grid; justify-items: center; }
.cmp-simple__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); }
.cmp-simple h1 { color: var(--navy); }
.cmp-simple .cmp-sub { color: var(--muted); }
.cmp-simple .cmp-body { margin-top: 18px; }
.cmp-simple .cmp-form { width: 100%; margin-top: 32px; text-align: left; }

.cmp-call { background: var(--green-light); padding: 22px 0; }
.cmp-call .container { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-bn); }

@media (max-width: 820px) {
  .cmp-hero__grid, .cmp-split { grid-template-columns: 1fr; gap: 32px; }
  .cmp-banner { padding: 64px 0 100px; }
  .cmp-countdown div { min-width: 0; }
  .cmp-countdown b { font-size: 26px; }
}
@media (max-width: 560px) { .cmp-countdown { gap: 6px; } .cmp .form-grid { grid-template-columns: 1fr; } }
