/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Main Header Styles */
.main-header {
    position: relative;
    z-index: 100;
    border: 1px solid #ccc;
}

/* Main Header Content */
.logo-wrap .inner {
    display: flex;
    justify-content: start;
    gap: 15px;
}

.ico-time {
    background: url(../images/ico-time.png) no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
}

.ico-phone {
    background: url(../images/ico-phone.png) no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
}

/* Navigation Menu Styles */
.menu-top {
    display: flex;
    list-style: none;
    margin: 15px 0 0;
    padding: 0;
    width: 100%;
    justify-content: flex-end;
}
.menu-top li {position: relative;}
.menu-top li a {
    color: black;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    font-size: 16px;
    line-height: 30px;
    margin-right: 15px;
}
.menu-top li a:hover {color: #ce1018;}
.appointment-call .inner {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
}
.btn-ba {
    background-color: #ce1018;
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    text-transform: uppercase;
}
.appointment-call a {
    align-items: center;
    display: flex;
    gap: 10px;
    text-decoration: none;
}
.appointment-call a:hover {
    color: white;
    cursor: pointer;
}
section {padding: 20px 0 0;}
.section-header {
    padding: 40px 0 35px;
}

.section-header .section-title {
    color: #ce1018;
    font-size: 24px;
    margin: 15px 0;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
}

.category-sub {
    list-style: none;
    display: flex;
    justify-content: start;
    gap: 15px;
    padding: 0;
    margin: 0;
}
.category-sub  li:first-child a {
    font-weight: bold;
}
.category-sub  li a {
    color: black;
}
.section-header p {
    color: #666;
    margin: 0;
}
.line {
    width: 120px;
    height: 2px;
    margin: 10px auto 0;
    position: relative;
}
.line hr {
    border-top: 2px solid#dedede;
}
.line hr,
.line span {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
.line span {
    width: 40px;
    display: inline-block;
    border-top: 3px solid#33844d;
}

.intro-left .intro-left-title,
.intro-left .intro-left-slogan {
    color: #ce1018;
    font-weight: bold;
}
.intro-left .intro-left-slogan {
    text-align: center;
}

.technology .tech-item {
    position: relative;
    overflow: hidden;
}

.technology .tech-item img {
    border-radius: 6px;
}
.technology .tech-item .tech-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    font-size: 14px;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 10%, rgba(206, 16, 24, 1) 100%);
    height: 40px;
    line-height: 40px;
    margin: 0;
    border-radius: 6px;
    text-transform: uppercase;
}
.brand-slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: translateX(-1px);
}

.brand-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Categories Section */
.news-body .title {font-size: 14px;padding: 0 10px 10px; line-height: 1.4;}
.news-card-title {color: black; font-weight: bold; margin-bottom: 10px; display: inline-block;}
.news-card-title:hover {color: #ce1018; text-decoration: none;}
.hot-category .news-card {
    margin: 0 15px;
    border-radius: 6px;
}
.home-news .news-card .news-img {
    max-height: 120px;
    overflow: hidden;
}
.news-card {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.hot-category .news-card .news-image {
    max-height: 220px;
    overflow: hidden;
}
.home-news .news-card {
    box-shadow: none;
    margin: 0;
}
.home-news .news-card.right {
    margin-bottom: 10px;
}
.news-card.left .news-img {
    margin-bottom: 15px;
    overflow: auto;
    max-height: none;
}
.hot-category .news-card img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.news-card img {
    width: 100%;
    height: auto;
}
.knowledge-section .news-card { margin: 0; }
.btn-warranty {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
    width: 220px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    font-size: 18px;
    padding: 0;
}
.btn-warranty:hover {
    color: white;
    text-decoration: none;
}
.team-large .position {font-weight: bold;}
.team-large .name {color: #ce1018; font-weight: bold; margin-top: 5px;}
.team-list .team-item {
    cursor: pointer;
    padding: 10px;
}
.category-brand {
    margin-right: -15px;
}

.category-item a {
    text-decoration: none;
    color: inherit;
}
.content h4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 22px;
    min-height: 45px;
}
.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 32px;
    color: #0054A6;
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}
/* main slider */
.owl-nav {
    position: absolute;
    top: 45%;
    left: 2%;
    z-index: 99;
    width: 96%;
    display: flex;
    justify-content: space-between;
}
.owl-nav i {font-size: 20px;line-height: 40px;}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: rgba(0, 0, 0, 0.7);
    border: none;
    outline: none;
}
/* end main slider */

