﻿.top-home-service h5 {
    margin: 0;
    text-align: center;
    /* 41.8px */
    text-transform: capitalize;
    margin-bottom: 12px;
    margin-top: 0;
    font-family: 'BeVietnamPro-Medium';
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: 50.5px; /* 120.238% */
    background: linear-gradient(180deg, #16da6c 0%, #007632 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

ul.list-cate-pro li {
    list-style: none;
    padding: 10px 12px;
}

    ul.list-cate-pro li a {
        font-family: 'BeVietnamPro-Medium';
        font-size: 24px;
        font-style: normal;
        font-weight: 500;
        line-height: normal; /* 210.417% */
        background: linear-gradient(180deg, #18BFF0 0%, #1C3984 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        border-bottom: 2px solid transparent;
        transition: all ease .2s;
    }

ul.list-cate-pro {
    display: flex;
    align-items: center;
    justify-content: center;
}

    ul.list-cate-pro li:hover a {
        border-color: #DA261D;
        background: linear-gradient(180deg, #DA261D 0%, #DA261D 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.top-home-service {
    text-align: center;
    margin-bottom: 40px;
}

    .top-home-service section {
        padding: 0 78px;
        margin: auto;
        color: #6C6C6C;
        text-align: center;
        font-family: 'Inter-Medium';
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 23px; /* 143.75% */
    }

.title-home-service img {
    margin: auto;
}

.link-service-hh a:hover {
    background: #fdbc00;
}

.link-service-hh a {
    display: inline-flex;
    padding: 13px 32px;
    border-radius: 37px;
    background: #1c3984;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-family: 'BeVietnamPro-Medium';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: all .3s;
}

.link-service-hh {
    text-align: center;
    margin-top: 44px;
}

.w-home-service {
    position: relative;
}

.tree-service-home {
    position: absolute;
    z-index: 1;
    top: -167px;
}

img.imgdecorback {
    position: absolute;
    top: -63px;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 1764px;
}

.w-home-service .grid.wide {
    position: relative;
}

.w-home-service {
    position: relative;
    padding-top: 100px;
    padding-bottom: 160px;
    background: url(/Design/img/HuyHoang/decorP.png) no-repeat;
    background-size: 100% 100%;
}

    .w-home-service:before {
        content: "";
        position: absolute;
        background: url(/Design/img/NamTrungBo/about/la.png) no-repeat;
        background-size: cover;
        right: 0;
        top: -236px;
        width: 453px;
        height: 453px;
    }

li.item-home-service {
    list-style: none;
    margin-left: 7px;
    margin-right: 7px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 5px;
}

ul.list-home-service {
    display: flex;
}

.content-item-home-service h3 {
    position: relative;
    margin: 0;
    text-align: center;
    /* 19.8px */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    color: #FFF;
    font-family: 'BeVietnamPro-Medium';
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 50.5px; /* 157.813% */
    text-transform: capitalize;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    top: 100px;
    opacity: 0;
    visibility: hidden;
}

.content-item-home-service section {
    position: relative;
    margin-top: 10px;
    margin-bottom: 26px;
    /* 18.72px */
    color: #FFF;
    text-align: center;
    font-family: 'Inter-Medium';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px; /* 143.75% */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    top: 100px;
    opacity: 0;
    visibility: hidden;
}

.content-item-home-service span {
    width: max-content;
    margin: auto;
    display: inline-block;
    /* 19.32px */
    transition: all .3s;
    color: #6C6C6C;
    text-align: center;
    font-family: 'Inter-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    border-radius: 36px;
    background: #FFF;
    padding: 10px 28.219px 11px 29px;
    position: relative;
    -webkit-transition: all .7s ease;
    transition: all .7s ease;
    top: 100px;
    opacity: 0;
    visibility: hidden;
}

li.item-home-service:hover .content-item-home-service span {
    opacity: 1;
    visibility: visible;
    top: 0;
}

li.item-home-service:hover .content-item-home-service h3 {
    top: 0;
    opacity: 1;
    visibility: visible;
}

.img-item-home-service {
    position: relative;
    width: 100%;
    height: 470px;
    border-radius: 5px;
}

img.img-avatar-1.fill {
}

li.item-home-service:hover img.img-avatar-1.fill {
}

.img-item-home-service > img {
    transition: all .5s;
    border-radius: 5px;
}

.top-home-service h6 {
    margin: 0;
    color: #6C6C6C;
    font-family: 'Inter-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px; /* 225% */
    text-transform: uppercase;
}

li.item-home-service:hover {
}

img.img-avatar-2.fill {
    position: absolute;
    visibility: hidden;
    width: 94%;
    height: 94%;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    transition: all .5s;
}

li.item-home-service:hover img.img-avatar-2.fill {
    visibility: visible;
    opacity: 1;
    top: 0;
}

li.item-home-service:hover .img-item-home-service:before {
}

.content-item-home-service {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

ul.list-home-service.list-service-two {
    margin-top: 14px;
}

.decor-service-bunkhoang {
    position: absolute;
    top: -21px;
    left: 0px;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

li.item-home-service:hover .decor-service-bunkhoang {
    visibility: visible;
    opacity: 1;
}

li.item-home-service:hover .content-item-home-service section {
    top: 0;
    opacity: 1;
    visibility: visible;
}

li.item-home-service:before {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    height: 100%;
    width: 100%;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(68, 68, 68, 0.03) 0%, #0A2D72 100%);
    z-index: 1;
}

.content-item-home-service span:hover {
    background: #1c3984;
    color: #fff;
}

li.item-home-service:hover:before {
    top: 0;
    visibility: visible;
    opacity: 1;
}

li.item-home-service a {
}

@media(min-width:1400px) {
    img.imgdecorback {
        top: -90px;
        background-size: 100% 100%;
    }
}

@media(max-width:1023px) {
    .tree-service-home img {
        width: 100%;
    }

    .w-home-service:before {
        top: -112px;
        width: 166px;
        height: 165px;
    }

    .content-item-home-service {
        position: unset;
        margin-top: 10px;
        height: auto;
    }

    li.item-home-service:hover:before {
        display: none;
    }

    .content-item-home-service h3 {
        font-size: 16px;
        line-height: normal;
        opacity: 1;
        visibility: visible;
        position: unset;
    }

    .content-item-home-service section {
        font-size: 12px;
        margin-bottom: 7px;
        margin-top: 5px;
        position: unset;
        opacity: 1;
        visibility: visible;
        color: #6C6C6C;
    }

    .content-item-home-service span {
        position: unset;
        font-size: 11px;
        padding: 4px 13px 5px 14px;
        opacity: 1;
        visibility: visible;
    }

    li.item-home-service:hover .img-item-home-service:before {
        opacity: 1;
        visibility: visible;
    }

    li.item-home-service:hover .decor-service-bunkhoang {
        display: none;
    }

    ul.list-home-service {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 14px;
    }

    .img-item-home-service {
        height: 235px;
    }

    .content-item-home-service h3 {
        font-size: 18px;
        line-height: normal;
        color: #1c3984;
    }

    .content-item-home-service section {
        font-size: 13px;
        margin-bottom: 7px;
        margin-top: 5px;
    }

    .content-item-home-service span {
        margin-top: 6px;
        position: unset;
        font-size: 11px;
        padding: 4px 13px 5px 14px;
    }

    .link-service-hh {
        display: none;
    }

    .w-home-service {
        padding-top: 50px;
        padding-bottom: 88px;
        background-size: cover;
    }

    li.item-home-service:hover .content-item-home-service span {
    }

    .top-home-service h5 {
        font-size: 23px;
    }

    img.imgdecorback {
        top: -22px;
        height: auto;
    }

    .top-home-service section {
        width: 100%;
        font-size: 13px;
        padding: 0;
    }

    .top-home-service {
        margin-bottom: 25px;
    }

        .top-home-service h6 {
            font-size: 13px;
        }

    .tree-service-home {
        width: 17%;
        top: -50px;
    }
}

@media(max-width:739px) {
    .img-item-home-service {
        height: 190px;
    }

    .content-item-home-service h3 {
        font-size: 16px;
        line-height: normal;
    }

    ul.list-cate-pro li a {
        font-size: 13px;
        line-height: 22px;
    }

    ul.list-cate-pro li {
        padding: 8px 6px;
    }

    ul.list-cate-pro {
        width: 600px;
        /* overflow: scroll; */
        justify-content: normal;
    }

    .list-cate-pro-home {
        overflow: auto;
    }

    .top-home-service h5 {
        font-size: 20px;
        line-height: normal;
    }
}