@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

:root
{
    --mauchinh:#b1111b;
    --mauphu:#fdc415;
}
body
{
    font-family: Montserrat,Mulish,sans-serif;
    font-size: 14px;
/*    padding: 0;*/
    margin: 0;
}

ul
{
    padding: 0;
    list-style: none;
}

.noidung_chitiet_dv ul,.khungchitiet_news ul {
    list-style: revert;
    padding: revert;
}
a
{
    text-decoration: none;
}

.top_hder {
    background-color: var(--mauchinh);
    padding: 5px 0;
    color: #fff;
}

.tt_hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total_phaihd {
    display: flex;
    align-items: center;
}

.hotline_hd a {
    color: #fff;
    font-weight: 600;
}

.mxh_hd img {
    width: 25px;
}

.mxh_hd ul {
    margin: 0;
    padding-left: 15px;
}

.mxh_hd li {
    display: inline-block;
}
.khungtraitop_hd {
    font-weight: 600;
}
.total_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo_main img {
    height: 65px;
}
.main-menu {
    margin-bottom: 0;
}

.main-menu li {
    display: inline-block;
}

.ngonngu_nav li {
    display: inline-block;
}

.main-menu li {
    padding: 7px 15px;
}

.main-menu li a {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #28282b;
}

.ngonngu_nav ul {
    margin-bottom: 0;
}
.ngonngu_nav li img {
    height: 20px;
    width: 100%;
}

.khung_menuduoi {
    padding: 5px 0;
}

ul.main-menu li:hover>a {
    color: var(--mauchinh);
}
li.has-dropdown {
    position: relative;
}
ul.submenu {
    opacity: 0;
    height: 0;
    visibility: hidden;
    position: absolute;
    min-width: 210px;
    border: 0 ;
    top: 100%;
    border-radius: 5px;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, .15);
    background: #fff;
}

ul.submenu li {
    display: block;
    border-bottom: 1px solid #ececec;
    margin: 0 10px;
    line-height: 1.3;
    padding: 10px 0;
    width: auto;
}

li.has-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    height: auto;
}
ul.submenu a {
    font-size: 14px;
}

.khung_menuduoi
{
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 1px 2px 0px #e8e8e8;
}

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

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

.khungtrai_gthieu {width:50%;}

.khungphai_gthieu {
    width: 50%;
}

.khung_gioithieutong {
    padding: 60px 0;
}

.tieude_T
{
    position: relative;
    margin: 0;
    -webkit-text-stroke: 1px var(--mauphu);
    color: transparent;
    line-height: 1;
    font-size: 60px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Mulish';
}

.noidung_gthieu {
    padding-left: 50px;
    padding-top: 5px;
    padding-right: calc((100vw - 1366px) / 2 + 20px);
}
.khung_ndgts h2 {font-weight: 700;font-family: Raleway;padding: 15px 0;}

.mota_ndgts p {
    line-height: 1.7em;
}

.btn_gthieuss {
    display: inline-block;
    background: var(--mauphu);
    padding: 10px 30px;
}

.btn_gthieuss a {
    color: #fff;
    font-weight: 600;
}

.nut_gthieu {
    padding-top: 10px;
}
.btn_gthieuss:hover {
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
    color: #fff;
    opacity: 1;
    outline: none;
}
.tieude_bannersp h4 {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2em;
    margin-bottom: 1em;
}




.total_catsanpham {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 10px;
}

.item_catsanpham {}

.kc_cat {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.overlay_cat
{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #003A7D 100%);
    z-index: 1;
    height: 100%;
    left: -1px;
    pointer-events: none;
    right: -1px;
    top: 0;
    transition: transform .3s, opacity .6s;
    bottom: 0;
    position: absolute;
}

.box_img_cat {
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.img_cover_cat img {
    bottom: 0;
    font-family: "object-fit: cover;";
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.img_cover_cat {
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    overflow: hidden;
    padding-top: 85%;
    position: relative;
}

.kc_cat .box-text
{
    bottom: 0;
    max-height: 100%;
    padding-left: 1.5em;
    padding-right: 1.5em;
    position: absolute;
    width: 100%;
    z-index: 2;
    padding-bottom: 32px;
    text-align: center;
}

.kc_cat .cat-title
{
    color: #fff;
    text-align: center;
    text-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.10);
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 10px;
    margin-top: 0;
}

.kc_cat .button {
    margin: 0;
    border-radius: 0px;
    background: var(--g, linear-gradient(270deg, #303785 0%, #ffffff 100%));
    display: inline-flex;
    width: 135px;
    height: 42px;
    padding: 5px;
    justify-content: center;
    align-items: center;
    border: 0;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}
.kc_cat i
{
        margin-left: 8px;
}
/*.khung_ndgts {padding-left: 3em;}   */

.khung_tongsanpham {
    background: #f8f8f8;
    padding: 3em 0;
}

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

.khung_trainew {
    width: 65%;
}

.khung_phaicc {
    width: 33%;
}

.item_newsindex img {
    max-width: 100%;
}

.khungcc_items img {
    max-width: 100%;
}   


.khungtong_new_cc {
    padding: 3em 0;
}
.tieude_chungnewcc h3 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2em;
    margin-bottom: 1em;
}

.item_newsindex {
    box-shadow: 0 0px 10px 1px #e8e8e8;
    margin: 4px;
    padding: 1em;
}
.item_newsindex h4 {
    margin-top: 15px;
    font-size: 19px;
    line-height: 150%;
    margin-bottom: 0;
}
.item_newsindex h4{
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    height: 60px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.khungcc_items {
    box-shadow: 0 0px 10px 1px #e8e8e8;
    margin: 4px;
    padding: 1em;
}

.name_cc {
    margin-top: 15px;
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    color: #303785;
}

#total_trainew .owl-prev {
    position: absolute;
    top: 35%;
    left: 0;
}

#total_trainew .owl-prev i {
    font-size: 30px;
    padding: 5px;
}


#total_trainew .owl-next {
    position: absolute;
    top: 35%;
    right: 0;
}

#total_trainew .owl-next i {
    font-size: 30px;
    padding: 5px;
}

