/* style/faq.css */
.page-faq {
  --primary-color: #FFD700;
  --secondary-color: #DC143C;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: var(--dark-bg-1);
  color: var(--text-light); /* Assuming body is dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  margin-top: 120px; /* Spacing for fixed header on desktop */
}

.page-faq__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: 3.2em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

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

.page-faq__hero-description a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-faq__hero-description a:hover {
  color: #fff;
}

.page-faq__content-area {
  background: var(--background-dark);
  padding: 60px 20px;
  color: var(--text-light);
}

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

.page-faq__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

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

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-faq__faq-question:hover {
  background: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.page-faq__faq-item.active .page-faq__faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
  background: #fff;
}

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
  font-size: 1.05em;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

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

.page-faq__faq-answer ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__faq-answer strong {
  color: var(--primary-color);
}

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

.page-faq__inline-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-faq__inline-link:hover {
  color: #fff;
}

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-faq__cta-description a {
  color: var(--text-light);
  text-decoration: underline;
  font-weight: bold;
}

.page-faq__cta-description a:hover {
  color: var(--primary-color);
}

.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: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.page-faq__btn-primary {
  background: #fff;
  color: var(--secondary-color);
  border: 2px solid #fff;
}

.page-faq__btn-primary:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-faq__btn-secondary:hover {
  background: #fff;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px 30px;
    margin-top: 100px; /* Spacing for fixed header on mobile */
  }

  .page-faq__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-faq__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-faq__content-area {
    padding: 40px 15px;
  }

  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  
  .page-faq__faq-question h3 {
    font-size: 1.1em;
    width: calc(100% - 40px);
  }
  
  .page-faq__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-faq__faq-answer {
    padding: 0 20px;
    font-size: 0.95em;
  }
  
  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px 20px !important;
  }

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

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

  .page-faq__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__faq-question h3 {
    font-size: 1em;
  }
  .page-faq__faq-toggle {
    font-size: 22px;
    width: 24px;
    height: 24px;
  }
}