:root {
  --bg: #f2f8f7;
  --surface: #ffffff;
  --surface-soft: #e9f4f2;
  --text: #17323a;
  --muted: #4e676f;
  --primary: #1f6f8b;
  --primary-deep: #174e63;
  --accent: #2e9e84;
  --border: #cfe2df;
  --danger: #a81f1f;
  --success: #1b6d56;
  --shadow: 0 10px 24px rgba(23, 78, 99, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #f8fcfb 0%, var(--bg) 50%, #eef6f4 100%);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}



a {
  color: inherit;
}

.logo-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 10px;
  top: 10px;
  transform: translateY(-200%);
  padding: 10px;
  background: #fff;
  color: #000;
  z-index: 1000;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
  color: var(--primary-deep);
}


.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--muted);
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary-deep);
  background: var(--surface-soft);
}

main {
  min-height: 65vh;
}

.afc {
  padding: 62px 0 46px;
  background: linear-gradient(rgba(12, 65, 82, 0.35), rgba(12, 65, 82, 0.35)), url("../images/volunteers.jpg") center/cover no-repeat;
  color: #fff;
}

.afc-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.lead {
  color: var(--muted);
}

.afc .lead {
  color: #e1f2f6;
}

.afc-title-center {
  text-align: center;
  width: 100%;
  margin: 0 auto 18px;
  white-space: nowrap;
}

.btn-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 18px;
  display: inline-block;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-deep);
}

.btn-secondary {
  background: #dff2ec;
  color: #155844;
}

.afc .btn-secondary {
  background: rgba(223, 242, 236, 0.9);
}

.section {
  padding: 26px 0 56px;
}

.section-alt {
  background: #ecf6f4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission-banner {
  margin-top: 22px;
  border-radius: var(--radius);
  padding: 26px;
  color: #fff;
 // background: rgba(9, 48, 61, 0.6);
  box-shadow: var(--shadow);
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.events-upcoming-cards .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.events-past-cards .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.events-block {
  margin-bottom: 40px;
}

.events-block + .events-block {
  margin-top: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.events-block-title {
  margin-bottom: 10px;
}

.event-meta {
  margin: 0 0 8px;
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

.grid-2 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-form-half {
  width: 50%;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.members-split {
  align-items: stretch;
}

.members-split > .form-card {
  height: 100%;
}

.member-benefits-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.member-benefit-item {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: #f7fcfb;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid #bdd3ce;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

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

.field-error {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--danger);
}

.form-status {
  margin: 0;
  font-weight: 700;
}

.tier-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tier {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7fcfb;
  padding: 12px;
}

.tier strong {
  font-size: 1.28rem;
  color: var(--primary-deep);
}

.donation-suggested-title {
  margin-top: 30px;
}

.donation-suggested-list {
  margin-top: 10px;
}

.donation-steps-list {
  margin: 0;
  padding: 14px 18px 14px 30px;
  border-radius: 10px;
  background: #edf6f3;
  border: 1px solid #d3e7e1;
}

blockquote {
  margin: 0 0 12px;
  padding: 12px;
  border-left: 4px solid #8ebdb2;
  background: #f4faf8;
  border-radius: 8px;
}

.map-placeholder {
  margin-top: 8px;
  border: 1px dashed #7daea2;
  border-radius: 12px;
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #eaf5f2;
  color: #2d5b52;
  padding: 14px;
}

.site-footer {
  background: #153942;
  color: #e8f3f1;
  margin-top: 18px;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  padding: 30px 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  color: #dbf4ef;
}

.social-icon-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(219, 244, 239, 0.35);
  border-radius: 999px;
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.copyright {
  padding: 10px 0 18px;
  border-top: 1px solid rgba(219, 244, 239, 0.25);
  font-size: 0.95rem;
}


@media (max-width: 920px) {
  .brand {
    max-width: calc(100% - 96px);
    gap: 8px;
    white-space: normal;
  }

  .logo-image {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
  }

  .logo {
    font-size: 1rem;
    line-height: 1.2;
  }

  .afc-grid,
  .cards,
  .grid-2,
  .member-benefits-row,
  .tier-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 62px;
    right: 4%;
    width: min(250px, 92vw);
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .nav-list.open {
    display: flex;
  }

  .contact-form-half {
    width: 100%;
  }

  .afc-title-center {
    white-space: normal;
  }
}
