:root{
    --white: #fff;
    --color: #0D8CFF;
}

.demo{ background-color: #eee; }

.serviceBox{
    background: var(--white);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 0 0 70px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.serviceBox:before,
.serviceBox:after{
    content: "";
    background: var(--color);
    width: 100%;
    height: 50px;
    border-radius: 0 0 15px 15px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.serviceBox:after{
    background: var(--white);
    width: 50px;
    height: 50px;
    transform: translateX(-50%);
    left: 50%;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.serviceBox .service-icon{
    color: #fff;
    background: var(--color);
    font-size: 40px;
    line-height: 60px;
    width: calc(100% - 50px);
    height: 60px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
    margin: 0 auto 30px;
    position: relative;
}

.serviceBox .title{
    color: var(--color);
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 10px 10px;
}

.serviceBox .description{
    color: #888;
    font-size: 14px;
    line-height: 23px;
    margin: 0 20px;
}

.serviceBox.yellow{ --color: #ffa502; }

.serviceBox.pink{ --color: #f368e0; }

.serviceBox.red{ --color: #eb2f06; }

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