  /* =========================================================
   VEHICLE CARD
========================================================= */
.vehicle-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-5px);
}

.vehicle-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.vehicle-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.vehicle-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.vehicle-price {
    font-size: 28px;
    font-weight: 800;
    color: #0d6efd;
}

.offer-badge {
    background: #dc3545;
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.feature-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.feature-item {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 4px;
}

.login-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
}

/* =========================================================
   NAVBAR DROPDOWN FIX
========================================================= */
.navbar .dropdown-menu {
    display: none;
    margin-top: 0;
}

.navbar .nav-item > .dropdown-menu {
    display: none;
}

.navbar .nav-item:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > .dropdown-item::after {
    content: "›";
    float: right;
    font-size: 14px;
}

/* =========================================================
   USER DASHBOARD
========================================================= */
.user-dashboard-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.welcome-subtitle {
    color: #666;
    font-size: 15px;
}

.user-menu-btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
}

/* =========================================================
   SEARCH ENGINE (IMPORTANT FIX AREA)
========================================================= */
.search-engine-box {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 24px; /* reduced from 30 */
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);

    /* CRITICAL FIX */
    position: relative;
    z-index: 20;
    overflow: visible;
}

.search-input {
    height: 55px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
}

.search-btn {
    height: 55px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
}

/* =========================================================
   PASSENGER DROPDOWN (FIXED STABILITY)
========================================================= */

/* dropdown must NOT be clipped */
.search-engine-box .dropdown {
    position: relative;
}

/* IMPORTANT: prevents overlap issues */
.search-engine-box .dropdown-menu {
    position: absolute !important;
    z-index: 9999 !important;
    width: 100%;
    min-width: 260px;
    max-height: 320px;
    overflow-y: auto;

    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* compact spacing inside dropdown */
.passenger-menu .d-flex {
    margin-bottom: 10px;
}

.passenger-menu .d-flex:last-child {
    margin-bottom: 0;
}

.passenger-minus,
.passenger-plus {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
}

/* =========================================================
   HERO SPACING (REDUCED HEIGHT)
========================================================= */
.hero-mini {
    padding-top: 100px;   /* reduced */
    padding-bottom: 25px; /* reduced */
    margin-bottom: 20px;
}

.hero-mini-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {

    .hero-mini {
        padding-top: 90px;
        padding-bottom: 20px;
    }

    .hero-mini-title {
        font-size: 28px;
    }

    .search-engine-box {
        padding: 18px;
    }

    .search-engine-box .dropdown-menu {
        max-height: 260px;
    }
}