#page{}
.fixed_height{ }

.section-header{
    padding-bottom: 30px;
}
.section-header h2 {
    font-size: 38px;
    font-weight: 600;
    color: #e78c3d;
    text-transform: uppercase;
}
.section-header p {
    margin: 0;
}
.title-page{
    color: #007cc2;
    font-size: 42px;
    font-weight: 500;
}
.text-main{ color: #29455b;}
.btn-themes{
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 34px;
    background: #fdc411;
    border-radius: 45px;
    width: fit-content;
    color: #EBEDEA;
    font-style: normal;
    line-height: normal;
    text-transform: uppercase;
}
.btn-themes a{
    color: #fff;
}

/* Header Section */
 .header-section {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

 .section-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -1px; /* Overlap the bottom border */
    border-bottom: 3px solid var(--yellow-color); /* Blue underline */
}
/*--------------------------------------------------------------
. Top Bar
--------------------------------------------------------------*/
.top-bar {
    background-color: #f1f1f1;
    font-size: 14px;
    color: #555;
}

.divider {
    width: 1px;
    height: 16px;
    background-color: #ccc;
    margin: 0 15px;
}

.top-btn {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-bottom: none;
    color: #666;
    padding: 8px 18px;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.03);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    margin-left: 6px;
    white-space: nowrap; /* Tránh chữ bị rớt dòng khi co nhỏ màn hình */
}

.top-btn:hover {
    background-color: #f8f9fa;
    color: #333;
}

.cart-btn {
    padding: 8px 20px;
}

/* --- CSS Tùy chỉnh cho Mobile (Dưới 576px) --- */
@media (max-width: 575.98px) {
    .top-bar {
        font-size: 13px; /* Thu nhỏ chữ một chút */
    }
    .top-btn {
        padding: 6px 12px; /* Thu hẹp nút bấm */
        font-size: 13px;
    }
    .cart-btn {
        padding: 6px 14px;
    }
}
/*--------------------------------------------------------------
# Logo
--------------------------------------------------------------*/
.btn-search {
    background-color: #407bbd;
    border-color: #407bbd;
}
.btn-search:hover {
    background-color: #33649c;
    border-color: #33649c;
}
.form-select-custom {
    max-width: 80px;
    border-right: 0;
    background-color: #fcfcfc;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #ced4da;
    color: #333;
    font-size: 14px;
}
.input-group .form-control {
    border-left: 1px solid #e9ecef;
    font-size: 14px;
}
.input-group .form-control:focus, .form-select-custom:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* === Tùy chỉnh khối thông tin (Icon & Text) === */
.info-text-top {
    font-size: 13px;
    color: #444;
}
.info-text-bottom {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.icon-lg {
    font-size: 32px;
    color: #2c2c2c;
}

/* === Tùy chỉnh Logo === */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* === Responsive Tweaks (Trên thiết bị nhỏ) === */
@media (max-width: 991px) {
    .info-blocks-container {
        justify-content: center;
        margin-top: 15px;
    }
    /* Căn chỉnh lại khoảng cách khi mở form tìm kiếm trên mobile */
    #searchCollapse.show {
        margin-top: 15px !important;
    }
}

