.steps {
    position: relative;
    color: var(--step-color);
}

.steps .wave-arrow {
    position: absolute;
    top: 10px;
    right: 0;
}

.steps .wave-arrow path {
    stroke: var(--steps-svg-color);
}


.steps .wave-arrow #path-arrow {
    fill: var(--steps-svg-color);
}

.steps .wave-arrow #path-border {
    stroke: var(--steps-border-color);
}

.steps-inner {
    display: flex;
    width: 100%;
}

.steps .item {
    position: relative;
}

.steps .title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.16;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.steps .item:last-child .title:after {
    display: none;
}

.steps .image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.steps .item:nth-child(even) .image {
    width: 300px;
    height: 300px;
}

.steps .image img {
    max-height: auto;
    width: auto;
}

.steps .image-number-holder {
    position: relative;
}

.steps .number {
    position: absolute;
    bottom: 20px;
}

.steps .item:first-child .number {
    left: 20px;
}

.steps .item:nth-child(2n) .number,
.steps .item:nth-child(3n):not(:last-child) .number {
    right: 5px;
    bottom: auto;
    top: 40px;
}

.steps .item:last-child .number {
    right: 20px;
}

.steps .number .digit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 24px;
    color: var(--step-number-color);
    z-index: 20;
}

.steps .pentagram {
    transform: rotate(90deg);
    position: relative;
    width: 38px;
    height: 60px;
    border-radius: 7px / 5px;
    background: var(--step-number-background-color);
    cursor: pointer;
}

.steps .pentagram:before {
    position: absolute;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    background: inherit;
    content: '';
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.steps .pentagram:after {
    position: absolute;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    background: inherit;
    content: '';
    -webkit-transform: rotate(-60deg);
    -ms-transform: rotate(-60deg);
    transform: rotate(-60deg);
}

.steps .text {
    font-size: 16px;
    color: var(--steps-color);
    margin: 0;
}

/* Primary */
.section--primary .steps {
    position: relative;
    color: var(--step-color-on-primary);
}

.section--primary .steps .wave-arrow path {
    stroke: var(--steps-svg-color-on-primary);
}

.section--primary .steps .wave-arrow #path-arrow {
    fill: var(--steps-svg-color-on-primary);
}

.section--primary .steps .wave-arrow #path-border {
    stroke: var(--steps-border-color-on-primary);
}

.section--primary .steps .number .digit {
    color: var(--step-number-color-on-primary);
}

.section--primary .steps .pentagram {
    background: var(--step-number-background-color-on-primary);
}

/* secondary */

.section--secondary .steps {
    position: relative;
    color: var(--step-color-on-secondary);
}

.section--secondary .steps .wave-arrow path {
    stroke: var(--steps-svg-color-on-secondary);
}

.section--secondary .steps .wave-arrow #path-arrow {
    fill: var(--steps-svg-color-on-secondary);
}

.section--secondary .steps .wave-arrow #path-border {
    stroke: var(--steps-border-color-on-secondary);
}

.section--secondary .steps .number .digit {
    color: var(--step-number-color-on-secondary);
}

.section--secondary .steps .pentagram {
    background: var(--step-number-background-color-on-secondary);
}

/* background image */

.section--background-image .steps {
    position: relative;
    color: var(--step-color-on-background-image);
}

.section--background-image .steps .wave-arrow path {
    stroke: var(--steps-svg-color-on-background-image);
}

.section--background-image .steps .wave-arrow #path-arrow {
    fill: var(--steps-svg-color-on-background-image);
}

.section--background-image .steps .wave-arrow #path-border {
    stroke: var(--steps-border-color-on-background-image);
}

.section--background-image .steps .number .digit {
    color: var(--step-number-color-on-background-image);
}

.section--background-image .steps .pentagram {
    background: var(--step-number-background-color-on-background-image);
}

@media only screen and (min-width: 991px) {
    .steps-inner {
        gap: 90px;
        justify-content: center;
    }
}

@media only screen and (max-width: 991px) {
    .steps-inner {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 767px) {
    .steps-inner {
        justify-content: center;
            gap: 20px;
    }

    .steps .wave-arrow {
        display: none;
    }

    .steps .image {
        width: 190px;
        height: 190px;
    }

    .steps .item:nth-child(even) .image {
        width: 250px;
        height: 250px;
    }
}