/* ===== Experience Page ===== */
.experience {
    background: #f8fafc;
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-group {
    margin-bottom: 4rem;
}

.timeline-category {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 2rem;
    font-weight: 700;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 50px;
    animation: none;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: #2563eb;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #bfdbfe;
}

.timeline-item:nth-child(even) .timeline-marker {
    background: #2563eb;
    box-shadow: 0 0 0 2px #bfdbfe;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    flex: 1;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.timeline-content:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateX(4px);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.timeline-meta {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-content p {
    color: #475569;
    line-height: 1.6;
}

/* ===== Animations ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        width: 24px;
        height: 24px;
        left: 3px;
    }

    .timeline-content {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-category {
        font-size: 1.2rem;
    }
}
