﻿/*.home-container {
    display: flex;
    justify-content: space-between;
    align-items: center;*/
/*    padding: 60px 80px;*/
      /*margin-left: 10%;
    gap: 40px;
    background-image: url(/images/hinh1.svg);
    background-position: 100% 110%;
    background-repeat: no-repeat;
}

.home-left {
    flex: 1;
    max-width: 800px;
}

    .home-left h1 {
        color: #ff8a00;
        font-size: 42px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .home-left p {
        font-size: 17px;
        line-height: 1.7;
        color: #444;
        margin-bottom: 35px;
    }*/

/* Button nhóm */
/*.home-buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.btn-item {
    background: #fff;
    padding: 14px 22px;
    font-size: 17px;
    border-radius: 10px;
    font-weight: 600;
    color: #d9412e;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
    display: block;
    width: fit-content;
    margin: 5px;
    text-decoration: none;
}

    .btn-item:hover {
        background: #ffe4d1;
    }


.home-image {
    flex: 1;
    display: flex;

    align-items: flex-start;
    width: 20%;
    align-content: center;
    justify-content: flex-start;
}*/

/* ẢNH + CLIP PATH */


/* Responsive */
/*@media (max-width: 992px) {
    .home-container {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .clip-svg {
        width: 100% !important;
        height: 450px !important;
        margin-top: 20px !important;
    }

    .home-content h3 {
        font-size: 28px;
    }

    .home-content p {
        font-size: 16px;
    }

    .home-content .btn {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .clip-svg {
        height: 320px !important;
    }

    .home-content h3 {
        font-size: 24px;
    }*/

        /* Chuyển layout thành column và căn giữa mọi thứ */
        /*.home-container {
            flex-direction: column;
            justify-content: center !important;
            align-items: center !important;
            text-align: center;
            margin-left: 0;*/ /* bỏ lệch trái */
            /*gap: 20px;
        }*/

        /* Ẩn hình */
        /*.home-image {
            display: none !important;
        }*/

        /* Nội dung căn giữa */
        /*.home-left {
            width: 100%;
            max-width: 100%;
            text-align: center;
            margin: 0 auto;
        }

            .home-left h1 {
                font-size: 26px;
                margin: 0 auto 15px auto;
                text-align: center;
            }

            .home-left p {
                font-size: 15px;
                width: 100%;
                margin: 0 auto 20px auto;
                text-align: center;
            }*/

        /* Buttons căn giữa luôn */
        /*.home-buttons {
            align-items: center;
        }
    

}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clip-svg {
    width: 1200px;
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-clip-path: url(#masked-image-1);
    clip-path: url(#masked-image-1);*/
    /* Mượt hơn */
    /*transition: clip-path 1s ease;
}

    .clip-svg img {
        width: 100%;
        height: 100%;
        opacity: 0;
    }*/

.home-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 10%;
    gap: 40px;
    background-image: url(/images/hinh1.svg);
    background-position: 100% 110%;
    background-repeat: no-repeat;
  
}

.home-left {
    flex: 1;
    max-width: 800px;
}

    .home-left h1 {
        color: #ff8a00;
        font-size: 38px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .home-left p {
        font-size: 17px;
        line-height: 1.7;
        color: #444;
        margin-bottom: 35px;
    }

.home-buttons {
    display: block;
    /*display: flex;
    flex-direction: row;
    gap: 18px;*/
}
.btn-group {
    position: absolute !important;
}
.btn-group {
    /*display: flex;
    flex-direction: column;
    gap: 8px;*/
}
.btn-item {
    background: #fff;
    padding: 14px 22px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    font-weight: 600;
    color: #060771;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
    width: fit-content;
    margin: 5px;
    text-decoration: none;
}

    .btn-item:hover {
        background: #ffe4d1;
    }

.home-image {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 20%;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clip-svg {
    width: 1200px;
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-clip-path: url(#masked-image-1);
    clip-path: url(#masked-image-1);
    transition: clip-path 1s ease;
}

    .clip-svg img {
        width: 100%;
        height: 100%;
        opacity: 0;
    }

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .home-container {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        margin-left: 0;
    }

    .clip-svg {
        width: 100% !important;
        height: 450px !important;
        margin-top: 20px !important;
    }

    .home-left h1 {
        font-size: 32px;
    }

    .home-left p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .home-container {
        flex-direction: row !important;
        align-items: center;
        text-align: center;
        margin-left: 0;
        gap: 20px;
    }

    .home-image {
        display: none !important;
    }
    .btn-group {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }
    .home-left {
        width: 95%;
        text-align: center;
    }

        .home-left h1 {
            font-size: 26px;
            margin-bottom: 15px;
        }

        .home-left p {
            font-size: 15px;
            margin-bottom: 20px;
        }

    .home-buttons {
        align-items: center;
        flex-direction: column;
    }
    .btn-item {
        padding: 14px 10px;
        font-size: 17px;
    }
    .clip-svg {
        height: 320px !important;
        width: 100% !important;
    }
}
@media (max-width: 400px) {
    .home-container {
        flex-direction: row !important;
        align-items: center;
        text-align: center;
        margin-left: 0;
        gap: 20px;
    }

    .home-image {
        display: none !important;
    }

    .home-left {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

        .home-left h1 {
            font-size: 26px;
            margin-bottom: 15px;
        }

        .home-left p {
            font-size: 15px;
            margin-bottom: 20px;
        }

    .home-buttons {
        align-items: center;
        flex-direction: column;
    }

    .btn-item {
        padding: 14px 5px;
        font-size: 17px;
    }

    .clip-svg {
        height: 320px !important;
        width: 100% !important;
    }
}