:root {
  --bg: #f4f1eb;
  --bg-soft: #edf4ef;
  --surface: #ffffff;
  --surface-alt: #f8f3e6;
  --border: rgba(17, 24, 39, 0.08);
  --text: #142320;
  --muted: #4e5f59;
  --primary: #0d6a3f;
  --primary-strong: #0b5637;
  --secondary: #d8b84d;
  --secondary-soft: #f3e9b8;
  --gold: #d5a13a;
  --gold-soft: #f8f0d2;
  --success: #1f8f64;
  --warning: #cf8f2e;
  --danger: #b95a45;
  --shadow: 0 18px 45px rgba(15, 32, 66, 0.08);
  --shadow-soft: 0 12px 30px rgba(15, 32, 66, 0.05);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
main, section { overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 12px)); margin: 0 auto; }
.section { padding: 78px 0; }
.section-title { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.04em; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 95, 122, 0.08); color: var(--primary); padding: 8px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 760px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px; padding: 0.9rem 1.35rem; font-weight: 700; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 3px solid rgba(13, 106, 63, 0.22);
  outline-offset: 3px;
}
.btn-primary { background: var(--primary); color: #ffffff; border-color: var(--primary-strong); box-shadow: 0 12px 24px rgba(13, 106, 63, 0.18); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-secondary { background: var(--secondary); color: var(--text); border-color: rgba(20,35,32,0.12); box-shadow: 0 12px 24px rgba(216,184,77,0.2); }
.btn-secondary:hover { background: #d1ac37; }
.btn-outline { background: var(--surface); border-color: rgba(13, 106, 63, 0.18); color: var(--primary); }
.btn-outline:hover { background: rgba(13, 106, 63, 0.04); }
.btn-ghost { background: rgba(13, 106, 63, 0.06); color: var(--primary); border-color: rgba(13, 106, 63, 0.08); }
.btn-ghost:hover { background: rgba(13, 106, 63, 0.1); }
.btn-danger { background: var(--danger); color: #ffffff; border-color: rgba(185, 90, 69, 0.8); }
.btn-danger:hover { background: #a94e3c; }

.topbar {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(12px); background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid var(--border); box-shadow: 0 10px 28px rgba(20, 35, 32, 0.05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 18px; position: relative;
}
.brand {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; letter-spacing: -0.04em; font-size: 1.5rem; flex-shrink: 0;
}
.brand-logo {
  display: block; width: 176px; max-width: 100%; height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 95, 122, 0.08);
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 900;
}
.nav-links {
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.92rem; color: var(--muted); flex: 1 1 auto;
}
.nav-links a {
  position: relative; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary); background: rgba(15, 95, 122, 0.06);
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 999px; background: var(--primary); transform: scaleX(0); transition: transform 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions {
  display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0;
}
.ecosystem-tag {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.7); color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.mobile-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-inner {
    flex-wrap: wrap; justify-content: space-between; padding: 0 0 10px;
  }
  .nav-links {
    order: 3; width: 100%; flex-wrap: wrap; gap: 8px;
  }
  .nav-actions {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    justify-content: space-between; min-height: 74px;
    gap: 12px;
  }
  .brand-logo {
    width: 138px;
  }
  .ecosystem-tag {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(15,32,66,0.08);
  }
  .nav-links a {
    width: 100%; padding: 10px 12px;
  }
  .mobile-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border-radius: 12px; border: 1px solid rgba(15,95,122,0.12);
  }
}

.hero {
  padding: 56px 0 38px; position: relative; overflow: hidden;
  background: #f3f0e8;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 28px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(43, 183, 162, 0.12); color: var(--primary); padding: 8px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.hero h1 {
  margin: 18px 0 18px; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.96; letter-spacing: -0.06em;
}
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.inline-links { display: inline-flex; gap: 10px; align-items: center; color: var(--primary); font-weight: 700; }
.hero-visual { position: relative; margin-left: auto; }
.visual-card {
  position: relative; background: #ffffff; border: 1px solid rgba(13, 106, 63, 0.08); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow);
}
.hero-image {
  min-height: 600px; background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; border-radius: var(--radius-xl);
}
.stat-float {
  position: absolute; right: 12px; bottom: 24px; width: min(260px, 75%); background: rgba(255,255,255,0.92); border: 1px solid rgba(15,95,122,0.08); border-radius: 20px; padding: 20px 18px; box-shadow: var(--shadow);
}
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.stat-item strong { display: block; font-size: 1.7rem; letter-spacing: -0.04em; }
.stat-item span { color: var(--muted); font-size: 0.82rem; }

.trust-grid, .service-grid, .leadership-grid, .news-grid, .gallery-grid, .announcement-grid, .event-grid, .faq-grid, .contact-grid, .stats-grid {
  display: grid; gap: 20px;
}
.trust-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.card {
  background: rgba(255,255,255,0.82); border: 1px solid var(--border); border-radius: 22px; padding: 24px 18px; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover,
.service-card:hover,
.mission-panel:hover,
.announcement-card:hover,
.person-card:hover,
.result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(15, 32, 66, 0.08);
}
.icon-wrap {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(15, 95, 122, 0.08); color: var(--primary); margin-bottom: 18px; font-size: 1.8rem;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center;
}
.about-photo {
  min-height: 500px; border-radius: 30px; background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; box-shadow: var(--shadow);
}
.about-copy .list, .details-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 15px; }
.about-copy li { display: flex; gap: 10px; }
.check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,157,117,0.1); color: var(--success); font-weight: 700; }
.mission-block {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 28px;
}
.mission-panel {
  background: rgba(255,255,255,0.82); border: 1px solid var(--border); border-radius: 24px; padding: 24px 20px; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.service-card { position: relative; padding: 26px 22px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card.featured {
  grid-column: span 1; background: #f3f7f4; border: 1px solid rgba(13,106,63,0.12);
}
.service-card h3 { margin: 14px 0 10px; }
.benefits { margin: 18px 0 0; padding-left: 18px; color: var(--muted); }
.service-card a { margin-top: 20px; display: inline-flex; font-weight: 700; color: var(--primary); }

.membership-wrap { background: #edf4ef; border-radius: 32px; padding: 30px; border: 1px solid var(--border); }
.membership-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
.stepper {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 26px;
}
.step { position: relative; background: rgba(255,255,255,0.7); border: 1px solid var(--border); border-radius: 20px; padding: 18px; }
.step-number { font-size: 2rem; font-weight: 800; color: rgba(15,95,122,0.3); margin-bottom: 8px; }

.timeline { display: grid; gap: 18px; margin-top: 30px; }
.timeline-item {
  display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: center; background: rgba(255,255,255,0.75); border: 1px solid var(--border); border-radius: 18px; padding: 18px 18px; 
}
.timeline-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary); color: white; font-weight: 800; font-size: 0.84rem;
}

.election-box {
  background: #f4f7f5; border: 1px solid var(--border); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 30px; align-items: center;
}
.status-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(31,157,117,0.12); color: var(--success); font-weight: 800; padding: 8px 12px; border-radius: 999px; }
.meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 18px 0 0; }
.meta-item { background: rgba(255,255,255,0.5); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.meta-item label { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.meta-item strong { font-size: 1.15rem; }

.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 30px; }
.result-card { background: rgba(255,255,255,0.8); border:1px solid var(--border); border-radius: 24px; padding: 26px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.result-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(31,157,117,0.1); color: var(--success); font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 800; text-transform: uppercase; }
.result-card h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.result-card .winner { font-size: clamp(1.5rem,2vw,2rem); letter-spacing: -0.04em; margin: 0; }
.result-role { color: var(--muted); margin-top: 8px; }

.video-tutorial-wrap {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.tutorial-video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 420px;
  border-radius: 20px;
  background: #0f172a;
}

.dashboard-grid {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; margin-top: 30px;
}
.dashboard-panel { background: rgba(255,255,255,0.8); border: 1px solid var(--border); border-radius: 24px; padding: 22px; }
.chart-card { height: 260px; }
.chart-bars { display: flex; align-items: end; gap: 16px; height: 220px; }
.chart-bars .bar { flex: 1; border-radius: 16px 16px 0 0; background: var(--primary); position: relative; }
.chart-bars .bar::after { content: attr(data-label); position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; color: var(--muted); }
.chart-line svg { width: 100%; height: 220px; }
.donut-wrap { display: grid; place-items: center; }
.donut {
  width: 180px; height: 180px; border-radius: 50%; background: rgba(13, 106, 63, 0.08); box-shadow: inset 0 0 0 26px var(--primary), inset 0 0 0 52px var(--secondary), inset 0 0 0 78px var(--gold); position: relative; }
.donut::after {
  content: ""; position: absolute; inset: 18px; border-radius: 50%; background: white;
}
.legend { display: grid; gap: 12px; margin-top: 18px; }
.legend-item { display: flex; align-items: center; justify-content: space-between; }
.legend-item .left { display: flex; align-items: center; gap: 10px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; }

.top-savers { display: grid; gap: 18px; margin-top: 24px; }
.saver-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,0.8); border:1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
.rank { font-weight: 800; color: var(--primary); }
.range-pill { background: rgba(15,95,122,0.08); color: var(--primary); border-radius: 999px; padding: 8px 12px; font-size: 0.72rem; font-weight: 700; }
.pill-positive { background: rgba(31,157,117,0.08); color: var(--success); }

