


/* services block three */
.services-block-three > a {
    display: block;
    border: 3px solid #d5d5d5;
    border-radius: 0;
    text-align: center;
    background: #fff;
    padding: 20px;
    position: relative;
}

    .services-block-three > a:before {
        display: block;
        content: "";
        width: 9%;
        height: 17%;
        position: absolute;
        bottom: -3px;
        right: -3px;
        border-bottom: 3px solid #03a9f5;
        border-right: 3px solid #03a9f5;
        transition: all 0.5s ease 0s;
        -webkit-transition: all 0.5s ease 0s;
    }

    .services-block-three > a:after {
        display: block;
        content: "";
        width: 9%;
        height: 17%;
        position: absolute;
        top: -3px;
        left: -3px;
        border-top: 3px solid #03a9f5;
        border-left: 3px solid #03a9f5;
        transition: all 0.5s ease 0s;
        -webkit-transition: all 0.5s ease 0s;
    }

    .services-block-three > a:hover {
        opacity: 1;
        border-color: #d5d5d5;
    }

        .services-block-three > a:hover:before, .services-block-three > a:hover:after {
            width: 95%;
            height: 90%;
        }

.services-block-three i {
    font-size: 32px;
}

.services-block-three p {
    margin-bottom: 0;
}

/* service-block */
.service-grids .service-block {
    overflow: hidden;
    position: relative;
}

.service-grids .img-holder {
    position: relative;
}

.service-grids .service-block:hover .img-holder:before {
    opacity: 1;
}

.service-grids .service-block .details {
    background-color: #fff;
    box-shadow: 0 3px 13px rgba(0, 0, 0, 0.07);
    padding: 45px 45px 50px;
    position: relative;
    text-align: center;
    transition: all 0.5s ease 0s;
    z-index: 20;
}

.service-grids .service-block .number {
    background-color: #03a9f5;
    border-radius: 75px;
    color: #fff;
    height: 75px;
    font-size: 30px;
    left: 50%;
    line-height: 75px;
    position: absolute;
    top: -37.5px;
    transform: translateX(-50%);
    width: 75px;
}

.service-grids .service-block .details h4 {
    color: #03a9f5;
    font-size: 20px;
    margin: 10px 0 15px 0;
    line-height: normal;
}

.service-grids .service-block .details .read-more {
    color: #03a9f5;
    font-weight: 600;
}

@media screen and (min-width: 992px) {
    .service-grids .service-block {
        height: 335px;
    }

    .service-grids .img-holder:before {
        background-color: rgba(3, 169, 245, 0.6);
        bottom: 20px;
        content: "";
        height: 100%;
        left: 0;
        opacity: 0;
        position: absolute;
        top: auto;
        transition: all 0.3s ease 0s;
        width: 100%;
        z-index: 10;
    }

    .service-grids .service-block .details {
        height: 195px;
        position: absolute;
        top: 168px;
    }

    .service-grids .service-block:hover .details {
        height: 230px;
        top: 105px;
    }
}

@media screen and (min-width: 1200px) {
    .service-grids .service-block {
        height: 370px;
    }

        .service-grids .service-block .details {
            height: 195px;
            position: absolute;
            top: 205px;
        }

        .service-grids .service-block:hover .details {
            height: 230px;
            top: 170px;
        }
}

@media screen and (max-width: 991px) {
    .service-grids .service-block .details {
        padding: 45px 25px 35px;
    }
}

@media screen and (max-width: 767px) {
    .service-grids .service-block .number {
        height: 65px;
        line-height: 65px;
        top: -32.5px;
        width: 65px;
        border-radius: 65px;
    }
}
