* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

body {
    background-color: #fff;
}



/* Navbar */
.nav {
    position: relative;
    min-height: 42px;
    background-color: #fff;
    display: flex;
}

.nav-list {
    height: 10vh;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: #fff;
    display: inline-block;
    justify-content: center;
    align-items: center;
}

.nav-item_img {
    height: auto;
    width: 10%;
    max-width: 100%;
    min-width: 10%;
    place-items: center;
    list-style: none;
    position: absolute;
    top: 25%;
    left: 1vh
}

.nav-item_catalog {
    position: absolute;
    background-color: #249dde;
    color: #fff;
    width: 150px;
    height: auto;
    max-width: 100%;
    min-height: 21px;
    border-radius: 20px;
    top: 25%;
    right: 1vh;
    text-align: center;
}

.nav-item_catalog h4 {
    display: flex;
    justify-content: center;
    align-content: center;
    color: #fff;
    margin: 5px;
    text-align: center;
    font-family: Montserrat;
    font-size: 18px;
}



.nav-item_h4 {
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    color: #249dde;
    width: 150px;
    height: auto;
    max-width: 100%;
    min-height: 21px;
    border-radius: 20px;
    top: 60%;
    left: 1vh;
    text-align: center;
}

.nav-item_h4 h4 {
    margin: 4px;
}



