/* ==========================================================================
   Yashri Coaching Academy
   Bright, rounded "coaching institute" look: white surfaces, trust-blue +
   energy-orange palette, pill buttons and icon cards.
   ========================================================================== */

:root {
  --paper:        #FFFFFF;
  --paper-dim:    #F2F5FB;
  --ink:          #1B2333;
  --ink-soft:     #5B6478;
  --olive:        #14356E;   /* primary blue (name kept from earlier versions) */
  --olive-dark:   #0C2750;   /* deep blue: hero, footer, headings */
  --olive-line:   #E3E8F2;   /* hairlines / card borders */
  --brass:        #1D63D6;   /* bright blue accent */
  --brass-bright: #2E7BF6;
  --signal:       #F2661D;   /* orange: calls to action */
  --signal-bright:#FF7B36;
  --cream:        #FFFFFF;
  --gold:         #FFC24D;

  --grad-ring: conic-gradient(from 200deg, #2F6FED, #7B3FE4, #E23F8B, #F5A623, #E3B23C, #2F6FED);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  --container: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(20,53,110,0.08);
  --shadow-hover: 0 14px 32px rgba(20,53,110,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--olive-dark);
  font-weight: 700;
}
p { margin: 0 0 1em; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* spacing helpers */
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 34px; }
.mt-lg { margin-top: 34px; display: inline-flex; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  background: rgba(29,99,214,0.09);
  padding: 6px 14px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------- */
.command-bar {
  background: #fff;
  border-bottom: 1px solid var(--olive-line);
  box-shadow: 0 2px 12px rgba(20,53,110,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
.command-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  padding: 2px;
  background: var(--grad-ring);
}
.brand__mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.brand__text { line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--olive-dark); }
.brand__tagline { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; color: var(--brass); text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: var(--paper-dim);
  border: 1px solid var(--olive-line);
  border-radius: var(--radius-sm);
  color: var(--olive-dark);
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.command-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.command-nav > a,
.nav-drop__toggle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 10px 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.command-nav > a:hover, .command-nav > a.is-active,
.nav-drop__toggle:hover, .nav-drop.is-active .nav-drop__toggle, .nav-drop.is-open .nav-drop__toggle {
  color: var(--brass);
  background: rgba(29,99,214,0.08);
}

.command-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  background: var(--signal);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(242,102,29,0.3);
  transition: background 0.15s ease, transform 0.15s ease;
}
.command-cta:hover { background: var(--signal-bright); transform: translateY(-1px); }

/* Courses dropdown (a centred panel under the header) */
.nav-drop { position: static; }
.nav-drop__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, calc(100vw - 32px));
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--olive-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 22px 24px;
  z-index: 70;
}
.nav-drop__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-drop.is-open .nav-drop__panel { display: grid; }
@media (hover: hover) and (min-width: 901px) {
  .nav-drop:hover .nav-drop__panel,
  .nav-drop:focus-within .nav-drop__panel { display: grid; }
}
.nav-drop__title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 8px;
}
.command-nav .nav-drop__panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink);
  background: none;
}
.command-nav .nav-drop__panel a:hover,
.command-nav .nav-drop__panel a.is-active { background: rgba(29,99,214,0.08); color: var(--brass); }

/* --------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-sm { padding: 9px 18px; font-size: 0.78rem; }
.btn-primary { background: var(--signal); color: #fff; border-color: var(--signal); box-shadow: 0 8px 20px rgba(242,102,29,0.28); }
.btn-primary:hover { background: var(--signal-bright); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--olive-dark); border-color: var(--olive-line); }
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }
.btn-outline--light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline--light:hover { background: #fff; color: var(--olive-dark); }
.btn-dark { background: var(--olive-dark); color: #fff; border-color: var(--olive-dark); }
.btn-dark:hover { background: var(--olive); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1fb858; transform: translateY(-2px); }
.btn-danger { background: #fff; color: #B23A1F; border-color: #F0C5BA; }
.btn-danger:hover { background: #B23A1F; color: #fff; border-color: #B23A1F; }

/* --------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------- */
.bulletin {
  background: linear-gradient(135deg, var(--olive-dark) 0%, #14356E 55%, #1D63D6 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bulletin::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.10), transparent 45%),
                    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.06), transparent 40%);
  pointer-events: none;
}
.bulletin__inner {
  position: relative;
  padding: 72px 28px 60px;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) { .bulletin__inner { grid-template-columns: 1fr; padding-top: 88px; } }
