/* style/faq.css */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #111, so text should be light */
}

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

.page-faq__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 400px;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

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

.page-faq__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-faq__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-faq__content-area {
  padding: 60px 0;
  background-color: #111; /* Keep content area dark as body */
  color: #ffffff; /* Light text on dark background */
}

.page-faq__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
}

.page-faq__faq-list {
  margin-top: 30px;
}

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08); /* Even lighter for question */
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-faq__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #26A9E0; /* Brand color for toggle icon */
}

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Slightly off-white for body text */
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
  padding-top: 0;
}

.page-faq__faq-answer p {
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  object-fit: cover;
}

.page-faq__cta-bottom {
  text-align: center;
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand color for CTA bottom */
  color: #ffffff;
  border-radius: 12px;
  margin-top: 60px;
}

.page-faq__cta-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.5em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
}

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

  .page-faq__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }

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

  .page-faq__intro-text {
    font-size: 1em;
  }

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

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

  .page-faq__content-area {
    padding: 40px 0;
  }

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

  .page-faq__faq-question {
    padding: 15px;
  }

  .page-faq__faq-heading {
    font-size: 1.1em;
  }

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

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px;
    padding-top: 0;
  }

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

  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

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

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }

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

  .page-faq__faq-heading {
    font-size: 1em;
  }
}