body {
    overflow: hidden;
}

.banner-wrapper {
    padding: 100px 0;
    height: 90vh;
    display: flex;
    align-items: end;
    position: relative;
    padding-bottom: 0;
}

.banner-title h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.banner-title h1 span {
    display: block;
    font-weight: 700;
}

.banner-btn-box {
    margin-top: 40px;
}

.banner-btn-box a {
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 16px;
    background: rgb(46 49 145);
    color: #fff;
    border: 1px solid rgb(46 49 145);
    transition: 0.6s;
}

.banner-btn-box a:hover {
    background: transparent;
    color: rgb(33, 77, 182);
}

.banner-image-box {
    position: absolute;
    left: 10%;
    bottom: -18%;
}

.banner-content-box {
    display: flex;
    justify-content: end;
}

.banner-image-box img {
    width: 60%;

}

.gallery-title-box h1 {
    text-align: center;
    font-size: 46px;
    line-height: 56px;
    margin-bottom: 20px;
    color: rgb(15, 23, 42);
    font-weight: 600;
}

.gallery-title-box p {
    text-align: center;
}

.gallery-wrapper {
    padding-bottom: 110px;
    padding-top: 80px;
    position: relative;
}

.gallery-tabs-box .card {
    background: unset;
    border: 0;
}

/*  */

.header .lead {
    max-width: 620px;
}

/** Below CSS is completely optional **/

.gallery-item {
    width: 200px;
    padding: 5px;
}



/* sasdsa */


.gallery-card {
    padding: 20px;
    background: rgb(176 184 193 / 56%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9px);
    border-radius: 10px;
    cursor: pointer;
}

.gallery-card-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.gallery-card-img img {
    width: 250px;
    height: 200px;
    object-fit: contain;
    margin: auto;
    display: block;
    transition: 0.6s;
}

.gallery-card-title h4 {
    color: #18181b;
    text-align: center;
    font-size: 22px;
    padding-top: 15px;
}


#animated-thumbnails-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.gallery-item img {
    width: 100%;
}

.gallery-card:hover img {
    /* transform: scale(1.1); */
    transform: rotateY(360deg);
}

.gallery-tabs-box .tabs-menu button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background: #8c8f95;
    color: #fff;
    margin-right: 10px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background: #2e3191;
    color: #fff;
}

.nav-tabs {
    position: relative;
}

.gallery-tabs-box {
    padding-top: 80px;
    position: relative;
    z-index: 9;
}

.gallery-card-tabs {
    padding-top: 30px;
}

/* .gallery-content:before {
    content: "";
    background: url(../images/porsche-model.png);
    width: 80%;
    position: absolute;
    left: -20%;
    height: 90%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    bottom: -10%;
}

.gallery-content:after {
    content: "";
    background: url(../images/2017-porsche-718.png);
    width: 74%;
    position: absolute;
    right: -25%;
    height: 90%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    top: 0;
    z-index: 0;
} */

.gallery-title-box p {
    max-width: 60%;
    margin: auto;
}






.button-container {
    display: flex;
}

.nav-tabs button.nav-link {
    position: relative;
    z-index: 1;
    transition: background-color 0.3s ease;
}

button.active {
    background-color: #3498db;
}

.car {
    position: absolute;
    top: -50%;
    transform: translate(0, -50%);
    transition: left 0.5s ease;
}


.car img {
    width: 100%;
    height: 70px;
    object-fit: contain;
}



.gallery-bg-img2 img {
    width: 74%;
    position: absolute;
    right: -25%;
    height: 90%;
    top: 0;
    z-index: 0;
    object-fit: contain;
}

.gallery-bg-img img {
    width: 100%;
    position: absolute;
    left: -40%;
    height: 99%;
    bottom: -15%;
    object-fit: contain;

}



