
        :root {
            --primary-color: #008ecf; /* Màu xanh chủ đạo */
        }
        .small{
            width: 50px;
        }
        .header {
            padding: 10px 0;
            border-bottom: 2px solid #f1f1f1;
        }
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--primary-color);
        }
        .search-box {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 5px;
            display: flex;
            align-items: center;
        }
        .search-box input {
            border: none;
            outline: none;
            flex: 1;
            padding: 5px;
        }
        .search-box button {
            background: black;
            color: white;
            border: none;
            padding: 8px;
            border-radius: 0 5px 5px 0;
        }
        .icon-box {
            display: flex;
            align-items: center;
        }
        .icon-box i {
            font-size: 18px;
            margin-left: 15px;
            cursor: pointer;
        }
        .cart-icon {
            position: relative;
        }
        .cart-icon span {
            position: absolute;
            top: -8px;
            right: -10px;
            background: yellow;
            color: black;
            font-size: 12px;
            font-weight: bold;
            padding: 2px 5px;
            border-radius: 50%;
        }
        .navbar {
            background-color: var(--primary-color);
            height: 50px;
            width: 100%;
            transition: all 0.3s ease-in-out;
    /* Giữ nền menu */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Đổ bóng nhẹ */
        }
        .fixed-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: var(--primary-color); /* Thêm nền khi cố định */
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }
        .navbar-nav .nav-link {
            color: white !important;
            font-size: large;
            font-weight: 400
        }
        .dropdown-menu {
            background-color: white;
            border: none;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            margin-top: 5.5px;

        }


        .dropdown-item:hover {
            background-color: #f1f1f1;
        }
        /* Thiết lập menu con (cấp 2) */
        .dropdown-menu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-top: -8px;
        }
        .nav-item:hover .dropdown-menu {
            display: block;
        }
        /* .container-menu{
            max-height: 40px !important;
        } */
        /* Ẩn submenu ban đầu */
.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    left: 100%; /* Hiển thị ngang */
    top: 0;
    margin-left: 5px;
}

/* Khi hover vào dropdown-submenu thì submenu sẽ hiện ra */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Căn chỉnh submenu ngang */
.dropdown-submenu {
    position: relative;
}
    .swiper-pagination-bullet-active {
    background-color: white !important; /* Đổi màu chấm active thành xanh */
}
.swiper {
    width: 100%; /* Chiều rộng 100% viewport */
    height: 500px; /* Chiều cao 100% viewport */
}

.swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover; /* Giữ tỉ lệ hình ảnh và lấp đầy khung */
}
.hover-effect {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .hover-effect:hover {
            transform: translateY(-5px); /* Di chuyển lên */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Hiệu ứng bóng */
        }

        /* Căn chỉnh các nút */
    .btn-card {
    background-color: #008ecf;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid rgb(255,255,255);
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 150px; /* Đặt chiều cao tối thiểu để cân bằng */
}
.btn-card1 {
    background-color: #008ecf;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid rgb(255,255,255);
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 110px; /* Đặt chiều cao tối thiểu để cân bằng */
}

        /* Thêm khoảng cách */
        .gap-3 {
            gap: 15px;
        }

        /* Bo tròn góc */
        .rounded-custom {
            border-radius: 10px;
        }
        .container-custom{
            width: 1100px;
        }
    .section-title1 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.text-primary{
    color: var(--primary-color) !important;
}

.section-title1::before,
.section-title1::after {
    content: "";
    flex: 1;
    height: 3px; /* Độ dày của đường */
    background-color: #ddd; /* Màu đường kẻ */
    margin: 0 15px; /* Khoảng cách với icon */
    width: 70px;
}
.news-container {
            width: 350px;
            background: white;
            border: 1px solid rgb(236, 233, 233);
            border-radius: 12px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
        }
.listpostsmall {
            width: 250px;
            background: white;
            border: 1px solid rgb(236, 233, 233);
            border-radius: 12px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
        }
        .news-title {
            text-transform: uppercase;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
    position: relative; /* Cần để tạo gốc cho ::after */
    padding-bottom: 5px; /* Tạo khoảng cách cho gạch chân */
}

.news-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 200px;
    height: 2px;
    background-color: rgb(178,214,232);
    transition: width 0.5s ease, opacity 0.5s ease, background-color 0.5s ease;
    transform: translateX(-50%); /* Canh giữa */
}

