.steps-timeline {
    position: relative;
    max-width: 900px;
}

.steps-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1rem;
    width: 4px;
    height: 100%;
    background: #ebebeb;
    z-index: 0;
}

.step-block {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-left: 4rem;
    cursor: pointer;
}

.step-block:hover .step-circle,
.step-block.active .step-circle {
    background: var(--webpage-main-color);
    transform: scale(1.1);
}

.step-block.active .step-details {
    max-height: 500px;
    opacity: 1;
    margin-top: 2rem;
}

.step-circle {
    position: absolute;
    top: 45px;
    left: 0;
    width: 36px;
    height: 36px;
    background: #ddd;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.step-content {
    position: relative;
    width: 100%;
    background: #f9f9f9;
    padding: var(--card-pad);
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    transition: all .4s;
    text-align: left;
    overflow: hidden;
}

.step-content h3 {
    font-size: var(--fs-500);
    margin: 0 0 10px;
    color: var(--webpage-main-color);
    text-transform: uppercase;
}

.step-content img {
    width: 40px;
    float: right;
    margin-left: 20px;
    opacity: 1;
}

.step-summary,
.step-details {
    font-size: var(--font-base);
    color: #444;
    line-height: 1.6;
}

.step-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .4s;
    font-size: var(--font-base);
}

.step-details p {
    margin-bottom: 1rem;
}


@media(min-width:768px) {
    .step-content img {
        width: 60px;
    }

    .step-block {
        margin-bottom: 30px;
    }
}