/* ================================================
   ABOUT PAGE - TIMELINE
   ================================================ */

.busova-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin-left: 0.5rem;
}

/* Continuous vertical line connecting all markers */
.busova-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--bs-primary) 0%,
        var(--bs-primary) 85%,
        transparent 100%
    );
}

.timeline-item {
    position: relative;
    padding-bottom: 2.25rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Marker dot on the line */
.timeline-marker {
    position: absolute;
    left: -2.25rem;
    top: 0.25rem;
    width: 18px;
    height: 18px;
    background: var(--bs-primary);
    border: 3px solid var(--bs-body-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--bs-primary);
    z-index: 2;
}

/* Pulsing effect on the last marker (The Future) */
.timeline-item:last-child .timeline-marker {
    animation: timeline-pulse 2s ease-in-out infinite;
}

@keyframes timeline-pulse {
    0%, 100% {
        box-shadow: 0 0 0 2px var(--bs-primary);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(var(--bs-primary-rgb), 0.3);
    }
}

.timeline-content {
    padding-left: 0.75rem;
}

/* Date label styled as a small tag */
.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-primary);
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

/* Horizontal connector from the dot to the content */
.timeline-item::after {
    content: '';
    position: absolute;
    left: -0.45rem;
    top: 0.7rem;
    width: 1rem;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0.4;
    z-index: 1;
}

/* Responsive: tighten up on mobile */
@media (max-width: 575.98px) {
    .busova-timeline {
        padding-left: 2rem;
        margin-left: 0.25rem;
    }

    .timeline-marker {
        left: -1.75rem;
        width: 14px;
        height: 14px;
    }

    .timeline-item::after {
        left: -0.55rem;
        width: 0.75rem;
    }

    .busova-timeline::before {
        left: 6px;
    }
}
