.hero-slider-section {
    position: relative;
    overflow: hidden;
    background: #111;
}
.hero-swiper {
    width: 100%;
    height: 668px; /* Cố định chiều cao 668px trên màn hình máy tính (Desktop/Laptop) */
}
.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
.hero-swiper .slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hiển thị tràn viền, loại bỏ hoàn toàn viền xanh thừa */
    background: #14397B; /* Nền xanh Geely làm màu dự phòng */
    object-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
    z-index: 5;
}
.hero-overlay * { pointer-events: auto; }

.hero-search-box {
    background: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg); 
    display: flex; padding: 6px;
    width: 100%; max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.hero-search-box select { 
    border: none; outline: none; padding: 12px 15px; flex: 1; font-weight: 600; font-family: inherit;
    background: transparent;
    color: #fff;
}
.hero-search-box select option {
    color: #333; /* Dark text for dropdown items in select */
}

.swiper-button-next, .swiper-button-prev { color: #fff; }

/* Custom Horizontal Bar Pagination */
.hero-swiper .swiper-pagination-bullet {
    width: 25px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
    width: 50px;
    opacity: 1;
    background: var(--clr-primary);
}

.feature-icons-bar {
    background: transparent; /* Hoàn toàn trong suốt để hình ảnh banner làm nền */
    backdrop-filter: none;
    color: #fff;
    padding: 20px 0 30px 0; /* Tăng padding bottom một chút cho thoáng bố cục */
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    border-top: none; /* Loại bỏ viền trên để hòa nhập vào banner */
}

.hero-container {
    position: relative;
    height: 100%;
}

.hero-content-wrap {
    position: absolute;
    top: 150px;
    left: 15px;
    z-index: 10;
}

.hero-title {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.feature-icon {
    font-size: 30px;
    filter: drop-shadow(0 0 5px var(--clr-primary));
}

.feature-icons-bar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.hero-feature-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dual Light Running Border Effect - Optimized for Rectangles */
.hero-feature-item::before {
    content: "";
    position: absolute;
    /* Dùng hình vuông lớn để khi xoay tia sáng sẽ quét qua toàn bộ các góc */
    width: 400px; 
    height: 400px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        #fff 8deg,
        transparent 16deg,
        transparent 180deg,
        #fff 188deg,
        transparent 196deg,
        transparent 360deg
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: border-rotate-rect 15s linear infinite; /* Chậm hơn nữa để cực kỳ tinh tế */
    z-index: 0;
    opacity: 1;
    filter: blur(1px);
}

@keyframes border-rotate-rect {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-feature-item::after {
    content: "";
    position: absolute;
    inset: 1px; /* Giảm độ dày đường viền xuống còn 1px */
    background: rgba(0, 0, 0, 0.45); /* Nền kính mờ trong suốt thay vì đen đặc #111 */
    backdrop-filter: blur(10px); /* Kính mờ siêu sang giúp nổi bật văn bản trên mọi nền ảnh */
    border-radius: 11px;
    z-index: 1;
}

.hero-feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.hero-feature-item:hover::after {
    background: rgba(26, 26, 26, 0.65); /* Tăng độ sáng mờ nhẹ khi hover */
}

.hero-feature-item > div {
    position: relative;
    z-index: 2;
}

.hero-feature-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-feature-item p {
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

@keyframes border-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .hero-swiper {
        height: 450px; /* Chiều cao cố định tối ưu trên Tablet */
    }
    .hero-overlay { background: rgba(0,0,0,0.4); }
    .hero-content-wrap {
        top: 80px; /* Đẩy khung tìm kiếm lên trên một chút để không bị chồng đè */
    }
    .feature-icons-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: transparent; /* Nền trong suốt để lộ ảnh banner */
        backdrop-filter: none;
        padding: 15px 0 25px 0;
        z-index: 10;
        border-top: none;
    }
    .feature-icons-bar .container { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hero-feature-item { padding: 8px 15px; }
    .hero-feature-item h4 { font-size: 13px; }
    .hero-feature-item p { font-size: 11px; }
}

@media (max-width: 575px) {
    .hero-swiper {
        min-height: 420px;
    }
    .hero-content-wrap {
        top: 60px;
    }
    .feature-icons-bar .container { 
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .hero-feature-item {
        padding: 6px 10px;
        gap: 8px;
    }
    .hero-feature-item h4 { font-size: 11px; }
    .hero-feature-item p { font-size: 9px; }
    .feature-icon { font-size: 20px; }
}
