.page-faq {
  color: #ffffff;
  background-color: #121212; /* Body background from shared.css */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

.page-faq__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__hero-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

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

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

.page-faq__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-faq__faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.page-faq__faq-category {
  flex: 1 1 calc(50% - 15px);
  min-width: 300px;
}

.page-faq__category-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
  padding-bottom: 10px;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

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

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

.page-faq__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03);
}

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

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

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 12px;
  margin-top: 50px;
}

.page-faq__cta-title {
  font-size: 2.2rem;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8rem;
  }
  .page-faq__faq-category {
    flex: 1 1 calc(100% - 0px);
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__hero-title {
    font-size: 2.5rem;
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-faq__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
  }
  .page-faq__cta-description {
    font-size: 1rem;
  }
  .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;
    margin: 0 0 15px 0 !important;
  }
  .page-faq__cta-section {
    padding: 40px 15px;
  }
  .page-faq__content-area {
    padding: 30px 15px;
  }
  .page-faq__faq-list {
    gap: 20px;
  }
  .page-faq__faq-category {
    min-width: unset;
  }
  .page-faq__faq-item img,
  .page-faq__hero-section img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__container,
  .page-faq__cta-section,
  .page-faq__faq-category,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__hero-section .page-faq__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2rem;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
  }
  .page-faq__category-title {
    font-size: 1.5rem;
  }
  .page-faq__cta-title {
    font-size: 1.6rem;
  }
}