/* Sticky left container */
.els-scroll-fixed {
    position: sticky !important;
    top: 130px;
    height: 100vh;
    overflow: hidden;
}

@media (max-width: 767px) {
    .els-scroll-fixed {
        position: relative !important;
        top: 0;
    }
}

/* Timeline wrapper height */
.vtimeline-wrapper {
    height: 100%;
    font-family: 'Inter';
}

/* Timeline scroll container */
.vtimeline {
    height: 100%;
    overflow-y: auto;
    padding-left: 80px;
    position: relative;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.vtimeline::-webkit-scrollbar {
    display: none;
}

/* Timeline line */
.vtimeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(229, 231, 235, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

/* Progress bar */
.vtimeline-progress {
    position: relative;
    width: 100%;
    height: 0;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.45),
            rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    transition:
        height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.vtimeline-progress::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgb(120 224 255 / 95%), rgb(240 225 51 / 85%));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Subtle moving highlight */
.vtimeline-progress::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg,
            transparent 20%,
            rgba(255, 255, 255, 0.45) 45%,
            transparent 70%);
    opacity: 0.4;
    animation: glass-sheen 3s linear infinite;
    pointer-events: none;
}

/* Sheen animation */
@keyframes glass-sheen {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(100%);
    }
}

/* Timeline items */
.vtimeline-item {
    position: relative;
    margin-bottom: 120px;
    transition: opacity 0.3s ease;
}

/* Dots */
.vtimeline-dot {
    position: absolute;
    left: -63px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.08),
        0 6px 14px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.45s ease-in-out;
}

/* Smooth liquid fill */
.vtimeline-dot::before {
    content: "";
    position: absolute;
    left: -50%;
    width: 200%;
    height: 200%;
    bottom: -200%;
    background:
        linear-gradient(180deg, rgb(120 224 255 / 95%), rgb(240 225 51 / 85%));
    border-radius: 45%;
    transition:
        bottom 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    animation:
        water-drift 8s linear infinite,
        water-bob 5s ease-in-out infinite;

    will-change: transform;
}

.vtimeline-dot::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        linear-gradient(180deg, rgb(120 224 255 / 95%), rgb(240 225 51 / 85%));
    opacity: 0;
}

/* Active states */
.vtimeline-item.active {
    transform: scale(1.4);
}

.vtimeline-dot.active {
    transform: scale(1.45);
}

.vtimeline-dot.active::before {
    bottom: -20%;
}

.vtimeline-dot.active::after {
    opacity: 0.6;
}

@keyframes water-drift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

@keyframes water-bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1.5px);
    }
}