/* style/faq.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #4B0082; /* Indigo/Deep Purple */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #1a1a1a;
  --border-color: #e0e0e0;
  --button-hover-bg: #c0c0c0; /* Lighter grey for hover */
  --button-text-color: #000000;
}

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

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

.page-faq a:hover {
  text-decoration: underline;
}

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

/* Hero Banner Section */
.page-faq .hero-faq-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-color-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-faq .faq-banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq .faq-main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-faq .faq-intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq .faq-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

/* CTA Button in Banner */
.page-faq .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--button-text-color);
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-faq .cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

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

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

.page-faq .faq-category {
  margin-bottom: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.page-faq .faq-category-title {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
}

.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: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #fdfdfd;
  padding: 0 25px;
}

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

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

.page-faq .faq-answer ol, .page-faq .faq-answer ul {
  margin: 15px 0;
  padding-left: 25px;
  color: var(--text-color-dark);
}

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

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

.page-faq .faq-answer .small-button {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

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

/* Call to Action Bottom */
.page-faq .call-to-action-bottom {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-faq .cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-faq .cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-faq .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq .cta-button.main-cta {
  background-color: var(--primary-color);
  color: var(--button-text-color);
}

.page-faq .cta-button.secondary-cta {
  background-color: #ffffff;
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq .faq-main-title {
    font-size: 2.8em;
  }

  .page-faq .section-title {
    font-size: 2.2em;
  }

  .page-faq .faq-category-title {
    font-size: 1.8em;
  }

  .page-faq .faq-question h3 {
    font-size: 1.2em;
  }

  .page-faq .cta-title {
    font-size: 2.4em;
  }

  .page-faq .cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq .hero-faq-banner {
    padding: 60px 15px;
  }

  .page-faq .faq-main-title {
    font-size: 2.2em;
  }

  .page-faq .faq-intro-text {
    font-size: 1em;
  }

  .page-faq .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-faq .faq-category {
    padding: 20px;
  }

  .page-faq .faq-category-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-faq .faq-question {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-faq .faq-question h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
  }

  .page-faq .faq-toggle {
    align-self: flex-end;
    margin-top: -25px;
  }

  .page-faq .faq-answer {
    padding: 0 20px;
  }

  .page-faq .faq-item.active .faq-answer {
    padding: 20px;
  }

  .page-faq .cta-title {
    font-size: 2em;
  }

  .page-faq .cta-description {
    font-size: 0.95em;
  }

  .page-faq .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-faq .faq-main-title {
    font-size: 1.8em;
  }

  .page-faq .section-title {
    font-size: 1.5em;
  }

  .page-faq .faq-category-title {
    font-size: 1.4em;
  }

  .page-faq .faq-question h3 {
    font-size: 1em;
  }

  .page-faq .cta-title {
    font-size: 1.6em;
  }
}