.page-faq__hero-section {
  background-color: #121212; /* Body background from shared.css */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

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

.page-faq__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FF4500;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

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

.page-faq__section-title {
  font-size: 2.2em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 30px;
}

.page-faq__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0; /* Light text for dark body background */
}

.page-faq__content-section {
  background-color: #121212; /* Dark background from shared.css */
  color: #ffffff; /* Light text for dark body background */
  padding: 60px 0;
}

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

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card for dark background */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-faq__question-title {
  margin: 0;
  color: #ffffff;
  font-size: 1em; /* Adjusted for h3 in question */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FF4500;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg);
  color: #1E90FF;
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 25px;
}

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

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

.page-faq__faq-answer a {
  color: #1E90FF;
  text-decoration: none;
}

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

.page-faq__cta-section {
  background-color: #1E90FF;
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-faq__cta-description a {
  color: #FF4500;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__cta-description a:hover {
  text-decoration: underline;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

.page-faq__highlight {
  color: #FF4500;
  font-weight: bold;
}

.page-faq__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }

  .page-faq__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-faq__hero-title {
    font-size: 2em;
  }

  .page-faq__hero-description,
  .page-faq__section-intro,
  .page-faq__cta-description,
  .page-faq__faq-answer p {
    font-size: 1em;
  }

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

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

  .page-faq__faq-answer {
    padding: 0 20px;
  }

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px 20px;
  }

  .page-faq__cta-section {
    padding: 40px 15px;
  }

  .page-faq__cta-title {
    font-size: 1.8em;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
  }

  .page-faq__faq-list {
    padding: 0 15px;
  }
  
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__image-inline {
    margin-left: 0;
    margin-right: 0;
  }
}