.page-faq {
  color: #333333; /* Dark text for default light body background */
}

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

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

.page-faq__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
  border-radius: 10px;
  color: #ffffff; /* White text for dark overlay */
}

.page-faq__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold primary color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-faq__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #8B0000; /* Dark red secondary color for text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-faq__hero-button:hover {
  background-color: #8B0000; /* Dark red on hover */
  color: #FFD700; /* Gold text on hover */
  border-color: #FFD700;
}

.page-faq__accordion-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark red secondary color */
  text-align: center;
  margin-bottom: 20px;
}

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

.page-faq__accordion-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  font-size: 1.3em;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFD700; /* Gold primary color */
  color: #8B0000; /* Dark red text */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-faq__accordion-item.active .page-faq__accordion-header::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #fdfdfd;
  color: #333333;
}

.page-faq__accordion-item.active .page-faq__accordion-content {
  max-height: 500px; /* Adjust based on expected content length */
  padding: 20px 25px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-faq__button {
  display: inline-block;
  background-color: #8B0000; /* Dark red secondary color */
  color: #FFD700; /* Gold primary color for text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #8B0000;
}

.page-faq__button:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #8B0000; /* Dark red text on hover */
  border-color: #FFD700;
}

.page-faq__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-faq__cta-section {
  background-color: #8B0000; /* Dark red secondary color */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #8B0000; /* Dark red secondary color for text */
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-faq__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #8B0000;
  transform: translateY(-3px);
}

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

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

  .page-faq__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-faq__section-intro {
    font-size: 1em;
  }

  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq__accordion-content {
    padding: 15px 20px;
  }

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

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

  .page-faq__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure content images do not overflow on mobile */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-faq__hero-description {
    font-size: 0.9em;
  }

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

  .page-faq__accordion-header {
    font-size: 1em;
  }

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