.page-faq {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

.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;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  z-index: 0;
}

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

.page-faq__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

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

.page-faq__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-faq__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-faq__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-faq__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  margin-top: 15px;
}

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

.page-faq__accordion-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #FCBC45;
  color: #000000;
  font-weight: bold;
  font-size: 1.15em;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-faq__accordion-button {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
  flex-grow: 1;
  cursor: pointer;
}

.page-faq__accordion-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active .page-faq__accordion-icon {
  transform: rotate(45deg);
}

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

.page-faq__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #333333;
}

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

.page-faq__contact-cta-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-faq__cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-faq__cta-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 400px;
  display: block;
}

.page-faq__cta-content {
  padding: 40px;
  text-align: center;
}

.page-faq__cta-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #FCBC45;
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-faq__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-right: 15px;
}

.page-faq__button--primary:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-faq__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__button--secondary:hover {
  background-color: transparent;
  color: #FFFFFF;
}

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

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

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

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

  .page-faq__button {
    width: 100%;
    padding: 10px 20px;
  }

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

  .page-faq__section-description {
    font-size: 0.95em;
  }

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

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

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

  .page-faq__cta-card {
    flex-direction: column;
  }

  .page-faq__cta-image {
    max-height: 250px;
  }

  .page-faq__cta-content {
    padding: 30px;
  }

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

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

  .page-faq__button--primary, .page-faq__button--secondary {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }

  .page-faq__button--secondary {
    margin-bottom: 0;
  }

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

@media (min-width: 769px) {
  .page-faq__cta-card {
    flex-direction: row;
    text-align: left;
  }

  .page-faq__cta-image {
    width: 40%;
    max-height: none;
  }

  .page-faq__cta-content {
    width: 60%;
    padding: 50px;
  }

  .page-faq__button--primary, .page-faq__button--secondary {
    display: inline-block;
    width: auto;
  }
}