.news-grid { grid-template-columns: 1.3fr 1fr; margin-top: 24px; }
.featured-story { background: rgba(255,255,255,0.82); border: 1px solid var(--border); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.story-image { height: 250px; background-size: cover; background-position: center; }
.story-body { padding: 26px; }
.news-list { display: grid; gap: 18px; }
.news-item { background: rgba(255,255,255,0.82); border:1px solid var(--border); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 150px 1fr; }
.news-thumb { background-size: cover; background-position: center; }
.news-item .content { padding: 18px 18px 14px; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 0.8rem; }
.tag { border-radius: 999px; background: rgba(15,95,122,0.08); color: var(--primary); padding: 5px 10px; font-weight: 700; }

.announcement-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.announcement-card { border-radius: 22px; border:1px solid var(--border); background: rgba(255,255,255,0.84); padding: 22px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.badge.important { background: rgba(210,79,79,0.08); color: var(--danger); }
.badge.election { background: rgba(15,95,122,0.08); color: var(--primary); }
.badge.general { background: rgba(139,92,246,0.08); color: #6d4fd6; }
.badge.notice { background: rgba(216,143,42,0.1); color: var(--warning); }
.badge.event { background: rgba(43,183,162,0.12); color: var(--success); }

.event-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.event-card { background: rgba(255,255,255,0.82); border:1px solid var(--border); border-radius: 26px; overflow: hidden; }
.event-date { background: var(--primary); color: white; padding: 18px; text-align: center; }
.event-date strong { display: block; font-size: 2rem; }
.event-body { padding: 24px; }
.event-actions { display: flex; gap: 10px; margin-top: 14px; }

.leadership-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.person-card { background: rgba(255,255,255,0.8); border:1px solid var(--border); border-radius: 24px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.person-photo {
  height: 400px;
  background-size: 105% auto;
  background-position: center 18%;
  background-repeat: no-repeat;
}
.about-photo {
  height: 510px;
  background-size: 90% auto;
  background-position: center 18%;
  background-repeat: no-repeat;
}
.person-body { padding: 22px; }
.person-body h3 { margin: 0 0 6px; }
.position { color: var(--primary); font-weight: 700; }

.section-head-block {
  margin-bottom: 24px;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.leadership-hierarchy {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 24px 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}
.hierarchy-node {
  text-align: center;
  background: #f4f7f5;
  border: 1px solid rgba(15,95,122,0.1);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 24px rgba(15,32,66,0.04);
  display: grid;
  justify-items: center;
  gap: 10px;
}
.hierarchy-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: 118% auto;
  background-position: center 18%;
  background-repeat: no-repeat;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 12px 24px rgba(15,32,66,0.12);
  background-color: rgba(15,95,122,0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.hierarchy-placeholder {
  background: rgba(13, 106, 63, 0.08);
  border: 1px solid rgba(15,95,122,0.12);
}
.hierarchy-placeholder span {
  font-size: 2rem;
  color: var(--primary);
}
.hierarchy-label {
  display: block;
  margin-bottom: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.hierarchy-node strong {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -0.04em;
}
.hierarchy-connector {
  width: 2px;
  height: 26px;
  background: rgba(15,95,122,0.28);
  margin: 0 auto;
}
.hierarchy-branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  padding-top: 12px;
}
.hierarchy-branch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: rgba(15,95,122,0.28);
}
.branch-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(50% - 18px);
  height: 2px;
  background: rgba(15,95,122,0.28);
  transform: translateX(-50%);
}
.branch-column {
  position: relative;
  display: flex;
  justify-content: center;
}
.branch-column::before {
  content: "";
  position: absolute;
  top: -18px;
  width: 2px;
  height: 18px;
  background: rgba(15,95,122,0.28);
}
.left-branch::before { left: 50%; }
.right-branch::before { left: 50%; }

.hierarchy-list-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-top: 16px;
}
.hierarchy-list-block {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}
.hierarchy-list-block h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.hierarchy-list-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.leadership-card,
.leadership-preview-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
}
.leadership-preview-card {
  min-height: 280px;
}

.leadership-card:hover,
.leadership-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px rgba(15,32,66,0.09);
}
.profile-photo {
  height: 400px;
  min-height: 260px;
  width: 100%;
  background-size: 105% auto;
  background-position: center 18%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.profile-photo.small {
  height: 400px;
  min-height: 190px;
  background-size: 112% auto;
  background-position: center 18%;
}
.profile-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,95,122,0.12);
  box-shadow: 0 12px 28px rgba(15, 32, 66, 0.08);
}
.profile-placeholder span {
  font-size: 2.5rem;
  color: var(--primary);
}
.profile-body {
  padding: 22px 20px 20px;
}
.profile-body h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}
.profile-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  background: rgba(15,95,122,0.08);
  color: var(--primary);
}
.position {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}
.profile-body p {
  color: var(--muted);
}

