* {
    font-family: "Roboto", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

.logo-wrapper::before,
.logo-wrapper::after {
    content: "";
    flex: 1;
    height: 0.5px; /* mảnh hơn nữa */
    background-color: #ddd; /* nhạt hơn so với #ccc */
    margin: 0 20px;
}

.logo-wrapper img {
    max-width: 100%;
}

a.stretched-link {
  text-decoration: none;
}


.custom-btn {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 10px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.custom-btn:hover {
    background-color: #f0f0f0;
}

.main-menu {
    background-color: #f9f9f9;
    padding: 5px 20px;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-left {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu-left li a {
    text-decoration: none;
    color: #6d6e71;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}

.menu-left li a:hover {
    color: #337ab7;
    border-bottom: #007bff;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 200px;
}

.search-box input {
    width: 100%;
    padding: 8px 10px 8px 35px; /* chừa chỗ bên trái cho icon */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.search-box i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none; /* không ảnh hưởng đến click */
}

.hotlines {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.hotlines span {
    padding: 6px;
    font-weight: lighter;
    align-items: flex-start;
}

.hotlines a {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
}

.hotlines a:hover {
    text-decoration: underline;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    z-index: 1000;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu > li:hover {
    background-color: #6d6e71;
}

.dropdown-menu > li:hover > a {
    padding-left: 10px;
    color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu > li {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.dropdown-menu > li:last-child {
    border-bottom: none;
}

.dropdown-menu li > a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* DROPDOWN CẤP 2 */
.submenu {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    border: 1px solid #ccc;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.submenu:hover .sub-menu {
    display: block;
}

.sub-menu li {
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu li a {
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-menu li.active a {
    background-color: #666;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

.sub-menu li:hover {
    background-color: #6d6e71;
}

.sub-menu li:hover > a {
    color: white;
    padding-left: 10px; /* hiệu ứng đẩy chữ */
}

.carousel {
    background-color: #f9f9f9;
    padding: 0 15px;
}

.dropdown i {
    font-size: 10px;
}

.bg-custom {
    background-color: #eae1e1;
}

.bg-custom input {
    line-height: 1.5;
    border-radius: 20px;
    color: #6d6e71;
    font-size: 12px;
}
.hover-box {
    transition: all 0.3s ease;
    cursor: pointer;
}
.hover-box:hover {
    border-color: #0d6efd !important;
    color: #0d6efd;
}
.hover-box:hover i {
    color: #0d6efd;
}
.custom-link {
    color: #6d6e71;
    text-decoration: none;
    font-weight: bolder;
}
.custom-link:hover {
    color: #00bfff;
}

.input-group input {
    line-height: 2;
    border-radius: 0;
}

main {
    background-color: #f9f9f9;
}

.btn-custom-white {
    background-color: #fff;
    color: #6d6e71;
    border: none;
    padding: 20px;
    transition: 0.3s ease;
    line-height: 1.5;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bolder;
}
.btn-custom-white:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #adb5bd;
}

.font-bold {
    font-weight: 700;
    color: #6d6e71;
    font-size: 11px;
}

.section-bor {
    border-radius: 1.5rem;
    border: 2px solid #e3dbdb;
}

.btn-xe-moi {
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 0;
    z-index: 2;
    color: #fff;
    margin-top: 0;
    padding: 5px 0;
    background: #00b3fc;
    width: 320px;
    border-radius: 1.5rem;
    border: none;
    font-weight: bold;
}

.btn-xem-them {
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 0;
    z-index: 2;
    color: #fff;
    margin-top: 0;
    padding: 5px 20px;
    background: #00b3fc;

    border-radius: 1.25rem;
    border: none;
    font-weight: lighter;
}

.padding-top {
    padding-top: 30px;
}
.car-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.car-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 3px;
}

.car-image-main,
.car-image-hover {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.car-image-main {
    position: relative;
    z-index: 1;
}

.car-image-hover {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.car-image-hover:hover {
    opacity: 1;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4); /* bóng lớn và rõ hơn khi hover */
}

.car-card:hover .car-image-hover {
    opacity: 1;
}

.label-da-coc {
    position: absolute;
    top: -2px;
    left: 0;
    width: 80px;
    z-index: 10;
}

.label-da-ban-ribbon {
    width: 0px;
    height: 0px;
    position: absolute;
    top: -2px;
    right: 0px;
    text-transform: lowercase;
    border-top: 92px solid #ff0011;
    border-left: 92px solid transparent;
    z-index: 9999;
    border-radius: 0px;
    border-top-right-radius: 10px;
}

.label-da-ban-ribbon span {
    font-size: 13px;
    color: #ffffff;
    position: absolute;
    left: initial;
    right: 0;
    top: -62px;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0px 6px;
    line-height: 10px;
    -webkit-transform: rotate(45deg);
}

.label-moi-ve-ribbon {
    width: 0px;
    height: 0px;
    position: absolute;
    top: -2px;
    right: 0px;
    text-transform: lowercase;
    border-top: 92px solid #ffa200;
    border-left: 92px solid transparent;
    z-index: 9999;
    border-radius: 0px;
    border-top-right-radius: 10px;
}

.label-moi-ve-ribbon span {
    font-size: 13px;
    color: #ffffff;
    position: absolute;
    left: initial;
    right: 0;
    top: -62px;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0px 6px;
    line-height: 10px;
    -webkit-transform: rotate(45deg);
}

/* Hình nền đỏ + chữ SIÊU LƯỚT */
.label-sieu-luot {
    position: absolute;
    bottom: -18px;
    right: 0;
    width: 100px;
    height: 40px;
    background-image: url("../img/image_tag_sieuluot_medium.webp"); /* <-- Đường dẫn ảnh nền đỏ */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.label-sieu-luot span {
    color: white;
    font-weight: bold;
    font-size: 13px;
}

.car-info {
    padding: 10px 15px;
}

.car-price {
    color: #001f5f;
    font-weight: bold;
    font-size: 18px;
}

.car-name {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    font-weight: bold;
}

.car-detail-box {
    background: #f2f4fa;
    padding: 10px 15px;
    font-size: 12px;
    color: #081f4d;
    font-weight: bold;
    margin: 10px;
    border-radius: 10px;
}

.car-detail-box i {
    color: black;
}

.img-fluid {
    max-height: 300px;
}

.carousel-wrapper {
    max-width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
    padding: 30px 20px;
}

.carousell {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    padding: 20px 40px;
    background-color: #fff;
    border-radius: 10px;
    margin: 0 10px;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    text-align: center;
}

.testimonial-card p {
    color: #001f5f;
}
.testimonial-card h6 {
    color: #001f5f;
    font-weight: bold;
    padding: 10px 0px;
}

.stars {
    color: gold;
    margin-top: 10px;
}

.nav-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-45%);
    background-color: #444;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.nav-arrow.left {
    left: 32px;
}

.nav-arrow.right {
    right: 0px;
}

.dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
}

.dot.active {
    background-color: #000;
}

.featured-blog-post img {
    height: 100%;
    object-fit: cover;
}

.detail a {
    font-weight: lighter;
    color: #777;
    text-decoration: none;
    font-size: 14px;
    font-weight:bold;
}

.main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.thumbnail-container {
    overflow-x: auto;
    white-space: nowrap;
}
.thumbnail-wrapper {
    display: inline-block;
    margin-right: 8px;
}

.mainImage {
    max-width: 100%;
    width: auto;
}

#thumbnailList {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
}
.thumbnail-wrapper {
    flex: 0 0 auto;
}
.thumb-img {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
}
.thumb-img.active {
    border-color: #000;
}

.btnpoint {
    border-radius: 50%; /* Bo tròn nút */
    width: 50px; /* Chiều rộng */
    height: 50px; /* Chiều cao */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px; /* Kích thước biểu tượng */
    background-color: #343a40; /* Màu nền */
    color: white; /* Màu chữ */
    border: none; /* Không có viền */
    cursor: pointer; /* Con trỏ chuột */
}

.vehicle-card {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
}
.card-header-title {
    border-top: 1px dashed #ccc;
    padding-top: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #6d6e71;
    font-size: 20px;
    text-transform: uppercase;
}
.keyword-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--bs-border-color, #dee2e6);
  border-radius: 0.2rem;
  color: var(--bs-secondary, #6c757d);
  background-color: transparent;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}

.keyword-link:hover {
  background-color: #f8f9fa;
  text-decoration: none;
}


.price {
    font-size: 20px;
    font-weight: bold;
    color: #1c2c5e;
    margin-bottom: 15px;
}
.pricedetail {
    color: #1c2c5e;
}
.info-icon {
    margin-right: 6px;
}
.spec-item {
    font-size: 14px;
    padding: 10px;
    color: #1c2c5e;
    font-weight: bold;
}
.spec-item i {
    color: black;
}
.btn-custom {
    width: 48%;
    font-weight: 500;
    border-radius: 10px;
    background-color: #1c2c5e;
    color: white;
    font-weight: bold;
    font-size: 13px;
    height: 40px;
    border: none;
}
.btn-call {
    background-color: #666;
    color: #fff;
    border-radius: 10px;
    border: none;
}
.special-offer {
    background-color: #e05543;
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-left: 4px solid #fff;
    border-bottom: 3px solid #222;
}
.benefit-item {
    font-size: 14px;
    margin-bottom: 8px;
    color: #001f5f;
    font-weight: bold;
}
.benefit-item i {
    color: #00bfff;
    margin-right: 6px;
}

.chitiet {
    background-color: rgb(242 244 250);
    border-radius: 10px;
}

.modal-content {
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.form-control {
    padding: 0.6rem 1.2rem;
    font-size: 15px;
}

.modal-content {
    border-radius: 1rem;
    padding: 1.5rem;
}

.custom-input {
    border-radius: 2rem;
    border: 1px solid #ccc;
    padding: 0.6rem 1.2rem;
    font-size: 15px;
}

.custom-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-size: 14px;
    margin-bottom: 0.25rem;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    font-weight: 600;
}

.btn-light {
    background-color: #f2f2f2;
    font-weight: 500;
}

.xacnhan {
    background-color: #337ab7;
    color: white;
    border: none;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #333;
}

.nav-tabs .nav-link.active {
    border-bottom-color: #0d6efd;
    color: #0d6efd;
    font-weight: 600;
    background-color: transparent;
}

.tab-content {
    background-color: rgb(242 244 250);
}

.custom-tab-nav {
    display: flex;
    padding-left: 0;
    margin-bottom: -1px;
    border-bottom: 1px solid #ccc;
}

.custom-tab-nav .nav-link {
    color: #333;
    border: 1px solid transparent;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background-color: transparent;
    margin-right: 4px;
}

.custom-tab-nav .nav-link.active {
    background-color: #f0f3fa;
    border-color: #dee2e6 #dee2e6 #fff;
    color: #001f5f;
    font-weight: bold;
}

.tab-content {
    border: 1px solid rgb(8 31 77 / 1);
    padding: 16px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tab-title {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 16px;
}

h5 {
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #6d6e71;
    padding: 20px 0px;
    line-height: 1.4;
}
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #d6d8dc;
    font-size: 14px;
}
th,
td {
    border: 1px solid #d6d8dc;
    padding: 12px 16px;
    text-align: left;
    vertical-align: middle;
    color: #001f5f;
    font-weight: bold;
}
th {
    background-color: #f2f4f8;

    font-weight: bold;
    width: 30%;
    font-size: 16px;
}

tr:nth-child(even) td {
    background-color: #f9fbfd;
}

.color-text {
    color: #001f5f;
    font-weight: bold;
    padding: 12px;
    font-size: 26px;
}

.news-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.news-card {
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: white;
    transition: 0.3s;
}

.news-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.hover-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    transition: bottom 0.4s ease;
    font-size: 12px;
}

.hover-overlay span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 2px;
}

.hover-overlay span:hover {
    background-color: rgba(14, 14, 14, 0.1);
}

.news-image-container:hover .hover-overlay {
    bottom: 0;
}

.news-content {
    display: flex;
    padding: 10px;
}

.news-date {
    background: #666;
    color: white;
    text-align: center;
    padding: 10px 8px;
    margin-right: 10px;
}

.news-date .day {
    font-size: 20px;
    font-weight: bold;
}

.news-date .month {
    font-size: 12px;
}

.news-text {
    flex: 1;
}

.news-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
    color: #6d6e71;
}

.news-meta {
    font-size: 12px;
    color: #6d6e71;
    margin-bottom: 6px;
}

.news-desc {
    font-size: 13px;
    color: #001f5f;
    padding: 20px;
}

/* Tối ảnh khi hover */
.news-image-container:hover img {
    filter: brightness(60%);
    transform: scale(1.03);
}

.danhgia {
    font-size: 12px;
}

/* Parallax */
.section-parallax {
    position: relative;
    height: 150px;
    background-image: url("../img/sieu-xe-bmw-2.jpg"); /* THAY = ảnh bạn có */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lớp phủ đen mờ */
.section-parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Chữ ở giữa */
.section-parallax .parallax-text {
    position: relative;
    color: #fff;
    font-size: 13px;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.parallax-text a {
    text-decoration: none;
    color: #fff;
}

.parallax-text .title {
    font-size: 25px;
}

/* Parallax */
.section-paralla {
    position: relative;
    height: 300px;
    background-image: url("../img/bg_counter.webp"); /* THAY = ảnh bạn có */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lớp phủ đen mờ */
.section-paralla .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.section-paralla .parallax-text {
    position: relative;
    color: #fff;
    font-size: 13px;
    text-align: center;
    width: 100%;
    padding: 20px;
    z-index: 1;
}

.containe {
    padding: 50px 50px;
}
.containerr {
    max-width: 100%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.controls {
    margin-bottom: 20px;
}
.controls label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #001f5f;
    font-size: 14px;
}
.controls select {
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    max-width: 100%;
    width: 100%;
    font-size: 14px;
    color: #7d7d7d;
}
.map {
    text-align: center;
}
.map img {
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.footer {
    background-color: #fff;
    padding: 40px 20px 20px;
    border-top: 1px solid #ccc;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin: 10px 20px;
}

.footer-col img.logo {
    width: 200px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #555;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.footer-bottom .certify img {
    margin: 10px 0;
}

.footer-bottom a {
    color: #555;
    margin: 0 5px;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.facebook-embed {
    width: 100%;
    max-width: 340px;
    height: 130px;
    background: #eee;
    border: 1px solid #ccc;
}

.contact-floating {
    position: fixed;
    right: 15px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.contact-btn {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: all 0.3s;
}

.contact-btn:hover {
    background-color: #f0f0f0;
}

.contact-btn img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #656565;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.contact-floating span {
    color: #007bff;
}

.sidebar {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.filter-title {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    background: #6d6e71;
    color: white;
    font-size: 16px;
}

.filter-item {
    list-style: none;
    padding: 0;
}

.filter-item a {
    text-decoration: none;
}

.filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    width: 100%;
    color: #6d6e71;
}

.filter-child {
    display: none;
    list-style: none;
    padding-left: 15px;
}

.filter-parent a {
    color: #6d6e71;
}

.filter-child.active {
    display: block;
}

.filter-toggle {
    cursor: pointer;
}

.filter-parent {
    padding: 13px 18px;
    font-size: 14px;
    border-bottom: 1px dashed #afafb0;
}

.filter-child li {
    list-style-type: none;
    color: #6d6e71;
    border-bottom: 1px dashed #afafb0;
    padding: 10px 0px;
    font-size: 14px;
}

.filter-child li:last-child {
    border-bottom: none;
}

.filter-child li a {
    color: #6d6e71;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    padding: 10px 0; /* thêm để mở rộng vùng bấm */
}

.filter-item a:hover {
    color: #007bff; /* đổi màu khi hover */
    font-weight: 500;
    transition: all 0.3s ease;
    transform: translateX(5px); /* trượt sang phải */
}

.text-size {
    font-size: 12px;
}

.price-display {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 12px;
    color: #495057;
    background-color: #e9ecef !important;
    font-size: 13px;
}
.price-range-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
    padding: 10px;
}

.range-container {
    position: relative;
    height: 40px;
}

.range-container input[type="range"] {
    position: absolute;
    width: 100%;
    height: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

/* Nền thanh trượt */
.range-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: #ddd;
    transform: translateY(-50%);
    border-radius: 5px;
    z-index: 1;
}

.range-container input[type="range"] {
    -webkit-appearance: none; /* Chrome, Safari, Opera */
    appearance: none; /* Tiêu chuẩn */
    width: 100%;
    height: 8px;
    background: transparent;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    margin: 0;
}

/* Nền thanh trượt */
.range-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: #ddd;
    transform: translateY(-50%);
    border-radius: 5px;
    z-index: 1;
}

/* Chrome, Safari, Opera - Thumb hình vuông màu đỏ */
.range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* bỏ style mặc định */
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgb(109, 110, 113); /* màu đỏ */
    cursor: pointer;
    border-radius: 0; /* vuông */
    border: none;
    pointer-events: all;
    position: relative;
    z-index: 3;
    margin-top: -6px; /* căn giữa thumb theo chiều dọc */
}

/* Firefox - Thumb hình vuông màu đỏ */
.range-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: rgb(109, 110, 113);
    cursor: pointer;
    border-radius: 0; /* vuông */
    border: none;
    pointer-events: all;
    position: relative;
    z-index: 3;
}

.toolbar {
    background: white;
    padding: 10px;
    margin-bottom: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar label {
    color: #001f5f;
    font-size: 13px;
    font-weight: lighter;
}

.toolbar select {
    font-size: 13px;
}
.view-toggle .btn {
    border-radius: 0;
}
.view-toggle .btn.active {
    background-color: #343a40;
    color: white;
}

/* Custom search input with icon */
.filter-group {
    position: relative;
}

.filter-group input {
    width: 100%;
    padding-right: 28px;
    padding-left: 8px;
    height: 32px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.filter-group i {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    color: red;
}

/* Highlight alternate rows */
table.dataTable tbody tr:nth-child(even) {
    background-color: #f4f6ff;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    white-space: nowrap;
    margin-right: 15px;
    color: #6d6e71;
}

.section-line {
    flex-grow: 1;
    height: 2px;
    background-color: #6d6e71;
}

.post-card {
    border: 1px solid #ddd;
    transition: box-shadow 0.3s ease-in-out;
    background-color: #fff;
}

.post-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
    width: 100%;
    height: auto;
}

.post-title {
    padding: 15px;
    text-align: center;
    font-size: 1.25rem;
    color: #555;
}

.article-meta {
    font-size: 0.9rem;
    color: #001f5f;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.article-meta .author {
    color: #28a745;
    font-weight: 500;
}

.article-meta .date i {
    margin-right: 5px;
}

.article-title {
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #6d6e71;
}

.article-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

h2,
h3,
h4 {
    margin-top: 30px;
}

.form-contact label {
    font-weight: 500;
    margin-bottom: 5px;
}

.form-contact input,
.form-contact textarea {
    font-size: 14px;
}

.form-contact button {
    background-color: #666;
    color: white;
    padding: 8px 20px;
    border: none;
    font-size: 14px;
}

.form-contact button:hover {
    background-color: #444;
}

.form-contact {
    font-size: 14px;
}

.form-contact .title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-contact p {
    font-size: 13px;
    color: #001f5f;
    margin-bottom: 15px;
}

.intro-section {
    text-align: center;
    max-width: 100%;

    border-radius: 20px;
}

.intro-section .aboutus {
    background-color: white;
    border-radius: 20px;
}

.intro-section h2 {
    font-size: 28px;
    font-weight: bold;
    font-style: italic;
    color: #6d6e71;
    padding: 10px 0px;
}

.intro-section .slogan {
    font-style: italic;
    color: #6d6e71;
    margin: 10px 0;
    padding: 10px 0px;
}

.intro-section .website {
    color: #6d6e71;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 10px 0px;
}

.intro-section .website {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.intro-section .website::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px; /* khoảng cách giữa chữ và gạch */
    width: 30px;
    height: 2px; /* độ dày gạch */

    background-color: #6d6e71; /* màu gạch */
}

.feature-boxes {
    text-align: center;
}

.feature-boxes img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.feature-boxes .box p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #6d6e71;
}

.feature-boxes .col-md-3 {
    border: 1px solid #bdbdbd;
    padding: 15px;
}

.feature-item .info-box {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #000000;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-item:hover .info-box {
    display: block;
}

.team-slider {
    max-width: 100%; /* 3 card x 300px mỗi card */
    overflow: hidden;
    margin: 10px 0;
    padding: 10px 0;
}
.team-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}
.team-card {
    flex: 0 0 31.5%; /* 1 card 300px */
    margin: 10px;
    background: #eee;
    border-radius: 8px;
    text-align: center;
}
.team-card img {
    width: 100%;
    border-radius: 8px;
}

.slider-wrapper {
    margin: 22px 0px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.team-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.team-container::-webkit-scrollbar {
    display: none;
}

.member {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

.member img {
    width: 100%;
   max-height: 400px;
    transition: transform 0.4s;
}

.member .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    opacity: 0;
    transition: 0.4s;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.member:hover .overlay {
    opacity: 1;
}

.member .overlay p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member .social-icons {
    display: flex;
    gap: 15px;
}

.member .social-icons a {
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.member .social-icons a:hover {
    color: #f7a392;
}

.member .name {
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
}

.member .role {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.slider-wrapper .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
}

.slider-wrapper .arrow.left {
    left: 0;
}

.slider-wrapper .arrow.right {
    right: 0;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

/* Spinner dạng chấm tròn chạy vòng */
.spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

/* Mỗi chấm tròn */
.spinner .dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #555, #222);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.7);
    opacity: 0.3;
    animation: fade 1.2s linear infinite;
}

/* Tạo 12 chấm, đặt ở góc 30 độ 1 lần = 360 độ */
.spinner .dot:nth-child(1) {
    top: 34px;
    left: 68px;
    animation-delay: 0s;
}
.spinner .dot:nth-child(2) {
    top: 22px;
    left: 62px;
    animation-delay: 0.1s;
}
.spinner .dot:nth-child(3) {
    top: 14px;
    left: 52px;
    animation-delay: 0.2s;
}
.spinner .dot:nth-child(4) {
    top: 10px;
    left: 40px;
    animation-delay: 0.3s;
}
.spinner .dot:nth-child(5) {
    top: 14px;
    left: 28px;
    animation-delay: 0.4s;
}
.spinner .dot:nth-child(6) {
    top: 22px;
    left: 18px;
    animation-delay: 0.5s;
}
.spinner .dot:nth-child(7) {
    top: 34px;
    left: 12px;
    animation-delay: 0.6s;
}
.spinner .dot:nth-child(8) {
    top: 46px;
    left: 18px;
    animation-delay: 0.7s;
}
.spinner .dot:nth-child(9) {
    top: 54px;
    left: 28px;
    animation-delay: 0.8s;
}
.spinner .dot:nth-child(10) {
    top: 58px;
    left: 40px;
    animation-delay: 0.9s;
}
.spinner .dot:nth-child(11) {
    top: 54px;
    left: 52px;
    animation-delay: 1s;
}
.spinner .dot:nth-child(12) {
    top: 46px;
    left: 62px;
    animation-delay: 1.1s;
}

@keyframes fade {
    0%,
    39%,
    100% {
        opacity: 0.3;
    }
    40% {
        opacity: 1;
    }
}

/* Chữ nhẹ nhàng dưới spinner */
#loader span {
    margin-top: 24px;
    font-size: 1.25rem;
    color: #666;
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* Ẩn loader với hiệu ứng mờ */
#loader.fadeout {
    opacity: 0;
    pointer-events: none;
}

/* Nội dung chính */
#content {
    opacity: 0;
    transition: opacity 1s ease;
    padding: 3rem 1.5rem;
    max-width: 680px;
    margin: 7rem auto;
    color: #333;
    text-align: center;
}

#content.visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .member {
        flex: 0 0 80%;
    }
    .section-paralla {
        height: 500px;
    }

    .feature-boxes .col-md-3 {
        width: 25%;
    }
}

/* Mobile - chỉ hiện icon */
@media (max-width: 576px) {
    .logo-wrapper::before,
    .logo-wrapper::after {
        content: none;
    }
    .contact-btn span {
        display: none;
    }

    .contact-btn {
        justify-content: center;
        width: 45px;
        height: 45px;
        padding: 0;
    }

    .contact-btn img {
        margin: 0;
    }

    .section-bor h5 {
        font-size: 18px;
    }
    .btn-xe-moi {
        width: 100%;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .nav-arrow.left {
        left: 10px;
    }

    .carousel-wrapper {
        padding: 0;
    }

    .containe {
        padding: 50px 10px;
    }

    .detail {
        display: none;
    }

    .thumb-img {
        width: 50px;
        height: 50px;
    }

    .btnpoint {
        width: 35px; /* Chiều rộng */
        height: 35px; /* Chiều cao */
    }

    .btnpoint i {
        font-size: 10px;
    }

    .vehicle-card {
        border-radius: 0;
        box-shadow: none;
        background-color: #fff;
        padding: 0px;
    }

    .view-toggle #gridView,
    #listView {
        display: none;
    }

    .feature-item p {
        display: none;
    }
}

@media (max-width: 991px) {
    .menu-right {
        display: none;
    }
    .main-menu {
        display: none;
        width: 100%;
        background: #333;
        color: white;
    }

    .main-menu.active {
        display: block;
        padding: 10px 0;
    }

    .main-menu .menu-container {
        display: flex;
        flex-direction: column;
        padding: 0 15px;
    }

    .main-menu ul.menu-left {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .main-menu .dropdown-menu a,
    .sub-menu a {
        color: white;
    }

    .main-menu ul.menu-left > li {
        width: 100%;
        border-bottom: 1px solid #444;
    }

    .main-menu ul.menu-left > li > a {
        display: block;
        padding: 12px 10px;
        text-decoration: none;
        color: #fff;
        width: 100%;
        text-align: left; /* <-- canh trái */
    }

    .menu-container {
        display: flex;
        justify-content: flex-start; /* <-- canh trái */
        align-items: flex-start; /* <-- nếu muốn các item nằm trên cùng */
        flex-direction: column; /* <-- đặc biệt nếu bạn muốn nó xuống hàng như mobile */
        width: 100%;
    }

    .main-menu .dropdown-menu,
    .main-menu .sub-menu {
        display: none;
        padding-left: 20px;
        background: #444;
    }

    .main-menu .dropdown.active > .dropdown-menu,
    .main-menu .submenu.active > .sub-menu {
        display: block;
    }

    .main-menu .menu-right {
        margin-top: 15px;
    }

    sub-menu a.white-link:hover {
        color: white;
    }

    .search-box {
        margin-top: 10px;
    }

    .search-box input {
        width: 100%;
        padding: 6px;
    }

    .hotlines span {
        display: block;
        margin-top: 10px;
        color: white;
    }

    .custom-btn {
        font-weight: bold;
        border-radius: 0;
    }

    .padding-top {
        padding-top: 10px;
    }
}
