:root {
  --navy: #073b68;
  --navy-dark: #042944;
  --blue: #0b74bb;
  --sky: #e9f6ff;
  --green: #2f8f46;
  --green-dark: #206634;
  --gold: #f6c445;
  --white: #ffffff;
  --gray-50: #f7fafc;
  --gray-100: #eef3f7;
  --gray-300: #c7d2de;
  --gray-600: #506174;
  --gray-900: #122334;
  --shadow: 0 18px 45px rgba(4, 41, 68, 0.15);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style-position: inside;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 59, 104, 0.1);
}

.top-bar {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(4, 41, 68, 0.2);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.brand-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  /* Centers Sam's face inside the small circle */
  object-position: center 22%;
}

.brand:hover .brand-mark {
  transform: scale(1.07);
  box-shadow: 0 9px 22px rgba(4, 41, 68, 0.27);
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: var(--gray-600);
  font-size: 0.78rem;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--green);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: 10px;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #153c5a 0%, #0f3450 55%, #163f5f 100%);
}

/* Centered hero photo layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/sam2.png");
  background-repeat: no-repeat;
  background-size: min(78vw, 900px) auto;
  background-position: center 55%;
  opacity: 0.23;
  z-index: 0;
}

/* Dark overlay for readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 41, 68, 0.82) 0%,
    rgba(4, 41, 68, 0.62) 40%,
    rgba(4, 41, 68, 0.48) 100%
  );
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
  padding: 90px 0;
}

.eyebrow {
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 780px;
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 30px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions,
.donation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.donation-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover,
.donation-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Cards */
.hero-card,
.highlight-box,
.info-card,
.campaign-form,
.priority-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gray-900);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.portrait-placeholder {
  min-height: 360px;
  border-radius: 16px;
  display: grid;
  place-items: end start;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 59, 104, 0.15), rgba(4, 41, 68, 0.55)),
    url("../images/sam2.png") center / cover no-repeat;
  overflow: hidden;
  position: relative;
}

.portrait-placeholder span {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.hero-card h2 {
  color: var(--navy);
  margin-top: 18px;
  font-size: 1.55rem;
}

.hero-card p {
  color: var(--green);
  font-weight: 900;
  margin-bottom: 12px;
}

.hero-card li {
  margin-top: 8px;
  color: var(--gray-600);
}

/* Navbar Donate button */

.nav-donate-button {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.5rem 1.15rem;
  white-space: nowrap;
  text-decoration: none;
}

.nav-donate-button:hover {
  transform: translateY(-2px);
}

/* Keep the navigation positioned between the logo and Donate button */

.nav-links {
  margin-left: auto;
}

/* Mobile navigation */

@media (max-width: 900px) {
  .nav-donate-button {
    margin-left: 0;
    margin-right: 0.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .nav-donate-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }
}

/* Meet Sam Section */

.meet-section {
  background: var(--white);
}

.meet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: stretch;
}

.meet-layout .section-copy {
  align-self: center;
}

.meet-visual {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.meet-photo-wrapper {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--navy-dark);
}

