:root{
    --white: #fff;
    --color: #0D8CFF;
}
 
.demo{ background-color: #eee; }
 .serviceBox:hover {
    background: pink;
     
 }
 .serviceBox.yellow:hover, .serviceBox.pink:hover, .serviceBox.red:hover, .serviceBox.indigo:hover {
    background: #2199f1;
}
.serviceBox{
    background: #009fe7;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 0 0 70px;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    height: 360px;
}
 

 
.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:before {
    content: '';
    background-color: #495052;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    transform: rotate(45deg);
    position: absolute;
    left: 25px;
    bottom: -10px;
}
.serviceBox .service-icon {
    color: #FF8F10;
    background-color: #495052;
    font-size: 35px;
    text-align: center;
    height: 60px;
    width: 200px;
    padding: 7px;
    margin: 0 auto 30px;
    border-radius: 25px;
    position: relative;
}
.serviceBox .title{
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 10px 10px;
}
 
.serviceBox .description{
   color:white;
    font-size: 14px;
    line-height: 23px;
    margin: 0 20px;
}
 
.serviceBox.yellow{  background: #e0b84e;}
 
.serviceBox.pink{ background: #6ab78a; }
 
.serviceBox.red{ background: #df764e; }

.serviceBox.indigo{ background: #6fc4d9; }


 
@media only screen and (max-width: 1199px){
    .serviceBox{ margin: 0 0 30px; }
}