.bulletin__stamp {
  position: absolute;
  top: 28px;
  right: 28px;
  background: var(--signal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(242,102,29,0.35);
}
.bulletin .eyebrow { background: rgba(255,255,255,0.14); color: #fff; }
.bulletin h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.1;
  margin: 18px 0 12px;
  max-width: 15ch;
  font-weight: 800;
}
.bulletin h1 em { font-style: normal; color: var(--gold); }
.bulletin__motto {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  font-size: 1.02rem;
  margin-bottom: 14px;
}
.bulletin__sub { font-size: 1.04rem; color: rgba(255,255,255,0.86); max-width: 54ch; margin-bottom: 26px; }
.bulletin__tracks { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.bulletin__tracks span { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); padding: 7px 16px; border-radius: 999px; }
.bulletin__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bulletin__crest {
  justify-self: center;
  width: min(300px, 68%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 6px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.bulletin__crest img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* key-number strip */
.stat-strip { background: var(--paper-dim); border-bottom: 1px solid var(--olive-line); }
.stat-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
@media (max-width: 800px) { .stat-strip__inner { grid-template-columns: repeat(2, 1fr); } }
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; color: var(--signal); }
.stat span { font-size: 0.84rem; color: var(--ink-soft); display: block; }

.about-split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 46px; align-items: center; }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }
.about-split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.about-split p { color: var(--ink-soft); }
.motto-card { justify-self: center; width: min(240px, 70%); padding: 6px; border-radius: 50%; background: var(--grad-ring); box-shadow: var(--shadow-hover); }
.motto-card img { border-radius: 50%; width: 100%; }

/* --------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------- */
.section { padding: 64px 0; }
.section--dim { background: var(--paper-dim); }
.section__head { margin-bottom: 36px; max-width: 62ch; }
.section__head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 14px 0 10px; }
.section__head p { color: var(--ink-soft); font-size: 1.02rem; }

.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.roster--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .roster, .roster--2 { grid-template-columns: 1fr; } }

.roster-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--olive-line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.roster-card:hover { transform: translateY(-4px); border-color: rgba(29,99,214,0.3); box-shadow: var(--shadow-hover); }
.roster-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(29,99,214,0.1);
  color: var(--brass);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.roster-card__icon span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 10px; }
.roster-card__icon svg { width: 100%; height: 100%; display: block; }
.roster-card:hover .roster-card__icon { background: var(--signal); color: #fff; transform: scale(1.06); }
.roster-card__code { font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em; color: var(--brass); margin-bottom: 8px; display: block; }
.roster-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.roster-card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 16px; flex: 1; }
.roster-card__link { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--olive-dark); border-top: 1px solid var(--olive-line); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.roster-card:hover .roster-card__link { color: var(--signal); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }
.feature { background: #fff; border: 1px solid var(--olive-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature__index { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; color: #fff; background: var(--brass); width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.mt-sm.features, .features.mt-sm { margin-top: 18px; }

.link-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
@media (max-width: 700px) { .link-row { grid-template-columns: 1fr; } }
.link-card { display: block; background: linear-gradient(120deg, #fff, #F2F7FF); border: 1px solid var(--olive-line); border-left: 4px solid var(--signal); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.link-card b { display: block; font-family: var(--font-display); color: var(--olive-dark); margin-bottom: 2px; }
.link-card span { font-size: 0.88rem; color: var(--brass); font-weight: 500; }

/* --------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------- */
.page-hero { background: linear-gradient(135deg, var(--olive-dark) 0%, #14356E 60%, #1D63D6 140%); color: #fff; padding: 46px 0 40px; }
.page-hero__inner { display: flex; align-items: flex-start; gap: 22px; }
@media (max-width: 620px) { .page-hero__inner { flex-direction: column; } }
.page-hero__icon { display: inline-flex; flex: none; width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); }
.page-hero__icon span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 12px; color: var(--gold); }
.page-hero__icon svg { width: 100%; height: 100%; display: block; }
.page-hero__code { font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.04em; color: var(--gold); text-transform: uppercase; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.7rem); margin: 10px 0 8px; }
.page-hero__full { font-weight: 500; font-size: 0.92rem; color: rgba(255,255,255,0.78); margin-bottom: 12px; }
.page-hero p.lede { max-width: 66ch; color: rgba(255,255,255,0.88); font-size: 1.03rem; margin: 0; }
.breadcrumb { font-family: var(--font-display); font-weight: 600; font-size: 0.74rem; color: var(--gold); margin-bottom: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold); }

/* --------------------------------------------------------------------
   Detail pages
   -------------------------------------------------------------------- */
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 46px; align-items: start; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }

