/* =============================================================
   Annai College of Engineering & Technology — Stylesheet
   ============================================================= */
:root {
  --navy: #0d1f4e;
  --navy-mid: #1a3268;
  --navy-light: #243f82;
  --primary: #7f7e84;
  --primary-dark: #5a595d;
  --primary-light: #e8e7eb;
  --accent: #eef0f4;        /* was gold #c9a227 — now light ash, used as background */
  --accent-text: #111827;   /* near-black, used for text ON the ash background */
  --accent-light: #d1d5db;  /* lighter ash, used where gold-text appeared on dark surfaces */
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-band: #fafbfe;
  --border: #e5e7eb;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(13,31,78,.06);
  --shadow-md: 0 8px 24px rgba(13,31,78,.10);
  --container: 1200px;
  --header-h: 82px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15.5px; line-height: 1.65;
  color: var(--text); background: var(--bg);
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy); margin: 0 0 12px; line-height: 1.25; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); font-size: 0.92rem; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--navy); color: #cbd5e1; font-size: 0.86rem; }
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #cbd5e1; margin-right: 16px; display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: #fff; }
.top-bar__right a { margin-right: 10px; margin-left: 0; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.top-bar__right a:hover { background: rgba(255,255,255,0.08); }
.top-bar__admin { background: var(--primary); color: #fff !important; padding: 4px 12px !important; border-radius: 4px; }
.top-bar__admin:hover { background: var(--primary-dark) !important; }
.ic { font-size: 1rem; }

/* ---------- Site header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; max-width: 420px; margin-right: 32px; text-decoration: none; }
.brand__mark { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex-shrink: 0; }
.brand__logo { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }
.brand__fallback { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--primary-dark)); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.65rem; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); letter-spacing: 0.4px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--navy);
    font-size: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
}
.brand__sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    margin-top: 2px;
}
.brand__tagline {
    font-size: 9px;
    color: var(--muted);
    margin-top: 3px;
    font-style: italic;
    white-space: nowrap;
}
@media (max-width: 1180px) {
  .brand__tagline { display: none; }
}
@media (max-width: 1000px) {
  .brand__name { font-size: 18px; }
  .brand__sub  { font-size: 11px; }
  .brand__mark, .brand__logo, .brand__fallback { width: 48px; height: 48px; }
  .brand__fallback { font-size: 1.35rem; }
}
@media (max-width: 720px) {
  .brand__name { font-size: 16px; }
  .brand__sub  { font-size: 10px; }
  .brand__mark, .brand__logo, .brand__fallback { width: 42px; height: 42px; }
  .brand__fallback { font-size: 1.2rem; }
}

/* Nav */
.primary-nav { flex: 1; min-width: 0; }
.primary-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; justify-content: flex-end; flex-wrap: nowrap; }
.primary-nav li { position: relative; flex-shrink: 0; }
.primary-nav a { display: block; padding: 12px 11px; color: var(--navy); font-weight: 500; font-size: 0.9rem; border-radius: 6px; transition: all .15s ease; white-space: nowrap; }
.primary-nav a:hover { background: var(--bg-soft); color: var(--primary); }
.primary-nav li.is-active > a { color: var(--primary); }
.primary-nav .has-sub > a::after { content: " ▾"; font-size: 0.7em; opacity: .7; }
.primary-nav .sub {
  list-style: none; margin: 0; padding: 12px 0;
  position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 240px;
  border: 1px solid var(--border); border-top: 3px solid var(--primary);
  border-radius: 0 0 8px 8px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease; z-index: 200;
}
.primary-nav .has-sub:hover > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub a { padding: 10px 18px; font-size: 0.9rem; border-radius: 0; }
.primary-nav .sub a:hover { background: var(--bg-soft); color: var(--primary); padding-left: 22px; }

/* Mega menu */
.primary-nav .mega { width: 720px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; padding: 18px 22px 20px; left: 0; }
.primary-nav .mega.align-right { left: auto; right: 0; }
.primary-nav .mega .mega-col { list-style: none; margin: 0; padding: 0; }
.primary-nav .mega .mega-col-title { display: block; font-family: 'Poppins'; font-size: 0.74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); padding: 8px 12px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.primary-nav .mega .mega-col a { padding: 8px 12px; font-size: 0.88rem; color: var(--navy); display: block; border-radius: 4px; }
.primary-nav .mega .mega-col a:hover { background: var(--bg-soft); color: var(--primary); padding-left: 14px; }
.primary-nav .mega .mega-col a.tag-new::after { content: 'NEW'; background: var(--accent); color: var(--accent-text); font-size: 0.62rem; font-weight: 700; padding: 2px 6px; border-radius: 999px; margin-left: 6px; letter-spacing: 1px; vertical-align: middle; }
.primary-nav .mega-2 { width: 480px; grid-template-columns: repeat(2, 1fr); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; padding: 0; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: all .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, var(--navy) 0%, #233560 60%, var(--primary-dark) 100%); color: #fff; padding: 80px 0 96px; overflow: hidden; }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero__bg-shapes { position: absolute; inset: 0; background-image: radial-gradient(circle at 90% 20%, rgba(201,162,39,0.18) 0, transparent 28%), radial-gradient(circle at 10% 80%, rgba(123,28,62,0.30) 0, transparent 30%); pointer-events: none; }
.hero__inner { position: relative; max-width: 760px; }
.hero__badge { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,0.86); font-size: 1.12rem; max-width: 640px; }
.hero__cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ghost { display: inline-block; padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 0.92rem; color: #fff; border: 2px solid rgba(255,255,255,.4); text-decoration: none; transition: all .15s; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* Hero split layout */
.hero--split { padding: 56px 0 72px; }
.hero__split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: stretch; position: relative; }
.hero__content { color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hero__content h1 { font-size: 3rem; line-height: 1.12; margin-bottom: 18px; color: #fff; }
.hero h1, .page-banner h1 { color: #fff; }
.hero__content p { font-size: 1.05rem; line-height: 1.65; max-width: 540px; color: rgba(255,255,255,.86); margin-bottom: 24px; }
.hero__content .hero__cta { margin-top: 0; margin-bottom: 36px; }
.hero__content .hero__stats { margin-top: auto; padding-top: 28px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; position: relative; max-width: 580px; }
.hero__stats > div { display: flex; flex-direction: column; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.08); }
.hero__stats > div:last-child { border-right: none; }
.hero__stats strong { font-family: 'Poppins'; font-weight: 700; font-size: 1.5rem; color: var(--accent-light); line-height: 1; }
.hero__stats span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.4px; color: rgba(255,255,255,.65); margin-top: 6px; line-height: 1.3; }

/* Enquiry form */
.hero__form { background: #fff; border-radius: 16px; padding: 28px 28px 26px; box-shadow: 0 18px 48px rgba(0,0,0,.28); position: relative; overflow: hidden; align-self: start; margin-top: 4px; }
.hero__form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--primary), var(--primary-dark)); }
.hero__form-header { text-align: center; margin-bottom: 18px; }
.hero__form-eyebrow { display: inline-block; background: var(--accent); color: var(--accent-text); font-size: 0.7rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.hero__form h2 { font-size: 1.4rem; margin: 0 0 4px; color: var(--navy); line-height: 1.2; }
.hero__form-header p { color: var(--muted); font-size: 0.86rem; margin: 0; }
.enquiry-form .form-group { margin-bottom: 10px; }
.enquiry-form label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; letter-spacing: 0.2px; }
.enquiry-form .form-control { padding: 9px 12px; font-size: 0.9rem; border-color: #e2e6ed; }
.enquiry-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.enquiry-form .form-grid-2 { gap: 10px; }
.enquiry-form__submit { width: 100%; padding: 12px; font-size: 0.95rem; margin-top: 4px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; letter-spacing: 0.4px; }
.enquiry-form__submit:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); transform: translateY(-1px); }
.enquiry-form__note { font-size: 0.7rem; color: var(--muted); margin: 10px 0 0; line-height: 1.5; text-align: center; }

