.timeline_sec_container {
    overflow-x: auto;
    overflow-y: hidden;
    /*padding-left: 50px;
    padding-right: 50px;*/
    height: 200px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 10px;
    transition: height 0.3s ease-out;

}
section.timeline_sec {
    margin-bottom: 3rem;
}

/* Timeline Block */
.timeline-block {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    min-width: 248px;
    flex-direction: column;
    max-width: 250px;
}
.timelineContainer {
    position: relative;
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    overflow-x: visible;
    min-width: 100%;
    width: max-content;
}
.timelineContainer::before {
    content: "";
    position: absolute;
    top: 100px;
    width: calc(100% + 80px);
    height: 1px;
    left: -40px;
    background-color: #000000;
}
a.polygonIconLeft,a.polygonIconRight {
    padding-top: 87px;
    display: block;
    flex-shrink: 0;
    background: #fff;
    height: 100%;
    position: relative;
}
a.polygonIconLeft::after, a.polygonIconRight::before {
    content: "";
    position: absolute;
    top: 100px;
    width: 100%;
    height: 1px;
    background-color: #000000;
}
a.polygonIconLeft {
    width: 25px;
    

}
a.polygonIconRight {
    width: 22px;
}

a.polygonIconRight svg {
    transform: rotate(180deg);
    margin-left: 7px;
}
/* Year Box */
.timeline-year {
    background-color: #8b0000;
    color: white;
    font-size: 18px;
    font-weight: bold;
    /*padding: 10px 15px;*/
    border-radius: 0px 0px 10px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    height: 68px;
    min-width: 180px;
    justify-content: space-between;
    text-align: center;
}
.timeline_year_value {
    width: 130px;
    padding-left: 0px;
    height: 68px;
    display: block;
    line-height: 68px;
    text-align: center;
}
.timeline-year::after {
    position: absolute;
    content: "";
    width: 5px;
    background-color: #fff;
    right: 45px;
    height: 100%;
}

.timeline-year .icons {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    margin-right: 15px;
    flex-direction: column;
}

.timeline-year .icons i {
    font-size: 16px;
    cursor: pointer;
}

ul.unorderedList_top {
    list-style: none;
    margin-bottom: 0;
    height: 86px;
    overflow: auto;
}
li.list_item_top {
    position: relative;
    font-size: 11px;
    line-height: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
}
li.list_item_top::before {
    content: "";

    position: absolute;
    left: -20px;
    border: 2px solid #d1d1d1;
    background: var(--bs-primary);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 7px;
}

/* Vertical Line */
.timeline-content {
    position: relative;
    max-width: 229px;
}
.timeline-content::before {
    position: absolute;
    content: "";
    width: 1px;
    background-color: #000000;
    height: 100%;
    left: -38px;
}
.timeline-content::before {
    position: absolute;
    content: "";
    width: 1px;
    background-color: #919191;
    height: calc(100% + 50px);
    left: -38px;
    top: -65px;
}
.timeline-content::after {
    width: 38px;
    position: absolute;
    content: "";
    left: -38px;
    top: -65px;
    height: 1px;
    background-color: #919191;
}
.timeline-content-item {
    position: relative;
}
.timeline-content-item h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    margin-bottom: 10px;
}
.timeline-content-item-text {
    font-size: 13px;
    line-height: 22px;
}
.timeline-content-item::before {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid #d1d1d1;
    background-color: var(--bs-primary);
    border-radius: 50%;
    left: -44px;
    top: 3px;
}
.modalImageBody {
    width: 100%;
    height: 500px;
    object-fit: contain;
}
button.closeBtn {
    position: absolute;
    right: 5px;
    border: 0;
    background: transparent;
    top: 5px;
}
.modalBodyImage {
    padding: 4rem;
}
.modalContentImage {
    border-radius: 30px;
}


/* Hide scrollbar for Chrome, Safari */
.timeline_sec_container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.timeline_sec_container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.timeline_sec_container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.timeline_sec_container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hide scrollbar for IE, Edge, and Firefox */
.timeline_sec_container {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/*.timelineContainer {
    
    gap: 10px;
    animation: scrollLoop 100s linear infinite;
}
/* Keyframe Animation */
@keyframes scrollLoop {
    from {
        scroll-behavior: auto;
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}