.show-for-desktop {
    display: inline;
}
.show-for-mobile {
    display: none;
}
.ff-montserrat{
    font-family: "Montserrat", "Nunito", sans-serif;
}
.timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
}
.timeline-slider {
    text-align: justify; 
    width: 100%; 
    height: auto;

}
.timeline-slide {
    overflow: hidden;
    width: 100%;
    height: auto;

}
.timeline-image{
    width: 90%; 
    position: relative; 
    background-size: cover; 
    background-position: center;
    margin: auto; 
    border-radius: 10px;
    aspect-ratio: 16/6;
}
.timeline-slide__content {
    z-index: 5;
    background: linear-gradient(to bottom, #0000001e 20%, #ffffff50);
    backdrop-filter: blur(10px);
    width: 80%;
    margin: 20px auto 0 auto;
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px); 
    transition: all 0.5s ease;
}
.timeline .slick-current .timeline-slide__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(-30px);
    z-index: 500;
    width: 80%;
    min-height: auto; 
    max-height: none;
    
    transition: all 1s ease;
}
.timeline-title {
    color: #ec8e01;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.233);
    font-size: 26px;
    line-height: 30px;
    font-weight: 400;
}
.timeline-text {
    font-size: 18px;
    line-height: 28px;
    color: #666666;
}
.timeline-nav__item {
    width: auto;
    height: auto;
    text-align: center;
    opacity: 0.5;
    background: transparent;
    color: #afc9f6;
    margin: 15px 25px !important;
    position: relative;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    outline: none;
    cursor: pointer;
}
.timeline-nav__item::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #afc9f6;
    transition: 0.2s;
}
.timeline-nav__item.slick-current {
    color: #155E40;
    opacity: 1;
    /*transform: scale(1.5);*/
}
.timeline-nav__item.slick-current::before {
    background-color: #155E40;
}
.timeline .slick-list {
    height: 100%;
}
.timeline .slick-track {
    height: 100%;
}
.timeline-year {
    z-index: 5;
    font-size: 37px;
    color: #ffffff;
    background: #155e408b;
    backdrop-filter: blur(3px);
    padding: 0px 30px;
    position: absolute;
    right: 0;
    opacity: 0;
    border-radius: 0 10px 0 10px;
    transition: all 0.5s ease-out;
}
.timeline .slick-current:after {
    background-color: rgba(0, 52, 113, 0);
}
.timeline .slick-current .timeline-year {
    opacity: 1;
}
.rightLst {
    right:0;
}
.leftLst {
    left:0;
}
.leftLst,.rightLst {
    position: absolute;
    top: 0;
    background-color: rgba(21, 94, 64, 0.544);
    color: white;
    font-size: 50px;
    height: 30%;
    max-height: 300px;
    min-height: 150px;
    transform: translateY(50%);
    backdrop-filter: blur(5px);
}

@media (max-width: 1100px) {
    .leftLst,.rightLst {
        font-size: 30px;
        font-weight: bold;
    }
    .timeline-year {
        font-size: 16px;
        padding: 12px 20px;
    }
    .timeline-title {
        font-size: 20px;
        line-height: 24px;
    }
    .timeline-text {
        font-size: 15px;
        line-height: 20px;
    }
}

@media (max-width: 840px) {
    .leftLst,.rightLst {
        font-size: 20px;
        top: -5%;
    }
    .timeline-year {
        font-size: 14px;
        padding: 10px 16px;
        font-weight: bold;
    }
}

@media (max-width: 768px) {
    
    .timeline-row{
        padding-bottom: 15% !important;
    }
    .show-for-desktop {
        display: none;
    }
    .show-for-mobile {
        display: inline;
    }
    .leftLst,.rightLst {
        font-size: 12px;
        font-weight: bolder;
        background-color: rgba(84, 84, 84, 0.309);
        color: rgba(21, 94, 64, 1);
        max-height: 50px;
        top: auto;
        bottom: 17.5%;
    }
    .timeline-image{
        aspect-ratio: var(--custom-aspect, 1/1);
        width: 100%; 
    }
    .rightLst {
        right:-5px;
    }
    .leftLst {
        left:-5px;
    }
    .timeline-year {
        font-size: 12px;
        padding: 9px 14px;
    }
    .timeline .slick-current .timeline-slide__content {
        /*transform: translateY(-150px);*/
        background: linear-gradient(to bottom, #ffffff56 10%, #ffffffb4);
        position: absolute;
        bottom: -1%;
    }
    .timeline-title {
        font-size: 20px;
        line-height: 23px;
    }
    .timeline-text {
        font-size: 17px;
        line-height:19px;
    }
    .leftLst,.rightLst {
        bottom: 20%;
    }
}

@media (max-width: 670px) {
    .timeline .slick-current .timeline-slide__content {
        bottom: 0%;
    }
    .leftLst,.rightLst {
        bottom: 14%;
    }
    .timeline-year {
        font-size: 10px;
        padding: 5px 8px;
    }
    .timeline-title {
        font-size: 17px;
        line-height: 19px;
    }
    .timeline-text {
        font-size: 12px;
        line-height:15px;
    }
    .timeline-slide__content {
        padding: 10px;
    }
}

@media (max-width: 540px) {
    .leftLst,.rightLst {
        bottom: 15%;
    }.timeline .slick-current .timeline-slide__content {
        bottom: -5%;
    }
}

@media (max-width: 520px) {
    .timeline-row{
        padding-bottom: 25% !important;
    }
     .timeline .slick-current .timeline-slide__content {
        bottom: 0%;
    }
}

@media (max-width: 450px) {
    .leftLst,.rightLst {
        bottom: 15%;
    }
     .timeline-row{
        padding-bottom: 30% !important;
    }
     .timeline .slick-current .timeline-slide__content {
        bottom: -4%;
    }
}
