﻿.home-about {
    width: 100%;
    /* Phủ kín chiều cao màn hình */
    /* Đường dẫn ảnh của bạn */
    background-image: url('../../../Design/img/bg-home.png');
    /* Ép ảnh lấy hết toàn bộ không gian */
    background-size: 101%;
    background-repeat: no-repeat;
    background-position: center;
}

.home-about-container {
    display: flex;
    justify-content: space-between;
    /* padding: 54px 0; */
    align-items: center;
    gap: 19px;
}

.home-left {
    float: left;
    width: 68%;
}

.home-right {
    padding: 50px; /* Tăng padding để có không gian cho hình "bay" lên không bị cắt */
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Quan trọng: để bóng đổ và hình 3D không bị mất cạnh */
}

    .home-right img {
        border-radius: 100%;
        /* Chỉ giữ một cách đặt kích thước duy nhất */
        width: 500px;
        height: 500px;
        object-fit: cover;
        /* Chống giật: Ép trình duyệt dùng Card đồ họa để xử lý render */
        backface-visibility: hidden;
        transform-style: preserve-3d;
        will-change: transform, box-shadow;
        /* Trạng thái mặc định */
        transform: rotateX(15deg) rotateY(-15deg) translateZ(0);
        box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.3);
        /* Transition dùng 'transform' thay vì 'all' để mượt hơn */
        transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease;
    }

        /* Hover mượt mà */
        .home-right img:hover {
            /* Giảm độ xoay thay vì về 0 hẳn để tránh cảm giác khựng */
            transform: rotateX(5deg) rotateY(-5deg) translateZ(50px) scale(1.02);
            /* Bóng đổ mềm hơn */
            box-shadow: 25px 40px 70px rgba(0, 0, 0, 0.4);
        }

    /* Tùy chỉnh thêm để chuyển động mượt mà như lướt sóng */
    .home-right img {
        /* Thay đổi transition một chút để mượt hơn nữa */
        transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, filter 0.5s ease;
    }

.ct-name {
    text-transform: uppercase;
    font-family: 'interB';
    color: var(--default-white);
    margin: 0;
    margin-bottom: 10px;
}

.slogan-ct-name {
    font-size: 19px;
    padding: 11px 0px;
    color: var(--default-white);
    font-family: 'interM';
}

.gt-text {
    text-align: justify;
    color: var(--default-white);
    font-family: 'manR';
}

.wrapa {
}

.wrap-item {
}

.wrapa section p:before {
    top: 2px;
    content: "\f058";
    position: absolute;
    font-family: FontAwesome;
    color: var(--default-white);
    left: 0px;
    font-size: 14px;
    transform: translateY(0px);
}

.wrap-item section {
}

    .wrap-item section p {
        margin: 0;
        font-size: 15px;
        font-family: 'interSB';
        color: var(--default-white);
        position: relative;
        padding-left: 23px;
        padding-bottom: 11px;
    }

.contact-box {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .contact-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        background: linear-gradient(135deg, #0056b3, #004085);
    }

.buttnza {
    display: inline-flex;
    align-items: center;
    color: var(--default-white); /* Màu xám đậm thanh lịch */
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
    margin-top: 11px;
    transition: color 0.3s ease;
    margin-bottom: 18px;
}

    /* Đường gạch chân mảnh */
    .buttnza::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30%; /* Ban đầu chỉ ngắn một đoạn */
        height: 1px;
        background-color: #003882;
        transition: width 0.4s ease;
    }

    /* Hiệu ứng Hover: Đường gạch chân dài ra toàn bộ và đổi màu chữ */
    .buttnza:hover {
        color: #003882;
    }

        .buttnza:hover::after {
            width: 100%;
        }

    /* Thêm một mũi tên nhỏ mảnh ở phía sau */
    .buttnza::before {
        content: "→";
        position: absolute;
        right: -25px;
        opacity: 0;
        transition: all 0.4s ease;
    }

    .buttnza:hover::before {
        opacity: 1;
        right: -35px;
    }