.home-category .owl-nav {
    z-index: 99;
    display: flex;
    justify-content: space-between;
}
.home-category .owl-nav i {font-size: 20px;}

.warranty-wrapper {
    min-height: 320px;
    background: url(../images/warranty.png) no-repeat left top;
    background-size: cover;
}

/* Support Section */
.support-body {
    background: url(../images/bg-register.png) no-repeat left top;
    background-size: cover;
}
.support-section .inner {
    background: #04AE4E;
    padding: 20px 0;
    text-align: center;
}
.support-section .container {
    position: relative;
}
.consultant-desc {padding: 50px 0 30px; font-weight: bold;}
.support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: white;
}
.phone-field {padding-left: 0;}
.support-content p strong {
    font-size: 18px;
}
.btn-wrap-register {
    display: flex;
    justify-content: end;
}
.btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.appointment-form { min-height: 530px;}
/* Footer Styles */
.site-footer {
    margin-top: 25px;
    padding: 0 0 20px;
}
.footer-information {
    color: white;
    background: #ce1018;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-direction: column;
}

.social-link {
    color: white;
    text-decoration: none;
}

.qr-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.qr-container img {
    max-width: 100px;
    height: auto;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-buttons img {
    max-width: 120px;
    height: auto;
}

.payment-methods {
    text-align: center;
}
.guarantee {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.payment-icons img {
    height: 30px;
    width: auto;
}

.logo-wrap .company-name,
.company-info .phone-wrap,
.company-info .address {
    margin-bottom: 10px;
}
.logo-wrap p {
    margin-bottom: 0;
}
.company-info .phone-wrap span,
.company-info .address span {
    color:#0054A6;
}
.company-info .cart {
    color: #F21606;
}
.payment-wrap {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}
.payment-methods h3 {
    font-size: 16px;
    text-align: left;
}
.contact-info li {
    display: flex;
    flex-direction: column;
}

.site-footer .company-info {
    margin-top: 50px;
    text-align: left;
}
.site-footer .company-info hr {
    border-top: 1px solid #848484;
}
.company-logo { text-align: center; }

#hamburger {display: none;}
#hamburger i {
    font-size: 24px;
    color: black;
    cursor: pointer;
}
#menu {display: none; z-index: 9999;}
.prompt-field {padding: 20px 0}
label.error {
    color: red;
    font-size: 12px;
    display: block;
    font-weight: normal;
    margin-bottom: 0;
}
/* Responsive Styles */
/* News Styles */
.news-section .section-header {padding: 30px 0 25px;text-align: center;}
.news-section .section-desc p { color: #848484; }
.news-section .section-header ul { margin: 0; padding: 20px 0 0; list-style-type: none;}
#map {padding: 15px 0;}
.company-license {
    padding: 30px 0 0;
}
/* End News Styles */

.owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
}

.owl-dots .owl-dot {
    width: 10px !important;
    height: 10px !important;
    background-color: gray !important;
    border-radius: 20px !important;
    margin-right: 10px !important;
}

.owl-dots .owl-dot.active {
    width: 10px !important;
    height: 10px !important;
    background-color: white !important;
    border-radius: 20px !important;
}

/*start images products*/
.detail-gallery {position:relative}
.gallery-control {width: 78px; float: left;}
.gallery-control a {width:76px;height:76px;display:inline-block;margin-right:10px; margin-bottom: 5px; overflow: hidden; border: 1px solid #ddd; padding: 1px; border-radius: 3px;}
.gallery-control a img {border-radius: 3px;overflow: hidden;}

.popup-gallery { margin-left: 95px; }
.no-click {pointer-events: none;}
.overlay {position: absolute;top: 0;bottom: 0;left: 0;right: 0;height: 100%;background-color: rgba(0,0,0,0.58);transition: transform .3s, opacity .6s;pointer-events: none;}
header .overlay {z-index: 1;}
/*end images products*/

/* Scroll Top */
.scrollToTop {
    width: 41px;
    height: 41px;
    text-align: center;
    font-weight: bold;
    color: #444;
    text-decoration: none;
    position: fixed;
    bottom: 65px;
    right: 25px;
    display: none;
    z-index: 10;
    cursor: pointer;
}

/* Text Hide */
.text-split {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
}

/* Transition All */
.transition,
.control-owl button,
.carousel-comment-media .carousel-control a span,
.menu ul li a.has-child:after,
.menu ul li ul,
.menu ul li:hover > ul,
.scale-img img,
.scale-img:hover > img,
.btn-frame .kenit-alo-circle-fill,
.support-online .kenit-alo-circle-fill {
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
}


/* Button Frame */
.btn-frame {
    display: block;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    z-index: 10;
    cursor: pointer;
}

.btn-frame i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #006ECD;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn-frame i img {
    vertical-align: middle;
    width: 70%;
}

.btn-frame .animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.btn-frame .kenit-alo-circle {
    width: 60px;
    height: 60px;
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid rgba(7, 41, 103, 0.8);
    border-color: #006ECD;
    opacity: 0.5;
}

.btn-frame .zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

.btn-frame .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.btn-frame .kenit-alo-circle-fill {
    width: 70px;
    height: 70px;
    top: -10px;
    right: -10px;
    position: absolute;
    border-radius: 100%;
    border: 2px solid transparent;
    background-color: rgba(7, 41, 103, 0.35);
    opacity: 0.4;
}

.btn-frame .pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}
/* Zalo */
.btn-zalo {
    bottom: 315px;
}