/* ---------- Page banner (non-home pages) ---------- */
.page-banner { background: linear-gradient(135deg, var(--navy), var(--primary-dark)); color: #fff; padding: 56px 0 48px; text-align: center; }
.page-banner h1 { color: #fff; font-size: 2.4rem; margin-bottom: 6px; }
.breadcrumb { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.92); }
.breadcrumb a:hover { color: var(--accent-light); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 0.92rem; letter-spacing: .3px; border: 2px solid var(--primary); background: var(--primary); color: #fff; cursor: pointer; transition: all .15s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: var(--bg-soft); color: var(--primary-dark); border-color: var(--bg-soft); }
.btn-sm { padding: 7px 14px; font-size: 0.84rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--band { background: var(--bg-band); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; display: block; }
.section-head h2 { font-size: 2.1rem; }
.section-head p { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; color: var(--primary); font-weight: 600; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__body { padding: 22px; }
.card__title { font-size: 1.15rem; margin-bottom: 8px; }
.card__date { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; display: inline-block; }
.card__image { height: 180px; background: linear-gradient(135deg, var(--primary), var(--navy)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-family: 'Poppins'; font-weight: 700; font-size: 1.4rem; letter-spacing: 2px; }

/* Department card */
.dept-card { padding: 28px; text-align: center; position: relative; overflow: hidden; }
.dept-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--primary), var(--primary-dark)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.dept-card:hover::before { transform: scaleX(1); }
.dept-card__icon { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), #fff); color: var(--primary); display: flex; align-items: center; justify-content: center; font-family: 'Poppins'; font-weight: 700; font-size: 1.3rem; border: 3px solid var(--primary-light); box-shadow: 0 4px 12px rgba(123,28,62,0.08); transition: transform .25s ease; }
.dept-card:hover .dept-card__icon { transform: scale(1.06) rotate(-3deg); }
.dept-card__icon svg { width: 42px; height: 42px; }
.dept-card h3 { font-size: 1.08rem; margin-bottom: 10px; min-height: 2.6em; }
.dept-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.dept-card a.btn-link, .dept-card .btn-link { color: var(--primary); font-weight: 600; font-size: 0.86rem; letter-spacing: .5px; }
.dept-card .badge-new { position: absolute; top: 10px; right: 10px; background: var(--accent); color: var(--accent-text); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 1px; }

/* Stats card */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-card__value { font-family: 'Poppins'; font-weight: 700; font-size: 2rem; color: var(--primary); }
.stat-card__label { font-size: 0.86rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Quick action strip ---------- */
.quick-actions { background: #fff; border-bottom: 1px solid var(--border); padding: 24px 0; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: linear-gradient(135deg, var(--bg-soft), #fff); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: all .2s; border-left: 4px solid var(--primary); }
.quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-left-color: var(--accent-light); }
.quick-card__icon { width: 48px; height: 48px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quick-card__icon svg { width: 24px; height: 24px; }
.quick-card strong { display: block; font-size: 1rem; color: var(--navy); font-family: 'Poppins'; font-weight: 600; }
.quick-card span { font-size: 0.82rem; color: var(--muted); }

/* ---------- About section ---------- */
.about-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-section__image { position: relative; }
.about-illust { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-illust svg { width: 100%; height: auto; display: block; }
.about-illust__badge { position: absolute; bottom: 18px; right: 18px; background: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-md); text-align: center; border-top: 4px solid var(--primary); }
.about-illust__badge strong { font-family: 'Poppins'; font-weight: 700; color: var(--primary); font-size: 1.8rem; display: block; line-height: 1; }
.about-illust__badge span { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.about-section__content .eyebrow { display: inline-block; margin-bottom: 8px; }
.about-bullets { list-style: none; padding: 0; margin: 18px 0; }
.about-bullets li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.about-bullets li:last-child { border-bottom: none; }
.about-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; width: 22px; height: 22px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; top: 9px; }

/* ---------- Why-choose-us cards ---------- */
.why-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px 26px 28px; text-align: left; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; overflow: hidden; }
.why-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 18px 42px -18px rgba(13,31,78,0.28); border-color: rgba(13,31,78,0.18); }
.why-card:hover::before { transform: scaleX(1); }
.why-card__icon { width: 64px; height: 64px; margin-bottom: 18px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-light), #fff); color: var(--primary); border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(13,31,78,0.08); }
.why-card__icon svg { width: 32px; height: 32px; }
.why-card__num { position: absolute; top: 22px; right: 24px; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--primary-light); letter-spacing: -.02em; opacity: .6; }
.why-card h3 { font-size: 1.18rem; color: var(--navy); margin-bottom: 10px; }
.why-card p { font-size: 0.94rem; color: var(--muted); margin: 0 0 16px; line-height: 1.68; }
.why-card__meta { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.why-card__meta::before { content: ""; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }

/* ---------- Achievements counter band ---------- */
.achievements-band { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.achievements-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(201,162,39,.18) 0, transparent 30%); }
.achievements-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; position: relative; }
.achievements-grid > div { text-align: center; padding: 12px 8px; border-right: 1px solid rgba(255,255,255,.1); }
.achievements-grid > div:last-child { border-right: none; }
.achievements-grid strong { font-family: 'Poppins'; font-weight: 700; font-size: 2.2rem; color: var(--accent-light); line-height: 1; display: block; }
.achievements-grid span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.4px; color: rgba(255,255,255,.78); margin-top: 8px; display: block; }

/* ---------- Content Cards (modern numbered cards for content pages) ---------- */
.content-sections {
  padding: 56px 0 72px;
  background: var(--bg-soft);
}
.content-cards {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.content-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all .25s;
  box-shadow: 0 1px 3px rgba(13,31,78,.04);
}
.content-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(13,31,78,.10);
  transform: translateY(-2px);
}
.content-card__num {
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins'; font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 1px;
  position: relative;
}
.content-card__num::after {
  content: ""; position: absolute; right: -1px; top: 24px; bottom: 24px;
  width: 3px; background: var(--accent-light);
}
.content-card__body {
  padding: 24px 32px 26px;
}
.content-card__body h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: var(--navy);
}
.content-card__text {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.7;
}
.content-card__text p { margin: 0 0 10px; }
.content-card__text p:last-child { margin-bottom: 0; }
.content-card__text ul, .content-card__text ol {
  padding-left: 22px; margin: 8px 0 12px;
}
.content-card__text li { margin-bottom: 6px; }
.content-card__text h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 16px 0 8px;
}

