:root {
  --navy: #0b2a4a;
  --navy-2: #123d68;
  --blue: #0097d7;
  --accent: #f5a623;
  --text: #1d2733;
  --muted: #5d6b7a;
  --bg: #ffffff;
  --bg-alt: #f3f7fb;
  --border: #e1e8f0;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(11, 42, 74, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s;
  text-align: center;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: #ffb73d; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-block { display: block; width: 100%; margin-top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-logo { height: 48px; width: auto; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.brand-mark {
  background: var(--blue); color: #fff; font-weight: 700;
  border-radius: 10px; padding: 6px 10px; letter-spacing: 1px;
}
.brand-text { font-size: 13px; line-height: 1.2; }
.brand-text strong { font-size: 16px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--text); font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 151, 215, .45), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 110px 0 120px;
}
.hero h1 { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.15; margin: 10px 0 20px; }
.hero .lead { font-size: 18px; max-width: 620px; opacity: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  font-weight: 600; color: var(--blue);
}
.hero .eyebrow, .eyebrow.light { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { margin-top: -48px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 10px; text-align: center;
}
.stats-grid div { padding: 6px; }
.stats-grid div + div { border-left: 1px solid var(--border); }
.stats-grid strong { display: block; font-size: 30px; color: var(--navy); }
.stats-grid span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head.left { text-align: left; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); color: var(--navy); margin-top: 6px; }
.section-sub { color: var(--muted); }
.placeholder-note { color: var(--muted); font-style: italic; font-size: 14px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.about-text p + p { margin-top: 16px; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pillar {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; background: #fff; transition: box-shadow .2s;
}
.pillar:hover { box-shadow: var(--shadow); }
.pillar-icon { font-size: 28px; }
.pillar h3 { color: var(--navy); font-size: 18px; margin: 8px 0 4px; }
.pillar p { color: var(--muted); font-size: 14px; }
.creed {
  margin-top: 56px; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 36px; text-align: center;
}
.creed p:last-child { font-size: clamp(18px, 2.6vw, 24px); font-weight: 500; margin-top: 8px; }

/* Board */
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.board-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
.board-grid.two .avatar { width: 160px; height: 160px; border: 4px solid var(--accent); }
.board-grid.two .member h3 { font-size: 20px; }
.board-grid.two .member p { font-size: 15px; font-weight: 600; color: var(--blue); }
.board-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: 0 auto; }
.board-grid.one { grid-template-columns: 1fr; max-width: 270px; margin: 0 auto; }
.board-subtitle { text-align: center; margin-top: 44px; }
.ambassadors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ambassador-card {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow);
  border-left: 6px solid var(--accent);
}
.ambassador-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: 0 0 120px; }
.ambassador-card h3 { color: var(--navy); font-size: 22px; margin: 2px 0 4px; }
.ambassador-card p { color: var(--muted); }
.ambassador-card .eyebrow { color: var(--blue); }
.member {
  background: #fff; border-radius: var(--radius); padding: 28px 18px;
  text-align: center; box-shadow: var(--shadow);
}
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff; font-weight: 700; font-size: 22px;
  display: grid; place-items: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.member h3 { font-size: 17px; color: var(--navy); }
.member p { color: var(--muted); font-size: 14px; }

