/* ============================================
   Timeline Component (About Page)
   ============================================ */
.timeline {
    position: relative;
    padding: var(--space-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--color-border);
}

.timeline__item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    position: relative;
    margin-bottom: var(--space-xl);
}

.timeline__item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 30px);
}

.timeline__dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    border: 4px solid var(--color-accent);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.timeline__content {
    background: var(--color-accent);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 450px;
    transition: all var(--transition-base);
}
.timeline__content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.timeline__year {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: var(--fw-bold);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-2xs);
}

.timeline__title {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
}

.timeline__desc {
    font-size: var(--fs-small);
    color: var(--color-gray);
    line-height: var(--lh-loose);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline__item,
    .timeline__item:nth-child(even) {
        padding-left: 55px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline__dot {
        left: 20px;
    }
}