/* Lead card (no H2 — first paragraph block) */
.content-card--lead {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3268 100%);
  color: #fff;
  border-color: var(--navy);
}
.content-card--lead .content-card__num {
  background: rgba(255,255,255,.12);
  color: var(--accent-light);
}
.content-card--lead .content-card__num::after { background: var(--accent-light); }
.content-card--lead h2 { color: #fff; }
.content-card--lead .content-card__text { color: rgba(255,255,255,.92); }
.content-card--lead .content-card__text strong { color: var(--accent-light); }
.content-card--lead .content-card__text a { color: var(--accent-light); }

/* ----- Content-type variants ----- */

/* Quote card — for chairman/principal-style italic messages */
.content-card--quote {
  background: linear-gradient(135deg, #f6f7f9 0%, #fff 70%);
  border-color: var(--accent-light);
}
.content-card--quote .content-card__num {
  background: linear-gradient(135deg, var(--maroon), #5a142e);
  color: var(--accent-light);
}
.content-card--quote .content-card__body {
  position: relative;
  padding-left: 56px;
}
.content-card--quote .content-card__body::before {
  content: "\201C";
  position: absolute;
  left: 22px; top: 4px;
  font-family: 'Poppins'; font-weight: 700;
  font-size: 4.5rem;
  color: var(--accent-light);
  line-height: 1;
  opacity: 0.65;
}
.content-card--quote .content-card__text em {
  font-style: italic;
  color: #1f2937;
  font-size: 1.02rem;
  line-height: 1.85;
}
.content-card--quote .content-card__text p { margin-bottom: 14px; }

/* List card — list-heavy content gets a clean two-column bullet feel */
.content-card--list .content-card__text ul,
.content-card--list .content-card__text ol {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 24px;
  margin: 8px 0 4px;
}
.content-card--list .content-card__text li {
  position: relative;
  padding: 8px 12px 8px 28px;
  background: #fafbfd;
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  font-size: 0.93rem;
  margin: 0;
}
.content-card--list .content-card__text li::before {
  content: "\25B8";
  position: absolute;
  left: 10px; top: 7px;
  color: var(--primary);
  font-weight: 700;
}

/* Highlight card — short fact-style with strong accent */
.content-card--highlight {
  background: #fafbfd;
  border-left: 4px solid var(--primary);
}
.content-card--highlight .content-card__num {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.content-card--highlight .content-card__num::after { background: var(--primary); }
.content-card--highlight .content-card__text { font-size: 1rem; }
.content-card--highlight .content-card__text strong {
  color: var(--primary);
  background: var(--accent);
  padding: 1px 6px;
  border-radius: 3px;
}

/* Standard card uses the default look — no override needed */

/* Responsive: narrower number cell on mobile, then stack */
@media (max-width: 720px) {
  .content-card { grid-template-columns: 60px 1fr; }
  .content-card__num { font-size: 1.2rem; }
  .content-card__body { padding: 18px 20px 20px; }
  .content-card__body h2 { font-size: 1.15rem; }
  .content-card--quote .content-card__body { padding-left: 24px; }
  .content-card--quote .content-card__body::before {
    font-size: 3rem; left: 12px; top: 0;
  }
  .content-card--list .content-card__text ul,
  .content-card--list .content-card__text ol {
    grid-template-columns: 1fr;
  }
}

/* ---------- Zigzag content sections ---------- */
.zz { padding: 36px 0; }
.zz--soft { background: var(--bg-soft); }
.zz__inner {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px;
  align-items: center;
}
.zz--reverse .zz__inner > .zz__media { order: 2; }
.zz--reverse .zz__inner > .zz__content { order: 1; }
.zz__media {
  position: relative; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  align-self: center;
}
.zz__media svg, .zz__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.zz__media-tag {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,.95); color: var(--primary);
  font-family: 'Poppins'; font-weight: 700;
  font-size: 0.74rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.zz__media-badge {
  position: absolute; bottom: 18px; right: 18px;
  background: var(--accent); color: var(--accent-text);
  padding: 12px 16px; border-radius: 12px;
  font-family: 'Poppins'; font-weight: 700;
  text-align: center; min-width: 100px;
}
.zz__media-badge strong { display: block; font-size: 1.4rem; line-height: 1; }
.zz__media-badge span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }

.zz__content .eyebrow { display: inline-block; margin-bottom: 8px; }
.zz__content h2 { font-size: 1.6rem; margin-bottom: 12px; }
.zz__content h3 { font-size: 1.15rem; margin: 18px 0 8px; color: var(--navy); }
.zz__content p { font-size: 0.98rem; line-height: 1.7; color: var(--text); margin-bottom: 12px; }
.zz__content em { color: var(--muted); }
.zz__content ul, .zz__content ol { padding-left: 0; list-style: none; }
.zz__content ul li {
  position: relative; padding: 6px 0 6px 28px;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}
.zz__content ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b1c3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 12px;
}

/* Section heading row */
.zz-eyebrow { font-family: 'Poppins'; font-size: 0.78rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.section--corp { padding: 80px 0; }

/* CTA block inside zigzag */
.zz-cta {
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: #fff; padding: 36px;
  border-radius: 14px; margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.zz-cta h3 { color: #fff; margin: 0 0 4px; }
.zz-cta p { color: rgba(255,255,255,.85); margin: 0; }
.zz-cta__buttons { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .zz__inner { grid-template-columns: 1fr; gap: 32px; }
  .zz--reverse .zz__inner > .zz__media { order: 0; }
  .zz--reverse .zz__inner > .zz__content { order: 0; }
}

/* ---------- Gallery & Lightbox ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.gallery-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--border); color: var(--navy); font-weight: 500; font-size: 0.88rem; transition: all .15s; text-decoration: none; }
.gallery-pill:hover { border-color: var(--primary); color: var(--primary); }
.gallery-pill.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-pill span { background: rgba(0,0,0,.06); padding: 2px 8px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; }
.gallery-pill.is-active span { background: rgba(255,255,255,.18); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; background: linear-gradient(to top, rgba(13,31,78,.85), transparent); color: #fff; opacity: 0; transition: opacity .25s; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__title { display: block; font-weight: 600; font-size: 0.92rem; }
.gallery-item__cat { display: inline-block; margin-top: 4px; font-size: 0.72rem; background: var(--accent); color: var(--accent-text); padding: 2px 8px; border-radius: 999px; }
.empty-state { text-align: center; padding: 56px 20px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; cursor: pointer; transition: all .15s; backdrop-filter: blur(8px); }
.lightbox__close { top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 0.94rem; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .lightbox__nav { width: 40px; height: 40px; font-size: 1.5rem; } }

/* ---------- Recruiter logo grid ---------- */
.recruiter-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.recruiter-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  height: 90px;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  overflow: hidden;
}
.recruiter-logo:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.recruiter-logo img {
  max-width: 90%; max-height: 60px;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter .25s;
}
.recruiter-logo:hover img { filter: grayscale(0); }
.recruiter-logo__placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 6px;
}
.recruiter-logo__initials {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  color: #fff;
  font-family: 'Poppins',sans-serif; font-weight: 700;
  font-size: 0.95rem; line-height: 1; letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -8px rgba(13,31,78,.35);
}
.recruiter-logo__name {
  font-size: 0.75rem; color: var(--navy);
  font-weight: 600; letter-spacing: 0.2px;
  line-height: 1.25;
}

/* "View all recruiters" CTA below the grid */
.recruiter-cta-row {
  text-align: center;
  margin-top: 28px;
}
.recruiter-cta-row a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; padding: 10px 22px;
  border: 2px solid var(--primary); border-radius: 99px;
  transition: all .2s ease;
}
.recruiter-cta-row a:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(127,126,132,.45);
}
.recruiter-cta-row a::after { content: "→"; transition: transform .2s; }
.recruiter-cta-row a:hover::after { transform: translateX(3px); }
@media (max-width: 980px) { .recruiter-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .recruiter-logos { grid-template-columns: repeat(3, 1fr); } .recruiter-logo { height: 76px; padding: 10px; } }

/* ---------- Industry partners band ---------- */
.industry-band { background: var(--bg-band); padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 32px; }
.industry-tag { background: #fff; border: 1px solid var(--border); padding: 18px 14px; border-radius: 10px; text-align: center; font-family: 'Poppins'; font-weight: 600; color: var(--navy); font-size: 0.92rem; transition: all .2s; }
.industry-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- About feature grid (legacy alt layout) ---------- */
.about-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-feature-card { background: linear-gradient(135deg, var(--bg-soft), #fff); border: 1px solid var(--border); border-radius: 12px; padding: 22px 18px; text-align: center; transition: transform .2s, box-shadow .2s; }
.about-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.about-feature-card .num { font-family: 'Poppins'; font-weight: 700; font-size: 2rem; color: var(--primary); line-height: 1; }
.about-feature-card .lbl { font-size: 0.84rem; color: var(--muted); margin-top: 8px; letter-spacing: 0.4px; }

/* ---------- Placement band ---------- */
.placement-band { padding: 64px 0; background: linear-gradient(135deg, var(--navy), #233560 60%, var(--primary-dark)); color: #fff; position: relative; overflow: hidden; }
.placement-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 30%, rgba(201,162,39,.15) 0, transparent 35%); pointer-events: none; }
.placement-band__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; }
.placement-band__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.placement-band__stats > div { background: rgba(255,255,255,.07); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); padding: 22px 18px; border-radius: 10px; text-align: center; }
.placement-band__stats strong { font-family: 'Poppins'; font-weight: 700; font-size: 1.8rem; color: var(--accent-light); display: block; }
.placement-band__stats span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.75); }
.recruiter-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); position: relative; }
.recruiter-strip span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; color: rgba(255,255,255,.85); }

