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

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 40px;
}

.page-faq__hero-content {
  max-width: 800px;
}

.page-faq__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-faq__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 10px;
}

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

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

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

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

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-faq__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-faq__accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #FFFFFF;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-header[aria-expanded="true"] {
  background-color: #e0e0e0;
}

.page-faq__accordion-question {
  margin: 0;
  font-size: 1.2em;
  color: #000000;
}

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

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__accordion-content p {
  padding-bottom: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-faq__accordion-content p a:hover {
  text-decoration: underline;
}

.page-faq__contact-section {
  background-color: #FFFFFF;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.page-faq__contact-section .page-faq__container {
  text-align: center;
}

.page-faq__contact-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-faq__contact-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-faq__contact-button--livechat {
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__contact-button--livechat:hover {
  background-color: #e0a53b;
}

.page-faq__contact-button--email {
  background-color: #000000;
  color: #FFFFFF;
}

.page-faq__contact-button--email:hover {
  background-color: #333333;
}

.page-faq__contact-image-wrapper {
  width: 100%;
  max-width: 800px;
}

.page-faq__contact-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .page-faq__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-faq__hero-content {
    flex: 1;
    padding-right: 40px;
  }

  .page-faq__hero-image-wrapper {
    flex: 1;
    margin-top: 0;
  }

  .page-faq__contact-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .page-faq__contact-section .page-faq__container {
    flex: 1;
    text-align: left;
    padding-right: 40px;
  }

  .page-faq__contact-image-wrapper {
    flex: 1;
  }

  .page-faq__contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .page-faq {
    overflow-x: hidden;
  }

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

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

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

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

  .page-faq__hero-button--login {
    margin-top: 15px;
  }

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

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

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

  .page-faq__hero-image,
  .page-faq__contact-image,
  .page-faq__accordion-content img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images are not too small on mobile */
  .page-faq img {
    min-width: 200px;
    min-height: 200px;
  }
}