/* css/faq.css */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a202c;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(0,87,183,0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #0057b7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  background: rgba(0,87,183,0.02);
  color: #2d3748;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 2000px; /* Достатньо велике значення для вмісту */
  padding: 0 24px 20px 24px;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}