.page-faq {
  color: #ffffff; /* Light text for dark 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: linear-gradient(135deg, #1E90FF, #0028ff);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

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

.page-faq__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-faq__intro-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #121212; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

.page-faq__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
}

.page-faq__accordion-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-faq__accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-faq__accordion-header {
  font-size: 1.4em;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  color: #f0f0f0;
  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.15);
}

.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.5s ease-out, padding 0.5s ease-out;
  background-color: rgba(255, 255, 255, 0.02);
  color: #cccccc;
}

.page-faq__accordion-content.active {
  max-height: 500px; /* Adjust based on expected content length */
  padding: 20px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
}

.page-faq__inline-link {
  color: #1E90FF; /* Deep Blue for inline links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
  color: #62b1ff;
  text-decoration: underline;
}

.page-faq__image {
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 600px;
  height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__contact-cta {
  background-color: rgba(30, 144, 255, 0.1);
  border: 1px solid #1E90FF;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
}

.page-faq__contact-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-faq__contact-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__related-links {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-faq__link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-faq__link-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px 25px;
  text-decoration: none;
  color: #f0f0f0;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; /* Prevent line breaks */
}

.page-faq__link-item:hover {
  background-color: #1E90FF;
  color: #ffffff;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
    flex-direction: column;
  }

  .page-faq__main-title {
    font-size: 2.5em;
  }

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

  .page-faq__section-title {
    font-size: 2em;
    margin-top: 40px;
  }

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

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

  .page-faq__image {
    max-width: 100%;
    height: auto;
  }

  .page-faq__contact-cta {
    padding: 30px 15px;
  }

  .page-faq__contact-title {
    font-size: 1.6em;
  }

  .page-faq__link-list {
    flex-direction: column;
    align-items: center;
  }

  .page-faq__link-item {
    width: 90%;
    text-align: center;
  }
  
  /* Critical: Prevent content overflow on mobile */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
}

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

  .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;
  }
}