.main-nav a.active {
  position: relative;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: #c99522;
  transform: scaleX(1);
}

.gi-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #ffffff;
  background: #04162c;
}

.gi-hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 62%;
  background-image: url("assets/GI-hero.PNG");
  background-size: cover;
  background-position: center center;
}

.gi-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(4, 22, 44, 0.98) 0%,
      rgba(4, 22, 44, 0.92) 39%,
      rgba(4, 22, 44, 0.48) 62%,
      rgba(4, 22, 44, 0.04) 90%
    );
}

.gi-hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: 84px clamp(24px, 5.5vw, 76px) 140px;
}

.gi-kicker {
  margin: 0 0 18px;
  color: #c99522;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gi-hero h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.gi-hero h1 span {
  display: block;
  color: #c99522;
}

.gi-hero-content p:not(.gi-kicker) {
  max-width: 515px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.48;
  font-weight: 650;
}

.gi-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: 118px;
  pointer-events: none;
}

.gi-curve svg {
  width: 100%;
  height: 100%;
}

.curve-gold {
  fill: #c99522;
}

.curve-white {
  fill: #ffffff;
}

.volunteer-section {
  position: relative;
  z-index: 5;
  padding: 22px clamp(24px, 12vw, 220px) 34px;
  background: #ffffff;
}

.volunteer-heading {
  text-align: center;
  margin-bottom: 24px;
}

.volunteer-heading h2 {
  margin: 0 0 8px;
  color: #071d38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.volunteer-heading p {
  margin: 0;
  color: #263246;
  font-size: 16px;
  line-height: 1.5;
}

.volunteer-form {
  display: grid;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.volunteer-form label {
  display: grid;
  gap: 8px;
}

.volunteer-form label span {
  color: #071d38;
  font-size: 13px;
  font-weight: 900;
}

.volunteer-form label em {
  color: #4a5565;
  font-style: normal;
  font-weight: 700;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  width: 100%;
  border: 1px solid rgba(7, 29, 56, 0.28);
  border-radius: 3px;
  color: #101827;
  background: #ffffff;
  font: inherit;
  outline: none;
}

.volunteer-form input,
.volunteer-form select {
  min-height: 48px;
  padding: 0 16px;
}

.volunteer-form textarea {
  min-height: 86px;
  padding: 14px 16px;
  resize: vertical;
}

.volunteer-form input:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
  border-color: #c99522;
  box-shadow: 0 0 0 3px rgba(201, 149, 34, 0.16);
}

.volunteer-form button {
  justify-self: center;
  min-width: 315px;
  min-height: 50px;
  padding: 14px 26px;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: linear-gradient(135deg, #d8aa3b, #c99522);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(201, 149, 34, 0.22);
}

.secure-note {
  margin: 0;
  color: #071d38;
  font-size: 13px;
  text-align: center;
}

.secure-note::before {
  content: "◈";
  margin-right: 8px;
  color: #071d38;
}

.gi-newsletter {
  display: grid;
  grid-template-columns: 82px minmax(280px, 1fr) minmax(360px, 0.95fr);
  gap: 26px;
  align-items: center;
  margin: 0 clamp(18px, 2vw, 24px) 16px;
  padding: 34px clamp(24px, 6vw, 78px);
  color: #ffffff;
  background:
    radial-gradient(circle at 0% 50%, rgba(201, 149, 34, 0.12), transparent 32%),
    linear-gradient(135deg, #04162c, #071d38);
  border-radius: 8px;
}

.newsletter-icon svg {
  width: 68px;
  height: 68px;
  stroke: #c99522;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gi-newsletter h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
}

.gi-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 16px;
  line-height: 1.45;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 150px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.newsletter-form input {
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  color: #101827;
  background: #ffffff;
  font: inherit;
  outline: none;
}

.newsletter-form button {
  min-height: 56px;
  cursor: pointer;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #d8aa3b, #c99522);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gi-footer {
  margin: 0 clamp(18px, 2vw, 24px) 0;
  overflow: hidden;
  color: #ffffff;
  background: #04162c;
  border-radius: 8px 8px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(120px, 0.55fr) minmax(180px, 0.8fr) minmax(140px, 0.65fr) minmax(220px, 1fr);
  gap: 34px;
  padding: 42px clamp(24px, 5vw, 54px);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 149, 34, 0.12), transparent 32%),
    linear-gradient(135deg, #04162c, #071d38);
}

.footer-brand-block img {
  width: 190px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand-block p {
  max-width: 270px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

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

.social-links a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #04162c;
  background: #c99522;
  border-radius: 50%;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.footer-column,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 11px;
  font-style: normal;
}

.footer-column h2,
.footer-contact h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a,
.footer-contact a,
.footer-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact span {
  margin-right: 9px;
  color: #c99522;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(24px, 5vw, 54px);
  background: #031224;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.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;
}

@media (max-width: 1080px) {
  .gi-hero-photo {
    width: 72%;
  }

  .gi-newsletter,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    max-width: 620px;
  }

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

@media (max-width: 760px) {
  .gi-hero {
    min-height: auto;
  }

  .gi-hero-photo {
    width: 100%;
    opacity: 0.38;
  }

  .gi-hero-overlay {
    background: rgba(4, 22, 44, 0.82);
  }

  .gi-hero-content {
    max-width: none;
    padding: 64px 24px 126px;
  }

  .gi-hero h1 {
    font-size: 52px;
  }

  .volunteer-section {
    padding: 18px 24px 32px;
  }

  .form-row,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .volunteer-form button {
    width: 100%;
    min-width: 0;
  }

  .gi-newsletter {
    grid-template-columns: 1fr;
    margin: 0 18px 14px;
    padding: 30px 24px;
  }

  .newsletter-form input {
    border-radius: 4px 4px 0 0;
  }

  .newsletter-form button {
    border-radius: 0 0 4px 4px;
  }

  .gi-footer {
    margin: 0 18px;
  }

  .footer-top {
    padding: 34px 24px;
  }

  .footer-bottom {
    padding: 18px 24px;
  }
}
.volunteer-stage {
  max-width: 980px;
  margin: 0 auto;
}

.volunteer-form-panel {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.volunteer-section.is-transitioning .volunteer-form-panel {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.volunteer-section.is-submitted .volunteer-form-panel {
  display: none;
}

.volunteer-confirmation {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 0 34px;
  text-align: center;
  color: #071d38;
}

.volunteer-section.is-submitted .volunteer-confirmation {
  display: block;
  animation: confirmationFadeIn 420ms ease both;
}

.confirmation-icon {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin: 0 auto 28px;
  border: 4px solid #c99522;
  border-radius: 50%;
}

.confirmation-icon svg {
  width: 62px;
  height: 62px;
  stroke: #071d38;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.volunteer-confirmation h2 {
  margin: 0;
  color: #071d38;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.confirmation-line {
  width: 86px;
  height: 3px;
  margin: 24px auto 24px;
  background: #c99522;
}

.volunteer-confirmation p {
  max-width: 610px;
  margin: 0 auto 18px;
  color: #071d38;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.confirmation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 58px;
  margin-top: 22px;
  padding: 16px 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #d8aa3b, #c99522);
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(201, 149, 34, 0.22);
}

.confirmation-button:hover,
.confirmation-button:focus-visible {
  transform: translateY(-1px);
}

@keyframes confirmationFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .confirmation-icon {
    width: 96px;
    height: 96px;
  }

  .confirmation-icon svg {
    width: 52px;
    height: 52px;
  }

  .confirmation-button {
    width: 100%;
    min-width: 0;
  }
}