/*--------------------------------------------------------------
# Banner
--------------------------------------------------------------*/
#top-menu{
    position: relative;
}
/* --- Header & Nav --- */
.cat-title {
    background-color: var(--yellow-color);
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Màu nền Header */

.header-right {
    background-color: #005690;
}

/* Tùy chỉnh Menu Nav */
.header-right .nav-link {
    transition: background-color 0.2s;
}

.header-right .nav-link:hover,
.header-right .nav-link.active {
    background-color: #005690;
}

/* Giao diện Desktop (Màn hình lớn hơn 768px) */
@media (min-width: 768px) {
    .header-right .navbar-nav .nav-link {
        height: 100%;
        display: flex;
        align-items: center; /* Căn giữa chữ theo chiều dọc */
    }
}

/* Giao diện Mobile (Màn hình nhỏ hơn 768px) */
@media (max-width: 767px) {
    .navbar-toggler {
        position: absolute;
        top: -54px;
        right: 0;
    }
    .header-right .navbar-nav .nav-link {
        padding: 12px 20px !important; /* Thêm padding dọc để dễ bấm trên điện thoại */
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Đường line mờ ngăn cách các menu */
    }
}

/* --- Sidebar Menu --- */
.sidebar {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-top: none;
}
.cat-menu{
    z-index: 9999;

    /* Tùy chọn: Thêm bóng đổ để nhìn menu có chiều sâu, tách biệt với nền */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}
.cat-menu, .submenu {
    list-style: none;
    padding: 0; margin: 0;
}

.cat-menu li {position: relative; border-bottom: 1px solid #f0f0f0;}

.cat-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.cat-menu li a i.menu-icon { width: 25px; margin-right: 10px; text-align: center;}

#toggle-menu{
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.menu-hidden {
    display: none !important;
}

/* Icon mũi tên xổ xuống */
.toggle-icon {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.toggle-icon.rotate {
    transform: rotate(180deg);
}

.cat-menu > li > a:hover {
    background-color: #005690;
    color: white;
}

/* --- Menu cấp 2 (Submenu) --- */
.submenu {
    display: none; /* Ẩn mặc định */
    background-color: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.submenu li {
    border-bottom: none;
}

.submenu li a {
    padding: 10px 20px 10px 55px; /* Thụt lề vào trong */
    font-size: 13.5px;
    color: #555;
    border-left: 3px solid transparent;
}

.submenu li a:hover {
    background-color: #f1f6fa;
    color: #005690;
    border-left: 3px solid #005690;
}

/* --- Carousel Slide Custom --- */
.main-content {
    background-color: white;
    padding: 10px; /* Tạo khoảng trắng nhẹ quanh slide như hình mẫu */
    border-bottom: 1px solid #e0e0e0;
}

#industrialCarousel {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-inner img {
    width: 100%;
    height: 450px; /* Bạn có thể điều chỉnh chiều cao này */
    object-fit: contain; /* Giữ nguyên tỷ lệ máy móc không bị méo */
    background-color: #fff;
}

/* Tùy chỉnh nút Next/Prev của Bootstrap */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 20px;
}

/* --- Right Sidebar --- */
.right-sidebar {
    background-color: white;
    padding: 10px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.right-item { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 991px) {
    .sidebar-wrapper { display: none; }
    .carousel-inner img { height: 300px; }
}
/*--------------------------------------------------------------
# hot_products
--------------------------------------------------------------*/

#hot-products{

}

/* Custom Tabs */
#hot-products .custom-tabs .nav-link {
    color: #666;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 10px 20px;
    border: none;
    border-top: 3px solid transparent;
    text-transform: uppercase;
}

#hot-products .custom-tabs .nav-link.active {
    color: #333;
    border-top: 3px solid var(--yellow-color) ;
    background-color: transparent;
}

#hot-products .custom-tabs .nav-link:hover {
    color: var(--blue-color) ;
}

/* Product Card */

#hot-products .swiper-slide {
    padding: 0 10px;
}
.product-card {
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-color: #ddd;
}

/* Product Image & Badge */
.product-card .img-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
    flex-grow: 1; /* Pushes content down evenly */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .img-wrapper img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}

.product-card .discount-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    background-color: var(--blue-color);
    color: white;
    border-radius: 50%;
    z-index: 2;
}

