.page-faq {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0A192F; /* Inherited from body, but good to ensure */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-faq__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 12px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem);
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-faq__hero-description {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.4rem);
  margin-bottom: 30px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-faq__hero-button {
  display: inline-block;
  background-color: #1E90FF; /* Deep blue auxiliary color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #1E90FF;
}

.page-faq__hero-button:hover {
  background-color: #007bff; /* Slightly darker blue on hover */
  transform: translateY(-2px);
  border-color: #007bff;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #1E90FF;
  border-radius: 2px;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #e0e0e0;
}

.page-faq__accordion-container {
  margin-top: 40px;
}

.page-faq__accordion-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__accordion-header {
  background-color: rgba(255, 255, 255, 0.15); /* Darker transparent white for headers */
  color: #FFD700;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

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

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

.page-faq__accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-item.active .page-faq__accordion-content {
  max-height: 1000px; /* Adjust as needed for content */
  padding: 20px 30px;
}

.page-faq__question-answer {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.page-faq__question-answer:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-faq__question {
  font-size: 1.15rem;
  color: #1E90FF; /* Deep blue for questions */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-faq__answer {
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-faq__answer a {
  color: #FFD700; /* Gold for links within answers */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-faq__answer a:hover {
  color: #f0c000;
  text-decoration: underline;
}

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(255, 215, 0, 0.1));
  border-radius: 12px;
  margin-top: 60px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__cta-title {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.5rem);
  color: #FFD700;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto 30px;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold primary CTA */
  color: #0A192F; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFD700;
}

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

.page-faq__cta-button--secondary {
  background-color: #1E90FF; /* Deep blue secondary CTA */
  color: #ffffff;
  border-color: #1E90FF;
}

.page-faq__cta-button--secondary:hover {
  background-color: #007bff;
  border-color: #007bff;
}

/* Ensure images in content area are not small icons */
.page-faq__content-area img {
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain; /* Use contain to prevent cropping for diverse image aspect ratios */
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px 30px;
  }

  .page-faq__main-title {
    font-size: 2.2rem;
  }

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

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

  .page-faq__content-area {
    padding: 40px 15px;
  }

  .page-faq__section-title {
    font-size: 2rem;
  }

  .page-faq__intro-text {
    font-size: 0.95rem;
  }

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

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

  .page-faq__question {
    font-size: 1rem;
  }

  .page-faq__answer {
    font-size: 0.9rem;
  }

  .page-faq__cta-section {
    padding: 40px 15px;
  }

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

  .page-faq__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
    margin: 8px;
  }

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

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