/* ============================================ */

/* FAQ PAGE STYLES */

/* ============================================ */

/* FAQ HERO */

.faq-hero {
  /*min-height: 50vh;*/
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.95), rgba(46, 125, 50, 0.95)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=1200&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 0 3rem;
  color: #ffffff;
  text-align: center;
}

.faq-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.faq-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.faq-search-box {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.faq-search-box i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-secondary);
  z-index: 1;
}

.faq-search-box .form-control {
  padding: 1rem 1.5rem 1rem 3.5rem;
  border-radius: var(--radius-full);
  border: none;
  font-size: 1rem;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ CATEGORIES */

.faq-categories-section {
  padding: 2rem 0;
  background: var(--background);
}

.faq-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.faq-category-btn {
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.faq-category-btn:hover {
  border-color: var(--primary-solid);
  color: var(--primary-solid);
  transform: translateY(-2px);
}

.faq-category-btn.active {
  background: var(--primary-solid);
  border-color: var(--primary-solid);
  color: white;
}

.faq-category-btn i {
  font-size: 1.2rem;
}

/* FAQ CONTENT */

.faq-content-section {
  padding: 3rem 0;
  background: var(--background);
}

.faq-group {
  margin-bottom: 3rem;
}

.faq-group-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary-solid);
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px var(--shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  flex: 1;
  padding-right: 1rem;
}

.faq-question i {
  font-size: 1.5rem;
  color: var(--primary-solid);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul, .faq-answer ol {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* FAQ CONTACT SECTION */

.faq-contact-section {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  padding: 5rem 0;
}

.faq-contact-card {
  /*background: var(--accent);*/
  /*border-radius: var(--radius-lg);*/
  padding: 3rem 2rem;
  text-align: center;
  /*border: 1px solid var(--border-color);*/
  max-width: 600px;
  margin: 0 auto;
}

.faq-contact-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.faq-contact-card p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 2rem;
}

.contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* SEARCH HIGHLIGHT */

.search-highlight {
  background: yellow;
  color: #000;
  padding: 0 0.2rem;
  border-radius: 3px;
}

/* NO RESULTS */

.no-results {
  text-align: center;
  padding: 4rem 2rem;
}

.no-results-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--text-secondary);
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.no-results p {
  color: var(--text-secondary);
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {
  .faq-hero {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 768px) {
  .faq-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .faq-hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .faq-categories-grid {
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .faq-category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .faq-group-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .faq-question {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .contact-options {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .contact-options .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .faq-hero-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .faq-search-box .form-control {
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
  }
}

@media (max-width: 576px) {
  .faq-category-btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .faq-contact-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .faq-contact-card h2 {
    font-size: 1.5rem;
  }
}

/* DARK MODE */

[data-bs-theme="dark"] .faq-hero, .dark-mode .faq-hero {
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.9) 0%, rgba(46, 125, 50, 0.8) 100%);
}

[data-bs-theme="dark"] .faq-search-box .form-control, .dark-mode .faq-search-box .form-control {
  background: var(--card-bg);
  color: var(--text-primary);
}

[data-bs-theme="dark"] .faq-category-btn, .dark-mode .faq-category-btn, [data-bs-theme="dark"] .faq-item, .dark-mode .faq-item {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-bs-theme="dark"] .faq-contact-card, .dark-mode .faq-contact-card {
  background: var(--accent);
  border-color: var(--border-color);
}

[data-bs-theme="dark"] .search-highlight, .dark-mode .search-highlight {
  background: #FFC107;
  color: #000;
}

