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

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  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: 80px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F; /* Ensure dark background for hero */
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-faq__hero-content {
  max-width: 900px;
  z-index: 1;
}

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

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

.page-faq__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-faq__intro-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green for contrast */
  color: #F2FFF6; /* Text Main */
}

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

.page-faq__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

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

.page-faq__group-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  border-bottom: 2px solid #2E7A4E; /* Border */
  padding-bottom: 15px;
  font-weight: 600;
}

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

.page-faq__faq-item[open] {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.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;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter #2E7A4E */
}

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

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #57E38D; /* Glow */
  margin-left: 15px;
}

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

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 1000px; /* Sufficient height for content */
  padding-top: 10px;
}

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

.page-faq__faq-answer .page-faq__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 15px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  background-color: #22C768; /* Auxiliary Color */
  color: #08160F; /* Dark text for light button */
  border: 2px solid #22C768;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin-top: 10px;
  margin-right: 10px;
}

.page-faq__btn-secondary:hover {
  background-color: transparent;
  color: #22C768;
  border-color: #22C768;
}

/* CTA Section */
.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  margin-top: 50px;
}

.page-faq__cta-section .page-faq__section-title {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
}

.page-faq__cta-section .page-faq__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

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

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

  .page-faq__hero-cta {
    font-size: 1rem;
    padding: 12px 25px;
  }

  .page-faq__section-title {
    font-size: 1.8rem;
  }

  .page-faq__group-title {
    font-size: 1.5rem;
    padding-bottom: 10px;
  }

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

  .page-faq__faq-toggle {
    font-size: 1.2rem;
  }

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

  /* Mobile image responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__hero-image-wrapper,
  .page-faq__container,
  .page-faq__faq-item,
  .page-faq__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-faq__faq-answer .page-faq__image {
    max-width: calc(100% - 30px) !important; /* Adjust for padding in parent */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Mobile button responsiveness */
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 10px;
    margin-right: 0; /* Remove right margin for stacking */
  }

  .page-faq__faq-answer .page-faq__btn-secondary {
    margin-left: 0; /* Align stacked buttons */
  }

  .page-faq__faq-answer {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}