/* ===== Colours ===== */
:root {
    --body-back: #fff;
    --hading-all: #050201;
    --antick: #4483ce;
    --top-br: #ef1923;
    --wiper: #4d4747;
    --balck-bg: #000;
}
a {
    text-decoration: none;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #f1f1f1;
}

.top-on-nave {
    display: flex;
    justify-content: space-between;
    position: fixed;
    height: 40px;
    width: 100%;
    top: 0;
    z-index: 900;
    padding-left: 3%;
    padding-right: 3%;
    background: var(--wiper);
}
.cotcat-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: var(--body-back);
    padding-top: 3px;
}

.social-top {
    font-size: 20px;
    color: var(--body-back);
} /* Fixed navbar */

.whtsoo {
    display: flex;
    gap: 4px;
}

.logo-top {
    max-width: 18%;
}
.navbar {
    position: fixed;
    background: var(--body-back);
    height: 80px;
    width: 94%;
    top: 40px;
    margin: 0% 3%;
    z-index: 1000;
}
.navbar-brand img {
    height: 40px;
}
.navbar-nav {
    margin: 0 auto;
}

.nav-link {
    font-size: 18px;
}
.nav-link:hover {
    color: var(--top-br);
}
.nav-link:active {
    color: var(--top-br);
    text-decoration: underline;
}
.nav-link:focus {
    color: var(--top-br);
    text-decoration: 2px underline;
}
.regster {
    text-decoration: none;
    font-size: 16px;
    color: var(--body-back);
    background: var(--balck-bg);
    padding: 10px 15px;
    margin-right: 10px;
}
.login {
    text-decoration: none;
    font-size: 16px;
    padding-right: 15px;
    color: var(--balck-bg);
    padding-top: 10px;
    text-align: center;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    padding: 20px 5px 20px 20px;
}

.background-image {
    background-image: url("bgt.jpg"),
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    color: var(--body-back);
}

.left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 24px;
}

.delar {
    font-size: 18px;
    color: var(--body-back);
    text-decoration: underline;
}

.hading {
    font-size: 60px;
    text-align: start;
    font-weight: 900;
    color: var(--body-back);
    font-family: "Poppins", serif;
}
[dir="rtl"] .hading {
    font-size: 78px;
}
.listing-heading {
    font-size: 48px;
}
.listing-filter-heading {
    font-size: 36px;
    color: var(--hading-all);
}
.number-listr {
    font-size: 24px;
    color: var(--top-br);
    font-family: "Poppins", serif;
    font-weight: 800;
}
.desic {
    font-size: 16px;
    color: var(--body-back);
    padding-left: 20px;
}
/* right side*/
.right-side {
    position: relative;
}
.card {
    background: var(--balck-bg);
    padding: 20px;
    border-radius: 10px;
    max-width: 340px;
    position: absolute;
    right: 24px;
    bottom: 24px;
}

[dir="rtl"] .card {
    left: 24px;
    right: unset;
}
.card-title {
    font-size: 28;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--body-back);
}

.pric-top-car {
    color: var(--top-br);
    text-transform: uppercase;
    font-size: 24px;
    padding-left: 10px;
}
.card-text {
    font-size: 18px;
    color: var(--body-back);
}

/* main cs */