.president-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: var(--radius); padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow);
}
.president-card img {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  border: 5px solid var(--accent);
}
.president-card .eyebrow { color: var(--accent); }
.president-card h3 { font-size: clamp(24px, 3.4vw, 34px); margin: 4px 0 8px; }
.president-card p { opacity: .9; margin-bottom: 16px; }
.president-card .btn-navy { background: rgba(255, 255, 255, .12); }
.directors-title { text-align: center; margin-top: 44px; }
.directors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Events */
.event-featured { grid-column: 1 / -1; max-width: 760px; }
.sub-title { color: var(--navy); font-size: 22px; margin: 0 0 20px; }
.sub-title + .gallery { margin-top: 0; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.event {
  display: flex; gap: 16px; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; background: #fff;
}
.event-date {
  flex: 0 0 64px; height: 72px; border-radius: 12px;
  background: var(--bg-alt); color: var(--blue); font-weight: 600; font-size: 13px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.event-date span { font-size: 26px; color: var(--navy); line-height: 1; }
.event h4 { color: var(--navy); font-size: 17px; margin: 6px 0 4px; }
.event p { color: var(--muted); font-size: 14px; }
.event .meta { margin-top: 8px; font-size: 13px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: rgba(0, 151, 215, .1); color: var(--blue);
  padding: 2px 10px; border-radius: 999px;
}
.project {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: #fff;
}
.project-head { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-bottom: 20px; }
.project-head h4 { color: var(--navy); font-size: 24px; margin: 6px 0 2px; }
.project-head .meta { color: var(--muted); font-size: 14px; }
.project-head > p { color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; }
.gallery img {
  aspect-ratio: 2 / 1; width: 100%; height: auto; object-fit: cover; display: block;
  transition: transform .3s;
}
.gallery a:hover img { transform: scale(1.03); }
.gallery img.pos-top { object-position: center 20%; }
.gallery.three { grid-template-columns: repeat(3, 1fr); }
.gallery.three img { aspect-ratio: 4 / 3; }

/* Projects page */
.term-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.term-nav a {
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px;
  font-weight: 600; font-size: 14px; color: var(--navy);
}
.term-nav a:hover { background: var(--navy); color: #fff; }
.term + .term { margin-top: 64px; }
.term-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
  border-bottom: 3px solid var(--navy); padding-bottom: 10px; margin-bottom: 28px;
}
.term-head h2 { color: var(--navy); font-size: clamp(26px, 4vw, 34px); }
.term-head p { color: var(--muted); }
.term-empty {
  background: var(--bg-alt); border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; color: var(--muted);
}
.month { position: relative; padding-left: 28px; border-left: 3px solid var(--border); padding-bottom: 32px; }
.month:last-child { padding-bottom: 0; }
.month-label {
  position: relative; color: var(--blue); font-size: 15px; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 14px;
}
.month-label::before {
  content: ""; position: absolute; left: -37px; top: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue);
}

/* Home page project teasers */
.project-teasers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.teaser {
  display: flex; gap: 16px; align-items: center; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; color: var(--text);
  transition: box-shadow .2s;
}
.teaser:hover { box-shadow: var(--shadow); }
.teaser img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex: 0 0 120px; }
.teaser h4 { color: var(--navy); font-size: 17px; margin: 4px 0 2px; }
.teaser p { color: var(--muted); font-size: 13px; }
.see-all { margin-top: 20px; }

