﻿/* --- PHẦN CSS GỐC VÀ HIỆU ỨNG HOVER --- */

.home-about {
    background-image: url(../../../Design/img/home-about-img.png);
    background-size: cover;
    /* height: 908px; */
    padding-bottom: 76px;
}

/* Lưu ý: .home-about grid.wide là selector không hợp lệ, tôi bỏ qua nó. */

.home-about-container {
    display: flex;
    justify-content: space-between;
    align-items: self-start;
    padding: 0;
    gap: 89px;
    padding-top: 81px;
}

.homea-left {
    width: 66%;
}

.about-us {
    font-weight: bold;
    font-size: 16px;
    font-family: 'monR';
    color: #4b4b4b;
}

.name-cty {
}

.fz-vz {
    color: #693142;
    font-family: 'monSB';
    font-size: 27px;
}

.fz-vzs {
    color: var(--default-color-4);
    font-family: 'interB';
    font-size: 41px;
    padding-bottom: 15px;
    margin-bottom: 17px;
    position: relative;
    /* 2px stroke, màu xanh đậm */
    /* Thuộc tính chuẩn (chưa được hỗ trợ rộng rãi) */
    -webkit-text-stroke: 1px #72B04E;
    text-stroke: 1px #72B04E;
    /* 1. Thiết lập Màu Nền Chữ (Fill Color) */
    color: #FACC44;
    /* 2. Thiết lập Viền Chữ (Stroke) */
    /* Độ dày 3px, Màu xanh lá cây */
    /* [Tùy chọn] Các thiết lập khác cho chữ */
    font-family: Arial, sans-serif; /* Bạn nên thay bằng font chữ thực tế bạn dùng */
    font-weight: bold;
}

    .fz-vzs:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 14%;
        height: 2px;
        background: var(--default-color-1);
    }

.zxjcz-svz {
}

    .zxjcz-svz p {
        font-family: monR;
        font-size: 16px;
        color: #4b4b4b;
        text-align: justify;
    }

.xemasz {padding-top: 32px;}

.czz-about {
    padding: 10px 17px;
    width: 26%;
    display: flex;
    color: var(--default-color-1);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--default-color-1);
    border-radius: 37px;
    transition: background-color 0.3s, color 0.3s; /* Thêm transition */
}

    /* HIỆU ỨNG HOVER */
    .czz-about:hover {
        background-color: var(--default-color-1); /* Đổi màu nền */
        color: #fff; /* Đổi màu chữ */
        cursor: pointer;
    }

    .czz-about svg path {
        fill: var(--default-color-1)
    }
    /* HIỆU ỨNG HOVER cho SVG */
    .czz-about:hover svg path {
        fill: #fff; /* Đổi màu icon khi hover */
    }


.homea-right {
    position: relative;
    width: 53%;
}

.home-about-img {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.sz-about-img {
    width: 433px;
    height: 495px;
}

    .sz-about-img img {
        object-position: right;
        border-top-left-radius: 100px;
        border-bottom-right-radius: 100px;
        width: 100%; /* Đảm bảo ảnh chiếm hết chiều rộng */
        height: 100%; /* Đảm bảo ảnh chiếm hết chiều cao */
        object-fit: cover; /* Đảm bảo ảnh phủ hết khu vực */
    }

.sz1-about-img {
    position: absolute;
    bottom: 21px;
    left: -54px;
    width: 265px;
    height: 259px;
    overflow: hidden;
}

    .sz1-about-img img {
        object-position: center;
        border-bottom-left-radius: 100px;
        border-top-right-radius: 100px;
        width: 100%; /* Đảm bảo ảnh chiếm hết chiều rộng */
        height: 100%; /* Đảm bảo ảnh chiếm hết chiều cao */
        object-fit: cover; /* Đảm bảo ảnh phủ hết khu vực */
    }

---

## 📱 CSS Responsive (Mobile và Tablet)

### 1. 📏 Thiết bị Tablet (max-width: 1023px)

```css
/* --- TABLET: Bố cục 2 cột hẹp hoặc xếp chồng --- */
@media screen and (max-width: 1023px) {
    .home-about-container

{
    gap: 50px; /* Giảm khoảng cách */
    padding-top: 50px;
    flex-direction: column; /* Xếp chồng nội dung */
    align-items: center;
}

.homea-left {
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    text-align: center; /* Căn giữa nội dung văn bản */
    order: 2; /* Đặt khối văn bản xuống dưới */
}

/* Điều chỉnh đường kẻ dưới tiêu đề để căn giữa */
.fz-vzs:before {
    left: 50%;
    transform: translateX(-50%);
}

.czz-about {
    width: 50%; /* Tăng độ rộng nút */
    margin: 0 auto; /* Căn giữa nút */
    justify-content: center; /* Căn giữa nội dung nút */
}

.homea-right {
    width: 80%; /* Giảm kích thước khối ảnh */
    order: 1; /* Đặt khối ảnh lên trên */
    margin-bottom: 50px;
}

.sz-about-img {
    height: 450px; /* Giảm chiều cao ảnh lớn */
}

/* Điều chỉnh vị trí ảnh nhỏ */
.sz1-about-img {
    bottom: -20px; /* Di chuyển lên một chút */
    left: 0; /* Đặt sát lề trái */
    width: 200px;
    height: 200px;
}

} /* --- MOBILE: Xếp chồng và Tối ưu hóa cho màn hình nhỏ --- */
@media screen and (max-width: 739px) {
    .home-about {
        padding-bottom: 40px;
    }

    .homea-left {
        width: 100%
    }

    .home-about-container {
        flex-direction: column;
        padding-top: 18px;
        gap: 30px;
    }

    .fz-vzs {
        font-size: 41px; /* Giảm kích thước tiêu đề lớn */
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .czz-about {
        width: 47%; /* Cho nút chiếm toàn bộ chiều rộng */
        padding: 12px 0;
        justify-content: center;
        font-size: 13px;
    }

    .homea-right {
        width: 100%; /* Chiếm gần hết màn hình */
    }

    .sz-about-img {
        height: 350px; /* Giảm chiều cao ảnh lớn hơn nữa */
        width: 100%;
    }

    /* Ẩn ảnh nhỏ để đơn giản hóa bố cục mobile và tiết kiệm băng thông */
    .sz1-about-img {
        display: none;
    }

    .fz-vz {
        font-size: 19px;
        white-space: nowrap;
    }

    .about-us {
        font-size: 12px;
    }

    .zxjcz-svz p {
        font-size: 14px;
    }

    .sz-about-img img {
        border-radius: 26px;
    }.xemasz{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-direction:column;
        padding-top: 10px;
    }
}