#total_trainew .owl-nav {
    opacity: 0;
    visibility: hidden;
    height: 0;
}

#total_trainew:hover .owl-nav{
    opacity:1;
    visibility: visible;
    height: auto;
}

#total_trainew .owl-dot.active span,#total_trainew .owl-dot:hover span

{
    background: #303785;
}

.total_ccphai {
    margin-top: 2.3em;
}

#total_trainew .owl-nav [class*=owl-]:hover
{
    background: #303785;
    color: #fff;
}
.item_newsindex:hover h4 {
    color: #303785;
}

.footer {
    background: var(--mauchinh);
    padding: 2em 0;
}

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


.thongtin_ndft {
    color: #fff;
}

.name_congty h3 {
    font-weight: 600;
    font-size: 21px;
    margin-bottom: 10px;
}

.thongtin_ndft {
    width: 42%;
}

.footer_menu
{
    width: 15%;
}

.maps_fter
{
    width: 30%;
}


.maps_fter iframe {
    max-width: 100%;
    height: 190px;
}
.td_ft {
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 21px;
    margin-bottom: 10px;
}
.footer_menu li {
    margin-bottom: 10px;
}

.footer_menu li a {
    color: #fff;
}
.copyright {
    text-align: center;
    padding: 10px 0;
    background: #eaeaea;
    font-weight: 500;
    font-size: 13px;
    font-style: italic;
}

.item_newsindex:hover {
    box-shadow: 0 0 10px 1px #0a58ca;
}

.item_catsanpham img
{
    transition: all 0.5s;
}

.item_catsanpham .img_cover_cat
{
    transition: all 0.5s;
}

.item_catsanpham:hover img {
    transform: scale(1.1);
    transition: all 0.5s;
}



