:root {
    --primary-blue: #0056b3;
    /* Xanh dương tin cậy */
    --safe-green: #28a745;
    /* Xanh lá an toàn */
    --soft-bg: #f0f4f8;
    --text-dark: #2d3436;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--soft-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar tinh gọn */
/* .navbar {
    background: white !important;
    border-bottom: 2px solid #eef2f7;
    padding: 0.7rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    margin: 0 5px;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue) !important;
    background: #e7f1ff;
    border-radius: 8px;
    cursor: pointer;
} */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9), rgba(40, 167, 69, 0.8)),
        url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* Card Layout mới */
.card-custom {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-8px);
}

.img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-action {
    background-color: var(--safe-green);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    transition: background 0.2s;
}

.btn-action:hover {
    background-color: #218838;
    color: white;
}

/* Section Title */
.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--safe-green);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Category Icons */
.cat-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.1);
}

.cat-icon {
    width: 70px;
    height: 70px;
    background: var(--soft-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.page-content {
    padding: 40px 0;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content.active {
    display: block;
}

/* Footer Modern */
footer {
    background: #1e272e;
    color: #d2dae2;
    padding: 60px 0 20px;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-link {
    color: #d2dae2;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--safe-green);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        border-radius: 0;
    }

    .section-title {
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Filter Header Nâng cấp */
.filter-header {
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.search-input-group {
    background: var(--soft-bg);
    border-radius: 14px;
    padding: 4px 15px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.search-input-group:focus-within {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.search-input-group input {
    background: transparent;
    border: none;
    padding: 10px;
    box-shadow: none !important;
}

.filter-select {
    background-color: var(--soft-bg);
    border-radius: 14px;
    border: 1px solid transparent;
    padding: 12px 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:focus {
    background-color: white;
    border-color: var(--primary-blue);
}

/* Tech info list */
.car-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 15px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #636e72;
}

.info-item i {
    color: var(--primary-blue);
    width: 16px;
}

.btn-action {
    background-color: var(--safe-green);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 16px;
    font-weight: 700;
    width: 100%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-action:hover {
    background-color: #1e7e34;
    transform: scale(1.02);
    color: white;
}

/* Section Title */
.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--safe-green);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Consultation Section */
.consultation-section {
    background: white;
    padding: 60px 0;
    margin-top: 40px;
    border-radius: 30px 30px 0 0;
}

@media (min-width: 992px) {
    .consultation-section {
        padding: 100px 0;
        border-radius: 80px 80px 0 0;
    }
}

.form-control-custom {
    background-color: var(--soft-bg);
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 12px 18px;
    transition: all 0.3s;
}

.form-control-custom:focus {
    background-color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

/* Circle Icons Fix */
.icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    /* Tránh bị méo */
    min-height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Không cho phép co lại */
}