.page-faq {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-faq__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

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

.page-faq__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, transform 0.2s ease;
  border: 2px solid transparent;
}

.page-faq__button--register {
  background-color: #FFFFFF; /* White background for Register */
  color: #000000; /* Black text */
  border-color: #FFFFFF;
}

.page-faq__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-faq__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text */
  border-color: #FCBC45;
}

.page-faq__button--login:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.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__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #000000; /* Dark text for light background */
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__accordion-container {
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  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 {
  width: 100%;
  background-color: #FFFFFF;
  color: #000000;
  padding: 20px 25px;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-faq__accordion-title {
  margin: 0;
  font-size: 1.2em;
  color: #000000;
}

.page-faq__accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.page-faq__accordion-icon::before,
.page-faq__accordion-icon::after {
  content: '';
  position: absolute;
  background-color: #000000;
  transition: transform 0.3s ease;
}

.page-faq__accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.page-faq__accordion-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.page-faq__accordion-header.active .page-faq__accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

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

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

.page-faq__accordion-body a {
  color: #FCBC45; /* Accent color for links */
  text-decoration: none;
  font-weight: bold;
}

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

.page-faq__cta-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

.page-faq__button--contact {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text */
  border-color: #FCBC45;
}

.page-faq__button--contact:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.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__related-links {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.page-faq__related-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 40px;
}

.page-faq__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-faq__link-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  text-decoration: none;
  color: #000000;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.page-faq__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-faq__link-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000000;
}

.page-faq__link-card-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
}

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

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

  .page-faq__button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

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

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

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

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

  .page-faq__links-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image overflow prevention */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section,
  .page-faq__cta-section {
    padding: 40px 15px;
  }

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

  .page-faq__hero-buttons {
    flex-direction: column;
  }

  .page-faq__button {
    width: 100%;
    max-width: 250px;
  }

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

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

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

  .page-faq__link-card {
    padding: 20px;
  }
}