.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Default light background for body */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark backgrounds */
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Main text color */
}

.page-faq__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #F2FFF6; /* Default for dark sections */
}

.page-faq__section-title:not(.page-faq__dark-bg .page-faq__section-title) {
  color: #0A4B2C; /* Deep Green for light sections */
}

.page-faq__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-faq__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
}

.page-faq__image-in-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
}

/* FAQ Section */
.page-faq__faq-section {
  padding: 60px 0;
}

.page-faq__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-faq__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main for card */
}

.page-faq__faq-section.page-faq__light-bg .page-faq__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-faq__faq-section.page-faq__light-bg .page-faq__faq-question {
  color: #0A4B2C; /* Deep Green for light background questions */
}

.page-faq__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter border color for hover */
}

.page-faq__faq-section.page-faq__light-bg .page-faq__faq-question:hover {
  background-color: #f0f0f0;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow color */
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign */
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8; /* Secondary text color */
}

.page-faq__faq-section.page-faq__light-bg .page-faq__faq-answer {
  color: #333333; /* Default text for light background answers */
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 10px;
}

.page-faq__faq-answer li {
  margin-bottom: 5px;
}

/* Buttons */
.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__cta-button,
.page-faq__final-cta {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-faq__btn-primary,
.page-faq__hero-cta,
.page-faq__final-cta {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-faq__btn-primary:hover,
.page-faq__hero-cta:hover,
.page-faq__final-cta:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #11A84E; /* Primary color for text */
  border: 2px solid #11A84E;
}

.page-faq__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
}

.page-faq__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #08160F;
  color: #F2FFF6;
}

.page-faq__final-cta {
  margin-top: 30px;
  min-width: 250px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 0 15px;
  }

  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-faq__hero-description {
    font-size: 1rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 20px;
  }

  .page-faq__faq-item,
  .page-faq__faq-question,
  .page-faq__faq-answer,
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__faq-section,
  .page-faq__cta-section,
  .page-faq__hero-image-wrapper,
  .page-faq__image-full-width,
  .page-faq__image-in-content,
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__cta-button,
  .page-faq__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-faq__hero-image,
  .page-faq__image-full-width,
  .page-faq__image-in-content {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__cta-button,
  .page-faq__final-cta {
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    margin-bottom: 10px;
  }

  .page-faq__hero-content .page-faq__hero-cta {
    margin-top: 20px;
  }

  .page-faq__cta-section .page-faq__btn-primary {
    margin-top: 20px;
  }
}