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

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Main background for hero */
  color: #FFFFFF; /* Light text for dark background */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title with accent color */
}

.page-faq__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-faq__hero-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 0 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-faq__hero-button--register {
  background-color: #FCBC45;
  color: #000000; /* Dark text for light button */
}

.page-faq__hero-button--register:hover {
  background-color: #FFD700;
}

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

.page-faq__hero-button--login:hover {
  background-color: #FCBC45;
  color: #000000;
}

.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; /* Subtle background image */
}

.page-faq__accordion-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

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

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

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

.page-faq__question {
  font-size: 1.3rem;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #000000;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__question::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-faq__question.active {
  background-color: #FCBC45;
  color: #000000;
}

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

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

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

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

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

.page-faq__answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__answer a:hover {
  text-decoration: underline;
}

.page-faq__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 60px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #FCBC45;
  z-index: 1;
  position: relative;
}

.page-faq__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #F0F0F0;
  z-index: 1;
  position: relative;
}

.page-faq__cta-buttons {
  margin-bottom: 40px;
  z-index: 1;
  position: relative;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 18px 35px;
  margin: 0 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 220px;
  text-align: center;
  border: 2px solid transparent;
}

.page-faq__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__cta-button--register:hover {
  background-color: #FFD700;
}

.page-faq__cta-button--login {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #FCBC45;
}

.page-faq__cta-button--login:hover {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-faq__contact-promo-section {
  padding: 60px 0;
  background-color: #F5F5F5;
}

.page-faq__contact-promo-section .page-faq__container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-faq__contact-card, .page-faq__promo-card {
  flex: 1 1 calc(50% - 30px);
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 300px; /* Ensure cards are not too small */
}

.page-faq__card-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #000000;
}

.page-faq__card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555555;
}

.page-faq__card-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faq__card-button:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3rem;
  }
  .page-faq__hero-description {
    font-size: 1.1rem;
  }
  .page-faq__question {
    font-size: 1.2rem;
  }
  .page-faq__section-title {
    font-size: 2.2rem;
  }
  .page-faq__cta-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  .page-faq__hero-title {
    font-size: 2.5rem;
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__hero-button {
    display: block;
    margin: 15px auto;
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__section-intro {
    font-size: 1rem;
  }
  .page-faq__question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }
  .page-faq__answer {
    padding: 15px 20px;
  }
  .page-faq__cta-section {
    padding: 60px 20px;
  }
  .page-faq__cta-title {
    font-size: 2rem;
  }
  .page-faq__cta-description {
    font-size: 1rem;
  }
  .page-faq__cta-button {
    display: block;
    margin: 15px auto;
  }
  .page-faq__contact-card, .page-faq__promo-card {
    flex: 1 1 100%;
  }
  /* Mobile responsive image rules for content area */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area does not cause horizontal scroll */
  .page-faq {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2rem;
  }
  .page-faq__hero-button {
    min-width: unset;
    width: 90%;
  }
  .page-faq__cta-button {
    min-width: unset;
    width: 90%;
  }
  .page-faq__card-title {
    font-size: 1.5rem;
  }
  .page-faq__card-button {
    width: 100%;
  }
}