.page-faq {
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
  background-color: transparent; /* Main content background will be transparent to show body background */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-faq__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 116, 57, 0.7); /* Main color with transparency */
  z-index: -1;
}

.page-faq__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__section-spacing {
  padding: 80px 0;
}

.page-faq__content-area {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for content area on dark body bg */
  color: #ffffff;
  padding: 60px 0;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__intro-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-faq__faq-item {
  background: rgba(255, 255, 255, 0.05); /* Lighter transparent white for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-faq__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.2); /* Hover effect using main color */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFFF00; /* Yellow for toggle icon */
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-faq__faq-answer .page-faq__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
}

.page-faq__cta-section {
  background: #017439; /* Main brand color for CTA */
  border-radius: 10px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 60px;
}

.page-faq__cta-title {
  font-size: 2em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-faq__cta-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-faq__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
}

.page-faq__btn-secondary {
  background: #FFFFFF;
  color: #017439; /* Main brand color */
  border: 2px solid #FFFFFF;
}

.page-faq__btn-secondary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    height: 500px;
  }
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__section-spacing {
    padding: 60px 0;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__intro-text {
    font-size: 0.95em;
  }
  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-faq__faq-answer {
    font-size: 0.9em;
    padding: 0 20px 18px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-text {
    font-size: 1em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
    padding: 12px 25px;
  }

  /* Mobile image responsive adaptations */
  .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__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset applies */
  }

  /* Mobile button responsive adaptations */
  .page-faq__cta-button,
  .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__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-faq__cta-buttons {
    display: flex;
    flex-direction: column; /* Mobile vertical stacking */
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__faq-question {
    font-size: 1em;
  }
  .page-faq__cta-title {
    font-size: 1.5em;
  }
}