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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000080; /* Navy blue background */
  color: #ffffff; /* White text for dark background */
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 2;
}

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-faq__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Navy text on gold button */
  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__cta-button:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

.page-faq__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
  overflow: hidden;
}

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

.page-faq__categories-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #000080; /* Navy blue for section titles */
  margin-bottom: 40px;
}

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

.page-faq__category-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-faq__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq__card-title {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 15px;
}

.page-faq__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-faq__card-image {
  width: 100%;
  height: 200px; /* Min height 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-faq__card-link {
  display: inline-block;
  color: #FFD700; /* Gold link */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-faq__card-link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-faq__accordion-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-faq__accordion-container {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-item {
  border-bottom: 1px solid #eee;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  background-color: #f9f9f9;
  color: #000080; /* Navy blue for accordion headers */
  cursor: pointer;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.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(180deg);
}

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

.page-faq__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #555555;
}

.page-faq__accordion-content a {
  color: #000080;
  text-decoration: underline;
  font-weight: bold;
}

.page-faq__accordion-content a:hover {
  color: #FFD700;
}

.page-faq__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000080; /* Navy blue background */
  color: #ffffff; /* White text */
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-faq__cta-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
}

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

.page-faq__cta-button--secondary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Navy text */
}

.page-faq__cta-button--secondary:hover {
  background-color: #e6c200; /* Darker gold */
}

.page-faq__cta-image-container {
  max-width: 600px;
  margin-top: 30px;
}

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

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

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 2.2em;
  }

  .page-faq__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

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

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

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

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

  .page-faq__category-card {
    padding: 25px;
  }

  .page-faq__card-image {
    height: 250px;
  }

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

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

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

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

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

  /* Ensure all images within .page-faq are responsive and do not overflow */
  .page-faq img {
    max-width: 100%;
    height: auto;
    display: block; /* To prevent extra space below images */
  }

  /* Specific image sizing for content images to ensure minimum 200px display */
  .page-faq__card-image,
  .page-faq__cta-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Override fixed width if any, ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
  }
}

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

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

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.6em;
  }

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

  .page-faq__accordion-content p {
    padding: 10px 0;
  }
}