/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; color: #0f172a; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.text-center { text-align: center; }

/* ====== LAYOUT ====== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; text-align: center; }

.section { padding: 70px 0; }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 14px; color: #0f172a; }
.section-title.center { text-align: center; margin-bottom: 16px; }
.section-subtitle { font-size: 22px; font-weight: 700; color: #0f172a; margin: 50px 0 24px; text-align: center; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.eyebrow { display: inline-block; color: #1e3a8a; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.lead { color: #4b5563; font-size: 15px; max-width: 720px; margin: 0 auto; }
.title-divider { width: 60px; height: 3px; background: #1e3a8a; margin: 0 auto 28px; border-radius: 2px; }
.title-divider.left { margin-left: 0; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  border: 1px solid transparent; cursor: pointer; gap: 6px; white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-primary { background: #1e3a8a; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(30,58,138,.3); }
.btn-white { background: #fff; color: #1e3a8a; }
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); }
.btn-outline { border: 1px solid #d1d5db; color: #1f2937; background: #fff; }
.btn-outline:hover { background: #f3f4f6; }

/* ====== TOP UTILITY BAR ====== */
.topbar {
  background: #1e3a8a;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 500;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 40px; min-height: 44px; gap: 16px;
  width: 100%; max-width: 1600px; margin: 0 auto; box-sizing: border-box;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-left a {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.9); transition: color .15s ease;
}
.topbar-left a:hover { color: #fbbf24; }
.topbar-left svg { width: 15px; height: 15px; opacity: .9; }
.topbar-meta { color: rgba(255,255,255,.92); font-weight: 500; letter-spacing: .01em; }
.topbar-divider { color: rgba(255,255,255,.35); }
.topbar-socials { display: flex; gap: 4px; margin-left: 8px; }
.topbar-socials a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); border-radius: 6px;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
.topbar-socials a:hover { color: #1e3a8a; background: #fff; transform: translateY(-1px); }
.topbar-socials svg { width: 14px; height: 14px; }

/* ====== MAIN HEADER ====== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 22px rgba(15, 23, 42, .08);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 40px; gap: 24px;
  width: 100%; max-width: 1600px; margin: 0 auto; box-sizing: border-box;
}

/* Logo cluster (2 logos + divider) */
.header-logos {
  display: flex; align-items: center; gap: 18px;
  text-decoration: none; flex-shrink: 0;
}
.header-logos .hl-img {
  height: 96px; width: auto;
  object-fit: contain;
  transition: transform .25s ease;
}
.header-logos:hover .hl-img { transform: scale(1.04); }
.header-logos .hl-divider {
  width: 1px; height: 72px;
  background: #e2e8f0;
}

/* Nav */
.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  font-size: 14px; font-weight: 600;
  color: #475569;
  padding: 10px 16px;
  position: relative;
  transition: color .15s ease;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 3px;
  background: #1e3a8a;
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.main-nav a:hover { color: #1e3a8a; }
.main-nav a:hover::after { width: 50%; }
.main-nav a.active { color: #1e3a8a; font-weight: 700; }
.main-nav a.active::after { width: 50%; }

/* CTA - Raise Grievance */
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1e3a8a; color: #ffffff;
  padding: 11px 20px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.header-cta svg { width: 16px; height: 16px; }
.header-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30,58,138,.30);
}

/* ===== Nav dropdowns ===== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  background: transparent; border: none; cursor: pointer;
  font-family: inherit;
  font-size: 14px; font-weight: 600;
  color: #475569;
  padding: 10px 16px;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
  transition: color .15s ease;
}
.nav-dropdown-toggle::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 3px;
  background: #1e3a8a;
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
  color: #1e3a8a;
}
.nav-dropdown.active .nav-dropdown-toggle::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
  width: 50%;
}
.nav-caret {
  color: currentColor;
  transition: transform .2s ease;
}
.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px; font-weight: 500;
  color: #334155;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-dropdown-menu a:hover {
  background: #eff6ff;
  color: #1e3a8a;
}
.nav-dropdown-menu a.active {
  background: rgba(30,58,138,.08);
  color: #1e3a8a;
  font-weight: 700;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { width: 24px; height: 2px; background: #1e3a8a; transition: transform .2s ease, opacity .2s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== HERO (HOME) ====== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: stretch;
  overflow: hidden;
  color: #fff;
}
.hero-slides { position: relative; flex: 1; width: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, transform .8s ease;
  transform: scale(1.04);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1; visibility: visible; transform: scale(1);
  pointer-events: auto; z-index: 1;
}
.hero-slide.active .hero-copy { animation: heroFade .9s ease both; }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%;  }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.6) 35%, rgba(255,255,255,0) 60%);
}
.hero-inner { position: relative; z-index: 1; padding: 60px 24px; width: 100%; }
.hero-copy { max-width: 560px; }
.hero-copy h1 {
  font-size: 48px; font-weight: 800; color: #0f172a; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-copy h1 .accent { color: #1e3a8a; }
.hero-copy p { color: #334155; font-size: 15px; max-width: 480px; margin-bottom: 28px; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 1px solid rgba(30,58,138,.2);
  color: #1e3a8a; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  box-shadow: 0 6px 16px rgba(15,23,42,.12);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.hero-arrow:hover { background: #1e3a8a; color: #fff; transform: translateY(-50%) scale(1.06); }
.hero-arrow.left { left: 18px; }
.hero-arrow.right { right: 18px; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center; gap: 8px; z-index: 3;
}
.hero-dots.small { position: static; margin-top: 30px; }
.hero-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero-dots .dot.active { background: #1e3a8a; width: 24px; border-radius: 4px; }

/* ====== PAGE HERO (interior pages) ====== */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
  color: #fff;
  padding: 32px 0 30px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Dotted pattern */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.10) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,.7) 0%, transparent 60%);
  mask-image: linear-gradient(135deg, rgba(0,0,0,.7) 0%, transparent 60%);
  pointer-events: none;
}
/* Gold glow corner */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -160px; right: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(251,191,36,.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 2;
  display: block;
}
.page-hero h1 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.page-hero h1::before { display: none; }
.page-hero h1::after { display: none; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.breadcrumb a {
  color: rgba(255,255,255,.95);
  transition: color .15s ease;
}
.breadcrumb a:hover { color: #fbbf24; }
.breadcrumb span {
  display: inline-block;
  margin: 0 8px;
  color: rgba(255,255,255,.4);
  font-weight: 400;
}

@media (max-width: 560px) {
  .page-hero { padding: 24px 0 22px; }
  .page-hero h1 { font-size: 22px; }
  .breadcrumb { font-size: 10.5px; }
}

/* ====== STATS ====== */
.stats { background: #1e3a8a; color: #fff; padding: 40px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-num { font-size: 38px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: .04em; }

/* ====== ABOUT (HOME, redesigned) ====== */
.about-home-v2 {
  background:
    radial-gradient(circle at 90% 10%, rgba(251,191,36,.06) 0%, transparent 35%),
    radial-gradient(circle at 5% 95%, rgba(30,58,138,.05) 0%, transparent 30%),
    #ffffff;
  padding: 70px 0;
}
.about-h-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.about-h-content .eyebrow { margin-bottom: 14px; }
.about-h-content h2 { font-size: 36px; line-height: 1.18; margin-bottom: 8px; }
.about-h-lead {
  color: #475569; font-size: 16px; line-height: 1.7;
  margin: 18px 0 26px;
  max-width: 560px;
}
.about-h-features {
  list-style: none; padding: 0; margin: 0 0 6px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px;
}
.about-h-features li {
  display: flex; align-items: flex-start; gap: 12px;
}
.afh-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(30,58,138,.25);
}
.afh-icon svg { width: 14px; height: 14px; }
.about-h-features strong { display: block; font-size: 14px; color: #0f172a; font-weight: 700; margin-bottom: 2px; }
.about-h-features span { font-size: 12.5px; color: #64748b; line-height: 1.45; }

/* Visual side */
.about-h-visual { position: relative; min-height: 480px; }
.about-h-image {
  width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(15,23,42,.18);
  position: relative;
  min-height: 480px;
}
.about-h-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-h-stat {
  position: absolute;
  background: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(15,23,42,.18);
  display: flex; align-items: center; gap: 12px;
}
.about-h-stat .ahs-num {
  font-size: 32px; font-weight: 800; color: #1e3a8a;
  line-height: 1; letter-spacing: -.02em;
}
.about-h-stat .ahs-num span { color: #fbbf24; }
.about-h-stat .ahs-label {
  font-size: 11px; color: #64748b; font-weight: 600;
  line-height: 1.25; text-transform: uppercase; letter-spacing: .05em;
}
.about-h-stat-1 { top: 20px; left: -24px; }
.about-h-stat-2 { bottom: 80px; right: -24px; }

.about-h-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(30,58,138,.4);
}
.about-h-badge .ahb-year {
  font-size: 18px; font-weight: 800;
  color: #fbbf24;
  letter-spacing: -.01em;
}
.about-h-badge .ahb-text {
  font-size: 11px; color: rgba(255,255,255,.85);
  text-transform: uppercase; letter-spacing: .08em;
  font-weight: 600; margin-top: 2px;
}

@media (max-width: 980px) {
  .about-h-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-h-content h2 { font-size: 28px; }
  .about-h-features { grid-template-columns: 1fr; gap: 14px; }
  .about-h-visual { min-height: 360px; }
  .about-h-image { min-height: 360px; }
  .about-h-stat-1 { top: 16px; left: 16px; }
  .about-h-stat-2 { bottom: 70px; right: 16px; }
  .about-h-badge { left: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
  .about-home-v2 { padding: 50px 0; }
  .about-h-stat { padding: 12px 14px; }
  .about-h-stat .ahs-num { font-size: 24px; }
  .about-h-badge { padding: 10px 14px; }
}

/* ====== ABOUT (legacy) ====== */
.about { background: #fff; padding-top: 70px; padding-bottom: 50px; }
.about .section-title { font-size: 32px; margin-bottom: 12px; }

.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
}
.about-text p { color: #4b5563; margin-bottom: 14px; }
.about-image img { border-radius: 12px; box-shadow: 0 18px 40px rgba(15,23,42,.12); }

/* ====== MISSION / VISION ====== */
.mv { background: #fff; }
.mv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.mv-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 30px 24px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.mv-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg,#1e3a8a,#3b82f6); color: #fff;
  font-size: 26px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(30,58,138,.25);
}
.mv-card h3 { font-size: 20px; margin-bottom: 10px; color: #1e3a8a; }
.mv-card p { color: #4b5563; font-size: 14px; }

/* ====== TEAM HIGHLIGHT (HOME) ====== */
.team-home { background: #f8fafc; }
.team-home .cards-4 .leader-img { height: 230px; }

/* ====== INSPIRATION ====== */
.inspiration { background: #f8fafc; padding-top: 50px; padding-bottom: 70px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.insp-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.insp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.insp-img { height: 130px; background-size: cover; background-position: center; }
.insp-body { padding: 18px 18px 22px; text-align: center; }
.insp-card h3 { font-size: 16px; margin-bottom: 8px; color: #1e3a8a; }
.insp-card p { color: #6b7280; font-size: 13px; line-height: 1.55; }

/* ====== LEADERSHIP MESSAGE ====== */
.message { background: #fff; }
.message-grid {
  display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: center;
}
.message-photo img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 16px; box-shadow: 0 20px 40px rgba(15,23,42,.15);
}
.message-body h2 { margin-bottom: 16px; }
.message-body .lead {
  color: #334155; font-style: italic; border-left: 4px solid #1e3a8a;
  padding-left: 18px; margin: 0 0 22px;
}
.signature strong { color: #1e3a8a; font-size: 15px; }
.signature span { color: #6b7280; font-size: 13px; }

/* ====== NEWS (HOME) ====== */
.news { background: #fff; }
.carousel, .news-carousel { position: relative; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid #e5e7eb;
  font-size: 22px; color: #1e3a8a; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(15,23,42,.1);
  z-index: 3; transition: background .15s ease, color .15s ease;
}
.carousel-arrow:hover { background: #1e3a8a; color: #fff; }
.carousel-arrow.left { left: -18px; }
.carousel-arrow.right { right: -18px; }

.news-viewport { overflow: hidden; }
.news-track,
.events-track {
  display: flex; gap: 22px;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.news-track .news-card,
.events-track .event-card { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.news-img { height: 170px; background-size: cover; background-position: center; }
.news-body { padding: 18px 20px 22px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.news-date { font-size: 12px; color: #94a3b8; }
.tag {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; letter-spacing: .04em; text-transform: uppercase;
}
.tag-blue { background: #dbeafe; color: #1e3a8a; }
.tag-green { background: #dcfce7; color: #15803d; }
.tag-orange { background: #ffedd5; color: #c2410c; }
.news-card h3 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; color: #0f172a; }
.news-card p { color: #6b7280; font-size: 13px; margin-bottom: 12px; }
.link-more { color: #1e3a8a; font-weight: 600; font-size: 13px; }
.link-more:hover { color: #1d4ed8; }

/* ====== EVENTS ====== */
.events { background: #f8fafc; }
.event-card {
  display: flex; gap: 16px; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 10px; padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,23,42,.08); }
.event-date {
  flex-shrink: 0; width: 64px; border-radius: 8px;
  background: #f1f5f9; color: #1e3a8a;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 0;
}
.event-date .d { font-size: 24px; font-weight: 800; line-height: 1; color: #1e3a8a; }
.event-date .m { font-size: 11px; font-weight: 700; margin-top: 2px; letter-spacing: .08em; color: #1e3a8a; }
.event-body h3 { font-size: 15px; margin-bottom: 6px; color: #0f172a; }
.event-body p { color: #64748b; font-size: 13px; margin-bottom: 4px; }
.event-when { color: #94a3b8; font-size: 12px; }

/* ====== NEWSLETTER ====== */
.newsletter {
  background: #f1f5f9; padding: 50px 0;
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.newsletter-inner h3 { font-size: 22px; color: #0f172a; margin-bottom: 4px; }
.newsletter-inner p { color: #64748b; font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 480px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.newsletter-form input:focus { outline: none; border-color: #1e3a8a; }

/* ====== CTA ====== */
.cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #fff; padding: 50px 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; right: -100px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0, transparent 70%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  position: relative; z-index: 1; flex-wrap: wrap;
}
.cta-copy { flex: 1; min-width: 240px; }
.cta h2 { font-size: 28px; color: #fff; margin-bottom: 8px; font-weight: 700; }
.cta p { color: #cbd5e1; font-size: 14px; }
.cta-decor {
  position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
  font-size: 90px; opacity: .12; pointer-events: none;
}

/* ====== FOOTER ====== */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 60px 0 0; }
.footer-logos {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.footer-logos .fl-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.footer-logos:hover .fl-circle { transform: scale(1.05); }
.footer-logos .fl-circle img {
  width: 100%; height: 100%; object-fit: contain;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-map {
  border-radius: 10px; overflow: hidden;
  border: 1px solid #1e293b;
  height: 180px;
}
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) brightness(.95); }
.brand-light .brand-title { color: #fff; }
.brand-light .brand-sub { color: #94a3b8; }
.footer-about { color: #94a3b8; font-size: 13px; margin-top: 16px; max-width: 320px; line-height: 1.6; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: #1e293b; display: flex; align-items: center; justify-content: center;
  color: #cbd5e1; font-size: 13px; transition: background .2s ease, color .2s ease;
}
.socials a:hover { background: #1e3a8a; color: #fff; }

.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.site-footer ul li { margin-bottom: 9px; font-size: 13px; color: #94a3b8; }
.site-footer ul li a:hover { color: #fff; }
.contact-list li { line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 18px 24px; display: flex; justify-content: space-between;
  font-size: 12px; color: #64748b; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a:hover { color: #fff; }

/* ====== ABOUT PAGE — OBJECTIVES ====== */
.objectives-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.obj-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 28px 24px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.obj-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.obj-num {
  display: inline-block; font-size: 36px; font-weight: 800;
  color: #dbeafe; line-height: 1; margin-bottom: 12px;
}
.obj-card h3 { font-size: 17px; color: #1e3a8a; margin-bottom: 8px; }
.obj-card p { color: #6b7280; font-size: 14px; }

/* ====== ABOUT PAGE — TIMELINE ====== */
.timeline {
  position: relative; max-width: 760px; margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: ''; position: absolute; left: 80px; top: 0; bottom: 0;
  width: 2px; background: #cbd5e1;
}
.t-item {
  display: flex; gap: 30px; margin-bottom: 30px; position: relative;
}
.t-year {
  flex-shrink: 0; width: 80px; padding-right: 18px;
  font-size: 18px; font-weight: 800; color: #1e3a8a; text-align: right;
  position: relative;
}
.t-year::after {
  content: ''; position: absolute; right: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #1e3a8a; border: 3px solid #fff; box-shadow: 0 0 0 2px #1e3a8a;
}
.t-body {
  flex: 1; padding-left: 20px; background: #fff;
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 20px;
}
.t-body h4 { font-size: 16px; color: #0f172a; margin-bottom: 4px; }
.t-body p { color: #6b7280; font-size: 13px; }

/* ====== TEAM PAGE ====== */
.leadership-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 20px;
}
.leadership-row .leader-img { height: 230px; }
.leader-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.leader-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15,23,42,.12); }
.leader-img {
  height: 280px; background-size: cover; background-position: center;
}
.leader-body { padding: 20px; text-align: center; }
.role-badge {
  display: inline-block; background: #dbeafe; color: #1e3a8a;
  padding: 4px 12px; border-radius: 20px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
}
.leader-card h3 { font-size: 18px; color: #0f172a; margin-bottom: 4px; }
.leader-card .dept { color: #6b7280; font-size: 13px; margin-bottom: 14px; }
.leader-socials { display: flex; gap: 8px; justify-content: center; }
.leader-socials a {
  width: 30px; height: 30px; border-radius: 50%;
  background: #f1f5f9; color: #1e3a8a;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: background .15s ease, color .15s ease;
}
.leader-socials a:hover { background: #1e3a8a; color: #fff; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.team-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 22px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.team-img {
  width: 110px; height: 110px; border-radius: 50%;
  background-size: cover; background-position: center;
  margin: 0 auto 14px; border: 3px solid #f1f5f9;
}
.team-card h4 { font-size: 16px; color: #0f172a; margin-bottom: 4px; }
.team-card span {
  display: inline-block; color: #1e3a8a; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}
.team-card .dept { color: #6b7280; font-size: 13px; }

/* ====== NEWS PAGE ====== */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px;
}
.filter-btn {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 20px;
  padding: 8px 18px; font-size: 13px; color: #374151;
  cursor: pointer; font-family: inherit; font-weight: 500;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: #1e3a8a; color: #1e3a8a; }
.filter-btn.active { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }

.featured-news {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid #e5e7eb;
}
.featured-img { background-size: cover; background-position: center; min-height: 360px; }
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: 26px; margin: 12px 0 10px; color: #0f172a; }
.featured-body .news-date { margin-bottom: 16px; }
.featured-body p { color: #4b5563; margin-bottom: 22px; }
.featured-body .btn { align-self: flex-start; }

.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}

/* ====== PUBLIC PAGINATION ====== */
.public-pagination {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-top: 50px; padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}
.pp-info { font-size: 13.5px; color: #64748b; }
.pp-info strong { color: #0f172a; font-weight: 700; }
.pp-nav { display: inline-flex; gap: 6px; }
.pp-btn {
  min-width: 38px; height: 38px;
  padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #475569;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}
.pp-btn:hover { background: #f1f5f9; color: #1e3a8a; border-color: #cbd5e1; }
.pp-btn.active {
  background: #1e3a8a; color: #fff; border-color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(30,58,138,.25);
}
.pp-btn.disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 560px) {
  .public-pagination { justify-content: center; }
  .pp-info { width: 100%; text-align: center; }
}

.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 50px;
}
.page-btn {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e5e7eb; color: #1e3a8a;
  font-weight: 600; transition: background .15s ease, color .15s ease;
}
.page-btn:hover { background: #f1f5f9; }
.page-btn.active { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ====== EVENTS PAGE ====== */
.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.event-card-lg {
  display: flex; gap: 16px; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 12px; padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card-lg:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.event-card-lg .event-date {
  flex-shrink: 0; width: 70px; border-radius: 10px;
  background: linear-gradient(135deg,#1e3a8a,#3b82f6);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 0;
}
.event-card-lg .event-date .d,
.event-card-lg .event-date .m { color: #fff; }
.event-card-lg .event-body { flex: 1; }
.event-card-lg .event-body .tag { margin-bottom: 8px; }
.event-card-lg .event-body h3 { font-size: 16px; margin-bottom: 8px; color: #0f172a; }
.event-card-lg .event-body p { color: #64748b; font-size: 13px; margin-bottom: 4px; }
.event-card-lg .event-when { color: #94a3b8; font-size: 12px; margin-bottom: 12px !important; }
.event-card-lg .btn { margin-top: 6px; }

.past-events { background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; overflow: hidden; }
.past-row {
  display: grid; grid-template-columns: 140px 1fr auto;
  gap: 20px; padding: 16px 22px; align-items: center;
  border-bottom: 1px solid #f1f5f9;
}
.past-row:last-child { border-bottom: 0; }
.past-date { color: #1e3a8a; font-weight: 600; font-size: 13px; }
.past-title { color: #0f172a; font-size: 14px; font-weight: 500; }

/* ====== CONTACT PAGE ====== */
.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.c-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 28px 22px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.c-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.c-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg,#1e3a8a,#3b82f6); color: #fff;
  font-size: 22px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(30,58,138,.25);
}
.c-card h4 { font-size: 16px; color: #0f172a; margin-bottom: 8px; }
.c-card p { color: #6b7280; font-size: 13px; line-height: 1.6; }

.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch;
}
.contact-form-wrap { background: #fff; border-radius: 14px; padding: 36px; border: 1px solid #e5e7eb; }
.contact-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label {
  display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #e5e7eb; border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #f8fafc;
  transition: border-color .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: #1e3a8a; background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-map { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e5e7eb; display: flex; flex-direction: column; }
.contact-map iframe { width: 100%; flex: 1; min-height: 360px; border: 0; }
.map-caption { padding: 18px 22px; border-top: 1px solid #e5e7eb; }
.map-caption strong { color: #1e3a8a; font-size: 15px; }
.map-caption p { color: #6b7280; font-size: 13px; margin-top: 4px; }

.faq-list { max-width: 800px; margin: 30px auto 0; }
.faq-item {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  margin-bottom: 12px; padding: 0; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: #0f172a;
  list-style: none; position: relative; padding-right: 50px;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: #1e3a8a; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 22px 18px; color: #4b5563; font-size: 14px; }

/* ====== BACK TO TOP ====== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff;
  border: none; cursor: pointer;
  font-size: 20px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(30, 58, 138, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .2s ease;
  z-index: 60;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30, 58, 138, .45);
}
.back-to-top span { display: block; transform: translateY(-1px); }

@media (max-width: 560px) {
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; font-size: 18px; }
}

/* ====== REVEAL ANIMATION ====== */
.section, .stat, .insp-card, .news-card, .event-card, .leader-card, .team-card, .obj-card, .mv-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.in-view { opacity: 1; transform: translateY(0); }

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .header-cta { display: none; }
  .topbar-meta { display: none; }
  .topbar-divider { display: none; }
  .topbar-inner { padding: 8px 20px; }
  .header-inner { padding: 10px 20px; }
  .header-logos .hl-img { height: 64px; }
  .header-logos .hl-divider { height: 56px; }
  .main-nav { justify-content: flex-start; background: #ffffff; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 12px 24px 18px; border-top: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 14px; border-radius: 6px; margin-bottom: 2px;
    border-bottom: 1px solid #f1f5f9; font-size: 14px;
    text-transform: none; letter-spacing: 0; font-weight: 600;
    color: #374151;
  }
  .main-nav a::after { display: none; }
  .main-nav a:hover { background: #f1f5f9; color: #1e3a8a; }
  .main-nav a.active { color: #1e3a8a; background: rgba(30,58,138,.08); font-weight: 700; }
  .hamburger span { background: #fff; }
  .hamburger { display: flex; }

  .hero-copy h1 { font-size: 36px; }
  .hero-overlay { background: rgba(255,255,255,.85); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-num { font-size: 32px; }

  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .message-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .message-photo { max-width: 280px; margin: 0 auto; }
  .message-body .lead { text-align: left; }

  .mv-grid { grid-template-columns: 1fr; }
  .objectives-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }

  .timeline::before { left: 18px; }
  .t-item { gap: 16px; }
  .t-year { width: auto; padding-right: 0; padding-left: 36px; text-align: left; }
  .t-year::after { left: 12px; right: auto; }

  .leadership-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .featured-news { grid-template-columns: 1fr; }
  .featured-img { min-height: 240px; }
  .featured-body { padding: 28px; }
  .featured-body h2 { font-size: 22px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .past-row { grid-template-columns: 110px 1fr auto; gap: 14px; padding: 14px 18px; }

  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; align-items: center; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .carousel-arrow.left { left: 4px; }
  .carousel-arrow.right { right: 4px; }
  .news-track .news-card,
  .events-track .event-card { flex: 0 0 calc((100% - 22px) / 2); }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; }
}

@media (max-width: 560px) {
  .section { padding: 50px 0; }
  .container { padding: 0 18px; }
  .topbar-left { gap: 12px; font-size: 11.5px; }
  .topbar-left a span:not(svg) { display: inline; }
  .topbar-socials { gap: 2px; }
  .topbar-socials a { width: 22px; height: 22px; }
  .header-inner { padding: 8px 16px; gap: 10px; }
  .header-logos { gap: 12px; }
  .header-logos .hl-img { height: 52px; }
  .header-logos .hl-divider { height: 46px; }
  .main-nav a { padding: 14px 14px; font-size: 14px; }

  .hero { min-height: 460px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-copy p { font-size: 14px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 20px; }
  .hero-arrow.left { left: 8px; }
  .hero-arrow.right { right: 8px; }

  .page-hero { padding: 50px 0 40px; }
  .page-hero h1 { font-size: 28px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stat-num { font-size: 28px; }

  .cards-4 { grid-template-columns: 1fr; }
  .objectives-grid { grid-template-columns: 1fr; }
  .leadership-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .past-row { grid-template-columns: 1fr; gap: 6px; }
  .past-date { font-size: 12px; }
  .news-track .news-card,
  .events-track .event-card { flex: 0 0 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .contact-form-wrap { padding: 24px; }
  .featured-body { padding: 22px; }
  .cta h2 { font-size: 24px; }
  .section-title { font-size: 24px; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .filter-btn { white-space: nowrap; }
}

/* ============================================
   MOBILE TOPBAR FIX — no overlap, clean spacing
   ============================================ */
.mobile-grievance-btn { display: none; }

@media (max-width: 980px) {
  .topbar { font-size: 12px; padding: 0; }
  .topbar-inner {
    padding: 7px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
  }
  .topbar-left {
    display: flex !important;
    align-items: center;
    gap: 18px !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .topbar-left a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    line-height: 1;
  }
  .topbar-left svg { width: 14px !important; height: 14px !important; flex-shrink: 0; }
  .topbar-meta { display: none !important; }
  .topbar-divider { display: none !important; }
  .topbar-right { gap: 12px !important; flex-shrink: 0; }
  .topbar-socials { gap: 6px !important; margin-left: 0 !important; }
  .topbar-socials a { width: 26px !important; height: 26px !important; }
  .topbar-socials svg { width: 13px !important; height: 13px !important; }
}

@media (max-width: 640px) {
  /* Below 640px, hide phone/email text — keep only icons (no more wrap/overlap) */
  .topbar-left a span { display: none !important; }
  .topbar-left a {
    background: rgba(255,255,255,.12);
    width: 30px; height: 30px;
    border-radius: 50%;
    justify-content: center !important;
    align-items: center;
    padding: 0;
    gap: 0 !important;
  }
  .topbar-left { gap: 10px !important; flex: 0 0 auto !important; }
  .topbar-left svg { width: 14px !important; height: 14px !important; }
  .topbar-inner { padding: 5px 12px !important; }
}

@media (max-width: 420px) {
  .topbar-left a { width: 28px; height: 28px; }
  .topbar-left { gap: 8px !important; }
  .topbar-socials { gap: 4px !important; }
  .topbar-socials a { width: 24px !important; height: 24px !important; }
  .topbar-inner { padding: 5px 10px !important; gap: 8px !important; }
}

/* ============================================
   MOBILE HEADER FIX — guaranteed hamburger visibility
   ============================================ */
@media (max-width: 980px) {
  .header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    min-height: 56px;
  }
  .header-logos {
    display: flex !important;
    align-items: center;
    flex-shrink: 1 !important;
    min-width: 0;
  }
  .header-logos .hl-img {
    height: 40px !important;
    width: auto;
    max-width: 100%;
  }
  .header-logos .hl-divider { display: none !important; }

  .header-cta { display: none !important; }
  .main-nav.main-nav { /* extra specificity */ }

  /* Hamburger — ALWAYS visible & on top */
  .hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: #1e3a8a !important;
    border-radius: 8px;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0 !important;
    margin-left: auto;
    position: relative;
    z-index: 60;
  }
  .hamburger span {
    background: #fff !important;
    width: 20px !important;
    height: 2px !important;
    margin: 2px 0;
    border-radius: 2px;
    display: block;
  }

}

@media (max-width: 480px) {
  .header-inner { padding: 6px 10px !important; gap: 6px !important; }
  .header-logos .hl-img { height: 36px !important; }
  .hamburger { width: 38px !important; height: 38px !important; }
  .hamburger span { width: 18px !important; }
}

/* ============================================
   FLOATING GRIEVANCE FAB — mobile only, bottom-right
   ============================================ */
.grievance-fab {
  display: none;
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 90;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow:
    0 10px 24px rgba(220, 38, 38, .35),
    0 4px 10px rgba(220, 38, 38, .25),
    0 0 0 4px rgba(220, 38, 38, .12);
  transition: transform .2s ease, box-shadow .2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.grievance-fab:hover,
.grievance-fab:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 14px 32px rgba(220, 38, 38, .45),
    0 6px 14px rgba(220, 38, 38, .3),
    0 0 0 6px rgba(220, 38, 38, .15);
}
.grievance-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  flex-shrink: 0;
}
.grievance-fab-icon svg { width: 16px; height: 16px; }
.grievance-fab-label { line-height: 1; white-space: nowrap; }

/* Pulse ring animation */
.grievance-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid #dc2626;
  opacity: 0;
  animation: fabPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* Show only on mobile/tablet */
@media (max-width: 980px) {
  .grievance-fab { display: inline-flex; }
}

/* Smaller screens — icon-only round button (compact) */
@media (max-width: 480px) {
  .grievance-fab {
    bottom: 18px; right: 14px;
    padding: 14px;
    gap: 0;
  }
  .grievance-fab-label { display: none; }
  .grievance-fab-icon {
    width: 22px; height: 22px;
    background: transparent;
  }
  .grievance-fab-icon svg { width: 22px; height: 22px; }
}

/* Avoid covering footer when scrolled to bottom */
.site-footer { padding-bottom: 80px; }
@media (min-width: 981px) {
  .site-footer { padding-bottom: 0; }
}

@media (max-width: 360px) {
  .header-logos .hl-img { height: 32px !important; }
  .hamburger { width: 34px !important; height: 34px !important; }
}

/* ===== Mobile dropdown — click-to-expand inside drawer ===== */
@media (max-width: 980px) {
  .nav-dropdown {
    display: block;
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
  }
  .nav-dropdown-toggle::after { display: none; }
  .nav-dropdown-toggle .nav-caret {
    width: 12px; height: 12px;
    transition: transform .2s ease;
  }
  .nav-dropdown.open .nav-dropdown-toggle .nav-caret {
    transform: rotate(180deg);
  }
  .nav-dropdown:hover .nav-caret { transform: none; }  /* disable hover on mobile */
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    min-width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 12px;
    border-left: 2px solid #e5e7eb;
    margin: 4px 0 4px 14px;
    opacity: 1; visibility: visible;
    display: none;
    transition: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    /* Don't auto-open on hover for mobile */
    display: none;
  }
  .nav-dropdown.open:hover .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-menu a {
    padding: 10px 14px;
    font-size: 14px;
  }
}