.meet-photo {
  width: 100%;
  height: 540px;
  display: block;
  object-fit: cover;
  object-position: center 32%;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.meet-photo-wrapper:hover .meet-photo {
  transform: scale(1.035);
  filter: brightness(0.94);
}

.meet-photo-wrapper figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(4, 41, 68, 0.85);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.meet-vision {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 24px 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.meet-vision .eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.meet-vision h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

@media (max-width: 920px) {
  .meet-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .meet-photo {
    height: 560px;
  }
}

@media (max-width: 640px) {
  .meet-photo {
    height: 460px;
    object-position: center 28%;
  }

  .meet-photo-wrapper figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .meet-vision {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/*Sam Speaking Img*/
.section-copy img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Priority Popup */

body.modal-open {
  overflow: hidden;
}

.priorities-intro {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.priority-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.priority-modal.open {
  visibility: visible;
  opacity: 1;
}

.priority-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 22, 37, 0.82);
  backdrop-filter: blur(7px);
}

.priority-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 38px;
  color: var(--gray-900);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.25s ease;
}

.priority-modal.open .priority-modal-panel {
  transform: translateY(0) scale(1);
}

.priority-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.priority-modal-close:hover {
  background: var(--green);
  transform: rotate(6deg);
}

.priority-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-right: 55px;
}

.priority-modal-number {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.priority-modal-header .eyebrow {
  margin-bottom: 8px;
  color: var(--green);
}

.priority-modal-header h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.priority-modal-description {
  margin: 26px 0;
  padding: 18px 20px;
  color: var(--navy);
  background: var(--sky);
  border-left: 5px solid var(--green);
  border-radius: 0 12px 12px 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.priority-modal-section {
  margin-top: 28px;
}

.priority-modal-section h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.2rem;
}

.priority-modal-section ul {
  padding-left: 22px;
  list-style-position: outside;
}

.priority-modal-section li {
  margin-bottom: 10px;
  color: var(--gray-600);
  line-height: 1.55;
}

.priority-modal-section li::marker {
  color: var(--green);
}

.priority-modal-callout {
  margin-top: 28px;
  padding: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--green));
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 640px) {
  .priority-modal {
    padding: 12px;
  }

  .priority-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 70px 22px 28px;
    border-radius: 18px;
  }

  .priority-modal-header {
    display: block;
    padding-right: 0;
  }

  .priority-modal-number {
    display: block;
    margin-bottom: 12px;
  }

  .priority-modal-close {
    top: 14px;
    right: 14px;
  }
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -60px;
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.action-card {
  position: relative;
  overflow: hidden;

  min-height: 160px;
  padding: 24px;

  color: var(--white);
  background: var(--navy);

  border-right: 1px solid rgba(255, 255, 255, 0.18);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.action-card:nth-child(even) {
  background: var(--green);
}

.action-card:hover {
  transform: translateY(-10px) scale(1.03);

  box-shadow: 0 22px 45px rgba(4, 41, 68, 0.22);

  z-index: 5;
}

/* Subtitle */
.action-card span {
  display: block;
  opacity: 0.8;
  font-size: 0.82rem;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Main title */
.action-card strong {
  display: block;
  margin: 10px 0;

  font-size: 1.2rem;
  line-height: 1.2;

  transition:
    transform 0.35s ease,
    letter-spacing 0.35s ease;
}

/* Bottom text */
.action-card em {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  opacity: 0.82;
  font-style: normal;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

/* Arrow */
.action-card em::after {
  content: "→";
  transition: transform 0.35s ease;
}

.action-card:hover span {
  opacity: 1;
  transform: translateY(-2px);
}

.action-card:hover strong {
  transform: translateX(4px);
  letter-spacing: 0.02em;
}

.action-card:hover em {
  opacity: 1;
  transform: translateX(6px);
}

.action-card:hover em::after {
  transform: translateX(6px);
}

.action-card:active {
  transform: scale(0.98);
}

.action-card span,
.action-card em {
  display: block;
  opacity: 0.82;
  font-style: normal;
  font-size: 0.85rem;
}

.action-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 10px 0;
}

/* General Sections */
.section {
  padding: 100px 0;
}

.two-column,
.contact-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.section-copy h2,
.section-heading h2,
.cta-copy h2,
.donation-strip h2 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.section-copy p,
.cta-copy p,
.donation-strip p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.03rem;
}

.highlight-box {
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: var(--white);
  padding: 36px;
}

.highlight-box h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.highlight-box p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Priorities */
.dark-section {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(47, 143, 70, 0.35),
      transparent 30%
    ),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.dark-section .section-heading h2 {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.priority-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- Priority Cards ---------- */

.priority-card {
  position: relative;
  overflow: hidden;

  width: 100%;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 1.4rem;
  min-height: 100px;

  text-align: left;

  background: rgba(255, 255, 255, 0.97);
  border: none;
  border-top: 6px solid var(--green);
  border-radius: var(--radius);

  box-shadow: var(--shadow);

  cursor: pointer;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

/* Animated gold accent */
.priority-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--navy), var(--green));

  transition: left 0.45s ease;
}

/* Hover */
.priority-card:hover {
  transform: translateY(-12px) scale(1.03);

  box-shadow:
    0 24px 60px rgba(4, 41, 68, 0.18),
    0 12px 30px rgba(27, 152, 84, 0.15);

  border-top-color: var(--navy);
}

/* Slide the accent across */
.priority-card:hover::before {
  left: 0;
}

