* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: rgba(246, 247, 249, 1);
}

/* nav section */
.nav-section {
    padding: 40px;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: space-between;

    div {
        display: flex;
    }

    h1 {
        font-size: 30px;
        color: rgba(53, 99, 233, 1);
    }

    input {
        border: none;
        outline: none;
    }

    .nav-input {
        border: 1px solid rgb(227, 222, 222);
        border-radius: 30px;
        padding: 0 7px;
        margin-left: 85px;
        width: 400px;
        height: 40px;

        i {
            color: rgba(89, 103, 128, 1);
        }
    }
}

.bell-nav {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 68, 35, 1);
    transform: translateX(50px);
}

.nav-icons {
    gap: 15px;
}

.nav-icons i {
    text-align: center;
    padding-top: 10px;
    color: rgba(89, 103, 128, 1);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(195, 212, 233, 0.4);
    border-radius: 50%;
    transition: all 1s;
}
.nav-icons i:hover{
    color: rgb(159, 167, 180);
    width: 42px;
    height: 42px;
}

#setting-nav {
    transform: translateX(180px);
    padding-top: 10px;
}

#setting-res-nav {
    display: none;
}

/* nav section responsive */
@media (max-width: 375px) {
    .nav-section {
        display: flex;
        flex-direction: column;
        gap: 30px;

        h1 {
            font-size: 24px;
        }

        .nav-icons i {
            display: none;
        }

        .nav-icons img {
            width: 35px;
            height: 35px;
            transform: translateX(380px) translateY(-135px);
        }

        #setting-nav {
            transform: translateX(2px);
            font-size: 30px;
            border: 1px solid rgba(195, 212, 233, 0.4);
            border-radius: 5px;
            padding: 7px;
            margin-left: 180px;
        }

        .bell-nav {
            display: none;
        }

        .nav-input {
            transform: translateY(70px) translateX(-190px);
            border-radius: 8px;
            height: 45px;
            width: 260px;
            margin-right: 60px;
            border: 1px solid rgba(195, 212, 233, 0.4);
        }
    }

    #setting-res-nav {
        display: flex;
        color: rgba(89, 103, 128, 1);
        font-size: 35px;
        
    }
}

