.page-faq {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
  background-color: #1A1A1A; /* Auxiliary dark background */
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background */
}

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

.page-faq__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary color */
  color: #1A1A1A; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-faq__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-faq__section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

.page-faq__section:nth-of-type(even) {
  background-color: #ffffff;
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #1A1A1A; /* Auxiliary dark color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__accordion {
  margin-top: 20px;
}

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

.page-faq__accordion-header {
  background-color: #FFD700; /* Gold primary color */
  color: #1A1A1A; /* Dark text for gold header */
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

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

.page-faq__accordion-header:hover {
  background-color: #e6c200;
}

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

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

.page-faq__accordion-content p {
  margin-bottom: 15px;
  color: #555555;
}

.page-faq__accordion-content p:last-child {
  margin-bottom: 0;
}

.page-faq__link {
  color: #FFD700; /* Gold primary color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-faq__image-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-faq__image-card--reverse {
  flex-direction: row-reverse;
}

.page-faq__image-card-img {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 600px; /* HTML width for layout */
  height: 450px; /* HTML height for layout */
  object-fit: cover;
}

.page-faq__image-card .page-faq__accordion {
  flex: 1;
  max-width: 50%;
}

.page-faq__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-faq__section-image {
  max-width: 800px;
  width: 800px;
  height: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-faq__small-cta {
  display: inline-block;
  background-color: #1A1A1A; /* Auxiliary dark color */
  color: #FFD700; /* Gold text for dark button */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-faq__small-cta:hover {
  background-color: #333333;
}

.page-faq__cta-section {
  background-color: #1A1A1A; /* Auxiliary dark background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

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

.page-faq__cta-button--secondary {
  background-color: #FFD700; /* Gold primary color */
  color: #1A1A1A; /* Dark text for gold button */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }

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

  .page-faq__image-card {
    flex-direction: column;
    gap: 20px;
  }

  .page-faq__image-card-img,
  .page-faq__image-card .page-faq__accordion {
    max-width: 100%;
  }

  .page-faq__section-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-faq__section {
    padding: 40px 15px;
  }

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

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

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

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

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

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

  .page-faq__hero-image-wrapper img {
    max-width: 100%;
    height: auto;
  }

  .page-faq__image-card-img {
    width: 100%;
    height: auto;
  }

  .page-faq__section-image {
    width: 100%;
    height: auto;
  }
}