.page-faq {
  color: #F2FFF6; /* Text Main */
  background-color: var(--background, #08160F); /* Fallback for --background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  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 {
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  text-align: center;
  padding-top: 10px; /* Small top padding for the very first content section */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Match container max-width */
  margin-bottom: 30px; /* Space between image and text */
}

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

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

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

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

/* CTA Buttons */
.page-faq__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff; /* Ensure contrast */
  border: none;
  cursor: pointer;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

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

.page-faq__cta-button--secondary {
  background: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
  margin-left: 15px;
}

.page-faq__cta-button--secondary:hover {
  background: #2E7A4E; /* Border color on hover */
}

.page-faq__cta-wrapper {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 15px; /* Space between buttons */
  margin-top: 40px;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  padding: 0 15px; /* Add padding for buttons on small screens */
}


/* Accordion Section */
.page-faq__accordion-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-faq__section-title {
  font-size: clamp(24px, 3.5vw, 42px);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  position: relative;
  list-style: none; /* Remove default summary marker */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-faq__faq-item summary::marker {
  display: none; /* Hide default marker for firefox */
}

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

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 28px;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: #57E38D; /* Glow */
}

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

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

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for the very first content section */
  }

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

  .page-faq__description {
    font-size: 16px;
  }

  .page-faq__cta-button {
    font-size: 16px;
    padding: 12px 20px;
    width: 100% !important; /* Full width on mobile */
    margin: 0 0 10px 0 !important; /* Stack buttons */
  }

  .page-faq__cta-button--secondary {
    margin-left: 0 !important; /* Remove margin-left for stacking */
  }

  .page-faq__cta-wrapper {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
  }

  .page-faq__accordion-section {
    padding: 50px 0;
  }

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

  .page-faq__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__faq-item {
    margin: 0 15px 15px !important; /* Add horizontal margin on mobile */
  }

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

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

  /* 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__accordion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* For elements without specific padding, ensure some horizontal spacing */
  .page-faq__hero-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}