.block-inner-wrp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}
.service-heading {
    flex: 0 78%;
}
.service-img {
    flex: 0 20%;
}
.service-box-outer-wrp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
.service-box-wrp {
    flex: 0 31%;
    border: 1px solid #50baf7;
    border-radius: 5px;
    // padding: 20px;
    margin-bottom: 20px !important;
    position:relative;
    transition: ease 0.5s all;
    margin:0 1%;
}
.sevice-outer-wrapper {
    padding: 50px 20px;
      //background-color: #f8fafc;
  overflow-x:hidden !important;
}
.sevice-header h2 {
    font-size: 40px;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 20px;
    color: #0170a2;
    font-weight: 300;
    line-height: 1.2em;
    display: inline-block;
  font-family: 'Work Sans',sans-serif;
}

.sevice-header h2:after {
    background-image: url(https://cdn2.hubspot.net/hubfs/6282708/Blue%20Line.png);
    width: 75px;
    height: 8px;
    content: '';
    display: flex;
    background-repeat: no-repeat;
    margin-top: 8px;
}
.sevice-header p {
    width: 85%;
    margin: 0 auto;
    padding: 20px 0px;
    /*font-size: 18px;*/
    line-height: 1.4;
  font-family: 'Work Sans', sans-serif;
}
.sevice-header {
    text-align: center;
    padding-bottom: 10px;
}
.service-heading h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 21px;
    letter-spacing: 2px;
    font-weight: 600;
  text-decoration:none;
  color:#000;
  font-family: 'Work Sans',sans-serif;
}
.service-link {
    text-align: right;
    position: absolute;
    bottom: 12px;
    right: 22px;
}
.service-details p {
    margin: 0;
    padding: 20px 0px 40px;
      font-size: 18px;
    line-height: 1.4;
  text-decoration:none;
  color:#000;
  display:none;
  font-family: 'Work Sans',sans-serif;
}
.service-box-wrp:hover .service-details p{
  color:#fff;
  font-family: 'Work Sans',sans-serif;
}

.service-box-wrp:hover {
      // background-image: linear-gradient(to left, #0170A2, #52C0FF);
    color: #fff;
      border: 1px solid #50baf7;
      transition: ease 0.5s all;
      background-color: #50baf7;
  
  }
.hover-arrow{
 display:none; 
}
.service-box-wrp:hover .service-heading h2 {
    color: #fff;
}
.service-box-wrp:hover .hover-arrow{
 display:block; 
  text-align:right;
  position: absolute;
    bottom: 12px;
    right: 22px;
}
.service-box-wrp:hover .service-link{
  display:none;  
}
.service-img1{
  display:none;
}
.service-box-wrp:hover .service-img1{
  display:block;
      flex: 0 20%;
}
.service-box-wrp:hover .service-img{
  display:none;
}
.service-cta {
    text-align: center;
   padding-top: 20px;
}
.service-cta a {
    text-decoration: none!important;
    border: 1px solid red;
    padding: 15px 40px;
    border-radius: 5px;
    color: #fff!important;  
    background-color: #ee3524;
    font-size: 16px;
    display: inline-flex;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;  
    transition: .5s all;
}
.service-cta a:hover{
    color: #000!important;     
    background-color: transparent;
}
.service-box-wrp a {
    padding: 20px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
  text-decoration:none;
}




/*********** Responsive ****************/

/************** ipad ***************/
@media (max-width: 1080px) {
  
}
@media (max-width: 1000px) {
  .service-box-wrp {
    flex: 0 47%;
  }
}

/************** ipad nd tab ***************/
@media only screen and (min-width:768px) and (max-width: 1024px) and (orientation : portrait){
.service-box-wrp {
    flex: 0 50%;
    margin: 0px auto 70px;
}


}

/************** iphone roatate***************/
@media (max-width: 767px) {

.service-box-wrp {
      margin: 0px auto;
    margin-bottom: 20px !important;
}
  .sevice-header p {
    width: 100%;
  }
  .service-cta a{
    padding: 15px 10px;    
  }
  .service-box-outer-wrp {
    display: block;
  }
 .service-details {
    display: none;
}
}

/************** iphone ***************/
@media (max-width: 479px) {
  .service-box-wrp {
    flex: 0 60%;
  }
.service-details {
    display: none;
}
 .service-heading a {
   
    font-size: 18px; 
  }
  .service-img {
    flex: 0 13%;
}
  .service-box-wrp {
   
    padding: 20px 10px;
  }
  
}