/* style/faq.css */
.page-faq {
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

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

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

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

.page-faq__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #ffffff;
}

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

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

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style-position: inside;
}

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

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

.page-faq__cta-section {
  background-color: #1a1a1a;
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

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

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

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

.page-faq__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Override for specific buttons if needed */
.page-faq__faq-answer a[href="login.html"],
.page-faq__cta-buttons a[href="login.html"] {
  background-color: #EA7C07;
  border-color: #EA7C07;
  color: #ffffff;
}

.page-faq__faq-answer a[href="login.html"]:hover,
.page-faq__cta-buttons a[href="login.html"]:hover {
  background-color: #c96806;
  border-color: #c96806;
}

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

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

  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

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

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

  .page-faq__faq-answer {
    padding: 18px 20px;
    font-size: 0.95rem;
  }
}

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

  .page-faq__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles header offset, this is decorative */
  }

  .page-faq__hero-content {
    padding: 10px;
  }

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

  .page-faq__description {
    font-size: 0.95rem;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    padding: 15px 18px;
    font-size: 1rem;
  }

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

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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 video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}