/* Product Info */
.product-card .category-name {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-card .product-name {
    font-size: 0.9rem;
    color: #2c5e8c;
    font-weight: 500;
    margin-bottom: 15px;
    min-height: 40px; /* Keeps layout even if names vary in length */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pricing */
.product-card .price-wrap {
    margin-bottom: 15px;
}

.product-card .old-price {
    color: #999;
    font-size: 0.85rem;
    text-decoration: line-through;
    margin-right: 10px;
}

.product-card .new-price {
    color: #000;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Add to Cart Button */
.product-card .btn-add-cart {
    border: 1px solid var(--blue-color);
    color: var(--blue-color);
    font-weight: bold;
    font-size: 0.8rem;
    padding: 8px 15px;
    border-radius: 0; /* Square corners */
    width: 60%;
    margin: 0 auto;
    text-transform: uppercase;
    transition: all 0.2s;
}

.product-card .btn-add-cart:hover {
    background-color: var(--blue-color);
    color: #fff;
}
/*--------------------------------------------------------------
# Contact Line Section
--------------------------------------------------------------*/

#contact-line{
    padding: 60px 0;
}
#contact-line .warp{

}
#contact-line a{
    color: #222;
}
#contact-line button{
    border: none;
    font-size: 14px;
    margin: 10px 0px;
    color: #fff;
    border-radius: 5px;
    padding: 10px;
}
#contact-line .title  {
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 62px;
}

#contact-line .desc  {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 130% */
}

#contact-line .btnbooking{
    display: inline-block;
    padding: 12px 26px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient(270deg, #000 -7.73%, #636261 49.84%, #000 109.67%);
    border-radius: 27px;
}

@media screen and (max-width: 768px) {
    #contact-line .warp{
        width: 100%;
    }
    #contact-line .title  {
        font-size: 28px;
        line-height: 42px;
    }
}

/*--------------------------------------------------------------
# Cate Products Home Section
--------------------------------------------------------------*/
#cate-pro-home{
}
#cate-pro-home .swiper-slide {
    padding: 0 10px;
}

/*--------------------------------------------------------------
# Customer Says Section
--------------------------------------------------------------*/

.customer-say{
    background: #ccc;
    padding-top: 100px;
    padding-bottom: 120px;
}

.customer-say .section-header h2 {
    color: #fff;
    font-size: 70px;
    font-weight: 400;
}

.customer-say .info {
    width: 60%;
    margin: 0 auto;
    text-align: center;
}
.customer-say .info h2{
    text-align: center;
    font-size: 38px;
    font-weight: 600;
    line-height: 53px;
    text-transform: uppercase;
    color: #007cc2;
}
.customer-say .info .star img{
    margin: 0 6px;
}

.customer-say .swiper-button-next::after,.customer-say .swiper-button-prev::after {
    content: '';
}

.customer-say .swiper-button-next,.customer-say .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: 22px;
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #474747;
    border-radius: 50%;
    border: 1px solid #474747;
    background: #fff;
    width: 60px;
    height: 60px;
}

.customer-say .swiper-button-next, .customer-say .swiper-button-prev i{
    font-size: 20px;
}

.customer-say .swiper-button-next {
    right: 10px;
    left: auto;
}

.customer-say .swiper-button-prev-01{
    left: 10px;
    right: auto;
}

@media screen and (max-width: 768px) {
    .customer-say .info {
        width: 90%;
        margin: 0 auto;
    }
    .customer-say .section-header h2 {
        font-size: 20px;
        line-height: 40px;
    }
    #customer-panel{
        position: relative;
    }
    #customer-panel .swiper-button-next, .customer-say .swiper-button-prev{
        width: 30px;
        height: 30px;
    }
    #customer-panel .swiper-button-next i, .customer-say .swiper-button-prev i{
        font-size: 15px;
    }
    #customer-panel .swiper-button-next{
        right: -10px;
    }
    #customer-panel .swiper-button-prev{
        left: -10px;
    }
}

/*--------------------------------------------------------------
# Partner Section
--------------------------------------------------------------*/

.partner{
    padding: 20px 0;
}

.partner .partner-item {
    padding: 10px;
    margin:  0 10px;
    height: 120px;
    background: #fff;
}

.partner .partner-item .img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .partner .swiper-slide-active+.swiper-slide {
        z-index: 1;
    }
}

