.service-item-current-style5 {
border-radius: 5px;
position: relative;
border: 1px solid rgba(96, 94, 94, 0.1215686275);
box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.03);
transition: all 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
.service-item-current-style5 {
transition: none;
}
}
.service-item-current-style5 .thumb {
overflow: hidden;
position: relative;
border-radius: 6px 6px 0 0;
}
.service-item-current-style5 .thumb::after {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 5px;
background: var(--theme-color1);
transform: scaleX(0);
transition: all 500ms ease;
content: "";
z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
.service-item-current-style5 .thumb::after {
transition: none;
}
}
.service-item-current-style5 .thumb::before {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: "";
background-color: rgba(var(--theme-color2-rgb), 0.4);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
transform: scaleX(0);
transition: all 500ms ease;
z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
.service-item-current-style5 .thumb::before {
transition: none;
}
}
.service-item-current-style5 .thumb img {
-webkit-transform: scale(1.02);
-moz-transform: scale(1.02);
-ms-transform: scale(1.02);
transform: scale(1.02);
transition: all 0.4s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.service-item-current-style5 .thumb img {
transition: none;
}
}
.service-item-current-style5 .content {
background-color: #fff;
padding: 45px 35px 30px 35px;
position: relative;
border-radius: 0 0 6px 6px;
text-align: center;
}
.service-item-current-style5 .content .service-icon {
background-color: #ffffff;
border-radius: 50%;
height: 90px;
margin: 0 auto;
position: absolute;
right: 0;
left: 0;
border: 6px solid #fff;
top: -55px;
width: 90px;
text-align: center;
box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
transition: all 0.4s ease;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
}
@media (prefers-reduced-motion: reduce) {
.service-item-current-style5 .content .service-icon {
transition: none;
}
}
.service-item-current-style5 .content .service-icon i {
color: var(--theme-color1);
font-size: 38px;
transition: all 0.4s ease;
z-index: 3;
position: relative;
}
@media (prefers-reduced-motion: reduce) {
.service-item-current-style5 .content .service-icon i {
transition: none;
}
}
.service-item-current-style5 .content .service-icon::before {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
content: "";
border-radius: 50%;
z-index: 0;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
transform-origin: center;
transform-style: preserve-3d;
transition: all 0.5s cubic-bezier(0.62, 0.21, 0.45, 1.52);
background: var(--theme-color1);
}
@media (prefers-reduced-motion: reduce) {
.service-item-current-style5 .content .service-icon::before {
transition: none;
}
}
.service-item-current-style5 .content .title {
line-height: 30px;
}
.service-item-current-style5 .content .title a:hover,
.service-item-current-style5 .content .title a:focus {
color: var(--theme-color1);
}
.service-item-current-style5:hover .thumb::after {
-webkit-transform: scaleX(1);
-moz-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1);
}
.service-item-current-style5:hover .thumb::before {
-webkit-transform: scaleX(1);
-moz-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1);
}
.service-item-current-style5:hover .thumb img {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
}
.service-item-current-style5:hover .content .service-icon::before {
-webkit-transform: scaleX(1);
-moz-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1);
}
.service-item-current-style5:hover .content .service-icon i {
color: var(--text-color-bg-theme-color1);
}