.parallax-banner {
  position: relative;
  height: 210px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.parallax-background {
   /* Đổi đúng path nếu cần */
/*   background-color: rgba(0, 35, 82, 0.85);*/
   background-color:rgb(120 5 15 / 74%);
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: -1;
  will-change: transform;
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-title {
   font-size: 1.8rem;
   font-weight: 700;
   margin-bottom: 10px;
   text-transform: uppercase;
}

.breadcrumbs a {
  color: white;
  text-decoration: none;
}

.breadcrumbs span {
  color: #a2c3f0;
}

.breadcrumbs {
    margin-bottom: 0;
    font-size: .9rem;
}

.khungchung_main {
    padding: 3em 0;
}


.product_main {

}

.sectgl-img img {
    max-width: 100%;
    transition: all 0.5s;
}
.sectgl {
    box-shadow: 0 0 5px 1px #eaeaea;
    padding: 15px;
}
p.sectgl-img {
    overflow: hidden;
    transition: all 0.5s;
}
.sectgl:hover img {
    transform: scale(1.1);
    transition: all 0.5s;
}
.sectgl h3 span {
    font-size: 17px;
    color: #000;
}
.sectgl h3 {
    line-height: 1.4rem;
    min-height: 50px;
}
.btn_product_chitiet {
    font-size: 13px;
    font-weight: 500;
    background: #303785;
    border-color: #303785;
    color: #fff;
    outline: none;
    transition: all .3s;
}
.btn_product_chitiet:hover {
    background: transparent;
    color: #303785;
    border-color: #303785;
    outline: none;
    transition: all .3s;

}
.sectgl:hover h3 span {
    color: #2c3483;
}

.post-comments h3 {
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    color: #303785;
}

.khung_list_khac li {
    margin-bottom: 5px;
}
.khung_list_khac li a {
    color: #000;
    font-size: 14px;
}
.khung_list_khac li a:hover {
    color: #303785;
}

.contacts_maps_new iframe {
    width: 100%;
    height: 250px;
}

.page_contacts {
    display: flex;
    justify-content: space-around;
}

.khungphai_contact {
    width: 100%;
}

.contacts-form {
    width: 100%;
}

/*form.form-validate input {
    width: 100%;
    margin-bottom: 15px;
    height: 35px;
    padding-left: 15px;
    font-size: 14px;
    border:solid 1px #ccc;
}
form.form-validate input:nth-child(2) {
    width: 100%;
}

form.form-validate input:nth-child(3) {
    width: 100%;

}

textarea.noidung_gui {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
     border:solid 1px #ccc;
}
input.btn_lienhectoi {
    width: 20%!important;
    padding: 0!important;
    text-transform: uppercase;
    font-weight: 600;
     border:solid 1px #ccc;
}*/

.khung_product_chitiet_spham {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.prod-slider-wrap {
    width: 49%;
}

.prod-cont {
    width: 49%;
}

.pro_noidung {
    margin-top: 2em;
}

.khung_prond {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    display: inline-block;
    \: 0px;
    border-bottom: solid 4px #303785;
}
.tieude_lq {
    margin-bottom: 15px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
}
.detail_tin3cap {
    padding: 3em 0;
}

h3.tieude_bvlquan {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
}


.catchuoi2
{
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 20px;
    -webkit-line-clamp: 3;
    height: 55px;
     display: -webkit-box;
    -webkit-box-orient: vertical;
}

.menu_mobile,.logo_main_mobile
{
    display: none;
}
.paging_chung {
    margin-top: 30px;
}

.object-detail-content ul 
{
        padding: revert;
    list-style: initial;
}

/*bosung*/
.adm-title {
    margin-left: 10px;
}
.hd-txt {
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: left;
}
.adm-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0em;
    text-align: left;
}
/* Khung chứa các ô danh mục */
.cs-accordion-container {
    display: flex;
    width: 100%;
    height: 450px; /* Chiều cao tổng thể */
    overflow: hidden;
    background-color: #111;
}

/* Cấu hình từng cột danh mục */
.cs-accordion-item {
    position: relative;
    flex: 1; /* Tất cả các ô chia đều độ rộng mặc định */
    height: 100%;
    text-decoration: none !important;
    overflow: hidden;
    /* Tạo hiệu ứng co giãn mượt mà khi hover */
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Khung ảnh */
.cs-accordion-img {
    width: 100%;
    height: calc(100% - 40px); /* Dành 40px dưới cùng cho thanh tiêu đề */
    overflow: hidden;
}

.cs-accordion-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Thanh tiêu đề màu đen dưới cùng */
.cs-accordion-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background-color: var(--mauchinh);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.cs-accordion-title span {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mũi tên chỉ lên trên thanh tiêu đề */
.cs-accordion-title::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1a1a1a;
    transition: border-bottom-color 0.3s ease;
}

/* =========================================
   HIỆU ỨNG HOVER MỞ RỘNG (KEYWORD MAIN)
========================================= */

/* Khi rê chuột vào ô nào: Ô đó mở rộng ra (Flex = 5 lần ô bình thường) */
.cs-accordion-item:hover {
    flex: 4; /* Thay đổi tỷ lệ từ 1 lên 4 hoặc 5 để rộng hơn nữa */
}

/* Đổi màu tiêu đề & mũi tên khi hover */
.cs-accordion-item:hover .cs-accordion-title {
    background-color: #d90429; /* Màu nổi bật khi hover */
    color: #ffffff;
}

.cs-accordion-item:hover .cs-accordion-title::before {
    border-bottom-color: #d90429;
}

/* Nhẹ nhàng zoom nhẹ ảnh khi hover */
.cs-accordion-item:hover .cs-accordion-img img {
    transform: scale(1.05);
}

/* Tùy chỉnh trên thiết bị di động */
@media (max-width: 768px) {
    .cs-accordion-container {
        overflow-x: auto;
    }
    .cs-accordion-item {
        min-width: 70%;
    }
    .cs-accordion-item:hover {
        flex: 2.5;
    }
}
/* Section & Title Style */
.cs-featured-products {
    background-color: #f8f9fa;
}

.cs-sec-title {
    font-size: 26px;
    font-weight: 600;
    color: #111;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cs-sec-line {
    width: 60px;
    height: 3px;
    background-color: #d90429;
    margin: 0 auto;
    border-radius: 2px;
}

/* Product Card Style */
.cs-product-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover nâng thẻ & đổ bóng */
.cs-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

/* Img Wrap & Zoom Effect */
.cs-product-img {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Tỉ lệ khung hình vuông 1:1 */
    overflow: hidden;
    background-color: #f1f1f1;
}

.cs-product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-product-card:hover .cs-product-img img {
    transform: scale(1.08);
}

/* Badge (Hot / Sale / Mới) */
.cs-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #d90429;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 3;
    text-transform: uppercase;
}

.cs-badge-sale {
    background-color: #2563eb;
}

/* Action Buttons Overlay (Hiện nút bấm khi hover) */
.cs-product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 15px;
    z-index: 3;
    transition: all 0.35s ease;
    opacity: 0;
}

.cs-product-card:hover .cs-product-actions {
    bottom: 0;
    opacity: 1;
}

.cs-action-btn {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}

.cs-action-btn:hover {
    background-color: #d90429;
    color: #ffffff;
    transform: scale(1.1);
}

/* Product Info */
.cs-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.cs-product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Rút gọn tên tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-product-title a {
    color: #222;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.cs-product-card:hover .cs-product-title a {
    color: #d90429;
}

/* Product Price */
.cs-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-price-current {
    font-size: 15px;
    font-weight: 700;
    color: #d90429;
}

.cs-price-old {
    font-size: 13px;
    color: #888;
    text-decoration: line-through;
}

/* Container & Background */
.cs-services-sec {
    background-color: #ffffff;
    position: relative;
}

.cs-sec-desc {
    color: #666;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Card Container */
.cs-service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover Thẻ: Bay nhẹ lên + Đổ bóng màu mềm */
.cs-service-card:hover {
/*    transform: translateY(-8px);*/
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #d90429;
}

/* Image Wrap & Frame */
.cs-service-img {
    position: relative;
    width: 100%;
    padding-top: 80%; /* Tỉ lệ khung ảnh 16:9 xấp xỉ */
    overflow: hidden;
}

.cs-service-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Phóng to ảnh nhẹ */
.cs-service-card:hover .cs-service-img img {
    transform: scale(1.1);
}



/* Service Content */
.cs-service-content {
    padding: 28px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.cs-service-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cs-service-title a {
    color: #111;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.cs-service-card:hover .cs-service-title a {
    color: #d90429;
}

.cs-service-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Call To Action Link */
.cs-service-link {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cs-service-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.cs-service-card:hover .cs-service-link {
    color: #d90429;
}

/* Mũi tên tự trượt nhẹ sang phải khi hover */
.cs-service-card:hover .cs-service-link i {
/*    transform: translateX(5px);*/
}

/* Tùy chỉnh chiều cao bằng nhau cho các item carousel */
.cs-services-carousel .owl-stage {
    display: flex;
}
.cs-services-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
}
.cs-services-carousel .item {
    width: 100%;
}

/* Nút Nav (Mũi tên trái/phải) */
.cs-services-carousel .owl-nav {
    margin-top: 20px;
    text-align: center;
}

.cs-services-carousel .owl-nav button.owl-prev,
.cs-services-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.cs-services-carousel .owl-nav button.owl-prev:hover,
.cs-services-carousel .owl-nav button.owl-next:hover {
    background: #d90429 !important;
}

/* Dots (Chấm tròn bên dưới) */
.cs-services-carousel .owl-dots {
    margin-top: 15px;
}

.cs-services-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ccc;
    transition: all 0.3s ease;
}

.cs-services-carousel .owl-dots .owl-dot.active span {
    background: #d90429;
    width: 25px;
    border-radius: 10px;
}

/* Khung chứa Owl Carousel để định vị nút điều hướng tuyệt đối */
.cs-services-sec .container {
    position: relative;
}

.cs-services-carousel {
    position: relative;
}

/* Định vị lại toàn bộ khung chứa 2 nút nav */
.cs-services-carousel .owl-nav {
    margin-top: 0 !important;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 0; /* Giúp không che phủ vùng click sản phẩm */
    pointer-events: none; /* Tránh cản trở hover/click vào các thẻ dịch vụ */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

/* Kiểu dáng 2 nút điều hướng trái/phải */
.cs-services-carousel .owl-nav button.owl-prev,
.cs-services-carousel .owl-nav button.owl-next {
    pointer-events: auto; /* Bật lại sự kiện click cho nút */
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    color: #111111 !important;
    border-radius: 50% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee !important;
    transition: all 0.3s ease !important;
    position: absolute;
}

/* Nút Trái nằm sát lề trái */
.cs-services-carousel .owl-nav button.owl-prev {
    left: -22px; /* Đẩy ra ngoài lề trái một nửa nút (tùy chỉnh vị trí) */
}

/* Nút Phải nằm sát lề phải */
.cs-services-carousel .owl-nav button.owl-next {
    right: -22px; /* Đẩy ra ngoài lề phải một nửa nút */
}

/* Hiệu ứng Hover nút */
.cs-services-carousel .owl-nav button.owl-prev:hover,
.cs-services-carousel .owl-nav button.owl-next:hover {
    background: #d90429 !important;
    color: #ffffff !important;
    border-color: #d90429 !important;
    transform: scale(1.1);
}

/* Tùy chỉnh dots phía dưới không bị đè */
.cs-services-carousel .owl-dots {
    margin-top: 25px;
}

.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--mauphu);
}
/* Nền Gradient Đỏ Vàng Đắt Giá */
.cs-projects-sec {
    background: linear-gradient(135deg, #60000a 0%, #a8091e 50%, #3a0005 100%);
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

/* Header Text Style */
.cs-project-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cs-project-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #fff);
    margin: 8px auto 0;
    border-radius: 2px;
}

.cs-project-desc {
    color: #fce4ec;
    font-size: 14px;
}

/* Swiper Container & Slide Sizing */
.cs-projects-swiper {
    padding: 40px 10px 60px 10px !important;
    position: relative;
}

.cs-projects-swiper .swiper-slide {
    width: 340px; /* Độ rộng tiêu chuẩn cho hiệu ứng 3D xoay */
    transition: transform 0.3s ease;
}

/* Thẻ Dự Án */
.cs-project-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.4);
    height: 100%;
}

