:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #DC143C; /* Crimson */
  --dark-bg: #1a1a1a;
  --medium-dark-bg: #2a2a2a;
  --light-text: #f0f0f0;
  --white-text: #ffffff;
  --border-color: #444444;
}

.page-faq {
  font-family: 'Arial', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  padding-bottom: 50px; /* Add some space above footer */
}

.page-faq a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

/* Hero Section for FAQ */
.page-faq-hero {
  background: linear-gradient(135deg, var(--medium-dark-bg), var(--dark-bg));
  padding: 60px 0;
  text-align: center;
  border-bottom: 2px solid var(--secondary-color);
  margin-bottom: 40px;
}

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

.page-faq-hero p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--light-text);
}

.page-faq-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-faq-cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--secondary-color);
  color: var(--white-text);
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq-cta-button:hover {
  background-color: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

/* FAQ Section */
.page-faq-section h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.faq-item {
  background-color: var(--medium-dark-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.faq-question:hover {
  background-color: #3a3a3a;
  border-color: var(--primary-color);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 20px;
  background-color: #222222; /* Slightly darker than question for contrast */
  color: var(--light-text);
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Sufficient height for content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

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

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

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

.page-faq-image-inline {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Final CTA Section */
.page-faq-final-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: var(--medium-dark-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.page-faq-final-cta h3 {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-faq-final-cta p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--light-text);
}

.page-faq-final-cta .page-faq-cta-button.primary {
  background-color: var(--primary-color);
  color: var(--dark-bg);
}

.page-faq-final-cta .page-faq-cta-button.primary:hover {
  background-color: var(--secondary-color);
  color: var(--white-text);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-hero h1 {
    font-size: 2.2em;
  }
  .page-faq-section h2 {
    font-size: 1.8em;
  }
  .faq-question h3 {
    font-size: 1.2em;
  }
  .page-faq-cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-faq-final-cta h3 {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-faq-hero {
    padding: 40px 0;
  }
  .page-faq-hero h1 {
    font-size: 1.8em;
  }
  .page-faq-hero p {
    font-size: 1em;
  }
  .page-faq-section h2 {
    font-size: 1.6em;
  }
  .faq-question {
    padding: 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-answer {
    padding: 15px;
  }
  .page-faq-final-cta h3 {
    font-size: 1.6em;
  }
  .page-faq-cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq-hero h1 {
    font-size: 1.5em;
  }
  .page-faq-hero p {
    font-size: 0.9em;
  }
  .page-faq-section h2 {
    font-size: 1.4em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer ul {
    margin-left: 15px;
  }
  .page-faq-final-cta h3 {
    font-size: 1.4em;
  }
}