/* ══════════════════════════════════════
   San Isidro College — style.css
   School Blue Theme
   ══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0A2E6E;
  --blue:      #1565C0;
  --blue-mid:  #1976D2;
  --blue-lt:   #42A5F5;
  --sky:       #E3F2FD;
  --sky-alt:   #BBDEFB;
  --sky-soft:  #F0F8FF;
  --gold:      #F59E0B;
  --amber:     #FBBF24;
  --white:     #FFFFFF;
  --bg:        #F2F7FE;
  --ink:       #0D1E35;
  --muted:     #4A6080;
  --border:    #BDD4EE;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

/* ─── LAYOUT ─── */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── DEV BAR ─── */
.dev-bar {
  background: #0D3B7A;
  color: #A8C8EE;
  text-align: center;
  padding: 9px 20px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── NAV ─── */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 28px;
  box-shadow: 0 2px 20px rgba(10,46,110,0.35);
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  border: 1.5px solid var(--gold);
  background: rgba(255,255,255,0.08);
}
.nav-name {
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-name small {
  display: block;
  font-size: 0.68rem;
  font-family: 'DM Sans', sans-serif;
  opacity: 0.52;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* ─── ORNAMENT ─── */
.orn {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue-mid);
  margin-bottom: 20px;
}
.orn::before, .orn::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}
.orn span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 28px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.25) saturate(0.55);
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(10,46,110,0.92) 0%,
    rgba(5,18,55,0.80) 55%,
    rgba(10,46,110,0.94) 100%);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  border: 3px solid rgba(245,158,11,0.6);
  background: rgba(10,46,110,0.5);
  padding: 8px;
  display: block;
  margin: 0 auto 28px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245,158,11,0.45);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: '✦'; font-size: 0.5rem; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.hero h1 em { font-style: italic; color: var(--amber); }
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}
.hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.50);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 12px 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover { background: var(--amber); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.38);
  color: rgba(255,255,255,0.85);
  padding: 12px 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}
.hstat {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 10px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hstat:last-child { border-right: none; }
.hstat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hstat-lbl {
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-top: 5px;
}

/* ─── GENERIC SECTION ─── */
.sec { padding: 80px 28px; }
.sec-parch { background: var(--sky); }
.sec-dark  { background: var(--navy); color: #fff; }
.sec-ink   { background: #071428; color: #fff; }

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 10px;
}
.sec-dark .sec-title,
.sec-ink .sec-title { color: #fff; }
.sec-intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.sec-dark .sec-intro,
.sec-ink .sec-intro { color: rgba(255,255,255,0.55); }

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 60px;
}
.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(10,46,110,0.18);
  border: 3px solid var(--sky-alt);
}
.about-img-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: 6px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}
.about-img-badge strong { display: block; font-size: 2rem; font-weight: 700; line-height: 1; }
.about-img-badge span { font-size: 0.7rem; font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.about-text .orn { justify-content: flex-start; }
.about-text .orn::before { display: none; }
.about-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.78;
  color: var(--ink);
}
.about-quote-text strong { color: var(--blue); }

/* ─── VMC GRID ─── */
.vmc-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.vmc-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 14px rgba(10,46,110,0.07);
}
.vmc-box h3 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.vmc-box p,
.vmc-box ul {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}
.vmc-box ul { list-style: none; padding: 0; }
.vmc-box ul li { padding: 2px 0 2px 16px; position: relative; }
.vmc-box ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--blue-lt);
  font-size: 0.7rem;
  line-height: 1.85;
}

