/* style/faq.css */
.page-faq {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

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

.page-faq__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-faq__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-faq__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border color with opacity */
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-faq__faq-item {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.3); /* Glow */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15rem;
  color: #F2FFF6; /* Text Main */
  position: relative;
}

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

.page-faq__faq-question::marker {
  display: none;
}

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

.page-faq__faq-toggle {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg); /* Change + to X visually */
}

.page-faq__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 15px;
}

.page-faq__cta-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-faq__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.5rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

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

/* --- Responsive Styles --- */

/* Desktop (default) */
@media (min-width: 1025px) {
  .page-faq__hero-content {
    padding: 40px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 50px 20px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-faq__intro-text {
    font-size: 1rem;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .page-faq__faq-question {
    font-size: 1.1rem;
  }
  .page-faq__faq-answer {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-faq__intro-text {
    font-size: 0.95rem;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px 15px 15px;
    font-size: 0.9rem;
  }

  /* Mobile responsive for images */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* No padding-left/right here to keep border consistent */
  }
  .page-faq__cta-section {
    padding: 60px 15px;
  }
}

/* Mobile responsive for video (if any) - not present in this FAQ page, but for completeness */
/*
@media (max-width: 768px) {
  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-faq__video-section {
    padding-top: 10px !important;
  }
}
*/