.dr-panel-1 {
    background: url("../../img/digital-retail/cars-header.webp") no-repeat;
    background-size: cover;
    position: relative;
    height: 400px;
}
/* .dr-services {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: -30%;
    text-align: center;
    width: 1320px;
} */
.hero-content h1 {
    color: #fff;
    font-size: 46px;
    font-weight: 600;
    padding-top: 2em;
    padding-bottom: 1em;
}
.banner-card {
    height: 245px;
    border-radius: 35px;
    padding: 20px;
    color: #fff;
    position: relative;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000085;
    border-radius: 35px;
}

.banner-card-content {
    position: relative;
}

.banner-card-content p {
    line-height: inherit;
}

.bg-1 {
    background: url("../../img/digital-retail/pre-owned-cars.webp") no-repeat;
    background-size: cover;
    background-position: bottom;
}
.bg-2 {
    background: url("../../img/digital-retail/selected-cars.webp") no-repeat;
    background-size: cover;
    background-position: bottom;
}
.bg-3 {
    background: url("../../img/digital-retail/car-refinance.webp") no-repeat;
    background-size: cover;
    background-position: bottom;
}
.bg-4 {
    background: url("../../img/digital-retail/new-car-loan.webp") no-repeat;
    background-size: cover;
    background-position: bottom;
}
.dr-services {
    margin-top: -190px;
    z-index: 9;
    position: relative;
}
.banner-card h3 {
    font-size: 18px;
    /* width: 54%; */
    font-weight: 800;
    color: #fb4848;
}
.banner-card .kw-red-btn {
    padding: 5px 15px !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.page-title h2 {
    color: #057792;
    font-size: 32px;
    font-weight: 700;
}
.page-title .small-text {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 500;
    color: #5c5c5c;
    text-transform: uppercase;
}
.choose-us {
    margin: 4em 0;
}
.dr-count {
    background: #fb4848;
    color: #fff;
    padding: 25px;
    border-radius: 10px;
}
.dr-count h3 {
    font-size: 42px;
    font-weight: 700;
    width: 80%;
    display: flex;
    margin: 0 auto;
}
.dr-count h3 span {
    font-size: 15px;
    font-weight: 400;
    width: 30%;
    margin-left: 10px;
}

.dr-panel-2 {
    padding-bottom: 0;
}
.kuwy-works {
    margin: 4em 0;
}
.kuwy-works ul {
    padding: 0;
    list-style: none;
}
.kuwy-works ul li {
    display: inline-block;
    padding: 15px;
}
.kuwy-works ul li p {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}
.kuwy-works li img {
    margin-bottom: 15px;
}
.dr-panel-3 {
    background: url("../../img/digital-retail/lender-bg.webp") no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.dr-panel-3 p, .dr-panel-3 h4 {
    color: #fff !important;
}
.dr-panel-3 h4 {
    font-size: 32px;
    font-weight: 700;
}

.dr-panel-3 h2.small-text {
    font-size: 18px;
    color: #fff !important;
}

.testimonial-card {
    background: #fff;
    padding: 3em 20px;
    border-radius: 20px;
    height: 300px;
}
.testimonial-card img {
    width: 60%;
}

.slick-next:before {
    content: '';
    background: url(../../img/digital-retail/right.png) no-repeat;
    background-size: contain;
    position: absolute;
    width: 30px;
    height: 30px;
}
.slick-prev:before {
    content: '';
    background: url(../../img/digital-retail/left.png) no-repeat;
    background-size: contain;
    position: absolute;
    left: -20px;
    width: 30px;
    height: 30px;
}




/* similar cars css */
.kw_list_card {
    box-shadow: 0 10px 20px #f6f6f6;
    border-radius: 20px;
    background: #fff;
    position: relative;
    margin-bottom: 30px;
}
.kw_list_card img {
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.kw-card-detail {
    padding: 15px;
}
.kw-card-detail h4 {
    font-size: 14px;
    color: #000000;
    margin-bottom: inherit;
    width: auto;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}
.kw-card-detail ul {
    padding: initial;
    list-style: none;
    margin: initial;
    font-family: 'Montserrat', sans-serif;
    padding-top: 10px;
}
.kw-card-detail ul li {
    display: inline-block;
    font-size: 11px;
    padding-right: 10px;
    color: #000000;
    font-weight: 500;
}
.vehicle-price {
    background: #f2f8f9;
    padding: 10px;
    border-radius: 10px;
    display: flow-root;
}
.vehicle-price h3 {
    font-size: 18px;
    margin-bottom: initial;
    color: #fb4848;
    font-weight: bold;
}
.vehicle-price small {
    font-size: 12px;
    color: #b4b5b7;
}
button.btn.apply-loan {
    background: #057792;
    color: #fff;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    padding: 5px 10px;
    float: right;
    position: relative;
    top: -15px;
    border-radius: 8px;
}
ul.kw-value li {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}
p.ribbon {
    background: #fb4848;
    font-size: 10px;
    color: #ffffff;
    display: inline-block;
    position: absolute;
    transform: rotate(-90deg);
    top: 30px;
    right: 0px;
    margin: 0;
    padding-right: 10px;
    padding-left: 5px;
}
p.ribbon::before {
    content: '';
    width: 15px;
    height: 100%;
    background-color: #fb4848;
    position: absolute;
    top: 0;
    left: -14px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 50% 50%);
}
.kw_list_card i.bi.bi-check-lg {
    background: #2eafcf;
    border-radius: 50%;
    padding: 0px 1px;
    font-size: 10px;
    position: absolute;
    right: 60px;
    top: 7px;
    width: 15px;
    height: 15px;
}
.bi-check-lg::before {
    transform: rotate(90deg);
    position: absolute;
    left: 2px;
    top: 2px;
}
ul.kw-vehicle-list li {
    position: relative;
    width: 50%;
    float: left;
    padding: 3px 0px;
}
ul.kw-vehicle-list li:nth-child(odd) {
}
ul.kw-vehicle-list li:nth-child(even) {
    text-align: right;
}
ul.kw-vehicle-list li::after {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
}
ul.kw-vehicle-list li:last-child::after {
    content: none;
}
.sticky-top {
    top: 90px;
    z-index: 9;
}
#apply-loan .modal-content {
    padding: 10px;
    border-radius: 20px;
}
#apply-loan label.form-label {
    font-size: 14px;
    font-weight: 600;
}
.dr-car-list {
    margin-top: 2em;
    margin-bottom: 2em;
}

