.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #003366; /* Primary color background */
  color: #ffffff;
  text-align: center;
  gap: 40px;
}

.page-faq__hero-content {
  max-width: 800px;
}

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

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-faq__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for button */
  color: #003366;
  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;
}

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

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 600px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-faq__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-faq__faq-category {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-faq__category-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 25px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 10px;
}

.page-faq__category-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within category card */
  height: auto;
  border-radius: 8px;
  margin-top: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-item {
  width: 100%;
  margin-bottom: 15px;
  text-align: left;
}

.page-faq__accordion-header {
  background-color: #003366;
  color: #ffffff;
  padding: 15px 20px;
  width: 100%;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.1em;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  position: relative;
  padding-right: 40px;
}

.page-faq__accordion-header::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

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

.page-faq__accordion-header.active::after {
  content: '-';
}

.page-faq__accordion-content {
  padding: 15px 20px;
  background-color: #f0f5fa;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  display: none;
  overflow: hidden;
  color: #333333;
}

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

.page-faq__link-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-faq__link-button:hover {
  background-color: #e6c200;
}

.page-faq__cta-section {
  background-color: #FFD700; /* Auxiliary color background */
  padding: 60px 20px;
  text-align: center;
  color: #003366;
}

.page-faq__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.page-faq__cta-button {
  display: inline-block;
  background-color: #003366;
  color: #ffffff;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

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

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

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

  .page-faq__faq-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .page-faq__hero-image-wrapper {
    order: -1; /* Move image above text on mobile */
    margin-bottom: 30px;
  }

  .page-faq__hero-image,
  .page-faq__category-image {
    max-width: 100%;
    height: auto;
  }

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