/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #FFFFFF;
  text-align: center;
}

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

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-faq__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-faq__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8cc4;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-faq__section-title--white {
  color: #ffffff;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  color: #333333;
}

.page-faq__faq-item--dark {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-faq__faq-item--dark .page-faq__faq-question {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-faq__faq-item--dark .page-faq__faq-answer {
  color: #f0f0f0;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #1a8cc4;
}

.page-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-faq__section {
  padding: 60px 20px;
}

.page-faq__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-faq__dark-section .page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-faq__dark-section .page-faq__faq-question {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.page-faq__dark-section .page-faq__faq-answer {
  color: #f0f0f0;
}

.page-faq__dark-section .page-faq__faq-answer a {
  color: #ffffff;
}

.page-faq__dark-section .page-faq__faq-answer a:hover {
  color: #e0e0e0;
}

.page-faq__cta-bottom {
  background-color: #26A9E0;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

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

.page-faq__cta-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__section,
  .page-faq__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-faq__description {
    font-size: 1em;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__content-area,
  .page-faq__section {
    padding: 30px 15px;
  }

  .page-faq__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-faq__faq-answer {
    padding: 15px 20px;
  }

  .page-faq__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-faq__cta-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }

  /* Ensure all containers are responsive */
  .page-faq__hero-image-wrapper,
  .page-faq__hero-content,
  .page-faq__content-area,
  .page-faq__section,
  .page-faq__container,
  .page-faq__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}