.icon {
    margin-right: 12px;
    font-size: 20px;
}

.phone-number {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Hiệu ứng rung nhẹ để thu hút sự chú ý */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(0eg);
    }

    75% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.contact-box:hover .icon {
    animation: shake 0.3s infinite;
}
/* --- TABLET (740px - 1023px) --- */
@media screen and (max-width: 1023px) {
    .home-about-container {
        flex-direction: column; /* Xếp chồng lên nhau */
        text-align: center;
        gap: 40px;
    }

    .home-left {
        width: 100%; /* Chiếm hết chiều rộng */
    }

    .home-right {
        width: 100%;
        padding: 20px; /* Giảm bớt padding */
    }

        .home-right img {
            width: 350px; /* Thu nhỏ ảnh trên máy tính bảng */
            height: 350px;
            transform: rotateX(10deg) rotateY(-10deg); /* Giảm độ nghiêng */
        }

    .gt-text {
        /* text-align: center; */ /* Căn giữa văn bản cho đẹp trên mobile */
    }

    .wrap-item section p {
        text-align: left;
        display: inline-block; /* Để các dòng bullet point canh giữa khối */
    }

    .home-about {
        /* height:100vh; */
        background-size: cover;
        padding-top: 43px;
    }
}

/* --- MOBILE (Dưới 739px) --- */
@media screen and (max-width: 739px) {
    .home-about {
        background-size: cover; /* Đảm bảo hình nền bao phủ tốt */
        padding: 40px 0;
    }

    .home-right img {
        width: 280px; /* Thu nhỏ ảnh thêm nữa cho mobile */
        height: 280px;
        box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
    }

    .ct-name {
        font-size: 24px; /* Giảm size chữ tiêu đề */
    }

    .slogan-ct-name {
        font-size: 16px;
    }

    .contact-box {
        padding: 10px 20px;
        width: 100%; /* Nút liên hệ dài ra cho dễ bấm */
        justify-content: center;
    }

    .phone-number {
        font-size: 1rem;
    }

    /* Vô hiệu hóa hiệu ứng hover 3D trên mobile để tránh lỗi hiển thị khi chạm tay */
    .home-right img:hover {
        transform: none;
    }
}

/*-- CSS Home Product List  --*/
.home-product-list {
    width: 100%;
    background-image: url(../../../Design/img/home-bgaz.png);
    background-size: 101%;
    background-repeat: no-repeat;
    background-position: center;
    padding-bottom: 38px;
}

.home-pl-bottom-item-list {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
    padding-top: 15px;
}

.home-pl-top .title {
    text-align: center;
    color: var(--default-color-hover);
    margin: 0;
    padding-top: 30px;
    font-size: 31px;
    padding-bottom: 13px;
}

.itemsprls-items {
    border: 28px;
}

.p-dv-items {
    border-radius: 28px;
    overflow: hidden;
    background: #FFFF;
}

.item-tops {
    display: flex;
    position: relative;
    justify-content: center;
}

.item-img {
    width: 89%;
    height: 373px;
    object-fit: unset !important;
    text-align: center;
    position: relative;
    top: 24px;
    border-radius: 28px;
}

.item-bottoms {
    background: var(--default-color-1);
    padding: 35px 0 17px 0;
    text-align: center;
}

    .item-bottoms .titles {
        margin: 0;
        font-size: 24px;
        color: #FFF;
        font-family: InterSB;
    }

.home-pl-top .description {
    text-align: center;
    font-size: 18px;
    padding-bottom: 10px;
}

.sButton-more {
    font-size: 16px;
    color: #FFFF;
    padding-top: 9px;
}

