/* ============================================ */
/* MODERN TIMELINE STYLES                       */
/* ============================================ */

.modern-timeline {
    padding: 20px 0 40px;
}

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.timeline-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-marker {
    position: relative;
    margin-bottom: 25px;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #1e3a8a;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border: 3px solid #e2e8f0;
}

.timeline-step.highlight .timeline-icon {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-color: #fff;
    box-shadow: 0 20px 35px -8px rgba(30, 58, 138, 0.4);
    transform: scale(1.05);
}

.timeline-step:hover .timeline-icon {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
}

/* Horizontal connector line between steps */
.timeline-line-connector {
    position: absolute;
    top: 40px;
    left: 50%;
    width: calc(100% + 30px);
    height: 3px;
    background: linear-gradient(90deg, #cbd5e1, #94a3b8, #cbd5e1);
    z-index: 1;
}

.timeline-step:last-child .timeline-line-connector {
    display: none;
}

/* Timeline content cards */
.timeline-content {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-step:hover .timeline-content {
    transform: translateY(-8px);
    box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.15);
}

.timeline-step.highlight .timeline-content {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
}

.timeline-year {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 30px;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.timeline-step.highlight .timeline-year {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.timeline-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

.timeline-step.highlight .timeline-title {
    color: white;
}

.timeline-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 15px;
}

.timeline-step.highlight .timeline-desc {
    color: rgba(255, 255, 255, 0.9);
}

.timeline-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    background: #e2e8f0;
    border-radius: 30px;
    color: #1e3a8a;
}

.timeline-step.highlight .timeline-badge {
    background: white;
    color: #1e3a8a;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .timeline-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline-line-connector {
        display: none;
    }
    
    .timeline-step {
        min-width: auto;
    }
    
    .timeline-marker {
        margin-bottom: 15px;
    }
    
    .timeline-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}