.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { font-size: 1.15rem; }
.prose p { color: #3A4458; font-size: 1.02rem; }

.subject-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.subject-tags span { font-family: var(--font-display); font-weight: 600; font-size: 0.76rem; background: rgba(29,99,214,0.09); color: var(--brass); padding: 8px 14px; border-radius: 999px; }

.checklist { list-style: none; margin: 18px 0; padding: 0; }
.checklist li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--olive-line); font-size: 0.98rem; }
.checklist li:first-child { border-top: none; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--signal); color: #fff; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.side-card { background: #fff; border: 1px solid var(--olive-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 92px; }
@media (max-width: 820px) { .side-card { position: static; } }
.side-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.side-card .field { font-size: 0.94rem; padding: 10px 0; border-top: 1px solid var(--olive-line); display: flex; justify-content: space-between; gap: 12px; }
.side-card .field:first-of-type { border-top: none; }
.side-card .field b { font-weight: 700; color: var(--olive-dark); text-align: right; }
.side-card .btn { width: 100%; margin-top: 12px; }
.side-card .btn:first-of-type { margin-top: 18px; }
.branch-mini { padding: 10px 0; border-top: 1px solid var(--olive-line); font-size: 0.92rem; }
.branch-mini:first-of-type { border-top: none; }
.branch-mini b { display: block; color: var(--olive-dark); font-family: var(--font-display); }
.branch-mini span { color: var(--ink-soft); }

