.page-faq {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0A2463;
  color: #ffffff;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-faq__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 90%;
  padding: 20px;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #E0B14B;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

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

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

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button--primary {
  background-color: #E0B14B;
  color: #0A2463;
  border: 2px solid #E0B14B;
}

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

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

.page-faq__cta-button--secondary:hover {
  background-color: rgba(224, 177, 75, 0.1);
  transform: translateY(-3px);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

.page-faq__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__question {
  background-color: #0A2463;
  color: #E0B14B;
  padding: 18px 25px;
  font-size: 1.3em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-weight: 600;
}

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

.page-faq__question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #f9f9f9;
  color: #333333;
  border-top: 1px solid #e0e0e0;
}

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

.page-faq__answer p {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-faq__answer-button {
  display: inline-block;
  background-color: #E0B14B;
  color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.page-faq__answer-button:hover {
  background-color: #f5db9c;
}

.page-faq__image-inline {
  width: 100%;
  max-width: 400px; /* Ensure content images are not too small */
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E0B14B;
  font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
  .page-faq__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__content-area {
    padding: 20px 15px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-faq__answer.active {
    padding: 15px 20px;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
  .page-faq__cta-description {
    font-size: 1em;
  }
  .page-faq__image-inline {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure mobile images are responsive */
  }
  .page-faq {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__cta-button {
    width: 100%;
  }
  .page-faq__question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-faq__answer.active {
    padding: 10px 15px;
  }
  .page-faq__cta-title {
    font-size: 1.6em;
  }
  .page-faq__cta-description {
    font-size: 0.9em;
  }
}