:root {
  --green: #17A44A;
  --green-dark: #0E7A36;
  --green-darker: #08501F;
  --green-tint: #E9FBF0;
  --green-tint-2: #DCF7E6;
  --gold: #D9A441;
  --black: #121615;
  --ink: #1B1F1D;
  --gray: #5B6660;
  --gray-light: #8B9691;
  --line: #E4EAE6;
  --white: #FFFFFF;
  --off-white: #F6FAF7;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(18, 22, 21, 0.08);
  --shadow-sm: 0 4px 14px rgba(18, 22, 21, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, h4, .display {
  font-family: 'Segoe UI Semibold', 'Segoe UI', -apple-system, 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; color: var(--gray); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--green-darker); color: var(--white); }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow.on-dark { background: rgba(255,255,255,.12); color: #8FE3AC; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

h1.display { font-size: clamp(34px, 5vw, 56px); }
h2.section-title { font-size: clamp(28px, 4vw, 40px); }
.lede { font-size: 18px; color: var(--gray); max-width: 620px; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(23,164,74,.3); }
.btn-primary:hover { background: var(--green-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: var(--white); color: var(--green-darker); }
.btn-white { background: var(--white); color: var(--green-darker); }
.btn-white:hover { background: var(--green-tint); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1EBE59; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; margin-right: clamp(18px, 3.5vw, 40px); min-width: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.brand-text { font-family: 'Segoe UI Semibold', 'Segoe UI', 'Poppins', sans-serif; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text .b1 { font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: var(--green-darker); display: block; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 16px; flex: 1 1 0; min-width: 0; overflow: hidden; }
.nav-links a { font-weight: 500; font-size: 13.5px; color: var(--ink); position: relative; white-space: nowrap; flex: 0 0 auto; }
.nav-links a:hover { color: var(--green-dark); }
.nav-cta { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: 18px; }
.nav-cta .btn-sm { padding: 8px 14px; font-size: 12.5px; }
.nav-toggle { display: none; background: none; border: none; padding: 6px; flex: 0 0 auto; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--black); margin: 4.5px 0; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-inner { padding: 10px 16px; }
  .brand { gap: 7px; margin-right: 10px; }
  .brand img { width: 30px; height: 30px; }
  .brand-text .b1 { font-size: 13px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); overflow: visible; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; }
  .nav-cta { gap: 5px; margin-left: 8px; }
  .nav-cta .btn-sm { padding: 6px 9px; font-size: 11px; }
  .nav-toggle { display: block; padding: 4px; }
  .nav-toggle span { width: 19px; margin: 4px 0; }
}

@media (max-width: 360px) {
  .brand-text .b1 { font-size: 11.5px; }
  .nav-cta .btn-sm { padding: 5px 7px; font-size: 10px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-blob { position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; background: var(--green-tint-2); border-radius: 42% 58% 63% 37% / 45% 41% 59% 55%; z-index: 0; }
.hero-visual { position: relative; z-index: 1; }
.hero-card {
  background: var(--green);
  border-radius: 28px;
  padding: 34px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 55%); }
.hero-stats { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.hero-stat { background: rgba(255,255,255,.14); border-radius: 14px; padding: 14px 18px; min-width: 110px; }
.hero-stat b { font-family: 'Poppins',sans-serif; font-size: 22px; display: block; }
.hero-stat span { font-size: 12px; opacity: .85; }
.hero h1 { position: relative; z-index: 1; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; position: relative; z-index: 1; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-blob { display: none; }
}

/* Program cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 940px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 941px) and (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.programme-card { padding: 0; overflow: hidden; }
.programme-media { height: 190px; background-size: cover; background-position: center; position: relative; }
.programme-body { padding: 28px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family:'Poppins',sans-serif; font-weight: 600; font-size: 12px; padding: 6px 14px; border-radius: var(--radius-pill); }
.badge-live { background: #E9FBF0; color: var(--green-dark); }
.badge-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
.badge-soon { background: #FFF6E6; color: #A9760C; }
.badge-dark { background: #FBE9E9; color: #B33A3A; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.programme-tag { position: absolute; top: 16px; left: 16px; }

.icon-chip {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 14px;
  background: var(--green-tint);
}

/* Partner / sponsor logo tiles */
.logo-tile { display: flex; align-items: center; justify-content: center; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); height: 120px; }
.logo-tile img { max-height: 60px; max-width: 100%; object-fit: contain; }
.logo-tile.dark { background: var(--green-darker); border-color: var(--green-darker); }
.logo-tile.wordmark { font-family:'Poppins',sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .02em; color: var(--black); }

/* WhatsApp CTA block */
.whatsapp-banner {
  background: linear-gradient(120deg, var(--green-darker), var(--green));
  border-radius: 24px;
  padding: 40px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.whatsapp-banner::before { content:''; position:absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); right: -60px; top: -90px; }
.whatsapp-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.whatsapp-copy { position: relative; z-index: 1; max-width: 520px; }
.whatsapp-copy p { color: rgba(255,255,255,.85); }

/* News */
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-media { height: 170px; border-radius: 12px; background-size: cover; background-position: center; margin-bottom: 18px; }
.news-cat { font-family:'Poppins',sans-serif; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.news-date { font-size: 12.5px; color: var(--gray-light); }
.news-card h3 { font-size: 18px; margin: 8px 0; }
.news-card .excerpt { font-size: 14.5px; flex: 1; }
.tabs { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.tab { padding: 9px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); font-family: 'Poppins',sans-serif; font-weight: 500; font-size: 13.5px; }
.tab.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family:'Poppins',sans-serif; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; color: var(--black); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
input, select, textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--ink); background: var(--off-white);
  transition: border-color .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
textarea { resize: vertical; min-height: 110px; }
.alert { padding: 14px 18px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.alert-error { background: #FDEDEC; color: #B3261E; border: 1px solid #F6C7C3; }
.alert-success { background: var(--green-tint); color: var(--green-dark); border: 1px solid #B9EDCB; }

/* Auth split layout */
.auth-wrap { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--green-darker); color: var(--white); padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side .blob { position: absolute; width: 380px; height: 380px; border-radius: 40% 60% 55% 45%/50% 45% 55% 50%; background: rgba(255,255,255,.06); top: -100px; left: -100px; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.auth-form-inner { width: 100%; max-width: 420px; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { padding: 40px 24px; } }

/* Sidebar dashboard layout */
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 74px); }
.sidebar { background: var(--off-white); border-right: 1px solid var(--line); padding: 28px 18px; }
.sidebar a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.sidebar a:hover { background: var(--green-tint); }
.sidebar a.active { background: var(--green); color: var(--white); font-weight: 600; }
.sidebar .side-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-light); padding: 14px 14px 6px; font-weight: 600; }
.main-content { padding: 40px; }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; } .sidebar { display: flex; overflow-x: auto; gap: 6px; padding: 14px; border-right: none; border-bottom: 1px solid var(--line); } .sidebar .side-title { display: none; } .sidebar a { white-space: nowrap; } .main-content { padding: 24px; } }

.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.stat-card b { font-family: 'Poppins',sans-serif; font-size: 28px; display: block; color: var(--black); }
.stat-card span { font-size: 13px; color: var(--gray-light); }

table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 13px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
th { font-family:'Poppins',sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-light); background: var(--off-white); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { border-radius: 0; }
.pill-status { font-family:'Poppins',sans-serif; font-weight: 600; font-size: 11.5px; padding: 5px 12px; border-radius: var(--radius-pill); text-transform: capitalize; }
.status-open { background: #FFF6E6; color: #A9760C; }
.status-in_progress { background: #E8F0FE; color: #1A56DB; }
.status-resolved { background: var(--green-tint); color: var(--green-dark); }

/* Footer */
footer { background: var(--black); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; }
footer a { color: rgba(255,255,255,.65); font-size: 14px; display: block; margin-bottom: 10px; }
footer a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand b { color: var(--white); font-family:'Poppins',sans-serif; font-size: 17px; letter-spacing: -.01em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; margin: 0; transition: transform .15s ease, opacity .15s ease; }
.social-row a:hover { transform: translateY(-2px); opacity: .85; }

/* Dotted pattern decoration */
.dots { display: grid; grid-template-columns: repeat(6, 8px); gap: 8px; opacity: .5; }
.dots span { width: 8px; height: 8px; border-radius: 2px; background: var(--green); }

.reveal-box { border-radius: 20px; padding: 2px; background: linear-gradient(135deg, var(--green), var(--gold)); }
.reveal-box-inner { background: var(--white); border-radius: 18px; padding: 30px; }

.divider { height: 1px; background: var(--line); width: 60px; margin: 20px 0; }

.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { font-family:'Poppins',sans-serif; font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--green-tint); color: var(--green-dark); }

.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family:'Poppins',sans-serif; font-weight: 700; font-size: 15px;
}
.userbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 22px; background: var(--white); }

.empty-state { text-align: center; padding: 50px 20px; color: var(--gray-light); }
