/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */

.home-certificate .slick-slide img{
  max-height: 300px;
  margin:0 auto;
}

.hot-products ul {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    flex-wrap: wrap;
}   
 .hot-products {
    margin-bottom: 30px;
 }
 .hot-products ul li {
    width: calc(100%/3 - 4px);
}
 .hot-products ul li .box-img {
    aspect-ratio: 6/5;
    overflow: hidden;
}


.hot-products ul li .box-img img {
    height: 100%;
    object-fit: cover;
    transition: all ease 0.4s;
}

 .hot-products ul li:hover img {
    transform: scale(1.1) ;
}

[class^="about-"] {
    padding-top: 60px;

}
[class^="about-"] .box-title {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}
[class^="about-"] .box-title::before {
    background: var(--primary2);
    opacity: 0.5;
    height: 2px;
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
    top: 28px;
}
[class^="about-"] .box-title h2 span {
    display: inline-block;
    padding: 10px;
    text-transform: uppercase;
    color: var(--primary2);
    font-weight: 600;
    position: relative;
    z-index: 2;
    background: #fff;
}

[class^="about-"] blockquote {
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary2);
    font-weight: 600;
    font-style: italic;
}
[class^="about-"] .slogan {
    font-style: italic;
    max-width: 1000px;
    margin: 0 auto;
}

[class^="about-"] .box-item {
    position: relative;
}

[class^="about-"] .box-item .box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(180deg, rgba(51, 51, 51, 0) 0, #333 100%);
}

[class^="about-"] .box-item .box-content p {
    margin-bottom: 0;
    font-size: 14px;
    color: #fff;
    font-style: italic;
    text-align: center;
}
[class^="about-"] .box-item .box-content p span {
    font-weight: 600;
    font-size: 16px;
}

[class^="about-"] .tab-wrapper {
    display: flex;
    gap: 20px;
}

[class^="about-"] .tab-wrapper .box-tab-content {
    padding-left: 20px;
    border-left: 1px solid #cecece;
}
[class^="about-"] .tab-wrapper .tabs {
    min-width: 300px;
}

[class^="about-"] .tab-wrapper .tabs .tab {
    padding: 5px 20px;
    margin-bottom: 15px;
    border-radius: 20px;
    cursor: pointer;
    background: #f5f5f5;
    transition: all ease 0.4s;
}
[class^="about-"] .tab-wrapper .tabs .tab:hover {
    background: #000;
    color: #fff;
}
[class^="about-"] .tab-wrapper .tabs .tab.active {
    background: var(--primary2);
    color: #fff;
}
[class^="about-"] .tab-wrapper .tab-content {
    display: none;
}
[class^="about-"] .tab-wrapper .tab-content.active {
    display: block;
}
.about-4 {
    padding-bottom: 30px;
}



[class^="about-"] .whyus-item {
    border-radius: 10px;
}
[class^="about-"] .box-item {
    border-radius: 10px;
    overflow: hidden;
}

[class^="about-"] .tab-wrapper .tab-content ul {
    padding-left: 15px;
}

[class^="about-"] .tab-wrapper .tab-content ul li {
    margin-bottom: 10px;
    font-weight: 600;
    list-style: disc;
}
[class^="about-"] .whyus-item {
    background: var(--primary2);
    color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    height: 100%;
}
[class^="about-"] .whyus-item h4 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}
[class^="about-"] .whyus-item ul {
    padding-left: 15px;
}
[class^="about-"] .whyus-item ul li {
    list-style: disc;
    font-weight: 600;
    margin-bottom: 10px;
}
.about-3 .slogan {
    margin-bottom: 20px;
}
@media (max-width:996px){
    [class^="about-"] {
        padding-top: 20px;
    }
    [class^="about-"] .box-title {
        margin-bottom: 20px;
    }
    [class^="about-"] .box-item {
        margin-bottom: 20px;
    }
    [class^="about-"] .box-title::before {
        top: 20px;
    }
    .header {
        padding: 5px 0;
    }
    .home-frist .vuta-row  [class^="vuta-col-"]:first-child { 
        order: 2;
        margin-top: 20px;
    }
      .home-frist .vuta-row  [class^="vuta-col-"]:last-child {
          order:1}
    .about-4 .box-title{
        max-width: 300px;
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .about-4 .box-title h2 {
        line-height: 1.5;
    }
    [class^="about-"] .tab-wrapper {
        flex-direction: column;
    }
    [class^="about-"] .tab-wrapper .box-tab-content {
        padding-left: 0;
        border-left: 0;
    }
    [class^="about-"] .tab-wrapper .tabs {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        gap: 15px;
        overflow-x: scroll;
    }
         [class^="about-"] .tab-wrapper .tabs .tab {
            min-width:fit-content;
         }
}
