.vertical-stepper {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: start;
    margin-bottom: 17px;
}

.first-step {
    background: #F5C360;
    width: 67px;
    height: 67px;
    box-shadow: 0px 4px 37px rgba(245, 195, 96, 0.50);
    display: flex;
    border-radius: 50%;

    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    color: #fff;

}

.step-number {
    width: 67px;
    height: 67px;
    background-color: #EAEAEB;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0px 4px 37px #EAEAEB;

    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    /* Add this to position the pseudo-element relative to step-number */
}

.first-step::before {
    content: "";
    width: 2px;
    height: 100px;
    background-color: #F5C360;
    position: absolute;
    left: 50%;
    top: 67px;
    transform: translateX(-50%);
}

.step-number::before {
    content: "";
    width: 2px;
    height: 200px;
    background-color: #EAEAEB;
    position: absolute;
    left: 50%;
    top: 67px;
    transform: translateX(-50%);
}

.step-content {
    margin-left: 2.5rem;
    width: 70%;
}

.step-title {

    font-family: 'DM Sans';
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    margin-bottom: 5px;

}

.step-subtitle {
    color: #575A5F;
    font-family: Heebo;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 160% */
}

.step-container {

    display: flex;
}

.step-row {
    width: 50%;
    margin-left: 60px;
}

.how-it-works-img {
    height: 100%;
}

.last-step ::before {
    height: 50px;
}

.last-step {
    width: 67px;
    height: 67px;
    background-color: #EAEAEB;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0px 4px 37px #EAEAEB;

    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
}

/* .last-step::before {
    content: "";
    width: 2px;
    height: 110px;
    background-color: #EAEAEB;
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
}
 */

/* Hide scrollbar for Chrome, Safari and Opera */
.sides-cards::-webkit-scrollbar {
    display: none;
}



/* Hide scrollbar for IE, Edge and Firefox */
.sides-cards {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

@media only screen and (min-width: 1200px) {
    .step-number::before {

        height: 100px;

    }
}

@media screen and (max-width: 800px) {
    .step-row {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        margin-left: 0;
    }

    .vertical-stepper {

        margin-right: 20px;
    }
}