.item-bottoms .titles {
    display: inline-block;
    position: relative;
}

    .item-bottoms .titles::after {
        content: "";
        position: absolute;
        width: 0;
        height: 3px;
        bottom: -5px;
        left: 50%;
        background-color: #FFF;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

.p-dv-items:hover .item-bottoms .titles::after {
    width: 80%; /* Đường kẻ dài ra khi di chuột vào */
}

.item-img {
    transition: all 0.5s ease;
    transform: scale(1);
}

.p-dv-items:hover .item-img {
    /* Ảnh vừa thu nhỏ lại vừa dịch chuyển sang phải */
    transform: scale(0.8) translateX(0px);
    border-radius: 50px; /* Bo tròn mạnh hơn khi hover */
    opacity: 0.7;
}
/* --- TABLET (740px - 1024px) --- */
@media screen and (max-width: 1024px) {
    .home-pl-bottom-item-list {
        /* Chuyển từ 3 cột sang 2 cột cho dễ nhìn trên Tablet */
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 20px;
        padding: 15px 20px; /* Thêm chút lề 2 bên */
    }

    .item-img {
        height: 300px; /* Giảm chiều cao ảnh một chút */
    }

    .home-pl-top .title {
        font-size: 26px; /* Chữ nhỏ lại xíu cho cân đối */
    }
}

/* --- MOBILE (Dưới 740px) --- */
@media screen and (max-width: 739px) {
    .home-product-list {
        background-size: cover; /* Để hình nền không bị méo */
        padding-bottom: 20px;
    }

    .home-pl-bottom-item-list {
        /* Mobile chỉ nên để 1 cột duy nhất */
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding: 10px 15px;
        row-gap: 25px;
    }

    .item-img {
        width: 92%; /* Tăng độ rộng ảnh trên mobile */
        height: 350px; /* Thu gọn chiều cao để không bị quá dài */
        top: 15px; /* Giảm khoảng cách phía trên */
    }

    .item-bottoms {
        padding: 25px 10px 15px 10px; /* Giảm padding cho gọn */
    }

        .item-bottoms .titles {
            font-size: 20px; /* Chữ nhỏ hơn trên điện thoại */
        }

    .home-pl-top .title {
        font-size: 22px;
        padding-top: 15px;
    }

    .home-pl-top .description {
        font-size: 15px;
        padding: 0 10px 10px 10px;
    }

    /* Tắt hiệu ứng di chuyển ngang khi hover trên mobile 
       vì trên điện thoại hover không hoạt động mượt như chuột */
    .p-dv-items:hover .item-img {
        transform: scale(0.9); /* Chỉ thu nhỏ nhẹ, không dịch chuyển */
    }
}
/*-- CSS sản phẩm nổi bật --*/
.home-product-noibat {
    width: 100%;
    height: 100%;
    background-image: url(../../../Design/img/Bg-spnoibat.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 16px 0 19px 0;
}


.home-product-noibat-top {
    display: flex;
    justify-content: space-between;
    align-items: center; /* padding-top: 36px; */
}

.ootas {
    margin: 0;
    text-transform: uppercase;
    color: var(--color-text);
}

.diazz {
    margin-top: 12px;
}
/* Container Top */
.home-product-noibat-top {
    /* display: flex; */
    /* justify-content: space-between; */
    /* align-items: flex-start; */ /* Căn lề dưới cho đều chữ */
    /* padding-top: 19px; */
    /* padding-bottom: 20px; */
    /* Đường kẻ nhẹ ngăn cách */
    /* margin-bottom: 30px; */
}

/* Tiêu đề chính */
.ootas {
    margin: 0;
    text-transform: uppercase;
    color: var(--default-color-text);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

@media (max-width: 739px) {
    .cmz-top {
        width: 69%;
    }

    .ootas {
        font-size: 20px;
    }

    .Button-saz {
        font-size: 10px !IMPORTANT;
    }

    .diazz {
        font-size: 12px !important;
    }
}
/* Hiệu ứng gạch chân chạy khi hover vào tiêu đề */
.ootas::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--default-color-1);
    transition: width 0.4s ease;
}

.ootas:hover {
    color: var(--default-color-hover);
    cursor: pointer;
}

    .ootas:hover::after {
        width: 100%; /* Gạch chân dài ra toàn bộ khi hover */
    }
/* Container chứa nút */
.cmz-bottom {
    display: flex;
    justify-content: center; /* Căn giữa nút theo chiều ngang */
    /* margin-top: 14px; */ /* Tạo khoảng cách với danh sách sản phẩm phía trên */
    /* padding-bottom: 50px; */
}

/* Style cho nút */
.vzzas-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: transparent; /* Nền trong suốt ban đầu */
    color: var(--default-color-1); /* Màu xanh chủ đạo của bạn */
    border: 2px solid var(--default-color-1);
    border-radius: 50px; /* Bo tròn hoàn toàn dạng con nhộng */
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    /* Hiệu ứng Hover - Đổ đầy màu từ dưới lên hoặc đổi màu nền */
    .vzzas-btn:hover {
        color: #ffffff;
        background-color: var(--default-color-1);
        box-shadow: 0 8px 20px rgba(48, 86, 180, 0.3); /* Đổ bóng màu xanh dương */
        transform: translateY(-3px); /* Nhấc nhẹ nút lên */
    }

    /* Hiệu ứng click (Active) */
    .vzzas-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(48, 86, 180, 0.2);
    }