/* ---------- Life grid ---------- */
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.life-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); padding: 26px 22px 22px; border-radius: 14px; text-align: left; text-decoration: none; color: inherit; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.life-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--primary), var(--primary-dark)); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.life-card:hover { transform: translateY(-4px); border-color: rgba(13,31,78,0.18); box-shadow: 0 18px 36px -18px rgba(13,31,78,.32); }
.life-card:hover::before { transform: scaleY(1); }
.life-card__icon { width: 54px; height: 54px; margin: 0 0 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); background: linear-gradient(135deg, var(--primary-light), #fff); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(13,31,78,0.06); }
.life-card__icon svg { width: 28px; height: 28px; }
.life-card h3 { font-size: 1.02rem; margin: 0 0 8px; color: var(--navy); line-height: 1.3; }
.life-card__text { font-size: 0.86rem; color: var(--muted); margin: 0 0 14px; line-height: 1.6; flex: 1; }
.life-card__more { font-size: 0.78rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; margin-top: auto; }
.life-card--linked { cursor: pointer; }

/* ---------- Notice ticker ---------- */
.notice-strip { background: var(--accent); color: var(--accent-text); font-weight: 600; padding: 8px 0; font-size: 0.92rem; overflow: hidden; }
.notice-strip__inner { display: flex; align-items: center; gap: 16px; }
.notice-strip__label { background: var(--navy); color: #fff; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 1px; flex-shrink: 0; }
.notice-strip__scroll { flex: 1; overflow: hidden; white-space: nowrap; }
.notice-strip__scroll span { display: inline-block; animation: notice-scroll 38s linear infinite; padding-left: 100%; }
@keyframes notice-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---------- CTA strip ---------- */
.cta-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3268 45%, var(--primary-dark) 100%);
  padding: 56px 0;
  isolation: isolate;
}
/* Layered geometric pattern — dot grid + diagonal stripes + radial glow */
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.4px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.045) 0 1px, transparent 1px 22px);
  background-size: 22px 22px, auto;
  background-position: 0 0, 0 0;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.cta-strip::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,126,132,.45) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.cta-strip > .container { position: relative; z-index: 1; }
