.block .heading span {
    color: #8b8b8b;
    background: none;
    border-left: none;
    padding: 0px;
}

.block .heading {
    max-width: 560px;
    margin-top: 0px;
}

.block .heading.three span,
.block .heading.four span {
    background: linear-gradient(90deg, rgba(216, 230, 227, .72), rgba(216, 230, 227, .18));
    border-left: 4px solid #151515;
    color: #1b1b1b;
    padding: 0px 8px;
}

.block .heading.four span {
    background: linear-gradient(90deg, rgba(15, 157, 237, .32), rgba(15, 157, 237, .04));
    border-left: 4px solid #0f9ded;
}

.services {
    margin: auto;
    max-width: 1088px;
}

.service-block {
    background-color: white;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 30px;
    margin-top: 50px;
}

.s-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s-flex p:nth-child(1) {
    font-size: 30px;
    font-weight: 500;
}

.s-flex p:nth-child(2) {
    color: #151515;
    background: rgba(216, 230, 227, .62);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 100px;
}

.s-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 560px;
    gap: 15px;
    margin-top: 40px;
}

.s-grid .serv {
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.s-grid .serv:hover img {
    transform: scale(1.1);
}

.s-grid .serv::before {
    content: "";
    background: linear-gradient(45deg, #1b1b1b 15%, #1b1b1b00 80%);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.s-grid .serv img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.s-grid .serv:nth-child(3) {
    grid-column: span 2;
    height: 460px;
}

.s-text {
    position: absolute;
    z-index: 5;
    left: 0%;
    bottom: 0%;
    margin: 40px;
}

.s-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    max-width: 300px;
    line-height: 1.23em;
}

.s-desc {
    color: rgba(251, 251, 251, .6);
    font-weight: 500;
    font-size: 14px;
    margin: 15px 0px;
    max-width: 350px;
    line-height: 1.45em;
}

.s-link {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 10px;
}

.s-link span {
    color: white;
    font-weight: 500;
}

.s-link i {
    color: white;
    font-size: 22px;
}

.s-flex.two {
    background-color: white;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 30px;
    margin-top: 25px;
}

.s-flex.two p {
    font-size: 24px;
}

.block .links {
    justify-content: right;
    margin-top: 0px;
}
