.buscatel-timeline-wrapper-fd1a613c {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
}

.timeline-line-track-fd1a613c {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: transparent;
    z-index: 1; /* Line behind cards */
}

.timeline-line-fd1a613c {
    width: 100%;
    height: 0; /* Animated via JS */
    background: #1D2C6F;
    transition: height 0.1s linear;
}

.timeline-cards-fd1a613c {
    position: relative;
    z-index: 2; /* Cards on top of the line */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-row-fd1a613c {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 10;
}

.timeline-row-fd1a613c.card-left-fd1a613c {
    justify-content: flex-start;
}

.timeline-row-fd1a613c.card-right-fd1a613c {
    justify-content: flex-end;
}

.timeline-card-fd1a613c {
    width: 50%;
    background: #1D2C6F;
    padding: 50px;
    min-height: 250px;
    border-radius: 8px;
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: opacity 0.6s ease;
    position: relative;
    z-index: 20; /* Ensure card content is clearly on top */
}

/* Continuous floating animation keyframes */
@keyframes timelineFloatingAnimation-fd1a613c {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* Apply animation only when visible */
.timeline-row-fd1a613c.is-visible .timeline-card-fd1a613c {
    opacity: 1;
    animation: timelineFloatingAnimation-fd1a613c 3s ease-in-out infinite;
}

/* Ensure the card visually overlaps the central line by ~25% */
.timeline-row-fd1a613c.card-left-fd1a613c .timeline-card-fd1a613c {
    left: 12.5%; 
}

.timeline-row-fd1a613c.card-right-fd1a613c .timeline-card-fd1a613c {
    right: 12.5%; 
}

.timeline-icon-fd1a613c {
    font-size: 32px;
    color: #99B7FF;
    margin-bottom: 20px;
}

.timeline-icon-fd1a613c svg {
    width: 32px;
    height: 32px;
    fill: #99B7FF;
}

.timeline-title-fd1a613c {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.timeline-desc-fd1a613c {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 767px) {
    .timeline-line-track-fd1a613c {
        display: none;
    }
    .timeline-row-fd1a613c {
        justify-content: center !important;
    }
    .timeline-card-fd1a613c {
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        animation: none !important; /* Disable continuous float on mobile to avoid layout shifts */
    }
    .timeline-row-fd1a613c.is-visible .timeline-card-fd1a613c {
        animation: none !important;
    }
}