.cs-project-img {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
}

.cs-project-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.cs-project-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(122, 0, 16, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.cs-project-card:hover .cs-project-overlay {
    opacity: 1;
}

.cs-project-btn {
    width: 48px; height: 48px;
    background: #ffd700; color: #7a0010;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; text-decoration: none !important;
}

.cs-project-info {
    padding: 20px 18px;
}

.cs-project-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    color: #8b0000; background: #fff0f2;
    padding: 3px 10px; border-radius: 12px;
    text-transform: uppercase; margin-bottom: 8px;
}

.cs-project-name {
    font-size: 15px; font-weight: 700;
    line-height: 1.4; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-project-name a {
    color: #111; text-decoration: none !important;
}

/*.cs-project-loc {
    font-size: 12px; color: #777;
    display: flex; align-items: center; gap: 5px;
}

.cs-project-loc i { color: #a8091e; }
*/
/* Tùy chỉnh Nút điều hướng 3D 2 bên */
.cs-projects-sec .swiper-button-prev,
.cs-projects-sec .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #ffd700;
    color: #7a0010;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cs-projects-sec .swiper-button-prev::after,
.cs-projects-sec .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.cs-projects-sec .swiper-button-prev:hover,
.cs-projects-sec .swiper-button-next:hover {
    background: #ffffff;
    color: #7a0010;
    transform: scale(1.15);
}

.cs-projects-sec .swiper-button-prev { left: 10px; }
.cs-projects-sec .swiper-button-next { right: 10px; }

/* Tùy chỉnh Dots Phân Trang Vàng */
.cs-projects-sec .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.cs-projects-sec .swiper-pagination-bullet-active {
    background: #ffd700;
    width: 25px;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .cs-projects-swiper .swiper-slide {
        width: 280px;
    }
}

/* Section Base */
.cs-news-sec {
    background-color: #f8f9fa;
    position: relative;
}

/* Metadata */
.cs-news-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    gap: 15px;
}

.cs-news-meta i {
    color: #d90429;
    margin-right: 4px;
}

