/* Timeline container */
.timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 30px;
    position: relative;
}

/* Timeline vertical line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    height: 100%;
    width: 2px;
    background-color: #b3b3b3;
    animation: growLine 2s ease-in-out;
}

/* Timeline item */
.timeline-item {
    position: relative;
}
.timeline-item:nth-child(2) {
    margin-bottom: 30px;
}

/* Circle for each stage */
.circle {
    position: absolute;
    left: -32px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: 4px solid #b3b3b3;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease;
}

.inner-circle {
    display: none;
    height: 18px; /* Adjust size as needed */
    width: 18px;
    background-color: #00C853;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Active stage circle */
.circle.active {
    border-color: #00C853;
    background-color: #ffffff;
    animation: bounce 1s ease;
}

.circle.active .inner-circle {
    display: block;
}

/* Timeline content */
.timeline-content {
    padding-left: 40px;
    font-family: Arial, sans-serif;
}

/* Stage title */
.timeline-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

/* Description */
.timeline-content p {
    font-size: 16px;
    color: #666;
    margin: 5px 0;
}

/* Animations */
@keyframes growLine {
    from { height: 0; }
    to { height: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
  /* Pulse animation for active dot */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}
.pulse {
    animation: pulse 2s infinite !important;
}