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

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #f0f0f0; /* Light background for hero */
  text-align: center;
  padding-bottom: 40px;
}

.page-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-faq__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-faq__hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.page-faq__hero-button {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-faq__hero-button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
  border: 2px solid #000000;
}

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

.page-faq__hero-button--login {
  background-color: #FCBC45; /* Custom color for Login */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-faq__hero-image {
  width: 100%;
  max-width: 1000px;
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-faq__accordion-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-faq__accordion-header h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit; /* Inherit color from button for consistency */
}

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

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

.page-faq__accordion-body {
  padding: 0 25px;
  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 based on expected content length */
  padding: 15px 25px 25px;
}

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

.page-faq__body-button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  margin-right: 10px;
  margin-top: 5px;
}

.page-faq__body-button:hover {
  background-color: #e6a73c;
}

.page-faq__cta-section {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* White text for dark background */
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-faq__cta-container {
  max-width: 800px;
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-faq__cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

  .page-faq__hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .page-faq__hero-button {
    width: 100%;
  }

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

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

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

  .page-faq__accordion-body {
    padding: 0 20px;
  }

  .page-faq__accordion-body[data-expanded="true"] {
    padding: 10px 20px 20px;
  }

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

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

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

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

  .page-faq__hero-description {
    font-size: 0.95em;
  }

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

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

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