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

.page-faqs__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;
  background-color: #0a0a0a; /* Match body background for seamless transition */
}

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

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

.page-faqs__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-faqs__main-title {
  color: #26A9E0;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  /* Using clamp for responsive font size, but not overly large fixed values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-faqs__intro-text {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-faqs__section-title {
  color: #26A9E0;
  font-size: 2.2rem;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
}

.page-faqs__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0a0a0a; /* Match body background */
}

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

.page-faqs__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly visible on dark background */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faqs__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.15rem;
  background-color: rgba(38, 169, 224, 0.15); /* Main color with transparency */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faqs__faq-item[open] .page-faqs__faq-question {
  border-bottom-color: transparent;
}

.page-faqs__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-faqs__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-faqs__faq-item[open] .page-faqs__faq-toggle {
  transform: rotate(45deg);
}

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

.page-faqs__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-faqs__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-faqs__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-faqs__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for CTA */
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faqs__cta-title {
  color: #26A9E0;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.page-faqs__cta-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-faqs__btn-primary,
.page-faqs__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

/* Ensure details summary marker is hidden */
.page-faqs__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-faqs__faq-item summary {
  list-style: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faqs__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-faqs__section-title {
    font-size: 2rem;
  }
}

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

  .page-faqs__hero-section {
    padding: 40px 15px;
    padding-top: 10px; /* body already handles --header-offset */
  }

  .page-faqs__hero-content {
    padding: 0 15px;
  }

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

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

  .page-faqs__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 25px;
  }

  .page-faqs__content-area {
    padding: 30px 15px;
  }

  .page-faqs__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-faqs__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  
  .page-faqs__hero-image-wrapper,
  .page-faqs__faq-item,
  .page-faqs__content-area,
  .page-faqs__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faqs__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-faqs__btn-primary,
  .page-faqs__btn-secondary {
    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-faqs__cta-section {
    padding: 40px 15px;
  }

  .page-faqs__cta-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .page-faqs__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-faqs__section-title {
    font-size: 1.6rem;
  }
  .page-faqs__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .page-faqs__faq-answer {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  .page-faqs__cta-title {
    font-size: 1.4rem;
  }
}