/* Hover: gạch chân mở rộng từ giữa ra hai bên */
.news-title:hover::after {
    width: 100%;
    background-color: black;

}


        /* Bài viết đầu tiên */
        .news-item.first {
            position: relative;
            overflow: hidden;


        }
        .news-item.first img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            filter: brightness(80%);
            transition: transform 0.3s ease-in-out;
        }
        .news-item.first .news-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            /* background: rgba(0, 0, 0, 0.5); */

            padding: 10px;
            width: 80%;
            border-radius: 8px;
            transition: transform 0.3s ease-in-out;
        }
        .news-item.first .news-content h3{
            font-size: 14px;
            font-weight: 600;
            color: white;
        }
        /* Hiệu ứng hover cho bài viết đầu tiên */
        .news-item.first:hover .news-content {
            transform: translate(-50%, -60%);
        }

        /* Các bài viết nhỏ */
        .news-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border-bottom: 3px solid #ddd;
            cursor: pointer;
            transition: transform 0.3s ease-in-out;
        }
        .news-item img {
            width: 70px;
            height: 60px;
            object-fit: fill;
            border-radius: 6px;
        }
        .news-content {
            padding-left: 10px;
            flex: 1;
        }
        .news-content h3 {
            font-size: 14px;
            color: var(--primary-color);
        }
        .news-content p {
            font-size: 12px;
            color: gray;
            margin-top: 5px;
        }
        /* Hiệu ứng hover: bài viết di chuyển lên */
        .news-item:not(.first):hover {
            transform: translateY(-5px);
        }
        /* Nút xem thêm */
        .see-more {
            text-align: center;
            padding: 5px;
            font-size: 16px;
            color: #b31d1d;
            font-weight: 300;
            cursor: pointer;
            transition: transform 0.3s;
            height: 70px;

        }
        .see-more:hover {
            transform: translateY(-3px);
            color: var(--primary-color);
            /* text-decoration: underline; */
        }
        .service-section {
            text-align: center;
            padding: 50px 0;
        }
        .service-title {
            font-size: 20px;
            font-weight: bold;
            color: var(--primary-color);
        }
        .service-item img {
            width: 100%;
            height: 200px;
            border-radius: 8px;
        }
        .service-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 30px; /* Đảm bảo nút có chiều cao cố định */
            margin-top: 15px;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            border-radius: 30px;
            font-weight: 500;
            font-size: 16px;
            text-align: center;
            padding: 0; /* Loại bỏ padding dư thừa */
            line-height: normal; /* Đảm bảo dòng chữ không bị đẩy lên/xuống */
            transition: all 0.3s ease-in-out;
        }
        .service-btn:hover {
            background-color: var(--primary-color);
            color: white;
        }
        .nav-item {
            position: relative;
            padding-bottom: 5px;
        }

        /* Thanh border chạy */
        .nav-item::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background-color: #fff;
            transition: width 0.3s ease-in-out;
        }

        .nav-item:hover::after {
            width: 100%;
        }
        .list-menu{
            background-color: #f3f3f3;
            width: 100%;
        }

    .search-box {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    padding: 5px 15px;
    width: 250px;
    height: 35px;
    border: 1px solid #ddd;
}

/* Ô nhập văn bản */
.search-input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 16px;
    padding: 8px;
}

/* Nút tìm kiếm */
.search-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-left: -5px; /* Dịch sát vào input */
    color: #008ecf;
}
.search-box button{
    background: none;
}

