﻿.home-ser {
    background-image: url(/Design/img/home-service1.png?v=1);
    background-size: cover;
}

    .home-ser .grid.wide {
    }

.home-ser-item:hover .home-ser-decor {
    opacity: 1;
}

.home-ser-decor {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: all .3s;
}

    .home-ser-decor::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #333333c7;
    }

    .home-ser-decor img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.home-ser-container {
    padding-bottom: 80px;
    padding-top: 64px;
}

.home-ser-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .home-ser-top .top-left {
        flex: 1 1 0;
    }

    .home-ser-top .top-left-title {
        max-width: 564px;
        margin: 0;
        color: #FFF;
        text-shadow: 0px 2px 2.3px rgba(3, 129, 0, 0.20);
        font-size: 38px;
        margin-bottom: 13px;
        font-family: 'interB';
        font-weight: 100;
        text-align: left;
        line-height: normal;
        position: relative;
        top: -11px;
    }

    .home-ser-top .top-left-descript {
        line-height: 166%;
        font-size: 15px;
        color: #fff;
        display: block;
        max-width: 577px;
        text-align: justify;
        padding-right: 14px;
    }

    .home-ser-top .top-right {
        flex: 1;
        max-width: 593px;
    }

    .home-ser-top .top-right-item {
        display: flex;
        align-items: center;
        border-radius: 15px;
        border: 1px solid #e9c28b;
        background: #EFF;
        padding: 14px;
        overflow: hidden;
    }

    .home-ser-top .item-left {
        padding-right: 21px;
    }

    .home-ser-top .item-left-title {
        display: flex;
        align-items: center;
    }

    .home-ser-top .item-left .icon img {
        max-width: 42px;
        filter: invert(100%) sepia(39%) saturate(136%) hue-rotate(210deg) brightness(117%) contrast(100%);
    }

    .home-ser-top .item-left .icon {
        width: 64px;
        height: 53px;
        border-radius: 5px;
        background: linear-gradient(4deg, #b88939 10.23%, #f2cd9a 103.14%);
        overflow: hidden;
    }

    .home-ser-top .item-left h3 {
        margin: 0;
        font-family: 'interB';
        font-size: 18px;
        color: var(--default-color-1);
        font-weight: 100;
        text-transform: capitalize;
        padding-left: 20px;
    }

    .home-ser-top .item-descript {
        color: #333;
        line-height: 166%;
        font-size: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-top: 8px;
        font-family: interM;
    }

    .home-ser-top .item-btn:hover {
        opacity: .7;
    }

    .home-ser-top .item-btn {
        width: fit-content;
        background-color: var(--default-color-2);
        border-radius: 55px;
        font-family: 'interSB';
        font-size: 14px;
        color: #fff;
        padding: 0 23px;
        padding-bottom: 9px;
        padding-top: 10px;
        transition: all .3s;
        margin-top: 25px;
    }

    .home-ser-top .item-right {
    }

    .home-ser-top .item-img {
        width: 214px;
        height: 214px;
    }

        .home-ser-top .item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .home-ser-top .item-img img {
        }

    .home-ser-top .top-left-title br {
    }

.home-ser-bottom {
}

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

.home-ser-item {
    border-radius: 15px;
    border: 1px solid var(--default-color-1);
    background: #EFF;
    padding: 15px;
    overflow: hidden;
}

    .home-ser-item .icon {
        border-radius: 5px;
        background: linear-gradient(4deg, #b88939 10.23%, #f2cd9a 103.14%);
        width: 64px;
        height: 53px;
        overflow: hidden;
        position: relative;
    }

        .home-ser-item .icon img {
            max-width: 42px;
            filter: invert(100%) sepia(39%) saturate(136%) hue-rotate(210deg) brightness(117%) contrast(100%);
        }

    .home-ser-item .content {
        position: relative;
        z-index: 2;
    }

    .home-ser-item:hover .title {
        color: #fff;
    }

    .home-ser-item .title {
        margin: 0;
        font-family: 'interB';
        text-transform: capitalize;
        color: var(--default-color-1);
        font-size: 18px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-top: 11px;
        transition: all .3s;
        font-weight: 100;
    }

    .home-ser-item:hover .descript {
        color: #fff;
    }

    .home-ser-item .descript {
        color: #333;
        font-size: 15px;
        line-height: 166%;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin-top: 6px;
        font-family: 'interM';
    }

    .home-ser-item .btn:hover {
        background-color: var(--default-color-2);
        color: #fff;
    }

    .home-ser-item:hover .btn {
        border-color: #fff;
        color: #fff;
    }

    .home-ser-item .btn {
        width: fit-content;
        border: 1px solid var(--default-color-2);
        border-radius: 55px;
        color: var(--default-color-2);
        font-family: 'interSB';
        font-size: 12px;
        padding: 8px 18px;
        margin-top: 14px;
        transition: all .3s;
    }

@media(max-width:1023px) {
    .home-ser-container {
        padding: 35px 0;
    }

    .home-ser-top {
        flex-direction: column;
    }

        .home-ser-top .top-left,
        .home-ser-top .top-right {
            width: 100%;
        }

        .home-ser-top .top-right-item {
            margin: 25px 0;
        }

        .home-ser-top .top-left-title,
        .home-ser-top .top-left-descript {
            max-width: 100%;
        }

        .home-ser-top .top-left-title {
            font-size: 30px;
            margin-bottom: 13px;
            position: unset;
        }

        .home-ser-top .top-left-descript {
            line-height: 150%;
            font-size: 14px;
        }

    .home-ser-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 8px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .home-ser-container {
        padding: 25px 0;
    }

    .home-ser-top .top-left-title {
        font-size: 24px;
        margin-bottom: 4px;
        line-height: 153%;
    }

        .home-ser-top .top-left-title br {
            display: block;
        }

    .home-ser-top .top-right-item {
        margin: 15px 0;
        flex-direction: column-reverse;
        margin-bottom: 0;
    }

    .home-ser-top .item-img {
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
        display: none;
    }

    .home-ser-top .item-right,
    .home-ser-top .item-left {
        width: 100%;
    }

    .home-ser-item .title {
        font-size: 15px;
        margin-top: 11px;
    }

    .home-ser-item {
        padding: 10px;
    }

        .home-ser-item .descript {
            font-size: 12px;
        }

        .home-ser-item .btn {
            border-radius: 55px;
            font-size: 12px;
            padding: 6px 14px;
            margin-top: 8px;
        }
}