﻿.home-cong-trinh {
    background: url(../../../Design/img/Group921.png) no-repeat;
    background-size: 100% 100%;
    position: relative;
}
.home-cong-trinh:before {
    position:absolute;
    content:"";
    width: 21%;
    height: 29%;
    background: url(../../../Design/img/Group1000003013.png) no-repeat;
}

.home-congtrinh-container {
}

.congtrinh-top {
    text-align: center;
    padding-top: 60px;
}

.kjkvx {
    display: flex;
    text-align: center;
    justify-content: center;
}

.sngfcxv {
    color: #FFF;
    text-align: center;
    font-family: 'KanB';
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 117.2%; /* 42.192px */
    text-transform: uppercase;
    margin: 0;
}

.kbjvc {
    color: #FFF;
    text-align: center;
    font-family: 'interR';
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; /* 125% */
    width: 48%;
    display: block;
    margin-top: 13px;
}

.congtrinh-bottom {
    padding-top: 46px;
    padding-bottom: 50px;
}

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

.mjkcaz {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .mjkcaz:hover .kjbkvl svg path {
        fill: var(--default-color-2)
    }

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

.mjkcaz:hover .vkcx:before {
    background: var(--default-white);
    z-index: 2;
}

.mjkcaz:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 6px 20px rgba(0,0,0,0.15); */
    background: var(--default-white);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

    .mjkcaz:hover .vkcx img {
        transform: scale(1.0);
    }

    .mjkcaz:hover .fhj {
        color: var(--default-color-3); /* đổi màu tiêu đề khi hover */
        padding: 2px;
    }

    .mjkcaz:hover .kjbkvl {
        color: var(--default-color-2); /* chữ "Nơi sản xuất" đậm hơn */
        padding: 10px;
    }

    .mjkcaz:hover .vkcx img {
    }

.jvhcxjx {
    background: var(--default-color-2);
    padding: 10px 0;
    width: 14%;
    color: #FFF;
    text-align: center;
    font-family: 'interR';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    border-radius: 7px;
    margin-top: 21px;
    display: inline-block;
    transition: all 0.3s ease; /* thêm để hover mượt */
}

.vkcx {
    position: relative;
    overflow: hidden;
}

    .vkcx:before {
        position: absolute;
        content: "";
        width: 55.37px;
        height: 39.84px;
        background: var(--default-color-3);
        left: 0;
        top: 0px;
        clip-path: polygon(0 0, 0% 100%, 100% 0);
    }

.jvhcxjx:hover {
    background: var(--default-color-3); /* đổi sang màu khác khi hover */
    color: var(--default-white); /* chữ đổi màu đen */
    transform: scale(1.05); /* phóng to nhẹ */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* đổ bóng */
}

.vkcx img {
    height: 291px;
    width: 100%;
    transition: transform 0.3s ease;
}

.kjvcx {
}

.fhj {
    color: #FFF;
    text-align: center;
    font-family: 'KanM';
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    width: 100%;
    display: block;
}

.kjbkvl {
    color: #FFF;
    text-align: center;
    font-family: 'KanM';
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
    width: 100%;
    display: block;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: none;
}

@media (max-width:739px) {
    .sngfcxv {
        font-size: 26px;
    }

    .kbjvc {
        width: 100%;
        font-size: 14px;
    }

    .jbcz {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vkcx img {
        height: 168px;
    }

    .fhj {
        font-size: 14px;
    }

    .kjbkvl {
        font-size: 14px;
    }

    .jvhcxjx {
        width: 41%;
    }
    .home-cong-trinh:before{
        width:100%;
        height: 36%;
    }
}
