.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 {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Minimum height for hero */
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: brightness(0.8); /* Slightly dim the background image for text readability */
}

.page-faq__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  color: #FFFFFF; /* White text for dark hero background */
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-faq__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-faq__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

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

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

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

.page-faq__accordion-container {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 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-header {
  background-color: #f9f9f9;
  color: #000000;
  padding: 20px 25px;
  font-size: 1.3em;
  cursor: pointer;
  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;
  transition: transform 0.3s ease;
}

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

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

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

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

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

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-faq__button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.page-faq__button:hover {
  background-color: #333333;
}

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

.page-faq__button--register:hover {
  background-color: #f0f0f0;
}

.page-faq__button--download, .page-faq__button--mobile {
  background-color: #000000;
  color: #FFFFFF;
}

.page-faq__button--download:hover, .page-faq__button--mobile:hover {
  background-color: #333333;
}

.page-faq__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
}

.page-faq__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 0 10px 20px;
}

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

.page-faq__cta-button--register {
  background-color: #FFFFFF; /* Register button color for CTA */
  color: #000000;
  border: 1px solid #000000;
}

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

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

  .page-faq__intro-description {
    font-size: 1em;
  }

  .page-faq__hero-button,
  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 0 5px 15px;
  }

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

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

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

  .page-faq__content-area img,
  .page-faq__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 2em;
  }

  .page-faq__hero-button,
  .page-faq__cta-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .page-faq__hero-section {
    min-height: 300px;
  }

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