﻿.home-service {
    background: url(../../../Design/img/HomeDVBT.png) no-repeat;
    background-size: 100% 100%;
    padding: 40px 0;
}

    .home-service .grid.wide {
    }

.home-service-container {
}

.home-service-top {
}

.s-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .s-top .s-top-left {
        display: flex;
        flex-direction: column;
    }

.s-top-left .left-n-top {
    color: #000221;
    font-family: 'QsandM';
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

.s-top-left .left-n-bottom {
    font-family: 'anyB';
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient( 0deg, #152863 0%, #2C4DAE 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.s-top-right {
    width: 70%;
}

    .s-top-right .top-detail {
        color: #000221;
        font-family: 'QsandSm';
        font-size: 17.002px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        width: 100%;
        display: block;
        text-align: justify;
    }

.home-service-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 31px;
}

.home-service-bottom-left {
}

.clsdf2 a {
    width: 100%;
    height: 100%;
}

.clsdf2, .lzkxlc2 {
    width: 100%;
    height: 100%;
}

    .lzkxlc2 .skxhjkxzc img {
        width: 73%;
        height: 358px;
    }

.skxhjkxzc img {
    width: 192px;
    height: 192px;
}

.skxhjkxzc {
    display: flex;
    justify-content: center;
}

.lzkxlc2:hover .sdfvx {
    opacity: 1;
    font-size: 19px;
    color: var(--default-white);
}

.lzkxlc2:hover .qwewq {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(1.1);
    width: 73%;
    height: 88%;
    left: 115px;
}

.qwewq {
    background-color: rgb(5 27 49 / 32%);
    position: relative;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    justify-content: center;
    transition: all .3s;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 27px;
    opacity: 0;
    border-radius: 4px;
    height: 100%;
}

.lzkxlc:hover .jzgchxz {
    opacity: 0;
}

.sakjc {
}

.clsdf2 .jzgchxz {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0px;
    display: flex;
    align-items: center;
    color: var(--default-color-1);
    font-weight: 100;
    background-color: unset;
    max-width: 100%;
    padding: 3px 17px;
    z-index: 3;
    transition: all .3s;
    border-radius: 0 14px 0 0px;
    width: 100%;
    font-size: 27px;
}

.jzgchxz {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0px;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 100;
    background-color: var(--default-color-2);
    max-width: 100%;
    padding: 3px 17px;
    z-index: 3;
    transition: all .3s;
    border-radius: 0 14px 0 0px;
}

.mjks a {
    color: #00021F !important;
}

.mjks {
    font-family: QsandM;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-transform: capitalize;
    text-align: center;
    /* margin-top: 29px; */
    grid-column: span 4 / span 4;
}

.list-mxvhn .active {
    color: #FFFF;
    border-left: 3px solid;
    background: linear-gradient(90deg, #1C3379 0%, #2847A2 50%, rgba(92, 127, 232, 0.50) 75%, rgba(255, 255, 255, 0.10) 100%);
}

.list-mxvhn {
    list-style: none; /* bỏ dấu chấm */
}

    .list-mxvhn li:hover {
        color: #FFFF;
        border-left: 3px solid;
        background: linear-gradient(90deg, #1C3379 0%, #2847A2 50%, rgba(92, 127, 232, 0.50) 75%, rgba(255, 255, 255, 0.10) 100%);
    }

    .list-mxvhn li {
        padding: 13px;
        color: #000221;
        font-family: 'QsandM';
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: capitalize;
        border-left: 3px solid var(--default-color-1);
        cursor: pointer;
    }

.home-service-bottom-right {
    width: 70%;
}

.no-tours {
    width: 246px;
    color: var(--default-color-4);
}

.clsdf {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
}

.lzkxlc {
    position: relative;
    overflow: hidden;
    /* border-radius: 12px; */
    transition: all 0.3s ease;
    cursor: pointer;
}

.img > img {
    width: 72px;
    height: auto;
    margin: auto;
}

.sdfvx {
    position: relative;
    margin-top: -3px;
    transform: translateY(15px);
    opacity: 0;
    margin-top: 5px;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

.lzkxlc:hover .sdfvx {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .4s;
    white-space: nowrap;
    font-size: 15px;
    color: var(--default-white);
}

.lzkxlc:hover .qwewq {
    opacity: 1;
}

.lzkxlc:hover .img {
    transform: translateY(0);
    opacity: 1;
    transition-delay: .2s;
}

.lzkxlc:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */
}

.lzkxlc2 {
    transition: all 0.3s ease;
}

    .lzkxlc2:hover {
        transform: translateY(-6px);
        /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */
    }

.lzkxlc .skxhjkxzc img {
    transition: transform 0.4s ease, filter 0.4s ease;
    display: block;
}

.lzkxlc:hover .skxhjkxzc img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.lzkxlc .skzjc {
    margin: 0;
    font-weight: 100;
    font-family: 'interM';
    line-height: 150%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 14px;
    color: #FFFF;
}

.lzkxlc2:hover .skzjc {
    color: var(--default-color-1); /* ví dụ: đỏ khi hover */
    opacity: 0;
}

.lzkxlc2:hover .skxhjkxzc img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.lzkxlc:hover .skzjc {
    color: var(--default-color-1); /* ví dụ: đỏ khi hover */
}

@media (max-width:739px) {
    .s-top-left .left-n-top {
        font-size: 16px;
        text-align: center;
    }

    .s-top-left .left-n-bottom {
        font-size: 30px;
        padding-bottom: 8px;
    }

    .s-top-right .top-detail {
        font-size: 12px;
        text-align: center;
    }

    .s-top {
        flex-direction: column
    }

    .s-top-right {
        width: 100%
    }

    .list-mxvhn li {
        font-size: 12px
    }

    .home-service-bottom {
        flex-direction: column-reverse;
    }

    .list-mxvhn {
        display: flex
    }

    .list-item-id {
        max-width: 100%; /* Giới hạn chiều rộng */
        overflow-x: auto; /* Cho phép cuộn ngang */
        white-space: nowrap; /* Không xuống dòng */
    }

    .list-mxvhn {
        display: inline-flex; /* Giữ tất cả li trên 1 dòng */
        gap: 10px; /* Khoảng cách giữa các li */
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .list-mxvhn li {
            flex: 0 0 auto; /* Không co giãn, giữ nguyên kích thước */
            padding: 8px 16px;
            background: #f2f2f2;
            border-radius: 6px;
            cursor: pointer;
        }

    .home-service-bottom-right {
        width: 100%;
    }

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

    .clsdf {
        column-gap: 10px;
        row-gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .clsdf a {
            /* padding-bottom: 27px; */
        }

    .jzgchxz {
        margin-top: 5px
    }

    .lzkxlc2 .skxhjkxzc img {
        height: 100%;
    }

    .jzgchxz {
        font-size: 22px;
        max-width: 100%;
        width: 100%;
    }
    .lzkxlc2:hover .qwewq{
        left: 50px;
        height: 77%;
    }
    .clsdf2 .jzgchxz{
        bottom: 0;
        position: unset;
        font-size: 23px;
    }
    .skxhjkxzc img{
        width: 100%;
        height: 132px;
    }
}
