#experience {
    padding: 100px 5%;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out both;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--dark);
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--primary);
    z-index: 1;
}

.timeline-content {
    background: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: calc(50% - 2rem);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.timeline-date {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.timeline-company {
    color: rgba(241, 245, 249, 0.7);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-description {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-description li {
    padding: 0.5rem 0;
    color: rgba(241, 245, 249, 0.8);
    position: relative;
    padding-left: 1.5rem;
}

.timeline-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-content {
        width: 100%;
        margin-left: 2rem !important;
    }

    .timeline-dot {
        left: 0;
        transform: translateX(-8px);
    }
}