.boxcar-banner-section-five {
    background: #f7f4ef;
    overflow: visible;
}

.boxcar-banner-section-five .banner-content {
    position: relative;
    text-align: center;
    padding-top: 36px;
    padding-bottom: 150px;
    overflow: visible;
}

.boxcar-banner-section-five .banner-content .form-tabs {
    max-width: 980px;
    margin: 0 auto;
}

.boxcar-banner-section-five .banner-content .form-tab-pane.current form {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border-radius: 999px;
    padding: 10px 10px 10px 18px;
    box-shadow: 0 18px 42px rgba(18, 36, 89, 0.08);
}

.boxcar-banner-section-five .banner-content .form_boxes {
    flex: 1 1 0;
    margin-bottom: 0;
    padding: 0 16px;
    position: relative;
}

.boxcar-banner-section-five .banner-content .form_boxes:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 36px;
    background: #e4e8f1;
    transform: translateY(-50%);
}

.boxcar-banner-section-five .banner-content .drop-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.home-filter-select {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    padding: 0 42px 0 0;
    background: transparent;
    color: #050b20;
    font-size: 17px;
    font-weight: 500;
    appearance: none;
}

.boxcar-banner-section-five .banner-content .drop-menu > i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(calc(-50% - 1px));
    pointer-events: none;
    color: #1a2440;
    font-size: 14px;
    line-height: 1;
}

.boxcar-banner-section-five .banner-content .form-submit .theme-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5d67a;
    box-shadow: none;
    padding: 0;
    line-height: 1;
}

.boxcar-banner-section-five .banner-content .form-submit .theme-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
    transform: translate(-0.5px, -0.5px);
}

.boxcar-banner-section-five .image-column {
    margin-top: 34px;
    position: relative;
    z-index: 2;
}

.boxcar-banner-section-five .image-column .image-box {
    max-width: 1120px;
    margin: 0 auto;
    overflow: visible;
}

.boxcar-banner-section-five .image-column .image {
    overflow: visible;
}

.boxcar-banner-section-five .image-column .image img {
    width: 100%;
    max-width: 1120px;
    transform: scale(1.12);
    transform-origin: center bottom;
    object-fit: contain;
    margin-bottom: -260px;
}

.team-showcase-section {
    padding: 110px 0 90px;
    background: #fff;
}

.boxcar-brand-section-four {
    padding-top: 290px;
    overflow: hidden;
}

.boxcar-brand-section-four .right-box {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: hidden;
}

.boxcar-brand-section-four .brands-carousel {
    margin: 0 -12px;
}

.boxcar-brand-section-four .brands-carousel .slick-track {
    display: flex;
}

.boxcar-brand-section-four .brands-carousel .slick-slide {
    height: inherit;
}

.boxcar-brand-section-four .brands-carousel .slick-slide > div {
    height: 100%;
}

.boxcar-brand-section-four .brands-carousel .brand-block-four {
    padding: 0 12px;
}

.boxcar-brand-section-four .brands-carousel .brand-block-four a {
    display: block;
    height: 100%;
}