@media (max-width: 1655px) {
    .banner-image-box img {
        width: 45%;
        display: block;
        margin-left: 370px;
    }

    .banner-image-box {
        left: -17%;
        bottom: -20%;
    }

    .gallery-wrapper {
        padding-top: 0;
    }

    .gallery-card-tabs {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-bg-img img {
        bottom: 0;
    }
}

@media (max-width: 1365px) {
    .gallery-card-tabs {
        grid-template-columns: repeat(3, 1fr);

    }

    .banner-image-box img {
        margin-left: 300px;
    }

}

@media (max-width: 1199px) {
    .banner-title h1 {
        font-size: 52px;
    }

    .banner-image-box {
        left: -45%;
        bottom: 20%;
    }

    .banner-image-box img {
        width: 40%;
        margin-left: 750px;
    }

    .banner-wrapper {
        height: 100vh;
    }

    .gallery-wrapper {
        padding-bottom: 0px;
    }
}

@media (max-width: 991px) {
    .about-details-main {
        padding-top: 20px;
        padding-left: 15px;
    }

    .details-title h3 {
        font-size: 30px;
        line-height: 36px;
    }

    .card-icon h4 {
        font-size: 70px;
        line-height: 80px;
    }

    .about-details-box {
        max-width: 100%;
    }

    .discover-car-img img {
        width: 100% !important;
        height: 100px;
    }

    .our-drivers-wrapper .owl-nav {
        bottom: -20%;
        align-items: center;
        gap: 20px;
        justify-content: center;
        right: 0;
        top: unset;
        left: 0;
    }

    .our-drivers-main {
        justify-content: center;
    }



    .banner-wrapper {
        padding: 140px 0;
        height: 75vh;
        align-items: baseline;
    }

    .banner-image-box {
        left: -0%;
        bottom: -20%;
    }

    .banner-image-box img {
        width: 50%;
        display: block;
        margin: auto;
    }

    .banner-title h1 {
        font-size: 46px;
        margin-bottom: 10px;
    }

    .our-drivers-box {
        flex-direction: column-reverse;
    }

    #stripes {
        min-width: 100vw;
    }

    .our-drivers-title {
        max-width: 100%;
    }

    .our-drivers-left img {
        width: 90%;
        display: block;
        margin: auto;
    }

    .tabs-menu .nav-tabs {
        width: 100%;
        flex-wrap: unset;
        overflow-y: hidden;
        overflow-x: auto;
    }

    .gallery-tabs-box .tabs-menu button {
        padding: 10px 30px;
    }

    .gallery-card-tabs {
        grid-template-columns: repeat(2, 1fr);

    }

    .gallery-card-img img {
        width: 200px;
        height: 120px;
    }

    .gallery-content:after {
        height: 40%;
    }

    .gallery-content:before {
        bottom: 0;
    }

    .gallery-wrapper {
        padding-bottom: 80px;
    }
}




@media (max-width: 767px) {
    .banner-wrapper {
        padding: 140px 0;
        align-items: baseline;
    }

    .banner-title h1 {
        font-size: 46px;
        margin-bottom: 10px;
    }

    .card-icon span {
        font-size: 43px;
        line-height: 63px;
        color: rgb(15, 23, 42);
    }

    .card-icon h4 {
        font-size: 60px;
        line-height: 70px;
    }

    .banner-image-box img {
        width: 70%;
    }

    .banner-image-box img {
        width: 60%;
    }

    .gallery-wrapper {
        padding-bottom: 50px;
    }


}

@media (max-width: 575px) {
    .banner-wrapper {
        padding: 110px 0;
        align-items: baseline;
        padding-bottom: 0;
    }

    .gallery-bg-img img {
        bottom: 0;
    }


    .banner-title h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .gallery-card-tabs {
        grid-template-columns: repeat(1, 1fr);

    }

    .banner-image-box img {
        width: 70%;
    }

    .gallery-wrapper {
        padding-bottom: 50px;
    }

    .gallery-bg-img2 img {
        width: 100%;
    }

    .gallery-bg-img img {
        width: 100%;
    }

}

@media (max-width: 480px) {
    .serva-content-box {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
    }

    .banner-image-box img {
        width: 80%;
    }

    .banner-wrapper {
        height: 78vh;
    }
}