/* ... existing styles ... */

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    /* Changed to use existing variable or border color */
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 20px;
    /* Align with dots */
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 100%;
    margin-bottom: 30px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: 11px;
    /* Center on line */
    top: 15px;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary);
}

.timeline-content {
    padding: 20px 30px;
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s var(--ease-out);
}

.timeline-content:hover {
    transform: translateX(10px);
    background: var(--bg-card-hover);
    border-color: rgba(188, 19, 254, 0.3);
    /* Secondary color hint */
}

.timeline-content .date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.timeline-content .school {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
}