.service-block-list-section {
    padding: 70px 0;
    display: block;
    margin: 0 auto;
}
.service-block-list {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}
.service-block-item {
    width: 100%;
    max-width: calc((100% / 5) - 16px);
    position: relative;
}
.service-block-item a {
    display: block;
}
.service-block-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center center;
}
.service-block-item h2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    transition: height 0.3s ease-in-out 0s;
    -webkit-transition: height 0.3s ease-in-out 0s;
    -moz-transition: height 0.3s ease-in-out 0s;
    -ms-transition: height 0.3s ease-in-out 0s;
    -o-transition: height 0.3s ease-in-out 0s;
}
.service-block-item h2::before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,rgba(29,66,138,1) 0%,rgba(0,118,128,1) 45%,rgba(5,150,162,1) 100%);
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out 0s;
    -webkit-transition: opacity 0.5s ease-in-out 0s;
    -moz-transition: opacity 0.5s ease-in-out 0s;
    -ms-transition: opacity 0.5s ease-in-out 0s;
    -o-transition: opacity 0.5s ease-in-out 0s;
}
.service-block-item h2 span {
    display: block;
    position: relative;
    line-height: normal;
    font-size: 20px;
    color: #fff;
    text-align: center;
    padding: 10px;
}
.service-block-item:hover h2 {
    height: 100%;
}
.service-block-item:hover h2::before {
    opacity: 0.9;
}

@media screen and (max-width: 1320px) {
    .service-block-item img {
        height: 250px;
    }
    .service-block-item h2 span {
        font-size: 18px;
    }
}
@media screen and (max-width: 1125px) {
    .service-block-item {
        max-width: calc((100% / 3) - 20px);
    }
    .service-block-item img {
        height: 350px;
    }
}
@media screen and (max-width: 950px) {
    .service-block-item img {
        height: 250px;
    }
}
@media screen and (max-width: 680px) {
    .service-block-item {
        max-width: calc((100% / 2) - 10px);
    }
}
@media screen and (max-width: 460px) {
    .service-block-item {
        max-width: 100%
    }
    .service-block-item img {
        height: auto;
    }
}