body {
  background-color: #fdfdfd; /* Soft white background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #111111;
  font-weight: 700;
}

.faq-item {
  background: linear-gradient(145deg, #ffffff, #f8f8f8); /* subtle gradient */
  border-left: 4px solid #0072ff; /* blue accent */
  margin-bottom: 20px;
  padding: 20px 25px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 0.6s forwards;
  cursor: pointer; /* shows it's interactive */
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

.faq-item:hover {
  background: #f0f8ff; /* light blue on hover */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: #111111;
  transition: color 0.3s ease;
}

.faq-item:hover h3 {
  color: #0072ff; /* heading changes color on hover */
}

.faq-item i {
  color: #0072ff; /* icon color */
  margin-right: 10px;
  transition: transform 0.4s ease, color 0.3s ease;
}

.faq-item:hover i {
  transform: rotate(20deg);
  color: #005bb5;
}

.faq-item p,
.faq-item ul {
  color: #333333;
  line-height: 1.8;
  font-size: 1rem;
}

.faq-item ul {
  margin-top: 8px;
  padding-left: 25px;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .faq-container {
    padding: 20px 15px;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-item h3 {
    font-size: 1.3rem;
  }

  .faq-item p,
  .faq-item ul {
    font-size: 0.95rem;
  }
}
