.page-faq {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F2FFF6); /* Default to Text Main */
  background-color: var(--background, #08160F); /* Default to Background */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
  text-align: center;
  position: relative;
  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 {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

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

.page-faq__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  margin-right: 15px;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-faq__btn-secondary:hover {
  background: var(--deep-green, #0A4B2C);
  color: #ffffff;
}

.page-faq__content-area,
.page-faq__section,
.page-faq__cta-section {
  padding: 60px 20px;
}

.page-faq__content-area.page-faq__light-bg {
  background-color: #ffffff; /* Explicitly set for contrast */
  color: #333333; /* Dark text for light background */
}

.page-faq__section.page-faq__dark-section {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

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

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

.page-faq__section-title,
.page-faq__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit from section for contrast */
}

.page-faq__paragraph,
.page-faq__cta-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-faq__faq-item {
  background-color: var(--background, #08160F);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important; /* Ensure content is fully visible */
  padding-bottom: 20px;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  color: var(--text-main, #F2FFF6);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq__faq-question:hover {
  background-color: var(--main-color, #11A84E);
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-faq__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: var(--text-secondary, #A7D9B8);
}

.page-faq__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-faq__text-link {
  color: var(--gold, #F2C14E);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-faq__text-link:hover {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

.page-faq__image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-faq__cta-section {
  text-align: center;
  background-color: #ffffff; /* Explicitly set for contrast */
  color: #333333; /* Dark text for light background */
  padding-bottom: 80px;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-faq__section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }

  .page-faq__section:nth-of-type(even) {
    flex-direction: row-reverse; /* Alternate image/text layout */
  }

  .page-faq__section .page-faq__image-wrapper,
  .page-faq__section .page-faq__faq-list {
    flex: 1;
  }

  .page-faq__image-wrapper--left {
    margin-right: 40px;
    margin-left: 0;
  }

  .page-faq__faq-list--right {
    margin-left: 40px;
    margin-right: 0;
  }

  .page-faq__hero-section {
    flex-direction: column;
  }
  .page-faq__hero-image-wrapper {
    order: 1;
    margin-bottom: 0;
  }
  .page-faq__hero-content {
    order: 2;
    padding-top: 40px; /* Space between image and text */
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__content-area,
  .page-faq__section,
  .page-faq__cta-section {
    padding: 30px 15px;
  }

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

  .page-faq__paragraph,
  .page-faq__cta-description {
    font-size: 0.95rem;
  }

  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-faq__faq-answer p {
    font-size: 0.9rem;
  }

  .page-faq img,
  .page-faq__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-faq__image-wrapper,
  .page-faq__hero-image-wrapper,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-faq__image-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}