@media (max-width: 575px) {
    .partner .partner-item {
        padding: 0;
        margin:  0;
        height: 100px;
        overflow: hidden;
    }

    .partner .section-header {
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .partner .partner-item .info {
        display: block;
    }

}
.partner .swiper-pagination {
    margin-top: 20px;
    position: relative;
}
.partner .swiper-pagination .swiper-pagination-bullet {
    width: 20px;
    height: 4px;
    background-color: #d1d1d7;
    opacity: 1;
    border-radius: 10px;
}
.partner .swiper-pagination .swiper-pagination-bullet-active {
    background-color: yellow;
}

/*--------------------------------------------------------------
# About us Section
--------------------------------------------------------------*/

#about-us{ position: relative; padding: 80px 0; background: #EBEDEA;}
#about-us .warp{ width: 90%; margin: 0 auto;}
#about-us img{
    border-radius: 20px;
}
#about-us h2.title{
    color: #007cc2;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    text-transform: uppercase;
}
#about-us .desc{
    margin-top: 20px;
    text-align: justify;
    font-size: 16px;
    line-height: 26px;
}

@media screen and (max-width: 768px) {
    #about-us{ padding-top: 0!important;  padding-bottom: 0!important; }
    #about-us .btn-themes{ margin: 0 auto;}
    #pnmenu{ position:relative;}
    #about-us h2.title{
        font-size: 22px;
        margin-top: 20px;
        text-align: center;
        line-height: 30px;
    }
}

#counter{ background: #F3F4F6; color: #202226; height: 520px; margin-bottom: 120px;}
#img-counter{
    margin-top: 80px;
}

@media screen and (max-width: 768px) {
    #counter{ height: auto; padding-bottom: 30px; margin-bottom: 5px;}
    #img-counter{
        margin-top: 10px;
    }
}

/*--------------------------------------------------------------
# About us Page
--------------------------------------------------------------*/

#panel-aboutus{
    background: #EBEDEA;
    padding-top: 60px;
    padding-bottom: 60px;
}

#panel-aboutus .content{
    margin-left: 30px;
    color: #fdc411;
    text-align: justify;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
}

#panel-aboutus .content h3{
    color: #fdc411;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 75px; /* 156.25% */
    text-transform: uppercase;
}
#panel-aboutus .content h4{
    color: #fdc411;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px; /* 183.333% */
    letter-spacing: -0.25px;
    text-transform: uppercase;
}

#panel-aboutus .content ul{
    margin: 0;
    padding: 0;
}
#panel-aboutus .content ul li:before {
    content: "+";
    margin-right: 6px;
    font-weight: 600;
}

#panel-sub-aboutus{
    background: #eee;
    padding-top: 60px;
    padding-bottom: 60px;
}
#panel-sub-aboutus h2{
    color: #fdc411;
    font-size: 32px;
    font-weight: 600;
    line-height:42px; /* 156.25% */
    text-transform: uppercase;
    text-align: center;
}
#panel-sub-aboutus .content{
    margin-right: 60px;
    text-align: justify;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
}

@media screen and (max-width: 768px) {
    #panel-aboutus{ padding-top:30px;}
    #panel-sub-aboutus{ margin-top: 30px;}
    #panel-sub-aboutus .title-page{ text-align: center;}
    #panel-aboutus .content{
        margin-left: 0px;

    }
    #panel-aboutus .content h3{
        font-size: 32px;
        line-height: 42px;
    }
    #panel-aboutus .content h4{
        font-size: 22px;
        line-height: 36px; /* 183.333% */
    }
    #panel-sub-aboutus h2{
        font-size: 28px;
        line-height: 32px;
    }
    #panel-sub-aboutus .content{
        margin-right: 0px;
    }
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/

#panel-project-main .title{
    font-size: 22px;
    color: #e78c3d;
    font-weight: 600;
}

#projects{
    position: relative; padding: 80px 0;
    background: #f7f7f7;
    color: #333333;
}
#projects_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Khoảng cách giữa các cột */
}
#projects_list .img {
    width: 100%;
    aspect-ratio: 1 / 0.6;
    /* height: 250px; <-- Nếu không dùng aspect-ratio, bạn có thể gán chiều cao cố định */
    overflow: hidden;
    border-radius: 8px;
}

