/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --border-radius: 8px;
    --box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: #000;
}

body {
    padding-top: 76px;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.slider-item img {

    width: 100%;
    /* Ensure the image doesn't get too small */
    height: 700px;

    object-fit: cover;

    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .slider-item img {
        height: 200px;
    }
}

/* ==========================================================================
   Vehicle Card Styles
   ========================================================================== */
.vehicle-card {
    height: 100%;

}


.vehicle-card .card {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: translateY(-5px);
    background-color: #ffff;
}

.vehicle-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.vehicle-card .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.vehicle-card .favorite-btn {
    opacity: 0.8;
    transition: var(--transition);
}

.vehicle-card .favorite-btn:hover {
    opacity: 1;
    background: var(--primary);
    color: white;
}

.vehicle-card .specs {
    font-size: 0.9rem;
}

.vehicle-card .specs i {
    width: 16px;
    text-align: center;
    margin-right: 4px;
}

/* ==========================================================================
   Details Pages
   ========================================================================== */
.details-header {
    background: var(--light);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.gallery-wrapper {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-thumbs {
    margin-top: 1rem;
}

.gallery-thumbs img {
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

/* ==========================================================================
   Filters Section
   ========================================================================== */
.filters-wrapper {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 90px;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ==========================================================================
   Forms & Buttons
   ========================================================================== */
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
}



.btn-primary {
    background: var(--primary);
    border: none;
}

/* ==========================================================================
   Inventory Section Styles
   ========================================================================== */
.inventory-header {
    background: var(--light);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary);
}

.inventory-section {
    padding: 4rem 0;
}

.inventory-section:nth-child(even) {
    background: var(--light);
}

/* View Switch Buttons */
.view-switch .btn {
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.view-switch .btn i {
    font-size: 1rem;
}

/* Sort Dropdown */
.form-select {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    cursor: pointer;
}

/* ==========================================================================
   Price Block Styles
   ========================================================================== */


.price-block .h5 {
    color: var(--primary);
    font-weight: 600;
}

.price-block small {
    font-size: 0.85rem;
}

/* ==========================================================================
   Pagination Styles
   ========================================================================== */
.pagination {
    margin-top: 2rem;
}

.page-link {
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border: none;
    border-radius: var(--border-radius);
    color: var(--dark);
}

.page-item.active .page-link {
    background: var(--primary);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

    .filters-wrapper {
        position: static;
        margin-bottom: 2rem;
    }

    .inventory-header {
        padding: 2rem 0;
    }

    .vehicle-card .card-img-top {
        height: 200px;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 66px;
    }

    .hero-slider {
        margin-top: -66px;
    }

    .carousel-item {
        height: 70vh;
    }

    .carousel-caption {
        padding: 1rem;
        max-width: 90%;
    }

    .inventory-section {
        padding: 3rem 0;
    }

    .view-switch {
        display: none;
    }
}

/* ==========================================================================
   Animation Styles
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {

    .navbar,
    .footer {
        display: none;
    }

    body {
        padding-top: 0;
    }

    .view-switch,
    .favorite-btn,
    .pagination {
        display: none;
    }

    .vehicle-card {
        break-inside: avoid;
    }
}

/* Global Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #ff4081;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    padding-top: 76px;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

/* Contact Section */
.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #1a237e;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
}

.social-links a {
    font-size: 24px;
    margin-right: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}



/* Hero Slider Styles */
.hero-slider {
    position: relative;
}

.carousel-item {
    height: 70vh;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    padding: 0 2rem;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: 50%;
}

/* Animation Durations */
.animate__animated {
    animation-duration: 1s;
}

.animate__delay-1s {
    animation-delay: 0.5s;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 500px;
    }

    .carousel-caption {
        padding: 0 1rem;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .btn-group-lg .btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .btn-group-lg {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-group-lg .btn {
        width: 100%;
        margin: 0 !important;
    }
}

/* Sidebar Styles */
.sidebar {
    height: calc(100vh - 4rem);
    overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.filter-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.filter-section:last-child {
    border-bottom: none;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.range-slider .form-range::-webkit-slider-thumb {
    background: var(--bs-primary);
}

.range-slider .price-value {
    font-size: 0.875rem;
    color: #6c757d;
}

.btn-link {
    color: var(--bs-primary);
}

.btn-link:hover {
    color: var(--bs-primary-dark);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .sidebar {
        height: auto;
        position: static !important;
        margin-bottom: 2rem;
    }
}

/* Premium Styling */
.vehicle-card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: all 0.3s ease;
    opacity: 0;
    display: flex;
    justify-content: center;
}

.vehicle-card:hover .card-overlay {
    bottom: 0;
    opacity: 1;
}

.btn-favorite {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 1;
}

.btn-favorite:hover {
    background: #dc3545;
    color: white;
}

/* Gradient Badges */
.bg-gradient-premium {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
}

.bg-gradient-new {
    background: linear-gradient(45deg, #00C853, #69F0AE);
    color: #000;
}

.bg-gradient-price {
    background: linear-gradient(45deg, #1a237e, #3949ab);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
}

.btn-gradient-primary {
    background: linear-gradient(45deg, #1a237e, #3949ab);
    border: none;
    color: white;
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #3949ab, #1a237e);
    color: white;
}

.text-gradient {
    background: linear-gradient(45deg, #1a237e, #3949ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spec-item {
    font-size: 0.9rem;
    color: #6c757d;
}

.features .badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-image {
        height: 300px;
        padding: 10px;
    }
}

/* Header Styles */


header {
    position: fixed;
    width: 100%;
    z-index: 1030;

}

.sidebar {
    position: sticky;
    top: 100px;
}


.top-bar {
    font-size: 0.9rem;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--bs-primary) !important;
}

.language-selector select {
    font-size: 0.9rem;
}

.language-selector select:focus {
    box-shadow: none;
}

.vehicle_section {
    padding: 10px 0px 100px 0px;
}

.vehicle-card .d-flex button {
    min-width: 48%;
}

.gallery-container {
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.thumbnail-scroll {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: #3498db;
    transform: scale(1.05);
}

.thumbnail-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.thumbnail-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.thumbnail-nav.prev {
    top: 0;
}

.thumbnail-nav.next {
    bottom: 0;
}

.main-image-container {
    position: relative;
    overflow: hidden;
    touch-action: none;
}

.image-zoom-container {
    position: relative;
    overflow: hidden;
}

.main-image {
    cursor: grab;
    transition: transform 0.1s ease;
    user-select: none;
    max-width: 100%;
    height: auto;
}

.main-image:active {
    cursor: grabbing;
}

.zoom-lens {
    position: absolute;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    display: none;
}

.image-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.btn-zoom {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.action-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-action {
    width: 100%;
    text-align: left;
    border-radius: 0.25rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #3498db;
    color: white;
    transform: translateX(5px);
}

.btn-inquiry {
    background-color: #e67e22;
    border-color: #e67e22;
    color: white;
}

.btn-inquiry:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .thumbnail-scroll {
        height: auto;
        margin-bottom: 1rem;
    }

    .thumbnail-list {
        flex-direction: row;
        overflow-x: auto;
    }

    .thumbnail-item img {
        height: 60px;
    }

    .thumbnail-nav {
        display: none;
    }

    .action-buttons-vertical {
        flex-direction: row;
        margin-top: 1rem;
    }

    .btn-action {
        text-align: center;
    }

    .main-image {
        pointer-events: none;
    }

    .image-controls {
        bottom: 0.5rem;
        right: 0.5rem;
    }
}

.car-details-section {
    padding: 2rem 0;
}

.detail-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.price-badge {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
}

.badge {
    font-size: 0.8rem;
    background: #2ecc71;
    margin-left: 0.5rem;
}

.specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.spec-item i {
    font-size: 1.25rem;
    color: #3498db;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin: 0.5rem 0;
}

.feature-list i {
    color: #2ecc71;
    margin-right: 0.5rem;
}

.history-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid #3498db;
}

.timeline-date {
    font-weight: 500;
    color: #7f8c8d;
}

.inquiry-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.contact-info {
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.contact-info i {
    width: 1.25rem;
    margin-right: 0.5rem;
    color: #3498db;
}

.finance-calculator {
    background: #f8f9fa;
    margin-top: 2rem;
    padding: 2rem 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.label {
    color: #6c757d;
}

.value {
    font-weight: 500;
    color: #2c3e50;
}

.gallery-container {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.thumbnail-scroll {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.thumbnail-item img {
    width: 100%;
    border-radius: 6px;
}

.thumbnail-item.active {
    border: 2px solid #007bff;
    border-radius: 6px;
}


.thumbnail-nav.prev {
    top: 0;
}

.thumbnail-nav.next {
    bottom: 0;
}

.main-image-container {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 10px;
}

.image-controls i {
    font-size: 20px;
    color: #333;
    transition: 0.3s;
}

.image-controls i:hover {
    color: #007bff;
}

.detail-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.price-badge {
    font-size: 22px;
    font-weight: bold;
    color: #d9534f;
    margin-bottom: 10px;
}

.badge {
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.specifications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.spec-item i {
    font-size: 18px;
    color: #007bff;
}

.vehicle-details {
    margin-top: 100px;
}

/* Gallery Container */
.gallery-container {
    position: relative;
    max-width: 100%;
}

/* Main Image Container */
.image-zoom-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Thumbnail Container */
.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    max-width: 100%;
    scrollbar-width: thin;
}

/* Custom Scrollbar */
.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Thumbnail Image Styling */
.thumbnail-container img {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

/* Hover Effect on Thumbnails */
.thumbnail-container img:hover {
    transform: scale(1.1);
    border: 2px solid #007bff;
}

/* Image Controls */
.image-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: 8px;
}

.image-controls i {
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.image-controls i:hover {
    color: #007bff;
}

/* Vehicle Details Section */
.vehicle-details {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.price-badge {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Add to Cart and Wishlist Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-action {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.btn-action i {
    margin-right: 8px;
}

.btn-action:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Specifications Section */
.specifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.spec-item {
    display: flex;
    align-items: center;
}

.spec-item i {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 10px;
}

.spec-item .label {
    font-weight: bold;
}

.spec-item .value {
    color: #555;
}

/* Card Style for Vehicle Details */
.detail-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .thumbnail-container img {
        width: 60px;
        height: 60px;
    }

    .specifications-grid {
        grid-template-columns: 1fr;
    }


}

.cart-item {
    background-color: #f9f9f9;
    transition: background-color 0.3s ease-in-out;
}

.cart-item:hover {
    background-color: #e2e2e2;
}

.cart-item .btn-danger {
    background-color: #f44336;
    border: none;
}

.cart-item .btn-danger:hover {
    background-color: #d32f2f;
}

.offcanvas-body {
    padding: 1.5rem;
}

.cart-summary {
    font-size: 1.25rem;
    font-weight: 500;
}

.inquiry-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.car-info-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.car-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #3498db;
}

.highlight-item .label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.highlight-item .value {
    font-weight: 500;
    margin-top: 0.25rem;
}

.car-images-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.car-images-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.car-images-preview img:hover {
    transform: scale(1.05);
}

.inquiry-form-section {
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
    background: #3498db;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.inquiry-benefits {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.benefit-item i {
    color: #2ecc71;
    font-size: 1.25rem;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Make sure it is on top of other content */
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 4s linear infinite;
}

/* Keyframe for spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gallery Container */
.gallery-container {
    position: relative;
    max-width: 100%;
}

/* Main Image Container */
.image-zoom-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Thumbnail Container */
.thumbnail-container {
    display: flex;
    gap: 10px;

    overflow-x: auto;
    /* Enable horizontal scrolling */
    padding-bottom: 10px;
    /* Optional, adds spacing at the bottom */
    max-width: 100%;
    /* Ensure it does not exceed container width */
    scrollbar-width: thin;
    /* Custom scrollbar width for Firefox */
}

/* Custom Scrollbar */
.thumbnail-container::-webkit-scrollbar {
    height: 6px;
    /* Set the height of the scrollbar */
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Thumbnail Image Styling */
.thumbnail-container img {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

/* Hover Effect on Thumbnails */
.thumbnail-container img:hover {
    transform: scale(1.1);
    border: 2px solid #007bff;
}

/* Image Controls (Positioned at Right Bottom) */
.image-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: 8px;
}

/* Icon Styles in Image Controls */
.image-controls i {
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover Effect on Controls Icons */
.image-controls i:hover {
    color: #007bff;
}

/* Optional: Make thumbnails responsive on smaller screens */
@media (max-width: 768px) {
    .thumbnail-container img {
        width: 60px;
        height: 60px;
    }
}

/* Product Quantity */
.product-quantity {
    margin-right: 20px;
}

.qty-box {
    position: relative;
    display: inline-block;
    width: 110px;
}

.qty-box .qty-input {
    width: 100%;
    height: 46px;
    padding: 0 30px;
    border: 1px solid #ddd;
    text-align: center;
}

.qty-box .button {
    color: #444444;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    font-size: 18px;
    background-color: #fff;
    border: 1px solid #ddd;
    width: 30px;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

.qty-box .button.qtyplus {
    right: 0;
    left: auto;
}

.qty-box .fa {
    font-size: 14px;
}

.qty-box .button:hover {
    color: #f76d2b;
    background-color: #fff;
}

.addToBox {
    margin-bottom: 15px;
}

.product-btn-cart {
    font-size: 16px;
    padding: 9px 20px;
}

.cart-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.cart-empty-content {
    width: 100%;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.empty-cart-img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.cart-empty h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.cart-empty p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.cart-empty .btn-primary {
    font-size: 16px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.cart-empty .btn-primary:hover {
    background-color: #0056b3;
}

.checkout-scard {
    background: #fff;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    margin-bottom: 30px;
}

.checkout-scard .card-body {
    padding: 25px;
}

.checkout-scard .card-title {
    font-size: 30px;
    margin-bottom: 15px;
}

.checkout-scard .card-icon {
    color: #198754;
    font-size: 90px;
    line-height: 90px;
    margin: 0 0 10px;
}

.checkout-scard .text-order {
    padding: 10px 20px;
    font-size: 13px;
    ont-weight: 400;
}


.widget-listing {
    padding: 30px;
    border: 1px solid #EDEDED;
    border-radius: 16px
}

.widget-listing .listing-header h3 {
    margin-bottom: 7px
}

.listing-recommended .item {
    gap: 20px
}

.listing-recommended .item:not(:last-child) {
    margin-bottom: 21px
}

.listing-recommended .item .image {
    max-width: 130px;
    overflow: hidden;
    border-radius: 16px
}

.listing-recommended .item .content h6 {
    margin-bottom: 10px
}

.listing-recommended .item .content h6:hover {
    color: #ff7101
}

.heading-widget .title {
    margin-bottom: 17px
}

.heading-widget .icon-box {
    gap: 19px;
    margin-bottom: 16px
}

.heading-widget .money {
    font-size: 30px;
    font-weight: 500;
    line-height: 37.8px;
    margin-bottom: 16px
}

.heading-widget .price-wrap {
    margin-bottom: 16px
}

.heading-widget .price-wrap p {
    line-height: 16.8px;
    margin-bottom: 2px
}

.heading-widget .price-wrap p:first-child {
    margin-right: 10px
}

.action-icon {
    gap: 8px
}

.action-icon.style-1 .icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 100%
}

.action-icon .icon {
    width: 40px;
    height: 40px;
    border: 1px solid #EDEDED;
    text-align: center;
    line-height: 37px;
    border-radius: 10px;
    color: #b6b6b6;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease
}

.action-icon .icon:hover {
    border: 1px solid #FF7101;
    color: #fff;
    background-color: #ff7101
}

.prolile-info {
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid #EDEDED
}

.prolile-info .image {
    width: 90px;
    height: 90px;
    border-radius: 100%;
    overflow: hidden
}

.prolile-info .content h4 {
    margin-bottom: 10px
}

.prolile-info .content .verified {
    background-color: #7ed3211a;
    border: 1px solid rgba(126, 211, 33, .14);
    border-radius: 100px;
    color: #7ed321;
    padding: 4px 10px;
    gap: 6px
}

.profile-map .list-icon-pf {
    margin-bottom: 16px
}

.profile-map .map #map,
.profile-map .map iframe {
    width: 100%;
    height: 190px;
    border-radius: 16px
}

.profile-contact h6 {
    margin-bottom: 10px
}

.profile-contact .btn-contact {
    gap: 10px
}

.profile-contact .btn-contact .btn-pf {
    padding: 15px 26.5px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 100%;
    gap: 10px
}

.profile-contact .btn-contact .btn-pf i {
    font-size: 16px
}

.profile-contact .btn-contact .btn-pf.bg-orange {
    background-color: #ff7101
}

.profile-contact .btn-contact .btn-pf.bg-orange:hover,
.profile-contact .btn-contact .btn-pf.bg-green {
    background-color: #7ed321
}

.profile-contact .btn-contact .btn-pf.bg-green:hover {
    background-color: #ff7101
}

.listing-description .tfcl-listing-info>p {
    margin-bottom: 22px
}

.listing-description .list-file a {
    border: 1px solid #EDEDED;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 17.64px;
    color: #24272c;
    padding: 9px 10px
}

.listing-description .list-file a svg {
    margin-right: 6px
}

.listing-infor-box {
    display: flex;
    align-items: center;
    margin-bottom: 22px
}

.listing-infor-box .icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: left
}

.listing-infor-box .content-listing-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%
}

.listing-infor-box .content-listing-info .listing-info-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    color: #696665;
    flex: 1
}

.profile-contact .btn-contact {
    gap: 10px;
}

.flex-two {
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.profile-contact .btn-contact .btn-pf.bg-orange {
    background-color: #ff7101;
}

.profile-contact .btn-contact .btn-pf {
    padding: 15px 26.5px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 100%;
    gap: 10px;
}

.profile-contact .btn-contact .btn-pf i {
    font-size: 16px;
}

.btn-pf.bg-green {
    background-color: #7ed321;
}

.prolile-info .content .verified {
    background-color: #7ed3211a;
    border: 1px solid rgba(126, 211, 33, .14);
    border-radius: 100px;
    color: #7ed321;
    padding: 4px 10px;
    gap: 6px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #1a237e;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
}

.social-links a {
    font-size: 24px;
    margin-right: 15px;
}

.nav-item {
    margin-right: 10px;
}

.nav-item.d-none.d-lg-block {
    margin-right: -5px !important;
}

.pagination {
    justify-content: center;
}

.slider-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.slider-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    /* Optional background */
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
    width: 50%;
    max-width: 600px;
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.package-card {
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.package-price .period {
    font-size: 0.9rem;
    color: #6c757d;
}
