
.timeline .timeline__item-inner {
    display: flex;
}
.timeline .timeline__item{
    position: relative;
    transition: .7s opacity ease-in-out;
}

.timeline .timeline__item:after{
    content : "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #fff;
    opacity: 0.6;
    transition: .7s opacity ease-in-out;
    pointer-events: none;
}
.timeline__generation:first-child .timeline__item:first-child::after{
    height: calc(100% + 50px);
    top: -50px;
}
.timeline__generation.active .timeline__item:after{
    opacity: 0;
}
.timeline .timeline__year {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    border-right: 5px solid transparent;
    padding: 75px 30px 50px 0;
    position: relative;
}
.timeline .timeline__year:after{
    content : "";
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0;
    right: -5px;
    background: #1E89F14D;
    z-index: -1;
}
.timeline__generation:first-child .timeline__item:first-child .timeline__year{
    padding-top: 0;
}
.timeline .timeline-line {
    position: absolute;
    width: 5px;
    right: -5px;
    top: 0;
    background: rgb(30, 137, 241);
}

.timeline__generation:first-child .timeline__item:first-child .timeline__year::after {
    background: linear-gradient(to bottom, rgba(30, 137, 241, 0) 0%, rgba(30, 137, 241, 0.3) 20%, rgba(30, 137, 241, 0.3) 100%);
}

.timeline__generation:first-child .timeline__item:first-child .timeline-line {
    background: linear-gradient(to bottom, rgba(30, 137, 241, 0) 0%, rgba(30, 137, 241, 0.3) 20%, rgba(30, 137, 241, 1) 100%);
}

.timeline__generation:last-child .timeline__item:last-child .timeline__year::after {
    background: linear-gradient(to top, rgba(30, 137, 241, 0) 0%, rgba(30, 137, 241, 0.3) 20%, rgba(30, 137, 241, 0.3) 100%);
}

.timeline__generation:last-child .timeline__item:last-child .timeline-line {
    background: linear-gradient(to top, rgba(30, 137, 241, 0) 0%, rgba(30, 137, 241, 0.3) 20%, rgba(30, 137, 241, 1) 100%);
}

.timeline .timeline__content {
    padding: 50px 100px;
    width: calc(100% - 200px);
}
.timeline .timeline__generation{
    position: relative;
    z-index: 3;
}
.timeline .timeline__content ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin: 30px 0;
}
.timeline .timeline__content li{
    padding-left: 50px;
    position: relative;
    margin-bottom: 15px;
    display: block;
    font-size: 20px;
    font-weight: 600;
}
.timeline .timeline__content li::before{
    content: "";
    background: url(../../assets/images/list-icon-black.svg) no-repeat center / contain;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 0;
}
.timeline .timeline__year-value {
    position: sticky;
    top: 220px;
    font-size: 40px;
    font-weight: 600;
}

.timeline .year-value {
    position: relative;
    line-height: 1.2;
}

.timeline .year-value:after {
    content: "";
    background: url(../../assets/images/timeline-list-icon.svg) no-repeat center / contain;
    width: 50px;
    height: 38px;
    position: absolute;
    right: -58px;
    top: 0;
    background-color: #fff;
}

.timeline .timeline__generation-heading {
    font-size: 150px;
    font-weight: 800;
    margin-top: -50px;
    background: linear-gradient(to bottom, rgba(30, 137, 241, 1) 0%, rgba(30, 137, 241, 0.5) 50%, rgba(30, 137, 241, 0) 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
}

.timeline .timeline__text > :last-child {
    margin-bottom: 0;
}
.timeline .timeline__image{
    position: relative;
    width: 100%;
    height: 360px;
}
.timeline .timeline__image img{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}
.timeline__generation__bg-image{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -100px;
    z-index: -1;
    pointer-events: none;
}
.timeline__generation__bg-image img{ 
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.timeline .timeline__generation:first-child .timeline__item:first-child .timeline__content{
    padding-top: 0;
 }
 .timeline__generation:first-child .timeline__item:first-child .timeline__generation-heading{
    margin-top: -70px;
 }
/* .timeline .timeline__generation:first-child .timeline__item:first-child .timeline__content{
   padding-top: 100px;
}
.timeline .timeline__generation:first-child .timeline__item:first-child .timeline__year{
   padding-top: 100px;
}
.timeline .timeline__generation:last-child .timeline__item:last-child .timeline__content{
    padding-bottom: 100px;
 }
.timeline .timeline__generation:last-child .timeline__item:last-child .timeline__year{
    padding-bottom: 100px;
 } */
 @media (max-width: 1600px) and (min-width: 997px) {
    .timeline .timeline__generation-heading{
        font-size: calc(80px + (150 - 80) * ((100vw - 997px) / (1600 - 997)));
    }
 }
 @media(max-width: 997px){
    .timeline .timeline__generation-heading{
        font-size: 60px;
        margin-top: -20px;
    }
    .timeline .timeline__content{
        padding: 50px;
        width: calc(100% - 120px);
    }
    .timeline .timeline__year{
        width: 120px;
    }
    .timeline .timeline__content li{
        font-size: 18px;
    }
    .timeline .timeline__year-value{
        font-size: 28px;
    }
    .timeline .timeline__generation:first-child .timeline__item:first-child .timeline__year{
        padding-top: 50px;
    }
 }
 @media(max-width: 767px){
    .timeline .timeline__year{
        width: 80px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .timeline .timeline__year-value{
        font-size: 20px;
    }
    .timeline .timeline__content{
        padding: 30px 0 30px 30px;
        width: calc(100% - 80px);
    }
    .timeline .timeline__generation:first-child .timeline__item:first-child .timeline__content{
        padding-top: 50px;
    }
    .timeline .timeline__generation-heading{
        font-size: 36px;
        margin-top: -10px;
    }
    .timeline .timeline__image{
        height: auto;
        padding-top: 60%;
    }
    .timeline .year-value:after{
        top: 0;
    }
 }