.page-faq {
  color: #333333; /* Dark text for default light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-faq__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Accent color for title */
}

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

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for CTA */
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  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(-2px);
}

.page-faq__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-faq__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  display: block;
}

.page-faq__accordion-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-faq__accordion {
  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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 30px;
  background-color: #ffffff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  color: #0A2463;
  transition: background-color 0.3s ease;
}

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

.page-faq__item-title {
  margin: 0;
  font-size: 1em;
}

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

.page-faq__accordion-header.active .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background-color: #fcfcfc;
  display: flex;
  flex-wrap: wrap;
  padding: 0 30px;
}

.page-faq__accordion-content.open {
  max-height: 1000px; /* Adjust based on expected content height */
  padding: 20px 30px;
}

.page-faq__content-text {
  flex: 1;
  min-width: 280px;
  padding-right: 20px;
}

.page-faq__content-text p {
  margin-bottom: 15px;
  color: #555555;
}

.page-faq__content-text strong {
  color: #0A2463;
}

.page-faq__inline-link {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
  color: #FFD700;
}

.page-faq__content-image-wrapper {
  flex: 0 0 300px; /* Fixed width for image */
  max-width: 300px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-faq__contact-cta {
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
  padding: 60px 40px;
  border-radius: 10px;
  margin-top: 60px;
}

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

.page-faq__contact-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 900px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-faq__content-image-wrapper {
    flex: 0 0 250px;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

  .page-faq__hero-section {
    padding: 60px 20px;
  }

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

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

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

  .page-faq__accordion-content {
    flex-direction: column;
    padding: 0 20px;
  }

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

  .page-faq__content-text {
    padding-right: 0;
  }

  .page-faq__content-image-wrapper {
    flex: 1 1 100%; /* Image takes full width on mobile */
    max-width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }

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

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

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

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

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

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

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

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

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

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

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