/* Join */
.join { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.join-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.join h2 { font-size: clamp(28px, 4vw, 38px); margin: 6px 0 12px; }
.checks { list-style: none; margin-top: 20px; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.join-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 30px; }
.join-card h3 { color: var(--navy); font-size: 22px; }
.join-card p { color: var(--muted); margin: 6px 0 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials a {
  border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px;
  color: var(--navy); font-size: 14px;
}
.socials a:hover { background: var(--navy); color: #fff; }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { color: var(--navy); font-size: 22px; }
.contact-card p { color: var(--muted); margin: 6px 0 4px; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; }
.contact-map {
  width: 100%; height: 260px; border: 0; border-radius: 12px; margin-top: 20px; display: block;
}

/* ---------- About dropdown ---------- */
.nav-group { position: relative; }
.nav-menu {
  position: absolute; top: 100%; left: -16px; min-width: 210px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
  display: none; flex-direction: column;
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { display: flex; }
.nav-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-menu a { padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav-menu a:hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--blue); }

/* ---------- Inner pages ---------- */
.page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 151, 215, .45), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 70px 0 64px;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 8px 0 10px; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .lead { opacity: .9; font-size: 18px; }
.page-body { max-width: 860px; }
.construction {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff8e6; border: 1px solid #f5d38a; border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 40px; color: #6b4e00;
}
.construction-icon { font-size: 28px; line-height: 1; }
.construction p { margin-top: 4px; }
.page-note { color: var(--muted); margin-top: 32px; }

/* Timeline */
.timeline { list-style: none; position: relative; padding-left: 110px; }
.timeline::before {
  content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px;
  width: 3px; background: var(--border); border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 22px; }
.timeline-item::before {
  content: ""; position: absolute; left: -31px; top: 34px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue);
}
.timeline-item.current::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.timeline-item.pending::before { background: #fff; box-shadow: 0 0 0 2px var(--border); }
.timeline-year {
  position: absolute; left: -110px; top: 28px; width: 64px; text-align: right;
  font-weight: 700; font-size: 20px; color: var(--navy);
}
.timeline-card {
  display: flex; align-items: center; gap: 18px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
}
.timeline-item.current .timeline-card { border-color: var(--accent); }
.timeline-card img, .timeline-ph {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 72px;
}
.timeline-ph {
  display: grid; place-items: center; background: var(--bg-alt); color: var(--muted);
  font-size: 26px; font-weight: 700; border: 2px dashed var(--border);
}
.timeline-card h3 { color: var(--navy); font-size: 18px; }
.timeline-card p { color: var(--muted); font-size: 14px; }
.timeline-item.pending .timeline-card { box-shadow: none; background: var(--bg-alt); }
.timeline-item.pending h3 { color: var(--muted); font-weight: 600; }

/* History */
.history-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; text-align: center;
}
.history-stats div { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 12px; }
.history-stats strong { display: block; font-size: 32px; color: var(--navy); }
.history-stats span { color: var(--muted); font-size: 14px; }
.history-text h2 { color: var(--navy); font-size: 28px; margin-bottom: 12px; }
.history-text p + p { margin-top: 14px; }
.history-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Footer */
.site-footer { background: #071d33; color: rgba(255, 255, 255, .75); padding: 26px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .join-inner, .contact-grid { grid-template-columns: 1fr; }
  .board-grid, .board-grid.three { grid-template-columns: repeat(2, 1fr); }
  .ambassadors { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .project-head { grid-template-columns: 1fr; gap: 10px; }
  .project-teasers { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav a:not(.btn) { font-size: 14px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 14px; }
  .nav-group { display: flex; flex-direction: column; }
  .nav-menu {
    position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0;
  }
  .nav-group::after { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 80px 0 100px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stats-grid div + div { border-left: 0; }
  .pillars { grid-template-columns: 1fr; }
  .board-grid, .board-grid.three { grid-template-columns: 1fr 1fr; gap: 14px; }
  .president-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .president-card img { width: 170px; height: 170px; }
  .directors { grid-template-columns: 1fr 1fr; }
  .ambassador-card { flex-direction: column; text-align: center; border-left: 0; border-top: 6px solid var(--accent); }
  .member h3 { font-size: 15px; }
  .avatar { width: 72px; height: 72px; font-size: 18px; }
  .board-grid.two .avatar { width: 116px; height: 116px; }
  .board-grid.two .member h3 { font-size: 16px; }
  .section { padding: 64px 0; }
  .project { padding: 16px; }
  .gallery, .gallery.three { grid-template-columns: 1fr; gap: 10px; }
  .month { padding-left: 18px; }
  .month-label::before { left: -27px; }
  .teaser img { width: 90px; height: 70px; flex-basis: 90px; }
  .timeline { padding-left: 26px; }
  .timeline::before { left: 6px; }
  .timeline-item::before { left: -27px; top: 6px; }
  .timeline-year { position: static; display: block; text-align: left; width: auto; margin-bottom: 6px; font-size: 18px; }
  .timeline-card { padding: 14px; gap: 14px; }
  .timeline-card img, .timeline-ph { width: 56px; height: 56px; flex-basis: 56px; }
  .history-stats { grid-template-columns: 1fr; }
}
