/* style/faq.css */

/* Base styles for the page-faq scope */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  overflow: hidden;
}

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

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

.page-faq__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.page-faq__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  box-sizing: border-box;
  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: #1e87bb;
  border-color: #1e87bb;
  transform: translateY(-2px);
}

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

.page-faq__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87bb;
  transform: translateY(-2px);
}

/* Content Section */
.page-faq__content-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-faq__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-faq__faq-question:hover {
  background-color: #f0f8ff;
}

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #e0f2f7;
  color: #26A9E0;
  border-bottom: 1px solid #c0e0eb;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

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

.page-faq__answer-list {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-faq__answer-list li {
  margin-bottom: 10px;
}

.page-faq__answer-list li:last-child {
  margin-bottom: 0;
}

.page-faq__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-faq__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-faq__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.page-faq__btn-contact {
  background-color: #EA7C07; /* Login color for contact button */
  border-color: #EA7C07;
  color: #ffffff;
  padding: 15px 40px;
  font-size: 1.1em;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-contact:hover {
  background-color: #d86c06;
  border-color: #d86c06;
  transform: translateY(-3px);
}

.page-faq__cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 50px 15px;
  }

  .page-faq__content-section {
    padding: 50px 15px;
  }

  .page-faq__section-title {
    font-size: 2.2em;
  }

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

  .page-faq__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding: 40px 15px;
  }

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

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

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

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

  .page-faq__content-section {
    padding: 40px 15px;
  }

  .page-faq__section-title {
    font-size: 2em;
  }

  .page-faq__faq-question {
    padding: 18px 20px;
    font-size: 1.1em;
  }

  .page-faq__faq-answer {
    padding: 18px 20px;
    font-size: 1em;
  }

  .page-faq__cta-section {
    padding: 50px 15px;
  }

  .page-faq__cta-title {
    font-size: 2em;
  }

  .page-faq__cta-description {
    font-size: 1em;
  }

  /* Mobile image and video responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__hero-section,
  .page-faq__content-section,
  .page-faq__cta-section,
  .page-faq__container,
  .page-faq__hero-image-wrapper,
  .page-faq__faq-list,
  .page-faq__faq-item,
  .page-faq__cta-buttons,
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.6em, 8vw, 2.5em);
  }

  .page-faq__section-title {
    font-size: 1.8em;
  }

  .page-faq__cta-title {
    font-size: 1.8em;
  }
}

/* Color contrast specific classes (if needed, applied dynamically or manually) */
.page-faq__dark-bg {
  color: #ffffff;
  background: #26A9E0;
}

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

.page-faq__medium-bg {
  color: #000000;
  background: #FFFFFF;
}

.page-faq__text-block {
  color: #333333;
  background: #ffffff;
}

.page-faq p,
.page-faq li {
  color: #333333;
}

.page-faq__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

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

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

.page-faq__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-faq__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}