/* ===== CTA BANNER SECTION ===== */
.cta-banner-section {
  position: relative;
  padding: 169px 0;
  background-color: #2d4a35;

  /* Placeholder — replace with image later */

  /* Uncomment when image is ready: */
  background-image: url("../../images/cta-forest.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== DARK OVERLAY ===== */
.cta-overlay {
  position: absolute;
  inset: 0; /* top, right, bottom, left = 0 */
  background-color: rgba(24, 28, 32, 0.4);
  z-index: 1;
}

/* ===== CONTENT (above overlay) ===== */
.cta-content {
  position: relative;
  z-index: 2; /* Above overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* ===== HEADING ===== */
.cta-heading {
  font-size: 48px;
  line-height: 125%;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 24px 0; /* 24px gap to description */
}

/* ===== DESCRIPTION ===== */
.cta-desc {
  font-size: 18px;
  line-height: 150%;
  color: #ffffff;
  margin: 0 0 40px 0; /* 40px gap to buttons */
}

/* ===== BUTTONS ROW ===== */
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BASE BUTTON STYLES ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 21px 48px;
  border: 2px solid #ffffff;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* ===== BUTTON 1: Filled by default ===== */
/* Default: white bg, green text */
.cta-btn-filled {
  background-color: #ffffff;
  color: #006e25;
  border-color: #ffffff;
}

/* Hover: transparent bg, white text (swaps to outlined look) */
.cta-btn-filled:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* ===== BUTTON 2: Outlined by default ===== */
/* Default: transparent bg, white text */
.cta-btn-outlined {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* Hover: white bg, green text (swaps to filled look) */
.cta-btn-outlined:hover {
  background-color: #ffffff;
  color: #006e25;
  border-color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .cta-banner-section {
    padding: 120px 0;
  }

  .cta-heading {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .cta-banner-section {
    padding: 96px 0;
  }

  .cta-heading {
    font-size: 32px;
  }

  .cta-desc {
    font-size: 16px;
  }

  .cta-btn {
    padding: 16px 36px;
    font-size: 0.95rem;
  }

  .cta-content {
    max-width: 100%;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .cta-banner-section {
    padding: 72px 0;
  }

  .cta-heading {
    font-size: 26px;
  }

  .cta-desc {
    font-size: 15px;
  }

  .cta-buttons {
    flex-direction: column; /* Stack buttons on mobile */
    width: 100%;
    gap: 12px;
  }

  .cta-btn {
    width: 100%;
    padding: 16px 24px;
    justify-content: center;
  }
}
