.page-faq {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background: #F4F7FB; /* Body background from shared.css is light, so text is dark */
  line-height: 1.6;
}

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

/* Hero Section */
.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, body handles header-offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using brand colors as fallback/overlay */
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 15px 15px; /* Subtle rounded bottom */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 400px; /* Limit height of the image wrapper */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-faq__hero-section .page-faq__container {
  position: relative;
  z-index: 2;
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__intro-text {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-faq__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-faq__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main brand color */
  border: 2px solid #2F6BFF; /* Border matches brand color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__btn-secondary:hover {
  background: #f0f8ff;
  color: #1a56cc;
  border-color: #1a56cc;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding-bottom: 60px;
}

.page-faq__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__faq-illustration {
  margin: 0 auto 40px;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border from custom colors */
  overflow: hidden;
  background: #ffffff; /* Card B G */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
}
details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}
details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #f5f8fc;
}
.page-faq__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-faq__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: #2F6BFF; /* Main brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #f9fbfc;
  border-radius: 0 0 10px 10px;
  color: #333333; /* Darker text for answer for readability */
}

/* Contact Promo Section */
.page-faq__contact-promo-section {
  padding: 60px 0;
  text-align: center;
  background: #ffffff; /* Card B G */
  border-top: 1px solid #D6E2FF;
}

.page-faq__contact-image {
  margin: 0 auto 30px;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-faq__contact-promo-text {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #1F2D3D;
}

/* General image styling */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-radius: 0 0 10px 10px;
  }

  .page-faq__hero-image-wrapper {
    max-height: 250px;
    margin-bottom: 20px;
  }

  .page-faq__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-faq__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-faq__btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px;
    padding: 12px 20px;
  }

  /* FAQ List Section */
  .page-faq__faq-list-section {
    padding-bottom: 40px;
  }

  .page-faq__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-faq__faq-illustration {
    max-width: 100% !important;
    margin-bottom: 30px;
  }

  details.page-faq__faq-item {
    margin-bottom: 10px;
    border-radius: 8px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__faq-qtext {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 22px;
    width: 25px;
    margin-left: 10px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
  }

  /* Contact Promo Section */
  .page-faq__contact-promo-section {
    padding: 40px 0;
  }

  .page-faq__contact-image {
    max-width: 100% !important;
    margin-bottom: 25px;
  }

  .page-faq__contact-promo-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* Universal image and container responsive styles */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__hero-section,
  .page-faq__faq-list-section,
  .page-faq__contact-promo-section,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific mobile padding for sections to prevent overflow */
  .page-faq__faq-list-section .page-faq__container,
  .page-faq__contact-promo-section .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}