/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background, WCAG AA contrast with #0F1A2E */
  background-color: #0F1A2E; /* Slightly darker than main primary for background */
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__hero-section {
  background: linear-gradient(135deg, #1A2B4C, #0F1A2E);
  padding: 80px 0;
  text-align: center;
  color: #FFD700; /* Gold for main titles on dark background, WCAG AA contrast with #1A2B4C */
}

.page-faq__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.page-faq__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A2B4C; /* Dark blue, WCAG AA contrast with #FFD700 */
  border: 2px solid #FFD700;
}

.page-faq__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-faq__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold, WCAG AA contrast with #1A2B4C */
  border: 2px solid #FFD700;
}

.page-faq__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  transform: translateY(-2px);
}

.page-faq__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FFD700;
  color: #1A2B4C; /* Dark blue, WCAG AA contrast with #FFD700 */
  border: none;
}

.page-faq__btn--small:hover {
  background-color: #e6c200;
}

.page-faq__faq-list {
  padding: 60px 0;
  background-color: #12203F; /* Darker background for FAQ list */
}

.page-faq__accordion {
  background-color: #1A2B4C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-faq__accordion-item {
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  background-color: #243B60; /* Slightly lighter dark blue for headers */
  color: #FFD700; /* Gold for accordion headers, WCAG AA contrast with #243B60 */
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.8em;
  margin: 0;
  position: relative;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-faq__accordion-header:hover {
  background-color: #2F4C7A;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-faq__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background-color: #1A2B4C;
  padding: 0 30px;
}

.page-faq__accordion-content.open {
  max-height: 1000px; /* Adjust as needed */
  padding: 20px 30px;
}

.page-faq__question {
  margin-bottom: 25px;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.1);
  padding-bottom: 20px;
}

.page-faq__question:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-faq__question-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold for questions, WCAG AA contrast with #1A2B4C */
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
}

.page-faq__question-title::before {
  content: 'Q.';
  color: #E0E0E0; /* Light gray, WCAG AA contrast with #1A2B4C */
  font-weight: bold;
  margin-right: 10px;
}

.page-faq__answer {
  font-size: 1.1em;
  line-height: 1.8;
  color: #E0E0E0; /* Light gray, WCAG AA contrast with #1A2B4C */
  padding-left: 30px;
}

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

.page-faq__answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-faq__answer a:hover {
  color: #e6c200;
}

.page-faq__image--inline {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-bottom {
  background-color: #0F1A2E;
  padding: 80px 0;
  text-align: center;
  color: #E0E0E0;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-faq__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__main-title {
    font-size: 2.5em;
  }

  .page-faq__hero-description,
  .page-faq__cta-description {
    font-size: 1em;
  }

  .page-faq__accordion-header {
    font-size: 1.4em;
    padding: 15px 20px;
  }

  .page-faq__question-title {
    font-size: 1.2em;
  }

  .page-faq__answer {
    font-size: 1em;
    padding-left: 20px;
  }

  .page-faq__accordion-content.open {
    padding: 15px 20px;
  }

  .page-faq__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-faq__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 2em;
  }

  .page-faq__hero-section {
    padding: 50px 0;
  }

  .page-faq__accordion-header {
    font-size: 1.2em;
    padding: 12px 15px;
  }

  .page-faq__question-title {
    font-size: 1.1em;
  }

  .page-faq__answer {
    font-size: 0.95em;
  }

  .page-faq__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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