.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 color for hero background */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

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

.page-faq__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

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

.page-faq__accordion-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

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

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

.page-faq__accordion-header {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 20px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-faq__accordion-content.active {
  max-height: 1000px; /* Large enough to accommodate content */
  padding: 20px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
  font-size: 1em;
}

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

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

.page-faq__item-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

.page-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
}

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

.page-faq__cta-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;
  z-index: 2;
}

.page-faq__cta-button--contact {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-faq__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

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

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

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

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

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

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

  .page-faq__item-image,
  .page-faq__cta-image {
    max-width: 100%;
    height: auto;
  }

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

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