.brand-title {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.brand-subtitle {
    color: var(--gray);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(33, 33, 33, 0.85), rgba(33, 33, 33, 0.9)),
                url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2') center/cover;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(33, 33, 33, 0.4) 0%,
        rgba(33, 33, 33, 0.2) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-breadcrumb i {
    font-size: 0.8rem;
    color: var(--gold);
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: var(--gold);
}

.hero-breadcrumb span {
    color: var(--gold);
    font-weight: 500;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.hero-subtitle-divider {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.8;
}

.search-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.stat-item i {
    color: var(--gold);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 100px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 10px;
    }

    .hero-subtitle-divider {
        display: none;
    }

    .search-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* Search Bar */
.search-bar {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: -60px;
    position: relative;
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.04);
}

.search-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.search-detail {
    position: relative;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--light-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.search-detail::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.search-detail:hover::after {
    transform: scaleX(1);
}

.search-detail-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-detail-icon i {
    color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0.9;
}

.search-detail-text {
    flex: 1;
}

.search-detail-text small {
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.search-detail-text strong {
    color: var(--dark-color);
    font-size: 1rem;
    display: block;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Filters */
.filters {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.filter-reset {
    color: var(--gray);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.filter-group-title {
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 500;
    margin: 0;
}

.filter-group-count {
    background: var(--light-gray);
    color: var(--gray-dark);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
    background: var(--light-gray);
}

.checkbox-wrapper:last-child {
    margin-bottom: 0;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    background: var(--white);
}

.custom-checkbox i {
    color: white;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.checkbox-wrapper input {
    display: none;
}

.checkbox-wrapper input:checked + .custom-checkbox {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-wrapper input:checked + .custom-checkbox i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-label {
    color: var(--gray-dark);
    font-size: 0.95rem;
    user-select: none;
}

.checkbox-count {
    color: var(--gray);
    font-size: 0.85rem;
}

.filter-range {
    padding: 0 10px;
}

.range-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.range-value {
    background: var(--light-gray);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
}

.range-slider {
    position: relative;
    height: 4px;
    background: var(--light-gray);
    border-radius: 2px;
    margin-bottom: 20px;
}

.range-progress {
    position: absolute;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    left: 25%;
    right: 25%;
}

.range-handle {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid var(--primary-color);
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.range-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.range-handle.left {
    left: 25%;
}

.range-handle.right {
    left: 75%;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    background: var(--light-gray);
    color: var(--gray-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.filter-tag:hover {
    background: var(--primary-color);
    color: white;
}

.filter-tag.active {
    background: var(--primary-color);
    color: white;
}

.btn-filter {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-filter i {
    font-size: 1.1rem;
}

/* Vehicle Cards */
.vehicle-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    max-height: 400px;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.vehicle-image {
    width: 280px;
    position: relative;
    overflow: hidden;
}

.vehicle-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(125, 25, 53, 0.3);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vehicle-type i {
    font-size: 0.9rem;
}

.route-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--dark-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.route-info i {
    color: var(--primary-color);
    font-size: 1rem;
}

.route-info .route-distance {
    margin-left: auto;
    background: var(--light-gray);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--gray-dark);
}

.vehicle-details {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vehicle-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 15px;
}

.vehicle-title-group h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.vehicle-subtitle {
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vehicle-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    background: var(--light-gray);
    padding: 5px 10px;
    border-radius: 15px;
}

.vehicle-rating i {
    color: var(--gold);
    font-size: 0.9rem;
}

.vehicle-rating span {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.vehicle-rating small {
    color: var(--gray);
    font-size: 0.75rem;
    margin-left: 3px;
}

.vehicle-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: auto;
    overflow-y: auto;
    max-height: 120px;
    padding-right: 5px;
}

.vehicle-features::-webkit-scrollbar {
    width: 4px;
}

.vehicle-features::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.vehicle-features::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-dark);
    font-size: 0.85rem;
    padding: 8px 12px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.feature-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.feature-item:hover i {
    color: var(--white);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.vehicle-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-amount small {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: normal;
}

.btn-select {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-select:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(125, 25, 53, 0.3);
}

.btn-select i {
    font-size: 1rem;
}

@media (max-width: 991px) {
    .vehicle-card {
        flex-direction: column;
        max-height: none;
    }

    .vehicle-image {
        width: 100%;
        height: 200px;
    }

    .vehicle-features {
        grid-template-columns: repeat(2, 1fr);
        max-height: none;
    }

    .vehicle-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .btn-select {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .search-bar {
        padding: 25px;
    }

    .search-info {
        gap: 15px;
    }

    .search-detail {
        padding: 12px 15px;
    }
}

/* Enhanced Search Box Responsive from index.css */
.search-box-wrapper {
    position: relative;
    margin-top: -50px;
    padding: 0 15px;
    z-index: 100;
}

.search-box {
    background: var(--light-color);
    box-shadow: var(--shadow-lg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(125, 25, 53, 0.1);
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-item {
    flex: 1;
    min-width: 200px;
}

.search-item label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-dark);
}

.btn-search {
    height: 50px;
    padding: 0 30px;
    white-space: nowrap;
    width: auto;
    min-width: 160px;
}

/* Trip Type Selection */
.trip-type-selection {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    justify-content: center;
}

.trip-type-option {
    position: relative;
}

.trip-type-option input[type="radio"] {
    display: none;
}

.trip-type-option label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 0.9rem;
    min-width: 120px;
    justify-content: center;
}

.trip-type-option label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.trip-type-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary-color);
}

.trip-type-option input[type="radio"]:checked + label i {
    color: var(--primary-color);
}

/* Desktop Search Box */
.desktop-search-wrapper {
    border-top: 1px solid rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.desktop-search-wrapper .container {
    max-width: none;
    width: 80%;
}

/* Mobile Search Box */
.mobile-search-wrapper {
    display: none;
    padding: 0 15px;
    margin-top: -50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 99;
}

/* Common Search Box Styles */
.mobile-search-wrapper .search-box {
    margin-bottom: 0;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
    z-index: 1;
}

.search-input-wrapper .fa-chevron-down {
    left: auto;
    right: 15px;
    font-size: 12px;
    color: var(--gray);
}

.search-box .form-control,
.search-box .form-select,
.search-box .passenger-trigger {
    height: 50px;
    border-radius: 10px;
    border: 2px solid var(--light-gray);
    padding: 10px 15px 10px 45px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: white;
    color: var(--gray-dark);
}

.search-box .passenger-trigger {
    padding-right: 35px;
    margin: 0;
    height: auto;
    min-height: 50px;
}

.search-box .form-control:focus,
.search-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(125, 25, 53, 0.15);
}

.btn-search {
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    justify-content: center;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Passenger Select Styles */
.passenger-select {
    position: relative;
}

.passenger-trigger {
    cursor: pointer;
    user-select: none;
    padding-right: 15px;
}

.passenger-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.1);
    min-width: 280px;
}

.passenger-select.active .passenger-dropdown {
    display: block;
}

.passenger-type {
    padding: 10px 0;
}

.passenger-type h6 {
    color: var(--dark-color);
    font-weight: 600;
}

.passenger-type small {
    font-size: 0.8rem;
}

.btn-counter {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.btn-counter i {
    position: static;
    transform: none;
    font-size: 12px;
    display: inline-block;
    line-height: 1;
}

.btn-counter:hover {
    background: var(--primary-color);
    color: white;
}

.btn-counter.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--gray);
    color: var(--gray);
}

.passenger-count {
    font-weight: 600;
    color: var(--dark-color);
    min-width: 20px;
    text-align: center;
}

/* Autocomplete Dropdown Styles */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #f8f9fa;
    color: #007bff;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

/* Input focus styles */
#start_location:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Responsive Adjustments for Search Box */
@media (max-width: 991px) {
    .search-box-wrapper {
        margin-top: 20px;
    }

    .search-row {
        flex-direction: column;
    }

    .search-item {
        width: 100%;
    }

    .btn-search {
        width: 100%;
    }

    .mobile-search-wrapper {
        display: block;
    }

    .desktop-search-wrapper {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 20px;
        display: block;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .search-box-wrapper {
        display: none;
    }

    .mobile-search-trigger {
        display: flex;
    }

    .autocomplete-dropdown {
        max-height: 150px;
    }
    
    .autocomplete-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    .mobile-search-wrapper {
        display: none;
    }

    .search-item {
        min-width: 180px;
    }

    .btn-search {
        margin-top: 24px;
    }
}