*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #002868;
  --primary-light: #003a8c;
  --accent: #BF0A30;
  --accent-light: #d43b52;
  --red: #BF0A30;
  --white: #ffffff;
  --off-white: #f0f2f5;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --text: #2c3e50;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

html { height: 100%; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
#main-content { flex: 1; }

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

.wide-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}
.container { max-width: 100%; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-subtitle {
  color: var(--gray);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem 0 1.5rem 0;
  border-radius: 2px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 1001;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.top-bar-left a {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}
.top-bar-left a:hover {
  color: var(--accent-light);
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-right a {
  color: rgba(255,255,255,0.8);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.top-bar-right a svg {
  width: 16px;
  height: 16px;
}
.top-bar-right a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 0 32px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: linear-gradient(135deg, rgba(0,40,104,0.97) 0%, rgba(0,58,140,0.97) 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.nav-logo img {
  height: 80px;
  width: auto;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}
.nav-logo-noimg {
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 8px;
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes floatHeading {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.01); }
}
@keyframes floatSub {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(191,10,48,0.3); transform: scale(1); }
  50% { box-shadow: 0 8px 40px rgba(191,10,48,0.6); transform: scale(1.03); }
}
.nav-logo-text {
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-logo-text span {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* --- Nav Links --- */
.nav-menu > a,
.nav-menu .drop-trigger {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.nav-menu > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-menu > a:hover,
.nav-menu .drop-trigger:hover { color: var(--white); }
.nav-menu > a:hover::after { transform: scaleX(1); }
.nav-menu > a.active { color: var(--accent-light); }

/* --- Dropdown --- */
.nav-dropdown {
  position: relative;
}
.drop-trigger {
  display: inline-block;
}
.drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 999;
  padding: 6px 0;
}
.nav-dropdown:hover .drop-menu,
.nav-dropdown:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drop-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.88rem;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.drop-menu a:hover {
  background: var(--off-white);
  color: var(--primary);
}
.drop-menu a::before {
  content: '\203A';
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  transition: background 0.3s, border-color 0.3s;
}
.nav-toggle:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== LANGUAGE SELECTOR ===== */
.top-bar-lang {
  position: relative;
  display: flex;
  align-items: center;
}
.top-bar-lang::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.85)'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
}
.top-bar-lang #langSelect {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  padding: 6px 26px 6px 34px;
  min-height: 32px;
  min-width: 38px;
  max-width: 120px;
  outline: none;
  transition: background 0.25s, border-color 0.25s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='rgba(255,255,255,0.45)'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 8px;
}
.top-bar-lang #langSelect:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}
.top-bar-lang #langSelect option {
  color: #222;
  font-size: 13px;
  background: #fff;
  font-weight: 400;
}
/* ===== HERO / BANNER ===== */
.hero {
  margin-top: 136px;
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--primary);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,61,0.75) 0%, rgba(10,31,61,0.35) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}
.hero-overlay h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  max-width: 900px;
}
.hero-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  max-width: 700px;
  margin-top: 16px;
  font-weight: 300;
}
.hero-overlay .hero-btn {
  margin-top: 32px;
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.hero-overlay .hero-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
  pointer-events: none;
}
.hero-arrows button {
  pointer-events: all;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
}
.hero-arrows button:hover {
  background: rgba(255,255,255,0.3);
}
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dots button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition);
}
.hero-dots button.active {
  background: var(--white);
}

/* ===== QUICK STATS ===== */
.stats {
  background: var(--primary);
  padding: 60px 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-light);
}
.stat-item p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1rem;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content h2 { font-size: 2rem; color: var(--primary); }
.about-content p { margin-bottom: 16px; color: #555; }
.about-read-more {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.about-read-more:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}
.about-mandate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.mandate-card {
  background: var(--off-white);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}
.mandate-card h4 { color: var(--primary); margin-bottom: 6px; }
.mandate-card p { font-size: 0.9rem; margin: 0; }

/* ===== ABOUT FULL PAGE ===== */
.about-full {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8faff 0%, #eef3fc 100%);
}
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.about-full-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
  background: var(--light-gray);
}
.about-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-full-content {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,40,104,0.08);
  border: 1px solid #e8edf5;
}
.about-full-content h2 {
  font-size: 2rem;
  color: var(--primary);
}
.about-full-content p, .about-full-content div {
  margin-bottom: 16px;
  color: #555;
  line-height: 1.8;
}
.about-full-content div {
  column-count: 2;
  column-gap: 32px;
  text-align: justify;
}
.about-full-content.no-col div {
  column-count: 1;
  text-align: left;
}
.about-full-content div p {
  margin-bottom: 12px;
  break-inside: avoid;
}

