/* style/ban-ca-online-faq.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-card-dark: rgba(255, 255, 255, 0.08);
  --bg-card-hover-dark: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(255, 255, 255, 0.15);
  --link-color: #00aaff;
  --link-hover-color: #00cfff;
}

.page-ban-ca-online-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Main text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from body, but good to define for sections */
}

/* Fixed navigation bar spacing */
.page-ban-ca-online-faq__hero-faq-section {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-ban-ca-online-faq__hero-faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-ban-ca-online-faq__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-ban-ca-online-faq__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-ban-ca-online-faq__highlight-text {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-ban-ca-online-faq__hero-image-wrapper {
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-ban-ca-online-faq__hero-faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-ban-ca-online-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-ban-ca-online-faq__cta-button:hover {
  background: #ffdb58; /* Slightly lighter secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ban-ca-online-faq__faq-section {
  padding: 60px 20px;
  background-color: var(--bg-dark);
}

.page-ban-ca-online-faq__faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-ban-ca-online-faq__section-title {
  font-size: 2.5em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-ban-ca-online-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca-online-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-ban-ca-online-faq__faq-question:hover {
  background: var(--bg-card-hover-dark);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-ban-ca-online-faq__faq-question:active {
  background: rgba(255, 255, 255, 0.15);
}

.page-ban-ca-online-faq__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none; /* Allow click on parent div */
}

.page-ban-ca-online-faq__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Allow click on parent div */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-ban-ca-online-faq__faq-item.active .page-ban-ca-online-faq__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Visually indicate open state */
}

.page-ban-ca-online-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
}

.page-ban-ca-online-faq__faq-item.active .page-ban-ca-online-faq__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border: 1px solid var(--border-dark);
  border-top: none;
}

.page-ban-ca-online-faq__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-ban-ca-online-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-ban-ca-online-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-ban-ca-online-faq__faq-answer li {
  margin-bottom: 8px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-ban-ca-online-faq__link-in-text {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.page-ban-ca-online-faq__link-in-text:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* Call to Action Section */
.page-ban-ca-online-faq__call-to-action-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  text-align: center;
}

.page-ban-ca-online-faq__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca-online-faq__cta-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-ban-ca-online-faq__cta-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca-online-faq__cta-button--large {
  padding: 18px 50px;
  font-size: 1.2em;
  border-radius: 50px;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-ban-ca-online-faq__cta-button--large:hover {
  background: #0056b3; /* Darker primary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ban-ca-online-faq__main-title {
    font-size: 2.8em;
  }
  .page-ban-ca-online-faq__section-title {
    font-size: 2.2em;
  }
  .page-ban-ca-online-faq__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-ban-ca-online-faq__hero-faq-section {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-ban-ca-online-faq__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  
  .page-ban-ca-online-faq__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-ban-ca-online-faq__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-ban-ca-online-faq__faq-section {
    padding: 40px 15px;
  }

  .page-ban-ca-online-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-ban-ca-online-faq__faq-question {
    padding: 15px 20px;
  }
  
  .page-ban-ca-online-faq__faq-question h3 {
    font-size: 1em;
  }
  
  .page-ban-ca-online-faq__faq-toggle {
    font-size: 1.8em;
    width: 28px;
    height: 28px;
  }
  
  .page-ban-ca-online-faq__faq-answer {
    padding: 0 20px;
  }
  
  .page-ban-ca-online-faq__faq-item.active .page-ban-ca-online-faq__faq-answer {
    padding: 15px 20px !important;
  }

  .page-ban-ca-online-faq__faq-answer p,
  .page-ban-ca-online-faq__faq-answer li {
    font-size: 0.95em;
  }

  .page-ban-ca-online-faq__call-to-action-section {
    padding: 60px 15px;
  }
  
  .page-ban-ca-online-faq__cta-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  
  .page-ban-ca-online-faq__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-ban-ca-online-faq__cta-button--large {
    padding: 15px 40px;
    font-size: 1.1em;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-ban-ca-online-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ban-ca-online-faq__hero-faq-container,
  .page-ban-ca-online-faq__faq-container,
  .page-ban-ca-online-faq__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-ban-ca-online-faq__main-title {
    font-size: 1.8em;
  }
  .page-ban-ca-online-faq__section-title {
    font-size: 1.6em;
  }
  .page-ban-ca-online-faq__cta-title {
    font-size: 1.8em;
  }
  .page-ban-ca-online-faq__cta-button--large {
    padding: 12px 30px;
    font-size: 1em;
  }
}