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

.page-faq__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-faq__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF;
}

.page-faq__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

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

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

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

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

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

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

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

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

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

.page-faq__accordion-wrapper {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__accordion-item {
  border-bottom: 1px solid #E0E0E0;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

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

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

.page-faq__accordion-header h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

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

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

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

.page-faq__accordion-body[data-expanded="true"] {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
}

.page-faq__accordion-body p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #333333;
}

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

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

.page-faq__support-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 40px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

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

.page-faq__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-bottom: 40px;
  }
  .page-faq__hero-container {
    padding: 15px;
  }
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__hero-button {
    width: 100%;
  }
  .page-faq__content-area {
    margin: 20px auto;
    padding: 15px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-faq__accordion-body[data-expanded="true"] {
    padding: 15px;
  }
  .page-faq__support-image, .page-faq__cta-image {
    max-width: 100%;
    height: auto;
  }
  .page-faq__cta-section {
    padding: 40px 15px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 1em;
  }
  .page-faq__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

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

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.6em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
  }
  .page-faq__cta-title {
    font-size: 1.6em;
  }
  .page-faq__cta-description {
    font-size: 0.9em;
  }
}