:root {
  --green-dark: #1b5e20;
  --green-primary: #2e7d32;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --text: #2c2c2c;
  --text-light: #666;
  --white: #fff;
  --bg-alt: #f8f9f8;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.75; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-primary); text-decoration: none; }
a:hover { color: var(--green-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- HEADER ---- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08); transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.logo-text { font-size: 0.85rem; font-weight: 700; color: var(--green-dark); line-height: 1.3; max-width: 160px; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); transition: color 0.2s; }
nav a:hover { color: var(--green-primary); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO SLIDER ---- */
.slider { position: relative; width: 100%; height: 100vh; min-height: 500px; overflow: hidden; }

.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.48); }

.slide-content { position: relative; text-align: center; color: var(--white); max-width: 720px; padding: 0 24px; }
.slide-content h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,0.3); margin-bottom: 14px; }
.slide-content p { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 300; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.6);
  color: white; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover { background: rgba(255,255,255,0.3); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; transition: background 0.3s; }
.dot.active { background: white; }

/* ---- SECTIONS ---- */
section { padding: 80px 0; }
.bg-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-light); margin-bottom: 10px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text); }
.section-header p { margin-top: 14px; color: var(--text-light); max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---- MISSION CARDS ---- */
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mission-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.mission-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(0,0,0,0.13); }
.mission-card img { width: 100%; height: 180px; object-fit: cover; }
.mission-card-body { padding: 18px 20px 22px; }
.mission-card-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--green-dark); }
.mission-card-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ---- ABOUT ---- */
.about-content { max-width: 860px; margin: 0 auto; }
.about-content p { margin-bottom: 1.2em; color: var(--text); }

/* ---- ACCORDION ---- */
.accordion { max-width: 860px; margin: 0 auto; }
.accordion-item { border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.accordion-trigger {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; cursor: pointer; background: var(--white);
  transition: background 0.2s; list-style: none; width: 100%;
  border: none; text-align: left; font-family: inherit;
}
.accordion-trigger:hover { background: var(--green-pale); }
.accordion-trigger h3 { font-size: 1rem; font-weight: 600; color: var(--text); pointer-events: none; }

.accordion-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; margin-left: 16px; }
.accordion-icon::before, .accordion-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--green-primary); transition: transform 0.3s, opacity 0.3s;
}
.accordion-icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.accordion-icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.accordion-item.open .accordion-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; background: var(--white); }
.accordion-item.open .accordion-body { max-height: 9999px; }
.accordion-body-inner { padding: 4px 20px 24px; }

.accordion-body h4 { font-size: 0.9rem; font-weight: 700; color: var(--green-dark); margin: 20px 0 6px; }
.accordion-body p, .accordion-body li { font-size: 0.88rem; color: var(--text); line-height: 1.7; }
.accordion-body ul, .accordion-body ol { padding-left: 20px; }
.accordion-body li { margin-bottom: 6px; }
.accordion-body p { margin-bottom: 10px; }

/* ---- ACCORDION TABLE & SPECIAL ELEMENTS ---- */
.accordion-body table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 12px 0; }
.accordion-body td { border: 1px solid #d0d0d0; padding: 8px 12px; vertical-align: top; line-height: 1.6; }
.accordion-body td:first-child { font-weight: 600; white-space: nowrap; background: var(--bg-alt); width: 160px; }
.accordion-body ul li, .accordion-body ol li { margin-bottom: 4px; }

.late-member { color: #999; font-style: italic; }

.download-btn {
  display: inline-block; margin: 6px 4px;
  padding: 10px 22px; background: var(--green-primary); color: white;
  border-radius: 4px; font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.download-btn:hover { background: var(--green-dark); color: white; }
.download-center { text-align: center; margin: 10px 0 18px; }
.download-note { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 8px; }

/* ---- BLOG GRID ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; color: inherit; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(0,0,0,0.13); }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.post-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text); font-weight: 700; }
.post-card-body p { font-size: 0.88rem; color: var(--text-light); flex: 1; margin-bottom: 16px; }
.read-more { font-size: 0.83rem; font-weight: 700; color: var(--green-primary); text-transform: uppercase; letter-spacing: 0.06em; }
.post-card:hover .read-more { color: var(--green-dark); }

/* ---- BLOG POST ---- */
.post-hero { margin-top: 70px; height: 420px; overflow: hidden; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

.post-layout { max-width: 760px; margin: 52px auto 90px; padding: 0 24px; }
.post-layout h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.post-layout .post-meta { font-size: 0.88rem; color: var(--text-light); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #eee; }
.post-layout p { margin-bottom: 1.2em; }
.post-layout h2 { font-size: 1.4rem; margin: 36px 0 12px; color: var(--green-dark); }
.post-layout h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--text); }
.post-layout ol, .post-layout ul { padding-left: 24px; margin-bottom: 1.2em; }
.post-layout li { margin-bottom: 8px; }
.sources { margin-top: 44px; padding-top: 24px; border-top: 1px solid #eee; }
.sources h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 10px; }
.sources a { font-size: 0.82rem; display: block; word-break: break-all; margin-bottom: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-light); font-size: 0.88rem; margin-bottom: 36px; transition: color 0.2s; }
.back-link:hover { color: var(--green-primary); }

/* ---- BLOG INDEX ---- */
.blog-hero { margin-top: 70px; background: var(--green-dark); padding: 80px 0; text-align: center; color: white; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.blog-hero p { margin-top: 12px; opacity: 0.8; font-size: 1.05rem; }
.blog-posts { padding: 72px 0 90px; }

/* ---- MAP ---- */
.map-section { padding: 80px 0 0; }
.map-embed { width: 100%; height: 420px; border: 0; display: block; margin-top: 40px; }

/* ---- FOOTER ---- */
footer { background: #181818; color: rgba(255,255,255,0.6); padding: 44px 0 36px; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 38px; }
.footer-logo span { font-size: 0.95rem; font-weight: 700; color: white; }
footer nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
footer nav a { color: rgba(255,255,255,0.55); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
footer nav a:hover { color: white; }
.footer-copy { font-size: 0.8rem; }
.footer-copy a { color: rgba(255,255,255,0.6); text-decoration: underline; transition: color 0.2s; }
.footer-copy a:hover { color: white; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .mission-grid, .blog-grid { grid-template-columns: 1fr; }
  .post-hero { height: 260px; }
  .slider-btn { display: none; }

  nav {
    display: none; flex-direction: column; position: fixed;
    top: 70px; left: 0; right: 0; background: white;
    padding: 24px 28px; gap: 18px; box-shadow: var(--shadow); z-index: 99;
  }
  nav.open { display: flex; }
  .menu-toggle { display: flex; }
}