/* Title Styling */
.cs-news-title {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.cs-news-title.lg {
    font-size: 20px;
}

.cs-news-title.sm {
    font-size: 15px;
}

.cs-news-title a {
    color: #111111;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.cs-news-title a:hover {
    color: #d90429;
}

.cs-news-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Left Featured Article Card */
.cs-news-featured {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-news-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.cs-news-featured .cs-news-img {
    position: relative;
    width: 100%;
    padding-top: 55%;
    overflow: hidden;
}

.cs-news-featured .cs-news-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cs-news-featured:hover .cs-news-img img {
    transform: scale(1.08);
}

.cs-news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d90429;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(217, 4, 41, 0.4);
}

.cs-news-featured .cs-news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-news-readmore {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #d90429;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.cs-news-readmore:hover {
    gap: 10px;
}

/* Right News List Items */
.cs-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-news-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 15px;
    border: 1px solid #eee;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.cs-news-item:hover {
    border-color: #d90429;
    transform: translateX(5px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.cs-news-thumb {
    width: 130px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.cs-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cs-news-item:hover .cs-news-thumb img {
    transform: scale(1.1);
}

.cs-news-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Button View All */
.cs-btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #111111;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.cs-btn-view-all:hover {
    background: #d90429;
    box-shadow: 0 8px 20px rgba(217, 4, 41, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 576px) {
    .cs-news-item {
        flex-direction: column;
    }
    .cs-news-thumb {
        width: 100%;
        height: 160px;
    }
}

/* Container Section Đăng ký nhận tin */
.cs-newsletter-sec {
    position: relative;
    padding: 80px 0;
    /* Nền ảnh lấy từ ảnh bạn gửi */
    background: url('path/to/your-background-image.jpg') no-repeat center center / cover;
    background-attachment: fixed; /* Hiệu ứng Parallax cuộn nền sang trọng */
    color: #ffffff;
    overflow: hidden;
}

/* Lớp phủ Đen - Đỏ Gradient giúp nổi bật chữ & form */
.cs-newsletter-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
/*    background: linear-gradient(135deg, rgba(15, 15, 15, 0.88) 0%, rgba(122, 0, 16, 0.82) 100%);*/
    z-index: 1;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

/* Typography */
.cs-newsletter-sub {
    display: inline-block;
    color: var(--mauphu); /* Vàng Gold */
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cs-newsletter-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cs-newsletter-desc {
    font-size: 15px;
    color: #777;
    max-width: 650px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Custom Form Input Group */
.cs-newsletter-form {
    max-width: 620px;
    margin: 0 auto;
}

.cs-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 6px 6px 6px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.5); /* Viền ánh vàng */
    transition: all 0.3s ease;
}

.cs-input-group:focus-within {
    border-color: #ffd700;
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.25);
}

.cs-input-icon {
    color: #888888;
    font-size: 18px;
    margin-right: 10px;
}

.cs-email-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 15px;
    color: #111111;
    padding: 10px 0;
}

.cs-email-input::placeholder {
    color: #999999;
}

/* Button Đăng ký */
.cs-newsletter-btn {
    background: linear-gradient(135deg, #d90429 0%, #900018 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.4);
}

.cs-newsletter-btn:hover {
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #111111;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    transform: translateY(-1px);
}

.cs-newsletter-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.cs-newsletter-btn:hover i {
    transform: translateX(4px) translateY(-2px);
}

/* Cam kết bên dưới form */
.cs-newsletter-trust {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 13px;
    color: #777;
    flex-wrap: wrap;
}

.cs-newsletter-trust i {
    color: #ffd700;
    margin-right: 5px;
}

/* Responsive cho điện thoại */
@media (max-width: 576px) {
    .cs-newsletter-sec {
        padding: 50px 0;
    }
    .cs-newsletter-title {
        font-size: 19px;
    }
    .cs-input-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.95);
    }
    .cs-input-icon {
        display: none;
    }
    .cs-email-input {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
    .cs-newsletter-btn {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }
    .cs-newsletter-trust {
        flex-direction: column;
        gap: 8px;
    }
}

/* Container Footer - Tông Đỏ Đô Đắt Giá */
.cs-footer {
    background: linear-gradient(135deg, #4a0008 0%, #7a0010 50%, #300005 100%);
    color: #f0e6e6;
    font-size: 13.5px;
    position: relative;
    border-top: 3px solid #ffd700; /* Viền trên màu Vàng Gold */
}

/* Ánh vàng mờ trang trí hiệu ứng nền */
.cs-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08), transparent 60%);
    pointer-events: none;
}

.cs-footer a {
    color: #f0e6e6;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cs-footer a:hover {
    color: #ffd700;
}

/* Brand Logo / Tên công ty */
.cs-company-brand {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.cs-company-brand span {
    color: #ffd700; /* Chữ Vàng */
}

.cs-company-desc {
    color: #e0d0d0;
    line-height: 1.6;
}

/* Danh sách liên hệ */
.cs-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #f0e6e6;
}

.cs-footer-contact i {
    color: #ffd700; /* Icon Vàng nổi bật trên nền Đỏ */
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

/* Tiêu đề Widget */
.cs-widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffd700; /* Tiêu đề màu Vàng Gold */
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.cs-widget-line {
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffffff);
    margin-top: 6px;
    border-radius: 2px;
}

/* Menu Danh Mục Links */
.cs-footer-menu li {
    margin-bottom: 8px;
}

.cs-footer-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-footer-menu a i {
    font-size: 10px;
    color: #ffd700;
    transition: transform 0.3s ease;
}

.cs-footer-menu a:hover i {
    transform: translateX(4px);
    color: #ffffff;
}

/* Nút Mạng Xã Hội */
.cs-social-links {
    display: flex;
    gap: 10px;
}

.cs-social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.cs-social-btn:hover {
    background: #ffd700;
    color: #7a0010 !important;
    border-color: #ffd700;
    transform: translateY(-3px);
}

