/* style/faq.css */
:root {
  --page-faq-primary-color: #1A202C;
  --page-faq-secondary-color: #FFD700;
  --page-faq-text-light: #F0F2F5;
  --page-faq-text-dark: #1A202C;
  --page-faq-background-light: #FFFFFF;
  --page-faq-background-dark: #2D3748;
  --page-faq-border-color: #E0E0E0;
  --page-faq-hover-bg: #F5F5F5;
  --page-faq-active-bg: #FFFBEB;
  --page-faq-accent-color: #FF4500; /* For warnings/highlights */
}

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

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

.page-faq .hero-section {
  background: linear-gradient(135deg, var(--page-faq-primary-color), #2D3748);
  padding: 80px 20px;
  text-align: center;
  color: var(--page-faq-text-light);
  position: relative;
  overflow: hidden;
}

.page-faq .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-faq .hero-content {
  margin-bottom: 40px;
}

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

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

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

.page-faq .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  object-fit: cover;
}

.page-faq .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--page-faq-secondary-color);
  color: var(--page-faq-primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq .cta-button:hover {
  background-color: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

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

.page-faq .faq-category {
  margin-bottom: 50px;
  padding: 30px;
  background-color: var(--page-faq-background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-faq .category-title {
  font-size: 2.2em;
  color: var(--page-faq-primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-faq .category-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-faq-secondary-color);
  border-radius: 2px;
}

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

.page-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--page-faq-background-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-faq .faq-question:hover {
  background-color: var(--page-faq-hover-bg);
}

.page-faq .faq-item.active .faq-question {
  background-color: var(--page-faq-active-bg);
}

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

.page-faq .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--page-faq-secondary-color);
  margin-left: 20px;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: var(--page-faq-active-bg);
  padding: 0 25px;
}

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

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

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

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

.page-faq .faq-answer .faq-cta-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--page-faq-secondary-color);
  color: var(--page-faq-primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-faq .faq-answer .faq-cta-button:hover {
  background-color: #FFC107;
  transform: translateY(-2px);
}

.page-faq .faq-answer img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq .hero-title {
    font-size: 2.8em;
  }
  .page-faq .hero-description {
    font-size: 1.1em;
  }
  .page-faq .category-title {
    font-size: 2em;
  }
  .page-faq .question-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-section {
    padding: 60px 15px;
  }
  .page-faq .hero-title {
    font-size: 2.2em;
  }
  .page-faq .hero-description {
    font-size: 1em;
  }
  .page-faq .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq .content-section {
    padding: 40px 15px;
  }
  .page-faq .faq-category {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-faq .category-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-faq .faq-question {
    padding: 15px 20px;
  }
  .page-faq .question-text {
    font-size: 1em;
  }
  .page-faq .faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
  }
  .page-faq .faq-answer {
    padding: 0 20px;
  }
  .page-faq .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-faq .hero-title {
    font-size: 1.8em;
  }
  .page-faq .hero-description {
    font-size: 0.95em;
  }
  .page-faq .category-title {
    font-size: 1.6em;
  }
  .page-faq .question-text {
    font-size: 0.95em;
  }
  .page-faq .faq-question {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  .page-faq .question-text {
    margin-bottom: 8px;
  }
  .page-faq .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
    margin-right: 5px;
  }
  .page-faq .faq-answer {
    padding: 0 15px;
  }
  .page-faq .faq-item.active .faq-answer {
    padding: 15px;
  }
}