  :root {
        --primary-gradient: linear-gradient(135deg, #b50000 0%, #2600bc 100%);
        --accent-gradient: linear-gradient(135deg, #b50000 0%, #ff0000 100%);
    }

    .timeline-container {
        max-width: 1200px;
        margin: 4rem auto;
        position: relative;
    }

    .timeline {
        position: relative;
        padding: 4rem 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--primary-gradient);
        transform: translateX(-50%);
        border-radius: 2px;
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }

    .timeline-item {
        position: relative;
        margin: 4rem 0;
        opacity: 0;
        transform: translateY(50px);
        animation: slideInUp 0.8s ease forwards;
    }

    .timeline-item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .timeline-item:nth-child(2) {
        animation-delay: 0.4s;
    }

    .timeline-item:nth-child(3) {
        animation-delay: 0.6s;
    }

    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .timeline-badge {
        width: 60px;
        height: 60px;
        background: var(--accent-gradient);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold; 
        font-size: 19px;
        z-index: 10;
        box-shadow: 0 10px 30px #b50000;
        border: 1px solid white;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .timeline-badge:hover {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 15px 40px #b50000;
    }

    .timeline-content {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        transition: all 0.4s ease;
        max-width: 45%;
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        top: 30px;
        width: 20px;
        height: 20px;
        background: var(--primary-gradient);
        border-radius: 50%;
        z-index: 5;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: row-reverse;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: auto;
        margin-right: 3rem;
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -10px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-right: auto;
        margin-left: 3rem;
    }

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

    .timeline-content:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
        color: white;
    }

    .step-number {
        background: rgba(0, 0, 0, 0.1);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.1rem;
        margin-right: 1rem;
        color: #495057;
    }

    .progress-bar {
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        overflow: hidden;
        margin: 1rem 0;
    }

    .progress-fill {
        height: 100%;
        background: var(--accent-gradient);
        width: 0;
        animation: progress 2s ease-in-out 1s forwards;
    }

    @keyframes progress {
        to {
            width: 100%;
        }
    }

    @media (max-width: 992px) {
        .timeline::before {
            left: 40px;
        }

        .timeline-item {
            flex-direction: column !important;
        }

        .timeline-badge {
            left: 20px;
        }

        .timeline-content {
            margin: 4rem 0 0 90px !important;
            max-width: 100% !important;
        }

        .timeline-content::before {
            display: none;
        }
    }