.timeline-slider-wrapper {
    position: relative;
    padding: 60px 0 40px;
    max-width: 100%;
    overflow: hidden;
}

.timeline-slider {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.timeline-slider.no-scroll {
    overflow-x: hidden;
}

.timeline-slider.no-scroll .timeline-items {
    justify-content: center;
}

.timeline-slider::-webkit-scrollbar {
    display: none;
}

.timeline-items {
    position: relative;
    display: flex;
    gap: 30px;
    padding: 0;
    min-width: min-content;
}

.timeline-items::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: var(--timeline-line-width, 100%);
    height: 2px;
    background-color: var(--e-global-color-primary, #1a3b47);
    z-index: 0;
}

.timeline-line {
    display: none;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 175px;
    z-index: 1;
}

.timeline-dot {
    position: absolute;
    top: 16px;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: var(--e-global-color-primary, #1a3b47);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot-completed {
    background-color: var(--e-global-color-primary, #1a3b47);
}

.timeline-dot svg {
    width: 10px;
    height: 10px;
    color: var(--e-global-color-secondary, white);
    stroke-width: 3;
}

.timeline-title {
    margin: 39px 0 0 0;
    font-family: 'Playfair Display', serif;
    font-size: 24px; /* Reduced from 32px for H5 */
    font-weight: 400;
    color: var(--e-global-color-primary, #1a3b47);
    line-height: 1.2;
}

.timeline-text {
    font-size: 16px;
    color: var(--e-global-color-primary, #1a3b47);
    display: block;
}

.timeline-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.timeline-prev,
.timeline-next {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.timeline-prev svg,
.timeline-next svg {
    width: 17px;
    height: auto;
    display: block;
}

.timeline-prev:disabled,
.timeline-next:disabled {
    opacity: 0; /* Changed from 0.3 to completely hide */
    cursor: not-allowed;
    pointer-events: none; /* Prevent any interaction when disabled */
}

@media (max-width: 768px) {
    .timeline-items {
        gap: 30px;
        padding: 0;
    }
    
    .timeline-title {
        font-size: 20px; /* Reduced from 24px */
    }
}

@media (max-width: 480px) {
    .timeline-items {
        gap: 30px;
    }
    
    .timeline-item {
        min-width: 150px;
    }
    
    .timeline-title {
        font-size: 18px; /* Reduced from 20px */
    }
}