.steps-cards-block__intro-txt-grp {
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    margin-bottom: 35px;
}

@media (min-width: 1200px) {
    .steps-cards-block__intro-txt-grp {
        margin-bottom: 60px;
    }
}

.steps-cards-block__heading,
.steps-cards-block__txt-content p:last-child,
.steps-cards-block__txt-content a:last-child,
.steps-cards-block__card-main-description p:last-child,
.steps-cards-block__card-main-description a:last-child {
    padding-bottom: 0;
}

@media (min-width: 1200px) {
    .steps-cards-block__intro-txt-grp {
        row-gap: 35px;
    }
}

.steps-cards-block__cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.steps-cards-block__card {
    border: 3px solid #D49936;
    background-color: #023645;
    color: #fff;
    width: 100%;
    text-align: center;
    position: relative;
    padding: 40px 25px;
    transition: all 400ms ease;
}

@media (min-width: 992px) {
    .steps-cards-block__card {
        width: calc(50% - 16px);
    }
}

@media (min-width: 1350px) {
    .steps-cards-block__card {
        width: calc(33.33% - 22px);
    }

    .steps-cards-block__card {
        background-color: #4E737D;
    }

    .steps-cards-block__card:hover {
        background-color: #023645;
    }
}

.steps-cards-block__card-main-txt-grp,
.steps-cards-block__card-intro-txt-grp {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
}

.steps-cards-block__card-main-txt-grp {
    padding-bottom: 53px;
    opacity: 1;
    transition: all 400ms ease;
}

@media (min-width: 1350px) {
    .steps-cards-block__card-main-txt-grp {
        opacity: 0;
    }

    .steps-cards-block__card:hover .steps-cards-block__card-main-txt-grp {
        opacity: 1;
    }
}

.steps-cards-block__card-main-step,
.steps-cards-block__card-intro-txt-step {
    color: #D59936;
    font-family: 'Courgette',cursive;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.28em;
    background-color: rgba(2,54,69,0.5);
    border-radius: 500px;
    padding: 0 19px;
    width: fit-content;
    min-width: 63px;
}

.steps-cards-block__card-main-heading,
.steps-cards-block__card-intro-txt-heading {
    color: #fff;
    font-size: 25px;
    line-height: 1.3;
    padding-bottom: 0;
    text-wrap: pretty;
}

.steps-cards-block__card-main-btn-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 4;
}

.steps-cards-block__card-main-btn {
    color: #D49936;
    opacity: 1;
    transition: all 400ms ease;
}

.steps-cards-block__card-main-btn:hover {
    color: #fff;
}

@media (min-width: 1350px) {
    .steps-cards-block__card-main-btn {
        opacity: 0;
    }

    .steps-cards-block__card:hover .steps-cards-block__card-main-btn {
        opacity: 1;
    }
}

.steps-cards-block__card-main-txt-grp {
    position: relative;
    z-index: 3;
}

.steps-cards-block__card-intro-txt-grp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: all 400ms ease;
}

.steps-cards-block__card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    z-index: 1;
    opacity: 0;
    transition: all 400ms ease;
}

@media (min-width: 1350px) {
    .steps-cards-block__card-intro-txt-grp {
        opacity: 1;
    }

    .steps-cards-block__card:hover .steps-cards-block__card-intro-txt-grp {
        opacity: 0;
    }
    
    .steps-cards-block__card-bg-img {
        opacity: 1;
    }
    
    .steps-cards-block__card:hover .steps-cards-block__card-bg-img {
        opacity: 0;
    }
}