.dr-emi-calculator {
    background: url(../../img/digital-retail/car-emi-bg.webp) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    border-radius: 20px;
    height: 400px;
    width: 100%;
    display: table;
    color: #fff;
}
.middle-content {
    display: table-cell;
    vertical-align: middle;
}
.dr-emi-calculator h4 {
    font-size: 46px;
    font-weight: 700;
}
.dr-emi-calculator h4.small-text {
    font-size: 32px;
    font-weight: 600;
}
.dr-emi-calculator button.btn, .dr-emi-calculator a.btn {
    background: #fff;
    padding: 15px 30px;
    border-radius: 35px;
    font-weight: 600;
    color: #fb4848;
    font-size: 18px;
}

.check-price {
    margin-top: 2em;
    color: #fff;
}
.dr-car-check {
    background: url(../../img/digital-retail/car-check-bg.webp) no-repeat;
    background-size: cover;
    padding: 4em;
    border-radius: 20px;
}
.dr-car-price {
    background: url(../../img/digital-retail/car-price-bg.webp) no-repeat;
    background-size: cover;
    padding: 4em;
    border-radius: 20px;
}
.check-price h2 {
    font-size: 42px;
    font-weight: 700;
}
.check-price p {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}
.check-price button.btn ,.check-price a.btn {
    background: #fb4848;
    color: #fff;
    padding: 15px 45px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 18px;
    margin-top: 30px;
}

/* .navbar a, .navbar a:focus {
    color: #fff;
} */
.header-scrolled .navbar a {
    color: #000;
}
#header::after {
    border-bottom: initial;
}


@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .dr-panel-1 {
        height: 260px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .banner-card h3 {
        font-size: 20px;
        width: 70%;
    }
    .dr-services {
        margin-top: 0;
    }
    .page-title h4 {
        font-size: 26px;
    }
    .border-end {
        border-right: initial !important;
        border-bottom: 1px solid #dee2e6;
    }
    .dr-count h3 {
        font-size: 28px;
        font-weight: 700;
        width: 100%;
        display: block;
        margin: 15px 0;
        text-align: center;
    }
    .page-title h2.small-text {
        font-size: 16px;
    }
    .kuwy-works ul {
        display: inline-block;
    }
    .kuwy-works ul li {
        width: 50%;
        float: left;
    }
    .dr-emi-calculator h2 {
        font-size: 34px;
    }
    .dr-emi-calculator h4 {
        font-size: 18px;
    }
    .dr-car-check {
        padding: 1em;
        margin-bottom: 15px;
    }
    .check-price p {
        font-size: 20px;
        font-weight: 500;
    }
    .check-price h4 {
        font-size: 32px;
    }
    .dr-car-price {
        padding: 1em;
        margin-bottom: 15px;
    }
    .choose-us {
        margin: 0;
    }
    .why-kuwy {
        margin-top: 2em;
        text-align: center;
    }
    .dr-emi-calculator {
        padding: 20px;
    }


}
@media only screen and (max-device-width :768px) {
    .border-end {
    border-right: none!important;
}
.dr-count h3 {
    display: block;
    text-align: center;
}
.dr-count h3 span {
    width: 100%;
    display: block;
    margin-left:0px;
}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .hero-content h1 {
        font-size: 38px;
    }
    .banner-card h3 {
        width: 100%;
    }
    .dr-panel-2 {
        padding-top: 2em;
    }
    .page-title h2 {
        font-size: 26px;
    }
    .dr-count h3 {
        font-size: 22px;
        width: 100%;
        display: grid;
        text-align: center;
    }
    .dr-count {
        padding: 15px;
    }
    .dr-count h3 span {
        font-size: 14px;
        width: 100%;
    }
    .choose-us {
        margin-bottom: 2em;
    }
    .kuwy-works {
        margin: 2em 0;
    }
    .dr-emi-calculator {
        height: 280px;
    }
    .dr-emi-calculator h2 {
        font-size: 34px;
    }
    .dr-emi-calculator h4 {
        font-size: 24px;
    }
    .dr-car-check, .dr-car-price {
        padding: 15px;
        height: 200px;
        margin-bottom: 20px;
    }
    .check-price h4 {
        font-size: 32px;
    }
    .check-price p {
        font-size: 18px;
    }


}


