* { box-sizing: border-box; }
:root {
  --green: #0f6c3d;
  --green-dark: #0a4e2d;
  --gold: #f0c419;
  --bg: #f4f7f5;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #dde5df;
  --white: #ffffff;
  --danger: #c62828;
  --shadow: 0 10px 30px rgba(15, 40, 20, 0.08);
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef7f0 100%);
  border-bottom: 4px solid var(--gold);
}
.hero-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}
.logo-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.logo {
  width: 100%;
  display: block;
  border-radius: 16px;
}
.eyebrow {
  display: inline-block;
  background: rgba(15, 108, 61, 0.1);
  color: var(--green);
  border: 1px solid rgba(15, 108, 61, 0.2);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-text h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.12;
  color: var(--green-dark);
}
.hero-text p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.main-area { padding: 28px 0 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stats-grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.stat-card { padding: 22px; }
.stat-label { color: var(--muted); font-size: 14px; }
.stat-value { margin-top: 8px; font-size: 32px; font-weight: 700; color: var(--green-dark); }
.stat-note { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.tabs-bar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn {
  border: none;
  padding: 13px 18px;
  border-radius: 14px;
  background: #dcebdd;
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}
.tab-btn.active { background: var(--green); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.section-card { padding: 24px; margin-bottom: 20px; }
.highlight-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
h2 { margin: 0 0 8px; color: var(--green-dark); }
h3 { margin: 10px 0 6px; color: var(--green-dark); }
.section-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8d1;
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 16px; }
.helper { margin-top: 6px; color: var(--muted); font-size: 12px; }
.two-cols, .three-cols {
  display: grid;
  gap: 14px;
}
.two-cols { grid-template-columns: repeat(2, 1fr); }
.three-cols { grid-template-columns: repeat(3, 1fr); }
.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-outline { background: #fff; color: var(--green-dark); border: 1px solid #cfe0d3; }
.btn-danger { background: var(--danger); color: #fff; }
.full { width: 100%; }
.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 10px;
}
.hidden { display: none !important; }
.activities-grid, .forms-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.activity-card, .form-card, .gallery-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.activity-photo, .gallery-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e1ebe3;
  background: linear-gradient(135deg, #f5faf6, #dcebdd);
}
.badge, .type-badge, .activity-date {
  display: inline-block;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge { background: #eef3ff; color: #2446a5; }
.type-badge { background: #fff5d8; color: #8a6600; }
.activity-date { background: #e7f7ed; color: var(--green); }
.muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
.meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.form-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
}
.admin-layout-stack { display: grid; gap: 20px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #e3ebe5;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .stats-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner,
  .activities-grid,
  .forms-grid,
  .gallery-grid,
  .admin-layout,
  .two-cols,
  .three-cols,
  .stats-grid-5 {
    grid-template-columns: 1fr;
  }
  .hero-text h1 { font-size: 32px; }
  .highlight-card,
  .section-head,
  .list-item,
  .inline-form {
    grid-template-columns: 1fr;
    display: grid;
  }
  .list-item { align-items: flex-start; }
}