/* Google Maps Frame */
.cs-footer-map {
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Khung Thống Kê Truy Cập */
.cs-visitor-stats li {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    color: #e0d0d0;
}

.cs-visitor-stats li i {
    margin-right: 6px;
    color: #ffd700;
}

.cs-visitor-stats strong {
    color: #ffffff;
}

.cs-total-counter {
    color: #ffd700 !important;
    font-size: 15px;
    font-weight: 800;
}

.cs-work-time {
    color: #ffffff;
    font-size: 12.5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #ffd700;
}

/* Copyright Bar (Đỏ Đậm) */
.cs-footer-bottom {
    background-color: #2b0004;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 12.5px;
}

.cs-copyright-text {
    color: #cbb8b8;
}

.cs-copyright-text strong {
    color: #ffd700;
}
.cs-social-links img {
    height: 25px;
}
.cs-footer-map iframe {
/*    height: 200px;*/
}
/* Khung bao ngoài map */
.cs-footer-map {
    width: 100%;
    height: 190px; /* Chiều cao mong muốn cho ô bản đồ */
    border: 1px solid rgba(255, 215, 0, 0.5); /* Viền vàng gold */
    border-radius: 8px;
    overflow: hidden; /* Bo tròn góc map theo khung */
    position: relative;
}

/* Ép iframe lấp đầy 100% khung chứa */
.cs-footer-map iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Layout & Container */
.cs-service-detail-sec {
    background-color: #f9f9f9;
}

.cs-detail-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

/* Breadcrumb */
.cs-breadcrumb {
    font-size: 13px;
    margin-bottom: 15px;
}

.cs-breadcrumb a {
    color: #666;
    text-decoration: none !important;
}

.cs-breadcrumb a:hover {
    color: #d90429;
}

.cs-breadcrumb .active {
    color: #d90429;
    font-weight: 600;
}

/* Title & Meta */
.cs-detail-title {
    font-size: 28px;
    font-weight: 800;
    color: #111111;
    line-height: 1.35;
    margin-bottom: 15px;
}

.cs-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #777;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.cs-detail-meta i {
    color: #d90429;
    margin-right: 5px;
}

/* Styling Nội dung chi tiết bài viết (WYSIWYG content) */
.cs-detail-body {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
}

