/* style/faq.css */
.page-faq {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-dark: #1A202C;
  --text-light: #FFFFFF;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --border-color: #E0E0E0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq .faq-hero-section {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-faq .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-faq .hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #E0E0E0;
}

.page-faq .hero-description .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-faq .hero-description a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-faq .hero-description a:hover {
  color: #FFF;
}

.page-faq .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-button:hover {
  background: #FFF;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq .cta-button.small-button {
  padding: 10px 25px;
  font-size: 1em;
}

.page-faq .faq-content-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--bg-white);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.faq-item .faq-question:hover {
  background: #f0f0f0;
}

.faq-item .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--text-dark);
  font-weight: 600;
}

.faq-item .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 20px;
  color: #333;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Sufficient height to accommodate content */
  padding: 20px;
  background: #fcfcfc;
}

.faq-item .faq-answer p {
  margin-bottom: 15px;
}

.page-faq .faq-answer h4 {
  font-size: 1.1em;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

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

.page-faq .faq-answer ul li {
  margin-bottom: 5px;
}

.page-faq .faq-answer .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-faq .faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-faq .faq-answer a:hover {
  color: var(--primary-color);
}

.page-faq .faq-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq .hero-title {
    font-size: 2.8em;
  }
  .page-faq .hero-description {
    font-size: 1.1em;
  }
  .faq-item .faq-question h3 {
    font-size: 1.2em;
  }
  .page-faq .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-faq .faq-hero-section {
    padding: 60px 0;
  }
  .page-faq .hero-title {
    font-size: 2.2em;
  }
  .page-faq .hero-description {
    font-size: 1em;
  }
  .faq-item .faq-question {
    padding: 15px;
  }
  .faq-item .faq-question h3 {
    font-size: 1.1em;
    padding-right: 10px;
  }
  .faq-item .faq-toggle {
    font-size: 1.5em;
  }
  .faq-item .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-faq .faq-content-section {
    padding: 40px 0;
  }
  .page-faq .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-title {
    font-size: 1.8em;
  }
  .page-faq .hero-description {
    font-size: 0.95em;
  }
  .page-faq .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .faq-item .faq-question h3 {
    font-size: 1em;
  }
  .faq-item .faq-toggle {
    font-size: 1.2em;
  }
}