.timeline{
    position: relative;
    max-width: 1200px;
    margin: 90px auto;
}
.bullet-points{
    color:rgb(158, 158, 158)
}
.experience-card-text{
    color:darkgray;
}
.container-e{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    opacity: 0;
    animation:  movedown 1s linear forwards;
}
@keyframes movedown {
    0%{
        opacity: 1;
        transform: translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
.container-e:nth-child(1){
    animation-delay: 2s;
}
.container-e:nth-child(2){
    animation-delay: 4s;
}
.container-e:nth-child(3){
    animation-delay: 8s;
}

.text-box{
   padding: 20px 20px; 
   background: #fff;
   position: relative;
   border-radius: 6px;
   font-size: 15px;
}
.text-box h2{
    font-weight: 600;
}
.text-box small{
    display: inline-block;
    margin-bottom: 15px;
}
.left-container{
    left: 0;
}
.right-container{
    left:50%;
}
.container-e .card{
    background-color: var(--navy) !important;
    -webkit-box-shadow: 0 0 5px 10px var(--gold);
    -moz-box-shadow: 0 0 5px 10px var(--gold);
    box-shadow: 0 0 5px 10px var(--gold);
}
/* .timeline-bullet {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px; /* Bullet width */
    /* height: 20px; /* Bullet height */
    /* background-color: #007bff; Bullet color */
    
    /* left: -10px; Adjust the distance from the timeline line */
/* }  */
.timeline-bullet{
    position: absolute;
    background-color: #007bff;
    border-radius: 50%;
    right: -10px;
    z-index: 10;
    top:32px;
    height: 20px;
    width: 20px;
}
.experience-card{
 position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #061d35;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.65);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.28);
}
.container-e img{
    position: absolute;
    border-radius: 50%;
    right: -20px;
    z-index: 10;
    top:32px;
    height: 30px;
    width: 40px;
    object-fit: cover;
}
.right-container .timeline-bullet{
    left:-10px;
}
.right-container img{
    left:-20px;
}
.timeline::after{
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background: #fff;
    top:0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 8s linear forwards;
}
@keyframes moveline {
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}
.left-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top:18px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--navy);
    right: -15px;
}
.right-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top:18px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--navy);
    left: -15px;
}
@media screen and (max-width: 600px) {
    .timeline{
        margin: 50px auto;
    }
    .timeline::after{
        left:31px;
    }
    .container-e{
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    .text-box{
        font-size: 13px;
    }
    .text-box small{
        margin-bottom: 10px;
    }
    .right-container{
        left:0;
    }
    .left-container .timeline-bullet, .right-container .timeline-bullet{
        left:20px;
    }
    .left-container img, .right-container img{
        left:10px;
    }
    .left-container-arrow, .right-container-arrow{
        border-left: 0;
        border-right: 15px solid #fff;
        left:-15px;
    }

}