/* Extra small devices (phones, 600px and down) */
:root {
    --primary-color: #758E89;
    --sec-color: #3B4A48;
    --text-color: #EBEFEE;
    --number-color: #323D3C;
    --font-primary: 14px;
    --font-base: "Saira", sans-serif;
}


/* --------------------------------------phone size page -------------------------------- */

@media only screen and (max-width: 600px) {
    .main-header {
        top: 0;
        padding-left: 7%;
        padding-right: 0;
        background-color: var(--number-color);
        height: 62px !important;
    }

    header nav .logo a {
        width: 60px;
        height: 20px;
    }

    header nav .nav-menu {
        display: none;
    }

    header nav .btn-nav {
        display: none;
    }

    .home-container .bg-shape-left {
        width: 106px;
    }

    .home-container .car-title {
        position: absolute;
        left: 20px;
        top: -20%;
        transform: translateY(-20%);
    }

    .home-container .car-title h1 {
        font-size: 42px;
        margin: 0;
    }

    .home-container .car-image {
        width: 100%;
        /* height: 20%; */
    }

    .home-container .car-info {
        display: none;
    }

    .home-container .car-position {
        display: none;
    }

    .home-container .car-sub {
        display: none;
    }

    .home-container .home-banner-btn-all {
        display: none;
    }

    .scroll-down {
        width: 106px;
    }


    /* ----------------------------about style ------------------------------------ */

    .about-container .about-banner-detail {
        top: 32%;
        left: 50%;
        transform: translate(-50%, -32%);
        /* left: 64px; */
        width: 90%;
        animation-name: anime-about-banner-detail-responsive;
        animation-duration: 2s;
    }

    .about-container .about-bg-shape-left {
        display: none;
    }

    .about-container .about-banner-img {
        width: 80%;
    }


    .about-container .about-bg-shape-center.about-bg-shape-center-no-responsive {
        display: none;
    }

    .about-container .about-banner-detail h1 {
        font-size: 42px;
    }

    .about-section-1 {
        height: calc(100vh - 62px);
    }

    .about-section-1 .about-section-left {
        padding: 0 20px;
        gap: 20px;
    }

    .about-section-1 .about-section-left .about-section-1-left-text-3 {
        display: none;
    }

    .about-section-1 .about-section-right .about-section-right-top {
        height: 15%;
    }

    .about-section-1 .about-section-right .about-section-right-img {
        height: 85%;
        align-items: end;
        justify-content: center;
    }

    .about-section-1 .about-section-right .about-section-right-top h1 {
        margin-right: 20px;
        font-size: 26px;
    }

    .about-section-1 .about-section-right .about-section-right-img img {
        width: 90%;
        bottom: 0;
        right: 50%;
        transform: translate(50%, 0%);
        top: 0%;
    }

    .about-section-1 .about-section-right .about-section-right-img p {
        padding: 0 20px 20px 20px;
    }

    .about-section-2 {
        height: auto;
        padding: 0 20px 20px 20px;
    }

    .about-section-2 h1 {
        font-size: 36px;
        margin-bottom: 5px;
    }

    .about-section-2 .about-section-2-title {
        width: 100%;
    }

    .about-section-2 .about-cards {
        margin-top: 25px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-section-2 .about-cards .about-card {
        padding: 20px 15px;
    }

    .about-section-2 .about-cards .about-card h4 {
        margin-bottom: 10px;
    }

    .about-section-3 {
        height: calc(100vh - 62px);
    }

    .about-section-3 .about-section-detail-3 {
        width: 95%;
    }

    .about-section-3 .about-section-detail-3 h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .about-section-3 form .form-ground {
        width: 90%;
    }


    /* --------------------------------blog style responsive----------------------------- */
    .blog-banner {
        height: 25vh;
    }

    .blog-banner .blog-banner-bg-left {
        width: 106px;
    }

    .blog-banner .blog-banner-bg-center .blog-banner-text {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .blog-banner .blog-banner-bg-center .blog-banner-text h1 {
        font-size: 32px;
    }

    .blog-banner .blog-banner-bg-center .blog-banner-text p {
        font-size: 12px;
        position: relative;
        z-index: 14;
    }

    .blog-tabs .blog-tabs-items {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow-y: auto;
    }

    .blog-tabs-item {
        width: 130px;
    }

    .blog-container .blog-details {
        padding: 20px;
    }

    .blog-container .blog-details .blog-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .blog-container .blog-description {
        margin: 25% 20px 0 20px;
        animation-duration: 2s;
    }

    .blog-container .blog-description .blog-description-content {
        padding: 20px;
    }

    .blog-container .blog-description .blog-description-content-header h1 {
        font-size: 28px;
        font-weight: 600;
    }

    .blog-container .blog-description .blog-description-content .blog-description-content-body-item .blog-description-content-body-item-imgs {
        gap: 10px;
        margin-bottom: 10px;
    }

    .blog-container .blog-related {
        margin: 20px;
    }

    .blog-container .blog-related .blog-related-header h1 {
        font-size: 18px;
    }

    .blog-container .blog-related .blog-related-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* ------------------------------------vehicles style responsive----------------------------------- */
    .vehicles-banner {
        height: 25vh;
    }

    .vehicles-banner .vehicles-banner-bg-left {
        width: 106px;
    }

    .vehicles-banner .vehicles-banner-bg-center .vehicles-banner-text h1 {
        font-size: 32px;
    }

    .vehicles-banner .vehicles-banner-bg-center .vehicles-banner-text {
        padding: 0 20px;
        position: relative;
        z-index: 12;
        margin-bottom: 40px;
    }

    .vehicles-banner .vehicles-banner-bg-center .vehicles-banner-text p {
        font-size: 12px;
    }

    .vehicles-container .vehicles-details {
        padding: 20px;
        display: flex;
    }

    .vehicles-container .vehicles-details .vehicles-details-left {
        display: none;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-search .vehicles-details-right-search-select {
        display: none;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-cards .vehicles-details-right-card .vehicles-details-right-card-header h1 {
        font-size: 22px;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-cards .vehicles-details-right-card .vehicles-details-right-card-header .vehicles-details-right-card-header-right span {
        font-size: 22px;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-cards .vehicles-details-right-card .vehicles-details-right-card-body h1 {
        display: none;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-cards .vehicles-details-right-card .vehicles-details-right-card-body .vehicles-details-right-card-footer {
        display: none;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-cards .vehicles-details-right-card .vehicles-details-right-card-body {
        height: 100px;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-cards .vehicles-details-right-card .btn {
        bottom: 0;
    }


    .vehicles-detail-banner .vehicles-detail-banner-bg-left {
        width: 106px;
    }


    .vehicles-detail-container .vehicles-detail-banner-description {
        top: 15%;
        left: 20px;
        transform: translateY(-15%);
        width: 70%;
        animation-name: anime-vehicles-detail-banner-description-responsive;
        animation-duration: 2s;
    }

    .vehicles-detail-container .vehicles-detail-banner-description p {
        display: none;
    }

    .vehicles-detail-container .vehicles-detail-banner-description button {
        margin-top: 20px;
    }


    .vehicles-detail-container .vehicles-detail-banner-car-image {
        width: 100%;
    }

    .vehicles-detail-container .vehicles-detail-banner-car-info {
        bottom: 25%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .vehicles-detail-container .vehicles-detail-banner-btn-all {
        right: 20px;
        bottom: 20px;
    }

    .vehicles-detail-container .vehicles-detail-banner-btn-all .hover-effect {
        background: var(--text-color);
    }


    .vehicles-container .vehicles-details-right .vehicles-details-right-search {
        display: grid;
        grid-template-columns: 1fr 62px 62px;
        gap: 5px;
        align-items: center;
        height: 56px;
    }




    .vehicles-section-1 {
        height: calc(100vh - 62px);
        grid-template-rows: 1fr 1fr;
    }

    .vehicles-section-1 .vehicles-section-1-left .vehicles-section-1-left-title h1 {
        font-size: 28px;
        width: 100%;
    }

    .vehicles-section-1 .vehicles-section-1-left .vehicles-section-1-left-title {
        height: 30%;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .vehicles-section-1 .vehicles-section-1-footer {
        grid-column: 1 / 3;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .vehicles-section-1 .vehicles-section-1-footer p {
        font-weight: 200;
        margin-bottom: 20px;
    }

    .vehicles-section-1 .vehicles-section-1-footer span {
        position: relative;
        padding-left: 20px;
    }

    .vehicles-section-1 .vehicles-section-1-footer span::before {
        position: absolute;
        top: 0;
        left: 0;
        content: '\2758';
        height: 100%;
    }

    .vehicles-section-1 .vehicles-section-1-right {
        padding: 20px;
    }

    .vehicles-section-1 .vehicles-section-1-right .vehicles-section-1-right-title {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
    }

    .vehicles-section-1 .vehicles-section-1-right .vehicles-section-1-right-footer {
        display: none;
    }


    .vehicles-section-1 .vehicles-section-1-left .vehicles-section-1-left-img {
        width: 100%;
        top: 0;
        left: 0;
    }

    .vehicles-section-2 {
        height: calc(100vh - 62px);
        grid-template-columns: 1fr;
    }

    .vehicles-section-2 .vehicles-section-2-right {
        padding: 20px;
        justify-content: start;
    }

    .vehicles-section-2 .vehicles-section-2-right .vehicles-section-2-right-text {
        width: 100%;
    }

    .vehicles-section-2 .vehicles-section-2-right .vehicles-section-2-right-text h1 {
        font-size: 28px;
    }

    .vehicles-section-3 {
        display: flex;
        flex-direction: column-reverse;
        height: calc(100vh - 62px);
    }

    .vehicles-section-3 .vehicles-section-3-left {
        padding: 20px;
        justify-content: start;
    }

    .vehicles-section-3 .vehicles-section-3-left .vehicles-section-3-left-text {
        width: 100%;
    }

    .vehicles-section-3 .vehicles-section-3-left .vehicles-section-3-left-text h1 {
        font-size: 28px;
    }

    .vehicles-section-4 {
        padding: 20px;
    }

    .vehicles-section-4 .vehicles-section-4-header {
        text-align: center;
        margin-bottom: 25px;
    }

    .vehicles-section-4 .vehicles-section-4-header h1 {
        font-size: 32px;
    }

    .vehicles-section-4 .vehicles-section-4-detail .vehicles-section-4-detail-items {
        grid-template-columns: 1fr 1fr;
    }

    .vehicles-section-4 .vehicles-section-4-detail .vehicles-section-4-detail-items .vehicles-section-4-detail-item span {
        display: flex;
    }

    .vehicles-section-5 {
        grid-template-columns: 1fr;
        padding: 20px;
        height: calc(100vh - 62px);
    }

    .vehicles-section-5 .vehicles-section-5-left .vehicles-section-5-left-header {
        margin-bottom: 50px;
    }

    .vehicles-section-5 .vehicles-section-5-left .vehicles-section-5-left-header h1 {
        font-size: 32px;
    }

    .vehicles-section-5 .vehicles-section-5-right {
        display: none;
    }

    .vehicles-section-6 {
        padding: 20px 0;
    }

    .vehicles-section-6 .vehicles-section-5-header {
        text-align: center;
    }

    .vehicles-section-6 .vehicles-section-5-header h1 {
        font-size: 32px;
    }

    .vehicles-section-6 .vehicles-section-5-cards {
        width: 100%;
        overflow-y: scroll;
    }

    .vehicles-section-6 .vehicles-section-5-cards .vehicles-section-5-card {
        width: 215px;
    }

    .vehicles-section-6 .vehicles-section-5-cards .vehicles-section-5-card .vehicles-section-5-card-header {
        padding: 10px;
    }

    .vehicles-section-6 .vehicles-section-5-cards .vehicles-section-5-card .vehicles-section-5-card-header h1 {
        font-size: 22px;
        margin-top: 10px;
    }

    .vehicles-section-6 .vehicles-section-5-cards .vehicles-section-5-card .vehicles-section-5-card-item {
        padding: 20px;
    }

    .contact-container .contact-header {
        position: relative;
        top: 0;
        padding: 0;
        height: 62px;
        background: var(--number-color);
    }

    .contact-container .contact-header .logo img {
        width: 100%;
    }

    .contact-container .contact-header .logo {
        width: 73px;
        height: 25px;
        margin-right: 10px;
    }

    .contact-container .contact-header .contact-header-btn {
        padding: 0;
        border: none;
        background: var(--sec-color);
        height: 100%;
        display: flex;
    }

    .contact-container .contact-header .contact-header-btn .btn-back {
        padding: 15px;
    }

    .contact-container .contact-left {
        padding: 20px;
    }

    .contact-container {
        height: auto;
        grid-template-columns: 1fr;
    }

    .contact-container .contact-right {
        padding: 20px;
    }


    .contact-container .contact-left .contact-left-detail .contact-left-detail-medial.contact-left-detail-medial-not-responsive {
        display: none;
    }

    .contact-container .contact-left .contact-left-detail .contact-left-detail-header {
        margin-bottom: 0;
    }


    .contact-container .contact-left-responsive {
        padding-top: 35px;
    }

    @keyframes anime-vehicles-detail-banner-description-responsive {
        from {
            top: 15%;
            transform: translate(-100%, -15%);
        }

        to {
            top: 15%;
            transform: translate(0, -15%);
        }
    }

    /* ------------------------------------footer style responsive--------------------------- */
    footer .nav-footer {
        flex-direction: column;
        padding: 20px;
    }

    footer .nav-footer .footer-logo {
        width: 80px;
        margin-bottom: 20px;
    }

    footer .nav-footer .footer-links {
        justify-content: space-between;
        gap: 20px;
    }

    footer .footer-description {
        padding: 20px;
    }

    @keyframes anime-about-banner-detail-responsive {
        from {
            top: 32%;
            transform: translate(-2000%, 0%);
        }

        to {
            top: 32%;
            transform: translate(-50%, -32%);
        }
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    header nav .btn-hamburger {
        display: none;
    }

    .home-container .car-title .btn button {
        display: none;
    }

    .home-container .home-banner-index {
        display: none;
    }

    .about-container .about-bg-shape-center.about-bg-shape-center-responsive {
        display: none;
    }

    .about-section-1 .about-section-right .about-section-right-img p {
        display: none;
    }

    .vehicles-section-1 .vehicles-section-1-footer {
        display: none;
    }

    .contact-container .contact-left-responsive {
        display: none;
    }

    .blog-tabs-btn-prev,
    .blog-tabs-btn-next {
        display: none;
    }

    .vehicles-container .vehicles-details-right .vehicles-details-right-search .btn-fitter {
        display: none;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}