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

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 30px 20px;
  background: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  margin-top: -100px; /* Overlap image slightly for visual interest */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  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%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Lighter part of Button gradient */
  border: 2px solid #2AD16F; /* Lighter part of Button gradient */
}

.page-faq__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6; /* Text Main */
}

.page-faq__btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
    border-radius: 25px;
}

/* FAQ Section */
.page-faq__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
}

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

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

.page-faq__sub-section-title {
  font-size: clamp(1.5em, 2.5vw, 2.2em);
  color: #F2FFF6; /* Text Main */
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-faq__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

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

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

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

.page-faq__faq-answer img {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-faq__image-inline {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px; /* Example max-width for content images */
    margin-left: auto;
    margin-right: auto;
}

/* CTA Bottom Section */
.page-faq__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F; /* Background */
}

.page-faq__cta-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-faq__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-faq__main-title {
    font-size: 2em;
  }

  .page-faq__description {
    font-size: 1em;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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__faq-section,
  .page-faq__cta-bottom-section {
    padding: 50px 0;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8em;
  }

  .page-faq__section-description,
  .page-faq__cta-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-faq__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .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__hero-section,
  .page-faq__faq-section,
  .page-faq__cta-bottom-section,
  .page-faq__hero-image-wrapper,
  .page-faq__hero-content,
  .page-faq__faq-list,
  .page-faq__faq-item,
  .page-faq__image-inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-content {
    margin-top: -40px;
  }
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.6em;
  }
  .page-faq__faq-question {
    padding: 12px 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px 12px 15px;
  }
}