@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
a{
    text-decoration: none !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(0 0 0) !important;
    font-weight: 600;
}
.HeaderRight a{
    font-size: 20px;
    color: #cb111c;
    display: flex;
    align-items: center;
    font-weight: bold;
}
.HeaderRight a i{
    font-size: 25px;
    color: #cb111c;
    padding-right: 5px;
}
.HeaderRight a:hover{
    color: #cb111c;
}

/* banner section here  */
.bannerSec{
    height: 100vh;
    width: 100%;
    background: url(./img/contact.jpg);
    color: #fff;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bannerSec h1{
    font-size: 80px;
    font-weight: bold;
}

/* first section here  */
.firstSec {
    font-weight: bold;
    width: 100%;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.firstInner{
    background-color: #B8B8B8 !important;
    padding: 10px 0;
}
.firstInnerInner{
    display: flex;
    align-items: center;
}
.carsInner{
    padding: 40px 0;
}

.parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    }
    
    .div1 { grid-area: 1 / 1 / 6 / 3; }
    .div2 { grid-area: 1 / 3 / 6 / 5; }
    
.singleCar{
    height: auto;
    width: 100%;
    padding: 40px 10px;
    box-shadow: rgb(100 100 111 / 20%) 0px 7px 19px 0px;
}

.singleCar h5{
    color: #000;
}
.singleCar p{
    font-size: 14px;
}

.carBtn{
    height: auto;
    width: 260px;
    text-align: center;
    padding: 8px 10px;
    background-color: transparent;
    margin: 0 auto;
    color: #000;
    border: 1px solid #000;
    transition: 500ms ease;
}

.carBtn:hover{
    background-color: #030303;
    color: #fff;
}

/* footer section  */

.footerSec{
    height: auto;
    width: 100%;
    padding: 50px 0;
}

.leftFooter{
    display: flex;
    height: 120px;
    align-items: center;
    border-right: 1px solid #000;
}
.RightFooter{
    display: flex;
    align-items: center;
    height: 120px;
}
.RightFooter p{
    font-weight: bold;
}

.middleFooter{
    border-right: 1px solid #000;
    height: 120px;
    text-align: center;
}

.img-fluid {
    margin-top: 15px;
}

.leftFooter p{
    font-weight: bold;
    color: #000;
}

.contactFooter ul{
    list-style: none;
}
.contactFooter ul li{
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.contactFooter ul li i{
    font-size: 25px;
    padding-right: 5px;
}
.contactFooter ul li:hover{
    color: #cb111c;
}
.Icons ul{
    list-style: none;
    display: flex;
    align-content: space-between;
}
.Icons ul li{
    color: #000;
    font-weight: bold;
    
}
.Icons ul li {
    font-size: 25px;
    padding: 0 5px;
    
}
.Icons ul li i:hover{
    color: #cb111c;
    cursor: pointer;
    
}

@media screen  and (max-width:767px){
    .buttons{
        display: block;
    }

    .rightBtn, .leftBtn {
        margin-left: 0px;
        width: 100%;
    }
    .pricesSec {
        display: block;
        justify-content: space-between;
    }
    .leftBtn{
        margin-bottom: 20px;
    }
    .leftSide {
        border-right: 0px solid #000;
    }
    hr{
        visibility: hidden;
    }
    .bannerSec h1 {
        font-size: 50px;
    }
    .middleFooter{
        border: none;
    }
    .leftFooter{
        border: none;
    }
    .RightFooter {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .leftFooter {
        display: block;
        text-align: center;
    }
    .contactFooter {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}



.forms {
    width: 50%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 2px 2px 5px rgb(0, 0, 0);
}

.rating {
    display: inline-block;
    font-size: 2em;
    color: #ffc107;
}

.rating-note {
    display: block;
    font-size: 1.2em;
    color: #333;
}

.see-all {
    color: #cb111c;
    font-weight: bold;
    text-decoration: none;
}

.card {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    border: none;
}

.card .card-title strong {
    color: #333;
}

.card-text {
    color: #666;
}

.card-subtitle {
    font-size: 0.875rem;
}

/* CSS pour les mobiles */
@media only screen and (max-width: 767px) {
    .forms {
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 2px 2px 5px rgb(255, 255, 255);
    }

    .form-contact {
        padding: 10px;
    }

    input[type='text'],
    input[type='email'],
    input[type='tel'],
    textarea {
        width: 90%;
    }

    select {
        width: 90%;
    }
    .Icons ul{
        list-style: none;
        display: flex;
        align-content: space-between;
        margin-right: 40px;
    }
    .bannerSec{
        height: 50vh;
        width: 100%;
        background: url(./img/contact.jpg);
        color: #fff;
        background-position: center;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .firstSec {

        flex-wrap: nowrap;
        text-align: center;

    }
    .navbar-brand {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-left: -15px; /* Ajustez cette valeur si nécessaire pour centrer le logo */
    }

    .navbar-toggler {
        position: absolute;
        right: 10px;
    }

    .leftFooter {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
    
      .contactFooter {
        width: 100%;
      }
    
      .contactFooter ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
    
      .contactFooter ul a {
        display: flex;
        justify-content: center;
        width: 100%;
        text-decoration: none; /* Optionnel, pour un meilleur style */
      }
    
      .contactFooter ul a li {
        display: flex;
        align-items: center; /* Centre les éléments de la liste verticalement */
        justify-content: center; 
      }
}