.timeline{
    position: relative;
    max-width: 1200px;
    margin : 0px auto;

}

.timeline .container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity : 0;
}

 @keyframes movedown{
    0%{
        opacity: 1;
        transform: translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

.timeline .container:nth-child(1){
    animation-delay: 0s;
}
.timeline .container:nth-child(2){
    animation-delay: 1s;
}
.timeline .container:nth-child(3){
    animation-delay: 2s;
}
.timeline .container:nth-child(4){
    animation-delay: 3s;
}
 


.text-box{
    padding: 20px 20px 20px 30px;
    background: #fff;
    position: relative;
    border-radius: 6px;
    font-size:15px;
}

.text-box h2{
    color: black;
    text-align: left;
    font-size:32px
}

.text-box p{
    color: black;
    text-align: left;
    font-size: 18px;
    line-height: 1.4;
}

.left-container{
    left:-25%;
}

.right-container{
    left:25%;
}
.timeline .container img{
   position: absolute;
   width: 45px;
   border-radius: 50%;
   right:-20px;
   top:32px;
   z-index: 10;
   padding: 4px;
 }

 .right-container img{
    left:-20px;
}


.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: white; /* Adjust background color here */
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -2; /* Change z-index to a lower value */
    animation: moveline 6s linear forwards;
    height: 0; /* Initial height set to 0 */
}

@keyframes moveline {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}



.left-container-arrow{
    width:0;
    height: 0;
    position: absolute;
    top: 40px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid white;
    right:35px;
}

.right-container-arrow{
    width:0;
    height: 0;
    position: absolute;
    top: 40px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid white;
    left:35px;
}


@media screen and (max-width:991px){
    .timeline{
        margin: auto 50px;
    }
    .timeline::after{
        left: 31px;
    }
    .timeline .container{
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    .right-container ,.left-container{
        left:0;
    }
    .right-container img , .left-container img{
        left:10px;
    }
    .left-container-arrow , .right-container-arrow{
        border-right:15px solid #fff;
        border-left:0;
        left:66px;
    }
}