/* --- Responsive --- */

/* Tablet & Mobile (Dưới 739px) */
@media (max-width: 739px) {
    .cmz-bottom {
        margin-top: 25px;
        padding-bottom: 30px;
    }

    .vzzas-btn {
        width: 100%; /* Cho nút rộng hơn trên điện thoại để dễ bấm */
        text-align: center;
        padding: 11px 10px;
        font-size: 10px;
    }
}
/* Mô tả phụ */
.diazz {
    margin-top: 12px;
    color: #666;
    font-size: 15px;
    max-width: 500px;
    line-height: 1.6;
}

    /* Hiệu ứng hover nhẹ cho phần mô tả */
    .diazz:hover {
        color: var(--default-color-text);
    }

.cmz-bottom {
}

.vzzas-btn {
}

:root {
    --color-primary: #3056B4;
    --color-bg-light: #FFEDED;
    --color-white: #F9FAFB;
    --color-text: #002991;
    --color-hover: #001D61;
}

/* Nền tổng thể cho khu vực sản phẩm */
.home-product-noibat-container {
    /* padding: 60px 0; */
    /* background-color: var(--color-white); */
    padding-top: 22px;
}

.home-product-noibat-bottom {
    max-width: 1240px;
    margin: 0 auto;
}

/* Lưới sản phẩm thoáng đạt */
.item-noibat-sp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
}

/* Thẻ sản phẩm: Tinh tế và Hiện đại */
.item-product {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(48, 86, 180, 0.1); /* Viền cực mảnh màu xanh */
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

    /* Hiệu ứng khi Hover */
    .item-product:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 41, 145, 0.12); /* Bóng đổ màu xanh nhẹ */
        border-color: var(--color-primary);
    }

/* Khung ảnh với nền Layer nhẹ */
.img-po {
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 15px;
    border-radius: 12px;
    background-color: var(--color-bg-light); /* Màu hồng nhạt làm nền cho ảnh */
    overflow: hidden;
}

    .img-po img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 20px;
        transition: all 0.6s ease;
    }

.item-product:hover img {
    transform: scale(1.1) rotate(2deg); /* Phóng to và xoay nhẹ tạo cảm giác động */
}