/* ===== FILE DOCUMENTS ===== */
.file-docs {
  padding: 80px 0;
  background: var(--white);
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8faff;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e8edf5;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  text-align: left;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  border-color: var(--primary);
}
.doc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}
.doc-pdf { background: #d32f2f; }
.doc-word { background: #2b5797; }
.doc-excel { background: #217346; }
.doc-generic { background: #6c757d; }
.doc-info {
  flex: 1;
  min-width: 0;
}
.doc-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.doc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}
.doc-ext {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}
.doc-ext-pdf { background: #d32f2f; }
.doc-ext-word { background: #2b5797; }
.doc-ext-excel { background: #217346; }
.doc-ext-other { background: #6c757d; }
.doc-size {
  color: #888;
}
.doc-card .doc-dl-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  opacity: 0.4;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}
.doc-card:hover .doc-dl-icon {
  opacity: 1;
}

/* ===== NEWS ===== */
.news {
  padding: 80px 0;
  background: var(--off-white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.news-card-img {
  height: 165px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-body {
  padding: 14px;
}
.news-card-body .date {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-card-body h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin: 6px 0;
}
.news-card-body p {
  font-size: 0.82rem;
  color: #666;
}
.news-card-body .read-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  transition: color var(--transition);
}
.news-card-body .read-more:hover { color: var(--primary); }

/* ===== NEWS SLIDER ===== */
.news-slider-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}
.news-track {
  display: flex;
  transition: transform 0.5s ease;
}
.news-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  color: var(--primary);
}
.news-nav:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.news-prev { left: -16px; }
.news-next { right: -16px; }
.news-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.news-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.news-dots button.active { background: var(--primary); }
.news-dots button:hover { background: var(--primary); }

.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.btn-view-more {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-view-more:hover { background: var(--accent); transform: translateY(-2px); color: var(--white); }

/* ===== NEWS MODAL ===== */
.news-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.news-modal.active { display: flex; }
.news-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
}
.news-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  max-width: 720px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.news-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  z-index: 2;
  line-height: 1;
  transition: color 0.3s ease;
}
.news-modal-close:hover { color: var(--accent); }
.news-modal-inner { padding: 40px; }
.news-modal-img {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
  background: var(--light-gray);
}
.news-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-modal-date {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.news-modal-info h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.news-modal-body {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}
.news-modal-body p { margin-bottom: 16px; }

/* ===== NEWS PAGE ===== */
.news-page {
  padding: 60px 0 80px;
  background: var(--off-white);
}
.dept-list {
  padding: 40px 0 20px;
  background: var(--off-white);
}
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.news-page .news-card { margin-bottom: 0; }
.news-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.news-back:hover { color: var(--accent); }
.news-article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.news-article-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.news-article-date {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.news-article-img {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
  background: var(--light-gray);
}
.news-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-article-body {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.9;
}
.news-article-body p { margin-bottom: 18px; }

.news-pagination {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid #ddd;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.news-page-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.news-page-link.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.event-read-more,
.comm-read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.event-read-more:hover,
.comm-read-more:hover { background: var(--primary); color: var(--white); }

/* ===== EVENTS ===== */
.events {
  padding: 60px 0;
  background: var(--white);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display:flex;
  flex-direction:column;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.event-card-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--light-gray);
  position:relative;
  flex-shrink:0;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:transform 0.4s ease;
}
.event-card:hover .event-card-img img {
  transform:scale(1.05);
}
.event-card-body {
  padding:14px 16px 16px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.event-date-box {
  display:inline-flex;
  align-items:center;
  gap:4px;
  background:var(--primary);
  color:var(--white);
  padding:3px 10px;
  border-radius:4px;
  width:fit-content;
  margin-bottom:8px;
}
.event-date-box .day {
  font-size:0.85rem;
  font-weight:700;
  line-height:1;
}
.event-date-box .month {
  font-size:0.65rem;
  text-transform:uppercase;
  letter-spacing:0.5px;
  line-height:1;
}
.event-info {
  flex:1;
  display:flex;
  flex-direction:column;
}
.event-info h4 {
  color: var(--primary);
  margin: 0 0 4px;
  font-size: 0.92rem;
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.event-info p {
  font-size: 0.78rem;
  color: #666;
  margin:0 0 auto;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.event-info .event-time {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 8px;
  display: flex;
  align-items:center;
  gap:4px;
}
.event-info .read-more {
  align-self:flex-start;
  margin-top: 10px;
  padding:5px 14px;
  background:var(--primary);
  color:var(--white);
  border-radius:4px;
  font-size:0.75rem;
  font-weight:600;
  transition:background 0.3s ease;
}
.event-info .read-more:hover {
  background:var(--accent);
  color:var(--white);
}
  font-size: 0.82rem;
  transition: color var(--transition);
}
.event-info .read-more:hover { color: var(--primary); }

/* ===== COMMISSIONERS ===== */
.commissioners {
  padding: 80px 0;
  background: var(--off-white);
}
.commissioners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.comm-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.comm-card:hover {
  transform: translateY(-6px);
}
.comm-card-img {
  width: 100%;
  height: 240px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  overflow: hidden;
}
.comm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comm-card-body {
  padding: 16px 12px 20px;
}
.comm-card-body h4 {
  color: var(--primary);
  font-size: 1.05rem;
}
.comm-card-body .title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 4px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.comm-card-body p {
  font-size: 0.85rem;
  color: #666;
}

/* ===== ORG TREE ===== */
.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  position: relative;
}
.org-tree .tree-level {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
  padding: 0 20px;
  z-index: 1;
}
.org-tree .tree-level.level-root {
  padding-bottom: 0;
}
/* connector lines between levels */
.org-tree .tree-connector {
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  z-index: 0;
}
.org-tree .tree-connector .conn-v {
  width: 2px;
  height: 100%;
  background: var(--primary);
  opacity: 0.35;
}
.org-tree .tree-connector .conn-h {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--primary);
  opacity: 0.35;
}
.org-tree .tree-connector .conn-v-down {
  position: absolute;
  top: 0;
  width: 2px;
  height: 50px;
  background: var(--primary);
  opacity: 0.35;
}
/* tree cards */
.org-tree .tree-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  width: 190px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.org-tree .tree-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.org-tree .tree-card .tree-card-img {
  width: 100%;
  height: 180px;
  background: var(--light-gray);
  overflow: hidden;
}
.org-tree .tree-card .tree-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-tree .tree-card .tree-card-body {
  padding: 14px 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.org-tree .tree-card .tree-card-body h4 {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 0 2px;
}
.org-tree .tree-card .tree-card-body .tree-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}
/* root card special styling */
.org-tree .tree-level.level-root .tree-card {
  width: 260px;
  border: 2px solid var(--accent);
  box-shadow: 0 6px 24px rgba(191,10,48,0.15);
}
.org-tree .tree-level.level-root .tree-card .tree-card-img {
  height: 240px;
}
.org-tree .tree-level.level-root .tree-card .tree-card-body h4 {
  font-size: 1.25rem;
}
.org-tree .tree-level.level-root .tree-card .tree-card-body .tree-title {
  font-size: 1rem;
}
/* subgroup within a level (for 3-level trees like secretariat) */
.org-tree .tree-subgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.org-tree .tree-subgroup .sub-connector {
  height: 30px;
  width: 2px;
  background: var(--primary);
  opacity: 0.35;
}
.org-tree .tree-subgroup .sub-children {
  display: flex;
  gap: 20px;
}
.org-tree .tree-subgroup .sub-children .tree-card {
  width: 160px;
}
.org-tree .tree-subgroup .sub-children .tree-card .tree-card-img {
  height: 140px;
}
/* tree card read more button */
.org-tree .tree-card .comm-read-more,
.org-tree .tree-card .sec-read-more {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background var(--transition);
}
.org-tree .tree-card .comm-read-more:hover,
.org-tree .tree-card .sec-read-more:hover {
  background: var(--accent);
}
/* ===== FACEBOOK FEED ===== */
.facebook-feed {
  padding: 60px 0;
  background: #f5f7fa;
}
.facebook-feed .container {
  max-width: 1100px;
  margin: 0 auto;
}
.facebook-feed .fb-frame {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.facebook-feed .fb-frame iframe {
  border: none;
  overflow: hidden;
  border-radius: 8px;
}

/* ===== AI CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #075e54;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(7,94,84,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(7,94,84,0.5); }
.chat-toggle svg { width: 28px; height: 28px; }
.chat-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  height: 520px;
  background: #efeae2;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s ease;
}
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-panel.open { display: flex; }
.chat-header {
  background: #075e54;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 40px; height: 40px;
  background: #128c7e;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-avatar svg { width: 24px; height: 24px; }
.chat-header-title { font-weight: 600; font-size: 1rem; }
.chat-header-sub { font-size: 0.72rem; opacity: 0.85; margin-top: 1px; }
.chat-header-actions { display: flex; align-items: center; gap: 2px; }
.chat-clear {
  background: none; border: none; color: #fff;
  cursor: pointer; padding: 6px 8px; border-radius: 4px; font-size: 0.7rem; opacity: 0.8; transition: background 0.2s;
}
.chat-clear:hover { background: rgba(255,255,255,0.15); opacity: 1; }
.chat-close {
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer; line-height: 1; opacity: 0.8; padding: 0 4px;
}
.chat-close:hover { opacity: 1; }

/* chat body with WhatsApp wallpaper pattern */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: #efeae2;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 15 L25 15 Z' fill='%23d5cfc7' opacity='0.15'/%3E%3C/svg%3E");
}
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  position: relative;
}
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-msg-text {
  padding: 8px 13px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
  position: relative;
}
.chat-msg.bot .chat-msg-text {
  background: #fff;
  color: #111;
  border-radius: 8px;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.chat-msg.user .chat-msg-text {
  background: #dcf8c6;
  color: #111;
  border-radius: 8px;
  border-top-right-radius: 2px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.chat-msg.bot .chat-msg-text a { color: #075e54; text-decoration: underline; }
.chat-link {
  display: inline-block; margin-top: 6px; font-weight: 600;
  color: #075e54; text-decoration: none; border: 1px solid #075e54;
  padding: 4px 12px; border-radius: 4px; font-size: 0.85rem; transition: background 0.2s, color 0.2s;
}
.chat-link:hover { background: #075e54; color: #fff; }

/* Tail for consecutive messages */
.chat-msg.user + .chat-msg.user .chat-msg-text {
  border-top-right-radius: 8px;
}
.chat-msg.bot + .chat-msg.bot .chat-msg-text {
  border-top-left-radius: 8px;
}
.chat-msg:first-child.bot .chat-msg-text {
  border-top-left-radius: 8px;
}
.chat-msg:first-child.user .chat-msg-text {
  border-top-right-radius: 8px;
}

/* Bot avatar on first message of a group */
.chat-msg-bot-avatar {
  display: none;
  width: 28px; height: 28px;
  background: #128c7e;
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.chat-msg-bot-avatar svg { width: 16px; height: 16px; fill: #fff; }
.chat-msg.bot:not(.has-avatar) + .chat-msg.bot .chat-msg-bot-avatar,
.chat-msg.bot:first-child .chat-msg-bot-avatar {
  display: none;
}

/* Time stamp */
.chat-msg-time {
  font-size: 0.62rem;
  color: #999;
  margin-top: 2px;
  padding: 0 4px;
}
.chat-msg.user .chat-msg-time { text-align: right; }
.chat-msg.bot .chat-msg-time { text-align: left; }

.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  border-top-left-radius: 2px;
  align-self: flex-start;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
  margin-top: 2px;
}
.chat-typing span {
  width: 7px; height: 7px;
  background: #888;
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30% { opacity: 1; transform: scale(1.1); }
}
.chat-footer {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f0f0;
}
.chat-input {
  flex: 1;
  border: none;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 0.9rem;
  outline: none;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.chat-input:focus { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.chat-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #075e54;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.chat-send:hover { background: #054d44; }
.chat-send svg { width: 20px; height: 20px; }

@media (max-width: 600px) {
  .chat-widget { bottom: 14px; right: 14px; }
  .chat-toggle { width: 50px; height: 50px; }
  .chat-toggle svg { width: 24px; height: 24px; }
  .chat-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    animation: chatSlideUpMobile 0.3s ease;
  }
  @keyframes chatSlideUpMobile {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .chat-header { padding: 14px 16px; }
  .chat-body { padding: 12px 14px; }
  .chat-footer { padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .chat-input { font-size: 1rem; padding: 12px 16px; }
  .chat-send { width: 44px; height: 44px; }
  .chat-msg-text { font-size: 0.95rem; padding: 10px 14px; }
}
@media (max-width: 380px) {
  .chat-toggle { width: 44px; height: 44px; }
  .chat-toggle svg { width: 22px; height: 22px; }
  .chat-widget { bottom: 10px; right: 10px; }
  .chat-header-title { font-size: 0.9rem; }
  .chat-avatar { width: 34px; height: 34px; }
  .chat-avatar svg { width: 20px; height: 20px; }
}

/* responsive */
@media (max-width: 768px) {
  .org-tree .tree-level {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .org-tree .tree-connector {
    height: 30px;
  }
  .org-tree .tree-connector .conn-h { display: none; }
  .org-tree .tree-connector .conn-v-down { display: none; }
  .org-tree .tree-subgroup .sub-children {
    flex-direction: column;
    align-items: center;
  }
  .org-tree .tree-level.level-root .tree-card { width: 220px; }
  .org-tree .tree-level.level-root .tree-card .tree-card-img { height: 200px; }
  .org-tree .tree-subgroup .sub-children .tree-card { width: 160px; }
}

/* ===== FOCUS AREAS ===== */
.focus {
  padding: 80px 0;
  background: var(--primary);
  color: var(--white);
}
.focus .section-title {
  color: var(--white);
  font-size: 1.85rem;
  letter-spacing: 2px;
  font-weight: 800;
}
.focus .text-center {
  max-width: 640px;
  margin: 0 auto;
}
.focus .section-subtitle {
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.focus .section-divider {
  background: var(--accent-light);
}
.focus-slider-wrap {
  position: relative;
  margin-top: 16px;
}
.focus-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 20px 4px 12px;
}
.focus-slider::-webkit-scrollbar { display: none; }
.focus-slider > .focus-card {
  flex: 0 0 calc(20% - 16px);
  min-width: 160px;
  scroll-snap-align: start;
}
.focus-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.focus-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.focus-arrow:hover { background: rgba(255,255,255,0.3); }
.focus-arrow-left { left: -20px; }
.focus-arrow-right { right: -20px; }

.focus-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.focus-card .icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}
.focus-card h4 {
  color: var(--accent-light);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.focus-card p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===== TESTIMONIALS / QUOTE ===== */
.testimonial {
  padding: 60px 0;
  background: var(--white);
}
.testimonial-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius);
  position: relative;
}
.testimonial-box::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--accent);
  position: absolute;
  top: -10px;
  left: 24px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-box p {
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
  margin: 20px 0 16px;
}
.testimonial-box .author {
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

/* ===== CONTACT / FOOTER ===== */
.contact {
  padding: 80px 0 40px;
  background: var(--primary);
  color: rgba(255,255,255,0.9);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}
.contact-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.2rem;
}
.contact p, .contact a {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.75);
}
.contact a:hover { color: var(--accent-light); }
.contact-links {
  text-align: center;
}
.contact-links a {
  margin-bottom: 6px;
}
.contact .social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
}
.contact .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.contact .social-links a svg {
  width: 18px;
  height: 18px;
}
.contact .social-links a:hover {
  background: var(--accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== PAGE HEADER ===== */
.page-header {
  margin-top: 136px;
  padding: 60px 0 40px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== FULL COMMISSIONERS PAGE ===== */
.commissioners-full {
  padding: 60px 0 80px;
  background: var(--off-white);
}
.comm-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.comm-full-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.comm-full-card:hover {
  transform: translateY(-4px);
}
.comm-full-img {
  width: 220px;
  min-height: 240px;
  flex-shrink: 0;
  background: var(--light-gray);
  overflow: hidden;
}
.comm-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comm-full-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.comm-full-body h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.comm-full-body .title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: block;
}
.comm-full-body p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

/* ===== VIEW ALL BTN ===== */
.view-all-wrap {
  text-align: center;
  margin-top: 36px;
}
.view-all-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--primary);
}
.view-all-btn:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== VIDEO GALLERY ===== */
.youtube-section {
  padding: 80px 0;
  background: var(--off-white);
}
.youtube-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.youtube-cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  padding: 18px;
}
.youtube-cta h2 {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}
.youtube-cta p {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.6;
}
.youtube-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #ff0000;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.youtube-btn:hover {
  background: #cc0000;
  transform: translateY(-2px);
}
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.video-info h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 8px 0 6px;
}
.video-info p {
  font-size: 0.85rem;
  color: #666;
}
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.video-modal.open {
  display: flex;
}
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
}
.video-modal-content video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius);
  background: #000;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: opacity var(--transition);
}
.video-modal-close:hover { opacity: 0.7; }

/* ===== COMMISSIONER MODAL ===== */
.comm-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.comm-modal.open { display: flex; }
.comm-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.comm-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  color: var(--gray);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2;
  line-height: 1;
}
.comm-modal-close:hover { color: var(--primary); }
.comm-modal-inner {
  display: flex;
  gap: 32px;
  padding: 40px;
}
.comm-modal-img {
  width: 260px;
  min-height: 280px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-gray);
}
.comm-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.comm-modal-info { flex: 1; }
.comm-modal-info h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.comm-modal-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 16px;
}
.comm-modal-info p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}
.comm-modal-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}
.comm-modal-details div {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.comm-modal-details strong {
  color: var(--primary);
  min-width: 120px;
}
.comm-modal-details span {
  color: #555;
}

/* ===== LEARN MORE MODAL (banner) ===== */
.learn-modal-inner {
  flex-direction: column;
  gap: 0;
  padding: 40px 44px;
}
.modal-title {
  font-size: 2rem;
  color: #002868;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.modal-body-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}
.modal-image-wrap {
  margin-top: 20px;
}
.modal-date-text {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}
.modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.modal-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
}
.modal-btn-primary {
  background: #002868;
  color: #fff;
  border: 2px solid #002868;
}
.modal-btn-primary:hover {
  background: #BF0A30;
  border-color: #BF0A30;
  color: #fff;
}
.modal-btn-outline {
  background: transparent;
  color: #002868;
  border: 2px solid #002868;
}
.modal-btn-outline:hover {
  background: #002868;
  color: #fff;
}

/* ===== FULL VIDEOS PAGE ===== */
.videos-full {
  padding: 60px 0 80px;
  background: #dce3ed;
  min-height: 400px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .top-bar { padding: 0 24px; }
  .navbar { padding: 0 24px; }
  .nav-menu > a,
  .nav-menu .drop-trigger { padding: 8px 10px; font-size: 0.82rem; }
  .nav-logo img, .nav-logo-noimg { height: 68px; }
  .nav-logo-text { font-size: 1.1rem; }
  .nav-logo-text span { font-size: 0.55rem; }
  .hero-arrows button { width: 42px; height: 42px; font-size: 1.3rem; }
}

@media (max-width: 1024px) {
  .container { padding: 0 20px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .top-bar { padding: 0 16px; }
  .top-bar-left { gap: 12px; }
  .top-bar-left a { font-size: 0.72rem; }
  .top-bar-left span { display: none; }
  .top-bar-right a { width: 26px; height: 26px; }
  .top-bar-right a svg { width: 13px; height: 13px; }

  .navbar { padding: 0 12px; position: relative; }

  .nav-menu {
    position: fixed;
      top: 136px;
      right: -100%;
      width: 280px;
      height: calc(100vh - 136px);
    background: var(--primary-light);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 2px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }

  .nav-menu > a,
  .nav-menu .drop-trigger {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    white-space: normal;
  }
  .nav-menu > a::after { display: none; }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }
  .nav-logo { padding-right: 52px; }
  .nav-logo-text span { font-size: 0.5rem; letter-spacing: 1px; }

  /* Dropdown mobile: always visible inside the mobile menu */
  .nav-dropdown {
    width: 100%;
  }
  .drop-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-radius: 0;
  }
  .nav-dropdown.open .drop-menu {
    max-height: 400px;
  }
  .drop-menu a {
    color: rgba(255,255,255,0.75);
    padding: 10px 16px;
    font-size: 0.85rem;
    white-space: normal;
  }
  .drop-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
  }
  .drop-menu a::before {
  color: var(--white);
  }

  .hero { height: 65vh; min-height: 420px; }
  .hero-overlay { padding: 28px; }
  .hero-overlay h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: 1.5px; }
  .hero-overlay p { font-size: clamp(0.88rem, 2vw, 1rem); max-width: 580px; line-height: 1.5; }
  .hero-overlay .hero-btn { margin-top: 22px; padding: 14px 36px; font-size: 0.92rem; }
  .hero-arrows { padding: 0 12px; }
  .hero-arrows button { width: 40px; height: 40px; font-size: 1.2rem; }
  .hero-dots { bottom: 20px; gap: 8px; }
  .hero-dots button { width: 10px; height: 10px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-full-grid { grid-template-columns: 1fr; }
  .about-full-image { height: 280px; }
  .about-mandate { grid-template-columns: 1fr; }
  .about-image { height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .event-card-img { height: 120px; }
  .event-date-box { flex-direction: row; gap: 6px; padding: 8px 12px; min-width: auto; width: 100%; }
  .event-date-box .day { font-size: 1.1rem; }
  .event-card-body { flex-direction: column; }
  .event-info h4 { font-size: 0.85rem; }
  .event-info p { font-size: 0.75rem; }
  .comm-modal-inner { flex-direction: column; padding: 24px; gap: 20px; }
  .comm-modal-img { width: 100%; height: 220px; }
  .comm-modal { padding: 20px 16px; }
  .comm-modal-info h3 { font-size: 1.3rem; }
  .learn-modal-inner { padding: 24px; }
  .modal-title { font-size: 1.6rem; }
  .comm-full-card { flex-direction: column; }
  .comm-full-img { width: 100%; height: 220px; }
  .comm-full-body { padding: 18px 20px; }
  .page-header h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .top-bar { padding: 0 12px; height: 36px; }
  .top-bar-left a { font-size: 0.65rem; gap: 4px; }
  .top-bar-left span { display: none; }
  .top-bar-right { gap: 6px; }
  .top-bar-right a { width: 22px; height: 22px; }
  .top-bar-right a svg { width: 11px; height: 11px; }

  .navbar { padding: 0 12px; height: 60px; top: 36px; }
  .nav-logo { gap: 10px; padding-left: 8px; padding-right: 44px; }
  .nav-logo img, .nav-logo-noimg { height: 42px; width: 42px; }
  .nav-logo-text { font-size: 0.75rem; }
  .nav-logo-text span { font-size: 0.38rem; line-height: 1.3; }
  .nav-toggle { right: 8px; }
  .nav-menu { top: 96px; height: calc(100vh - 96px); }

  .hero { margin-top: 104px; height: 50vh; min-height: 340px; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10,31,61,0.85) 0%, rgba(10,31,61,0.5) 100%);
    padding: 20px;
  }
  .hero-overlay h1 { font-size: 1.5rem; letter-spacing: 1px; max-width: 100%; }
  .hero-overlay p {
    font-size: 0.85rem;
    margin-top: 8px;
    max-width: 100%;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-overlay .hero-btn { margin-top: 16px; padding: 14px 36px; font-size: 0.88rem; min-width: 150px; }
  .hero-arrows { padding: 0 6px; }
  .hero-arrows button { width: 36px; height: 36px; font-size: 1rem; }
  .hero-dots { bottom: 14px; gap: 8px; }
  .hero-dots button { width: 8px; height: 8px; }
  .section-title { font-size: 1.5rem; }
  .commissioners-grid { grid-template-columns: 1fr; }
  .focus-slider > .focus-card { flex: 0 0 260px; min-width: 0; }
  .focus-arrow { display: none; }
  .event-card-img { height: 100px; }
  .comm-modal-inner { padding: 16px; gap: 16px; }
  .comm-modal-img { height: 180px; }
  .comm-modal { padding: 12px 8px; }
  .comm-modal-info h3 { font-size: 1.1rem; }
  .comm-modal-details div { flex-direction: column; gap: 2px; }
  .learn-modal-inner { padding: 16px; }
  .modal-title { font-size: 1.3rem; }
  .modal-body-text { font-size: 0.92rem; }
  .modal-btn { padding: 10px 20px; font-size: 0.85rem; }
  .modal-actions { gap: 10px; }
  .video-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-slide { grid-template-columns: 1fr; }
  .news-prev { left: 4px; }
  .news-next { right: 4px; }
  .docs-grid { grid-template-columns: 1fr; }
  .dept-modal-inner { padding: 24px; }
  .dept-modal-info h2 { font-size: 1.3rem; }
  .dept-card-img { height: 140px; }
  .dept-grid { grid-template-columns: 1fr; }
  .news-modal-inner { padding: 24px; }
  .news-modal-info h2 { font-size: 1.3rem; }
  .news-article { padding: 24px; }
  .news-article-title { font-size: 1.4rem; }
  .facebook-feed .fb-frame { max-width: 100%; }
  .facebook-feed .fb-frame iframe { height: 400px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .top-bar-lang #langSelect { font-size: 0; max-width: 36px; padding: 4px 6px 4px 28px; min-height: 24px; background-position: right 4px center; background-size: 6px; }
  .top-bar-lang::before { width: 14px; height: 14px; left: 6px; }
}

@media (max-width: 420px) {
  .container { padding: 0 12px; }

  .top-bar { padding: 0 10px; height: 32px; }
  .top-bar-left a { font-size: 0.6rem; gap: 3px; }
  .top-bar-right a { width: 20px; height: 20px; }
  .top-bar-right a svg { width: 10px; height: 10px; }
  .top-bar-lang #langSelect { font-size: 0; max-width: 32px; padding: 3px 4px 3px 24px; min-height: 22px; background-image: none !important; }
  .top-bar-lang::before { width: 13px; height: 13px; left: 5px; }

  .navbar { height: 56px; padding: 0 10px; }
  .nav-logo { gap: 8px; padding-left: 6px; padding-right: 40px; }
  .nav-logo img, .nav-logo-noimg { height: 38px; width: 38px; }
  .nav-logo-text { font-size: 0.7rem; }
  .nav-logo-text span { font-size: 0.35rem; letter-spacing: 1px; }
  .nav-toggle { right: 6px; }
  .nav-menu { top: 88px; height: calc(100vh - 88px); width: 100%; }

  .hero { height: 40vh; min-height: 260px; margin-top: 88px; }
  .hero-overlay { padding: 12px; }
  .hero-overlay h1 { font-size: 1.15rem; letter-spacing: 0.3px; }
  .hero-overlay p { font-size: 0.72rem; margin-top: 4px; -webkit-line-clamp: 2; }
  .hero-overlay .hero-btn { margin-top: 10px; padding: 10px 24px; font-size: 0.75rem; min-width: 110px; }
  .hero-arrows button { width: 24px; height: 24px; font-size: 0.7rem; }
  .hero-dots { bottom: 6px; gap: 4px; }
  .hero-dots button { width: 5px; height: 5px; border-width: 1px; }

  .stats-grid { gap: 16px; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .stat-item p { font-size: 0.75rem; }

  .section-title { font-size: 1.25rem; letter-spacing: 0.5px; }
  .section-subtitle { font-size: 0.85rem; margin-bottom: 1.5rem; }

  .about, .news, .events, .focus { padding: 40px 0; }
  .about-image { height: 200px; }
  .about-content h2 { font-size: 1.4rem; }
  .about-content p { font-size: 0.88rem; }
  .about-read-more { padding: 10px 24px; font-size: 0.85rem; }

  .about-full { padding: 40px 0; }
  .about-full-content { padding: 20px; }
  .about-full-content h2 { font-size: 1.4rem; }
  .about-full-content p, .about-full-content div { font-size: 0.88rem; }
  .about-full-image { height: 200px; }

  .page-header { margin-top: 88px; padding: 36px 0 28px; }
  .page-header h1 { font-size: 1.4rem; letter-spacing: 1px; }
  .page-header p { font-size: 0.85rem; }

  .event-card-img { height: 100px; }
  .event-card-body { padding: 10px 12px 12px; }
  .event-info h4 { font-size: 0.82rem; }
  .event-info p { font-size: 0.72rem; }

  .news-card-img { height: 140px; }
  .news-card-body { padding: 10px; }
  .news-card-body h3 { font-size: 0.88rem; }

  .focus-card { padding: 20px 14px; }
  .focus-card .icon { font-size: 1.8rem; }
  .focus-card h4 { font-size: 0.9rem; }

  .youtube-section { padding: 40px 0; }
  .youtube-cta h2 { font-size: 1.3rem; }
  .youtube-cta p { font-size: 0.85rem; }

  .contact { padding: 40px 0 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact h3 { font-size: 1rem; }
  .contact p, .contact a { font-size: 0.82rem; }
  .footer-bottom { font-size: 0.75rem; margin-top: 24px; padding: 14px 0; }

  .commissioners-full { padding: 40px 0; }
  .comm-full-img { height: 200px; }

  .events-grid { gap: 16px; }
  .news-grid { gap: 16px; }

  .comm-modal-inner { padding: 12px; gap: 12px; }
  .comm-modal-img { height: 160px; }
  .comm-modal-info h3 { font-size: 1rem; }
  .learn-modal-inner { padding: 12px; }
  .modal-title { font-size: 1.1rem; }
  .modal-body-text { font-size: 0.85rem; }
  .modal-actions { flex-direction: column; gap: 8px; }
  .modal-btn { padding: 10px 20px; font-size: 0.82rem; width: 100%; text-align: center; }

  .video-grid { gap: 12px; }
  .docs-grid { gap: 10px; }
  .doc-card { padding: 12px; }

  .facebook-feed { padding: 40px 0; }
}