/* ─── PROGRAMS ─── */
#programs {
  background: linear-gradient(160deg, #F2F7FE 0%, var(--sky) 50%, #ddeeff 100%);
}
.dept-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue-mid) 100%);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  margin: 40px 0 20px;
  box-shadow: 0 3px 12px rgba(10,46,110,0.20);
}
.dept-label::before, .dept-label::after { display: none; }
.dept-label span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.prog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.prog-card {
  flex: 0 0 275px;
  max-width: 275px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(10,46,110,0.09);
  position: relative;
}
.prog-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 22px 52px rgba(10,46,110,0.20);
}
.prog-card::after {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 10px 10px;
}
.prog-imgwrap {
  position: relative;
  overflow: hidden;
  height: 180px;
}
.prog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--sky);
  transition: transform 0.45s ease;
}
.prog-card:hover .prog-card-img {
  transform: scale(1.09);
}
.prog-overlay-btn {
  position: absolute;
  bottom: -52px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  padding: 9px 26px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: bottom 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(10,46,110,0.40);
}
.prog-card:hover .prog-overlay-btn {
  bottom: 12px;
}
.prog-card-body {
  padding: 16px 16px 26px;
}
.prog-card-body::before {
  content: '✔  CHED Recognized';
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 10px;
}
.prog-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.prog-note {
  display: inline-block;
  background: #FEF9EC;
  border: 1px solid rgba(245,158,11,0.45);
  color: #92600A;
  font-size: 0.67rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.prog-card ul { list-style: none; padding: 0; }
.prog-card ul li {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 3px 0;
  border-bottom: 1px solid var(--sky);
}
.prog-card ul li:last-child { border-bottom: none; }

/* ─── SCHOLARSHIPS ─── */
.schol-list {
  max-width: 800px;
  margin: 0 auto;
}
.schol-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(10,46,110,0.06);
}
.schol-head {
  background: var(--navy);
  padding: 16px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 12px;
  transition: background 0.2s;
}
.schol-head:hover,
.schol-head.open { background: var(--blue); }
.schol-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.schol-chevron {
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.schol-head.open .schol-chevron { transform: rotate(180deg); }
.schol-body {
  display: none;
  padding: 26px 28px;
  background: #FAFCFF;
  border-top: 2px solid var(--blue-lt);
}
.schol-body.open { display: block; }
.schol-full {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.schol-full strong { color: var(--ink); }
.schol-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.schol-col h4 {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
  margin-top: 16px;
}
.schol-col h4:first-child { margin-top: 0; }
.schol-col ul { list-style: none; padding: 0; }
.schol-col ul li {
  font-size: 0.83rem;
  color: var(--muted);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.55;
}
.schol-col ul li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--blue-lt);
  font-weight: 700;
}
.schol-col ul li strong { color: var(--ink); }
.schol-col p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ─── BASIC ED TABS ─── */
.ed-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 2px solid rgba(66,165,245,0.4);
  margin-bottom: 38px;
}
.ed-tab {
  background: none;
  border: none;
  padding: 12px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px 4px 0 0;
}
.ed-tab:hover { color: var(--blue-lt); }
.ed-tab.on {
  color: var(--blue-lt);
  border-bottom-color: var(--blue-lt);
  background: rgba(66,165,245,0.1);
}
.ed-panel { display: none; }
.ed-panel.on { display: block; }

.curric { max-width: 780px; margin: 0 auto; }
.curric-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--blue-lt);
  margin-bottom: 4px;
}
.curric-level {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.subj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}
.subj-pill {
  background: rgba(66,165,245,0.1);
  border: 1px solid rgba(66,165,245,0.25);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  text-align: center;
  line-height: 1.4;
}
.ed-note {
  background: rgba(66,165,245,0.07);
  border-left: 3px solid var(--blue-lt);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin-top: 8px;
}
.ed-note-title {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 10px;
}
.ed-note ul { list-style: none; padding: 0; }
.ed-note ul li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.55;
}
.ed-note ul li::before {
  content: '·';
  position: absolute; left: 2px;
  color: var(--blue-lt);
  font-size: 1.3rem;
  line-height: 0.9;
}
.ed-note ul li strong { color: rgba(255,255,255,0.92); }

/* SHS photo banner */
.shs-banner {
  width: 100%;
  max-width: 780px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  display: block;
  margin: 0 auto 24px;
  border: 1px solid rgba(66,165,245,0.28);
}

/* SHS strands */
.strands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 10px;
  margin: 0 auto 28px;
  max-width: 780px;
}
.strand {
  border: 1px solid rgba(66,165,245,0.3);
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
  background: rgba(66,165,245,0.07);
}
.strand-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blue-lt);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.strand-name {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}
.strand-detail {
  margin-top: 8px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 8px;
}

/* ─── TVET ─── */
.tvet-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.tvet-intro strong { color: var(--blue); }
.tvet-table {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(10,46,110,0.1);
}
.tvet-table thead tr { background: var(--navy); }
.tvet-table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 0.67rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}
.tvet-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  vertical-align: top;
  background: var(--white);
}
.tvet-table tr:nth-child(even) td { background: var(--sky); }
.tvet-table tr:hover td { background: var(--sky-alt); transition: background 0.15s; }
.tvet-table td:nth-child(2) { font-weight: 600; color: var(--ink); }
.tvet-reg {
  font-family: 'Courier New', monospace;
  font-size: 0.77rem;
  color: var(--blue);
}

