﻿



.slide .img-fluid {
    padding-right: 15px;
    padding-left: 15px;
}
.align-items-stretch h3 {
    color: #215f4a;
    font-weight: bold;
}
.testimonial {
    border: 1px solid #ced4da;
    border-radius: 30px;
    background: #b5b5b5bd;
    color: #000;
}
.search-bar {
    padding: 20px 25px;
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 700px;
    margin-bottom: 30px;
}

.search-tabs {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .search-tabs li {
        cursor: pointer;
        font-weight: bold;
        color: #fff;
        padding: 0px 10px;
    }

        .search-tabs li a {
            color: #fff;
        }

.search-input {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

    .search-input input {
        flex: 1;
        border: none;
        padding: 10px 20px;
        border-radius: 25px 0 0 25px;
        font-size: 1rem;
        outline: none;
        border: 1px solid #ddd;
    }

.search-btn {
    background: #215f4a;
    color: #fff;
    border: none;
    padding: 11px 25px;
    border-radius: 0 25px 25px 0;
    font-size: 1rem;
    cursor: pointer;
}

    .search-btn a {
        color: #fff;
    }

    .search-btn:hover {
        background: #b76a07;
    }


.img-fluid {
    border-radius: 8px;
}

.site-section .slide-one-item-alt .img-fluid {
    width: 510px;
    height: 765px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Tối ưu hóa cho màn hình nhỏ */
@media (max-width: 768px) {

    .site-section .slide-one-item-alt .img-fluid {
        width: 690px;
        height: 1035px;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .site-blocks-cover {
        text-align: center;
        padding: 20px;
    }

    .search-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .search-tabs {
        display: flex;
        flex-direction: row; /* Tabs nằm ngang */
        justify-content: center;
        width: auto;
    }

        .search-tabs li {
            margin: 0 10px;
            padding: 5px;
            font-size: 0.9rem;
            color: #fff;
        }

    .search-input {
        display: flex;
        flex-direction: row; /* Ô tìm kiếm và nút nằm ngang */
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        width: 100%;
        max-width: 600px;
    }

        .search-input input {
            flex: 1;
            border-radius: 25px 0 0 25px;
            padding: 5px;
            font-size: 1rem;
            border: 1px solid #ccc;
        }

    .search-btn {
        border-radius: 0 25px 25px 0;
        padding: 12px 20px;
        font-size: 9px;
        background-color: #215f4a;
        color: white;
        border: none;
        cursor: pointer;
    }

        .search-btn:hover {
            background-color: #d32f2f;
        }

    h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    p {
        font-size: 1rem;
        padding: 0 10px;
    }
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 80px;
    width: auto;
}

.site-logo {
    color: #f7a043;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Đảm bảo menu nằm trên cùng một hàng */
.site-menu {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

    .site-menu li {
        list-style: none;
        margin-left: 20px;
    }

.nav-link {
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .site-logo {
        display: none; /* Ẩn chữ trên màn hình nhỏ */
    }

    .logo-img {
        max-height: 100px;
    }
}

@media (max-width: 430px) {

    .site-navbar .container .col-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .site-section .slide-one-item-alt .img-fluid {
        width: 345px;
        height: 517px;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (min-width: 769px) {

    .team-member .img-fluid {
        width: 300px;
        height: 345px;
    }
    .t-bottom {
        margin-top: 250px;
    }
}

@media (max-width: 768px) {

    .team-member .img-fluid {
        width: 200px;
    }
}