
/* ========================================
   AGRANOVO - GET INVOLVED PAGE
   Matches home/about design system
======================================== */

/* MAIN BACKGROUND */

.involved-page {
  min-height: 100vh;

  background-image:
    linear-gradient(
      rgba(248, 246, 240, 0.87),
      rgba(248, 246, 240, 0.78)
    ),
    url("hero.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #2f3f37;
}

/* MAIN CONTAINER */

.involved-content {
  width: min(1000px, 92%);
  margin: 0 auto;

  padding: 155px 0 85px;
}

/* ========================================
   INTRODUCTION / HERO
======================================== */

.involved-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 50px;
}

.involved-eyebrow {
  display: inline-block;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;

  color: #3f5a3c;

  margin-bottom: 18px;
}

.involved-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.15;

  color: #2f3f37;
  letter-spacing: 0.2px;
}

.involved-divider {
  width: 95px;
  height: 2px;

  margin: 24px auto;

  background: rgba(47, 63, 55, 0.35);
  border-radius: 999px;
}

.involved-hero p {
  max-width: 740px;
  margin: 0 auto;

  font-size: 18px;
  line-height: 1.85;

  color: rgba(47, 63, 55, 0.85);
}

/* ========================================
   GLASS FORM CARD
======================================== */

.involved-form-card {
  max-width: 720px;
  margin: 0 auto;

  background: rgba(255, 255, 255, 0.78);

  border: 1px solid rgba(120, 120, 120, 0.16);
  border-radius: 16px;

  padding: 48px 52px;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.10);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

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

.involved-form-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.12);

  border-color: rgba(47, 93, 80, 0.30);
}

/* FORM HEADER */

.form-heading {
  text-align: center;
  margin-bottom: 34px;
}

.form-heading h2 {
  font-size: 34px;
  font-weight: 600;
  color: #2f3f37;
  margin-bottom: 8px;
}

.form-heading p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(47, 63, 55, 0.75);
}

/* ========================================
   FORM FIELDS
======================================== */

.form-field {
  margin-bottom: 25px;
}

.form-field label {
  display: block;

  font-size: 15px;
  font-weight: 600;

  color: #2f3f37;

  margin-bottom: 9px;
}

.required {
  color: #a55b48;
}

/* INPUTS, SELECT, TEXTAREA */

.form-field input,
.form-field select,
.form-field textarea {
  display: block;

  width: 100%;

  padding: 14px 16px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;

  color: #2f3f37;

  background: rgba(248, 246, 240, 0.75);

  border: 1px solid rgba(47, 63, 55, 0.22);
  border-radius: 9px;

  outline: none;

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(47, 63, 55, 0.48);
}

/* FOCUS STATES */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #3f5a3c;

  background: rgba(255, 255, 255, 0.95);

  box-shadow:
    0 0 0 3px rgba(63, 90, 60, 0.12);
}

/* SELECT */

.form-field select {
  cursor: pointer;
  min-height: 51px;
}

/* TEXTAREA */

.form-field textarea {
  min-height: 145px;
  resize: vertical;
  line-height: 1.7;
}

/* HONEYPOT */

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========================================
   PRIVACY + FORM NOTES
======================================== */

.form-privacy {
  font-size: 13px;
  line-height: 1.7;

  color: rgba(47, 63, 55, 0.73);

  margin: 4px 0 22px;
}

.form-note {
  font-size: 12px;
  text-align: center;
  line-height: 1.7;

  color: rgba(47, 63, 55, 0.65);

  margin-top: 15px;
}

/* ========================================
   SUBMIT BUTTON
======================================== */

.involved-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  width: 100%;

  padding: 16px 24px;

  border: none;
  border-radius: 10px;

  background: #3f5a3c;
  color: white;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;

  cursor: pointer;

  box-shadow:
    0 14px 25px rgba(0, 0, 0, 0.14);

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

.involved-submit span {
  display: inline-block;
  font-size: 21px;
  transition: transform 0.25s ease;
}

.involved-submit:hover {
  background: #2f4a32;

  transform: translateY(-3px);

  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.18);
}

.involved-submit:hover span {
  transform: translateX(5px);
}

.involved-submit:focus-visible {
  outline: 3px solid #719b7c;
  outline-offset: 4px;
}

/* ========================================
   BOTTOM MESSAGE
======================================== */

.involved-bottom {
  text-align: center;

  max-width: 760px;
  margin: 85px auto 0;
}

.involved-bottom h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  font-style: italic;

  color: #2f3f37;

  margin-bottom: 15px;
}

.involved-bottom p {
  max-width: 650px;
  margin: 0 auto 22px;

  font-size: 17px;
  line-height: 1.8;

  color: rgba(47, 63, 55, 0.85);
}

.involved-text-link {
  display: inline-block;

  text-decoration: none;
  font-size: 16px;
  font-weight: 600;

  color: #3f5a3c;

  border-bottom: 1px solid rgba(63, 90, 60, 0.35);

  padding-bottom: 5px;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.involved-text-link:hover {
  color: #243f2b;
  border-color: #243f2b;
}

/* ========================================
   FOOTER
======================================== */

.involved-footer {
  text-align: center;

  padding: 0 24px 38px;
}

.involved-footer-line {
  width: min(700px, 85%);
  height: 1px;

  background: rgba(47, 63, 55, 0.18);

  margin: 0 auto 24px;
}

.involved-footer p {
  font-size: 13px;
  color: rgba(47, 63, 55, 0.7);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 920px) {
  .involved-content {
    width: min(800px, 92%);
  }

  .involved-form-card {
    padding: 38px 34px;
  }
}

@media (max-width: 650px) {

  /* Mobile navbar */
  .navbar {
    position: relative;
    height: auto;
    min-height: 82px;
    padding: 12px 16px;

    flex-direction: column;
    gap: 8px;
  }

  .navbar .logo img {
    max-height: 95px;
    max-width: 180px;
    object-fit: contain;
  }

  .nav-right {
    justify-content: center;
    gap: 12px;
  }

  .nav-right a {
    font-size: 13px;
  }

  .nav-cta {
    padding: 8px 12px;
  }

  /* Page spacing */
  .involved-content {
    padding: 55px 0 60px;
    width: 92%;
  }

  .involved-hero {
    margin-bottom: 35px;
  }

  .involved-hero h1 {
    font-size: 38px;
  }

  .involved-hero p {
    font-size: 16px;
  }

  /* Form */
  .involved-form-card {
    padding: 30px 22px;
  }

  .form-heading h2 {
    font-size: 28px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .involved-bottom {
    margin-top: 65px;
  }

  .involved-bottom p {
    font-size: 15px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .involved-form-card,
  .involved-submit,
  .involved-submit span,
  .involved-text-link {
    transition: none;
  }

  .involved-form-card:hover,
  .involved-submit:hover {
    transform: none;
  }
}