.leadership-preview-section {
  margin-top: 6px;
}
.leadership-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  margin-top: 20px;
}
.leadership-preview-card {
  display: flex;
  flex-direction: column;
}
.profile-body.compact {
  padding-top: 18px;
}
.position-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}
.leadership-department {
  padding: 26px 22px;
  min-height: 260px;
}
.department-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dept-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15,95,122,0.08);
  color: var(--primary);
  font-size: 1.3rem;
}
.department-code {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,95,122,0.14);
  background: rgba(15,95,122,0.04);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.leadership-department h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.department-full-name {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.5;
}
.department-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}
.department-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.department-meta strong {
  font-size: 1.1rem;
}
.department-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 1200px) {
  .leadership-hierarchy {
    max-width: 760px;
  }
  .leadership-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .department-grid,
  .hierarchy-list-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .leadership-grid,
  .leadership-preview-grid {
    grid-template-columns: 1fr;
  }
  .leadership-hierarchy {
    padding: 18px 12px;
  }
  .hierarchy-branch {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .branch-line,
  .hierarchy-branch::before,
  .branch-column::before {
    display: none;
  }
  .department-grid {
    grid-template-columns: 1fr;
  }
  .profile-photo {
    height: 220px;
  }
}

.gallery-grid { grid-template-columns: repeat(12, minmax(0,1fr)); }
.gallery-item { border-radius: 22px; overflow: hidden; position: relative; min-height: 200px; background-size: cover; background-position: center; isolation: isolate; }
.gallery-item::before { content: ""; position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; filter: brightness(1.08) contrast(1.06) saturate(1.08); transform: scale(1.015); transition: transform 400ms ease, filter 400ms ease; z-index: -1; }
.gallery-item:hover::before { filter: brightness(1.12) contrast(1.08) saturate(1.12); transform: scale(1.04); }
.gallery-item.large { grid-column: span 7; min-height: 420px; }
.gallery-item.medium { grid-column: span 5; }
.gallery-item.small { grid-column: span 4; }
.gallery-item .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: rgba(15,22,31,0.64); color: white; font-weight: 700; z-index: 1; }
.agm-gallery-stack { display: grid; gap: 44px; }
.agm-gallery-section { display: grid; gap: 18px; }
.agm-gallery-header { margin: 64px 0 22px; }
.agm-gallery-header h2 { margin: 8px 0 10px; }
.agm-gallery { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--primary) rgba(15,95,122,0.12); }
.agm-gallery .gallery-item { flex: 0 0 clamp(230px, 24vw, 300px); min-height: 260px; scroll-snap-align: start; }
.agm-gallery .gallery-item:nth-child(n + 13) { display: none; }
.agm-gallery.is-expanded { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); overflow: visible; padding-bottom: 4px; }
.agm-gallery.is-expanded .gallery-item { display: block; }
.agm-view-more {
  flex: 0 0 220px;
  align-self: center;
  justify-self: center;
  min-height: 52px;
  margin: 0;
  background: var(--surface);
  border-color: rgba(13, 106, 63, 0.24);
  color: var(--primary);
  box-shadow: 0 12px 24px rgba(13, 106, 63, 0.08);
}
.agm-view-more:hover {
  background: rgba(13, 106, 63, 0.04);
}
.agm-gallery.is-expanded .agm-view-more { grid-column: 1 / -1; justify-self: center; margin-top: 20px; }

