/* Experience Timeline */
#experience {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.09) 0px, transparent 20%),
        radial-gradient(circle at 10% 50%, rgba(255, 159, 28, 0.07) 0px, transparent 12%),
        #0D0D0D;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.8);
    border: 3px solid var(--background-color);
    z-index: 1;
}

.timeline-content {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(255, 107, 53, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::after {
    content: 'More >';
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #666;
    font-size: 0.85rem;
    opacity: 0.7;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(255, 107, 53, 0.25);
}

.timeline-current {
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(255, 107, 53, 0.3);
}

.timeline-pin {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: var(--light-text);
}

.timeline-content h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 400;
}

.timeline-date {
    font-style: italic;
    margin-bottom: 5px;
    color: #999;
}

.read-more {
    display: none;
}
