/* ===== ROOT & RESET ===== */
:root {
  --primary: #1E3799;
  --primary-dark: #152878;
  --accent: #F9690E;
  --accent-light: #fff3ed;
  --bg: #F5F6FA;
  --white: #ffffff;
  --text: #2C3E50;
  --text-light: #636E72;
  --border: #e0e4ef;
  --shadow: 0 4px 20px rgba(30,55,153,0.10);
  --shadow-hover: 0 8px 32px rgba(30,55,153,0.18);
  --radius: 12px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(30,55,153,0.07);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.nav-logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-title span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg);
  color: var(--primary);
}

.nav-links a.nav-cta {
  background: var(--accent);
  color: white;
  margin-left: 8px;
}

.nav-links a.nav-cta:hover {
  background: #e05800;
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: var(--primary);
  color: white;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(249,105,14,0.15);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(249,105,14,0.2);
  border: 1px solid rgba(249,105,14,0.5);
  color: #ffb380;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #e05800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,105,14,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-blue {
  background: var(--primary);
  color: white;
}

.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 52px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-sub {
  margin: 0 auto;
}

/* ===== PILLARS ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}



.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  color: white;
  padding: 48px 24px;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 6px;
  font-weight: 500;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e8ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
}

.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: #e8ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.card-body {
  padding: 24px;
}

.card-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-meta {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== OFFICER GRID ===== */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.officer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.officer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.officer-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.officer-img-placeholder {
  width: 100%;
  height: 220px;
  background: #e8ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
}

.officer-info {
  padding: 20px 16px 24px;
}

.officer-role {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.officer-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.officer-school {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.officer-quote {
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ===== CHAPTER CARDS ===== */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.chapter-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.chapter-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.chapter-header {
  background: var(--primary);
  color: white;
  padding: 32px 28px 24px;
}

.chapter-header h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.chapter-header .chapter-school {
  opacity: 0.8;
  font-size: 0.95rem;
}

.chapter-body {
  padding: 28px;
}

.chapter-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.chapter-detail strong {
  color: var(--text);
}

.chapter-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== START CHAPTER BANNER ===== */
.start-chapter {
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 52px 40px;
  text-align: center;
  margin-top: 52px;
}

.start-chapter h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.start-chapter p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.btn-white {
  background: white;
  color: var(--accent);
  font-weight: 800;
}

.btn-white:hover {
  background: #fff3ed;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===== EVENT PAGE ===== */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  transition: all 0.3s;
  margin-bottom: 24px;
}

.event-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.event-date-col {
  background: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  text-align: center;
  min-width: 120px;
}

.event-month {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}

.event-day {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}

.event-year {
  font-size: 0.8rem;
  opacity: 0.75;
}

.event-info {
  padding: 24px 28px;
}

.event-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.event-info p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.event-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: var(--primary);
  color: white;
  padding: 80px 24px 64px;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-img-placeholder {
  width: 100%;
  height: 380px;
  background: #e8ecff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-radius: var(--radius);
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ===== FORM CTA ===== */
.form-cta-box {
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 52px 48px;
  text-align: center;
}

.form-cta-box h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.form-cta-box p {
  opacity: 0.88;
  margin-bottom: 28px;
  font-size: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

/* ===== PAGE HERO (reusable) ===== */
.page-hero {
  background: var(--primary);
  color: white;
  padding: 64px 24px 56px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  background: #0f1f5c;
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
}

.footer-brand h3 span { color: var(--accent); }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .about-story {
    grid-template-columns: 1fr;
  }
  .event-card {
    grid-template-columns: 100px 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
  }

  .hamburger { display: flex; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date-col {
    flex-direction: row;
    gap: 12px;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    min-height: unset;
    height: auto;
  }

  .event-card { align-items: start; }

  .event-day { font-size: 1.8rem; }
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
.dark-toggle {
  background: none;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-left: 12px;
  flex-shrink: 0;
}
.dark-toggle:hover {
  border-color: var(--primary);
  background: var(--bg);
}

/* ===== DARK MODE ===== */
body.dark {
  --bg: #1a1d2e;
  --white: #242840;
  --text: #ffffff;
  --text-light: #b0b8d4;
  --border: #363a55;
  --primary: #7eb3ff;
  --primary-dark: #5a99ff;
  --shadow: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.5);
  background: var(--bg);
  color: var(--text);
}
body.dark .navbar { background: var(--white); }
body.dark .nav-links { background: var(--white); }
body.dark .section-alt { background: #1e2138; }
body.dark .hero-stat { background: rgba(255,255,255,0.07); }
body.dark .chapter-card,
body.dark .event-card,
body.dark .chapter-detail-card,
body.dark .officer-card,
body.dark .value-card,
body.dark .form-cta-box { background: var(--white); }
body.dark .chapter-body,
body.dark .chapter-detail-body,
body.dark .event-info,
body.dark .officer-info { background: var(--white); }
body.dark footer { background: #12142a; }
body.dark .what-list ul,
body.dark .chapter-info-val,
body.dark .officer-comp { color: var(--text-light); }
body.dark .activity-tag { background: #2e3250; border-color: var(--border); color: var(--text); }
body.dark .chapter-activities { background: #1e2138; }
body.dark .map-placeholder { background: #1e2138; }
body.dark .expand-cta { background: #1e2138; }
body.dark input, body.dark select, body.dark textarea { background: #1e2138; border-color: var(--border); color: var(--text); }
