/* style/faq.css */

/* Body background is #0d0d0d (dark), so main text color should be light */
.page-faq {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles the background */
}

.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 */
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text */
  border-radius: 10px;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1px;
}

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

.page-faq__btn-primary {
  display: inline-block;
  background: #26A9E0; /* Brand primary color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__btn-primary:hover {
  background-color: #1e87b8;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0; /* Brand primary color */
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin: 5px;
}

.page-faq__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-faq__video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: rgba(255, 255, 255, 0.05); /* Light background on dark body */
  text-align: center;
}

.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  text-align: center;
}

.page-faq__section-description {
  font-size: 1.05rem;
  max-width: 800px;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-align: center;
}

.page-faq__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Desktop max width */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  background-color: #000;
  border-radius: 10px;
}

.page-faq__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-faq__video-cta {
    margin-top: 20px;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly darker background for content */
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-faq__faq-item[open] .page-faq__faq-toggle {
  color: #ffffff;
}

.page-faq__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  text-align: left;
}

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

.page-faq__faq-answer .page-faq__btn-secondary {
  margin-top: 10px;
  margin-right: 10px;
}

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

.page-faq__cta-bottom-section {
  background: linear-gradient(90deg, #26A9E0, #1e87b8); /* Gradient with brand color */
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-radius: 10px;
  margin: 30px auto;
  max-width: 1200px;
}

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

.page-faq__cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-faq__cta-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 15px;
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-faq__section-description {
    font-size: 0.95rem;
  }
  .page-faq__faq-item summary {
    font-size: 1.05rem;
  }
  .page-faq__cta-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }
  .page-faq__hero-content {
    padding: 10px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .page-faq__hero-description {
    font-size: 0.95rem;
  }
  .page-faq__btn-primary, .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 5px 0 !important; /* Stack buttons vertically */
  }
  .page-faq__video-section, .page-faq__content-area, .page-faq__cta-bottom-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-faq video, .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq img, .page-faq__image-content, .page-faq__cta-image, .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-faq__cta-bottom-section {
    flex-direction: column;
    gap: 20px;
  }
  .page-faq__cta-image {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-faq__hero-description {
    font-size: 0.9rem;
  }
  .page-faq__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-faq__faq-item summary {
    font-size: 0.95rem;
  }
  .page-faq__cta-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}