:root {
  --bg: #f3fbf8;
  --surface: #ffffff;
  --surface-alt: #e6f5f0;
  --primary: #117a65;
  --primary-deep: #0b5d52;
  --secondary: #1f6fb2;
  --secondary-soft: #d8ebfb;
  --text: #15323a;
  --muted: #587179;
  --border: rgba(17, 122, 101, 0.12);
  --shadow: 0 20px 45px rgba(21, 50, 58, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 178, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(17, 122, 101, 0.14), transparent 30%),
    linear-gradient(180deg, #f9fffd 0%, var(--bg) 52%, #eef9f6 100%);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px);
  background: rgba(249, 255, 253, 0.88); border-bottom: 1px solid rgba(21, 50, 58, 0.06);
}
.topbar, .section, .footer-inner { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; font-weight: 700; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, var(--primary), var(--secondary)); box-shadow: var(--shadow);
}
.brand-copy span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.menu-toggle {
  display: none; border: 0; background: var(--surface); border-radius: 999px;
  padding: 0.8rem 1rem; color: var(--primary-deep); box-shadow: 0 8px 20px rgba(17, 122, 101, 0.12);
}
.nav-links { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.nav-links a {
  padding: 0.72rem 1rem; border-radius: 999px; color: var(--muted);
  font-size: 0.95rem; transition: 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-deep); background: rgba(17, 122, 101, 0.08); }
.hero { padding: 5rem 0 4rem; }
.hero-grid, .split-grid, .cards-grid, .gallery-grid, .contact-grid, .blog-grid, .stats-grid, .footer-grid { display: grid; gap: 1.5rem; }
.hero-grid, .split-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(31, 111, 178, 0.1);
  color: var(--secondary); border-radius: 999px; padding: 0.5rem 0.9rem; font-size: 0.82rem; font-weight: 600;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.8rem; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.hero-copy p { max-width: 58ch; font-size: 1.05rem; }
.cta-row, .button-row, .social-row, .download-links { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.button, button, input, textarea, select { font: inherit; }
.button {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.95rem 1.35rem;
  border-radius: 999px; font-weight: 600; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 18px 30px rgba(17, 122, 101, 0.22); }
.button.secondary { color: var(--primary-deep); background: rgba(17, 122, 101, 0.1); }
.hero-art, .page-banner, .card, .info-panel, .quiz-box, .contact-card, .gallery-item, .blog-card, .stat-card, .timeline-item {
  background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero-art { padding: 1.6rem; position: relative; overflow: hidden; }
.hero-art::after {
  content: ""; position: absolute; inset: auto -15% -22% auto; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(31, 111, 178, 0.18), transparent 65%);
}
.orb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.mini-card, .topic-chip { padding: 1.2rem; border-radius: 22px; min-height: 130px; }
.mini-card:nth-child(1), .topic-chip:nth-child(2) { background: linear-gradient(160deg, #117a65, #0b5d52); color: #fff; }
.mini-card:nth-child(2) { background: linear-gradient(160deg, #ffffff, #dff0ff); }
.mini-card:nth-child(3), .topic-chip:nth-child(1) { background: linear-gradient(160deg, #d7efe8, #ffffff); }
.mini-card:nth-child(4), .topic-chip:nth-child(3) { background: linear-gradient(160deg, #dcecff, #ffffff); }
.section { padding: 2rem 0 4rem; }
.section-head { max-width: 62ch; margin-bottom: 1.6rem; }
.cards-grid, .gallery-grid, .blog-grid, .stats-grid, .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .blog-card, .gallery-item, .stat-card, .timeline-item, .contact-card, .quiz-box, .info-panel { padding: 1.5rem; }
.card-icon, .stat-number { font-size: 2rem; font-weight: 700; }
.badge {
  display: inline-block; padding: 0.42rem 0.75rem; border-radius: 999px; background: var(--surface-alt);
  color: var(--primary-deep); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.9rem;
}
.split-grid { margin-top: 1.5rem; }
.list { padding: 0; margin: 0; list-style: none; display: grid; gap: 0.8rem; }
.list li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.list li::before {
  content: ""; position: absolute; left: 0; top: 0.7rem; width: 0.7rem; height: 0.7rem;
  border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.page-banner { padding: 3.4rem 2rem; margin-top: 1.5rem; }
.page-banner p { max-width: 64ch; }
.info-panel { height: 100%; }
.info-panel.accent { background: linear-gradient(145deg, rgba(17, 122, 101, 0.95), rgba(31, 111, 178, 0.95)); color: #fff; }
.info-panel.accent p, .info-panel.accent li, .info-panel.accent h3 { color: rgba(255, 255, 255, 0.88); }
.gallery-item img, .blog-card img {
  border-radius: 20px; margin-bottom: 1rem; aspect-ratio: 16 / 11; object-fit: cover;
  background: linear-gradient(145deg, #d7efe8, #d8ebfb);
}
.video-placeholder {
  display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 20px;
  background: linear-gradient(140deg, #0b5d52, #1f6fb2); color: #fff; font-size: 1.4rem; font-weight: 600;
}
.quiz-box form, .poll-form, .contact-form { display: grid; gap: 1rem; }
.quiz-option, .poll-option {
  display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: #fbfffd;
}
label { color: var(--text); font-weight: 500; }
input[type="text"], input[type="email"], textarea {
  width: 100%; border: 1px solid rgba(21, 50, 58, 0.12); border-radius: 16px;
  padding: 0.95rem 1rem; background: rgba(255, 255, 255, 0.9);
}
textarea { min-height: 150px; resize: vertical; }
.result-box, .form-feedback {
  display: none; padding: 1rem 1.1rem; border-radius: 16px;
  background: var(--surface-alt); color: var(--primary-deep); font-weight: 600;
}
.result-box.visible, .form-feedback.visible { display: block; }
.social-row a {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(17, 122, 101, 0.1); color: var(--primary-deep); transition: 0.25s ease;
}
.social-row a:hover { transform: translateY(-2px); background: rgba(17, 122, 101, 0.18); }
.site-footer { padding: 1.6rem 0 2.5rem; background: rgba(11, 34, 39, 0.96); color: rgba(255, 255, 255, 0.88); }
.site-footer p, .site-footer a { color: rgba(255, 255, 255, 0.72); }
.footer-grid { padding: 2rem 0; }
.footer-note { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.8s ease forwards; }
.reveal.delay-1 { animation-delay: 0.1s; }
.reveal.delay-2 { animation-delay: 0.2s; }
.reveal.delay-3 { animation-delay: 0.3s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); padding: 1rem; border-radius: 24px;
    background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero-grid, .split-grid, .contact-grid, .cards-grid, .gallery-grid, .blog-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
}
@media (max-width: 640px) {
  .topbar, .section, .footer-inner { width: min(var(--max), calc(100% - 1.2rem)); }
  .page-banner, .hero-art, .card, .gallery-item, .blog-card, .contact-card, .quiz-box, .info-panel { border-radius: 22px; }
  h1 { font-size: 2.6rem; }
}