/* ─── CONTACT ─── */
.contact-hero {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 52px;
}
.contact-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
  filter: brightness(0.3) saturate(0.5);
}
.contact-hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.contact-hero-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.contact-hero-text p {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-center {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-items {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  margin: 32px 0 38px;
}
.ci-label {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.ci-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.45;
}
.ci-value a { color: inherit; text-decoration: none; }
.ci-value a:hover { color: var(--gold); }
.soc-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.soc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(66,165,245,0.40);
  color: rgba(255,255,255,0.80);
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.soc-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.coming-box {
  border: 1px solid rgba(66,165,245,0.25);
  border-radius: 8px;
  padding: 26px 32px;
  background: rgba(66,165,245,0.06);
}
.coming-box p:first-child {
  font-size: 0.63rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--blue-lt);
  font-weight: 700;
  margin-bottom: 9px;
}
.coming-box p:last-child {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  border-top: 3px solid var(--blue);
  text-align: center;
  padding: 22px 20px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.36);
}
footer a { color: rgba(245,158,11,0.7); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── TVET TABLE WRAP ─── */
.tvet-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 16px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 8px 16px 18px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 13px 4px; font-size: 0.82rem; letter-spacing: 0.5px; }

  /* Hero */
  .hero { padding: 60px 20px; min-height: auto; }
  .hero-logo { width: 90px; height: 90px; }
  .hero-stats { padding-top: 24px; }
  .hstat { min-width: 90px; padding: 8px 10px; }
  .hstat-val { font-size: 1.65rem; }

  /* Sections */
  .sec { padding: 52px 20px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-img-badge { bottom: -14px; right: 10px; padding: 12px 14px; }
  .about-img-badge strong { font-size: 1.6rem; }

  /* Scholarships */
  .schol-cols { grid-template-columns: 1fr; }
  .schol-body { padding: 18px 16px; }

  /* TVET table */
  .tvet-table { min-width: 580px; }

  /* Contact */
  .contact-items { flex-direction: column; align-items: center; gap: 24px; }
}

@media (max-width: 480px) {
  /* Nav */
  .nav-name small { display: none; }
  .nav-logo-img { width: 36px; height: 36px; }

  /* Hero */
  .hero { padding: 48px 16px; }
  .hero h1 { font-size: 2.3rem; letter-spacing: -0.5px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-desc { font-size: 0.85rem; }
  .hero-eyebrow { font-size: 0.6rem; letter-spacing: 1.5px; padding: 5px 10px; }
  .btn-gold, .btn-ghost { padding: 11px 18px; font-size: 0.72rem; }
  .hero-stats { flex-wrap: wrap; border-top-color: rgba(255,255,255,0.1); }
  .hstat {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .hstat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .hstat:nth-last-child(-n+2) { border-bottom: none; }

  /* Sections */
  .sec { padding: 40px 16px; }
  .sec-title { font-size: 1.75rem; }
  .wrap { padding: 0 16px; }

  /* Programs */
  .prog-card { flex: 0 0 100%; max-width: 100%; }
  .prog-grid { gap: 16px; }
  .dept-label { padding: 9px 14px; margin: 28px 0 14px; }
  .dept-label span { font-size: 0.66rem; letter-spacing: 1.5px; white-space: normal; }

  /* Basic Ed tabs */
  .ed-tabs { gap: 0; }
  .ed-tab { padding: 10px 12px; font-size: 0.68rem; letter-spacing: 0.6px; }
  .subj-grid { grid-template-columns: 1fr 1fr; }

  /* TVET */
  .tvet-table th, .tvet-table td { padding: 10px 10px; font-size: 0.78rem; }

  /* Contact */
  .contact-hero-img { height: 150px; }
  .contact-hero-text h3 { font-size: 1.4rem; }
  .soc-btn { width: 100%; justify-content: center; padding: 11px 14px; }
  .soc-row { flex-direction: column; }
  .coming-box { padding: 20px 18px; }

  /* Footer */
  footer { font-size: 0.68rem; line-height: 1.9; padding: 18px 16px; }
}
