.timeline {
    position: relative;
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #00b371;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: white;
    border: 4px solid #00b371;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -12.5px;
}

.timeline-item .timeline-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #00b371;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    top: 20px;
    left: -15px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: unset;
    right: -15px;
}

.timeline-item .timeline-content {
    padding: 20px;
    background-color: #fff;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline-item .timeline-content h2 {
    margin-top: 0;
    color: #00b371;
}

.timeline-item .timeline-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 60px;
    }

    .timeline-item .timeline-icon {
        left: 15px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: 15px;
    }
}