html, body{
    overflow-x: hidden;
}

.inventory-card {
    /*max-width: 350px;*/
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    height: 450px;
}

.inventory-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/from-fb/11.jpg') center/cover;
}

.ibg-2 {
    background: url('../img/from-fb/2.jpg') center/cover;
}

.ibg-3 {
    background: url('../img/from-fb/4.jpg') center/cover;
}

.ibg-4 {
    background: url('../img/from-fb/10.jpg') center/cover;
}

.inventory-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.inventory-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.inventory-title {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.inventory-btn {
    background: white;
    color: #333;
    padding: 14px 40px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.inventory-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #333;
}

.swiper-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.car-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: auto;
}

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

.car-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    bottom: 15px;
    left: 0;
    background: #dc3545;
    color: white;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 20px;
}

.msrp-tag {
    position: absolute;
    bottom: 15px;
    left: 140px;
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
}

.sold-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: #dc3545;
    padding: 6px 16px;
    font-weight: bold;
    font-size: 13px;
    border: 2px solid #dc3545;
    border-radius: 4px;
}

.available-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: #28a745;
    padding: 6px 16px;
    font-weight: bold;
    font-size: 13px;
    border: 2px solid #28a745;
    border-radius: 4px;
}

.car-details {
    padding: 20px;
}

.car-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.car-location {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.car-location i {
    margin-right: 5px;
}

.car-specs {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
}

.spec-item i {
    color: #999;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.share-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #999;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #dc3545;
    opacity: 1;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.3;
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 60px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 50px;
    color: #dc3545;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: capitalize;
}

.cta-button {
    background: #dc3545;
    color: white;
    padding: 18px 60px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.cta-button:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 40px 20px;
    }
}

.footer {
    background: #0a0a0a;
    color: #999;
    padding: 60px 0 30px;
}

.footer-top {
    padding-bottom: 50px;
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    max-width: 200px;
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #666;
    font-size: 14px;
}

.scroll-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.scroll-top i {
    color: #0a0a0a;
    font-size: 18px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/*messenger float btn*/
.float {
    position: fixed;
    width: 48px;
    height: 48px;
    bottom: 20px;
    right: 80px;
    background-color: #168aff;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 25px;
    z-index: 100;
}

.my-float {
    margin-top: 12px;
}

.d-none {
    display: none !important;
}

@media (min-width: 1024px) {
    .d-lg-block {
        display: inline-block !important;
    }
}

/*css from sandunika*/
@media (max-width: 991px) {
    .demopage-preview {
        padding: 81px 0 0;
    }
}

.filteringpart {
    position: relative;
    top: -50px;
}

@media (max-width: 991px) {
    .filteringpart {
        position: relative;
        top: 0px;
        margin: 10px 0px;
    }
}

.inventory-filter {
    background-color: #dc1f26;
    color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.inventory-filter .form-label {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.inventory-filter .form-select {
    background-color: white;
    color: #6c757d;
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    height: 48px;
    font-size: 14px;
}

.inventory-filter .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    border-color: white;
}

@media (min-width: 1200px) {
   .price-section {
        padding-left: 20px;
    }
}


.price-header {
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.price-value {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Double Range Slider Styles */
.slider-container {
    position: relative;
    height: 40px;
    margin-bottom: 20px;
}

#sliderTrack {
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

#sliderRange {
    position: absolute;
    top: 17px;
    height: 6px;
    border-radius: 3px;
    background: #ffd700;
    z-index: 1;
    transition: left 0.1s, width 0.1s;
}

#priceMin,
#priceMax {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 10px;
    width: 100%;
    height: 6px;
    background: transparent;
    outline: none;
    margin: 0;
    pointer-events: all;
    z-index: 2;
}

#priceMax {
    z-index: 3;
}

#priceMin::-webkit-slider-thumb,
#priceMax::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    top: -20px;
    border-radius: 50%;
    background: #ffd700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#priceMin::-moz-range-thumb,
#priceMax::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffd700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#priceMin::-webkit-slider-runnable-track,
#priceMax::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.btn-search {
    background-color: #000;
    color: white;
    font-weight: 600;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-search:hover {
    background-color: #333;
    color: white;
}

@media (max-width: 768px) {
    .inventory-filter {
        padding: 20px;
    }

    .price-section {
        padding: 20px;
    }
}

.watermark {
    position: absolute;
    font-size: 80px;
    font-weight: 900;
    color: #f0f0f0;
    top: -30px;
    letter-spacing: 4px;
    left: 0;
    z-index: 0;
    line-height: 1;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(75, 66, 66, 0.307);
}

.top-vehicles-label {
    color: #dc3545;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #212529;
    position: relative;
    z-index: 1;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: #dc3545;
}

.filter-tab {
    padding: 10px 30px;
    border: none;
    background: white;
    color: #666;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-tab.active {
    background: #dc3545;
    color: white;
}

.car-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.car-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 2s ease;
    /* smooth fade effect with 2s duration */
}