.cat-start {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.find-sub {
    color: var(--top-br);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
    letter-spacing: 1px;
}
.find-had {
    font-size: 40px;
    color: var(--hading-all);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: capitalize;
    padding-bottom: 20px;
    font-weight: 800;
}
/* card css */
.card-section-main {
    display: flex;
    justify-content: flex-start;
}
.cat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    max-width: 170px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    color: var(--body-back);
}
.catgory-km {
    color: var(--hading-all);
    font-size: 24px;
    text-align: center;
    text-transform: capitalize;
}
.imger {
    position: relative;
}
.car-mine {
    color: var(--top-br);
    font-size: 16px;
    font-weight: 400;
}
.crt-well {
    text-decoration: none;
    max-width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.fixx-mod {
    background: red;
    color: white;
    font-size: 14px;
    position: absolute;
    top: 4px;
    left: 2px;
    padding: 6px 20px;
    border-radius: 5px;
}
.all-vihle {
    display: flex;
    justify-content: space-around;
}
.fixx-mod:hover {
    background: var(--balck-bg);
}
.car-mine-title {
    color: #d01818;
    font-size: 16px;
    font-weight: 400;
}
.car-det {
    font-size: 18px;
    color: #1c1d1f;
    font-weight: 600;
}
.car-heed {
    color: #85817f;
    font-size: 18px;
    font-weight: 600;
}
.detls {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
}
.trime {
    color: #37383a;
    font-size: 14px;
}
.type {
    display: flex;
    gap: 10px;
}

.number-plate {
    display: flex;
    align-items: center;
    border: 4px solid var(--balck-bg);
    border-radius: 12px;
    background: white;
    color: var(--balck-bg);
    position: relative;
    transition: transform 0.3s ease-in-out;
}
.number-plate-logo {
    width: 60px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-plate-logo-big {
    width: 180px;
}
.number-plate-content {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.number-plate-price {
    position: absolute;
    bottom: -20px;
    right: 5px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: black;
    padding: 2px 6px;
    border-radius: 3px;
    transform-origin: top center;
    transition: transform 0.3s ease-in-out;
}

.number-plate-featured {
    position: absolute;
    top: -20px;
    left: 0;
    background: red;
}

/* Swing animation */
@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(6deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Apply swing effect on hover */
.number-plate:hover .number-plate-price {
    animation: swing 0.8s ease-in-out;
}
.license-plate {
    border: 3px solid lightgray;
    background-color: lightgray;
    border-radius: 8px;
    padding: 1px 2px;
}

.bg-listing {
    background: #141313;
    padding-top: 20px;
}

.footer-dec {
    font-size: 16px;
    color: white;
}

.logo-bt {
    max-width: 20%;
}
.fotter-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Listing css*/
.listing-hero {
    padding-top: 80px;
}
.number-listing-bg {
    background-image: url("network.jpg");
}
.car-listing-bg {
    background-image: url("listing.png");
}
.license-listing-bg {
    background-image: url("number-plate.webp");
}

.listing-bg {
    background-size: cover;
    background-position: center;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}

.listin-pag-to {
    font-size: 20px;
    color: rgb(212, 212, 212);
    text-align: center;
    padding-bottom: 30px;
}

.wehclio-ion {
    display: flex;
    justify-content: space-around;
}

.listing-iobg {
    background: #4d4e50;
    padding: 10px 28px;
    display: flex;
    flex-direction: column;
    font-size: 36px;
    color: rgb(221, 217, 217);
    border-radius: 5px;
}
.listing-iobg:hover {
    background: #010718;
}

.listing-catr {
    font-size: 18px;
    text-align: center;
}

.on-weel {
    color: #d01818;
    /* font-size: 36px; */
}

/* Sticky filter on desktop */
.sticky-filter {
    position: sticky;
    top: 140px;
}

.thumbnail {
    cursor: pointer;
    transition: border 0.3s;
}
.thumbnail.active {
    border: 2px solid blue;
}

.car-detail-icon {
    border: 2px solid lightgray;
    padding: 8px;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Utility class keep them at the end of other code and before @media */
.font-20p {
    font-size: 20px;
}
.font-24p {
    font-size: 24px;
}

.font-30p {
    font-size: 30px;
}

.font-100p {
    font-size: 100px;
}

.max-w-60p {
    max-width: 40px;
}
.mobile-sort {
    display: none;
}

.form-select {
    border: 1px solid;
}
.form-select:focus {
    border-color: rgb(221, 22, 22);
    outline: 0;
    box-shadow: none;
}
.filt-bg {
    background: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
}
.form-control {
    border: 1px solid;
}
.form-control:focus {
    background: white;
    box-shadow: 0 0 0 0.25rem rgba(209, 23, 23, 0.5) !important;

    outline: none;
    border: none;
}

.button-50 {
    appearance: button;
    background-color: #000;
    background-image: none;
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: #fff 4px 4px 0 0, #000 4px 4px 0 1px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 5px 10px 0;
    overflow: visible;
    padding: 8px;
    text-align: center;
    text-transform: none;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

.button-50:focus {
    text-decoration: none;
}

.button-50:hover {
    text-decoration: none;
    background-color: #000000;
    color: #ef1923;
}
select {
    background: #da0c0c;
    border: 2px solid red;
}
.button-50:active {
    box-shadow: rgba(0, 0, 0, 0.125) 0 3px 5px inset;
    outline: 0;
}

.button-50:not([disabled]):active {
    box-shadow: #fff 2px 2px 0 0, #000 2px 2px 0 1px;
    transform: translate(2px, 2px);
}
option {
    background: white !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

@media (min-width: 768px) {
    .button-50 {
        padding: 12px 50px;
    }
}

.active > .page-link,
.page-link.active {
    z-index: 3;
    color: none;
    background-color: rgb(207, 207, 202);
    border-color: red;
}

.contact-font {
    font-size: 18px;
}
/* mobile responsive */
@media (max-width: 996px) {
    .navbar > .container,
    .navbar > .container-fluid,
    .navbar > .container-lg,
    .navbar > .container-md,
    .navbar > .container-sm,
    .navbar > .container-xl,
    .navbar > .container-xxl {
        background: var(--body-back);
    }
    .listing-filter-heading {
        font-size: 24px;
    }
    .logo-top {
        max-width: 28%;
    }
    .form-select {
        font-size: 12px;
    }
    .form-control {
        font-size: 12px;
    }
    .font-100p {
        font-size: 55px;
    }
}

@media (max-width: 790px) {
    .background-image {
        padding: 0 10px;
    }
    .left-content {
        padding-left: 10px;
        padding-top: 100px;
    }

    .hading {
        font-size: 38px;
    }
    .number-listr {
        font-size: 20px;
    }
    .desic {
        font-size: 14px;

        padding-left: 0;
    }
    img.img-fluid.car-top {
        margin-top: -120px;
    }
    .mr-poto {
        width: 100%;
        display: flex;
        justify-content: space-around;
        margin-top: 10px;
    }
    .rhop-op {
        display: flex;
        justify-content: space-around;
    }
    .find-had {
        font-size: 32px;
    }
    .mobile-sort {
        display: block;
    }

    .listing-bg {
        height: 65vh;
    }
    .listing-filter-heading-mobile {
        font-size: 24px;
        display: block;
    }
}
@media (max-width: 576px) {
    .logo-top {
        max-width: 50%;
    }
    .navbar {
        height: 60px;
    }
    .login {
        font-size: 14px;
    }
    .regster {
        font-size: 14px;
    }
    .whtsoo {
        font-size: 15px;
    }
    .find-had {
        font-size: 24px;
    }
    .find-sub {
        font-size: 16px;
    }
    .listing-iobg {
        padding: 5px 10px;
    }
    .hading {
        font-size: 30px;
    }
    .listin-pag-to {
        font-size: 18px;
    }
    .newadd-pd {
        padding: 0 !important;
    }
    .listing-filter-heading {
        font-size: 22px;
        padding: 5px;
    }
    .desictr {
        font-size: 14px;
    }
    .usedt-tr {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    img.img-fluid.car-top {
        margin-top: -180px;
    }
    .left-content {
        padding-top: 60px;
    }
    .card {
        background: var(--balck-bg);
        padding: 5px !important;
        border-radius: 10px;
        max-width: 200px;
        position: absolute;
        right: 10px;
        bottom: -33px;
    }
    .card-title {
        font-size: 18px;
    }
    .pric-top-car {
        font-size: 18px;
    }
    .card-text {
        font-size: 15px;
    }
}
