/* steps */

.steps {
    position: relative;
    background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 55%, #0a0a0a 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 132px 20px 203px;;
}

section.steps .h5 {
    margin-bottom: 50px;
}

section.steps .h5::after {
    background: #FFF;
}

.steps-heading {
    
}

.steps-sub {
    
}

.steps-row {
    position: relative;
    display: flex;
    gap: 0;
    margin-top: 56px;
}

.steps-item {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}

.steps-item:after {
    content: "";
    position: absolute;
    top: 144px;
    height: 1px;
    background: #ffffff40;
    right: 0;
    width: 50%;
    width: calc(50% - 40px);
}

.steps-item:before {
    content: "";
    position: absolute;
    top: 144px;
    height: 1px;
    background: #ffffff40;
    left: 0;
    width: 50%;
    width: calc(50% - 40px);
}

.steps-item:first-of-type:before {
    display: none;
}

.steps-item:last-of-type:after {
    display: none;
}

.steps-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
}

.steps-item-icon svg,
.steps-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.steps-item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    font-weight: 600;
    margin: 30px 0 38px;
}


.steps-item-title {
    margin-bottom: 15px;
    max-width: 190px;
}

.steps-item-desc {
    max-width: 250px;
}

.steps-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 90px;
    padding: 37px 41px;
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
}

.steps-cta svg {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.steps-cta:hover svg {
    transform: translateX(3px);
}

.steps.light {
    background-image: url(../imgs/background.jpg) !important;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #0e0b0b !important;
}

section.steps.light .h5::after {
    background: #0e0b0b;
}

.steps.light .steps-sub {
    color: rgba(14, 11, 11, .75) !important;
}

.steps.light .steps-item-number {
    border-color: #0e0b0b !important;
}

.steps.light .steps-item:before,
.steps.light .steps-item:after {
    background: rgba(14, 11, 11, .25) !important;
}

@media screen and (max-width: 767px) {
    .steps {
        padding: 93px 15px;
        margin: 0 13px;
        border-radius: 8px;
        width: calc(100% - 26px);
        overflow: hidden;
        text-align: left;
    }

    section.steps .h5 {
        margin-bottom: 30px;
    }

    .steps .section-header.section-header-center {
        text-align: left;
        margin-bottom: 0;
    }

    .steps .eyebrow.eyebrow-center {
        align-items: flex-start;
    }

    .steps .section-header h3 {
        font-size: 14px;
        line-height: 22px;
        margin: 0;
    }

    .btn-content {
        text-align: center;
    }

    .steps-row {
        margin-top: 65px;
        flex-direction: column;
    }
    
    .steps-item {
        padding: 0;
        padding-left: 90px;
        align-items: start;
    }

    .steps-item:not(:last-of-type) {
        padding-bottom: 50px;
    }

    .steps-item:before {
        width: 2px;
        height: calc(50% - 45px);
        bottom: auto;
        right: auto;
        left: 36px;
        top: 0;
    }

    .steps-item:after {
        width: 2px;
        height: calc(50% - -5px);
        right: auto;
        left: 36px;
        top: auto;
        bottom: 0;
    }

    .steps-item-number {
        position: absolute;
        left: 17px;
        top: -50px;
        bottom: 0;
        margin: auto;
        width: 40px;
        height: 40px;
    }

    .steps-item-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;
    }

    .steps-item-title {
        max-width: 100%;
        margin: 0;
        font-size: 15px;
        font-weight: 600;
    }

    .steps .btn-content.mt-lg {
        margin-top: 73px;
    }
}
