.interactive-timeline-577dfdaa {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.timeline-container-577dfdaa {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: stretch;
}

/* Steps Column */
.timeline-steps-577dfdaa {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    box-sizing: border-box;
    padding-right: 20px;
}

.timeline-step-item-577dfdaa {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    cursor: pointer;
}

/* Subdued but readable defaults for inactive states */
.timeline-step-item-577dfdaa .step-num-577dfdaa,
.timeline-step-item-577dfdaa .step-title-577dfdaa {
    transition: opacity 0.5s ease, color 0.5s ease;
}

.step-num-577dfdaa {
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.2;
    min-width: 45px;
    transition: color 0.5s ease;
}

.step-content-577dfdaa {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-title-577dfdaa {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    transition: color 0.5s ease;
}

/* Description is always visible */
.step-desc-577dfdaa {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.5; /* Subdued but fully readable */
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.5s ease, opacity 0.5s ease;
}

/* Active state highlights */
.timeline-step-item-577dfdaa.active .step-num-577dfdaa,
.timeline-step-item-577dfdaa.active .step-title-577dfdaa {
    opacity: 1;
}

.timeline-step-item-577dfdaa.active .step-desc-577dfdaa {
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Right Column (Images) */
.timeline-images-577dfdaa {
    width: 50%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    background-color: #000;
}

/* Layer 1: Blurred background */
.timeline-bg-layers-577dfdaa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-layer-item-577dfdaa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    opacity: 0;
    transition: opacity 700ms cubic-bezier(0.25, 1, 0.3, 1);
}

.bg-layer-item-577dfdaa.active {
    opacity: 1;
}

/* Layer 2: Overlay */
.timeline-overlay-577dfdaa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Layer 3: Foreground sharp image centered */
.timeline-fg-layers-577dfdaa {
    position: relative;
    z-index: 3;
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.fg-layer-item-577dfdaa {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 700ms cubic-bezier(0.25, 1, 0.3, 1), transform 700ms cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fg-layer-item-577dfdaa img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.fg-layer-item-577dfdaa.active {
    opacity: 1;
    transform: scale(1);
}

/* Tablet & Mobile responsive fallback stacking */
@media (max-width: 1024px) {
    .timeline-container-577dfdaa {
        flex-direction: column;
        gap: 40px;
    }
    .timeline-steps-577dfdaa {
        width: 100%;
        padding-right: 0;
    }
    .timeline-images-577dfdaa {
        width: 100%;
        aspect-ratio: 16/10;
    }
}
