.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 content is below fixed header */
}

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

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

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(50%);
}

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

.page-faq__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-faq__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FCBC45;
}

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

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

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

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

.page-faq__category-navigation {
  margin-bottom: 50px;
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-faq__category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-faq__category-item {
  flex: 0 0 auto;
}

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

.page-faq__category-link:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-faq__category-section {
  margin-bottom: 70px;
  padding-top: 20px; /* For anchor scrolling */
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 40px;
  position: relative;
}

.page-faq__category-section:last-of-type {
  border-bottom: none;
}

.page-faq__category-heading {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  padding-top: 20px; /* Extra padding for sticky header if needed */
}

.page-faq__question-answer {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-faq__question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__question::after {
  content: '+';
  font-size: 1.2em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

.page-faq__answer {
  font-size: 1.05em;
  color: #555555;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  display: none; /* Hidden by default, shown with JS */
}

.page-faq__answer.show {
  display: block;
}

.page-faq__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-faq__category-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-faq__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FCBC45;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 3em;
  }
  .page-faq__hero-description {
    font-size: 1.2em;
  }
  .page-faq__category-list {
    gap: 10px;
  }
  .page-faq__category-link {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }
  .page-faq__main-title {
    font-size: 2.5em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
  .page-faq__section-description {
    font-size: 1em;
  }
  .page-faq__category-list {
    flex-direction: column;
    align-items: center;
  }
  .page-faq__category-item {
    width: 100%;
    max-width: 300px;
  }
  .page-faq__category-link {
    text-align: center;
  }
  .page-faq__category-heading {
    font-size: 1.8em;
  }
  .page-faq__question {
    font-size: 1.2em;
  }
  .page-faq__answer {
    font-size: 0.95em;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
  .page-faq__cta-description {
    font-size: 1.1em;
  }
  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  /* Mobile content image constraint */
  .page-faq__content-area img {
    max-width: 100%;
    height: auto;
  }
  .page-faq__category-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__category-heading {
    font-size: 1.6em;
  }
  .page-faq__question {
    font-size: 1.1em;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
}