
.service-item {
    position: relative;
    background: white;
    border: 1px solid var(--diver);
    border-radius: 20px;
    height: 400px;
    padding: 40px;
    overflow: hidden;
    flex: 1;
    min-width: 300px;
    max-width: 314px;
    cursor: pointer;
}.service-item.active::before, .service-item:hover::before {
    transform: translate(100%, -100%);
}
.service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}.service-item.active .service-item-image, .service-item:hover .service-item-image {
    opacity: 1;
}.service-item-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}.service-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 40%;
}.service-item-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
    z-index: 2;
}.service-item.active .service-item-body .icon-box , .service-item:hover .service-item-body .icon-box  {
    filter: brightness(0) invert(1);
}.service-item-content p {
    border-top: 1px solid #ebebeb;
    padding-top: 20px;
    margin: 20px 0 0;
    transition: all 0.4s ease-in-out;
    font-size: 19px;
    color: var(--secondarytext);
}
.service-item-content a {
    transition: all 0.4s ease-in-out;
    font-size: 22px;
    font-weight: 600;
}
.service-item.active .service-item-content a, .service-item:hover .service-item-content a {
    color: white;
}
.service-item.active .service-item-content p, .service-item:hover .service-item-content p {
    color: white;
    border-color: #aea9a9;
}.service-item-btn {
    margin-top: 40px;
    position: relative;
    width: 50px;
    height: 50px;
    border: 1px solid #ebebeb;
    border-radius: 50%;
    color: var(--secondarytext);
    display: flex;
    justify-content: center;
    font-size: 21px;
    align-items: center;
    transition: all 0.4s ease-in-out;
}

.service-item.active .service-item-btn, .service-item:hover .service-item-btn {
    color: white;
    border: 0;
}

.service-item-btn i {
    position: relative;
}.service-item-btn:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    background: var(--backcolor);
    background-size: 200% auto;
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
}.service-item.active .service-item-btn::before, .service-item:hover .service-item-btn::before {
    transform: scale(1);
}