/* style/faq.css */

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

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

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #1a1a1a; /* Slightly lighter dark background for hero */
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%; /* Ensure image does not overflow */
}

.page-faq__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap image slightly for visual effect, but text is below image in DOM */
  position: relative;
  z-index: 1;
  background: rgba(18, 18, 18, 0.8); /* Semi-transparent dark background for text block */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-faq__intro-section {
  padding: 60px 0;
  background-color: #121212;
  color: #ffffff;
  text-align: center;
}

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

.page-faq__text-block {
  font-size: 1rem;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-faq__content-area {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-faq__faq-item {
  background-color: #262626; /* Darker background for FAQ items */
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #2e2e2e;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.page-faq__faq-answer {
  padding: 20px;
  background-color: #1f1f1f;
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid #333333;
}

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

.page-faq__image-answer {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 6px;
}

.page-faq__cta-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
  text-align: center;
}

.page-faq__cta-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin-bottom: 40px;
  border-radius: 8px;
}

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

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

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

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

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

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

/* Custom color for Login button if needed - not explicitly in HTML for now */
.page-faq__btn-login {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-faq__btn-login:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__container {
    padding: 0 15px !important;
  }

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

  .page-faq__hero-content {
    padding: 20px 15px !important;
    margin-top: -40px; /* Adjust overlap for mobile */
  }

  .page-faq__main-title {
    font-size: 2rem !important;
  }

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

  .page-faq__intro-section,
  .page-faq__content-area,
  .page-faq__cta-section {
    padding: 40px 0 !important;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8rem !important;
  }

  .page-faq__text-block,
  .page-faq__faq-answer p,
  .page-faq__cta-description {
    font-size: 0.95rem !important;
  }

  .page-faq__faq-question {
    font-size: 1.1rem !important;
    padding: 15px !important;
  }

  .page-faq img,
  .page-faq__image-answer {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
  }
}