.page-faq {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
  background-color: #1A1A1A; /* Dark background for hero */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-faq__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-faq__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-faq__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A;
}

.page-faq__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-faq__button--secondary {
  background-color: #1A1A1A; /* Dark button */
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-faq__button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
}

.page-faq__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.15; /* Subtle background image */
  z-index: 0;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-faq__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.page-faq__section-title--cta {
  margin-top: 80px;
  font-size: 2.5em;
}

.page-faq__section-intro {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-faq__category {
  background-color: rgba(26, 26, 26, 0.8); /* Semi-transparent dark background */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__category-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
  padding-bottom: 10px;
}

.page-faq__qa-item {
  margin-bottom: 20px;
}

.page-faq__qa-question {
  background-color: #333333; /* Darker background for questions */
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  padding: 18px 25px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__qa-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__qa-question.active {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-faq__qa-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__qa-answer {
  background-color: #2a2a2a; /* Slightly lighter dark background for answers */
  padding: 20px 25px;
  border-radius: 0 0 8px 8px;
  margin-top: -5px; /* Overlap with question button */
  display: none;
  overflow: hidden;
  color: #e0e0e0;
  font-size: 1.05em;
  line-height: 1.7;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-top: none;
}

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

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

.page-faq__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block; /* Ensure images are block level */
}

.page-faq__image--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px; /* Example max-width for content images */
  height: auto;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

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

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

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

  .page-faq__qa-question {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 80px);
  }

  .page-faq__hero-section {
    padding: 60px 15px;
    flex-direction: column;
    gap: 30px;
  }

  .page-faq__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-faq__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-faq__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__button {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-faq__content-area {
    padding: 40px 15px;
  }

  .page-faq__section-title {
    font-size: 2em;
    margin-bottom: 25px;
    margin-top: 50px;
  }

  .page-faq__section-title--cta {
    font-size: 1.8em;
    margin-top: 60px;
  }

  .page-faq__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-faq__category {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-faq__category-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-faq__qa-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-faq__qa-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }

  /* Ensure all images within .page-faq are responsive and do not overflow */
  .page-faq__content-area img {
    max-width: 100%;
    height: auto;
  }

  .page-faq__hero-image-wrapper {
    display: none; /* Hide hero background image on smaller screens for better performance/focus */
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2em;
  }

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

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

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

  .page-faq__qa-question {
    font-size: 0.95em;
  }

  .page-faq__button {
    font-size: 0.9em;
  }
}