.page-faq {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #FFFFFF;
}

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

.page-faq__hero-section {
  background-color: #000000;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-faq__hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
}

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

.page-faq__intro-text {
  font-size: 1.15em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

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

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle overlay for text readability */
  position: absolute;
  top: 0;
  left: 0;
}

.page-faq__category-navigation {
  background-color: #f8f8f8;
  padding: 50px 20px;
  text-align: center;
}

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

.page-faq__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-faq__category-link {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 1px solid #000000;
}

.page-faq__category-link:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-2px);
}

.page-faq__content-area {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-faq__faq-category {
  margin-bottom: 60px;
}

.page-faq__category-heading {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FCBC45;
}

.page-faq__category-description {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-faq__accordion-header {
  background-color: #f0f0f0;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

.page-faq__accordion-content.active {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 20px 25px;
}

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

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

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

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

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

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

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

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

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }

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

  .page-faq__category-link {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

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

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 120px);
  }

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

  .page-faq__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

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

  .page-faq__categories {
    flex-direction: column;
    align-items: center;
  }

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

  .page-faq__category-heading {
    font-size: 1.6em;
  }

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

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

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

  .page-faq__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

@media (max-width: 480px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-faq__category-heading {
    font-size: 1.4em;
  }

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

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

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