.timeline-container {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 100%;
    background: #e2e2e2;
}

.timeline-item {
    margin: 20px 0;
    position: relative;
    width: calc(50% - 20px);
    padding: 10px 20px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;

}

.timeline-item:nth-child(even) {
    left: 50%;

}

.timeline-icon {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -15px;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 2px solid #e2e2e2;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: #009879;
}

.timeline-content {
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    text-align: center;
}

.timeline-content h2 {
    margin-top: 0;
    color: #0e3959;
}

.timeline-content p {
    margin: 0;
    color: #333;
}

@media screen and (max-width: 768px) {
    .timeline:before {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 25px;
        transform: none;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-icon {
        left: 0;
        margin-left: 0;
    }
}