/* Modern floating search bar */
.search-bar-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 30px;
    pointer-events: none;
}
.search-bar-card {
    max-width: 1100px;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    pointer-events: auto;
    position: relative;
}
.search-bar-card form .form-control, .search-bar-card form .form-select {
    border-radius: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
}
.search-bar-card form .btn-primary {
    font-weight: 600;
    font-size: 1.08rem;
    border-radius: 0.75rem;
}
@media (max-width: 991.98px) {
    .search-bar-card {
        max-width: 100%;
        padding: 1rem 0.5rem;
    }
    .search-bar-wrapper {
        margin-top: -40px;
    }
}
/* Banner caption spacing fix */
.banner-caption-content {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.banner-caption-content h1 {
    margin-bottom: 18px !important;
}
.banner-caption-content h4 {
    margin-bottom: 8px !important;
}
/* Vendor Section Modern Styles */
.vendor-section-bg {
    background: #f9fafb;
}
.vendor-card {
    min-height: 120px;
    min-width: 180px;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s, transform 0.3s;
}
.vendor-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    transform: translateY(-6px) scale(1.04);
}
.vendor-logo {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.3s;
}
.vendor-card:hover .vendor-logo {
    filter: grayscale(0) contrast(1.2) drop-shadow(0 2px 8px rgba(255,173,50,0.12));
}
/* Contact form icon fix */
.input-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 1.1rem;
    pointer-events: none;
}
.contact-input {
    padding-left: 2.5rem !important;
}
/* Modern Contact Section */
.contact-section-bg {
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}
.contact-section-bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 55vw;
    height: 100%;
    background: linear-gradient(90deg, #97c4ff 0%, #f9fafb 100%);
    z-index: 0;
}
.contact-section-bg > .container {
    position: relative;
    z-index: 1;
}
.contact-card, .contact-info-card {
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.contact-card form .form-floating > label {
    left: 2.5rem;
    color: #4d4063;
    font-weight: 500;
}
.contact-card form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255,173,50,.15);
}
.contact-card form .form-control {
    border-radius: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e0e0e0;
    padding-left: 2.5rem;
}
.contact-card form .form-floating > .fa {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}
.contact-info-card .fw-bold {
    color: #4d4063;
}
.contact-info-card .fa {
    min-width: 1.5rem;
    text-align: center;
}
.contact-info-card a.btn-success {
    font-size: 1.1rem;
    font-weight: 600;
}
.contact-info-card a.text-primary {
    font-size: 1.08rem;
    font-weight: 500;
}
.contact-info-card iframe {
    border-radius: 0.75rem;
    min-height: 140px;
}
@media (max-width: 991.98px) {
    .contact-card, .contact-info-card {
        padding: 1.5rem 0.75rem;
    }
    .contact-info-card iframe {
        min-height: 100px;
    }
}
/********** Template CSS **********/
:root {
    --primary: #ffad32; /* Blue */
    --secondary: #4d4063; /* Gold */
    --light: #F9FAFB; /* Softer light */
    --dark: #23272F; /* Softer dark */
    --accent: #00363f; /* Accent gold */
}

/* Improved Button Styles */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    transition: background 0.2s, border 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
}

/* Improved Backgrounds */
.bg-secondary {
    background: var(--secondary) !important;
    color: #23272F !important;
}
.bg-dark {
    background: var(--dark) !important;
}
.bg-light {
    background: var(--light) !important;
}

/* Improved Text Colors */
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.text-dark {
    color: var(--dark) !important;
}
.text-light {
    color: var(--light) !important;
}
.text-accent {
    color: var(--accent) !important;
}

body {
    color: #23272F;
    background: #F9FAFB;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    color: #000000;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.nav-bar::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: var(--dark);
}

.nav-bar::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: #ffffff;
}

.navbar-dark .navbar-nav .nav-link {
    /* padding: 30px 15px; */
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        padding: 10px 15px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 30, 50, .7);
    z-index: 1;
}

