.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 0; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap image slightly for visual effect, ensuring text is not *on* the image */
  background: #08160F; /* Dark background for content over hero */
  color: #F2FFF6; /* Light text for dark background */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(0%); /* Ensure no absolute positioning for text over image */
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-faq__description {
  font-size: clamp(16px, 2vw, 18px);
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #08160F;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-faq__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #F2C14E; /* Gold color for section titles */
  margin-bottom: 30px;
  text-align: center;
  padding-top: 20px;
  border-bottom: 2px solid #2E7A4E;
  padding-bottom: 10px;
}

.page-faq__faq-list {
  margin-top: 30px;
}

.page-faq__faq-item {
  background: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  color: #F2FFF6; /* Main text color for question */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

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

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color for answer */
  line-height: 1.7;
}

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

.page-faq__answer-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__answer-button {
  display: inline-block;
  padding: 10px 20px;
  background: #22C768; /* Auxiliary color for answer buttons */
  color: #F2FFF6;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

.page-faq__answer-button:hover {
  background-color: #13994A;
}

.page-faq__final-cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 40px 20px;
  background: #11271B;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
}

.page-faq__final-cta-title {
  font-size: clamp(22px, 3vw, 32px);
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-faq__final-cta-text {
  font-size: clamp(16px, 2vw, 18px);
  color: #A7D9B8;
  margin-bottom: 30px;
}

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

@media (max-width: 768px) {
  .page-faq__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
    border-radius: 0;
    box-shadow: none;
  }

  .page-faq__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-faq__description {
    font-size: clamp(15px, 3vw, 17px);
  }

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__content-area {
    margin: 20px auto;
    padding: 15px;
    border-radius: 0;
  }

  .page-faq__section-title {
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom: 20px;
  }

  .page-faq__faq-question {
    font-size: clamp(16px, 4vw, 18px);
    padding: 15px 20px;
  }

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

  .page-faq__answer-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__final-cta-section {
    margin-top: 30px;
    padding: 30px 15px;
    border-radius: 0;
  }

  .page-faq__final-cta-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .page-faq__final-cta-text {
    font-size: clamp(15px, 3vw, 17px);
  }

  /* Mobile specific image and container rules */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__faq-item,
  .page-faq__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-faq__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__hero-image {
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-content {
    margin-top: -60px;
  }
}