/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  order: 1; /* Image appears first in DOM */
}

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

.page-faq__hero-content {
  order: 2; /* Content appears after image in DOM */
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-faq__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

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

.page-faq__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-faq__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Primary brand color */
  border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7a9e;
  border-color: #1a7a9e;
}

.page-faq__introduction-section,
.page-faq__faq-list-section,
.page-faq__cta-section {
  padding: 60px 20px;
  text-align: center;
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0; /* Primary brand color */
}

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

.page-faq__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: left;
  color: #333333;
}

.page-faq__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
}

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

.page-faq__image-wrapper--bottom {
  margin-top: 60px;
}

.page-faq__subtitle {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #555555;
}

.page-faq__faq-items {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0; /* Primary brand color */
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #eaf6fa;
  border-bottom-color: #d0e7f0;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  text-align: left;
}

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

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

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

.page-faq__cta-section {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-faq__description--white {
  color: #FFFFFF;
}

.page-faq__btn-primary--large {
  padding: 16px 32px;
  font-size: 1.1em;
}

.page-faq__btn-secondary--large {
  padding: 16px 32px;
  font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }
  .page-faq__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-faq__description {
    font-size: 1em;
  }
  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 40px; /* Small top padding, body handles header offset */
  }
  .page-faq__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-faq__description {
    font-size: 0.95em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    padding: 30px 15px;
  }
  .page-faq__container {
    padding-left: 0px;
    padding-right: 0px;
  }
  .page-faq__text-block {
    padding: 0 15px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile responsive images */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__hero-image-wrapper,
  .page-faq__image-wrapper,
  .page-faq__container,
  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section,
  .page-faq__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-faq__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.6em, 7vw, 2em);
  }
  .page-faq__section-title {
    font-size: clamp(1.4em, 6vw, 2em);
  }
  .page-faq__description {
    font-size: 0.9em;
  }
  .page-faq__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px 12px;
  }
}

/* Contrast Fixes (if needed, though design aims for good contrast) */
.page-faq__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-faq__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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