/* Phone */
.btn-phone {
    bottom: 230px;
}

.mm-listview li a {
    text-transform: uppercase;
}
.name {
    text-transform: uppercase;
}

.p-name {
    font-size: 22px;
}
.filter-header {display: flex; justify-content: space-between;}
.filter-header i { display: none;}
.slider-section { padding-top: 0;}
#c2.owl-carousel .owl-item .desc { max-height: 300px; overflow-y: scroll;}
#c2.owl-carousel .owl-item .desc img { width: auto!important;}
#c2.owl-carousel .owl-item .phone-field img,
#c1.owl-carousel .owl-item img {border-radius: 50%;}
#c1.owl-carousel .owl-item img {max-height: 214px;}
#c2.owl-carousel .owl-item .phone-field img { max-height: 375px;}
#site-index .site-footer { margin-top: 0;}
#article-category-view .news-img {max-height: 160px; overflow: hidden;}
#article-category-view .news-card-title {display: inline-block; padding: 5px;}
#article-category-view .view-more {display: inline-block; padding: 0 5px;}
.view-more a:hover { color: #ce1018;}
/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-header {
        text-align: center;
        padding-bottom: 10px;
    }

    .scrollToTop {
        bottom: 5px;
        right: 10px;
    }

    .btn-zalo {
        bottom: 150px;
    }

    .btn-phone {
        bottom: 80px;
    }
}

@media (max-width: 768px) {
    .main-header {
        text-align: center;
        padding-bottom: 10px;
    }
    .support-content {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .menu-top li a {
        text-align: center;
    }
    .logo-wrap .inner {
        justify-content: center;
        position: relative;
    }
    .menu-top {display: none;}
    .category-sub {
        flex-direction: column;
        display: none;
    }
    .section-header {
        padding: 40px 0;
    }
    .appointment-call .inner {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .qr-container {
        flex-direction: column;
    }

    .brand-slider {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 20px;
    }
    .site-footer .company-info {
        flex-direction: column;
    }
    .company-license {
        padding: 15px 15px 0;
    }
    #map {padding-bottom: 0;}
    .category-brand {display: none;}
    #menu {display: block;}
    #hamburger {display: block; padding-top: 10px;
        position: absolute; top: 15px; right: 15px;
    }
    .news-card { width: 100%;}
    .hot-brands .section-desc { flex-direction: column; }
    .news-section .section-desc { flex-direction: column; }
    .logo-wrap .company-name {text-align: center;}
    .filter-header {cursor: pointer;}
    .filter-header i {
        display: block;
        line-height: 54px;
        font-size: 25px;
    }
    .item-cate {
        display: none;
    }
    .phone-field {padding: 20px 15px 0 15px;}
    .consultant-desc  {padding-top: 15px}
    .btn-wrap-register {
        justify-content: center;
    }
}
