/* About Section */
.emphasis {
    display: flex;
    flex-direction: column;
    min-height: 703px;
    padding: 60px 280px;
    width: 100%;
    gap: 50px;
}

.text-emphasis {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.novidades {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #000;
    margin-bottom: 30px;
}

.photo-and-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.text-macan {
    flex: 1;
    padding: 40px;
    border-radius: 25px;
    background-color: #f9be20;
    color: #fff;
}

.text-wrapper-5 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.depuis-ihssan {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

.kk {
    width: 45%;
    border-radius: 25px;
    object-fit: cover;
}

/* Why Choose Us Section */
.arrow-bottom-2 {
    background-color: #000;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.POURQUOI-NOUS {
    font-size: 98px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.span1, .span2, .span3, .span4, .span5, .span6, .span7 {
    display: inline-block;
}

.span1, .span2, .span3 {
    color: #f9be20;
    text-shadow: 0 4px 4px rgba(247, 247, 247, 0.6);
}

.span6 {
    color: #131313;
    text-shadow: 0 4px 4px #fff;
}

.span7 {
    color: #fff;
    text-shadow: 0 4px 4px #f9be20;
}

/* Features Section */
.sale {
    padding: 60px 0;
    position: relative;
}

.cars-sold {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 5%;
    margin-bottom: 60px;
}

.div-2 {
    background-color: #f9be20;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.div-3 {
    margin-bottom: 20px;
}

.text-wrapper-6 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.fast-delivery, .check, .handshake, .delivery {
    width: 80%;
    height: auto;
    margin: 0 auto;
}

/* Services Section */
.arrow-bottom-3 {
    background-color: #000;
    padding: 60px 0;
    text-align: center;
}

.NOS-SERVICES {
    font-size: 98px;
    font-weight: 700;
    margin-bottom: 30px;
}
.form {
    background-color: #e4c200;
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Reduce min-height */
 }
 
 .car {
    width: 80%; /* Reduce width for desktop */
    height: auto;
    object-fit: contain; /* Change to contain */
    margin: 0 auto; /* Center the image */
    display: block;
    max-height: 500px; /* Add max-height */
 }
 
 @media only screen and (max-width: 768px) {
    .form {
        min-height: 300px;
    }
    
    .car {
        width: 95%; /* Increase width for mobile */
        max-height: 300px;
    }
 }
 
 @media only screen and (max-width: 480px) {
    .form {
        min-height: 200px;
    }
    
    .car {
        width: 100%;
        max-height: 200px;
    }
 }

/* Brands Section */
.arrow-bottom-4 {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
}

.marques-section {
    position: relative;
}

.logos {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    background: white;
}

.logos-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.logos-slide {
    display: flex;
    animation: slide 20s linear infinite;
    justify-content: space-around;
    min-width: 100%;
}

.logos-slide img {
    height: 95px;
    margin: 0 20px;
    object-fit: contain;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    z-index: 10;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .emphasis {
        padding: 30px 20px;
    }

    .photo-and-text {
        flex-direction: column;
    }

    .text-macan {
        width: 100%;
        order: 2;
    }

    .kk {
        width: 100%;
        order: 1;
        margin-bottom: 30px;
    }

    .POURQUOI-NOUS {
        font-size: 48px;
    }

    .cars-sold {
        grid-template-columns: 1fr;
    }

    .logos-slide img {
        height: 60px;
    }
}

@media only screen and (max-width: 480px) {
    .POURQUOI-NOUS {
        font-size: 36px;
    }

    .NOS-SERVICES, .NOS-MARQUES {
        font-size: 36px;
    }

    .logos-slide img {
        height: 40px;
        margin: 0 10px;
    }

    .arrow {
        font-size: 18px;
        padding: 8px;
    }
}

/* Why Choose Us section */
.choose_bg {
    background: #f9be20;
    padding: 50px 0;
}

.white_bg {
    background: #fff;
    padding: 40px 20px;
    box-shadow: 0 0 10px 3px #ddd;
    margin-bottom: 5px;
    border-radius: 43px;
}

.for_box {
    text-align: center;
    padding: 1px;
    border-radius: 48px;
    transition: all 0.3s ease;
}

.for_box:hover {
    transform: translateY(-5px);
}

.for_box i {
    display: block;
}

.for_box i img {
    border-radius: 48px;
    max-width: 100%;
    height: auto;
}

.for_box h3 {
    font-size: 26px;
    line-height: 21px;
    color: #070500;
    padding: 25px 0 15px;
    font-family: "Poppins", sans-serif;
}

.for_box p {
    color: #0d0c0a;
    font-size: 17px;
    line-height: 28px;
    padding: 0 15px;
}

.read-more {
    width: 190px;
    margin: 40px auto 0;
    background: #fff;
    display: block;
    border: 2px solid #f9be20;
    text-align: center;
    padding: 10px 0;
    color: #0a0401;
    font-size: 20px;
    border-radius: 43px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #f9be20;
    color: #0a0401;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    .white_bg {
        padding: 20px;
    }

    .for_box {
        margin-bottom: 30px;
    }

    .for_box h3 {
        font-size: 22px;
    }

    .for_box p {
        font-size: 15px;
        line-height: 24px;
    }
}

@media only screen and (max-width: 480px) {
    .choose_bg {
        padding: 30px 0;
    }

    .white_bg {
        padding: 15px;
    }

    .for_box h3 {
        font-size: 20px;
    }

    .read-more {
        width: 160px;
        font-size: 18px;
    }
}


.p {
    font-size: 24px !important;
    color: #ffffff !important;
    text-shadow: 0px 4px 4px #ffff006b;
    font-weight: 600;
}

.novidades-2 {
    font-size: 24px !important;
    color: #ffffff !important;
    text-shadow: 0px 4px 4px #ffff006b;
    font-weight: 600;
}

.novidades-3 {
    font-size: 26px !important;
    color: #000000 !important;
    font-weight: 600;
    margin-top: 20px;
}

@media only screen and (max-width: 768px) {
    .p, .novidades-2 {
        font-size: 20px !important;
    }
    .novidades-3 {
        font-size: 22px !important;
    }
}

@media only screen and (max-width: 480px) {
    .p, .novidades-2 {
        font-size: 18px !important;
    }
    .novidades-3 {
        font-size: 20px !important;
    }
}