.car-image.secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* hidden by default */
    transition: opacity 2s ease;
    /* smooth fade in effect with 2s duration */
}

.car-image-wrapper:hover .car-image.primary {
    opacity: 0;
    /* hide primary on hover */
}

.car-image-wrapper:hover .car-image.secondary {
    opacity: 1;
    /* show secondary on hover */
}

.image-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.625);
    border: 1px solid #ce0317;
    color: rgb(231, 220, 220);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.compare-tooltip {
    position: absolute;
    right: 55px;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    display: none;
}

.action-btn:hover+.compare-tooltip {
    display: block;
}

.price-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ce0317;
    color: white;
    padding: 5px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 100px;
}

.price-main {
    font-size: 20px;
    font-weight: 700;
    padding-right: 50px;
    border-right: 1px solid whitesmoke;
}

.price-msrp {
    font-size: 14px;
    opacity: 0.9;
}

.car-card-body {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-title {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.3;
}

.sold-out-badge {
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

.car-location {
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.car-specs {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    justify-content: space-between;
    align-items: center;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}

.spec-item i {
    color: #dc3545;
    font-size: 14px;
    margin-right: 3px;
}

.spec-badge {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.car-date {
    color: #999;
    font-size: 14px;
}

.share-btn {
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 18px;
}

.share-btn:hover {
    color: #dc3545;
}

.deal-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #ffd700;
    color: #000;
    padding: 40px 20px 10px 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transform: rotate(-45deg);
    transform-origin: top left;
    width: 150px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Vehicle Import Inquiry Form Styles */
.import-inquiry-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.vehicle-import-form .form-group {
    margin-bottom: 25px;
}

.vehicle-import-form .form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.vehicle-import-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 14px;
    color: #495057;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-import-form .form-control:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.vehicle-import-form select.form-control {
    height: 48px;
    cursor: pointer;
}

.vehicle-import-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-import-submit {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-weight: 600;
    padding: 16px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-import-submit:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .import-inquiry-form {
        padding: 25px 20px;
        margin: 0 15px;
    }
    
    .vehicle-import-form .form-control {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn-import-submit {
        width: 100%;
        padding: 18px 20px;
    }
}

@media (max-width: 576px) {
    .import-inquiry-form {
        padding: 20px 15px;
    }
}


/*
=====================
  client logo swiper
=====================
*/

/* Logo Slider Container */
.logo-slider-section {
  width: 100%;
  padding: 60px 0;
  background: linear-gradient(135deg, #091c3a 0%, #363636 100%);
  overflow: hidden;

  z-index: 99999999999999999999 !important;
}

.logo-slider-title {
  text-align: center;
  margin-bottom: 50px;
  color: white !important;
}

.logo-slider-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: white !important;
}

.logo-slider-title p {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Swiper Container */
.logo-swiper {
  width: 100%;
  padding: 20px 0;
}

/* Logo Slide */
.logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Logo Image */
.logo-img {
  max-width: 150px;
  max-height: 100px;
  width: auto;
  height: auto;
  
  opacity: 0.7;
  transition: all 0.3s ease;
  object-fit: contain;
}

.logo-img:hover {
  
  opacity: 1;
  transform: scale(1.1);
}

/* Alternative Dark Background Version */
.logo-slider-dark {
  background: #2c3e50;
}

.logo-slider-dark .logo-img {
  
}

.logo-slider-dark .logo-img:hover {
  
}

/* Light Background Version */
.logo-slider-light {
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-slider-light .logo-slider-title {
  color: #333;
}

.logo-slider-light .logo-img {
  
}

.logo-slider-light .logo-img:hover {
  
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-slider-title h2 {
    font-size: 2rem;
  }

  .logo-slider-title p {
    font-size: 1rem;
  }

  .logo-img {
    max-width: 100px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .logo-slider-title h2 {
    font-size: 1.5rem;
  }

  .logo-img {
    max-width: 80px;
    max-height: 50px;
  }
}

.my-shadow{
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

@media (max-width: 992px) {
  .my-shadow{
    box-shadow: none;
  }
}

/*************************
      Back to top
*************************/
.car-top {
  width: 85px;
  position: fixed;
  bottom: -180px;
  right: 0px;
  z-index: 9999;
  opacity: 1;
  cursor: pointer;
}
.car-top.show {
  bottom: 8% !important;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
.car-top.car-run {
  bottom: 100% !important;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
.car-top.car-down {
  -webkit-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
.car-top:before,
.car-top:after {
  content: "";
  position: absolute;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
  opacity: 0;
}
.car-top:hover:before,
.car-top:hover:after,
.car-top.car-run:before,
.car-top.car-run:after {
  opacity: 1;
}
.car-top:before,
.car-top.car-run:before {
  top: -1px;
  left: 0px;
  width: 85px;
  height: 89px;
  background: url(../img/car-focus.png) no-repeat 0 0;
}

@media print {
  .car-top {
    display: none;
  }
}