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

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

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

.page-faq__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-faq__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.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.3s ease;
  white-space: nowrap;
}

.page-faq__button--primary {
  background-color: #FFD700;
  color: #0A2342;
  border: 2px solid #FFD700;
}

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

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

.page-faq__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

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

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

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

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

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

.page-faq__accordion-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-faq__accordion-header {
  font-size: 1.6em;
  color: #0A2342;
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

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

.page-faq__accordion-header.active {
  background-color: #e6e6e6;
  color: #FFD700;
}

.page-faq__accordion-header.active::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-content.open {
  max-height: 1000px; /* Adjust as needed for content height */
  padding: 20px 30px;
}

.page-faq__answer-text {
  font-size: 1.1em;
  color: #0A2342;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-faq__answer-paragraph {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-faq__answer-paragraph a {
  color: #0A2342;
  text-decoration: underline;
}

.page-faq__answer-paragraph a:hover {
  color: #FFD700;
}

.page-faq__cta-bottom {
  background-color: #0A2342;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  z-index: 1;
  position: relative;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  position: relative;
}

.page-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }

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

  .page-faq__accordion-header {
    font-size: 1.4em;
    padding: 20px 25px;
  }

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

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 120px);
  }

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

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

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

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

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

  .page-faq__answer-text {
    font-size: 1em;
  }

  .page-faq__answer-paragraph {
    font-size: 0.95em;
  }

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

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

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

  /* Ensure images in content area are responsive and not smaller than 200px */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }

  /* Override specific image sizes if they fall below 200px in content */
  .page-faq__cta-image {
    min-width: 200px;
    min-height: 200px;
  }
}

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

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

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

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

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