/* FAQ Page Styles */

/* Sidebar Help Box */
.help-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 128, 255, 0.2);
}

.help-box i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.help-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.help-box p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.help-box .btn {
  background: white;
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
}

.help-box .btn:hover {
  background: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Category Sections */
.faq-category-section {
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-color);
}

.category-header i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.category-header h2 {
  color: var(--text-color);
  font-size: 1.8rem;
  margin: 0;
  flex: 1;
}

.category-count {
  background: var(--light-blue-bg);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* FAQ Item */
.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faq-item.active {
  box-shadow: 0 4px 20px rgba(0, 128, 255, 0.2);
}

/* FAQ Question */
.faq-question {
  width: 100%;
  background: white;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.faq-question:hover {
  background: var(--light-blue-bg);
}

.faq-item.active .faq-question {
  background: var(--light-blue-bg);
  color: var(--primary-color);
}

.question-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.question-text i {
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toggle-icon {
  color: var(--primary-color);
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--light-color);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 1.5rem 2rem;
}

.answer-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.answer-content i {
  color: var(--success-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.answer-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  font-size: 1rem;
}

/* Contact Section */
.faq-contact {
  margin-top: 4rem;
  padding: 3rem 0;
}

.contact-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 128, 255, 0.3);
}

.contact-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.contact-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.contact-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card .btn {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
}

.contact-card .btn:hover {
  background: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-state i {
  font-size: 4rem;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-hero h1 {
    font-size: 2rem;
  }

  .faq-hero p {
    font-size: 1rem;
  }

  .faq-hero-content i {
    font-size: 3rem;
  }

  .faq-categories {
    padding: 1.5rem;
  }

  .faq-category-pills {
    gap: 0.75rem;
  }

  .category-pill {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .category-header {
    flex-wrap: wrap;
  }

  .category-header h2 {
    font-size: 1.5rem;
  }

  .category-header i {
    font-size: 1.5rem;
  }

  .faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .question-text {
    gap: 0.75rem;
  }

  .question-text i {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1.2rem 1.5rem;
  }

  .answer-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.5rem;
  }

  .contact-card p {
    font-size: 1rem;
  }

  .contact-card i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .faq-hero {
    padding: 3rem 0;
  }

  .faq-hero h1 {
    font-size: 1.75rem;
  }

  .faq-category-pills {
    flex-direction: column;
  }

  .category-pill {
    width: 100%;
    justify-content: space-between;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .category-header h2 {
    font-size: 1.3rem;
  }
}