/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000000, so use light text */
  background-color: transparent; /* Main content background will be transparent, letting body background show */
}

.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;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1A7BB5); /* Brand colors for hero background */
  color: #ffffff;
  overflow: hidden;
}

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

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

.page-faq__hero-content {
  z-index: 1;
  position: relative;
  max-width: 800px;
}

.page-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for H1 font size */
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.page-faq__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(234, 124, 7, 0.4);
}

.page-faq__btn-primary:hover {
  background: #d46d06;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 124, 7, 0.5);
}

.page-faq__introduction-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
  text-align: center;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand color for section titles */
}

.page-faq__text-block {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f8ff;
}

.page-faq__accordion-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for FAQ section */
  color: #ffffff;
}

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

.page-faq__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-faq__faq-item[open] {
  background-color: #3a3a3a;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #f0f8ff;
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for details/summary */
}

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

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

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

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

.page-faq__faq-answer p {
  margin-bottom: 10px;
  color: #cccccc;
}

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

.page-faq__faq-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  max-width: 600px; /* Constrain FAQ images */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-faq__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-faq__link:hover {
  text-decoration: underline;
}

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__cta-text {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #f0f8ff;
}

.page-faq__btn-secondary {
  background: #26A9E0;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(38, 169, 224, 0.4);
}

.page-faq__btn-secondary:hover {
  background: #1e8fc2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 169, 224, 0.5);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-faq__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    margin-bottom: 10px; /* Add margin between stacked buttons */
  }

  .page-faq__hero-content .page-faq__btn-primary { /* Specific for hero button if needed */
    margin-bottom: 0; /* Remove extra margin if only one button */
  }

  .page-faq__cta-bottom .page-faq__btn-secondary {
    margin-bottom: 0;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-faq__text-block {
    font-size: 0.95rem;
  }

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

  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  .page-faq__cta-text {
    font-size: 1rem;
  }

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

  .page-faq__hero-image-wrapper,
  .page-faq__container,
  .page-faq__introduction-section,
  .page-faq__accordion-section,
  .page-faq__faq-item,
  .page-faq__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

  .page-faq__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}