/* Timeline Wrapper */
.timeline-wrapper {

    padding: 60px 0;
}

/* Timeline Line */
.timeline {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #d3d3d3;
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

/* Alternating Layout */
.timeline-item.left .image-side {
    order: 1;
    text-align: right;
}
.timeline-item.left .text-side {
    order: 2;
    text-align: left;
}
.timeline-item.right .image-side {
    order: 2;
    text-align: left;
}
.timeline-item.right .text-side {
    order: 1;
    text-align: left;
}

/* Year Circle */
.timeline-year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
        padding-left: 47.50%;
}
.timeline-year span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #c48d28;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50%;
}

/* Image */
.timeline-content.image-side img {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
}

/* Text */
.timeline-content.text-side {
    max-width: 534px;
}
.timeline-content.text-side .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.timeline-content.text-side .desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* Responsive */
@media(max-width: 991px) {
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    .timeline-year {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 20px auto;
        padding-left: 40.5%;
    }
}
