
/* Hero Section */
.aboutuscls {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('images/italy-8345688_1280.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay {
    padding: 100px;
    width: 100%;
    height: 200px;
}

.overlay h1 {
    font-size: 48px;
    font-weight: bold;
}

.overlay p {
    font-size: 16px;
    line-height: 1.6;
}

/* Join Us Section */
.joinab {
    padding: 60px 10%;
    text-align: left;
}

.joinab h2 {
    font-size: 44px;
    color: #0056b3;
    margin-bottom: 20px;
}
.joinab h3{
    font-size: 36px;
}

.joinab p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .aboutuscls {
        height: 60vh;
    }

    .overlay h1 {
        font-size: 2rem;
    }

    .joinab h2 {
        font-size: 2rem;
    }

    .partner-type {
        width: 90%;
    }
}




.container{
    width: 100%;
    margin-bottom: 60px;
}

@media only screen and (max-width: 1200px){
    .container{
        width: 100vw;
    }
}

/* *Container */
main.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* *Cards */
main .cards{
    display: grid;
    grid-template-columns: repeat(3, 400px);
    grid-template-rows: 1fr;
}

main .cards .card{
    padding: 3rem;
}

    /* Cards Header */
main .cards .card .card-header h2{
    color: white;
    font-size: 2.70rem;
}
.card-header img{
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;

}
    /* Card Content */
main .cards .card .card-content p{
    color: white;
    line-height: 1.8;
}
main .cards .card .card-content a{
    display: inline-block;
    padding: .75rem 2rem;
    border-radius: 50px;
    margin-top: 5rem;
    border: 2px solid gray;
    background-color: white;
    text-decoration: none;
}
main .cards .card .card-content a:hover{
    background-color: transparent;
    color: rgb(255, 255, 255);
}

/* *Card Sedans */
main .cards .card-sedans{
    background-color: #0C0420;
    border-radius: 10px 0 0 10px;
    color: black;
}
main .cards .card-sedans .card-content a{
    color: rgb(0, 0, 0);
}

/* *Card SUVs */
main .cards .card-suvs{
    background-color: #5D3C64;
}
main .cards .card-suvs .card-content a{
    color: rgb(0, 0, 0);
}

/* *Card Luxury */
main .cards .card-luxury{
    background-color: #7B466A;
    border-radius: 0 10px 10px 0;
}
main .cards .card-luxury .card-content a{
    color: rgb(0, 0, 0);
}


@media only screen and (max-width: 910px){
    /* *Container */
    .container{
        width: 100vw;
    }

    /* *Cards */
    main .cards{
        grid-template-columns: repeat(3, 250px);
    }
    main .cards .card{
        padding: 2.5rem;
    }
}

@media only screen and (max-width: 768px){
    /* *Container */
    .container{
        width: 100vw;
    }

    /* *Cards */
    main .cards{
        grid-template-columns: repeat(3, 250px);
    }
    main .cards .card{
        padding: 1.5rem;
    }
}
@media only screen and (max-width: 540px){
    /* *Container */
    .container{
        width: 100vw;
    }

    /* *Cards */
    main .cards{
        grid-template-columns: repeat(1, 300px);
    }

    /* Card Content */
    main .cards .card .card-content a{
        margin-top: 2rem;
    }
    
    /* *Card Sedans */
    main .cards .card-sedans{
        border-radius: 10px 10px 0 0;
    }

    /* *Card Luxury */
    main .cards .card-luxury{
        border-radius: 0 0 10px 10px;
    }

}


