.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--pico-color-zinc-800);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: calc(50% - 2rem);
    padding: 1rem;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--pico-color-zinc-800);
    border: 3px solid var(--pico-color-zinc-800);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 1rem;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 3rem;
    }

    .timeline-dot {
        left: 1rem;
        transform: translateX(-50%);
    }
}