/* Hover hiệu ứng */
.search-button:hover {
    color: #007bff;
}
.nav-link.active {
  color: #008ecf!important;
}
.banner-list-menu{
    height: 302px;
    border-radius: 10px;
}
.custom-underline::after {
    content: "";
    display: block;
    width: 200px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 8px auto 0;
}
.counter-box {
    text-align: center;
    font-family: Arial, sans-serif;
    background: white;
    padding: 15px;
    width: 250px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.counter-title {
    color: #d16b16;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
}
.counter-display {
    display: flex;
    justify-content: center;
    background: black;
    padding: 5px;
    border-radius: 5px;
    width: fit-content;
    margin: auto;
}
.counter-number {
    font-size: 25px;
    font-weight: bold;
    color: white;
    display: inline-block;
    width: 25px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    background: black;
    border: 2px solid white;
    margin: 2px;
    border-radius: 3px;
    font-family: monospace;
}
.counter-info {
    text-align: left;
    font-size: 14px;
    margin-top: 10px;
}
.counter-info img {
    width: 12px;
    margin-right: 5px;
}
.list-sm{
    padding-bottom: 0px !important;
}
@media (max-width: 768px) {
    .banner-main {
        width: auto !important; /* Đặt max-width cho điện thoại lớn */
        height: 100px;

    }
    .banner-main img {
        object-fit: contain;
        object-position: top;
    }
    .container-custom img{
        width: 100px;
    }
    #navbarNav{
        background-color: var(--primary-color);
        width: 100%;
        z-index: 999;
        font-weight: 500;
        font-size: 50px
    }
    .nav-item{
        color: #000;
    }
    .small{

        height: 35px;
    }

 .service{
    width: 410px;
    max-width: 768px;
    object-position: center;

}
.service img{
    width: 100%;
    object-fit: cover;

}

}
@media (max-width: 430px) {

 .service{
    width: 350px;
    max-width: 768px;
    object-position: center;

}
.service img{
    width: 100%;
    object-fit: cover;

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



}
.post-content img,
.image-small img{
    max-width: 100% !important;
    height: auto !important;
}
.post-content,
.image-small{
    overflow-wrap: break-word;
}
.mb-4{
    margin-right: -5px;
}
.setup-image-list-menu img{
    padding-top: 7px;
    object-fit: fill !important;
    width: 100%;
    height: 500px;
}
.media{
    text-align: center;
}
@media (max-width: 768px) {
    .image-small img{
        width: 85vw !important;
    }
    .navbar-brand img{
        height: 30px !important;
        padding-top: 0px;
        object-fit: fill;

    }
    .navbar-brand{
        padding-top:0px !important;
    }
    .navbar-toggler{
        height: 33px;
        width: 35px;
    }
    .navbar-toggler-icon {
        display: inline-block;
        width: 0.5em;
        height: 1em;}
    .title-post-event{
        width: 367px;
        text-align: center;
        margin-left: 0px;
    }
    .list-menu .mySwiper{
        display: none;
    }
    .list-menu{
        margin-top: 5px !important;
    }
    .list-menu .container-custom{
        width: 100%;
    }
    .list-menu.container-custom img {
        width: 70px;
        height: 36px;
    }




    .justify-content-start{
        justify-content: flex-start;
    }
    .news-container,.service,.section-title1,.floating-buttons,.floating-buttons,.detail-post{
        width: 90vw;
    }
    .listpostsmall{
        width: 90vw;
    }
    .service-item a{
        margin-bottom: 10px;
    }
    .floating-buttons{
        right: 113vw !important;
    }
    .scroll-top{
        right:725px !important
    }
    .container-custom{
        width: 95vw;
    }
    .footer-layout{
        width: 100vw;
    }
    .small{
        width: 35px !important;
    }
    .media{
        text-align:left;
    }
    .counter-box-bodem{
        margin-left: 0px !important;
    }
    .post_image img{
        width: auto;
    }
    #search-input{
        width: 70vw !important;
        height: 30px !important;
        font-size: 15px;
    }
    #search-button {
        position:none !important;
        /* margin: 0px; */
        top: -30px !important;
        /* left: 30px !important; */
    }
    .search-button{
        display: none;
    }



}
@media (min-width: 768px) and (max-width: 1024px) {
    .search-button{
        display: none;
    }
    .listpostsmall{
        width: auto;
    }
    .navbar{
        height: 65px;
        
    }
    .navbar-brand img{
        height: 30px !important;
        padding-top: 0px;
        object-fit: fill;

    }
    .navbar-brand{
        padding-top:0px !important;
    }
    .navbar-toggler{
        height: 33px;
        width: 35px;
    }
    .navbar-toggler-icon {
        display: inline-block;
        width: 0.5em;
        height: 1em;
    }
    .navbar .dropdown-menu{
        background-color: var(--primary-color);
        box-shadow: none;
        color: white;
    }
    #navbarNav{
            background-color: var(--primary-color);
            width: 100%;
            z-index: 999;
            font-weight: 500;
            font-size: 50px
        }
        #swiper2{
            display: none;
        }
        #swiper1 img,#swiper1{
            object-fit: fill !important;
            height: 200px;
        }

        
}

