.page-faq {
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for consistency, though body handles it */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff; /* Light text on dark background */
  position: relative;
  overflow: hidden;
}

.page-faq__hero-container {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-faq__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-faq__hero-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text on login color */
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-faq__hero-cta-button:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

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

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

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

.page-faq__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 50px;
  color: #000000; /* Main color for titles */
}

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

.page-faq__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__question {
  font-size: 1.5em;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

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

.page-faq__question:hover {
  background-color: #f0f0f0;
}

.page-faq__answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__answer.open {
  max-height: 500px; /* Adjust as needed for content height */
  padding: 20px;
}

.page-faq__answer p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-faq__button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 10px;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.page-faq__button:hover {
  background-color: #e0a53a;
}

.page-faq__image-inline {
  width: 100%; /* Default for smaller screens */
  max-width: 600px; /* Max width for larger screens */
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #ffffff;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-content {
  max-width: 800px;
  z-index: 1;
}

.page-faq__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF; /* White text on dark background */
}

.page-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFFFFF; /* White button for contrast */
  color: #000000; /* Dark text on white button */
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-faq__cta-button:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-faq__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }

  .page-faq__hero-title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-faq__question {
    font-size: 1.2em;
    padding: 15px;
  }

  .page-faq__answer.open {
    padding: 15px;
  }

  .page-faq__answer p {
    font-size: 0.95em;
  }

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

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

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

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

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

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

  .page-faq__image-inline {
    min-width: 200px; /* Ensure content images are not too small */
    min-height: 200px;
  }

  .page-faq__hero-image {
    min-width: 200px;
    min-height: 200px;
  }

  .page-faq__cta-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (min-width: 769px) {
  .page-faq__hero-section {
    min-height: 500px;
    justify-content: center;
  }

  .page-faq__hero-container {
    margin-bottom: 0;
  }

  .page-faq__hero-image-wrapper {
    display: block;
  }

  .page-faq__cta-section {
    min-height: 400px;
    justify-content: center;
  }

  .page-faq__cta-image-wrapper {
    display: block;
  }
}