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

.page-faq__hero-section {
  background-color: #0047AB; /* Primary color background */
  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: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Secondary color for emphasis */
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

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

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

.page-faq__section {
  padding: 60px 20px;
}

.page-faq__section--content {
  background-color: #f9f9f9;
}

.page-faq__section--cta {
  background-color: #FFD700; /* Secondary color background */
  color: #0047AB; /* Primary color for text */
  text-align: center;
}

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

.page-faq__section-title {
  font-size: 2.2em;
  color: #0047AB; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-group {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  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 {
  background-color: #ffffff;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0047AB; /* Primary color */
  transition: background-color 0.3s ease;
}

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

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

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

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

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

.page-faq__accordion-content p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #555555;
}

.page-faq__accordion-content a {
  color: #0047AB;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__accordion-content a:hover {
  text-decoration: underline;
}

.page-faq__image--inline {
  width: 100%; /* Ensure images are responsive */
  max-width: 600px; /* Max width for inline images */
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  font-size: 1em;
}

.page-faq__btn--primary {
  background-color: #FFD700; /* Secondary color */
  color: #0047AB; /* Primary color */
}

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

.page-faq__btn--secondary {
  background-color: transparent;
  border: 2px solid #FFD700; /* Secondary color border */
  color: #FFD700;
}

.page-faq__btn--secondary:hover {
  background-color: #FFD700;
  color: #0047AB;
  transform: translateY(-2px);
}

.page-faq__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-faq__btn--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-faq__cta-content {
  max-width: 700px;
}

.page-faq__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2em;
  }

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

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

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

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

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

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

  .page-faq__cta-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__section-title {
    font-size: 1.6em;
  }

  .page-faq__accordion-header {
    font-size: 1em;
  }

  .page-faq__btn {
    width: 100%;
  }
}