/* style/faq.css */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

.page-faq__hero-section {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Using brand colors */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

.page-faq__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure white text on gradient background */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  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-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faq__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-faq__btn-primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

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

.page-faq__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-faq__video-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for video */
  text-align: center;
  color: #ffffff;
}

.page-faq__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FFD700;
  text-align: center;
}

.page-faq__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 30px;
  border-radius: 10px;
}

.page-faq__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-faq__video-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
}

.page-faq__accordion-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Ensure dark background for light text */
  color: #ffffff;
}

.page-faq__faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

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

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

.page-faq__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent font size */
}

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

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

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

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

.page-faq__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #8B0000; /* Auxiliary color for CTA */
  color: #ffffff;
}

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Ensure good contrast */
}

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

.page-faq__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: 2.8em;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__hero-section {
    padding: 60px 0 40px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-faq__main-title {
    font-size: 2.2em;
  }
  .page-faq__intro-text {
    font-size: 1em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__video-section,
  .page-faq__accordion-section,
  .page-faq__cta-section {
    padding: 40px 0;
  }
  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-faq__faq-answer {
    padding: 0 15px;
  }
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.5em;
  }
  .page-faq__btn-large {
    font-size: 1em;
    padding: 15px 25px;
  }
  .page-faq__faq-question h3 {
    font-size: 0.95em;
  }
}