/* ========================================================
   BVS School Theme — main.css  v1.0.0
   Royal Blue & Gold child-friendly colour scheme
   ======================================================== */

/* ── Variables ── */
:root {
  --primary:    #1a3a8f;
  --primary-dk: #0f2566;
  --primary-lt: #2d55cc;
  --accent:     #f5a623;
  --accent-lt:  #fff8e6;
  --forest:     #1e7e3a;
  --forest-lt:  #e6f7eb;
  --sky:        #0097a7;
  --sky-lt:     #e0f7fa;
  --cream:      #f0f6ff;
  --cream-dk:   #ddeeff;
  --text:       #12203a;
  --text-mid:   #2a3a5c;
  --text-muted: #5a6a8a;
  --border:     #c8daf5;
  --white:      #ffffff;
  --shadow:     0 2px 16px rgba(15,30,90,0.07);
  --shadow-lg:  0 8px 40px rgba(15,30,90,0.12);
  --r:     12px;
  --r-lg:  20px;
  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }

/* ── Rainbow bar ── */
.bvs-rainbow-bar {
  height: 5px;
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: linear-gradient(90deg,#f5a623 0%,#e53935 18%,#8e24aa 35%,#1a3a8f 50%,#0097a7 67%,#1e7e3a 83%,#f5a623 100%);
}

/* ── Top contact bar ── */
.bvs-topbar {
  background: var(--primary-dk);
  padding: 7px 24px;
  font-size: 12.5px;
}
.bvs-topbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.topbar-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.65);
}
.topbar-item svg { opacity: .7; }
.topbar-admin-link {
  margin-left: auto;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
}
.topbar-admin-link:hover { text-decoration: underline; }

