﻿.home-why {
    position: relative;
    padding-top: 415px;
}

    .home-why .grid.wide {
        position: relative;
        max-width: 1413px;
    }

    .home-why .decor {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

.home-why-container {
    display: flex;
    align-items: center;
}

.home-rating-container .item:hover .content .icon img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.home-why .left {
    flex: 1;
    padding-right: 69px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-why .left .img {
        border-radius: 7px;
        display: flex;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        position: relative;
        position: absolute;
        right: 69px;
        width: 783px;
        height: 561px;
    }

    .home-why .left .btn {
        position: absolute;
        width: 82px;
        background-color: #fff;
        height: 82px;
        color: var(--default-color-1);
        border-radius: 50%;
        font-size: 21px;
    }

        .home-why .left .btn::after {
            content: '';
            width: 104px;
            height: 104px;
            position: absolute;
            border: 1px solid #fff;
            border-radius: 50%;
        }

        .home-why .left .btn i {
        }

    .home-why .left .img img {
    }

.home-why .right {
    width: 576px;
}

    .home-why .right .title {
        margin: 0;
        color: var(--default-color-2);
        font-family: 'nvnSign';
        font-weight: 100;
        font-size: 42px;
        line-height: 110%;
        margin-bottom: 11px;
    }

    .home-why .right .title-2 {
        margin: 0;
        color: var(--default-color-1);
        font-family: 'BeauDisB';
        font-size: 48px;
        text-transform: capitalize;
        line-height: 133%;
        padding-right: 65px;
        margin-bottom: 19px;
    }

    .home-why .right .descript {
        color: #5F5F5F;
        line-height: 138%;
        font-size: 16px;
        margin-bottom: 38px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

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

    .home-why .right .item {
        display: flex;
        align-items: center;
    }

        .home-why .right .item img {
        }

        .home-why .right .item span {
            display: block;
            color: #5F5F5F;
            font-size: 18px;
            line-height: 207%;
            margin-left: 9px;
            font-weight: 600;
        }

    .home-why .right .btn {
        width: fit-content;
        border: 1px solid var(--default-color-1);
        border-radius: 55px;
        color: var(--default-color-1);
        font-size: 16px;
        line-height: 150%;
        padding: 0 52px;
        padding-bottom: 12px;
        padding-top: 12px;
        margin-top: 45px;
    }

        .home-why .right .btn span {
        }

        .home-why .right .btn .decor {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--default-color-1);
            color: #fff;
        }

.home-rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 135px;
}

    .home-rating-container .list {
        width: 100%;
        margin-top: 31px;
    }

    .home-rating-container .swiper {
        margin-top: 27px;
    }

.grid-rating {
    height: 403px !important;
}

.home-rating-container .item {
    height: 306px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 23px 0px rgba(157, 217, 243, 0.60);
}

    .home-rating-container .item .avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        overflow: hidden;
    }

        .home-rating-container .item .avatar img {
        }

    .home-rating-container .item .content {
    }

    .home-rating-container .item:hover .content {
        background-color: var(--default-color-1);
    }

    .home-rating-container .item .decor-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .home-rating-container .item .star {
        margin-bottom: 33px;
    }

    .home-rating-container .item:hover .star {
        filter: invert(100%) sepia(6%) saturate(4%) hue-rotate(142deg) brightness(206%) contrast(101%);
    }

    .home-rating-container .item .content {
        height: 100%;
        z-index: 2;
        position: relative;
        background-color: #fff;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        transition: all linear .3s;
        padding: 0 28px;
    }

    .home-rating-container .item .contents {
        padding-left: 15px;
    }

    .home-rating-container .item .icon {
        width: 100%;
        margin-bottom: 17px;
    }

        .home-rating-container .item .icon img {
            width: 29px;
        }

    .home-rating-container .item .text {
        color: #5B5B5B;
        font-size: 16px;
        font-weight: 100;
        transition: all linear .3s;
        line-height: 129%;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 7;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .home-rating-container .item:hover .text {
        color: #fff;
    }

    .home-rating-container .item .info {
        display: flex;
        align-items: center;
        border-top: 1px solid rgb(5 161 229 / 21%);
        width: 100%;
        padding-top: 20px;
        margin-top: 15px;
    }

    .home-rating-container .item .name {
        margin: 0;
        position: relative;
        color: #05A1E5;
        transition: all linear .3s;
        display: block;
        font-weight: 100;
        font-size: 20px;
        text-transform: capitalize;
    }

    .home-rating-container .item:hover .name {
        color: #fff;
    }

    .home-rating-container .item .name::before {
        content: '';
        position: absolute;
        width: 65px;
        height: 1px;
        background-color: rgb(96 115 146 / 30%);
        top: 0;
        display: none;
    }

    .home-rating-container .item:hover .name::before {
        background-color: rgb(255 255 255 / 30%);
    }

    .home-rating-container .item:hover .job {
        color: #fff;
    }

    .home-rating-container .item .job {
        text-transform: uppercase;
        font-size: 12px;
        color: #727272;
        line-height: 207%;
        margin-top: -6px;
        display: block;
        transition: all linear .3s;
        font-size: 18px;
        font-style: italic;
        text-transform: unset;
        margin-top: 4px;
    }
/*RS*/
@media(max-width:1023px) {
    .home-why .left {
        display: none;
    }

    .home-why .right {
        width: 100%;
    }

    .home-why {
        padding-top: 420px;
    }

    .home-rating-container .list {
        width: 100%;
    }

    .home-rating-container .swiper {
        width: 100%;
    }

    .grid-rating {
        height: auto !important;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .home-why .right .title-2 {
        font-size: 38px;
        padding-right: 0;
    }

    .home-rating-container {
        padding-top: 60px;
        padding-bottom: 0;
    }
}

@media(max-width:739px) {
    .home-why {
        padding-top: 120px;
    }

        .home-why .right .title-2 {
            padding: 0;
            font-size: 32px;
        }

        .home-why .right .item span {
            font-size: 12px;
            margin-left: 6px;
        }

        .home-why .right .btn {
            padding: 10px 28px;
            font-size: 13px;
            margin-top: 22px;
        }

    .home-rating-container {
        padding-top: 50px;
        padding-bottom: 40px;
    }

        .home-rating-container .item .content {
            padding: 19px 15px;
            display: block;
        }

        .home-rating-container .item .info {
        }

        .home-rating-container .item .text {
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 8;
            -webkit-box-orient: vertical;
            display: -webkit-box;
            height: auto;
        }

        .home-rating-container .item {
            height: auto;
        }

        .home-rating-container .list {
            margin-top: 10px;
        }
}