/* style/faq.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #1A202C;
  --text-dark: #1A202C;
  --text-light: #FFFFFF;
  --background-light: #F8F8F8;
  --background-dark: #2D3748;
  --border-color: #E0E0E0;
}

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

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

/* Hero Section */
.page-faq .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--background-dark);
  color: var(--text-light);
}

.page-faq .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-faq .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

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

.page-faq .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

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

/* Intro Section */
.page-faq .intro-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-faq .intro-section h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page-faq .intro-section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* FAQ Section */
.page-faq .faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-faq .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-bottom: 1px solid transparent; /* default */
}

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

.page-faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  font-weight: bold;
}

.page-faq .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
}

.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: var(--background-light);
  color: var(--text-dark);
}

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

.page-faq .faq-item.active .faq-question {
  background-color: #e6c200;
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-faq .faq-answer ul,
.page-faq .faq-answer ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

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

.page-faq .faq-answer .btn {
  display: inline-block;
  padding: 10px 25px;
  margin-top: 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faq .faq-answer .btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-faq .faq-answer .btn-primary:hover {
  background-color: #e6c200;
}

.page-faq .faq-answer .btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-faq .faq-answer .btn-secondary:hover {
  background-color: #3f4a5b;
}

.page-faq .faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

/* Call to Action Section */
.page-faq .call-to-action-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

.page-faq .call-to-action-section h2 {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-faq .call-to-action-section p {
  font-size: 1.15em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq .hero-content h1 {
    font-size: 2.5em;
  }
  .page-faq .hero-content p {
    font-size: 1.1em;
  }
  .page-faq .intro-section h2,
  .page-faq .faq-section h2 {
    font-size: 2em;
  }
  .page-faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq .call-to-action-section h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-section {
    padding: 40px 15px;
  }
  .page-faq .hero-content h1 {
    font-size: 2em;
  }
  .page-faq .hero-content p {
    font-size: 1em;
  }
  .page-faq .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-faq .intro-section,
  .page-faq .faq-section,
  .page-faq .call-to-action-section {
    padding: 40px 0;
  }
  .page-faq .intro-section h2,
  .page-faq .faq-section h2 {
    font-size: 1.8em;
  }
  .page-faq .faq-question {
    padding: 15px 20px;
  }
  .page-faq .faq-question h3 {
    font-size: 1em;
  }
  .page-faq .faq-toggle {
    font-size: 1.5em;
  }
  .page-faq .faq-item.active .faq-answer {
    padding: 20px;
  }
  .page-faq .call-to-action-section h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-content h1 {
    font-size: 1.8em;
  }
  .page-faq .faq-question h3 {
    font-size: 0.95em;
  }
}