.faq-grid { grid-template-columns: 1fr; }
.search-box input { width: 100%; border: 1px solid var(--border); background: white; border-radius: 14px; padding: 16px 18px; }
.accordion { display: grid; gap: 12px; }
.question {
  width: 100%; text-align: left; border: 1px solid var(--border); border-radius: 16px; background: white; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; font-weight: 700;
}
.answer {
  display: none; background: white; border: 1px solid var(--border); border-radius: 16px; padding: 0 20px 18px; color: var(--muted);
}
.question.active + .answer { display: block; }

.contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 24px; }
.contact-panel, .form-panel { background: rgba(255,255,255,0.82); border: 1px solid var(--border); border-radius: 26px; padding: 28px; }
.info-list { display: grid; gap: 16px; margin-top: 22px; }
.info-item { display: flex; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 14px 15px; background: white; color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.map-box { margin-top: 18px; min-height: 240px; border-radius: 20px; background: rgba(13, 106, 63, 0.08), url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; }

.site-footer { background: #0f1f2c; color: rgba(255,255,255,0.82); padding: 72px 0 30px; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr 1fr; gap: 26px; }
.footer-col h4 { color: white; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }


.toast-stack { position: fixed; right: 24px; bottom: 110px; z-index: 70; display: grid; gap: 12px; }
.toast { min-width: 260px; background: rgba(15, 23, 42, 0.92); color: white; border-radius: 16px; padding: 14px 16px; box-shadow: 0 16px 32px rgba(15,23,42,0.2); }
.toast.success { background: rgba(31,157,117,0.95); }
.toast.error { background: rgba(210,79,79,0.95); }

.modal { position: fixed; inset: 0; background: rgba(10, 18, 28, 0.55); display: none; place-items: center; z-index: 90; }
.modal.open { display: grid; }
.modal-box { width: min(540px, calc(100vw - 32px)); background: white; border-radius: 28px; border: 1px solid var(--border); padding: 28px; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.close-btn { border: none; background: rgba(15,95,122,0.08); color: var(--primary); width: 36px; height: 36px; border-radius: 50%; }
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 96;
  background: rgba(20, 35, 32, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(20,35,32,0.24);
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-banner.hidden { display: none; }
.cookie-banner__content {
  display: grid;
  gap: 6px;
}
.cookie-banner__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cookie-banner__message {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  min-width: 150px;
}
.cookie-banner .btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}
.cookie-banner .btn-outline:hover {
  background: rgba(255,255,255,0.06);
}

.page-hero { padding: 64px 0 24px; }
.page-hero-inner { background: #edf4ef; border: 1px solid var(--border); border-radius: 28px; padding: 34px 30px; }
.page-hero-inner h1 { margin: 12px 0 8px; font-size: clamp(2.3rem,4vw,4rem); }

.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.filter-chip { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border); background: white; color: var(--muted); font-weight: 700; }
.filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }

.empty-state {
  border: 1px dashed rgba(15,95,122,0.18); background: rgba(255,255,255,0.7); border-radius: 20px; padding: 32px; text-align: center; color: var(--muted);
}

@media (max-width: 1200px) {
  .hero-grid,
  .about-grid,
  .membership-grid,
  .dashboard-grid,
  .contact-grid,
  .election-box,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .stat-float {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .trust-grid,
  .service-grid,
  .announcement-grid,
  .event-grid,
  .leadership-grid,
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn {
    padding: 0.8rem 1.1rem;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .mission-block,
  .stepper,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-item.large,
  .gallery-item.medium,
  .gallery-item.small {
    grid-column: span 1;
    min-height: 220px;
  }

  .agm-gallery.is-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .agm-gallery.is-expanded .gallery-item {
    min-height: 240px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .section { padding: 72px 0; }
  .nav-actions .btn-primary { display: none; }
  .hero-actions, .nav-actions { flex-wrap: wrap; }

  .trust-grid,
  .service-grid,
  .announcement-grid,
  .event-grid,
  .result-grid,
  .leadership-grid,
  .stepper,
  .footer-grid,
  .form-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .news-item,
  .event-card,
  .card,
  .service-card,
  .announcement-card,
  .result-card,
  .person-card,
  .contact-panel,
  .form-panel,
  .dashboard-panel,
  .mission-panel {
    border-radius: 18px;
  }

  .news-item { grid-template-columns: 1fr; }
  .news-thumb { min-height: 180px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large, .gallery-item.medium, .gallery-item.small { grid-column: span 1; }

  .agm-gallery.is-expanded {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .agm-gallery.is-expanded .gallery-item {
    min-height: 220px;
  }
  .agm-gallery.is-expanded .agm-view-more {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .ai-assistant { right: 14px; bottom: 14px; }
  .notification-dropdown { width: min(320px, calc(100vw - 24px)); right: -12px; }
  .hero-image { min-height: 320px; }
  .visual-card { border-radius: 20px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-logo {
    width: 132px;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    gap: 6px;
  }
  .btn {
    width: 100%;
  }
  .hero-actions .btn,
  .nav-actions .btn {
    width: auto;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .inline-links {
    width: 100%;
    justify-content: center;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
