.navbar {background-color: #15A0DB !important;}
.navbar-brand{color: #fff !important;}
.navbar .nav-link {color: #fff !important; font-weight: 500;}
.navbar .nav-link:hover {color: #000 !important;}
.footer {background-color: #15A0DB !important; color: white !important; text-align: center; padding: 10px 0; margin-top: 20px;}
.btn-primary {background-color: #243977 !important; border-color: #15A0DB !important; color: white !important;}
.btn-primary:hover {background-color: #0d7bbf !important; border-color: #0d7bbf !important; color: white !important;}
/*.hero-img {height: 300px; object-fit: cover;}*/
/* Keep your existing overlay */
.card-body-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.2);
    z-index: 1;
    pointer-events: none; /* Add this - allows clicks to pass through */
}

/* Ensure card-body is positioned */
.card-body-bg {
    position: relative;
}

/* Place content above the overlay */
.card-body-bg > * {
    position: relative;
    z-index: 2; /* Higher than ::before's z-index: 1 */
}



/* Car Detail Page */
.car-detail-img {
    padding:20px;
    height: auto;
    object-fit: cover;
}

.car-detail-img-default {
    height: auto;
    width: 30%;
    object-fit: cover;
}

.card-body > * {
    position: relative;
    z-index: 2;
}

.card-body a.btn {
    position: relative;
    z-index: 10;
}

.carousel-inner img {
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.02);
}

.alert-primary {
    background-color: rgba(13, 110, 253, 0.1);
    border: 2px solid #0d6efd;
}


/* booking */

/* Booking Start Page */
.booking-start-page {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.booking-start-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.card-header-start {
    background-color: #fff;
    border-bottom: 2px solid #e9ecef;
    padding: 24px 32px;
}

.card-header-start h4 {
    font-weight: 600;
    font-size: 24px;
    color: #212529;
    margin: 0;
}

.card-header-start p {
    color: #6c757d;
    font-size: 14px;
    margin: 4px 0 0 0;
}

.card-body-start {
    padding: 32px;
}

.vehicle-info-box {
    background-color: #f8f9fa;
    border-left: 3px solid #212529;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 32px;
}

.vehicle-info-box h5 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
}

.vehicle-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.vehicle-detail:last-child {
    border-bottom: none;
}

.vehicle-detail .label {
    color: #6c757d;
    font-weight: 500;
}

.vehicle-detail .value {
    color: #212529;
    font-weight: 600;
}

.form-section-start {
    margin-bottom: 32px;
}

.form-section-start:last-of-type {
    margin-bottom: 0;
}

.section-title-start {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label-start {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.form-control-start, .input-group-start .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%;
}

.form-control-start:focus, .input-group-start .form-control:focus {
    border-color: #495057;
    box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.1);
    outline: 0;
}

.input-group-start {
    display: flex;
}

.input-group-text-start {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.input-group-start .form-control {
    border-radius: 0 4px 4px 0;
}

.btn-start-primary {
    background-color: #212529;
    border: 1px solid #212529;
    color: white;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.btn-start-primary:hover {
    background-color: #000;
    border-color: #000;
    color: white;
}

.btn-start-secondary {
    background-color: white;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.btn-start-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid #e9ecef;
}

.flatpickr-input {
    background-color: white;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .card-body-start {
        padding: 24px 16px;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .form-actions a,
    .form-actions button {
        width: 100%;
    }
}


/* bookings */


    .booking-page {
        background-color: #f8f9fa;
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .booking-card {
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    
    .card-header-professional {
        background-color: #fff;
        border-bottom: 2px solid #e9ecef;
        padding: 24px 32px;
    }
    
    .card-header-professional h4 {
        font-weight: 600;
        font-size: 24px;
        color: #212529;
        margin: 0;
    }
    
    .card-header-professional p {
        color: #6c757d;
        font-size: 14px;
        margin: 4px 0 0 0;
    }
    
    .card-body-professional {
        padding: 32px;
    }
    
    .form-section {
        padding: 24px 0;
    }
    
    .form-section:not(:last-child) {
        border-bottom: 1px solid #e9ecef;
    }
    
    .section-title {
        font-size: 16px;
        font-weight: 600;
        color: #495057;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .form-label {
        font-weight: 500;
        color: #495057;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .form-control, .form-select {
        border: 1px solid #ced4da;
        border-radius: 4px;
        padding: 10px 14px;
        font-size: 14px;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: #495057;
        box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.1);
    }
    
    .car-preview-box {
        display: none;
        margin-top: 16px;
        padding: 16px;
        background-color: #f8f9fa;
        border-left: 3px solid #495057;
        border-radius: 4px;
    }
    
    .car-preview-box.active {
        display: block;
    }
    
    .car-preview-box h6 {
        font-size: 14px;
        font-weight: 600;
        color: #495057;
        margin-bottom: 12px;
    }
    
    .car-preview-item {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 14px;
    }
    
    .car-preview-item .label {
        color: #6c757d;
    }
    
    .car-preview-item .value {
        color: #212529;
        font-weight: 500;
    }
    
    .btn-professional-primary {
        background-color: #212529;
        border: 1px solid #212529;
        color: white;
        padding: 12px 28px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.2s ease-in-out;
    }
    
    .btn-professional-primary:hover {
        background-color: #000;
        border-color: #000;
        color: white;
    }
    
    .btn-professional-primary:disabled {
        background-color: #6c757d;
        border-color: #6c757d;
        opacity: 0.6;
    }
    
    .btn-professional-secondary {
        background-color: white;
        border: 1px solid #ced4da;
        color: #495057;
        padding: 12px 28px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.2s ease-in-out;
    }
    
    .btn-professional-secondary:hover {
        background-color: #f8f9fa;
        border-color: #adb5bd;
        color: #212529;
    }
    
    .alert-professional {
        background-color: #fff3cd;
        border: 1px solid #ffc107;
        border-left: 3px solid #ffc107;
        border-radius: 4px;
        padding: 12px 16px;
        margin-top: 16px;
        font-size: 14px;
        color: #856404;
    }
    
    .alert-professional strong {
        font-weight: 600;
    }
    
    .vertical-divider {
        border-left: 1px solid #e9ecef;
        padding-left: 24px;
    }
    
    @media (max-width: 767.98px) {
        .vertical-divider {
            border-left: none;
            border-top: 1px solid #e9ecef;
            padding-left: 0;
            padding-top: 16px;
            margin-top: 16px;
        }
    }



