/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    animation: fadeIn 0.8s ease-out;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
    border-left: 4px solid var(--primary);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--secondary);
}

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

.timeline-date {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-item:nth-child(even) .timeline-date {
    color: var(--secondary);
}

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

.timeline-content p {
    color: #ccc;
    line-height: 1.6;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    top: 30px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
    background: var(--primary);
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px !important;
        right: auto !important;
    }
    
    .timeline-content {
        border-left: 4px solid var(--primary) !important;
        border-right: none !important;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 50px;
        padding-right: 15px;
    }
    
    .timeline-item::after {
        left: 16px !important;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}