#projects_list .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block; /* Xóa khoảng trống thừa (whitespace) dưới đáy thẻ img */
}

#projects_list .projects_item{
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    gap: 12px;
    margin-bottom: 15px;
}

#projects_list .projects_item .title{
    margin-top: 20px;
    text-align: center;
    color: #007cc2;
    font-size: 16px;
    line-height: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

#projects_list .projects_item .description{
    color: #222;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    overflow: hidden;
    line-height: 26px; /* 125% */
}
#projects_list .projects_item .more{
    margin-top: 20px;
    color: #fdc411;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}
@media screen and (max-width: 768px) {
    #projects{ margin-top: 10px;}
    .projects_item{ margin-top: 30px;}
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
#list-services{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Khoảng cách giữa các cột */
}
.service-card {
    background: #fff;
    padding: 20px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    gap: 8px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #fd7e14;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.service-card .img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.service-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-card h4{
    font-size: 18px;
    line-height: 26px;
    font-family: "SVNGilroyBold";
    font-weight: 500;
    text-transform: uppercase;
    color: #007cc2;
}
.service-card p{
    text-align: justify;
    margin-top: 0;
}
/*--------------------------------------------------------------
# Services Page
--------------------------------------------------------------*/

#services_page{

}

#services_page .services_row .services_box{
    border-radius: 13px;
    background: #DCE3DA;
    padding: 40px;
}

#services_page .services_row .imgbox{
    height: 360px;
    background: #fff;
    border-radius: 20px;
}
#services_page .services_row .imgbox img{
    width: 100%;
}

#services_page .services_row .info{
    margin-top: 20px;
}
#services_page .services_row .title{
    color: #fdc411;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 75px; /* 234.375% */
    text-transform: uppercase;
}
#services_page .services_row .des{
    color: #fdc411;
    text-align: justify;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
}

@media screen and (max-width: 768px) {
    #services_page .services_row .services_box{
        padding:15px;
    }
    #services_page .services_row .imgbox{
        height: 260px;
    }
    #services_page .services_row .title{
        font-size: 28px;
        line-height: 38px;
    }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats-section {
    background-color: #007cc2;
    color: white;
    padding: 60px 0;
}

.stat-item h3 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/*--------------------------------------------------------------
# News Page
--------------------------------------------------------------*/

#news-page{}
#news-page .news-box .title{
    color: #fdc411;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 75px; /* 208.333% */
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
#news-page .news-box .title i{
    font-size: 16px;
    margin-right: 12px;
}
#news-page .news-box .accordion-item{
    margin-bottom: 15px;
    border-radius: 15px;
}
#news-page .news-box .accordion-header{

}
#news-page .news-box .accordion-header .accordion-button{
    border-radius: 15px;
    background: #DCE3DA;
    color: #fdc411;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
}



.carousel-panel{ position: relative;}
.carousel-panel .owl-nav button.owl-prev{  position: absolute;  top: 10px;  left: -30px; z-index: 9999; border: none;}
.carousel-panel .owl-nav button.owl-prev span{ font-size: 80px;}

.carousel-panel .owl-nav button.owl-next{ position: absolute; top: 10px; right: -30px; z-index: 9999; border: none;}
.carousel-panel .owl-nav button.owl-next span{ font-size: 80px;}

@media screen and (max-width: 768px) {
    .carousel-panel .owl-nav button.owl-prev{  left: 0px;}
    .carousel-panel .owl-nav button.owl-next{ right: 0px;}
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact{
    background: url(../images/contact-bg.jpg);
    background-position: center top;
    background-size: 100% auto;
    color: #d4d4d4;
    padding: 80px 0;
}
#contact .warp{ width: 60%; margin: 0 auto;}

#contact .section-header h2{
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 53px; /* 110.417% */
    text-transform: none;
    color: #E8E8E8;
}

