.timeline { width: 100%; position: relative; margin-top: 1px; } .timeline-nav__item { width: auto; height: auto; text-align: center; opacity: 0.95; background: transparent; color: #fff; margin: 15px 5px !important; position: relative; font-size: calc(0.875rem*var(--zd-k-updates,1)); line-height: 15px; font-weight: 400; outline: none; cursor: pointer; } .timeline-nav__item::before { content: ""; position: absolute; top: 45px; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 100%; background-color: #afc9f6; transition: 0.2s; } .timeline-nav__item.slick-current { color: #ff9900; opacity: 1; } .timeline-nav__item.slick-current::before { background-color: #ff9900; } .timeline-wrapper { position: relative; width: 100%; height: 350px; margin-top: 60px; } @media (max-width: 500px) { .timeline-wrapper { height: 1000px; max-height: 900px; } } .timeline-slider { height: 100%; } .timeline .slick-list { height: 100%; } @media (min-width: 1080px) { .timeline .slick-list { padding: 0 0px !important; } } .timeline .slick-track { height: 100%; } .timeline-slide { position: relative; overflow: hidden; background-repeat: no-repeat; outline: none; background-size: auto , cover; background-position: top; margin: 0 24px; width: 80%; z-index: 1; } .timeline-slide:after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 52, 113, 0.8); z-index: 2; } .timeline-slide__content { z-index: 5; position: absolute; top: 30px; background: #dddada; width: 75%; left: 50%; transform: translate(-50%, 0px); padding: 40px; opacity: 0; transition: opacity 1s; } @media (max-width: 500px) { .timeline-slide__content { width: 100%; } } .timeline-year { z-index: 5; font-size: calc(2.1875rem*var(--zd-k-updates,1)); color: #145b93; background: #dddada; padding: 15px 26px; transition: opacity 1.2s; position: absolute; right: 0; opacity: 0; } .timeline-title { color: #145b93; font-size: calc(1.625rem*var(--zd-k-updates,1)); line-height: 30px; font-weight: 400; } .timeline-text { font-size: calc(1.125rem*var(--zd-k-updates,1)); line-height: 28px; color: #666666; } .timeline .slick-current:after { background-color: rgba(0, 52, 113, 0); } .timeline .slick-current .timeline-year { opacity: 1; } .timeline .slick-current .timeline-slide__content { opacity: 1; } .slick-prev, .slick-next { background: transparent; border: none; font-size: calc(1.5rem*var(--zd-k-updates,1)); color: #fff; /* arrow color */ position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; cursor: pointer; } .slick-prev { left: -35px; /* adjust as needed */ } .slick-next { right: -35px; /* adjust as needed */ } .slick-prev:hover, .slick-next:hover { color: #AEB6BF; /* optional hover color */ }


 @media (max-width: 768px) {
  .timeline-nav__item::before {
    top: 60px;
  }
 
.timeline-slide__content { 
    top: 80px; 
	padding: 15px;
}
}
.timeline-nav .slick-slide {
  padding: 5px;
  box-sizing: border-box;
}

.timeline-nav .slick-slide > div {
  width: 100%;
}

.timeline-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    margin-bottom: 15px;
}

.timeline-prev,
.timeline-next {
    background: #005aa0;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(1.25rem*var(--zd-k-updates,1));
    cursor: pointer;
    transition: .3s;
}

.timeline-prev:hover,
.timeline-next:hover {
    background: #003f73;
}

.timeline-nav {
    width: 80%;
}
/* Timeline Navigation Arrows (White Round Border) */
.timeline-prev,
.timeline-next {
    background: transparent;          /* No fill */
    border: 2px solid #ffffff;        /* White border */
    color: #ffffff;                   /* White arrow icon */
    width: 42px;
    height: 42px;
    border-radius: 50%;               /* Round shape */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(1.125rem*var(--zd-k-updates,1));
    cursor: pointer;
    transition: 0.3s ease;
}

/* Hover Effect */
.timeline-prev:hover,
.timeline-next:hover {
    background: rgba(255,255,255,0.15); 
    transform: scale(1.12);
}