.boxcar-brand-section-four .brands-carousel .brand-block-four .inner-box {
    height: 100%;
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 18px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.boxcar-brand-section-four .brand-block-four .icon-box {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    margin: 0 auto 10px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.boxcar-brand-section-four .brand-block-four .icon-box img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.brand-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.boxcar-brand-section-four .brand-block-four .title {
    margin-top: 0;
    font-size: 15px;
    line-height: 1.2;
}

.boxcar-brand-section-four .brands-carousel .slick-prev,
.boxcar-brand-section-four .brands-carousel .slick-next {
    width: 52px;
    height: 38px;
    border: 1px solid #d7dcea;
    border-radius: 999px;
    background: #fff;
    z-index: 3;
}

.boxcar-brand-section-four .brands-carousel .slick-prev {
    left: -18px;
}

.boxcar-brand-section-four .brands-carousel .slick-next {
    right: -18px;
}

.boxcar-brand-section-four .brands-carousel .slick-prev:before,
.boxcar-brand-section-four .brands-carousel .slick-next:before {
    color: #081b4b;
    font-size: 18px;
    opacity: 1;
}

.team-showcase-title {
    text-align: center;
    margin-bottom: 46px;
}

.team-showcase-title h2 {
    margin: 0;
    color: #081b4b;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.05;
}

.team-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.team-showcase-card {
    min-height: 470px;
    padding: 28px 22px 0;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-showcase-card:nth-child(1) { background: #f6f8ff; }
.team-showcase-card:nth-child(2) { background: #edf0ff; }
.team-showcase-card:nth-child(3) { background: #edf5ff; }
.team-showcase-card:nth-child(4) { background: #fde9f3; }

.team-showcase-copy {
    text-align: center;
}

.team-showcase-copy h4 {
    margin: 0 0 6px;
    color: #111b36;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.team-showcase-copy p {
    margin: 0;
    color: #4e5873;
    font-size: 14px;
    line-height: 1.45;
}

.team-showcase-image {
    min-height: 320px;
    margin-top: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.team-showcase-image img {
    width: 100%;
    max-width: 235px;
    object-fit: contain;
    object-position: bottom center;
}

.latest-cars-section {
    padding: 30px 0 110px;
    background: #fff;
}

.latest-cars-title {
    text-align: center;
    margin-bottom: 38px;
}

.latest-cars-title h2 {
    margin: 0;
    color: #081b4b;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.05;
}

.latest-cars-slider {
    margin: 0 -14px;
}

.latest-car-slide {
    padding: 0 14px;
}

.latest-car-card {
    border-radius: 22px;
    overflow: hidden;
    background: #f2edd6;
    color: #fff;
    box-shadow: 0 20px 50px rgba(7, 17, 46, 0.12);
}

.latest-car-media {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #ffffff;
}

.latest-car-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-car-badge {
    position: absolute;
    top: 22px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #e0aa00;
}

.latest-car-badge.price {
    background: #c89500;
}

.latest-car-bookmark {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #09122d;
    font-size: 15px;
}

.latest-car-content {
    padding: 18px 28px 22px;
}

.latest-car-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #141414;
}

.latest-car-title a {
    color: inherit;
}

.latest-car-subtitle {
    margin: 0 0 16px;
    color: rgba(26, 26, 26, 0.82);
    font-size: 15px;
    line-height: 1.45;
    min-height: 44px;
}

.latest-car-specs {
    margin: 0;
    padding: 16px 0 0;
    list-style: none;
    border-top: 1px solid rgba(26, 26, 26, 0.12);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.latest-car-spec {
    text-align: center;
}

.latest-car-spec i {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 18px;
    color: rgba(26, 26, 26, 0.95);
}

.latest-car-spec span {
    display: block;
    color: rgba(26, 26, 26, 0.84);
    font-size: 13px;
    line-height: 1.2;
}

.latest-car-spec strong {
    display: block;
    margin-top: 4px;
    color: #141414;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
}

.latest-car-spec-value {
    font-size: 15px;
}

.latest-car-footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(26, 26, 26, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.latest-car-price {
    color: #c9a83e;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.latest-car-price-compact {
    font-size: 19px;
}

.latest-car-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9a83e;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.latest-cars-slider .slick-prev,
.latest-cars-slider .slick-next {
    top: auto;
    bottom: -88px;
    width: 58px;
    height: 40px;
    border: 1px solid #d7dcea;
    border-radius: 999px;
    background: #fff;
    transform: none;
}

.latest-cars-slider .slick-prev {
    left: calc(50% - 64px);
}

.latest-cars-slider .slick-next {
    right: calc(50% - 64px);
}

.latest-cars-slider .slick-prev:before,
.latest-cars-slider .slick-next:before {
    color: #e0aa00;
    font-size: 20px;
    opacity: 1;
}

.latest-cars-empty {
    text-align: center;
    padding: 50px 20px;
    border: 1px solid #e4e8f1;
    border-radius: 24px;
    color: #4e5873;
    font-size: 16px;
}

@media (max-width: 1199px) {
    .team-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .boxcar-banner-section-five .banner-content .form-tab-pane.current form {
        flex-direction: column;
        border-radius: 32px;
        padding: 18px;
    }

    .boxcar-banner-section-five .banner-content .form_boxes {
        width: 100%;
        padding: 0;
    }

    .boxcar-banner-section-five .banner-content .form_boxes:not(:first-child)::before {
        display: none;
    }

    .boxcar-banner-section-five .banner-content .form-submit {
        width: 100%;
    }

    .boxcar-banner-section-five .banner-content .form-submit .theme-btn {
        width: 100%;
        border-radius: 18px;
    }

    .boxcar-banner-section-five .image-column .image img {
        transform: scale(1.08);
        margin-bottom: -120px;
    }

    .team-showcase-section {
        padding: 80px 0 60px;
    }

    .boxcar-brand-section-four {
        padding-top: 130px;
    }

    .boxcar-brand-section-four .right-box {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: hidden;
        padding-bottom: 0;
    }

    .boxcar-brand-section-four .brands-carousel {
        margin: 0 -8px;
    }

    .boxcar-brand-section-four .brands-carousel .brand-block-four {
        padding: 0 8px;
    }

    .boxcar-brand-section-four .brands-carousel .slick-prev {
        left: -6px;
    }

    .boxcar-brand-section-four .brands-carousel .slick-next {
        right: -6px;
    }

    .team-showcase-title h2 {
        font-size: 38px;
    }

    .latest-cars-title h2 {
        font-size: 38px;
    }

    .team-showcase-grid {
        grid-template-columns: 1fr;
    }

    .team-showcase-card {
        min-height: 430px;
    }

    .latest-car-media {
        height: 220px;
    }

    .latest-car-content {
        padding: 18px 20px 20px;
    }

    .latest-car-specs {
        grid-template-columns: 1fr;
    }
}