#contact #btnContact{
    border-radius: 60px;
    background: var(--vang, linear-gradient(270deg, #000 -7.73%, #302f2f 49.84%, #000 109.67%));
    border: none;
    padding: 10px 60px;
    color: #fff;
}

#panel-contact .contact-item i{ font-size: 35px; margin-right: 12px; color: #b48b24;}

#panel-contact #btnContact{
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    padding: 6px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #29455b;
    border: none;
    text-transform: uppercase;
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    #contact{ padding-top: 10px; height: auto;
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: center top;
    }
    #contact .section-header h2{
        font-size: 28px;
        line-height: 42px;
    }
    #contact .warp{ width: 96%;}
    #frmContact{ padding-bottom: 20px;}
    #contact .title-page{ margin-top: 20px;}
}

/*--------------------------------------------------------------
# Contact Info Section
--------------------------------------------------------------*/
#contact-info{
    padding: 60px 0;
    background: #EBEDEA;
    color: #000;
}
#contact-info a{
    color: #000;
}
#contact-info h3{
    font-size: 22px;
    color: #e78c3d;
}
#contact-info ul{
    margin: 0;
    padding: 0;
}

#news{
    padding: 60px 0;
}
.news .item_news{ margin-bottom: 20px;}

.news .img img{border-radius: 8px 8px 0px 0px;
}
.news .date{ margin-top: 12px;}
.news .title{ margin-top: 12px;     line-height: 20px;}
.news .title a{
    font-weight: 700;
    font-size: 16px;

    color: #007cc2;
}

.news .desc{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/*--------------------------------------------------------------
# Counter
--------------------------------------------------------------*/
.counter-section {
    background-color: #f8f9fa; /* Nền xám nhạt */
    padding: 20px 0;
}

.counter-box {
    padding: 30px 15px;
    border-radius: 8px;
    background-color: #ffffff; /* Nền trắng */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Đổ bóng nhẹ */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.counter-icon {
    font-size: 45px;
    color: var(--yellow-color); /* Xanh dượng đặc trưng của Bootstrap */
    margin-bottom: 20px;
}

.counter-number {
    font-size: 40px;
    font-weight: 700;
    color: #212529; /* Màu chữ đen xám đậm */
    margin-bottom: 5px;
    line-height: 1.2;
}

.counter-text {
    font-size: 16px;
    color: #6c757d; /* Màu chữ xám nhạt */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/*--------------------------------------------------------------
. Home News
--------------------------------------------------------------*/
.article-card {
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin: 0 12px;
}

.article-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.article-img {
    width: 100%;
    height: 220px; /* Chiều cao cố định cho ảnh để đồng đều */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 500;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 12px;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
    /* Cắt text nếu quá 2 dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.article-desc {
    font-size: 15px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 0;
    /* Cắt text nếu quá 2 dòng */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-card:hover .article-title {
    color: #007bff; /* Đổi màu tiêu đề khi hover */
}

/*--------------------------------------------------------------
# Why us
--------------------------------------------------------------*/
#why-us {
    padding: 60px 0;
    background-color: #ffffff;
}

/* --- HIỆU ỨNG XUẤT HIỆN TUẦN TỰ (Thay thế jQuery fade in) --- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#why-us .feature-box {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;

    /* Cài đặt animation mặc định */
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Đặt độ trễ (delay) cho từng cột để xuất hiện lần lượt */
#why-us .col-12:nth-child(1) .feature-box { animation-delay: 0s; }
#why-us .col-12:nth-child(2) .feature-box { animation-delay: 0.15s; }
#why-us  .col-12:nth-child(3) .feature-box { animation-delay: 0.30s; }
#why-us  .col-12:nth-child(4) .feature-box { animation-delay: 0.45s; }

/* Hiệu ứng Hover */
#why-us .feature-box:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    border-color: #0d6efd;
}

#why-us .feature-icon {
    font-size: 3.5rem;
    color: #0d6efd;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

#why-us .feature-box:hover .feature-icon {
    transform: scale(1.15);
    color: #0b5ed7;
}