.cta-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h2, .cta-strip h3 { color: #fff; }
.cta-strip h2::before {
  content: ""; display: block; width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px; margin-bottom: 14px;
}

/* ---------- Department in-page tabs ---------- */
.dept-tabs { background: var(--navy); position: sticky; top: var(--header-h); z-index: 50; border-bottom: 1px solid rgba(255,255,255,.1); overflow-x: auto; }
.dept-tabs .container { display: flex; gap: 4px; white-space: nowrap; overflow-x: auto; scrollbar-width: thin; }
.dept-tabs a { display: inline-block; padding: 14px 18px; color: rgba(255,255,255,.78); font-size: 0.9rem; font-weight: 500; border-bottom: 3px solid transparent; transition: all .15s; text-decoration: none; flex-shrink: 0; }
.dept-tabs a:hover { color: #fff; border-bottom-color: var(--accent-light); }

/* ---------- Article body ---------- */
.article-body { max-width: 920px; margin-inline: auto; font-size: 1rem; }
.article-body h2 { margin-top: 32px; }
.article-body h3 { margin-top: 26px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: var(--radius); margin: 18px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding-top: 56px; }
.footer-col--brand { display: flex; flex-direction: column; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.footer-brand__logo { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; background: rgba(255,255,255,.08); padding: 6px; border-radius: 8px; }
.footer-brand h4 { color: #fff; font-size: 0.95rem; line-height: 1.3; margin: 0; }
.footer-col p.muted { color: rgba(255,255,255,.55); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cbd5e1; font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent-light); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 50%; font-size: 0.8rem; font-weight: 700; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.site-footer__bottom { background: rgba(0,0,0,0.25); padding: 16px 0; }
.site-footer__bottom-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; }
.site-footer__bottom a { color: var(--accent-light); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
.form-control { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 0.95rem; background: #fff; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: 0.92rem; }
.alert-success { background: #d1fae5; color: #065f46; border-left: 3px solid #10b981; }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 3px solid #ef4444; }
.alert-info    { background: #dbeafe; color: #1e3a8a; border-left: 3px solid #3b82f6; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.table th { background: var(--bg-soft); color: var(--navy); font-weight: 600; text-transform: uppercase; font-size: 0.78rem; letter-spacing: .5px; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-soft); }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy); color: #cbd5e1; padding: 22px 14px; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; }
.admin-sidebar h3 { color: #fff; font-size: 1.02rem; margin: 0 0 16px; padding: 0 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.1); letter-spacing: .03em; }
.admin-sidebar ul { list-style: none; padding: 0; margin: 0; }
.admin-sidebar li { margin-bottom: 2px; }
.admin-sidebar a { display: block; padding: 9px 12px; color: #cbd5e1; border-radius: 6px; font-size: 0.88rem; line-height: 1.35; transition: background .15s, color .15s; word-break: break-word; }
.admin-sidebar a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar a.is-active { background: var(--primary); color: #fff; }
.admin-sidebar a strong { font-weight: 600; }
/* Section labels in sidebar (e.g. "Layout & Banners") */
.admin-sidebar li > span,
.admin-sidebar li[style] { color: #94a3b8 !important; font-size: .68rem !important; text-transform: uppercase; letter-spacing: .08em; padding: 16px 12px 6px !important; }
/* Custom scrollbar */
.admin-sidebar::-webkit-scrollbar { width: 6px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }

.admin-main { padding: 26px 32px 40px; background: var(--bg-soft); min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 14px 22px; border-radius: var(--radius); margin-bottom: 22px; box-shadow: var(--shadow-sm); flex-wrap: wrap; gap: 12px; }
.admin-topbar h1 { font-size: 1.4rem; margin: 0; color: var(--navy); }
.admin-topbar > div { font-size: .9rem; color: var(--muted); }
.admin-topbar a { color: var(--primary); }
.admin-card { background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.admin-card h2 { font-size: 1.2rem; margin-bottom: 14px; }
.admin-card h3 { font-size: 1.02rem; margin: 18px 0 10px; color: var(--navy); }

/* ----- Admin: forms ----- */
.admin-main .form-group { margin-bottom: 14px; }
.admin-main .form-group > label { display: block; font-weight: 600; font-size: .86rem; color: var(--navy); margin-bottom: 6px; }
.admin-main .form-group > label .muted { font-weight: 400; }
.admin-main label > input,
.admin-main label > select,
.admin-main label > textarea { display: block; width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 6px; font-family: inherit; font-size: .9rem; background: #fff; margin-top: 4px; box-sizing: border-box; }
.admin-main label > input:focus,
.admin-main label > select:focus,
.admin-main label > textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123,28,62,.12); }
.admin-main .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-main .form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.admin-main .grid.grid-2,
.admin-main .grid.grid-3,
.admin-main .grid.grid-4 { display: grid; gap: 14px; }
.admin-main .grid.grid-2 { grid-template-columns: 1fr 1fr; }
.admin-main .grid.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.admin-main .grid.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----- Admin: tables ----- */
.data-table,
.admin-main .table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 18px; font-size: .88rem; }
.data-table thead th,
.admin-main .table thead th { background: var(--bg-soft); color: var(--navy); font-weight: 600; text-align: left; padding: 11px 14px; font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.data-table tbody td,
.admin-main .table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr:last-child td,
.admin-main .table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover,
.admin-main .table tbody tr:hover { background: #fafbfd; }
.data-table input[type=text],
.data-table input[type=number],
.data-table select,
.data-table textarea { padding: 6px 8px; font-size: .82rem; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; }
.data-table form { display: inline; }

/* ----- Admin: badges ----- */
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .03em; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--border); }
.badge-success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.badge-warning { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.badge-error   { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

/* ----- Admin: alerts (already styled minimally above; tighten admin variants) ----- */
.admin-main .alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: .9rem; border: 1px solid transparent; }
.admin-main .alert-success { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.admin-main .alert-error   { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.admin-main .alert-info    { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }

/* ----- Admin: details / disclosure widget polish ----- */
.admin-main details { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 0; margin-bottom: 10px; }
.admin-main details > summary { padding: 12px 14px; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
.admin-main details > summary::-webkit-details-marker { display: none; }
.admin-main details > summary::before { content: "▸ "; display: inline-block; transition: transform .2s; margin-right: 4px; color: var(--muted); }
.admin-main details[open] > summary::before { transform: rotate(90deg); }
.admin-main details[open] > summary { border-bottom: 1px solid var(--border); }
.admin-main details > *:not(summary) { padding: 14px; }

/* ----- Admin: code chips ----- */
.admin-main code { background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; font-size: .82em; color: var(--primary); border: 1px solid var(--border); }

/* ----- Admin: buttons sizing inside cells ----- */
.admin-main .btn-sm { padding: 6px 12px; font-size: .8rem; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.dash-stat { background: #fff; padding: 18px 20px; border-radius: var(--radius); border-left: 4px solid var(--primary); box-shadow: var(--shadow-sm); }
.dash-stat__num { font-family: 'Poppins'; font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.dash-stat__label { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--primary-dark)); padding: 24px; }
.login-card { background: #fff; padding: 38px 34px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; max-width: 400px; }
.login-card h1 { text-align: center; margin-bottom: 4px; font-size: 1.5rem; }
.login-card .login-sub { text-align: center; color: var(--muted); margin-bottom: 22px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tag { display: inline-block; padding: 3px 10px; background: var(--primary-light); color: var(--primary); font-size: 0.75rem; border-radius: 999px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  body.admin-nav-open .admin-sidebar { display: block; }
  .hero__split { grid-template-columns: 1fr; gap: 32px; }
  .hero__form { max-width: 520px; margin: 0 auto; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr; gap: 32px; }
  .achievements-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
  .placement-band__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: all .2s ease;
  }
  body.nav-open .primary-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav > ul { flex-direction: column; padding: 12px 0; }
  .primary-nav > ul > li { width: 100%; }
  .primary-nav a { padding: 12px 22px; }
  .primary-nav .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-top: 1px solid var(--border);
    border-radius: 0; padding: 0 0 0 18px; display: none;
  }
  .primary-nav .has-sub:hover > .sub,
  .primary-nav .has-sub.open > .sub { display: block; }
  .primary-nav .mega, .primary-nav .mega-2 { width: 100%; grid-template-columns: 1fr; padding: 8px 0 8px 14px; }
  .primary-nav .mega .mega-col-title { border-bottom: none; padding: 12px 12px 4px; margin-bottom: 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 52px 0; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__content h1 { font-size: 2.2rem; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   PREMIUM POLISH — site-wide refinements (typography, motion, depth, focus)
   ========================================================================= */
:root {
  --easing: cubic-bezier(.22, .6, .36, 1);
  --shadow-xs: 0 1px 2px rgba(13,31,78,.05);
  --shadow-lift: 0 22px 56px -28px rgba(13,31,78,.32);
  --ring: 0 0 0 3px rgba(127,126,132,.18);
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-feature-settings: "kern" 1, "liga" 1; }
::selection { background: rgba(13,31,78,0.12); color: var(--navy); }

/* Refined headings */
h1, h2, h3 { letter-spacing: -0.01em; }
h2 { letter-spacing: -0.015em; }

/* Smoother button motion */
.btn, .btn-outline, .btn-light, .btn-link {
  transition: background .22s var(--easing), color .22s var(--easing), transform .22s var(--easing), box-shadow .25s var(--easing), border-color .22s var(--easing);
}
.btn:hover, .btn-outline:hover, .btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active, .btn-outline:active, .btn-light:active { transform: translateY(0); }
.btn:focus-visible, .btn-outline:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow-sm); }

/* Card hover refinement (works on .card, .why-card, .dept-card, .quick-card, .event-card) */
.card, .why-card, .dept-card, .quick-card, .event-card, .gov-leader-card, .album-card, .testimonial-card {
  transition: transform .25s var(--easing), box-shadow .28s var(--easing), border-color .25s var(--easing);
}
.card:hover, .dept-card:hover, .quick-card:hover, .album-card:hover { box-shadow: var(--shadow-lift); }

/* Subtle "rise" animation when content enters viewport — handled by JS IntersectionObserver */
/* Form input focus consistency */
input:focus, textarea:focus, select:focus { outline: none; }

/* Image upgrade — every img gets gentle rounding + lazy fade-in */
.section img, .card img, .gov-leader-card__photo-wrap img, .leader-message__photo img, .college-profile__photo img, .event-card__media img {
  background: #f1f5f9;
}
img[loading="lazy"] { transition: opacity .35s var(--easing); }

/* Page-banner — premium two-tone gradient + soft glow */
.page-banner { background: linear-gradient(135deg, var(--navy) 0%, #1a3268 50%, var(--primary-dark) 100%); position: relative; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 50%), radial-gradient(circle at 10% 80%, rgba(127,126,132,.12), transparent 45%); pointer-events: none; }
.page-banner .container { position: relative; }
.page-banner h1 { font-weight: 700; }
.page-banner .lead { color: rgba(255,255,255,.85); font-size: 1.08rem; margin-top: 8px; max-width: 720px; }
.page-banner .breadcrumb { color: rgba(255,255,255,.65); font-size: .88rem; margin-top: 18px; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-banner .breadcrumb a:hover { color: #fff; }

/* Footer premium touch */
.site-footer { background: linear-gradient(135deg, var(--navy), #0a193d); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); }

/* Top nav hover refinement */
.primary-nav ul > li > a { transition: color .22s var(--easing), background .22s var(--easing); position: relative; }
.primary-nav ul > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--easing); }
.primary-nav ul > li:hover > a::after,
.primary-nav ul > li.is-active > a::after { transform: scaleX(1); }

/* Better dropdown shadow */
.primary-nav .sub, .primary-nav .mega { box-shadow: 0 28px 56px -24px rgba(13,31,78,.34); border-radius: 12px; overflow: hidden; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; border: 2px solid #f1f5f9; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Reduce-motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Section-divider intro band (admissions.php pattern) ---------- */
.section-divider { padding: 56px 0 12px; background: #fff; }
.section-divider--soft { background: var(--soft, #f7f8fa); }
.section-divider .container { max-width: 920px; text-align: center; }
.section-divider .eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; padding: 6px 14px; background: rgba(13,31,78,0.06); border-radius: 999px; }
.section-divider h2 { font-size: 2.1rem; line-height: 1.2; color: var(--navy); margin: 0 auto 14px; max-width: 800px; }
.section-divider .lead { font-size: 1.05rem; line-height: 1.65; color: var(--muted); max-width: 720px; margin: 0 auto; }

@media (max-width: 768px) {
  .section-divider { padding: 40px 0 8px; }
  .section-divider h2 { font-size: 1.55rem; }
}

/* ---------- Carousel (alumni + events) ---------- */
.carousel { position: relative; padding: 0 44px; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; list-style: none; padding: 0; margin: 0; transition: transform .55s cubic-bezier(.22,.6,.36,1); }
.carousel__slide { flex: 0 0 100%; padding: 6px; box-sizing: border-box; }
.carousel__slide--3 { flex: 0 0 33.333%; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--border); color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(13,31,78,.4); z-index: 2; transition: transform .2s, background .2s; }
.carousel__nav:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.06); }
.carousel__nav--prev { left: 0; }
.carousel__nav--next { right: 0; }
.carousel__dots { display: flex; gap: 8px; justify-content: center; padding: 22px 0 4px; margin: 0 0 28px; list-style: none; }
.carousel__dots li { width: 8px; height: 8px; border-radius: 50%; background: rgba(13,31,78,.18); cursor: pointer; transition: width .25s, background .25s; }
.carousel__dots li.is-active { background: var(--primary); width: 22px; border-radius: 4px; }

@media (max-width: 768px) {
  .carousel__slide--3 { flex: 0 0 100%; }
  .carousel { padding: 0 8px; }
  .carousel__nav { display: none; }
}

/* ---------- Testimonial card (alumni carousel) ---------- */
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; box-shadow: 0 8px 24px -16px rgba(13,31,78,.18); position: relative; min-height: 240px; display: flex; flex-direction: column; }
.testimonial-card__quote { position: absolute; top: 14px; right: 22px; font-family: 'Poppins',sans-serif; font-size: 5rem; line-height: 1; color: var(--primary-light); }
.testimonial-card__text { font-style: italic; color: #334155; line-height: 1.65; margin: 0 0 22px; flex: 1; font-size: 1rem; }
.testimonial-card__author { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.testimonial-card__author strong { display: block; color: var(--navy); font-size: .96rem; }
.testimonial-card__author span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }

/* ---------- Event card (events carousel) ---------- */
.event-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; height: 100%; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(13,31,78,.32); }
.event-card__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--primary-dark)); overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 2.4rem; letter-spacing: .04em; }
.event-card__date { position: absolute; bottom: 14px; left: 14px; background: #fff; border-radius: 10px; padding: 8px 12px; min-width: 60px; text-align: center; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.event-card__date strong { display: block; font-family: 'Poppins',sans-serif; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.event-card__date span { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.event-card__body { padding: 20px 22px 22px; }
.event-card__body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.event-card__body p { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }
.event-card__excerpt { color: #475569; }

/* =====================================================================
   HERO OVERLAY IMAGE (v18)  — admin-uploaded transparent decorative PNG
   Floats in the lower portion of the hero, behind the text content but
   above the gradient/photo background. Subtle fade so it never fights
   the headline.
   ===================================================================== */
.hero { position: relative; }      /* belt-and-braces */
.hero__overlay-img {
  position: absolute;
  left: 4%;
  bottom: -10px;
  width: clamp(220px, 32vw, 480px);
  height: auto;
  pointer-events: none;
  opacity: .18;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.35));
  z-index: 1;
  user-select: none;
}
/* Make sure text/form sits ABOVE the overlay */
.hero__split, .hero__content, .hero__form { position: relative; z-index: 2; }
@media (max-width: 980px) {
  .hero__overlay-img { opacity: .12; width: clamp(180px, 50vw, 320px); left: 6%; bottom: 8%; }
}
@media (max-width: 560px) {
  .hero__overlay-img { display: none; }   /* keep phones uncluttered */
}

/* =====================================================================
   RESPONSIVE OVERHAUL (v17) — works across phones, tablets, desktops
   ===================================================================== */

/* Hamburger now appears on tablets too (≤ 980px) so the menu doesn't
   overflow on iPad-portrait or larger Android phones in landscape. */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 40px -10px rgba(0,0,0,.18);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
    max-height: calc(100vh - 80px); overflow-y: auto;
    z-index: 90;
  }
  body.nav-open .primary-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }   /* lock background scroll */
  .primary-nav > ul { flex-direction: column; padding: 8px 0 14px; gap: 0; }
  .primary-nav > ul > li { width: 100%; border-bottom: 1px solid var(--border); }
  .primary-nav > ul > li:last-child { border-bottom: none; }
  .primary-nav a { padding: 14px 22px; font-size: .95rem; }
  .primary-nav .has-sub > a::after { float: right; transition: transform .2s; }
  .primary-nav .has-sub.open > a::after { transform: rotate(180deg); }
  .primary-nav .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-top: 1px solid var(--border);
    border-radius: 0; padding: 0; display: none;
    background: #f9fafb;
  }
  .primary-nav .has-sub.open > .sub { display: block; }
  .primary-nav .sub a { padding: 12px 30px; font-size: .9rem; }
  .primary-nav .mega, .primary-nav .mega-2 { width: 100%; grid-template-columns: 1fr; padding: 4px 0 8px; }
  .primary-nav .mega .mega-col-title { border-bottom: none; padding: 10px 22px 4px; margin-bottom: 0; font-size: .68rem; }
  .primary-nav .mega .mega-col a { padding: 10px 30px; font-size: .88rem; }

  /* Animated hamburger -> X */
  .nav-toggle { z-index: 95; position: relative; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Tighten the top utility bar on small screens (phone + tablet) */
@media (max-width: 980px) {
  .top-bar { font-size: .76rem; padding: 6px 0; }
  .top-bar__left a, .top-bar__right a { padding: 0 6px; }
  .top-bar__right { display: flex; gap: 4px; }
}
@media (max-width: 560px) {
  .top-bar { display: none; }
  /* Keep the subtitle visible but hide only the long italic tagline */
  .brand__tagline { display: none; }
  .brand__sub { display: block; font-size: 10px !important; line-height: 1.2; }
  .brand { max-width: 260px; gap: 10px; }
  .brand__name { font-size: 15px !important; letter-spacing: .3px; line-height: 1.15; }
  .brand__mark, .brand__logo, .brand__fallback { width: 38px !important; height: 38px !important; }
  .brand__fallback { font-size: 1.05rem !important; }
}
@media (max-width: 380px) {
  .brand { max-width: 230px; gap: 8px; }
  .brand__name { font-size: 14px !important; }
  .brand__sub { font-size: 9.5px !important; }
  .brand__mark, .brand__logo, .brand__fallback { width: 34px !important; height: 34px !important; }
}

/* Hero split-form: stack on tablet, full-width form on phone */
@media (max-width: 980px) {
  .hero--split { padding: 40px 0 56px; }
  .hero__split { grid-template-columns: 1fr; gap: 32px; }
  .hero__content { text-align: center; align-items: center; }
  .hero__content h1 { font-size: 2.2rem; line-height: 1.18; }
  .hero__content p { font-size: 1rem; max-width: 100%; }
  .hero__content .hero__cta { justify-content: center; }
  .hero__stats { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero__content h1 { font-size: 1.7rem; }
  .hero__content p { font-size: .95rem; line-height: 1.55; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .hero__stats strong { font-size: 1.4rem; }
  .hero__form { padding: 20px; border-radius: 12px; }
  .hero__form-eyebrow { font-size: .7rem; }
  .hero__form-header h3 { font-size: 1.05rem; }
}

/* Cards / grids that may have been forced wide */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-col h4 { margin-bottom: 8px; }
  .site-footer__grid { gap: 28px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-4 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 1.7rem !important; }
  .page-banner .crumbs { font-size: .82rem; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 1.5rem; }
  iframe { max-width: 100%; }
}

/* Carousel: show 1 per slide on phones */
@media (max-width: 720px) {
  .carousel__track--3 .carousel__slide,
  .carousel__track--2 .carousel__slide,
  .carousel__slide { flex-basis: 100% !important; min-width: 100% !important; }
}

/* Tables become horizontally scrollable instead of crushing rows */
@media (max-width: 720px) {
  .data-table, .table, table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}

/* Add bottom padding so floating buttons don't cover real content on mobile */
@media (max-width: 980px) {
  body { padding-bottom: 70px; }
}

/* =====================================================================
   FLOATING WHATSAPP + CALL BUTTONS (all devices)
   ===================================================================== */
.float-actions {
  position: fixed; right: 18px; bottom: 22px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 1000;
}
.float-actions a {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 14px 32px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.float-actions a svg { width: 26px; height: 26px; }
.float-actions a:active { transform: scale(.94); }
.float-actions a:hover  { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(0,0,0,.32); }
.float-actions .fa-whatsapp { background: #25d366; }
.float-actions .fa-call     { background: var(--navy); }
.float-actions .fa-whatsapp::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.55);
  animation: faPulse 1.8s ease-out infinite;
}
@keyframes faPulse {
  0%   { transform: scale(1);   opacity: .9; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 560px) {
  .float-actions { right: 14px; bottom: 16px; gap: 10px; }
  .float-actions a { width: 52px; height: 52px; }
  .float-actions a svg { width: 24px; height: 24px; }
}

/* =====================================================================
   IMAGES NEVER OVERFLOW THEIR CONTAINER (paranoia rule)
   ===================================================================== */
img, video, iframe, embed { max-width: 100%; }
.container { max-width: 1200px; padding-left: 16px; padding-right: 16px; }
@media (max-width: 720px) {
  .container { padding-left: 14px; padding-right: 14px; }
}

