/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #7ec19f;
  text-shadow: none;
}

::selection {
  background: #7ec19f;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #e5d9c9;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #3d3d3d;
  background-color: #fcf3e8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, #1f7744 0%, #186337 100%);
  color: #fcf3e8;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Hero Section */
.hero {
  background: #fcf3e8;
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid #e5d9c9;
}

.hero h2 {
  font-size: 2.2rem;
  color: #3d3d3d;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.lead {
  font-size: 1.25rem;
  color: #5a5550;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Signature Counter */
.signature-counter {
  max-width: 600px;
  margin: 2.5rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5d9c9;
}

.counter-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.counter-numbers {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.counter-current {
  font-size: 3rem;
  font-weight: 700;
  color: #1f7744;
  line-height: 1;
}

.counter-separator {
  font-size: 2rem;
  color: #5a5550;
  font-weight: 300;
}

.counter-target {
  font-size: 2rem;
  font-weight: 600;
  color: #5a5550;
  line-height: 1;
}

.counter-label {
  font-size: 1.1rem;
  color: #5a5550;
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 24px;
  background: #f5ede0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1f7744 0%, #4272b7 100%);
  border-radius: 12px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
  position: relative;
  box-shadow: 0 2px 4px rgba(31, 119, 68, 0.3);
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.counter-date {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #7a756d;
  font-style: italic;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #1f7744 0%, #186337 100%);
  color: #fcf3e8;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(31, 119, 68, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(31, 119, 68, 0.4);
}

/* About Section */
.about {
  padding: 4rem 0;
  background: #f5ede0;
}

.about h2,
.why h2,
.signatures h2,
.contact h2 {
  font-size: 2rem;
  color: #3d3d3d;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
  color: #3d3d3d;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
  font-family: inherit;
}

.faq-question:hover {
  background-color: #f9f8f6;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #1f7744;
  font-weight: 400;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e5d9c9;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card h3 {
  font-size: 1.4rem;
  color: #3d3d3d;
  margin-bottom: 1rem;
}

.card p {
  color: #5a5550;
  line-height: 1.7;
}

/* Area Map Section */
.area-map {
  padding: 4rem 0;
  background: #fef9f3;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.area-map-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
  border: 2px solid #e5d9c9;
}

.map-description {
  font-size: 1.1rem;
  color: #5a5550;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Why Section */
.why {
  padding: 4rem 0;
  background: #fcf3e8;
}

.benefits {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.benefits li {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  background: #f5ede0;
  border-left: 4px solid #1f7744;
  border-radius: 4px;
  font-size: 1.1rem;
  color: #3d3d3d;
  transition: transform 0.2s;
}

.benefits li:hover {
  transform: translateX(4px);
}

/* Info Box */
.info-box {
  max-width: 700px;
  margin: 2rem auto 0;
  padding: 0;
  text-align: center;
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #7a756d;
  line-height: 1.6;
  font-style: italic;
}

.info-box a {
  color: #1f7744;
  text-decoration: none;
  transition: color 0.2s;
}

.info-box a:hover {
  color: #186337;
  text-decoration: underline;
}

/* Signatures Section */
.signatures {
  padding: 4rem 0;
  background: #f5ede0;
}

.signature-locations {
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #1f7744;
}

.signature-locations h3 {
  font-size: 1.5rem;
  color: #3d3d3d;
  margin-bottom: 0.5rem;
  text-align: center;
}

.locations-subtitle {
  text-align: center;
  color: #5a5550;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.signature-locations ul {
  list-style: none;
  padding: 1rem;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
  background: #fcf3e8;
  border-radius: 8px;
  border: 1px solid #e5d9c9;
}

.signature-locations ul::-webkit-scrollbar {
  width: 8px;
}

.signature-locations ul::-webkit-scrollbar-track {
  background: #f5ede0;
  border-radius: 4px;
}

.signature-locations ul::-webkit-scrollbar-thumb {
  background: #1f7744;
  border-radius: 4px;
}

.signature-locations ul::-webkit-scrollbar-thumb:hover {
  background: #186337;
}

.signature-locations li {
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  color: #3d3d3d;
  border-bottom: 1px solid #f5ede0;
  transition: background-color 0.2s;
}

.signature-locations li:hover {
  background-color: #fef9f3;
}

.signature-locations li:last-child {
  border-bottom: none;
}

.signature-locations strong {
  color: #1f7744;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5d9c9;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4272b7 0%, #2f5a9e 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step h3 {
  font-size: 1.3rem;
  color: #3d3d3d;
  margin-bottom: 1rem;
}

.step p {
  color: #5a5550;
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
  background: #f5ede0;
}

.faq h2 {
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.container > h2 {
  margin-bottom: 3rem;
}

.faq-item {
  background: #ffffff;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5d9c9;
  transition: box-shadow 0.2s;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: #3d3d3d;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
  font-family: inherit;
}

.faq-question:hover {
  background-color: #fef9f3;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #1f7744;
  font-weight: 400;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease;
  padding: 0 2rem;
  opacity: 0;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  opacity: 1;
}

.faq-answer p {
  color: #5a5550;
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0 0 0.5rem 0;
}

/* Download Section */
.download-section {
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #1f7744;
}

.download-section h3 {
  font-size: 1.5rem;
  color: #3d3d3d;
  margin-bottom: 1rem;
}

.download-section p {
  font-size: 1.05rem;
  color: #5a5550;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1f7744 0%, #186337 100%);
  color: #fcf3e8;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(31, 119, 68, 0.3);
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(31, 119, 68, 0.4);
}

.download-button svg {
  flex-shrink: 0;
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 0;
  background: #fef9f3;
  text-align: center;
}

.newsletter-intro {
  font-size: 1.1rem;
  color: #5a5550;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

#newsletter-success-message {
  display: none;
  color: #1f7744;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group input[type="email"] {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid #e5d9c9;
  border-radius: 8px;
  background: #fcf3e8;
  color: #3d3d3d;
  font-family: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-group input[type="email"]:focus {
  outline: none;
  border-color: #1f7744;
  background: #ffffff;
}

.form-group input[type="email"]::placeholder {
  color: #7a756d;
}

.submit-button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1f7744 0%, #186337 100%);
  color: #fcf3e8;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(31, 119, 68, 0.3);
  font-family: inherit;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(31, 119, 68, 0.4);
}

.submit-button:active {
  transform: translateY(0);
}

.form-note {
  font-size: 0.9rem;
  color: #7a756d;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background: #f5ede0;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #3d3d3d;
}

.contact-info a {
  color: #1f7744;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: #186337;
  text-decoration: underline;
}

.note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #7a756d;
  font-style: italic;
}

/* Footer */
.footer {
  background: #186337;
  color: #fcf3e8;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .signature-counter {
    padding: 1.5rem;
    margin: 2rem auto;
  }

  .counter-current {
    font-size: 2.5rem;
  }

  .counter-separator {
    font-size: 1.75rem;
  }

  .counter-target {
    font-size: 1.75rem;
  }

  .counter-label {
    font-size: 1rem;
  }

  .progress-bar {
    height: 20px;
  }

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .form-group {
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