/* --- HIỆU ỨNG LẮC KHI CLICK (Thay thế jQuery animate marginLeft) --- */
@keyframes shakeIcon {
    0% { transform: scale(1.15) translateX(0); }
    25% { transform: scale(1.15) translateX(-8px); }
    50% { transform: scale(1.15) translateX(8px); }
    75% { transform: scale(1.15) translateX(-8px); }
    100% { transform: scale(1.15) translateX(0); }
}

/* Dùng pseudo-class :active để nhận diện khi người dùng click chuột xuống */
#why-us .feature-box:active .feature-icon img {
    animation: shakeIcon 0.3s ease-in-out;
}

#why-us .feature-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333333;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

#why-us .feature-desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

/*--------------------------------------------------------------
# Video Section
--------------------------------------------------------------*/
#video-list .video_box{
    margin-bottom: 15px;
}
#video-list .thumbnail {
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
    margin-bottom: 15px;
}

#video-list .thumbnail:hover {
    transform: translateY(-5px);
}

#video-list .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#video-list .play-icon::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer #copyright{
    text-align: center;
    background: #173e60;
    color: #fff;
    padding: 10px 0;
}

/* Định dạng nền footer */
.site-footer {
    background-color: #2b2d42; /* Màu nền xanh đen bám sát ảnh gốc */
    color: #ffffff;
    padding: 60px 0 30px 0;
    font-size: 15px;
}
.site-footer a{
    color: #ffffff;
}

/* Định dạng Tiêu đề các cột */
.footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Định dạng danh sách liên hệ (có icon) */
#footer .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: #d1d2d8;
    line-height: 1.5;
}

/* Định dạng vòng tròn bọc quanh icon liên hệ */
#footer .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #7a7c8d;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: -2px;
}

#footer .icon-wrapper i {
    font-size: 12px;
    color: #a4a5b4;
}

/* Định dạng danh sách link thông thường */
#footer .link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .link-list li {
    margin-bottom: 15px;
}

#footer .link-list a {
    color: #d1d2d8;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

#footer .link-list a:hover {
    color: #ffffff;
}

/* Định dạng ảnh Chứng nhận & Giao hàng */
#footer .cert-img {
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    padding: 2px;
}

#footer .delivery-img {
    height: 35px;
    object-fit: contain;
    border-radius: 4px;
    padding: 4px;
}

/* Định dạng icon Mạng xã hội */
#footer .social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

#footer .social-icons a {
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/*--------------------------------------------------------------
# Fixed bottom
--------------------------------------------------------------*/

/* Container chứa các nút */
#fixed-bottom {
    position: fixed;
    left: 20px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Khoảng cách giữa các nút */
}

/* Kiểu dáng chung cho các nút */
#fixed-bottom .support-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    background-clip: padding-box;
}

#fixed-bottom .support-btn:hover {
    color: #ffffff;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Nút Email */
#fixed-bottom .btn-email {
    background-color: #55b2fc;
    border: 4px solid #bde0ff; /* Tạo viền ngoài nhạt màu giống hình */
}

/* Nút Zalo */
#fixed-bottom .btn-zalo {
    background-color: #0088FF;
    border: 4px solid #a3d1ff;
}

#fixed-bottom .btn-zalo .zalo-text {
    font-size: 16px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    letter-spacing: 0.5px;
}

/* Nút Gọi Điện (Màu Đỏ) */
#fixed-bottom .btn-phone {
    background-color: #f22c2c;
    border: 4px solid #ffbaba;
}

/* Hiệu ứng sóng lan tỏa (Pulse) xung quanh nút gọi */
#fixed-bottom .has-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #f22c2c;
    z-index: -1;
    top: 0;
    left: 0;
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Chế độ Responsive cho Mobile */
@media (max-width: 768px) {
    #fixed-bottom {
        left: 10px;
        bottom: 20px;
        gap: 12px;
    }
    #fixed-bottom .support-btn {
        width: 55px;
        height: 55px;
        font-size: 20px;
        border-width: 3px;
    }
    #fixed-bottom .btn-zalo .zalo-text {
        font-size: 14px;
    }
}