.cs-detail-body h2, 
.cs-detail-body h3 {
    color: #111;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

.cs-detail-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cs-detail-body blockquote {
    background: #fff8f8;
    border-left: 4px solid #d90429;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

/* Social Share Bar */
.cs-detail-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    display: flex;
    justify-content: flex-end;
}

.cs-share-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-share-title {
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

.cs-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 12px;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.cs-share-btn:hover {
    transform: translateY(-2px);
}

.cs-share-btn.fb { background: #1877f2; }
.cs-share-btn.zalo { background: #0068ff; font-size: 10px; }

/* Dịch vụ / Bài viết liên quan Section */
.cs-related-heading {
    position: relative;
    margin-bottom: 20px;
}

.cs-related-title {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.cs-related-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d90429, #ffd700);
    border-radius: 2px;
}

/* Card Dịch vụ liên quan */
.cs-related-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cs-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #ffd700;
}

.cs-related-thumb {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.cs-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cs-related-card:hover .cs-related-thumb img {
    transform: scale(1.08);
}

.cs-related-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-related-date {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}

.cs-related-item-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cs-related-item-title a {
    color: #222;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.cs-related-item-title a:hover {
    color: #d90429;
}

.cs-related-more {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: #d90429;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cs-related-more i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.cs-related-more:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .cs-detail-box {
        padding: 20px;
    }
    .cs-detail-title {
        font-size: 22px;
    }
}


/* ==========================================
   1. KHUNG CHUNG & BỐ CỤC LƯỚI (CSS GRID)
   ========================================== */
.khungchung_main {
    padding: 40px 0 60px 0;
    background-color: #f9f9f9;
}

/* Sử dụng CSS Grid làm bố cục chính */
.product_main_new {
    display: grid;
    /* Tự động chia 3 cột trên máy tính, khoảng cách giữa các ô là 24px */
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Thẻ bài viết */
.sectgl {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

/* Hiệu ứng khi Hover */
.sectgl:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    border-color: #ffd700;
}

/* ==========================================
   2. KHUNG HÌNH ẢNH (IMAGE CONTAINER)
   ========================================== */
.sectgl-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.sectgl-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* Tỉ lệ khung hình chuẩn 16:10 hiện đại */
    margin-bottom: 0;
    overflow: hidden;
    background-color: #eee;
}

.sectgl-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sectgl:hover .sectgl-img img {
    transform: scale(1.08);
}

/* ==========================================
   3. NỘI DUNG & TIÊU ĐỀ BÀI VIẾT
   ========================================== */
.khung_chitietsanpham {
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.khung_chitietsanpham h3.catchuoi2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 15px;
    height: 46px; /* Chiều cao cố định cho 2 dòng */
}

.khung_chitietsanpham h3.catchuoi2 span {
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.sectgl:hover .khung_chitietsanpham h3.catchuoi2 span {
    color: #d90429;
}

/* ==========================================
   4. NÚT XEM CHI TIẾT (BUTTON)
   ========================================== */
.btn_product_chitiet {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff !important;
    background: linear-gradient(135deg, #d90429 0%, #900018 100%) !important;
    border: none !important;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(217, 4, 41, 0.25);
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn_product_chitiet:hover {
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%) !important;
    color: #111111 !important;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* ==========================================
   5. PHÂN TRANG (PAGINATION)
   ========================================== */
.khung_ptrangs {
    margin-top: 40px;
    text-align: center;
}

.paging_chung {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.paging_chung a,
.paging_chung span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.paging_chung a:hover {
    background: #d90429;
    color: #ffffff;
    border-color: #d90429;
}

.paging_chung .active,
.paging_chung span.current {
    background: #d90429;
    color: #ffffff;
    border-color: #d90429;
    font-weight: 700;
}

/* ==========================================
   6. RESPONSIVE BẰNG GRID (MEDIA QUERIES)
   ========================================== */
/* Tablet (Dưới 992px) - Chuyển sang 2 cột */
@media (max-width: 991px) {
    .product_main {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile (Dưới 576px) - Chuyển sang 1 cột full */
@media (max-width: 575px) {
    .product_main {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .khung_chitietsanpham h3.catchuoi2 {
        height: auto;
    }
}


/* ==========================================
   1. LAYOUT & KHUNG NỀN CỦA TRANG
   ========================================== */
.cs-news-detail-page {
    background-color: #f8f9fa;
    color: #333333;
}

.cs-news-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

/* ==========================================
   2. HEADER, BREADCRUMB & META
   ========================================== */
.cs-breadcrumb {
    font-size: 13px;
}

.cs-breadcrumb a {
    color: #666666;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.cs-breadcrumb a:hover {
    color: #d90429;
}

.cs-breadcrumb .active {
    color: #d90429;
    font-weight: 600;
}

.cs-news-title {
    font-size: 28px;
    font-weight: 800;
    color: #111111;
    line-height: 1.35;
    margin-top: 10px;
    margin-bottom: 15px;
}

.cs-news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #777777;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.cs-news-meta i {
    color: #d90429;
    margin-right: 5px;
}

/* ==========================================
   3. KHUNG NỘI DUNG CHI TIẾT (WYSIWYG BODY)
   ========================================== */
.cs-news-body {
    font-size: 15.5px;
    line-height: 1.85;
    color: #2b2b2b;
}

.cs-news-body h2, 
.cs-news-body h3, 
.cs-news-body h4 {
    color: #111111;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cs-news-body h2 { font-size: 22px; }
.cs-news-body h3 { font-size: 19px; }

.cs-news-body p {
    margin-bottom: 18px;
}

/* Ép ảnh trong bài viết hiển thị đẹp, không tràn viền */
.cs-news-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cs-news-body blockquote {
    background: #fff8f8;
    border-left: 4px solid #d90429;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* ==========================================
   4. THANH CHIA SẺ MẠNG XÃ HỘI
   ========================================== */
.cs-news-share {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.cs-share-label {
    font-size: 13px;
    font-weight: 700;
    color: #555555;
}

.cs-share-btns {
    display: flex;
    gap: 8px;
}

.cs-btn-share {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cs-btn-share:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.cs-btn-share.fb { background: #1877f2; }
.cs-btn-share.zalo { background: #0068ff; font-size: 10.5px; }

/* ==========================================
   5. BÀI VIẾT LIÊN QUAN
   ========================================== */
.cs-related-heading {
    position: relative;
    margin-bottom: 20px;
}

.cs-related-title {
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.cs-heading-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d90429, #ffd700);
    border-radius: 2px;
}

.cs-related-list {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 25px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.cs-related-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
    gap: 10px;
}

.cs-related-item:last-child {
    border-bottom: none;
}

.cs-related-item i {
    color: #d90429;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.cs-related-link {
    color: #333333;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none !important;
    flex-grow: 1;
    transition: color 0.2s ease;
}

.cs-related-item:hover i {
    transform: translateX(4px);
    color: #ffd700;
}

.cs-related-item:hover .cs-related-link {
    color: #d90429;
}

.cs-related-date {
    font-size: 12px;
    color: #999999;
    white-space: nowrap;
}

/* ==========================================
   6. RESPONSIVE MOBILE & TABLET
   ========================================== */
@media (max-width: 768px) {
    .cs-news-card {
        padding: 20px 18px;
    }
    .cs-news-title {
        font-size: 21px;
    }
    .cs-related-date {
        display: none; /* Ẩn ngày ở màn hình nhỏ cho thoáng */
    }
}


.page_contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    margin-bottom: 40px;
}

/* ==========================================
   3. KHUNG CỘT TRÁI - THÔNG TIN CÔNG TY
   ========================================== */
.khungphai_contact h3 {
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Đường gạch trang trí dưới tiêu đề */
.khungphai_contact h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #d90429, #ffd700);
    border-radius: 2px;
}

.khunglh {
    font-size: 14.5px;
    line-height: 1.8;
    color: #444444;
}

.khunglh p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.khunglh i {
    color: #d90429;
    font-size: 16px;
    margin-top: 4px;
}

.khunglh strong {
    color: #111111;
}

/* ==========================================
   4. KHUNG CỘT PHẢI - FORM GỬI LIÊN HỆ
   ========================================== */
.contacts-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts-form input[type="text"],
.contacts-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #333333;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.contacts-form input[type="text"]:focus,
.contacts-form textarea:focus {
    background-color: #ffffff;
    border-color: #d90429;
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.12);
}

.contacts-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Nút Submit gửi tin */
.btn_lienhectoi {
    align-self: flex-start;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #d90429 0%, #900018 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
    transition: all 0.3s ease;
}

.btn_lienhectoi:hover {
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #111111;
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* ==========================================
   5. BẢN ĐỒ GOOGLE MAPS
   ========================================== */
.contacts_maps_new {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
}

.contacts_maps_new iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

/* ==========================================
   6. RESPONSIVE MOBILE & TABLET
   ========================================== */
@media (max-width: 991px) {
    .page_contacts {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 25px;
    }
}

@media (max-width: 575px) {
    #about-banner {
        height: 180px;
    }
    .banner-title {
        font-size: 24px;
    }
    .page_contacts {
        padding: 20px 15px;
    }
    .btn_lienhectoi {
        width: 100%;
    }
    .contacts_maps_new {
        height: 300px;
    }
}
/* Container Form */
.cs-contact-form-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
}

.cs-form-title {
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.cs-form-subtitle {
    font-size: 13px;
    color: #666666;
    margin-bottom: 0;
}

.cs-form-label {
    font-size: 13px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 6px;
    display: block;
}

/* Khung bọc Icon & Input */
.cs-input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cs-input-icon-wrapper .cs-input-icon {
    position: absolute;
    left: 14px;
    color: #d90429; /* Icon màu Đỏ Đô */
    font-size: 15px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.cs-input-icon-wrapper.text-area-wrapper .cs-input-icon {
    top: 14px;
}

/* Ô Input & Textarea */
.cs-form-control {
    width: 100%;
    padding: 11px 16px 11px 42px !important; /* Tạo khoảng trống cho Icon */
    font-size: 14px;
    color: #222222;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.cs-form-control::placeholder {
    color: #aaa;
    font-size: 13.5px;
}

/* Focus Effect */
.cs-form-control:focus {
    background-color: #ffffff;
    border-color: #d90429;
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.12);
}

.cs-form-control:focus + .cs-input-icon,
.cs-input-icon-wrapper:focus-within .cs-input-icon {
    color: #ffd700; /* Đổi màu icon sang Vàng Gold khi click vào ô input */
}

/* Nút Submit */
.btn_lienhectoi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #d90429 0%, #900018 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
    transition: all 0.3s ease;
}

.btn_lienhectoi:hover {
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #111111;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.btn_lienhectoi i {
    transition: transform 0.3s ease;
}

.btn_lienhectoi:hover i {
    transform: translateX(4px);
}

.addThis_contact__icons .box-item .svgico
{
    background: #d50313!important;
}







@media only screen and (min-width: 1px) and (max-width: 1399px)
{   
    .main-menu li 
    {
        padding: 7px 5px;
    }
    .tieude_T
    {
        font-size: 50px
    }
    .khung_ndgts h2
    {
        margin-bottom: 0;
        font-size: 1.7em;
    }
    .mota_ndgts p 
    {
        line-height: 1.5em;
    }

}

@media only screen and (min-width: 1px) and (max-width: 1024px)
{
    

}
@media only screen and (min-width: 1px) and (max-width: 1023px)
{
   .footer_menu {
    width: 23%;
}
}
@media only screen and (min-width: 1px) and (max-width: 768px)
{   


    
    .gr_flex_open_phone
    {
        display: none!important;
    }
    .khungtotal_nav 
    {
        width: 25%;
        display: flex;
        justify-content: end;
        align-items: center;
    }   
    .menu_mobile
    {
        display: block;
    }
    .khungtop_header,.menu_nav
    {
        display: none;
    }
    .khung_gioithieutong
    {
        padding: 15px 0px;
    }
    .total_khunggthieu
    {
        flex-direction: column;
    }
    .khungtrai_gthieu,.khungphai_gthieu
    {
        width: 100%;
    }
    .noidung_gthieu 
    {
        padding-left: 20px;
        padding-top: 2em;
        padding-right: 20px;
    }

}
@media only screen and (min-width: 1px) and (max-width: 500px)
{   
    .khungchitiet_news img{
        max-width: 100%;        
        height: auto!important;
    }
    .cs-contact-form-box 
    {
        padding: 15px
    }
    .product_main_new
    {
        grid-template-columns:1fr;
    }
    .menucon ul .active a,.menucon ul li .hotline_res
    {
        color: var(--mauchinh);
    }
    .cs-accordion-container
    {
        height: 260px;
    }
    .menu_mobile .icon_menu span
    {
        background: var(--mauchinh)!important;

    }  
    .cs-form-control
    {
        padding: 11px 16px 11px 16px !important;
    }
    .khungphai_contact h3
    {
        font-size: 19px;
    }
    .khungtotal_nav 
    {
        width: 35%;
        display: flex;
        align-items: center;
        justify-content: end;
    }
    .logo_main
    {   
        display: none;
    }
    .logo_main_mobile img {
        max-width: 100%;
        height: 70px;
    }
    .logo_main_mobile
    {
        display: block!important;
    }
    .logo_main 
    {
        padding: 5px 0;
    } 
    .logo_main img 
    {
        height: 50px;
    }
    .ngonngu_nav li img 
        {
        height: 16px;
    }

    .total_catsanpham
    {
        grid-template-columns:1fr;
    }
    .oit,.khung_product_chitiet_spham,.page_contacts
    {
        flex-direction: column;
    }
    .khungtong_new_cc 
    {
        padding: 2em 0;
    }
    .khung_trainew,.khung_phaicc,.prod-slider-wrap,.prod-cont
    {
        width: 100%;
    }
    .tieude_chungnewcc h3
    {
        font-size: 18px;
    }
    .total_ccphai
    {
        margin-top: 1em;
    }
    .name_congty h3
    {
        font-size: 20px;
    }
    .total_footers
    {
        flex-direction: column;
    }
    .thongtin_ndft,.footer_menu,.maps_fter
    {
        width: 100%;
    }
    .tieude_bannersp h4
    {
        font-size: 20px;
    }
    .tieude_T 
    {
        font-size: 40px;
    }
    .khung_ndgts h2
    {
        font-size: 19px;
    }
    .product_main
    {
        
    }
    .khungchung_main 
    {
        padding: 2em 0;
    }
    .khungphai_contact,.contacts-form
    {
        width: 100%;
    }
    form.form-validate input:nth-child(2)
    {
        width: 100%;
    }
    form.form-validate input:nth-child(3)
    {
        width: 100%;    margin-left: 0%;

    }
}