@media (max-width: 576px) {
        /* Banner two-column section mobile fix */
        .row.mx-0 > .col-lg-6.px-0 {
            width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 100% !important;
            display: block !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-bottom: 1.2rem !important;
        }
        .px-5.d-flex.align-items-center.justify-content-between[style*="height: 350px"] {
            flex-direction: column !important;
            height: auto !important;
            min-height: 220px !important;
            padding: 1.2rem 0.5rem !important;
            text-align: center !important;
            gap: 0 !important;
        }
        .px-5.d-flex.align-items-center.justify-content-between img.img-fluid {
            width: 100% !important;
            /* max-width: 220px !important; */
            margin: 0.5rem auto 0.7rem auto !important;
            display: block !important;
            position: static !important;
        }
        .px-5.d-flex.align-items-center.justify-content-between .text-right,
        .px-5.d-flex.align-items-center.justify-content-between .text-left {
            text-align: center !important;
            width: 100% !important;
            margin: 0 !important;
        }
        .px-5.d-flex.align-items-center.justify-content-between h3 {
            font-size: 1.1rem !important;
            margin-bottom: 0.5rem !important;
        }
        .px-5.d-flex.align-items-center.justify-content-between p {
            font-size: 0.95rem !important;
            margin-bottom: 0.7rem !important;
        }
        .px-5.d-flex.align-items-center.justify-content-between .btn {
            width: 100% !important;
            margin: 0.3rem 0 0.5rem 0 !important;
            font-size: 1rem !important;
            padding: 0.6rem 0 !important;
            border-radius: 8px !important;
        }
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
    .carousel-caption p.lead {
        font-size: 1rem !important;
    }
    .banner-caption-content h1.display-1 {
        font-size: 2.1rem !important;
    }
    .banner-caption-content h4 {
        font-size: 1.1rem !important;
    }
    .banner-caption-content p.lead {
        font-size: 1rem !important;
    }
    .btn.btn-primary, .btn.btn-dark, .btn.btn-success {
        font-size: 1rem !important;
        padding: 0.6rem 1.2rem !important;
    }
        /* Add spacing between search fields on mobile */
        .search-bar-card form .form-control,
        .search-bar-card form .form-select {
            margin-bottom: 0.6rem !important;
        }
        .search-bar-card form .col-6,
        .search-bar-card form .col-md-2 {
            padding-left: 6px !important;
            padding-right: 6px !important;
            margin-bottom: 0.3rem !important;
        }
        /* Carousel image and inner height fix */
        #header-carousel .carousel-inner,
        #header-carousel .carousel-item,
        #header-carousel .carousel-item img {
            min-height: 220px !important;
            height: 220px !important;
            max-height: 240px !important;
            object-fit: cover !important;
        }
        #header-carousel .carousel-caption {
            padding: 0.5rem 0.5rem 0.7rem 0.5rem !important;
        }
        .banner-caption-content {
            padding: 0.2rem 0.5rem 0.2rem 0.5rem !important;
        }
        .banner-caption-content h1.display-1 {
            font-size: 1.3rem !important;
            margin-bottom: 10px !important;
        }
        .banner-caption-content h4 {
            font-size: 0.95rem !important;
            margin-bottom: 4px !important;
        }
        .banner-caption-content p.lead {
            font-size: 0.85rem !important;
            margin-bottom: 8px !important;
        }
        .btn.btn-primary, .btn.btn-dark, .btn.btn-success {
            font-size: 0.92rem !important;
            padding: 0.4rem 0.9rem !important;
        }
    .search-bar-card form .form-control, .search-bar-card form .form-select {
        font-size: 0.95rem !important;
        height: 38px !important;
    }
    .search-bar-card form .btn-primary {
        font-size: 1rem !important;
        height: 38px !important;
    }
    .about-section img,
    .img-fluid.rounded.shadow {
        max-width: 100%;
        height: auto !important;
        border-radius: 12px !important;
    }
    .icon-box {
        width: 48px !important;
        height: 32px !important;
        font-size: 1.1rem !important;
        margin-right: 0.5rem !important;
    }
    .display-4 {
        font-size: 1.5rem !important;
    }
    .display-1 {
        font-size: 2.2rem !important;
    }
    h2.display-4 {
        font-size: 1.3rem !important;
    }
    .card-img-top {
        height: 240px !important;
    }
    .rent-card-body {
        min-height: 0 !important;
        padding: 0.5rem 0.2rem !important;
    }
    .testimonial-item-modern {
        min-height: 180px !important;
        padding: 1rem 0.2rem !important;
    }
    .testimonial-img img {
        width: 40px !important;
        height: 40px !important;
    }
    .gallery-thumb {
        height: 120px !important;
        min-height: 80px !important;
    }
    .vendor-logo {
        max-width: 70px !important;
        max-height: 30px !important;
    }
    .contact-section-bg .container, .contact-card, .contact-info-card {
        padding: 0.5rem !important;
    }
    .contact-card form .form-control, .contact-card form .form-floating > label {
        font-size: 0.95rem !important;
    }
    .contact-info-card .fw-bold {
        font-size: 1rem !important;
    }
    .contact-info-card .fa {
        font-size: 1rem !important;
    }
    .modal-dialog {
        max-width: 95vw !important;
        margin: 0.5rem auto !important;
    }
    /* Hide original car images in banner section on mobile */
    .banner-car-img-left,
    .banner-car-img-right {
        display: none !important;
    }
    /* Show mobile car images row */
    .w-100.d-block.d-lg-none.text-center.mt-2 {
        display: block !important;
    }
}