/* Number animation */
.priority-card span {
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.priority-card:hover span {
  transform: scale(1.15);
  color: var(--navy);
}

/* Title animation */
.priority-card h3 {
  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.priority-card:hover h3 {
  color: var(--green);
  transform: translateX(4px);
}

/* Description animation */
.priority-card p {
  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.priority-card:hover p {
  color: var(--gray-700);
  transform: translateY(-2px);
}

/* Click animation */
.priority-card:active {
  transform: scale(0.98) translateY(-4px);
}

/* Keyboard accessibility */
.priority-card:focus-visible {
  outline: 4px solid rgba(246, 196, 69, 0.45);
  outline-offset: 5px;
}

.priority-card span {
  color: var(--green);
  font-size: 2.2rem;
  font-weight: 900;
}

.priority-card h3,
.info-card h3 {
  color: var(--navy);
  margin: 10px 0;
  font-size: 1.25rem;
}

.priority-card p,
.info-card li {
  color: var(--gray-600);
}

.priority-card ul,
.info-card ul {
  margin-top: 14px;
}

.priority-card li,
.info-card li {
  margin-top: 8px;
}

/* Center the last priority card */

.priority-grid .priority-card:last-child {
  grid-column: 2;
}

@media (max-width: 920px) {
  .priority-grid .priority-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .priority-grid .priority-card:last-child {
    grid-column: auto;
  }
}

/* Info Cards */
.info-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.story-section {
  background: var(--sky);
}

/* Volunteer Section */
.split-cta {
  background: var(--gray-50);
}

.volunteer-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

.volunteer-heading {
  max-width: 760px;
  text-align: center;
}

.volunteer-heading h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.volunteer-heading p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.volunteer-heading .eyebrow {
  margin-bottom: 12px;
}

/* Forms */
.campaign-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.campaign-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

.campaign-form input,
.campaign-form select,
.campaign-form textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--gray-900);
  background: var(--white);
}

.campaign-form input:focus,
.campaign-form select:focus,
.campaign-form textarea:focus {
  outline: 3px solid rgba(47, 143, 70, 0.2);
  border-color: var(--green);
}

/* Horizontal Volunteer Form */
.volunteer-form {
  width: min(100%, 1050px);
  height: 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
}

.volunteer-form label:has(textarea) {
  grid-column: 1 / -1;
}

.volunteer-form button {
  grid-column: 1 / -1;
  width: min(260px, 100%);
  justify-self: center;
}

.volunteer-form .form-message {
  grid-column: 1 / -1;
  text-align: center;
}

.form-message {
  font-weight: 800;
  color: var(--green);
  min-height: 24px;
}

.form-message.error {
  color: #c62828;
}

.campaign-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Donation Strip */
.donation-strip {
  padding: 84px 0;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 59, 104, 0.96), rgba(47, 143, 70, 0.92)),
    url("../images/sam2.png") center top / cover no-repeat;
}

.donation-strip h2,
.donation-strip p {
  color: var(--white);
}

.donation-buttons {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.donation-buttons .btn {
  min-width: 220px;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 800;
}

/* Contact */
.contact-list {
  margin-top: 22px;
  padding: 20px;
  border-left: 6px solid var(--green);
  background: var(--gray-50);
  border-radius: 0 14px 14px 0;
}

.contact-list p {
  margin: 6px 0;
}

.contact-list .email a:hover {
  color: var(--navy-dark);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy-dark);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--navy);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 1001;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero::before {
    background-size: min(88vw, 760px) auto;
    background-position: center 58%;
    opacity: 0.2;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
  }

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

  .nav-links a {
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-size: min(110vw, 700px) auto;
    background-position: center 120px;
    opacity: 0.18;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(4, 41, 68, 0.88) 0%,
      rgba(4, 41, 68, 0.75) 45%,
      rgba(4, 41, 68, 0.9) 100%
    );
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 72px 0 56px;
  }

  .two-column,
  .contact-grid,
  .cta-grid,
  .reverse {
    grid-template-columns: 1fr;
  }

  .quick-actions,
  .priority-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .volunteer-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .volunteer-form label:has(textarea),
  .volunteer-form button,
  .volunteer-form .form-message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container,
  .quick-actions {
    width: min(100% - 28px, 1120px);
  }

  .quick-actions,
  .priority-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    margin-top: -30px;
  }

  .hero::before {
    background-size: 135vw auto;
    background-position: center 90px;
    opacity: 0.16;
  }

  .hero-grid {
    padding: 56px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
    line-height: 0.95;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .section {
    padding: 70px 0;
  }

  .portrait-placeholder {
    min-height: 260px;
  }

  .volunteer-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero::before {
    background-size: 150vw auto;
    background-position: center 100px;
    opacity: 0.15;
  }
}