/* Tiêu đề sản phẩm - Dùng màu default-color-text */
.titlte {
    padding: 5px 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
    text-transform: capitalize;
    /* min-height: 48px; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mã sản phẩm - Tag */
.mssp {
    padding: 0 20px;
    font-size: 12px;
    color: #666;
    font-family: 'Courier New', Courier, monospace; /* Kiểu font mã code cho chuyên nghiệp */
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Nút "Xem chi tiết" - Đổi màu theo biến Hover */
.Button-saz {
    margin: auto 20px 25px;
    padding: 7px 0;
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 50%;
    text-align: center;
    float: right;
}

.item-product:hover .Button-saz {
    background: var(--color-hover);
    box-shadow: 0 5px 15px rgba(0, 29, 97, 0.4);
    letter-spacing: 2px; /* Chữ giãn nhẹ ra khi hover */
}

/* Badge "Hot" hoặc "Mới" - Bonus thêm cho đẹp */
.item-product::before {
    content: "New";
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 10;
}

/* Mobile: 2 cột gọn gàng */
@media (max-width: 768px) {
    .item-noibat-sp {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
        padding: 10px 0 24px 0;
    }

    .home-product-noibat {
        background-size: cover;
    }
}
/*-- Du Án + New --*/
.home-new-da {
    width: 100%;
    height: 100%;
    background-image: url(../../../Design/img/duan.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 16px 0 49px 0;
}

.home-da-container {
}

.home-da-top {
    display: flex;
    padding-bottom: 44px;
    align-items: center;
    padding-top: 25px;
}

.za-left {
    width: 61%;
    height: 100%;
    background-image: url(../../../Design/img/asz.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 17px 3px 19px 52px;
    color: #FFF;
    font-family: InterSB;
    font-weight: 900;
    font-size: 20px;
}

.za-right {
    width: 100%;
}

.home-da-bottom {
}

.home-da-item {
}

.home-da-list-one {
}

.da-item-one {
    display: flex;
    align-items: center;
    GAP: 58PX;
}

.img-item-da img {
    width: 690px;
    height: 394px;
    border-radius: 20px;
}

.img-item-da {
}

.detail-item-da .zad {
    font-weight: 100;
    text-decoration: underline;
    text-decoration-thickness: 1px; /* Độ dày */
    text-underline-offset: 5px; /* Khoảng cách với chữ */
    font-size: 22px;
}

.detail-item-da .title {
    margin: 11px 0;
    font-family: 'interM';
    font-weight: 400;
}

.detail-item-da .adress {
    margin-bottom: 5px;
    position: relative;
    padding-left: 25px;
}

    .detail-item-da .adress:before {
        top: 2px;
        content: "\f3c5";
        position: absolute;
        font-family: FontAwesome;
        left: 0px;
        font-size: 14px;
        transform: translateY(0px);
    }

.detail-item-da .names-z {
    position: relative;
    padding-left: 24px;
    padding-bottom: 15px;
}

.bttz .svz-v {
    background: var(--color-text);
    color: #FFF;
    padding: 10px 19px;
    font-size: 14px;
    border-radius: 11px;
}

.detail-item-da .names-z:before {
    top: 2px;
    content: "\f52b";
    position: absolute;
    font-family: FontAwesome;
    left: 0px;
    font-size: 14px;
    transform: translateY(0px);
}

.detail-item-da names-z {
}

.home-da-item-bottom {
}

.home-da-list-b {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
}

.home-da-item {
}

    .home-da-item .da-tzop {
        display: flex;
        justify-content: center;
    }

        .home-da-item .da-tzop img {
            width: 273px;
            height: 273px;
            border-radius: 19px;
        }

.da-bztoom {
}

    .da-bztoom .title {
        font-family: 'interM';
        font-weight: 400;
        margin: 8px;
    }

    .da-bztoom .adress {
    }

    .da-bztoom .names-z {
    }

.more-detail { /* text-align: center; */
    display: flex;
    justify-content: center;
}

    .more-detail .sjzsss {
        border: 1px solid black;
        padding: 5px 28px;
        background: #FFF;
        color: var(--color-text);
        border-radius: 13px;
    }

.detail-item-da .adress:before,
.detail-item-da .names-z:before {
    color: var(--default-color-1); /* Cho icon cùng màu thương hiệu */
    transition: transform 0.3s ease;
}

.da-item-one:hover .adress:before {
    transform: scale(1.2); /* Icon to lên nhẹ khi hover */
}

.detail-item-da .zad {
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.da-item-one:hover .zad {
    color: var(--default-color-1);
    text-decoration-color: var(--default-color-1);
}
/* 1. Hiệu ứng cho mục dự án lớn (da-item-one) */
.da-item-one {
    transition: all 0.4s ease;
}

/* Phóng to ảnh dự án lớn khi di chuột vào vùng chứa */
.img-item-da {
    overflow: hidden; /* Cắt phần ảnh thừa khi phóng to */
    border-radius: 20px;
}

    .img-item-da img {
        transition: transform 0.5s ease;
    }

.da-item-one:hover .img-item-da img {
    transform: scale(1.05); /* Phóng to 5% */
}

/* Đổi màu tiêu đề dự án lớn */
.detail-item-da .title {
    transition: color 0.3s ease;
}

.da-item-one:hover .title {
    color: var(--default-color-1); /* Sử dụng màu xanh chủ đạo của bạn */
}

/* 2. Hiệu ứng cho danh sách dự án nhỏ (home-da-item) */
.home-da-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .home-da-item:hover {
        transform: translateY(-8px); /* Nhấc nhẹ cả khối lên */
    }

/* Phóng to ảnh nhỏ */
.da-tzop {
    overflow: hidden;
    border-radius: 19px;
}

    .da-tzop img {
        transition: transform 0.5s ease;
    }

.home-da-item:hover .da-tzop img {
    transform: scale(1.1);
}

/* Đổi màu tiêu đề dự án nhỏ */
.da-bztoom .title {
    transition: color 0.3s ease;
}

.home-da-item:hover .title {
    color: var(--default-color-1);
}

/* 3. Hiệu ứng cho các nút bấm */

/* Nút xanh (svz-v) */
.bttz .svz-v {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
}

    .bttz .svz-v:hover {
        background: var(--default-color-hover);
        box-shadow: 0 4px 12px rgba(48, 86, 180, 0.3);
        transform: scale(1.05);
    }

/* Nút "Xem thêm" (sjzsss) */
.more-detail .sjzsss {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--color-text); /* Thay đổi viền đen thành màu chủ đạo */
}

    .more-detail .sjzsss:hover {
        background: var(--color-text);
        color: #FFF;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

@media (max-width: 1024px) {
    /* Dự án lớn: Giảm khoảng cách */
    .da-item-one {
        gap: 30px;
    }

    .img-item-da img {
        width: 100%; /* Để ảnh tự co dãn theo khung */
        height: auto;
    }

    /* Danh sách dự án nhỏ: Chuyển về 2 cột thay vì 4 cột */
    .home-da-list-b {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .home-da-item .da-tzop img {
        width: 100%;
        height: auto;
    }

    .za-left {
        width: 40%; /* Thu hẹp phần tiêu đề nền ảnh asz.png */
    }
}

@media (max-width: 739px) {
    /* Phần Header (za-left) */
    .za-right {
        display: none;
    }

    .home-da-top {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 25px;
    }

    .za-left {
        width: 100%; /* Chiếm toàn bộ chiều ngang */
        padding: 12px 20px;
        font-size: 18px;
        background-position: left;
    }

    /* Dự án lớn: Chuyển sang cột đứng */
    .da-item-one {
        flex-direction: column;
        gap: 20px;
    }

    .img-item-da img {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .detail-item-da {
        padding: 0 10px;
        text-align: left;
        width: 100%;
    }

        .detail-item-da .zad {
            font-size: 18px;
        }

    /* Danh sách dự án nhỏ: 1 cột duy nhất */
    .home-da-list-b {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
    }

    .home-da-item .da-tzop img {
        width: 100%;
        height: 200px; /* Cố định chiều cao cho đều hoặc để auto */
        object-fit: cover;
    }

    /* Nút Xem thêm */
    .more-detail .sjzsss {
        width: 100%;
        margin: 0 20px;
        text-align: center;
    }

    .bttz .svz-v {
        width: 100%;
        text-align: center;
    }

    .da-bztoom .title {
        font-size: 16px;
    }
}
/*--- New ---*/
.home-new-container {
}

.home-new-top {
    padding: 36px 0px;
}

.items-top-nz {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.snaz-new {
    font-size: 31px;
    color: var(--color-hover);
}

.bnt-zassd {
}

.home-new-bottom {
}

.home-new-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0px;
}

.item-new {
}

.item-new-top img {
}

.item-new-top {
    padding: 10px;
    background: #FFFF;
}

.item-new-bottom {
}

.stisz {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 19px;
    padding: 10px 0;
    color: #18007A;
}

.vzbkp {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
/* Hiệu ứng cho toàn bộ thẻ tin tức */
.item-new {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .item-new:hover {
        transform: translateY(-8px); /* Nhấc nhẹ thẻ lên */
        /* box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1); */ /* Đổ bóng mịn */
        /* border-color: rgba(24, 0, 122, 0.1); */
    }

/* Hiệu ứng cho hình ảnh */
.item-new-top {
    position: relative;
    overflow: hidden; /* Quan trọng để ảnh không tràn ra ngoài khi phóng to */
    padding: 0; /* Reset lại padding nếu bạn muốn ảnh sát mép */
    display: flex;
    justify-content: center;
}

    .item-new-top img {
        transition: transform 0.6s ease;
        /* width: 100%; */
        /* display: block; */
        /* aspect-ratio: 16 / 10; */ /* Giữ tỉ lệ ảnh tin tức đẹp */
        object-fit: cover;
        height: 263.256px;
        2 width: 255.289px;
        width: 255.289px;
    }

.item-new:hover .item-new-top img {
    transform: scale(1.1); /* Phóng to ảnh 10% */
    filter: brightness(1.1); /* Làm ảnh sáng hơn chút */
}

/* Hiệu ứng cho tiêu đề (stisz) */
.stisz {
    transition: color 0.3s ease;
}

.item-new:hover .stisz {
    color: var(--color-hover); /* Đổi sang màu xanh chủ đạo khi hover */
}

/* Hiệu ứng cho nút "Xem chi tiết" ở trên đầu */
.bnt-zassd {
    text-decoration: none;
    color: var(--color-hover);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

    .bnt-zassd::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30%; /* Gạch chân ngắn ban đầu */
        height: 2px;
        background-color: var(--color-hover);
        transition: width 0.3s ease;
    }

    .bnt-zassd:hover {
        opacity: 0.8;
    }

        .bnt-zassd:hover::after {
            width: 100%; /* Gạch chân dài ra khi hover */
        }

/* Hiệu ứng cho link bọc ngoài thẻ */
.vzmro {
    text-decoration: none;
    color: inherit;
    display: block;
}
/* --- TABLET (Dưới 1024px) --- */
@media (max-width: 1024px) {
    .home-new-list {
        grid-template-columns: repeat(2, 1fr); /* Chuyển thành 2 cột */
        gap: 20px;
        padding: 0 15px;
    }

    .item-new-top img {
        width: 100% !important; /* Ghi đè kích thước cố định */
        height: auto !important;
        aspect-ratio: 1 / 1; /* Giữ ảnh vuông hoặc tùy chỉnh 16/10 */
    }
}

/* --- MOBILE (Dưới 739px) --- */
@media (max-width: 739px) {
    .home-new-top {
        padding: 20px 15px;
    }

    .items-top-nz {
        /* flex-direction: column; */ /* Xếp chồng Tiêu đề và nút Xem chi tiết */
        align-items: flex-start;
        gap: 10px;
        padding-top: 27px;
    }

    .snaz-new {
        font-size: 24px; /* Thu nhỏ tiêu đề */
    }

    .home-new-list {
        grid-template-columns: 1fr; /* Chuyển thành 1 cột duy nhất */
        gap: 25px;
    }

    .item-new-top img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px; /* Giới hạn chiều cao ảnh trên mobile cho đỡ dài */
    }

    .stisz {
        font-size: 17px; /* Thu nhỏ chữ tiêu đề tin */
        padding: 5px 0;
    }

    .vzbkp {
        font-size: 14px; /* Thu nhỏ nội dung tóm tắt */
    }
}
