.timeline-section {
    position: relative;
    padding: 80px 20px;
}

.timeline {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

.heading-wraper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.heading-wraper .time-heading {
    background: rgb(248, 248, 248);
    color: #848484;
    font-family: "work sans";
    font-size: 15px;
    padding: 10px 10px;
    border-radius: 10px;
    font-weight: 600;
    text-align: left;
}

.time {
    display: inline-block;
    padding: 4px 6px;
    background: rgb(248, 248, 248);
    color: #85bc40;
}

.time-wrapper {
    display: inline;

    line-height: 1em;
    font-size: 0.66666em;
    color: rgb(250, 80, 80);
    vertical-align: middle;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #85bc40;
    transform: translateX(-50%);
    z-index: -1;
}

/* TIMELINE ITEM BASE */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item .content {
    /* background: #f3f3f3;    */
    padding: 20px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

/* Circle Icon */
.timeline-item .circle {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #85bc40;
    border-radius: 50%;
    z-index: 35;
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
}

.timeline-item .circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(133, 188, 64, 0.3);
    border-radius: 50%;
    animation: pulse 1.5s ease-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}


/* LEFT ITEM */
.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.left .circle {
    right: -10px;
    left: 99%;
}

.timeline-item.left p,
.timeline-item.right p {
    margin: 1em 0.75em 0 0;
    font-size: 16px;
    font-style: italic;
    line-height: 1.5em;
    color: #848484;
}

/* RIGHT ITEM */
.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item.right .circle {
    left: -3px;
}

/* ANIMATIONS */
.animate {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate.left {
    transform: translateX(-100px);
}

.animate.right {
    transform: translateX(100px);
}

.animate.in-view {
    opacity: 1;
    transform: translateX(0);
}

.animate.in-view .circle {
    opacity: 1;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
    }

    .timeline-item .circle {
        left: 10px;
        transform: translateX(0);
    }
}