.page-header {
    height: 400px;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)), url(../img/bg-banner.jpg);
    background-attachment: fixed;
}

@media (max-width: 991.98px) {
    .page-header {
        height: 300px;
    }
}

.service-item {
    height: 320px;
    background: var(--light);
    transition: .5s;
}

.service-item:hover,
.service-item.active {
    background: var(--secondary);
}

.service-item h1,
.service-item h4 {
    transition: .5s;
}

.service-item:hover h1,
.service-item.active h1 {
    color: var(--dark) !important;
}

.service-item:hover h4,
.service-item.active h4 {
    color: var(--light);
}

.rent-item {
    padding: 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.rent-item:hover,
.rent-item.active {
    background: var(--secondary);
}

.rent-item h4 {
    transition: .5s;
}

.rent-item:hover h4,
.rent-item.active h4 {
    color: var(--light);
}

.rent-card-body {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 991.98px) {
  .rent-card-body {
    min-height: 0;
  }
}

.team-item {
    padding: 30px 30px 0 30px;
    text-align: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover,
.owl-item.center .team-item {
    background: var(--secondary);
}

.team-item h4 {
    transition: .5s;
}

.owl-item.center .team-item h4,
.owl-item.center .rent-item h4 {
    color: var(--light);
}

.team-item .team-social {
    top: 0;
    left: 0;
    opacity: 0;
    transition: .5s;
    background: var(--light);
}

.owl-item.center .team-item .team-social,
.owl-item.center .rent-item {
    background: var(--secondary);
}

.team-item:hover .team-social {
    opacity: 1;
    background: var(--secondary);
}

.team-carousel .owl-nav,
.related-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next,
.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover,
.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.vendor-carousel .owl-dots,
.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-carousel .owl-dot,
.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    transition: .5s;
}

.vendor-carousel .owl-dot.active,
.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}


/* Modern Testimonial Section */
.testimonial-section-bg {
    background: linear-gradient(120deg, #f9fafb 60%, #ffd392 100%);
}
.testimonial-item-modern {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s, background 0.3s;
    position: relative;
}
.testimonial-item-modern:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    background: #fffbe6;
}
.testimonial-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.testimonial-rating {
    font-size: 1.1rem;
}
.testimonial-quote {
    font-size: 1.08rem;
    color: #23272F;
    font-style: italic;
    margin-top: 10px;
}
.testimonial-item-modern .font-weight-bold {
    color: #4d4063;
}
.testimonial-item-modern .text-muted {
    font-size: 0.98rem;
}
@media (max-width: 767.98px) {
    .testimonial-item-modern {
        min-height: 280px;
        padding: 1.5rem 0.5rem;
    }
    .testimonial-img img {
        width: 60px;
        height: 60px;
    }
}

.bg-banner {
    background: linear-gradient(rgba(28, 30, 50, .9), rgba(28, 30, 50, .9)), url(../img/bg-banner.jpg);
    background-attachment: fixed;
}

/* Equal height for car card images */
.card-img-top {
  height: 170px;
  object-fit: contain;
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}
@media (max-width: 991.98px) {
  .card-img-top {
    height: 120px;
  }
}
