/* Timeline Styles */
.timeline-container {
    position: relative;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Background vertical line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: #e2e8f0; /* slate-200 */
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* The circle node */
.timeline-icon {
    position: absolute;
    left: 0;
    top: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 0 0 4px #f8fafc; /* Create gap between line and icon */
    z-index: 2;
}

.timeline-content {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (max-width: 640px) {
    .timeline::before {
        left: 16px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-icon {
        left: 0;
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}