/* Enhanced Timeline Styles */
.timeline-container {
    position: relative;
    margin: 2rem 0;
    padding-left: 3rem;
    border-left: none;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 1;
    visibility: visible;
    animation: fadeInRight 0.6s forwards;
}

.timeline-marker {
    position: absolute;
    left: -3.35rem;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.3), 0 0 20px rgba(52, 152, 219, 0.5);
    top: 0.3rem;
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.4), 0 0 30px rgba(52, 152, 219, 0.6);
}

.timeline-content {
    padding: 1.5rem;
    background-color: rgba(30, 30, 45, 0.8);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--secondary-color);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.timeline-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-content ul {
    margin-left: 1rem;
}

.timeline-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Animation for timeline items */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-container {
        padding-left: 2.5rem;
    }
    
    .timeline-marker {
        left: -2.75rem;
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
}
