/* Timeline container */
.timeline {
    position: relative;
    max-width: 700px;
    margin: auto;
}

/* Vertical line */
.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #dcdcdc;
}

/* Each step */
.step {
    position: relative;
    margin-bottom: 30px;
    padding-left: 80px;
}

/* Circle */
.circle {
    position: absolute;
    left: 10px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    transition: 0.3s;
}

/* Hover animation */
.step:hover .circle {
    transform: scale(1.2);
    background: #00bcd4;
}

/* Content box */
.content {
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: 0.3s;
}

/* Hover effect */
.step:hover .content {
    transform: translateX(5px);

}

/* Title */
.content h4 {
    margin: 0 0 5px;
}

/* Description */
.content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Optional alternating layout */
.step:nth-child(even) .content {
    background: #eef6ff;
}

/* Responsive */
@media(max-width: 600px) {
    .timeline::before {
        left: 20px;
    }

    .circle {
        left: 0;
    }

    .step {
        padding-left: 60px;
    }
}