/* hero section */
    .cardd {
        margin-top: 20px;
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .cardds {
        width: 600px;
        height: 300px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        h2{
            color: rgba(255, 255, 255, 1);
            font-size: 30px;
        }
        p{
            color: rgba(255, 255, 255, 1);
            font-size: 16px;
        }
        .rent-carr{
            width: 120px;
            height: 40px;
            background-color: rgba(53, 99, 233, 1);
            border-radius: 5px;
            margin: 12px 0 0 10px;
            color:rgba(255, 255, 255, 1) ;
            padding: 12px 0 0 5px;

            a{
                            text-decoration: none;
                                list-style: none;
            }
        }
        .rent-carr:hover{
            background-color: rgb(121, 148, 230);
            width: 125px;
                height: 42px;
        }
                                .rent-carrr {
                                    margin: 10px 0 0 12px;
                                    width: 120px;
                                    height: 40px;
                                    border-radius: 5px;
                                    background-color: rgba(84, 166, 255, 1);
                                    color: rgba(255, 255, 255, 1);
                                    padding: 12px 0 0 5px;
                                }
                                                                                        a {
                                                                                            text-decoration: none;
                                                                                            list-style: none;
                                                                                        }
                        .rent-carrr:hover {
                            background-color: rgb(45, 72, 153);
                            width: 125px;
                            height: 42px;
                        }
                                                                                    }

    .cardd1 {
        background-image: url(/assets/imges/imges3/Ads\ 1.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

        a {
            background-color: var(--darkblue);
        }
    }

    .cardd2 {
        background-image: url(/assets/imges/imges3/Ads\ 2.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

        a {
            background-color: var(--ligthblue);
        }

    }

    h2 {
        font-size: 60px;
        color: var(--white);
        padding: 5px 20px;
    }

    p {
        font-size: 30px;
        color: var(--white);
        padding: 5px 20px;
    }

    a {
        color: var(--white);
        padding: 10px 10px;
        margin: 40px 20px;
        border-radius: 4px;
        width: 100px;
    }

    button {
        color: var(--white);
        padding: 10px 10px;
        margin: 15px 20px;
        border-radius: 4px;
        width: 100px;
    }


/* responsive hero section  (part two)*/

@media screen and (max-width:375px) {
    .cardd {

        display: flex;
        flex-wrap: wrap;

        .cardd1 {
            height: 300px;
            width: 100%;
            margin: 10px;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;

            h2 {
                font-size: 25px;
            }

            p {
                font-size: 15px;
                margin-top: 10px;
            }
        }

        .cardd2 {
            display: none;
        }
    }
}
/* part three section */
.detail {
    display: flex;
    gap: 10px;
}

.section-heroo {
    width: 100%;
    background-color: rgba(246, 247, 249, 1);
}

.container {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.part31 {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    width: 600px;
    height: 120px;
    border-radius: 7px;
    margin-top: 25px;
    padding: 20px;

    .radio input {
        margin-bottom: 10px;
        color: rgba(26, 32, 44, 1);
        font-weight: 600;
    }
}

.par-details {
    display: flex;
    margin: 20px 100px 0 100px;
    justify-content: space-between;
    color: rgba(144, 163, 191, 1);
    p{
        font-size: 14px;
    }
}

.option {
    h4 {
        color: rgba(26, 32, 44, 1);
        margin-bottom: 10px;
    }
}

.selct-list {
    color: rgba(144, 163, 191, 1);
    border: none;
    outline: none;
    font-size: 14px;

    option {
        color: #000000;
    }
}

.swap-img {
    background-color: rgba(53, 99, 233, 1);
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 1s;
}
.swap-img:hover{
    background-color: rgb(82, 146, 255);
    width:60px ;
    height: 60px;
}

/*  cards section */
.cards-section {
    margin: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.card {
    width: 310px;
    height: 350px;
    background-color: white;
    padding: 20px;
    border-radius: 7px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: rgba(26, 32, 44, 1);
    margin-bottom: 5px;
}

.card p {
    color: rgba(144, 163, 191, 1);
    font-size: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

.card img {
    margin-bottom: 25px;
    width: 250px;
    height: 70px;
}

.card-icons {
    display: flex;
    font-size: 10px;
}

.type-car {
    display: flex;
    font-size: 10px;
}

.type-car img {
    width: 20px;
    height: 20px;
}

.type-car p {
    color: rgba(144, 163, 191, 1);
    font-size: 14px;
    padding-top: 5px;
    margin-left: 5px;
    font-weight: 500;
}

.card-btn {
    display: flex;
    gap: 20px;
}

.card-btn h3 {
    margin-top: 10px;
    color: rgba(26, 32, 44, 1);
}

.card-btn span {
    color: rgba(144, 163, 191, 1);
    font-size: 14px;
}

.card-btn {
    a {
        color: white;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
    }

    button {
        width: 130px;
        height: 45px;
        background-color: rgba(53, 99, 233, 1);
        border: none;
        border-radius: 5px;
        transition: all 0.5s;
    }
    button:hover{
        background-color: rgb(106, 175, 245);
        width: 135px;
        height: 47px;
    }
}

.card-head {
    display: flex;
    justify-content: space-between;
}

.icon {
    font-size: 25px;
    color: rgba(144, 163, 191, 1);
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    font-weight: 100;
}

.icon.liked {
    color: red;
}

.showcars-btn {
        display: flex;
            justify-content: center;
    a {
        color: white;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
    }
    button {
        width: 150px;
        height: 40px;
        background-color: rgba(53, 99, 233, 1);
        border: none;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        transition: all 1s;
    }
                                        button:hover {
                                            background-color: rgb(85, 162, 244);
                                                    width: 160px;
                                                        height: 50px;
                                        }
}
/* footer section */
.footer {
    background-color: rgba(255, 255, 255, 1);
    padding: 40px 40px;
    width: 90%;
    margin: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h1 {
    color: rgba(53, 99, 233, 1);
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(19, 19, 19, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column h3 {
    font-size: 16px;
    color: rgba(26, 32, 44, 1);
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    line-height: 250%;
}

.footer-column ul li a {
    text-decoration: none;
    color: rgba(19, 19, 19, 0.6);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(26, 32, 44, 1);
}

.footer-bottom-links a {
    text-decoration: none;
    color: rgba(26, 32, 44, 1);
    margin-left: 20px;
}

/* footer Responsive */
@media (max-width: 375px) {
    .footer {
        padding: 20px;

    }

    .footer-brand p {
        margin-top: 20px;
        max-width: 250px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-column ul li a {
        color: rgba(144, 163, 191, 1);
    }

    .footer-column {
        margin-top: 20px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-bottom-links {
        font-size: 12px;
    }

    .res-footer {
        transform: translateX(200px) translateY(-525px);
    }

}
/* responsive page */
 @media (max-width: 375px) {
    .checkbox {
        display: none;
    }

    .container {
        background-color: rgba(246, 247, 249, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .part31 {
        width: 350px;
        height: 120px;
    }

    .left {
        display: flex;
        flex-direction: column;
    }

    .section-heroo {
        width: 150%;
        background-color: rgba(246, 247, 249, 1);
    }

    .part31 {
        width: 450px;
        height: 120px;
    }

    .swap-img {
        width: 65px;
        height: 65px;
        margin-bottom: 25px;
        position: absolute;
    }

    /*  cards section */
    .cards-section {
        margin: 60px 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 450px;
        height: 350px;
        position: relative;
    }

    .card-icons {
        display: flex;
        flex-direction: column;
        gap: 0px;
        line-height: 0.5px;
        position: absolute;
        top: 90px;
        right: 20px;
    }

    .card-btn {
        display: flex;
        justify-content: space-between;
        margin-top: 50px;
    }

    .showcars-btn {
        margin-bottom: 20px;
    }
}