/* /* Fade-in from left */
@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Fade-in from right */
@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Fade-in up */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Bounce animation */
@keyframes bounceIn {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}

/* Animation helper classes */
.animate-left { animation: fadeInLeft 1s ease forwards; opacity: 0; }
.animate-right { animation: fadeInRight 1s ease forwards; opacity: 0; }
.animate-up { animation: fadeInUp 1s ease forwards; opacity: 0; }
.animate-bounce { animation: bounceIn 1s ease forwards; opacity: 0; }

/* Stagger for multiple items */
.card .d-flex.bg-light {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.card .d-flex.bg-light:nth-child(1) { animation-delay: 0.3s; }
.card .d-flex.bg-light:nth-child(2) { animation-delay: 0.6s; }
.card .d-flex.bg-light:nth-child(3) { animation-delay: 0.9s; }


/* Timeline */
/* .timeline {
  position: relative;
  margin: 20px 0;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #10b981; 
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
  background: #f0fdf4; 
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  background: #10b981; 
  border-radius: 50%;
  width: 12px;
  height: 12px;
  top: 12px;
}
.timeline-item time {
  font-size: 0.85em;
  color: #065f46; 
}
.timeline-item p {
  margin: 0;
  font-weight: 600;
  color: #065f46; 
} */


.timeline {
  position: relative;
  margin: 25px 0;
  padding-left: 50px;
}

/* Vertical Line */
.timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #10b981;
  border-radius: 3px;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  margin-bottom: 25px;
  padding: 15px 18px 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
  transition: all 0.3s ease;
}

/* Alternating Background */
.timeline-item:nth-child(odd) {
  background: #f0fdf4;
}

.timeline-item:nth-child(even) {
  background: #dcfce7;
}

/* Hover */
.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
}

/* ICON CIRCLE */
.timeline-icon {
  position: absolute;
  left: -38px;
  top: 18px;
  width: 28px;
  height: 28px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #10b98133;
}

/* Alternate Icon Color */
.timeline-item:nth-child(even) .timeline-icon {
  background: #047857;
  box-shadow: 0 0 0 3px #04785733;
}

/* Text */
.timeline-item p {
  margin: 0 0 5px 0;
  font-weight: 600;
  color: #065f46;
}

.timeline-item time {
  font-size: 0.85em;
  color: #047857;
}

/* Timeline colors for alternate events (optional) */
.timeline-item:nth-child(odd) { background: #f0fdf4; } /* light green */
.timeline-item:nth-child(even) { background: #fff7ed; } /* light yellow/orange */
.timeline-item:nth-child(even)::before { background: #c0a010; } /* gold dot */