﻿.decor-img-service-hh {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

    .decor-img-service-hh img {
        width: 100%;
        object-fit: cover;
    }

.WRightHomeService.swiper {
    overflow: unset;
    padding-bottom: 8px;
}

.WContentHomeService {
    position: relative;
}

.WHomeService {
    padding-top: 99px;
    padding-bottom: 50px;
    position: relative;
}

    .WHomeService:before {
        content: "";
        position: absolute;
        background: url(/Design/img/NhaHang/dv/song.png) repeat;
        background-size: 100% 100%;
        left: 0;
        top: -29px;
        width: 100%;
        height: 173px;
        z-index: 1;
    }

.title-sys-top h2 {
    margin: 0;
    color: #BE090E;
    text-align: left;
    font-family: 'MonteCarlo-Regular';
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.title-sys-top h3 {
    margin: 0;
    font-family: 'Montserrat-Bold';
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(270deg, #D28C2A 0%, #E3B051 43.36%, #5F3328 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.WTopHomeService span {
    display: block;
    color: #1F1917;
    font-family: 'Montserrat-Medium';
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

.WTitleServiceHome h4 {
    margin: 0;
    font-family: 'Montserrat-Bold';
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(270deg, #D28C2A 0%, #E3B051 43.36%, #5F3328 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all .3s ease-in-out;
}

.WServiceTitleH span {
    color: #ffff;
    font-family: Inter_24pt-SemiBold;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-service-item span {
    color: #fff;
    font-family: 'Montserrat-Regular';
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; /* 150% */
    position: absolute;
    bottom: 14px;
    left: 19px;
}

.WRTitleDesServiceHome {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    background: rgb(51 51 51 / 18%);
    border-radius: 64px;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.WImgServiceHome img {
    width: 100%;
    height: 664px;
    object-fit: cover;
    border-radius: 64px;
}

.WImgServiceHome {
    position: relative;
    border-radius: 64px;
    box-shadow: 4px 3px 4px 0px rgba(0, 0, 0, 0.30);
}

.WBottomHomeService {
    padding-top: 109px;
    overflow: hidden;
}

.view-service-item {
    position: relative;
    margin-top: 17px;
}

.WServiceTitleH {
    margin-top: 8px;
}

.item-service-hh-c .button-circle svg {
    transform: rotate(0deg);
    transition: .6s linear
}

    .item-service-hh-c .button-circle svg path {
        fill: #b6080c;
    }

.item-service-hh-c:hover .button-circle svg {
    transform: rotate(360deg);
}

.item-service-hh-c {
    transition: all .3s ease-in-out;
}

    .item-service-hh-c:hover .WRTitleDesServiceHome {
        opacity: 1;
        visibility: visible;
    }

    .item-service-hh-c.swiper-slide-active {
        transform: translateY(-62px);
        transition: all .3s ease-in-out;
    }

    .item-service-hh-c a {
        position: relative;
    }

.WImgServiceHome:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #BE090E;
    border-radius: 64px;
    opacity: 0;
    transition: all .3s ease-in-out;
    transform: translate(0, 0);
}

.WContentItemNewRHome:hover .WImgServiceHome:before {
    opacity: 1;
    transform: translate(-0.9rem, -0.9rem);
    z-index: 2;
}

@media(max-width:1023px) {
    .WHomeService {
        padding-top: 30px;
    }

    .title-sys-top h2 {
        font-size: 27px;
    }

    .title-sys-top h3 {
        font-size: 20px;
    }

    .WHomeService:before {
        background-repeat: no-repeat;
        background-size: contain;
        height: 86px;
        top: -26px;
    }

    .WBottomHomeService {
        padding-top: 20px;
    }

    .WTopHomeService h4 {
        font-size: 30px;
    }

    .WTopHomeService span {
        font-size: 12px;
    }

    .decor-img-service-hh img {
        height: 280px;
    }

    .WImgServiceHome:before {
        content: unset;
    }

    .WTitleServiceHome h4 {
        font-size: 17px;
    }

    .WServiceTitleH span {
        font-size: 14px;
        text-align: center;
        padding: 0 29px;
    }

    .WImgServiceHome img {
        height: 327px;
        border-radius: 20px;
    }

    .WImgServiceHome {
        border-radius: 20px;
    }

    .WRTitleDesServiceHome {
        border-radius: 20px;
    }

    .WContentItemNewRHome.swiper-slide-active {
        transform: none;
    }
}