/* ── Navigation ── */
.bvs-nav {
  position: sticky; top: 5px; z-index: 1000;
  background: rgba(15,37,102,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(245,166,35,0.4);
  transition: box-shadow .3s;
}
.bvs-nav.scrolled { box-shadow: 0 4px 24px rgba(10,20,60,.25); }
.bvs-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; height: 64px; padding: 0 24px; gap: 0;
}
.bvs-nav-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; margin-right: auto;
}
.nav-emblem {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.25); flex-shrink: 0;
  color: var(--primary-dk);
}
.nav-txt strong {
  display: block; font-family: var(--font-head);
  font-size: 15px; color: #fff; font-weight: 900;
}
.nav-txt span { font-size: 10.5px; color: rgba(255,255,255,.5); letter-spacing: .5px; }
.bvs-nav-links { display: flex; align-items: center; gap: 2px; }
.bvs-nav-links li { list-style: none; position: relative; }
.bvs-nav-links li > a,
.bvs-nav-links li > span {
  display: block; padding: 8px 12px;
  color: rgba(255,255,255,.78);
  font-size: 13px; font-weight: 700;
  border-radius: 6px; cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.bvs-nav-links li > a:hover,
.bvs-nav-links li > span:hover { color: #fff; background: rgba(255,255,255,.1); }
.bvs-nav-links .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 6px; box-shadow: var(--shadow-lg);
  display: none; list-style: none;
}
.bvs-nav-links li:hover > .sub-menu { display: block; }
.bvs-nav-links .sub-menu li a {
  display: block; padding: 9px 12px;
  color: var(--text-mid); font-size: 13px;
  text-decoration: none; border-radius: 7px; transition: all .15s;
}
.bvs-nav-links .sub-menu li a:hover { background: var(--cream); color: var(--primary); }
.nav-btns { display: flex; gap: 8px; margin-left: 14px; }
.nav-btns a { text-decoration: none; }
.btn-o {
  padding: 7px 14px; border: 1.5px solid rgba(245,166,35,.7);
  background: transparent; color: var(--accent);
  border-radius: 6px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: all .18s;
}
.btn-o:hover { background: rgba(245,166,35,.15); }
.btn-s {
  padding: 7px 14px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff;
  border-radius: 6px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: all .18s;
}
.btn-s:hover { background: #d4870a; }

/* ── Mobile menu toggle ── */
.bvs-menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; margin-left: 12px;
}
.bvs-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 4px 0; transition: .3s;
}
.bvs-menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.bvs-menu-toggle.open span:nth-child(2) { opacity: 0; }
.bvs-menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* ── Ticker ── */
.bvs-ticker {
  background: var(--primary-dk);
  border-bottom: 2px solid rgba(245,166,35,.3);
  padding: 10px 0; overflow: hidden;
}
.bvs-ticker-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; padding: 0 24px;
}
.t-label {
  background: var(--accent); color: #fff;
  padding: 3px 16px; font-size: 11.5px;
  font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.t-scroll { flex: 1; overflow: hidden; margin-left: 14px; }
.t-text {
  display: inline-block; white-space: nowrap;
  color: rgba(255,255,255,.78); font-size: 13px; font-weight: 600;
  animation: ticker 32s linear infinite;
}
.t-text a { color: rgba(255,255,255,.9); text-decoration: none; }
.t-text a:hover { color: var(--accent); }
@keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* ── Sections ── */
.sec { padding: 76px 24px; }
.sec-in { max-width: 1200px; margin: 0 auto; }
.sec-cream { background: var(--cream); }
.sec-maroon, .sec-primary { background: var(--primary); }
.sec-gradient { background: linear-gradient(160deg, var(--primary-dk) 0%, var(--primary) 100%); }
.sec-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-lt); border: 1px solid rgba(245,166,35,.28);
  color: var(--accent); padding: 5px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; margin-bottom: 13px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900; color: var(--primary);
  line-height: 1.22; margin-bottom: 10px;
}
.sec-sub {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.7; max-width: 560px;
}
.on-dark .sec-title { color: #fff; }
.on-dark .sec-sub   { color: rgba(255,255,255,.62); }
.on-dark .sec-tag   { background: rgba(245,166,35,.18); border-color: rgba(245,166,35,.4); color: #ffe680; }

/* ── Hero ── */
.bvs-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--hero-bg, url('assets/images/hero-default.jpg')) center/cover no-repeat;
}
.hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,30,100,.9) 0%, rgba(10,30,100,.72) 48%, rgba(5,15,50,.50) 100%);
}
.hero-in {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 400px; gap: 52px; align-items: center;
  width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,.18); border: 1px solid rgba(245,166,35,.5);
  color: #ffe680; padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .4px; margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(30px,4.2vw,52px);
  color: #fff; line-height: 1.18; font-weight: 900; margin-bottom: 18px;
}
.hero-title em { color: #ffe680; font-style: normal; }
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.72);
  line-height: 1.75; margin-bottom: 32px; max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-hp {
  padding: 13px 26px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--r); font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn-hp:hover { background: #d4870a; transform: translateY(-2px); }
.btn-hg {
  padding: 13px 26px; background: rgba(255,255,255,.1);
  color: #fff; border: 1.5px solid rgba(255,255,255,.35);
  border-radius: var(--r); font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); transition: all .2s; text-decoration: none;
}
.btn-hg:hover { background: rgba(255,255,255,.18); }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hs { border-left: 3px solid var(--accent); padding-left: 14px; }
.hs-n { font-family: var(--font-head); font-size: 26px; font-weight: 900; color: #fff; line-height: 1; }
.hs-l { font-size: 12px; color: rgba(255,255,255,.48); margin-top: 3px; }
.hero-side { display: flex; flex-direction: column; gap: 13px; }
.hc {
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); overflow: hidden;
}
.hc-img { height: 155px; overflow: hidden; }
.hc-img img { width: 100%; height: 100%; object-fit: cover; }
.hc-body { padding: 15px 18px; }
.hc-body h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.hc-body p  { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.5; }
.hc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.hc-mini {
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 16px; text-align: center;
}
.hc-mini .num { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: #ffe680; line-height: 1; }
.hc-mini .lbl { font-size: 11.5px; color: rgba(255,255,255,.52); margin-top: 4px; font-weight: 600; }

/* ── About strip ── */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.ab-img { position: relative; min-height: 400px; }
.ab-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,28,90,.86));
  padding: 40px 24px 20px;
}
.ab-cap p  { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; }
.ab-cap strong { color: #fff; display: block; font-size: 15px; margin-top: 2px; font-family: var(--font-head); }
.ab-text { padding: 44px; background: #fff; }
.ab-text h2 { font-family: var(--font-head); font-size: 27px; font-weight: 900; color: var(--primary); line-height: 1.25; margin-bottom: 15px; }
.ab-text p  { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 15px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
.pill { padding: 5px 13px; border-radius: 100px; font-size: 12px; font-weight: 700; background: var(--cream-dk); color: var(--primary); border: 1px solid var(--border); }

/* ── Feature cards ── */
.feats { display: grid; grid-template-columns: repeat(auto-fill,minmax(268px,1fr)); gap: 22px; margin-top: 48px; }
.feat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all .25s; }
.feat:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feat-img { height: 178px; overflow: hidden; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.feat:hover .feat-img img { transform: scale(1.05); }
.feat-body { padding: 22px; }
.feat-body h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feat-body p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.feat-acc { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ── Admission steps ── */
.adm-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; margin-top: 48px; }
.adm-steps::before { content: ''; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: rgba(255,255,255,.18); z-index: 0; }
.adm-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.adm-num { width: 54px; height: 54px; border-radius: 50%; background: rgba(245,166,35,.14); border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-size: 21px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.adm-step h4 { font-size: 14.5px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.adm-step p  { font-size: 13px; color: rgba(255,255,255,.52); line-height: 1.55; }

/* ── Testimonials ── */
.testis { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.testi { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 26px; transition: all .25s; }
.testi:hover { background: rgba(255,255,255,.12); }
.t-stars { color: #ffe680; font-size: 13px; letter-spacing: 2px; margin-bottom: 15px; }
.t-text  { font-size: 14.5px; color: rgba(255,255,255,.75); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.t-auth  { display: flex; align-items: center; gap: 12px; }
.t-av    { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(245,166,35,.5); flex-shrink: 0; }
.t-av img { width: 100%; height: 100%; object-fit: cover; }
.t-name  { font-size: 14px; font-weight: 800; color: #fff; }
.t-role  { font-size: 12px; color: rgba(255,255,255,.44); }

/* ── News ── */
.news-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 22px; margin-top: 48px; }
.news-big { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.news-big:hover { box-shadow: var(--shadow-lg); }
.nbig-img { height: 238px; overflow: hidden; }
.nbig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-big:hover .nbig-img img { transform: scale(1.04); }
.nbig-body { padding: 26px; }
.ncat { display: inline-block; padding: 3px 12px; border-radius: 100px; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: var(--accent-lt); color: var(--accent); margin-bottom: 11px; }
.nbig-body h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.35; }
.nbig-body p  { font-size: 14px; color: var(--text-muted); margin-bottom: 13px; line-height: 1.65; }
.nmeta { font-size: 12px; color: var(--text-muted); }
.news-side { display: flex; flex-direction: column; gap: 13px; }
.ncard { background: #fff; border: 1px solid var(--border); border-radius: var(--r); display: flex; gap: 13px; overflow: hidden; transition: all .2s; cursor: pointer; text-decoration: none; }
.ncard:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.nc-img { width: 88px; flex-shrink: 0; overflow: hidden; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; }
.nc-body { padding: 13px 13px 13px 0; }
.nc-cat { font-size: 10.5px; font-weight: 800; color: var(--forest); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.nc-body h5 { font-size: 13.5px; font-weight: 700; color: var(--primary); line-height: 1.4; margin-bottom: 4px; }
.nc-body span { font-size: 11.5px; color: var(--text-muted); }

/* ── Academics ── */
.ac-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 38px; }
.ac-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all .25s; }
.ac-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ac-img { height: 148px; overflow: hidden; }
.ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ac-card:hover .ac-img img { transform: scale(1.06); }
.ac-body { padding: 21px; }
.ac-body h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.ac-body p  { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.ac-badge { display: inline-block; margin-top: 10px; padding: 3px 12px; background: var(--accent-lt); color: var(--accent); border-radius: 100px; font-size: 11.5px; font-weight: 800; }

/* ── Facilities ── */
.fac-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 38px; }
.fac { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all .25s; }
.fac:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.fac-img { height: 172px; overflow: hidden; }
.fac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fac:hover .fac-img img { transform: scale(1.05); }
.fac-body { padding: 18px; }
.fac-body h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.fac-body p  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── Leadership grid ── */
.lead-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.lcard { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; text-align: center; transition: all .25s; }
.lcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.lphoto { height: 180px; overflow: hidden; background: var(--cream-dk); }
.lphoto img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lbody { padding: 17px; }
.lbody h4  { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.lbody .role { font-size: 13px; font-weight: 700; color: var(--accent); }
.lbody .qual { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── Gallery ── */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 10px; margin-top: 48px; }
.gi { border-radius: var(--r); overflow: hidden; position: relative; }
.gi:first-child { grid-row: span 2; }
.gi img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gi:hover img { transform: scale(1.05); }
.gi-lbl { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,rgba(10,28,90,.8)); padding: 32px 14px 12px; color: #fff; font-size: 13px; font-weight: 700; }

/* ── Enquiry form ── */
.enq-w { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.c-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 17px; }
.c-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-lt); border: 1px solid rgba(245,166,35,.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-info strong { display: block; font-size: 14px; font-weight: 800; color: var(--primary); }
.c-info span   { font-size: 13px; color: var(--text-muted); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 5px; letter-spacing: .2px; text-transform: uppercase; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 14px; color: var(--text);
  background: var(--cream); transition: border-color .2s; outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent); background: #fff; }
.fg textarea { resize: vertical; min-height: 80px; }
.btn-submit { width: 100%; padding: 13px; background: var(--primary); color: #fff; border: none; border-radius: var(--r); font-size: 15px; font-weight: 800; cursor: pointer; transition: all .2s; font-family: var(--font-body); margin-top: 4px; }
.btn-submit:hover { background: var(--primary-lt); transform: translateY(-1px); }
.form-success { display: none; text-align: center; padding: 30px; background: var(--forest-lt); border-radius: var(--r); border: 1px solid rgba(30,126,74,.2); }

/* ── Tabs ── */
.tab-nav { display: flex; gap: 4px; background: var(--cream-dk); padding: 4px; border-radius: var(--r); width: fit-content; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { padding: 7px 18px; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--text-muted); transition: all .18s; border: none; background: none; font-family: var(--font-body); }
.tab-btn.active { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.tc { display: none; }
.tc.active { display: block; }

/* ── Buttons ── */
.btn-prim { padding: 11px 22px; background: var(--primary); color: #fff; border: none; border-radius: var(--r); font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--font-body); text-decoration: none; display: inline-block; transition: all .2s; }
.btn-prim:hover { background: var(--primary-lt); }
.btn-sec  { padding: 11px 22px; background: #fff; color: var(--primary); border: 1.5px solid var(--border); border-radius: var(--r); font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--font-body); transition: all .2s; text-decoration: none; display: inline-block; }
.btn-sec:hover { border-color: var(--primary); }

/* ── Footer ── */
.bvs-footer-top { background: var(--primary-dk); padding: 56px 24px 40px; border-top: 3px solid var(--accent); }
.foot-in { max-width: 1200px; margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 44px; }
.foot-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.foot-name { font-family: var(--font-head); font-size: 15px; font-weight: 900; color: #fff; }
.foot-loc  { font-size: 11px; color: rgba(255,255,255,.45); }
.foot-desc { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.75; max-width: 270px; }
.foot-accred { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.foot-accred span { padding: 3px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 100px; font-size: 11px; color: rgba(255,255,255,.48); }
.foot-col h5 { font-size: 11px; font-weight: 800; color: rgba(255,255,255,.9); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; }
.foot-col a, .foot-nav li, .foot-nav a { display: block; font-size: 13.5px; color: rgba(255,255,255,.48); text-decoration: none; margin-bottom: 8px; cursor: pointer; font-weight: 500; transition: color .18s; list-style: none; }
.foot-col a:hover, .foot-nav a:hover { color: var(--accent); }
.bvs-footer-bottom { background: var(--primary-dk); border-top: 1px solid rgba(255,255,255,.08); padding: 18px 24px; }
.bvs-footer-bottom .foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.bvs-footer-bottom p { font-size: 12px; color: rgba(255,255,255,.38); }
.foot-bottom-links a { font-size: 12px; color: rgba(255,255,255,.38); text-decoration: none; margin-left: 14px; }
.foot-bottom-links a:hover { color: var(--accent); }

/* ── Animations ── */
.bvs-animate { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.bvs-visible  { opacity: 1; transform: translateY(0); }

/* ── Shortcode: stats bar ── */
.bvs-stats-bar { display: flex; gap: 28px; flex-wrap: wrap; padding: 32px 0; }
.bvs-stats-bar .hs { border-left: 3px solid var(--accent); padding-left: 14px; }
.bvs-stats-bar .hs-n { font-family: var(--font-head); font-size: 26px; font-weight: 900; color: var(--primary); line-height: 1; }
.bvs-stats-bar .hs-l { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── Shortcode: notice board ── */
.bvs-notice-board { display: flex; flex-direction: column; gap: 12px; }
.bvs-notice-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 16px; border-left: 4px solid var(--primary); }
.bvs-notice-item.bvs-notice-urgent { border-left-color: #c0392b; }
.bvs-notice-cat { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--sky); margin-bottom: 5px; }
.bvs-notice-item h4 { font-size: 14.5px; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.bvs-notice-item p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.bvs-notice-date { font-size: 11.5px; color: var(--text-muted); display: block; margin-top: 6px; }

/* ── Shortcode: fee portal ── */
.bvs-fee-portal { max-width: 480px; }

/* ── Single post / page ── */
.bvs-article { max-width: 820px; margin: 0 auto; }
.bvs-article .entry-title { font-family: var(--font-head); font-size: clamp(24px,3.5vw,38px); font-weight: 900; color: var(--primary); margin-bottom: 16px; line-height: 1.2; }
.bvs-article .entry-content { font-size: 16px; line-height: 1.8; color: var(--text-mid); }
.bvs-article .entry-content h2 { font-family: var(--font-head); color: var(--primary); font-size: 24px; margin: 32px 0 12px; }
.bvs-article .entry-content h3 { font-family: var(--font-head); color: var(--primary); font-size: 20px; margin: 24px 0 10px; }
.bvs-article .entry-content p  { margin-bottom: 18px; }
.bvs-article .entry-content ul, .bvs-article .entry-content ol { padding-left: 24px; margin-bottom: 18px; }
.bvs-article .entry-content li { margin-bottom: 6px; }
.bvs-article .entry-content img { border-radius: var(--r); margin: 24px 0; }
.bvs-article .entry-content blockquote { border-left: 4px solid var(--accent); padding: 16px 20px; background: var(--accent-lt); border-radius: 0 var(--r) var(--r) 0; font-style: italic; color: var(--primary); margin: 24px 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-in   { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .about-strip { grid-template-columns: 1fr; }
  .news-grid   { grid-template-columns: 1fr; }
  .testis      { grid-template-columns: 1fr; }
  .enq-w       { grid-template-columns: 1fr; }
  .ac-grid     { grid-template-columns: 1fr 1fr; }
  .fac-grid    { grid-template-columns: 1fr 1fr; }
  .lead-grid   { grid-template-columns: 1fr 1fr; }
  .gallery     { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi:first-child { grid-column: span 2; grid-row: span 1; }
  .adm-steps   { grid-template-columns: 1fr 1fr; }
  .bvs-menu-toggle { display: block; }
  .bvs-nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-dk); padding: 12px; flex-direction: column; gap: 4px; }
  .bvs-nav.menu-open .bvs-nav-links { display: flex; }
  .bvs-nav-links li > .sub-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.05); }
  .bvs-nav-links li > a, .bvs-nav-links li > span { color: rgba(255,255,255,.85); }
  .nav-btns { margin-left: auto; }
}
@media (max-width: 600px) {
  .ac-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .fr { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec { padding: 48px 16px; }
}
