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

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding */
  box-sizing: border-box;
  background-color: #08160F; /* Match body background */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4); /* Glow color */
}

.page-faq__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Main color from gradient */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-faq__btn-secondary:hover {
  background: #2E7A4E; /* Border color on hover */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

.page-faq__introduction-section,
.page-faq__faq-list-section,
.page-faq__cta-section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  box-sizing: border-box;
}

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

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

.page-faq__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-faq__faq-category {
  margin-bottom: 50px;
}

.page-faq__category-title {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: #2AD16F; /* From button gradient */
  margin-bottom: 30px;
  text-align: center;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background: #11271B; /* Card BG */
  user-select: none; /* Prevent text selection on click */
}

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

.page-faq__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  margin-left: 20px;
  color: #57E38D; /* Glow */
}

/* For details tag, hide default marker */
.page-faq__faq-item summary {
  list-style: none;
}
.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px; /* Arbitrarily large value for smooth transition */
  padding-top: 15px;
}

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

.page-faq__faq-answer .page-faq__btn-secondary {
  margin-top: 10px;
  display: inline-block;
  font-size: 0.95rem;
  padding: 10px 20px;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 15px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-faq__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-faq__cta-title {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  }
  .page-faq__category-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
  }
  .page-faq__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body already has padding-top for header */
  }
  .page-faq__hero-content {
    margin-top: 20px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-faq__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__btn-primary {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    padding: 30px 15px;
  }
  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }
  .page-faq__section-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-faq__category-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin-bottom: 20px;
  }
  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-faq__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px 20px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding-top: 10px;
  }
  .page-faq__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }
  /* Ensure all image containers are responsive */
  .page-faq__hero-image-wrapper,
  .page-faq__faq-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-faq__cta-section {
    padding: 50px 15px;
  }
  .page-faq__cta-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-faq__cta-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
}