﻿* {
    margin: 0px;
    padding: 0px;
}

@keyframes text-elevate {
    0% {
        transform: translateY(50px)
    }

    100% {
        transform: translateY(0px)
    }
}
/*
@keyframes overlay-animation {
    0% {
        background-color: #00000000
    }

    100% {
        background-color: #0000007b
    }
}*/

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.landing-overlay {
    background-color: #0000007b;
    height: 100vh;
/*    animation: overlay-animation 6s linear;*/
}

#call-now-btn {
    background-color: lightblue;
    width: 136px;
    height: 31px;
    border-radius: 10px;
    border: none;
    font-weight: bolder;
    font-size: 12px;
}

.landing-text {
    font-size: 4rem;
    font-weight: 100;
    text-align: center;
    margin-top: 10vh;
    letter-spacing: 1.5px;
    background: linear-gradient(45deg, white, #ffb833,white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-elevate 2s ease-out;
}

.landing-button {
    padding: 10px 40px;
    border-radius: 50px;
    border: none;
    margin: 30px 2px 0px 2px
}

.brand-container {
    overflow-x: scroll;
    overflow-y: visible;    
    animation: text-elevate 2s ease-out;
}

    .brand-container::-webkit-scrollbar {
        display: none;
        width: 6px !important;
    }

.brand-card {
    /*background: linear-gradient(180deg, rgb(0, 0, 0) 50%,transparent);*/
    background-color:white;
    cursor: pointer;
    width: 80px;
    text-align: center;
    height: 75px;
    border-radius: 10px;
    margin: 30px 10px;
}

.why-used-car-section {
    padding: 25vh 0px;
    background-color: white;
}

.section-heading {
    color: #2B2B52;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 50px;
}

    .section-heading::after {
        content: '';
        margin: 3px auto;
        display: block;
        width: 50px;
        text-align: right;
        height: 4px;
        background-color: orange;
    }

#why-detail-container {
    width: 100%;
    aspect-ratio: 1/1;
}

.lower-insurance-card, .lower-interst-card {
    background-color: #eef4de;
    border: 2px dotted red;
}

.border-radius-50 {
    border-radius: 50px;
    overflow: hidden;
    transition: 1s;    
}

.why-used-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    text-align: center;
    animation: text-elevate 0.5s ease-out;
}

.why-card-text {
    font-size: 20px;
    font-weight: bold;
    color: #2F363F;
    margin-top: 15px;
}

.why-card-description {
    font-size: 13px;
    font-weight: light;
    padding: 8px 15px 0px 8px;
    color: rgb(92, 90, 90)
}

.search-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('/media/car-yard.webp') no-repeat center center;
    background-size: cover;
    z-index: -2; /* Keeps it behind the content */
}

.search-content {
    position: relative;
    z-index: 1;
    padding: 70px;
    min-height: 80vh; /* Ensures enough scrolling */
    background: linear-gradient(rgba(79, 40, 255, 0.517) 80%,rgb(255, 255, 255));
}

.search-text {
    font-size: 4rem;
    color: white;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 5px 5px 5px rgba(79, 40, 255, 0.525);
}

.search-input {
    border: 1px solid black;
    border-radius: 20px;
    overflow: hidden;
    height: 62px;
    padding-left: 20px;
    background-color: white;
}

    .search-input input {
        border: none;
        outline: none;
        font-size: 22px;
    }

        .search-input input::placeholder {
            font-weight: 500;
            font-size: 22px;
            color: rgb(159, 154, 154);
        }

    .search-input button {
        margin: 3px;
        border-radius: 16px !important;
        width: 202px;
    }

.recently-added-cars-section {
    padding: 10vh 12px;
    background-color: white;
}

.show-more-btn {
    padding: 10px 30px;
    border: none;
    background-color: orange;
    border-radius: 50px;
}
/*Loan*/

.loan-calculator-section {
    padding: 20vh 0px !important;
    transition: 1s ease-in !important;
    overflow: hidden;
    background-color: white !important;
}

.loan-container {
    background-color: #75DA8B;
    padding: 0px;
    z-index: 5;
    border-radius: 50px;
}

.loan-input-card {
    background-color: white;
    border-radius: 35px;
    aspect-ratio: 1/1;
    height: fit-content;
    margin: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 5px;
}

.loan-card-number {
    padding: 7px 12px;
    border: 1px solid rgb(185, 185, 185);
    border-radius: 20px;
    box-shadow: 5px 5px 5px rgb(182, 177, 177);
    margin: 0px 20px;
}

.plus-minus-card {
    background-color: #2B2B52;
    width: 35px;
    height: 35px;
    color: yellow;
    border-radius: 50px;
    box-shadow: 5px 5px 5px rgb(182, 177, 177);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    cursor: pointer;
}

    .plus-minus-card:active {
        width: 34px;
        height: 34px;
        margin-right: 1px;
        box-shadow: 4px 4px 4px rgb(182, 177, 177);
    }

.loan-card-number {
    text-align: center;
}

.tenure-cards {
    border-radius: 50px;
    border: 1px solid black;
    width: 30px;
    height: 30px;
    padding-top: 3px;
    font-size: 15px;
    cursor: pointer;
}

.selected-tenure {
    background-color: orange;
}

.monthly-emi-value {
    color: #1287A5;
    font-size: 55px;
    font-weight: bold;
    line-height: 50px;
    margin-bottom: 40px;
}

.loan-readonly-value {
    color: gray;
    font-size: 22px;
    font-weight: bold;
}
/*LOAN END*/
#contactus-heading {
    font-size: 28px;
    font-weight: bold;
    width: fit-content;
    padding: 20px;
}

    #contactus-heading::after {
        display: block;
        content: '';
        height: 2px;
        background-color: orange;
    }

.marquee-card {
    background-color: lightgray;
    width: 400px;
    height: 250px;
    display: inline-block;
    overflow: hidden;
    border-radius: 20px;
    margin: 8px;
    box-shadow: 5px 5px 15px rgb(121, 121, 121);
}

    .marquee-card img {
        height: 100%;
        object-fit: contain;
    }


.product-card {
    min-height: 325px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 3px 3px 5px rgb(224, 222, 226);
    border: 1px solid rgb(202, 198, 198) !important;
}

    .product-card:hover .card-image img {
        transform: scale(1.08);
        transition: 0.3s;
    }

.card-image {
    min-height: 190px;
    overflow: hidden;
    border-radius: 0px 0px 0px 15px;
}

    .card-image img {
        width: 100%;
        transition: 1s;
    }
.card-heading {
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}


.card-attributes-text {
    font-size: 13px;
}

.card-price {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */

    font-size: 25px;
    font-weight: 600;
}


@keyframes blink {
    50% {
        opacity: 0;
    }
}

/*BOOTSTRAP MD*/
@media (max-width: 767px) {
    .landing-text {
        font-size: 2.5rem;
        text-align: left;
        margin-top: 10vh;
    }

    .search-content {
        padding: 10px;
    }

    .search-text {
        font-size: 3rem;
    }

    .search-input {
        border-radius: 15px;
        height: 55px;
        padding-left: 10px;
        margin-top: 100px !important;
    }

        .search-input input {
            font-size: 18px;
        }

            .search-input input::placeholder {
                font-size: 18px;
            }

        .search-input button {
            border-radius: 10px !important;
            width: 125px;
        }

}


/*BOOTSTRAP LG*/
@media (max-width: 992px) {
    .lower-interst-card {
        background-color: white;
        border: none;
    }

    .lower-registration-card {
        background-color: #eef4de;
        border: 2px dotted red;
    }
}