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

.page-faq__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with login button color */
  font-weight: bold;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-faq__hero-actions {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

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

.page-faq__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-faq__button--login:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

.page-faq__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-faq__accordion {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-question {
  background-color: #f9f9f9;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  font-size: 1.2em;
  color: #000000;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-question.active {
  background-color: #e0e0e0;
}

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

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

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

.page-faq__accordion-answer p {
  margin-bottom: 15px;
  color: #444444;
}

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

.page-faq__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
}

.page-faq__button--small:hover {
  background-color: #333333;
  transform: translateY(-1px);
}

.page-faq__image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-top: 60px;
}

.page-faq__cta-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

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

.page-faq__button--contact {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 15px;
}

.page-faq__button--contact:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-faq__button--register-alt {
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__button--register-alt:hover {
  background-color: #e0a030;
  transform: translateY(-2px);
}

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

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

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

  .page-faq__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-faq__accordion-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

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

  .page-faq__button--contact,
  .page-faq__button--register-alt {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
  }

  .page-faq__cta-section .page-faq__button:last-child {
    margin-bottom: 0;
  }

  .page-faq__content-area {
    padding: 40px 15px;
  }
  
  .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.95em;
  }

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

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

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