.demo{ background: #e9e9e9; }

.serviceBox{
    color: #999;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 10px 0 15px;
    position: relative;
}

.serviceBox:before,
.serviceBox:after{
    content: "";
    background: #1e5270;
    width: 150px;
    height: 10px;
    transform: translateX(-50%);
    position: absolute;
    top: 0;
    left: 50%;
    clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}

.serviceBox:after{
    width: 80%;
    height: 15px;
    border-radius: 0 0 10px 10px;
    top: auto;
    bottom: 0;
    clip-path: none;
}

.serviceBox .service-content{
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
}

.serviceBox .service-content:before{
    content: "";
    background:#1b657e;
    width: 128px;
    height: 100px;
    transform: translateX(-50%);
    position: absolute;
    top: 0;
    left: 50%;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.serviceBox .service-icon{
    color: #77787a;
    background: linear-gradient(to left, #dedfe1, #f3f3f3);
    font-size: 40px;
    line-height: 100px;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
}

.serviceBox .service-icon:before{
    content: "";
    background: linear-gradient(to right, #dedfe1, #f3f3f3);
    width: 88%;
    height: 88%;
    border-radius: 50%;
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.1);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
}

.serviceBox .title{
    color: #1e5270;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.serviceBox .description{
    font-size: 14px;
    line-height: 24px;
    margin: 0;
}

.serviceBox.green:before{ background: #719e2a; }
.serviceBox.green:after,
.serviceBox.green .service-content:before{
    background: #85bc16;
}
.serviceBox.green .title{ color: #85bc16; }

.serviceBox.blue:before{ background: #1B8E9B; }
.serviceBox.blue:after,
.serviceBox.blue .service-content:before{
    background: #28B7C5;
}
.serviceBox.blue .title{ color: #28B7C5; }

.serviceBox.purple:before{ background: #83235D; }
.serviceBox.purple:after,
.serviceBox.purple .service-content:before{
    background: #A83475;
}
.serviceBox.purple .title{ color: #A83475; }

@media only screen and (max-width:990px){
    .serviceBox{ margin: 0 0 30px; }
}