
/*------------------------------------------------------------------------
# mod_mx_services Extension
# ------------------------------------------------------------------------
# author    mixwebtemplates
# Copyright (C) 2020 mixwebtemplates.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.mixwebtemplates.com
-------------------------------------------------------------------------*/
:root {

    --mxt-primary: #dd0429;
    --mxt-primary-rgb: 221, 4, 41;
    --mxt-black: #17161a;
    --mxt-black-rgb: 23, 22, 26;
    --mxt-base: #ffffff;
    --mxt-base-rgb: 255, 255, 255;
    --mxt-extra: #f6f6f6;
    --mxt-extra-rgb: 246, 246, 246;
    --mxt-bdr-color: #e3e3e3;
    --mxt-bdr-color-rgb: 227, 227, 227;
}
.services-three {
    position: relative;
    display: block;
    padding-top: 120px;
    z-index: 1;
}

.services-three:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 398px;
    background-color: var(--mxt-extra);
    content: "";
    z-index: -1;
}

.services-three-shape {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 398px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
}

.services-three__top {
    position: relative;
    display: block;
}

.services-three__single {
    position: relative;
    display: block;
    background-color: #ffffff;
    border: 1px solid transparent;
    text-align: center;
    padding: 30px;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.services-three__single:hover {
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, .05);
    border: 1px solid var(--mxt-bdr-color);
}
a.services-three__btn {
    color: var(--mxt-black)
}

.services-three_icon {
    position: relative;
    height: 106px;
    width: 106px;
    background-color: var(--mxt-extra);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.services-three_icon img {
    position: relative;
    height: 106px;
    width: 106px;
}

.services-three_icon:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background-color: var(--mxt-primary);
    transition: transform 500ms ease;
    transform: scale(1, 0);
    transform-origin: bottom center;
}

.services-three__single:hover .services-three_icon:before {
    transform: scale(1, 1);
    transform-origin: top center;
}

.services-three_icon span {
    position: relative;
    display: inline-block;
    color: var(--mxt-primary);
    font-size: 64px;
    transition: transform 500ms ease, color 500ms ease;
    transform: scale(1);
}

.services-three__single:hover .services-three_icon span {
    color: var(--mxt-base);
    transform: scale(.9);
}

.services-three__title {
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 27px;
    margin-bottom: 22px;
}

.services-three__title a {
    color: var(--mxt-black);
    background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 46% / 0px 1px no-repeat;
    transition: all 500ms ease;
}

.services-three__single:hover .services-three__title a {
    background-size: 100% 1px;
    color: var(--mxt-primary);
}

.services-three__text {
    font-size: 16px;
    margin: 0;
    line-height: 28px;
}

.services-three__btn-box {
    position: relative;
    display: inline-block;
    margin-top: 18px;
}

.services-three__btn {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.services-three__single:hover .services-three__btn {
    color: var(--mxt-black);
}

.services-three__btn:before {
    position: absolute;
    top: 18px;
    left: -10px;
    right: -10px;
    content: "";
    height: 1px;
    background-color: var(--mxt-primary);
    transition: transform 500ms ease;
    transform: scale(0, 1);
    transform-origin: left center;
}

.services-three__single:hover .services-three__btn:before {
    transform: scale(1, 1);
    transform-origin: right center;
}

.services-three__bottom {
    position: relative;
    display: block;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 50px;
    padding-top: 20px;
}

.services-three__bottom-text {
    font-size: 16px;
    margin: 0;
}

.services-three__bottom-text a {
    color: var(--mxt-black);
    position: relative;
    display: inline-block;
    margin-left: 12px;
    transition: all 500ms ease;
}

.services-three__bottom-text a:hover {
    color: var(--mxt-primary);
}

.services-three__bottom-text a:before {
    position: absolute;
    top: 17px;
    left: -10px;
    right: -10px;
    content: "";
    background-color: var(--mxt-primary);
    height: 1px;
}
.services-three__single .box-img {
 position:absolute;
 top:-200px;
 right:0px;
 max-width: 33%;
 opacity: 0;
 border-radius:0 0 999px 999px;
  transition: all 500ms ease;
 z-index:0
}

.services-three__single:hover .box-img {
 position:absolute;
 top:0;
 right:0px;
 max-width: 33%;
 border-radius:0 0 999px 999px;
 opacity: 1;
 z-index:0
}
.services-three__single .box-img img {
 width:100%;
 border-radius: 0 0 999px 999px;
 -webkit-transition:0.4s ease-in-out;
 transition:0.4s ease-in-out
}