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

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom */
  background-color: #0A4B2C; /* Deep Green for hero section background */
  overflow: hidden; /* Ensure no image overflow */
}

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

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

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

.page-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__intro-text {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

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

.page-faq__cta-buttons--centered {
  margin: 40px auto 0;
  max-width: 700px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  box-sizing: border-box; /* Include padding in width calculation */
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow color for secondary button text */
  border: 2px solid #2E7A4E; /* Border color */
  box-shadow: none;
}

.page-faq__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1); /* Light hover effect */
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-faq__btn-primary--large,
.page-faq__btn-secondary--large {
  min-width: 250px;
}

.page-faq__faq-section {
  padding: 60px 20px;
  background-color: #08160F; /* Background color for FAQ section */
  color: #F2FFF6; /* Text color for FAQ section */
}

.page-faq__dark-section {
  background-color: #11271B; /* Card BG color for dark section */
}

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

.page-faq__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq__section-description {
  font-size: 1.1em;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__faq-category-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #57E38D; /* Glow color for category titles */
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1E3A2A; /* Divider color */
}

.page-faq__faq-item {
  background-color: #0A4B2C; /* Deep Green for FAQ item background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-faq__faq-item details { /* Specific styling for details tag */
  width: 100%;
}

.page-faq__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #13994A; /* Darker green for summary background */
  border-bottom: 1px solid #2E7A4E;
}

.page-faq__faq-item summary:hover {
  background-color: #2AD16F; /* Lighter green on hover */
}

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

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  margin-left: 15px;
  color: #F2C14E; /* Gold color for toggle icon */
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Secondary text color for answers */
  line-height: 1.8;
}

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

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

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

.page-faq__cta-section {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green for CTA section */
  text-align: center;
}

.page-faq__cta-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #F2C14E; /* Gold color for CTA title */
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
  .page-faq__faq-category-title {
    font-size: 1.6em;
  }
  .page-faq__faq-item summary {
    font-size: 1.1em;
  }
}

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

  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

  .page-faq__hero-content {
    padding: 0 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }

  .page-faq__intro-text {
    font-size: 1em;
  }

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

  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__faq-section {
    padding: 40px 15px;
  }

  .page-faq__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-faq__section-description {
    font-size: 0.95em;
  }

  .page-faq__faq-category-title {
    font-size: 1.4em;
  }

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

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

  .page-faq__cta-section {
    padding: 60px 15px;
  }

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

  .page-faq__cta-description {
    font-size: 1em;
  }

  /* Images responsive */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images */
  .page-faq__hero-image-wrapper,
  .page-faq__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}