/* style/faq.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark Blue/Grey */
  --text-light: #F8F8F8;
  --text-dark: #1A202C;
  --background-dark: #1A202C;
  --background-light: #F0F2F5;
  --accent-color: #FF4500; /* Orange-Red for highlights */
}

.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
}

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

/* Hero Section */
.page-faq .hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #3a3f4c 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-faq .hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq .hero-section h1 {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-faq .hero-section p {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq .cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* FAQ Section */
.page-faq .faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-faq .faq-section h2 {
  font-size: 2.5em;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-faq .section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-faq .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.page-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-faq .faq-question:hover {
  background: #f5f5f5;
}

.page-faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
  flex-grow: 1;
}

.page-faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: var(--text-dark);
}

.page-faq .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

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

.page-faq .faq-answer p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-faq .faq-answer a.page-faq.btn-small {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 10px;
}

.page-faq .faq-answer a.page-faq.btn-small:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* CTA Bottom Section */
.page-faq .cta-bottom-section {
  background: linear-gradient(135deg, var(--primary-color), #e6c200);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-dark);
}

.page-faq .cta-bottom-section h2 {
  font-size: 2.8em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-faq .cta-bottom-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-dark);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq .cta-button.large {
  padding: 18px 50px;
  font-size: 1.25em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq .hero-section h1 {
    font-size: 3em;
  }
  .page-faq .hero-section p {
    font-size: 1.1em;
  }
  .page-faq .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-faq .faq-section h2 {
    font-size: 2.2em;
  }
  .page-faq .faq-question h3 {
    font-size: 1.15em;
  }
  .page-faq .cta-bottom-section h2 {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-section {
    padding: 60px 0;
  }
  .page-faq .hero-section h1 {
    font-size: 2.5em;
  }
  .page-faq .hero-section p {
    font-size: 1em;
  }
  .page-faq .faq-section {
    padding: 40px 0;
  }
  .page-faq .faq-section h2 {
    font-size: 2em;
  }
  .page-faq .section-description {
    font-size: 1em;
  }
  .page-faq .faq-question {
    padding: 15px 20px;
  }
  .page-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq .faq-toggle {
    font-size: 20px;
  }
  .page-faq .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-faq .cta-bottom-section {
    padding: 40px 15px;
  }
  .page-faq .cta-bottom-section h2 {
    font-size: 2em;
  }
  .page-faq .cta-bottom-section p {
    font-size: 1em;
  }
  .page-faq .cta-button.large {
    padding: 15px 40px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-section h1 {
    font-size: 2em;
  }
  .page-faq .hero-section p {
    font-size: 0.9em;
  }
  .page-faq .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-faq .faq-section h2 {
    font-size: 1.8em;
  }
  .page-faq .faq-question h3 {
    font-size: 1em;
  }
  .page-faq .faq-toggle {
    font-size: 18px;
  }
  .page-faq .cta-bottom-section h2 {
    font-size: 1.8em;
  }
  .page-faq .cta-bottom-section p {
    font-size: 0.9em;
  }
  .page-faq .cta-button.large {
    padding: 12px 30px;
    font-size: 1em;
  }
}