/* style/faq.css */
.page-faq {
  color: #ffffff; /* Body background is dark, so text should be light */
}

.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 */
  background: #0a0a0a; /* Ensure hero section has a background to contrast with text */
}

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

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

.page-faq__hero-content {
  text-align: center;
  max-width: 900px;
  color: #ffffff;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Use clamp for H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

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

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background: #EA7C07; /* Custom login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

.page-faq__content-section {
  padding: 80px 20px;
  background: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-faq__section-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-faq__faq-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
  color: #ffffff;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  text-align: center;
  color: #26A9E0;
}

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

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

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

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

.page-faq__faq-answer a:hover {
  text-decoration: none;
}

.page-faq__cta-bottom-section {
  padding: 80px 20px;
  background: #ffffff; /* Light background for contrast */
  text-align: center;
  color: #333333;
}

.page-faq__cta-bottom-section .page-faq__section-title {
  color: #333333;
}

.page-faq__cta-bottom-section .page-faq__description {
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-section,
  .page-faq__content-section,
  .page-faq__cta-bottom-section {
    padding: 40px 15px;
  }

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

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

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }

  /* Images responsive */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__hero-image-wrapper,
  .page-faq__container,
  .page-faq__content-section,
  .page-faq__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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__main-title {
    font-size: 2rem;
  }

  .page-faq__section-title {
    font-size: 1.8rem;
  }

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

  .page-faq__faq-item summary {
    font-size: 0.95rem;
  }

  .page-faq__faq-answer {
    font-size: 0.9rem;
  }
}