.facts-table, .data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.facts-table { margin: 12px 0 0; border: 1px solid var(--olive-line); border-radius: var(--radius-sm); overflow: hidden; }
.facts-table th, .facts-table td { text-align: left; padding: 13px 16px; border-top: 1px solid var(--olive-line); vertical-align: top; }
.facts-table tr:first-child th, .facts-table tr:first-child td { border-top: none; }
.facts-table th { width: 34%; background: var(--paper-dim); color: var(--olive-dark); font-family: var(--font-display); font-weight: 600; }
.table-scroll { overflow-x: auto; margin-top: 12px; border: 1px solid var(--olive-line); border-radius: var(--radius-sm); }
.data-table { min-width: 640px; }
.data-table th, .data-table td { text-align: left; padding: 13px 16px; border-top: 1px solid var(--olive-line); vertical-align: top; }
.data-table thead th { background: var(--olive-dark); color: #fff; font-family: var(--font-display); font-size: 0.8rem; border-top: none; }
.data-table tbody th { color: var(--olive-dark); font-family: var(--font-display); font-weight: 600; background: var(--paper-dim); }

.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: tier; }
.tier { display: flex; gap: 18px; background: #fff; border: 1px solid var(--olive-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.tier__num { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--signal); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tier h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tier p { margin: 0 0 4px; color: var(--ink-soft); font-size: 0.96rem; }
.tier p b { color: var(--olive-dark); }

/* --------------------------------------------------------------------
   Admission strip
   -------------------------------------------------------------------- */
.admission-strip { background: linear-gradient(120deg, var(--signal), #FF9147); color: #fff; padding: 44px 0; }
.admission-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.admission-strip .eyebrow { background: rgba(255,255,255,0.2); color: #fff; }
.admission-strip h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 10px 0 0; }
.admission-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { border-top: 1px solid var(--olive-line); padding: 16px 0; display: flex; gap: 16px; }
.info-card:first-of-type { border-top: none; }
.info-card__icon { font-size: 1.1rem; background: rgba(29,99,214,0.09); border-radius: 12px; width: 42px; height: 42px; flex: none; display: flex; align-items: center; justify-content: center; }
.info-card h4 { margin-bottom: 2px; font-size: 0.98rem; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.info-card a:hover { color: var(--brass); }

.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .branch-grid { grid-template-columns: 1fr; } }
.branch-card { background: #fff; border: 1px solid var(--olive-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.branch-card h3 { font-size: 1.15rem; }
.branch-card p { color: var(--ink-soft); }
.map-frame { border: 1px solid var(--olive-line); border-radius: var(--radius-sm); overflow: hidden; margin: 14px 0; }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; color: var(--olive-dark); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; background: var(--paper-dim); border: 1px solid var(--olive-line); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brass); background: #fff; box-shadow: 0 0 0 3px rgba(29,99,214,0.14); }
.form-field textarea { resize: vertical; min-height: 110px; }
.hint { font-size: 0.84rem; color: var(--ink-soft); }

.form-note { background: rgba(29,99,214,0.08); color: var(--olive-dark); padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 22px; border-left: 3px solid var(--brass); }
.form-success { background: #E9F9EE; color: #146C34; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; border-left: 3px solid #2FA85A; font-size: 0.92rem; }
.form-error { background: #FDECE8; color: #B23A1F; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; border-left: 3px solid var(--signal); font-size: 0.9rem; }

/* --------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid--home { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .gallery-grid, .gallery-grid--home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery-grid, .gallery-grid--home { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper-dim); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 0.8rem; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(12,39,80,0.85)); opacity: 0; transition: opacity 0.2s ease; }
.gallery-item:hover .gallery-item__cap, .gallery-item:focus-visible .gallery-item__cap { opacity: 1; }
@media (hover: none) { .gallery-item__cap { opacity: 1; } }

.empty-state { text-align: center; padding: 56px 20px; background: var(--paper-dim); border-radius: var(--radius); }
.empty-state p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 18px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,20,40,0.94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 8px; }
.lightbox__figure figcaption { color: #fff; margin-top: 12px; font-size: 0.95rem; min-height: 1.4em; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,0.14); color: #fff; border: none; border-radius: 50%; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background 0.15s ease; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--signal); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* gallery manager */
.admin-login { max-width: 420px; background: #fff; border: 1px solid var(--olive-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin: 0 auto; }
.admin-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.admin-upload { background: var(--paper-dim); border: 1px solid var(--olive-line); border-radius: var(--radius); padding: 26px; max-width: 640px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 16px; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .admin-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.admin-card { background: #fff; border: 1px solid var(--olive-line); border-radius: var(--radius-sm); padding: 10px; box-shadow: var(--shadow); }
.admin-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.admin-card__caption { display: flex; gap: 6px; margin-bottom: 8px; }
.admin-card__caption input { flex: 1; min-width: 0; border: 1px solid var(--olive-line); border-radius: 8px; padding: 7px 10px; font-size: 0.82rem; font-family: var(--font-body); }
.admin-card .btn-danger { width: 100%; }

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.site-footer { background: var(--olive-dark); color: rgba(255,255,255,0.75); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 34px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 0.92rem; }
.footer-branch { margin-bottom: 12px; }
.footer-branch strong { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover, .footer-grid p a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* --------------------------------------------------------------------
   Floating WhatsApp + Call buttons
   -------------------------------------------------------------------- */
.floating-contact { position: fixed; right: 20px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.floating-contact__btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 18px rgba(20,53,110,0.28); border: 2px solid rgba(255,255,255,0.85); transition: transform 0.15s ease, box-shadow 0.15s ease; position: relative; }
.floating-contact__btn svg { width: 26px; height: 26px; }
.floating-contact__btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 24px rgba(20,53,110,0.34); }
.floating-contact__btn--whatsapp { background: #25D366; }
.floating-contact__btn--call { background: var(--signal); }
.floating-contact__label { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--olive-dark); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; border-radius: 999px; padding: 7px 14px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.floating-contact__btn:hover .floating-contact__label, .floating-contact__btn:focus-visible .floating-contact__label { opacity: 1; }
.floating-contact__btn--whatsapp::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #25D366; animation: floatPulse 2.4s ease-out 2; }
@keyframes floatPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }

.call-menu { position: relative; }
.call-menu__panel { display: none; position: absolute; right: 68px; bottom: 0; min-width: 210px; background: #fff; border: 1px solid var(--olive-line); border-radius: 14px; box-shadow: var(--shadow-hover); padding: 10px; }
.call-menu.is-open .call-menu__panel { display: block; }
.call-menu__title { display: block; font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); padding: 4px 10px 6px; }
.call-menu__panel a { display: block; padding: 10px 12px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--olive-dark); }
.call-menu__panel a:hover { background: rgba(242,102,29,0.1); color: var(--signal); }

@media (max-width: 620px) {
  .floating-contact { right: 14px; bottom: 18px; gap: 12px; }
  .floating-contact__btn { width: 50px; height: 50px; }
  .floating-contact__btn svg { width: 23px; height: 23px; }
  .floating-contact__label { display: none; }
  .call-menu__panel { right: 62px; }
}

/* --------------------------------------------------------------------
   Mobile navigation
   -------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .command-bar__inner { flex-wrap: wrap; }
  .command-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; border-top: 1px solid var(--olive-line); padding-top: 8px; }
  .command-nav.is-open { display: flex; }
  .command-nav > a, .nav-drop__toggle { padding: 12px 14px; text-align: left; width: 100%; }
  .nav-drop__panel { position: static; transform: none; width: 100%; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 4px 0 8px 12px; gap: 12px; }
  .nav-drop__panel::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}

/* ==========================================================================
   Design polish (v2): top bar, richer hero, colour-coded cards, icon
   features, scroll reveal, stronger footer and call-to-action bands.
   Rules here intentionally build on / override the base styles above.
   ========================================================================== */

.center { text-align: center; }
.section { padding: 84px 0; }
@media (max-width: 700px) { .section { padding: 58px 0; } }

/* ---- Top contact bar ---- */
.topbar { background: #081C3D; color: rgba(255,255,255,0.82); font-size: 0.8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__motto { color: var(--gold); font-weight: 500; }
.topbar a { transition: color 0.15s ease; }
.topbar a:hover { color: var(--gold); }
.topbar__badge { background: var(--signal); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; }
@media (max-width: 900px) { .topbar__motto { display: none; } }
@media (max-width: 700px) { .topbar__left { display: none; } .topbar__inner { justify-content: center; } .topbar__right { justify-content: center; gap: 14px; } }

.command-bar { box-shadow: 0 6px 22px rgba(12,39,80,0.07); }
.brand__mark { width: 50px; height: 50px; }
.command-cta { padding: 12px 22px; }

/* ---- Hero ---- */
.bulletin { background: radial-gradient(1200px 520px at 85% -10%, rgba(46,123,246,0.55), transparent 60%), linear-gradient(135deg, #07193A 0%, #0C2750 45%, #14409A 100%); }
.bulletin::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%); mask-image: linear-gradient(115deg, transparent 35%, #000 100%); pointer-events: none; }
.bulletin__inner { padding: 78px 28px 116px; z-index: 1; }
.bulletin h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); letter-spacing: -0.02em; }
.bulletin__tracks span { backdrop-filter: blur(4px); }
.bulletin .btn-primary { padding: 15px 28px; }

.bulletin__visual { position: relative; width: min(400px, 100%); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.bulletin__visual .bulletin__crest { width: 62%; position: relative; z-index: 2; justify-self: auto; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,0.28); }
.orbit--1 { inset: 9%; }
.orbit--2 { inset: -1%; border-style: solid; border-color: rgba(255,255,255,0.10); }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--olive-dark); font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; padding: 7px 14px 7px 8px; border-radius: 999px; box-shadow: 0 12px 28px rgba(0,0,0,0.25); animation: chipFloat 6s ease-in-out infinite; }
.chip i { display: inline-flex; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #F2F5FB; }
.chip i svg { width: 100%; height: 100%; }
.chip--a { top: 6%; left: -2%; }
.chip--b { top: 24%; right: -6%; animation-delay: -1.5s; }
.chip--c { bottom: 20%; left: -8%; animation-delay: -3s; }
.chip--d { bottom: 3%; right: 0; animation-delay: -4.5s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 880px) { .bulletin__visual { width: min(330px, 86%); margin-top: 10px; } .bulletin__inner { padding-bottom: 100px; } }
@media (max-width: 520px) { .chip { font-size: 0.7rem; padding: 5px 10px 5px 6px; } .chip--b { right: -2%; } .chip--c { left: -2%; } }

/* ---- Floating key-numbers card ---- */
.stat-strip { background: transparent; border: 0; margin-top: -58px; position: relative; z-index: 4; }
.stat-strip__card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--olive-line); border-radius: 22px; box-shadow: 0 24px 56px rgba(12,39,80,0.18); padding: 28px 8px; }
.stat-strip__card .stat { padding: 4px 26px; }
.stat-strip__card .stat + .stat { border-left: 1px solid var(--olive-line); }
.stat b { font-size: 2.1rem; background: linear-gradient(120deg, var(--signal), #FF9147); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 800px) {
  .stat-strip__card { grid-template-columns: repeat(2, 1fr); row-gap: 20px; padding: 22px 6px; }
  .stat-strip__card .stat:nth-child(3) { border-left: 0; }
}

/* ---- Section headings ---- */
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 66ch; }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); letter-spacing: -0.02em; }
.section__head--center h2::after { content: ''; display: block; width: 56px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--signal), #FFB347); }

/* ---- Colour-coded course cards ---- */
.roster-card { --accent: #1D63D6; --accent-soft: rgba(29,99,214,0.1); overflow: hidden; padding-top: 30px; }
.roster-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--accent); }
.roster-card__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.roster-card:hover .roster-card__icon { background: var(--accent); color: #fff; }
.roster-card__code { color: var(--accent); }
.roster-card h3 { font-size: 1.18rem; }
.roster-card:hover { border-color: var(--accent); }
.roster-card:hover .roster-card__link { color: var(--accent); }
.roster-card__link span { transition: transform 0.15s ease; }
.roster-card:hover .roster-card__link span { transform: translateX(4px); }

/* ---- Feature cards with icons ---- */
.feature { padding: 28px 24px; position: relative; overflow: hidden; }
.feature::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(29,99,214,0.09), transparent 70%); }
.feature__icon { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #1D63D6, #2E7BF6); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 10px 20px rgba(29,99,214,0.28); }
.feature__icon svg { width: 27px; height: 27px; }
.feature:nth-child(even) .feature__icon { background: linear-gradient(135deg, #F2661D, #FF9147); box-shadow: 0 10px 20px rgba(242,102,29,0.28); }
.feature h4 { font-size: 1.05rem; }

/* ---- Interior page headers ---- */
.page-hero { position: relative; overflow: hidden; padding: 58px 0 52px; background: linear-gradient(135deg, #07193A 0%, #0C2750 50%, #14409A 100%); }
.page-hero::before { content: ''; position: absolute; right: -90px; top: -130px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--accent, #2E7BF6) 0%, transparent 66%); opacity: 0.45; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 100%); mask-image: linear-gradient(100deg, transparent 40%, #000 100%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__icon { width: 62px; height: 62px; border-radius: 18px; background: rgba(255,255,255,0.12); }
.page-hero h1 { letter-spacing: -0.02em; }

/* ---- Side card + at-a-glance badges ---- */
.side-card { border-top: 4px solid var(--accent, var(--signal)); }
.badge-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 28px; }
.badge-row > div { background: linear-gradient(135deg, #F2F7FF, #fff); border: 1px solid var(--olive-line); border-radius: 14px; padding: 16px 12px; text-align: center; box-shadow: var(--shadow); }
.badge-row b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; color: var(--signal); }
.badge-row span { font-size: 0.78rem; color: var(--ink-soft); }
@media (max-width: 480px) { .badge-row { grid-template-columns: 1fr; } }

/* ---- Call-to-action band ---- */
.admission-strip { position: relative; overflow: hidden; padding: 56px 0; background: linear-gradient(120deg, #E8560F, #FF8A3D); }
.admission-strip::before, .admission-strip::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.10); }
.admission-strip::before { width: 280px; height: 280px; left: -80px; top: -120px; }
.admission-strip::after { width: 200px; height: 200px; right: 8%; bottom: -110px; }
.admission-strip__inner { position: relative; z-index: 1; }
.admission-strip h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }

/* ---- Footer ---- */
.site-footer { position: relative; background: linear-gradient(180deg, #0A2147 0%, #07193A 100%); padding-top: 60px; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #2F6FED, #7B3FE4, #E23F8B, #F5A623, #E3B23C); }
.footer-grid h4 { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.footer-links a { transition: color 0.15s ease, padding-left 0.15s ease; }
.footer-links a:hover { padding-left: 4px; }

/* ---- Scroll reveal (only active when JavaScript is running) ---- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Hover polish ---- */
.btn { letter-spacing: 0.01em; }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(242,102,29,0.38); }
.link-card { border-left-width: 5px; }
.gallery-item { box-shadow: var(--shadow); }

/* Compact mobile header: crest + name, menu button; the phone numbers live in the top bar */
@media (max-width: 600px) {
  .command-cta { display: none; }
  .nav-toggle { margin-left: auto; }
}
