:root {
  --ink: #172231;
  --muted: #596879;
  --line: #dbe5ee;
  --paper: #f6f8fb;
  --white: #ffffff;
  --green: #137f74;
  --green-dark: #075d56;
  --rose: #d91b4c;
  --gold: #a86f10;
  --blue: #245b8f;
  --soft-blue: #e8f1f8;
  --soft-green: #e5f5f1;
  --soft-rose: #fff0f4;
  --shadow: 0 18px 48px rgba(21, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.18;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 99;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 8px;
}

.brand span:last-child {
  display: grid;
  gap: 1px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--green-dark);
}

.donate-link {
  padding: 8px 12px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 45, 50, 0.94), rgba(7, 93, 86, 0.78), rgba(22, 33, 47, 0.40)),
    url("assets/community-service-hero.jpg") center/cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 54px;
}

.eyebrow,
.small-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f6dca5;
}

.hero-copy {
  max-width: 820px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2vw, 22px);
}

.trust-line {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: var(--green-dark);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: var(--white);
  background: var(--green-dark);
}

.button.light {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--line);
}

.event-actions {
  margin-top: 22px;
}

main {
  padding-bottom: 54px;
}

.section,
.trust-strip,
.notice,
.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 72px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p,
.lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: -32px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 116px;
  padding: 22px;
  background: var(--white);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 21px;
  line-height: 1.1;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.notice {
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid #c8dae8;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  color: #314356;
  background: var(--soft-blue);
  font-weight: 800;
}

.panel,
.card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(21, 33, 47, 0.06);
}

.two-column,
.leadership-layout,
.split-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.serve-grid,
.program-grid,
.support-grid,
.impact-grid,
.document-list,
.service-grid,
.form-grid {
  display: grid;
  gap: 18px;
}

.serve-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.program-grid,
.support-grid,
.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.impact-grid,
.document-list,
.form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.serve-card,
.support-card,
.impact-card,
.service-card {
  min-height: 100%;
}

.serve-card h3,
.support-card h3,
.impact-card h3 {
  color: var(--green-dark);
}

.program {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program p,
.card p,
.panel p,
.service-card p {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--soft-green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  content: "";
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 6px var(--green), inset 0 0 0 8px var(--white);
}

.grant-card {
  color: var(--white);
  background: var(--ink);
}

.grant-card p,
.grant-card .check-list li {
  color: rgba(255, 255, 255, 0.82);
}

.grant-card .small-title {
  color: #f6dca5;
}

.impact-note {
  margin-top: 18px;
  padding: 20px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fffaf1;
  color: #4d3b1e;
  font-weight: 800;
}

.supporter-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #c8dae8;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: var(--soft-blue);
}

.supporter-note strong {
  color: var(--blue);
  font-size: 17px;
}

.supporter-note span {
  color: #314356;
  font-weight: 700;
}

.leadership-note {
  border-top: 5px solid var(--gold);
}

.document-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  font-weight: 800;
}

.supporters-panel {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(21, 33, 47, 0.06);
}

.supporters-panel > p {
  max-width: 940px;
  color: var(--muted);
  font-size: 17px;
}

.compact-heading {
  align-items: start;
  margin-bottom: 20px;
}

.compact-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.resource-card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.resource-card h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 18px;
}

.resource-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.disclaimer-note {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fffaf1;
  color: #4d3b1e !important;
  font-size: 14px !important;
  font-weight: 900;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
}

.page-hero .section {
  padding: 82px 0;
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.warning {
  padding: 18px 20px;
  border-left: 5px solid var(--rose);
  border-radius: 8px;
  color: #5b1730;
  background: var(--soft-rose);
  font-weight: 800;
}

.service-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.field-group {
  display: grid;
  gap: 7px;
}

label {
  color: var(--ink);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #b9c7d5;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-row input {
  width: auto;
  margin-top: 5px;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.provider-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fffaf1;
  color: #4d3b1e !important;
  font-size: 14px;
  font-weight: 800;
}

footer {
  background: #101820;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.5fr);
  gap: 36px;
  align-items: start;
  padding: 36px 0;
}

.footer-inner strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  line-height: 1.25;
}

.footer-inner span {
  display: block;
  max-width: 360px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-start;
  justify-content: flex-end;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .section-heading,
  .two-column,
  .leadership-layout,
  .split-page,
  .cta-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  nav,
  .footer-links {
    justify-content: flex-start;
  }

  .serve-grid,
  .program-grid,
  .support-grid,
  .impact-grid,
  .document-list,
  .service-grid,
  .form-grid,
  .resource-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .program {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .topbar {
    gap: 12px;
  }

  nav {
    gap: 8px 12px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-inner {
    padding-top: 76px;
  }

  .button {
    width: 100%;
  }
}
