

.mill-service-box  .mill-service-meta ul{
  margin: 0;
  
}
.mill-service-details{
  padding-top: 30px;
}
.mill-service-box  .mill-service-meta ul li span.mill-user{
  letter-spacing: var(--letter-spacing);
  text-transform: uppercase;
  font-size: var(--font-size-normal);
  font-family: var(--highlight-font-family);
  font-weight: var(--font-weight-semi-bold);
  color: var(--color-theme-primary);
}
.mill-service-image{
  position: relative;
  overflow: hidden;
}
.mill-service-box-style-1 .mill-service-details{
  padding: 30px;
  position: relative;
}
.mill-service-box-style-1{
  box-shadow: 10px 10px 50px rgb(0 0 0 / 5%);
  border-bottom: 5px solid var(--color-theme-secondary);
}
.mill-service-box-style-1 .mill-service-image img{
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.mill-service-box-style-1:hover .mill-service-image img{
  -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.mill-service-image:before{
  content: "";
  background:var(--color-theme-secondary);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
  opacity: 0;
}
.mill-service-box:hover  .mill-service-image:before{
  top: -10px;
  left: 10px;
  opacity: 1;
}
.mill-service-box-style-1 .mill-service-inner-image{
    position: absolute;
    width: 80px;
    height: 80px;
    text-align: center;
    right: 30px;
    top: -65px;
    padding: 15px;
    background:var(--color-theme-white);
    border-bottom: 2px solid var(--color-theme-secondary);    
}

.mill-service-box-style-2{
  padding: 60px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-theme-primary-light);
  transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out; 
}
.mill-service-box-style-2 .mill-service-details{
  padding: 0;
}
.mill-service-box-style-2 .mill-service-image .mill-img-box{
  display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background:var(--color-theme-white);
    z-index: 1;
    position: relative;
}
.mill-service-box-style-2 .mill-service-image{
  overflow: visible;
}
.mill-service-box-style-2 .mill-service-image:before{
   z-index: 0;
}
.mill-service-box-style-2 .mill-service-image{
  margin: 30px 0 45px;
  width: 80px;
  display: inline-block;
}
.mill-service-box.mill-service-box-style-2 .mill-service-details .blog-title .mill-heading-title:hover{
  color: var(--color-theme-white);
}
.mill-service-box-style-2:before{
  content: "";
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
}
.mill-service-box-style-2:hover:before{
  opacity: 1;
}
.mill-service-box-style-2:hover 
.mill-service-box-style-2 > img{
  position: absolute;
  top: 0;
  
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
  opacity: 0;
} 
.mill-service-box-style-2 .service-box-content{
  position: relative;
  z-index: 1;
}
.mill-service-box-style-2:hover > img{
  opacity: 1;
}
.mill-service-box-style-2:hover .mill-service-meta ul li span.mill-user{
 color: var(--color-theme-secondary);
}
.mill-service-box-style-2 .mill-servicemain p{
  transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out; 
}
.mill-service-box-style-2:hover .mill-heading-title ,.mill-service-box-style-2:hover .mill-servicemain p,.mill-service-box-style-2:hover .mill-button.mill-blog-link span.text-btn ,.mill-service-box-style-2:hover .mill-button.mill-blog-link{
  color: var(--color-theme-white);
}
.mill-service-box .mill-service-details .blog-title .mill-heading-title:hover{
  color: var(--color-theme-primary);
}
.mill-service-box.center:hover .mill-service-image:before{
  left: -10px;
  top: -10px;
}
.mill-service-box.mill-service-box-style-2 .mill-service-image:before{
  left: -5px;
  top: -5px; 
  opacity: 1;
}

@media(max-width:480px){
  .mill-service-box-style-2
  {
    padding: 30px;
  }
}