.page-faq {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

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

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

.page-faq__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem); /* Using clamp for responsive H1 */
}

.page-faq__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-faq__hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-faq__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.page-faq__button--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
}

.page-faq__button--primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-faq__button--secondary {
  background-color: #6FA3FF;
  color: #FFFFFF;
  border: 2px solid #6FA3FF;
}

.page-faq__button--secondary:hover {
  background-color: #2F6BFF;
  border-color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(111, 163, 255, 0.4);
}

.page-faq__questions-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-faq__section-title {
  font-size: 2.2rem;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #1F2D3D;
  cursor: pointer;
  position: relative;
  user-select: none;
  background-color: #FFFFFF;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-faq__accordion-item.active .page-faq__accordion-header::after {
  transform: rotate(45deg);
}

.page-faq__accordion-content {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__accordion-item.active .page-faq__accordion-content {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

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

.page-faq__link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-right: 15px;
}

.page-faq__link:hover {
  color: #6FA3FF;
  text-decoration: underline;
}

.page-faq__contact-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #F4F7FB;
}

.page-faq__contact-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-faq__contact-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-bottom: 30px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .page-faq__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-faq__button {
    width: 100%;
    padding: 10px 20px;
  }

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

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

  .page-faq__accordion-content {
    font-size: 0.95rem;
    padding: 0 15px 15px;
  }

  .page-faq__contact-text {
    font-size: 1rem;
  }

  /* Ensure all images within .page-faq are responsive and don't overflow */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
  .page-faq__contact-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-faq__container {
    padding: 10px;
  }
}