.banner {
    position: relative;
    height: 50vh;
    margin: 0;
    text-align: center;
    background-image: url('../images/Img1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.banner-img {
    display: block;
    margin-top: 20px;
    width: auto;
    /* Full width of the container */
    height: 50%;
    margin: auto
}

.banner h1 {
    margin-bottom: 0;
    padding: 0;
    margin-top: auto;
    color: #ffffff;
    font-size: 36px;
}

.banner p {
    margin: 0;
    font-size: 16px;
}

.slogan {
    padding: 36px;
    background-color: #fff;
    text-align: center;
}

.slogan h2 {
    margin: 0;
    padding: 16px;
    font-size: 20px;
}

.slogan p {
    margin: 0;
}

.feature-layout {
    background-color: #ccc;
    width: 100%;
    height: auto;
}

.feature-layout ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-layout li {
    list-style: none;
}

.feature-layout img {
    margin-right: 4px;
    list-style: none;
    height: auto;
    min-height: 254px;
    max-width: 254px;
    flex-wrap: wrap;
}

.Elev-Homes {
    background-color: #fff;
    margin: 12px 5%;
    padding: 32px 0;
    /* max-width: 740px; */
    min-height: 360px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.Elev-Homes__first {
    flex: 1;
}

.Elev-Homes__first img {
    height: auto;
    width: 100%;
    min-width: 200px;
    min-height: 200px;

}

.Elev-Homes__second {
    padding-left: 10px;
    min-width: 174px;
    flex: 1;
    align-content: center;
    word-wrap: break-word;
    /* Cho phép bẻ từ */
    overflow-wrap: break-word;
    /* Đảm bảo bẻ từ nếu cần */
}

.Elev-Homes__second h2 {
    margin-top: 0;
}

.Elev-Homes__second p {
    margin-top: 0;
}


.btn-additional {
    display: inline-block;
    text-decoration: none;
    background-color: #f57e19db;
    border: none;
    outline: none;
    color: #fff;
    padding: 12px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    min-width: 100px;
}

.btn-additional:hover {
    opacity: 0.8;
}

.Elev-smart {
    margin-top: 36px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}


.Elev-smart__one {
    padding: 0;
    margin: 36px;
    height: auto;
    flex: 1;
    min-height: 300px;
    min-width: 200px;
    list-style: none;
    align-content: center;
    background-color: #fff;
}

.Elev-smart__two {
    padding: 0;
    margin: 36px;
    height: auto;
    flex: 1;
    min-height: 300px;
    min-width: 200px;
    list-style: none;
    align-content: center;
    background-color: #fff;
}

.Elev-smart__three {
    padding: 0;
    margin: 36px;
    height: auto;
    min-height: 300px;
    min-width: 200px;
    flex: 1;
    list-style: none;
    align-content: center;
    background-color: #fff;
}

.Elev-smart__one ul {
    padding: 0;
    margin: 0;
}

.Elev-smart__two ul {
    padding: 0;
    margin: 0;
}

.Elev-smart__three ul {
    padding: 0;
    margin: 0;
}

.Elev-smart__one li img {
    margin-left: 25%;
    height: auto;
    width: 45%;
}

.Elev-smart__two li img {
    height: auto;
    width: 100%;
}

.Elev-smart__three li img {
    height: auto;
    width: 100%;
}

.Elev-smart__one li {
    list-style: none;
    text-align: center;

}

.Elev-smart__two li {
    list-style: none;
    text-align: center;

}

.Elev-smart__three li {
    list-style: none;
    text-align: center;

}


.Elev-smart__one-li1 {
    padding: 10px;
    margin: 0;
    color: #fff;
    background-color: #0e5175;
    text-wrap: nowrap;
}

.Elev-smart__two-li2 {
    padding: 10px;
    color: #fff;
    background-color: #0e5175;
    text-wrap: nowrap;
}

.Elev-smart__three-li3 {
    padding: 10px;
    color: #fff;
    background-color: #0e5175;
    text-wrap: nowrap;
}

.Elev-smart__one-li1 * {
    margin: 0;
}

.Elev-smart__two-li2 * {
    margin: 0;
}

.Elev-smart__three-li3 * {
    margin: 0;
}

.img {
    padding: 0;
    margin: 0;
    display: block;
}

.s2 {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
}

.Solutions {
    height: auto;
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* Căn giữa */
    align-items: center;
    /* Căn giữa theo chiều dọc */
    flex-wrap: wrap;
}


.Services {
    height: auto;
    width: 100%;
    background-color: #ccc;
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* Căn giữa */
    align-items: center;
    /* Căn giữa theo chiều dọc */
    flex-wrap: wrap;
}

.solution-one {
    margin: 0;
    padding: 0;
    flex: 1;
    line-height: 30px;
    text-align: center;
}

.solution-two {
    flex: 1;
    margin: 0;
    padding: 0;
    line-height: 30px;
}

.solution-two li {
    text-wrap: nowrap;
}

.solution-one__img {
    display: block;
    padding: 0;
    margin: auto;
    display: flex;
    object-fit: cover;
    height: auto;
    max-width: 52%;
    min-height: 200px;
    min-width: 200px;
}

.solution-two__img {

    display: block;
    max-width: 60%;
    max-height: 50%;

}

.service-one {
    margin: 0;
    padding: 0;
    flex: 1;
    line-height: 30px;
    text-align: center;
}

.service-two {
    flex: 1;
    margin: 0;
    padding: 0;
    line-height: 30px;
}

.service-two li {
    text-wrap: nowrap;
}

.service-one__img {
    display: block;
    padding: 0;
    margin: auto;
    height: auto;
    max-width: 50%;
    object-fit: cover;
    min-height: 200px;
    min-width: 200px;
}

.service-two__img {
    margin-bottom: 40px;
    display: block;
    max-width: 60%;
    max-height: 50%;
}





.tuvan {
    background-color: #249fde3d;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: row;
}

.tuvan-noidung {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Căn giữa theo chiều ngang */
    align-items: center;
    /* Căn giữa theo chiều dọc */
}

.tuvan-form_tuvan {
    flex: 1;
}

.tuvan-noidung img {
    display: block;
    max-width: 40%;
    max-height: 50%;
}

.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: auto;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #3498db;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 50%;
}

button:hover {
    background-color: #2980b9;
}

.footer {
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Căn giữa theo chiều ngang */
    align-items: center;
    /* Căn giữa theo chiều dọc */
    word-wrap: break-word;
    /* Cho phép bẻ từ */
    overflow-wrap: break-word;
    /* Đảm bảo bẻ từ nếu cần */
}

.footer img {
    display: block;
    height: 15%;
    width: 15%;
}

.footer li {
    padding-right: 50px;
    list-style: none;
    text-align: left;
}

.slider {
    position: relative;
    margin: auto;
    overflow: hidden;
}

.slides {

    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

img {
    width: 100%;
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.001);
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.buttons .prev {
    flex: 1;
    position: absolute;
    left: 10px;
    text-align: left;
}

.buttons .next {
    flex: 1;
    position: absolute;
    right: 10px;
    text-align: right;
}

img {
    max-width: 100%;
    height: auto;
}



.modal {
    display: none;
    /* Ẩn modal mặc định */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Nền mờ */
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Width of the modal */
    height: 100%;
    /* Height of the modal */
}

/* PDF iframe styling */
.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Ảnh trong modal */
.modal img {
    max-width: 50%;
    max-height: 100%;
    display: block;
    margin: auto;
}

/* Nút đóng modal */
.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

img:hover {
    transform: scale(1.05);
}


@media (max-width: 600px) {
    body {
        font-size: 14px;
        width: 100%;
        /* Chiều rộng 100% trên thiết bị nhỏ */
        height: auto;
        /* Giữ tỷ lệ */
    }

    .container {
        padding: 10px;
    }

    .nav {
        flex-direction: column;
    }
}