:root {
    --main-color: #2e93ff;
}

.headear {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/gallery/photo-1503376780353-7e6692767b70.avif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    width: 100%;
    height: 600px;
    position: relative;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.section-header{
    padding-top: 50px;
    
}

.headear h1 {
    text-align: center;
    color: rgb(247, 247, 247);
    width: 50%;
    font-size: 85px;
    line-height: 1;
}

@media (max-width: 991px) {
    .headear h1 {
        width: 100%;
    }
}
.headear span{
    
    color: var(--main-color);
    font-size: 85px;
    line-height: 1;
}

.first-h1 {
    text-align: center;
    margin: 10px;
    padding: 10px;
    font-family: 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.Request-driving {
    display: grid;
    background-color: rgb(248, 248, 248);
    width: 100%;
}

.container-1,
.container-1-5,
.container-2,
.container-3 {
    background-color: white;
    border: 1px solid #ccc;
    border-top: 6px solid var(--main-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.container-1 {
    border-top: 4px solid var(--main-color);
}

.container-1 p {
    margin-top: 0;
    font-size: larger;
    color: rgb(14, 6, 1);
    font-weight: 800;
}

.filter-container #modelFilter {
    width: 250px;
    height: 40px;
    border-radius: 10px;
    text-align: center;
}

.vehicle-selection {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.select-section,
.car-details {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.car-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.car-info img {
    width: 500px;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}

.car-description {
    text-align: right;
}

.car-description h3 {
    color: var(--main-color);
    margin-top: 10px;
}

.date-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.text-section {
    flex: 1;
}

.img-date img {
    width: 420px;
    height: 280px;
    border-radius: 2px;
    object-fit: cover;
}

#confirmation-message {
    display: none;
    text-align: center;
    background-color: #1f9c3c;
    color: white;
    padding: 10px;
    margin-top: 20px;
}

.info-with-image {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.form-section {
    flex: 2;
    min-width: 300px;
}

.image-section img {
    width: 350px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.container-2 h4 {
    color: #383434;
    font-family: cursive;
    font-weight: 800;
    font-size: large;
}

.container-2 input,
.container-2 select {
    display: block;
    width: 300px;
    height: 30px;
}

.container-2 p {
    text-align: left;
    margin: 0px;
    font-size: 1.1rem;
}

.container-3 h1 {
    position: relative;
    right: 80px;
    font-family: sans-serif;
    font-size: 1.2rem;
}

.container-1 h2,
.container-2 h2,
.container-1-5 h2,
.container-3 h1 {
    color: var(--main-color);
}

.container-3 h2 {
    position: relative;
    bottom: 20px;
    color: var(--main-color);
    margin-top: 20px;
    margin-bottom: 5px;
    
}

.container-3 p {
    color: #333;
    font-size: 1rem;
    margin: 10px 0;
}

.communication-options label {
    display: block;
    margin: 1px 0;
    font-size: 1rem;
}

.submit-button {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: var(--main-color);
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}
.container-3 li{
    margin-left: 30px;
    font-size: 30px;
}
a{
    text-decoration: none;
    color: rgb(169, 123, 18);
}

.submit-button:hover {
    background-color: #000000;
}

@media (max-width: 768px) {
    .headear h1 {
        font-size: 36px;
        right: 10%;
        top: 20%;
        text-align: center;
    }
    .headear span{
        font-size: 36px;
        right: 10%;
        top: 20%;
        text-align: center;

    }

    .vehicle-selection,
    .date-wrapper,
    .info-with-image {
        flex-direction: column;
        align-items: center;
    }

    .car-info img,
    .img-date img {
        width: 100%;
        height: auto;
    }

    .container-1,
    .container-1-5,
    .container-2,
    .container-3 {
        margin: 10px 5px;
        padding: 15px;
    }

    .container-2 input,
    .container-2 select {
        width: 100%;
    }

    .car-details,
    .select-section {
        width: 100%;
    }

    .submit-button {
        width: 100%;
    }

    .container-3 p,
    .container-3 h2,
    .container-3 h3 {
        text-align: center;
    }
    

    }
    footer .row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    footer .links ul {
        padding: 0;
        /* text-align: center; */
    }
@media (min-width: 1024px) {
    .container-1,
    .container-1-5,
    .container-2,
    .container-3 {
        max-width: 90%;
        margin: 20px auto;
    }

    .headear h1 {
        font-size: 70px;
        right: 35%;
    }

    .car-info img {
        width: 500px;
        height: 250px;
    }

    .img-date img {
        width: 500px;
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .container-1,
    .container-1-5,
    .container-2,
    .container-3 {
        width: auto;
        max-width: 100% !important;
    }
}
.container-3 li :hover{
    color: #2e93ff;
    transition: .5s ease;

}