.page-faq {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
  padding-top: 10px; /* Small top padding for the first section, body handles --header-offset */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-faq__hero-section {
  display: flex;
  flex-direction: column; /* Enforce image on top, text below */
  align-items: center;
  text-align: center;
  padding: 40px 0 60px;
  background-color: #F4F7FB; /* Match main background */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and text */
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.2); /* Glow from #A5C4FF with primary color hint */
}

.page-faq__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp if needed, but for now just weight/line-height */
}

.page-faq__hero-description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

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

/* General Section Styling */
.page-faq__section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-faq__section-title {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  text-align: center;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 40px;
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding-top: 0; /* Adjust padding as hero already has bottom padding */
}

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

.page-faq__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.1); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.15);
}

.page-faq__faq-question {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  color: #2F6BFF; /* Primary color for questions */
  margin-bottom: 15px;
  cursor: pointer; /* Indicate it's clickable for accordion-like behavior */
}

.page-faq__faq-answer p {
  font-size: 1rem; /* 16px */
  line-height: 1.7;
  color: #1F2D3D; /* Text Main */
}

.page-faq__faq-answer a {
  color: #2F6BFF; /* Primary color for links in answers */
  text-decoration: underline;
}

.page-faq__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-faq__illustration-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.1);
}

/* CTA Section */
.page-faq__cta-section {
  background-color: #2F6BFF; /* Primary color for CTA background */
  color: #FFFFFF; /* White text for contrast */
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-faq__cta-content {
  position: relative;
  z-index: 2; /* Ensure text is above image */
  max-width: 800px;
}

.page-faq__cta-title {
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-faq__cta-description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  margin-bottom: 40px;
  color: #FFFFFF;
}

.page-faq__cta-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15; /* Make background image subtle */
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-faq__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-faq__button--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.3);
}

.page-faq__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
  filter: brightness(1.1);
}

.page-faq__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* Text on primary background */
  border: 2px solid #FFFFFF;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq__main-title {
    font-size: 2.2rem;
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__faq-question {
    font-size: 1.15rem;
  }
  .page-faq__cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 30px 0 40px;
  }
  .page-faq__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-faq__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Using clamp for H1 */
    margin-bottom: 15px;
  }
  .page-faq__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 100%;
    max-width: 280px;
  }

  .page-faq__section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-faq__faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .page-faq__faq-item {
    padding: 20px;
  }
  .page-faq__faq-question {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .page-faq__faq-answer p {
    font-size: 0.9rem;
  }

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

  .page-faq__cta-section {
    padding: 60px 0;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .page-faq__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

/* Ensure no content images are smaller than 200px (width/height) */
.page-faq__hero-image,
.page-faq__illustration-image,
.page-faq__cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* Specific rule for content images to prevent small sizes */
.page-faq__faq-list-section img,
.page-faq__cta-section img {
    /* This rule targets images within these sections that might not be explicitly styled */
    min-width: 200px;
    min-height: 200px;
    /* max-width: 100% and height: auto are handled by general responsive rule */
}
/* No filter property for images */
.page-faq img {
  filter: none;
}