/* Hero Section */
.car-rentals-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--background-color);
    padding: 60px 0;
    position: relative;
    /*overflow: hidden;*/
}

.car-rentals-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/eReserveDesk-banner.webp') bottom center/cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-body {
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: 20px 0;
    z-index: unset;
}

.hero-content .title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--background-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.hero-feature svg {
    fill: var(--accent-color);
}

.hero-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Form Styles - Fixed for datepicker */
.car-rentals-form-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
}

.car-rentals-form-section form {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}

.car-rentals-form-section .input-group {
    flex: 0 0 auto;
    min-width: 200px;
    margin-bottom: 0;
}

.search_location[disabled] {
    opacity: 0.4;
}

.car-rentals-form-section .input-group .datepicker{
    display: block;
    width: 100%;
}

.car-rentals-form-section .input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.car-rentals-form-section .input-group input,
.car-rentals-form-section .input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px !important;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--background-color);
}

.car-rentals-form-section .input-group input:focus,
.car-rentals-form-section .input-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

/* Datepicker wrapper fix */
.datepicker-wrapper {
    position: relative;
    width: 100%;
}

.datepicker-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--background-color);
}

.datepicker-wrapper input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

.trip-type {
    flex: 1;
    display: flex;
    min-width: 200px;
    gap: 10px;
}

.trip-button {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    background-color: transparent;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.trip-button.active,
.trip-button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.search_location_wrapper {
    position: relative;
}

.loading-results {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(15%);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in;
    color: #333;
}

.loading-results.loading {
    opacity: 1;
    visibility: visible;
}

span.location_suggestion_err {
    position: absolute;
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: #e24;
    z-index: 1;
    margin-bottom: 5px;
    top: 100%;
}

ul.suggestionsList {
    margin: 0;
    list-style: none;
    position: absolute;
    background: var(--background-color);
    padding: 5px 0px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    top: 99%;
    max-height: 200px;
    overflow: auto;
    width: 100%;
    z-index: 4;
    border-radius: 8px;
}

ul.suggestionsList:empty {
    display: none;
}

ul.suggestionsList.hide {
    display: none;
}

ul.suggestionsList li {
    cursor: pointer;
    padding: 10px 15px;
    transition: background-color 0.2s ease;
    color: var(--primary-color);
}

ul.suggestionsList li:not(:last-child) {
    border-bottom: 1px solid #eee;
}

ul.suggestionsList li:hover {
    background: var(--light-gray);
}

.explore-button-wrapper {
    display: flex;
    align-items: flex-end;
    min-width: 200px;
}

.explore-button {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.explore-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #F5E7A9 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--accent-color);
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.bg-section {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Destination Cards - Fixed */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all .4s ease;
    height: 100%;
    box-shadow: 
        0 8px 30px rgba(0,0,0,0.06),
        0 2px 10px rgba(212,175,55,0.05);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 18px 45px rgba(0,0,0,0.12),
        0 4px 15px rgba(212,175,55,0.08);
}

.destination-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.destination-card:hover .destination-img {
    transform: scale(1.06);
}

.destination-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28,28,28,.82) 8%,
        rgba(28,28,28,.22) 45%,
        transparent
    );
}

.destination-price {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    padding: 10px 15px;
    border-radius: 14px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .3px;
}

.destination-top-content {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 2;
}

.destination-content{
	padding: 0.5rem 1.5rem;
}

.destination-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.1;
    letter-spacing: -.5px;
}
.destination-title a{
	color: #fff;
	text-decoration: none;
}
.destination-content .destination-title{
	color: var(--primary-color);
}

.destination-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.82);
    font-size: .88rem;
    font-weight: 400;
}

.destination-location svg {
    fill: var(--accent-color);
    width: 0.9em;
    height: 0.9em;
}

.destination-bottom {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.destination-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #D4AF37;
    font-weight: 700;
    font-size: .9rem;
}

.destination-rating svg {
    width: 0.82em;
    height: 0.82em;
}

.btn-destination {
    border: none;
    background: #1C1C1C;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: all .35s ease;
}

.btn-destination:hover {
    background: #D4AF37;
    color: #1C1C1C;
    transform: translateY(-3px);
}

