.steps {
    margin: 0;
    padding: 250px 0 210px;
    overflow: hidden;
    z-index: 1;
}
.steps canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/03/steps-background.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}
.steps .b2-inner-content {
    padding: 0 250px;
}
.steps-heading {
    position: relative;
    z-index: 3;
}
.steps-list {
    display: flex;
}
.steps-item {
    position: relative;
    width: 20%;
    padding: 130px 4% 0;
}
.steps-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1px;
    height: 250%;
    background: linear-gradient(to bottom, rgba(112, 207, 232, .3), transparent);
    pointer-events: none;
}
.steps-item:last-child:after {
    opacity: 0;
}
.steps-item:nth-child(2),
.steps-item:nth-child(5) {
    margin-top: 59px;
}
.steps-item:nth-child(4) {
    margin-top: 178px;
}
.steps-item span {
    display: block;
    color: #D6EDF2;
    letter-spacing: -2px;
    margin-bottom: 52px;
}
.steps-item h3 {
    margin-bottom: 24px;
}
.steps-item p {
    font-family: var(--title-font);
    color: #404040;
}
.steps-flow-line {
    position: absolute;
    top: 0;
    left: -1px;
    width: 1px;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}
.steps-flow-line::before {
    content: "";
    position: absolute;
    left: 0;
    width: 5px;
    height: 180px;
    background: linear-gradient(to bottom, transparent, #1ebae3, transparent);
    opacity: 0;
    animation: stepsflowDown var(--dur, 3s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes stepsflowDown {
    0%   { top: -50px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@media only screen and (max-width: 1400px) { /* check 1367 */
    .steps .b2-inner-content {
        padding: 0 50px;
    }
    .steps-item h3 {
        font-size: 1.125rem;
    }
    .steps-item p {
        font-size: .825rem;
    }
    .steps-item span {
        font-size: 3.15rem;
    }
}

@media only screen and (max-width: 1280px) { /* check 1081 */
    .steps {
        padding: 120px 0 0;
    }
    .steps::before {
        height: 50%;
    }
    .steps-heading {
        margin-bottom: 60px; 
    }
    .steps-list {
        flex-direction: column;
    }
    .steps-item {
        display: flex;
        width: 100%;
        max-width: 100%;
        padding: 0 50px;
        margin-top: 0 !important;
        margin-bottom: 30px;
    }
    .steps-item::after {
        display: none;
    }
    .steps-item div {
        width: calc(100% - 100px);
        padding-left: 30px;
    }
    .steps-item span {
        width: 100px;
    }
    .steps-flow-line::before {
        display: none;
    }
}