/* FAQ Page Specific Styles */

/* FAQ Hero Section */
.faq-hero-section {
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #1a472a 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.faq-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/images/koala-pattern.png") repeat;
  opacity: 0.1;
  z-index: 1;
}

.faq-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.faq-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.faq-hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.faq-search {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #333;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1aa085 100%);
}

/* FAQ Categories Section */
.faq-categories-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.faq-categories-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a472a;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card:hover::before,
.category-card.active::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card.active {
  border: 2px solid #28a745;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.3rem;
  color: #1a472a;
  margin-bottom: 1rem;
  font-weight: 600;
}

.category-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* FAQ Content Section */
.faq-content-section {
  padding: 4rem 0;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 4rem;
}

.category-title {
  font-size: 2rem;
  color: #1a472a;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #28a745;
  display: inline-block;
}

.faq-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.search-match {
  border: 2px solid #28a745;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.faq-question h3 {
  color: #1a472a;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
  line-height: 1.4;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #28a745;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: #28a745;
  color: white;
}

.faq-answer {
  padding: 0 2rem 2rem;
  color: #555;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-answer p {
  margin-bottom: 1rem;
}

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

.faq-answer ul,
.faq-answer ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

.faq-answer strong {
  color: #1a472a;
  font-weight: 600;
}

/* FAQ Contact Section */
.faq-contact-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
  color: white;
}

.contact-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #90ee90;
}

.contact-cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-hero-content h1 {
    font-size: 2rem;
  }

  .faq-hero-description {
    font-size: 1.1rem;
  }

  .faq-search {
    flex-direction: column;
    border-radius: 12px;
  }

  .search-input {
    border-radius: 12px 12px 0 0;
  }

  .search-btn {
    border-radius: 0 0 12px 12px;
  }

  .faq-categories-section h2 {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-title {
    font-size: 1.5rem;
  }

  .faq-question {
    padding: 1rem 1.5rem;
  }

  .faq-answer {
    padding: 0 1.5rem 1.5rem;
  }

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

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

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

  .faq-categories-section,
  .faq-content-section,
  .faq-contact-section {
    padding: 2rem 0;
  }

  .category-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
  }

  .faq-answer ul,
  .faq-answer ol {
    padding-left: 1.5rem;
  }
}