@media(max-width:768px){

    .destination-img-wrapper {
        height: 200px;
    }

    .destination-title {
        font-size: 1.45rem;
    }

    .destination-bottom {
        padding: 16px 18px;
    }

}
.btn-view-all {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Category Tabs */
.category-tabs {
    margin-bottom: 3rem;
}

.nav-pills .nav-link {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    padding: 10px 25px;
    margin: 0 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.nav-pills .nav-link:hover {
    background: var(--secondary-color);
    color: var(--background-color);
}

/* Car Cards */
/* Process Cards - Replacing Offer Cards */
.process-card {
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent-color);
}

.process-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.btn-process {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-process:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

/* Service Addons */
.service-addon {
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-addon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.service-addon h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.addon-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.addon-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.addon-features li {
    padding: 5px 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.btn-addon {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-addon:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Features Section */
.feature-box {
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.feature-box h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--secondary-color);
}

/* Services Section */
.service-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Travel Benefits Section - Replacing Membership */
.benefit-card {
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-card.featured {
    border: 2px solid var(--accent-color);
}

.benefit-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
}

.benefit-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.benefit-features svg {
    fill: var(--accent-color);
    width: 1em;
    height: 1em;
}

/* Testimonials Section */
.testimonial-card {
    background: var(--background-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--secondary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h6 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.rating {
    color: var(--accent-color);
}

/* FAQ Section */
.accordion-item {
    background: var(--background-color);
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: var(--background-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--background-color);
    color: var(--accent-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231C1C1C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4AF37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    color: var(--secondary-color);
}

/* Final Call to Action Section */
.final-cta-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    color: var(--background-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--background-color);
}

.final-cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.final-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.final-cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.final-cta-feature svg {
    fill: var(--accent-color);
}

.btn-final-cta {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
}

.btn-final-cta:hover {
    background: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
}

.final-cta-contact {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.final-cta-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.final-cta-contact a:hover {
    color: var(--background-color);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .hero-content .title {
        font-size: 2rem;
    }
    
    .hero-form-container {
        margin-top: 2rem;
    }
    
    .car-rentals-form-section form {
        flex-direction: column;
    }
    
    .car-rentals-form-section .input-group,
    .trip-type,
    .explore-button-wrapper {
        width: 100%;
        margin: 0 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .final-cta-container {
        padding: 2rem 1.5rem;
    }
    
    .final-cta-title {
        font-size: 1.8rem;
    }
    
    .final-cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefit-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media screen and (max-width: 520px) {
    .car-rentals-hero{
        padding: 10px 0;
    }
    
    .hero-content{
        padding-top: 0;
    }
    .car-rentals-form-section form {
        width: 100%;
        flex-flow: column wrap;
    }

    .input-group {
        margin: 0 0 10px;
    }

    .explore-button {
        width: 100%;
    }

    .input-group label {
        display: none;
    }

    input.has-error {
        margin-bottom: 20px;
    }

    span.location_suggestion_err {
        bottom: -10px;
    }

    .loading-results {
        transform: translateY(-50%);
    }
}

/* Modern Search Results Page Styles */

/* Hero Section */
.search-hero {
    background: linear-gradient(135deg, #1C1C1C 0%, #2E2E2E 100%);
    padding: 40px 0;
    position: relative;
    /*overflow: hidden;*/
}

.search-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1550355291-bbee04a92027?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.search-hero-content {
    position: relative;
    z-index: 1;
/*     text-align: center; */
    color: #FFFFFF;
}

.search-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.search-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.search-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Results Section */
.search-results-section {
    padding: 60px 0;
    background: #F8F9FA;
    min-height: 60vh;
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.results-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0;
}

.results-count {
    color: #666;
    margin: 5px 0 0;
    font-size: 1rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #FFFFFF;
    border: 2px solid #D4AF37;
    border-radius: 12px;
    color: #1C1C1C;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Results Grid */
.results-grid {
    display: grid;
    gap: 30px;
}

/* =========================================
   MODERN CAR RESULT CARD - FULLY RESPONSIVE
   ========================================= */

.car-result-card {
    display: flex;
    flex-direction: column;
    background: var(--background-color);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.car-result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* CARD HEADER */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.header-left { flex: 1; }

.header-left h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.car-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
    font-weight: 500;
    display: block;
}

/* Rating */
.supplier-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.rating-score {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-color);
    background: rgba(212, 175, 55, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.rating-text {
    color: #666;
    font-weight: 500;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.car-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    justify-content: flex-end;
}

.car-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.badge-success {
    background-color: #e6f4ea;
    color: #198754;
    border-color: #19875433;
}

.badge-discount {
    background-color: #fff0f0;
    color: #d32f2f;
    border-color: #d32f2f33;
}

.badge-eco {
    background-color: #f8f9fa;
    color: #0d6efd;
    border-color: #0d6efd33;
}

.supplier-logo {
/*     max-height: 32px; */
    width: auto;
    opacity: 0.9;
    max-width: 100px;
    object-fit: contain;
}

/* CARD BODY (Grid: Image + Content) */
/* .card-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* 40% Image, 60% Content 
    gap: 24px;
    padding: 24px;
} */

/* Image Section */
.car-image-section {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.car-image {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Hover effect on Image */
.car-result-card:hover .car-image {
    transform: scale(1.05);
}

/* Floating Tags on Image */
.eco-tag, .unlimited-tag {
    position: absolute;
    z-index: 2;
    background: rgba(28, 28, 28, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.eco-tag { top: 15px; left: 15px; }
.unlimited-tag { top: auto; bottom: 15px; left: 15px; }

/* Content Details */
.car-content-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Specs List */
.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    color: #555;
    align-items: center;
}

.car-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.car-specs .separator {
    margin: 0 6px;
    color: #e0e0e0;
    font-size: 0.8rem;
}

/* Location Box */
.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    padding: 10px;
    background: #f8f9fa;
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    margin-top: 5px;
}

/* Freebies */
.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.freebie-item {
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    background: rgba(28, 28, 28, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
}

/* CARD FOOTER */
.car-pricing-section {
    padding: 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 0 0 12px 12px; /* Rounded bottom corners */
}

.pricing-container {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.pricing-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    display: flex;
    align-items: baseline;
}

.old-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.pricing-footer {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.discount-label {
    color: #d32f2f;
    font-weight: 600;
    font-size: 0.85rem;
}

.pay-when {
    background: #FFF8E1;
    color: #d32f2f;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Book Now Button */
.book-now-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.book-now-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* =========================================
   RESPONSIVENESS
   ========================================= */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }

    .card-body {
        grid-template-columns: 1fr 1fr; /* 50/50 Split */
    }
    
    .car-image-section {
        min-height: 180px; /* Slightly smaller image on tablet */
        padding: 15px;
    }

    .card-header {
        flex-direction: column;
        gap: 12px;
    }

    .header-right {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

/*     .supplier-logo {
        max-height: 28px;
    } */

    .car-badges {
        margin-bottom: 12px;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .car-result-card {
        height: auto; /* Let height be determined by content */
        margin-bottom: 24px;
    }

    .card-body {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .car-image-section {
        order: -1; /* Move image to top on mobile if desired, or leave as is if content should be top. Default here keeps content top. */
        width: 100%;
        min-height: 250px;
        border-radius: 12px 12px 0 0;
        margin-bottom: 0; /* Remove spacing between image and text on mobile */
    }

    .car-pricing-section {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        background: #fff;
        border: none; /* Remove top border if image is on top */
        border-radius: 0 0 12px 12px;
    }

    .pricing-container {
        text-align: center;
        width: 100%;
        align-items: center;
    }

    .pricing-footer {
        align-items: center;
        width: 100%;
    }

    .book-now-btn {
        width: 100%;
        padding: 16px;
        justify-content: center;
    }

    .header-left, .header-right {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
	.results-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}
    .card-header {
        padding: 15px;
        gap: 10px;
    }

    .header-left h3 {
        font-size: 1.1rem;
    }

    .car-specs {
        gap: 8px;
        font-size: 0.8rem;
    }

    .pricing-main {
        font-size: 1.5rem;
    }

    .book-now-btn {
        width: 100%;
    }
}
/* Responsive Design */
@media screen and (max-width: 1200px) {
    .car-result-card {
        grid-template-columns: 250px 1fr 250px;
    }
}

@media screen and (max-width: 992px) {
    .car-result-card {
        grid-template-columns: 1fr;
    }
    
    .car-image-section {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .car-image-wrapper {
        height: 150px;
        width: 200px;
        margin-bottom: 0;
    }
    
    
    
    .pricing-main {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 768px) {
    .search-hero-title {
        font-size: 2rem;
    }
    
    .results-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .car-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .car-features {
        grid-template-columns: 1fr;
    }
    
    .car-pricing-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .car-image-section {
        flex-direction: column;
    }
    
    .car-image-wrapper {
        width: 100%;
        height: 200px;
    }
}

@media screen and (max-width: 576px) {
    .search-hero-title {
        font-size: 1.8rem;
    }
    
    .search-form-wrapper {
        padding: 20px;
    }
    
   
    
    .car-pricing-section {
        padding: 20px;
    }
    
    .price {
        font-size: 2rem;
    }
}

/* No Results State */
.no-results-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: #F8F9FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.no-results-icon svg {
    width: 2.5em;
    height: 2.5em;
    fill: #666; /* Light gray icon for empty state */
    opacity: 0.8;
}

.no-results-modern h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.no-results-modern p {
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.modify-search-btn {
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.modify-search-btn:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

@media (max-width: 576px) {
    .no-results-modern {
        margin: 0 15px;
        padding: 40px 20px;
    }
}

/* Search Results Page Horizontal Form */
.horizontal-search-form form{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    align-items:flex-end;
}

.horizontal-search-form .input-group{
    flex:1 1 220px;
    min-width:220px;
    margin-bottom:0;
}
.horizontal-search-form .search_location_wrapper{
	flex:1 1 100%;
}

.horizontal-search-form .explore-button-wrapper{
    flex:0 0 180px;
}

.horizontal-search-form .same-location-toggle{
    flex:0 0 100%;
    margin-bottom:10px;
}

.horizontal-search-form .form-row{
    display:flex;
    gap:15px;
    flex:1 1 450px;
}

.horizontal-search-form .form-row .input-group{
    flex:1;
}

@media (max-width: 992px){

    .horizontal-search-form form{
        flex-direction:column;
    }

    .horizontal-search-form .input-group,
    .horizontal-search-form .explore-button-wrapper,
    .horizontal-search-form .form-row{
        width:100%;
        flex:1 1 100%;
    }

    .horizontal-search-form .form-row{
        flex-direction:column;
        gap:15px;
    }
}