.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-line-bg {
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-line-progress {
    position: absolute;
    width: 2px;
    background: var(--accent-color);
    top: 0;
    height: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--accent-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
}

.content-free {
    padding: 20px;
    transition: 0.4s;
}

.content-free h4 { color: white; font-weight: 700; margin-top: 10px; }
.year-badge { color: var(--accent-color); font-size: 0.85rem; letter-spacing: 1px; }
.location { color: rgba(255, 255, 255, 0.5); font-style: italic; font-size: 0.9rem; }
.description { color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

.timeline-item.left { left: 0; text-align: right; padding-right: 50px; }
.timeline-item.right { left: 50%; text-align: left; padding-left: 50px; }

.timeline-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #000;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    top: 25px;
    z-index: 2;
}

.timeline-item.left .timeline-dot { right: -6px; }
.timeline-item.right .timeline-dot { left: -6px; }

.timeline-dot.active {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

@media screen and (max-width: 768px) {
    .timeline-line-bg,
    .timeline-line-progress {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100% !important;
        margin-bottom: 40px;
        padding-left: 45px !important;
        padding-right: 0 !important;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-dot {
        left: 15px !important;
        right: auto !important;
        top: 25px;
    }

    .content-free {
        padding: 10px 0 10px 10px;
    }
}
