:root {
  --orange: #ff6a00;
  --orange-dark: #d95800;
  --green: #07860b;
  --blue: #37388f;
  --ink: #171a2f;
  --muted: #687083;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --line: #e1e5ee;
  --shadow: 0 18px 50px rgba(23, 26, 47, 0.1);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 850; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { width: 44px; height: 44px; border-radius: 8px; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 900; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); font-weight: 800; }
.site-nav a.active, .site-nav a:hover { color: var(--orange); }
.header-actions, .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn.solid { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(255, 106, 0, .28); }
.btn.solid:hover { background: var(--orange-dark); color: #fff; }
.btn.ghost { border: 1px solid var(--line); background: #fff; color: var(--blue); }
.btn.light { background: #fff; color: var(--orange); }
.btn.dark { background: var(--blue); color: #fff; width: 100%; margin-top: 16px; }
.btn.large { padding: 14px 24px; }

.hero-slider { position: relative; min-height: 680px; overflow: hidden; background: #101326; }
.hero {
  min-height: 680px;
  background-size: cover;
  background-position: center;
  display: none;
  align-items: center;
  padding: 74px 8vw;
  color: #fff;
}
.hero.active { display: flex; }
.hero-content { max-width: 780px; }
.eyebrow { margin: 0 0 12px; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .96; margin: 0 0 20px; letter-spacing: 0; }
.hero p { max-width: 650px; color: rgba(255,255,255,.88); font-size: 1.15rem; line-height: 1.75; }
.slider-dots { position: absolute; left: 8vw; bottom: 34px; display: flex; gap: 9px; }
.slider-dots button { width: 36px; height: 6px; border: 0; border-radius: 99px; background: rgba(255,255,255,.46); cursor: pointer; }
.slider-dots button.active { background: var(--orange); }

.quick-grid, .cause-grid, .social-grid, .donor-strip { display: grid; gap: 22px; padding: 42px 8vw; }
.quick-grid, .cause-grid, .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-card, .cause-card, .social-card, .contact-panel, .contact-info, .admin-card, .login-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quick-card img, .cause-card img { width: 100%; height: 230px; object-fit: cover; }
.quick-card div, .cause-card div, .social-card { padding: 22px; }
.quick-card h2, .cause-card h3, .social-card h3 { margin: 0 0 10px; }
.quick-card p, .cause-card p, .split-section p, .site-footer p, .inner-hero p, .contact-info p, .donation-band p { color: var(--muted); line-height: 1.75; }

.split-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  padding: 76px 8vw;
  background: #fff;
}
.split-section.reverse { background: var(--bg); }
.split-section img { width: 100%; height: 470px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.split-section h2, .section-head h2, .inner-hero h1, .donation-band h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.06; margin: 0 0 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stats span { background: var(--bg); border-radius: 8px; padding: 16px; color: var(--muted); border: 1px solid var(--line); }
.stats strong { display: block; color: var(--blue); font-size: 1.6rem; }

.section-head { text-align: center; padding: 70px 20px 8px; }
.progress { height: 8px; background: #eef1f6; border-radius: 99px; margin: 20px 0 8px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--green)); }
.donation-band { margin: 54px 8vw 0; padding: 34px; border-radius: 8px; background: #171a2f; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.donation-band p { color: rgba(255,255,255,.76); margin-bottom: 0; }
.donor-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 18px; }
.donor-strip div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: var(--shadow); }
.donor-strip strong { display: block; color: var(--blue); }
.donor-strip span { color: var(--muted); }
.social-card iframe { width: 100%; min-height: 430px; border: 0; }
.embed-placeholder { min-height: 220px; display: grid; place-items: center; background: var(--bg); color: var(--muted); border-radius: 8px; text-align: center; padding: 20px; }

.inner-hero { padding: 92px 8vw 58px; text-align: center; background: radial-gradient(circle at top left, rgba(255,106,0,.2), transparent 36%), #171a2f; color: #fff; }
.inner-hero p { max-width: 780px; margin: 0 auto; color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; padding: 58px 8vw; }
.contact-panel, .contact-info { padding: 28px; }
.contact-panel form, .login-box form, .admin-card { display: grid; gap: 14px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 130px; }
.notice { background: #fff4ea; color: #91420a !important; padding: 14px; border-radius: 8px; border: 1px solid #ffd6b8; }

.site-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; background: #121525; color: #fff; padding: 46px 8vw; }
.site-footer p, .site-footer a { color: #c9d0dd; }
.flash { max-width: 1040px; margin: 18px auto; background: #ecf8ef; border: 1px solid #c8e8cf; color: #13501d; padding: 14px 18px; border-radius: 8px; }
.login-box { max-width: 460px; margin: 80px auto; padding: 30px; }

.admin-body { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; background: #eef1f7; }
.admin-side { background: #171a2f; padding: 22px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.admin-side .brand { color: #fff; padding: 0 0 18px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 8px; }
.admin-side .brand img { width: 48px; height: 48px; }
.admin-side a { color: #dbe0ee; font-weight: 780; padding: 11px 12px; border-radius: 8px; }
.admin-side a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { padding: 30px; }
.admin-head { margin-bottom: 22px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.admin-head h1 { margin: 0; font-size: 2rem; }
.admin-head p { margin: 6px 0 0; color: var(--muted); }
.admin-card { margin-bottom: 18px; padding: 20px; }
.admin-card-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-table { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: auto; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f6f8fb; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 18px; }
  .site-nav { flex-wrap: wrap; }
  .quick-grid, .cause-grid, .social-grid, .split-section, .contact-grid, .site-footer, .admin-body { grid-template-columns: 1fr; }
  .donor-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donation-band { flex-direction: column; align-items: flex-start; }
  .admin-side { position: static; height: auto; }
}

@media (max-width: 620px) {
  .hero, .hero-slider { min-height: 590px; }
  .hero h1 { font-size: 2.5rem; }
  .donor-strip, .two, .three, .stats { grid-template-columns: 1fr; }
}
