/* FAQ Grid - Responsive Two Column Layout */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 50px;
  grid-auto-rows: max-content;
  align-items: start;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #d0d0d0;
}

/* FAQ Question - Arrow States */
.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-question h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.faq-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  transition: transform 0.3s ease;
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}

/* Arrow points right by default (closed state) */
.faq-arrow i {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

/* Arrow points down when open */
.faq-question.active .faq-arrow i {
  transform: rotate(90deg);
  color: #007bff;
}

/* FAQ Answer States */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.faq-answer.in {
  max-height: 2000px;
  overflow: visible;
  opacity: 1;
  visibility: visible;
}

.faq-body {
  padding: 0 20px 20px 20px;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
}

.faq-body p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .faq-item {
    margin-bottom: 10px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-question h4 {
    font-size: 15px;
  }

  .faq-body {
    padding: 0 15px 15px 15px;
  }

  .faq-body p {
    font-size: 13px;
  }
}
