﻿
.logo-container {
    position: absolute;
    left: 96px;
    top: 30px;
    transform: translateY(-50%);
}

.carhistory-logo1 {
    width: 100%;
}


nav.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    padding: 10px 96px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

nav .nav-item {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
}

nav .logo-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav .logo-container img {
    max-width: 120px;
    height: auto;
}

nav .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
    padding: 10px 15px;
}

nav .nav-item.active .nav-link {
    color: #C22026;
}


nav .nav-link:hover {
    color: #C22026;
}

nav .lang-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    nav .lang-link i {
        margin-right: 5px;
    }

.navbar-toggler {
    border: none;
    background-color: transparent;
}


nav .nav-item.active .nav-link {
    color: #C22026;
}

@media (max-width: 280px) {
    nav .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    nav .nav-item {
        margin: 10px 0;
    }

    nav .lang-link {
        position: absolute;
        right: 20px;
        top: 10px;
    }
}


.periodic-maintenance {
    padding-top: 30%;
    padding-bottom: 96px;
}

@media (max-width: 768px) {
    .periodic-maintenance {
        padding-top: 15%;
        padding-bottom: 50px;
    }
}

.video-size {
    padding: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.video {
    opacity: 40%;
    /*    width: 100%;
*/ height: auto;
    object-fit: cover;
    z-index: -1;
}

.video-features {
    float: right;
    background-color: transparent;
    margin-top: 20%;
}


.bi.bi-youtube {
    height: 35px;
    color: #C22026;
}

    .bi.bi-youtube:hover {
        color: black;
    }


.title-app {
    font-family: Poppins;
    font-size: 28px;
    font-weight: 700;
    color: black;
}

.text-app {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    color: black;
}


.periodic {
    width: 600px !important;
}

@media (max-width: 768px) {
    .periodic {
        width: 90% !important;
        margin-bottom: 96px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.responsive-card {
    width: 100%;
    max-width: 400px;
    min-height: 496px;
    border-radius: 10px !important;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 8px;
}

.cards-title-text {
    font-family: Poppins;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-top: 2rem;
    padding: 0 2rem;
}

.cards-body-text {
    font-family: Poppins;
    font-size: 1.1em;
    color: white;
    margin-top: 0.5rem;
    line-height: 1.4;
    padding: 0 2rem;
    flex-grow: 1;
}


@media (max-width: 768px) {
    .responsive-card {
        min-height: none;
    }

    .cards-title-text {
        font-size: 1rem;
    }

    .cards-body-text {
        font-size: 1rem;
    }
}

@media (max-width: 776px) {
    .cards-title-text {
        font-size: 1rem;
    }

    .cards-body-text {
        font-size: 0.9rem;
    }

    .col-12.col-md-4 {
        display: contents !important;
    }

    .col-md-3.mb-4 {
        display: contents;
    }

    .operations-title {
        font-size: 2rem !important;
        margin-bottom: 20px;
        text-align: center;
    }

    .comuni-container {
        padding: 60px 0 !important;
        gap: 0px !important;
    }

    .card.responsive-card {
        padding-bottom: 5%;
        height: auto;
        width: 65%;
        min-height: 100px !important;
    }

    .row.justify-content-center.equal.mt-4 {
        margin-top: 0px !important;
    }

    .img-cards {
        display: none;
    }

    .obj-main-title {
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 24px !important;
    }

    .row.justify-content-center {
        row-gap: 24px !important;
    }

    .obj-card {
        min-height: auto !important;
        height: 1px !important;
    }

    .video-size {
    }

    .outer {
        width: 100%;
        margin-top: -55%;
    }

    .video-features {
        margin-top: -7%;
        float: none;
    }

    .text-app {
        font-family: Poppins;
        font-size: 12px;
        font-weight: 600;
        color: black;
    }

    .title-app {
        font-family: Poppins;
        font-size: 20px;
        font-weight: 700;
        color: black;
    }

    .periodic {
        margin-bottom: 0px;
    }
}

.img-cards {
    width: 100%;
    max-height: 310px;
    height: auto;
    margin: 0;
    border-radius: 10px 10px 0 0;
}



.ai {
    margin: auto;
    display: block;
    width: 70px;
}

.title-iapp {
    margin-top: 0px;
    position: relative;
    text-align: center;
    font-family: Poppins;
    font-weight: 600;
    font-size: 18px;
    color: #C22026;
}

.text-iapp {
    position: relative;
    text-align: center;
    width: 30%;
    padding: 10px;
    font-family: Poppins;
    font-size: 16px;
    color: black;
}




.outer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top: 48px;
    margin-bottom: 48px;
}


@media (max-width: 1200px) {
    .outer {
        width: 90%;
        margin-top: 20%;
    }
}

@media (max-width: 768px) {
    .outer {
        width: 95%;
        margin-top: 30%;
    }
}

@media (max-width: 480px) {
    .outer {
        width: 100%;
        margin-top: 35%;
    }
}


.our-clients {
    margin-top: 5%;
    margin-bottom: 25px;
    position: relative;
    text-align: center;
    font-family: Poppins;
    font-weight: 600;
    font-size: 25px;
    color: black;
}

.our-partners {
    margin-top: 100px;
    margin-bottom: 25px;
    position: relative;
    text-align: center;
    font-family: Poppins;
    font-weight: 600;
    font-size: 25px;
    color: black;
}

.col-2 {
    height: 200px;
    text-align: center;
    margin: auto;
    width: 50%;
    padding: 10px;
}


.bg-body-tertiary.text-center.text-lg-start {
    margin-top: 350px;
    font-family: poppins;
    font-weight: 500;
}

.contact-info {
    top: -166px;
    position: absolute;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 1276px;
    max-height: 166px;
}

.img-partners {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

    .img-partners:hover {
        filter: saturate(0);
        cursor: pointer;
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.img-clients {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

    .img-clients:hover {
        filter: saturate(0);
        cursor: pointer;
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.comm {
    width: 28px;
}

.communication {
    margin-left: 1100px;
    margin-top: -60px;
    position: absolute;
}

.comm-txt {
    color: white;
    font-family: poppins;
    font-size: 10px;
    width: 500px;
}

@keyframes slides {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}





@keyframes slides {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    /*    filter: saturate(0);
*/ opacity: 90%;
    overflow: hidden;
    padding: 15px 0px;
    white-space: nowrap;
    position: relative;
    padding-bottom: 5%;
}

    .logos:before, .logos:after {
        position: absolute;
        top: 0;
        content: '';
        width: 250px;
        height: 100%;
        z-index: 2;
    }

    .logos:before {
        left: 0;
        background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
    }

    .logos:after {
        right: 0;
        background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
    }

.logo_items {
    display: inline-block;
    animation: 240s slides infinite linear;
    animation-play-state: running;
    opacity: 90%
}

    .logo_items img {
        height: 120px;
        margin: 0 5px;
        transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
        will-change: transform, opacity;
    }

        .logo_items img:hover {
            cursor: pointer;
            transform: scale(1.1) rotateY(10deg);
        }



@media (max-width: 768px) {
    .container {
        position: relative;
        align-items: center;
    }
}


@media (max-width: 768px) {
    .logo_items img {
        height: 80px;
    }

    .logos {
        padding: 0px 0px;
    }
}

.inteligent-app {
    text-align: center;
    display: contents;
}



.large-card2 {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
}

.card-slider {
    display: grid;
    gap: 24px;
    margin-top: 60px;
    width: 50%;
}

.card-slider__item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    width: 100%;
    border-radius: 8px;
    background-color: #C22026;
    color: white;
    transition: transform 0.3s ease;
}

    .card-slider__item:hover {
        transform: none;
    }

.card-slider__header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-slider__icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.card-slider__title {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.card-slider__content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card-slider__left, .card-slider__right {
    width: 48%;
    text-align: justify;
}

    .card-slider__left p, .card-slider__right p {
        font-size: 1rem;
        color: white;
        line-height: 1.7;
        padding: 0 10px;
    }

.communication-icons {
    gap: 20px;
    margin-top: 20px;
}

    .communication-icons img {
        width: 50px;
        height: 50px;
    }

@media screen and (max-width: 768px) {
    .card-slider__content {
        flex-direction: column;
        gap: 20px;
    }

    .card-slider__left, .card-slider__right {
        width: 100%;
    }
}







.obj-container {
    background-color: #272A71 !important;
    width: 100%;
}


.objective-container {
    padding: 2% 15% 2% 15%;
}



.obj-title {
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 980px;
    font-family: "Poppins";
    color: black;
    text-align: left;
    padding-bottom: 8px;
}

.card-body {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 24px !important;
}

.obj-text {
    margin: 0 auto;
    max-width: 980px;
    font-family: "Poppins";
    color: black;
    text-align: left;
    padding-bottom: 10%;
}

.obj-main-title {
    padding-top: 48px;
    margin: 0 auto;
    max-width: 980px;
    font-family: "Poppins";
    color: white;
    text-align: center;
}

.obj-card {
    border-radius: 8px;
    background-color: white;
    width: 100%;
    max-width: 400px;
    height: 465px !important;
    min-height: 430px !important;
}




.obj-container .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-img-top {
    border-radius: 8px 8px 0px 0px !important;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 1568px) {

    .obj-card {
        font-size: 0.8rem;
        height: auto !important;
        min-height: auto !important;
        transition: all 0.3s ease-in-out;
    }

    .obj-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 1400px) {
    .obj-card {
        font-size: small;
        height: auto !important;
    }

    .obj-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 1200px) {
    .obj-card {
        min-height: 415px;
    }

    .obj-title {
        font-size: small;
    }
}

@media (max-width: 995px) {
    .obj-card {
        min-height: auto;
    }
}

@media (max-width: 765px) {
    .obj-card {
        width: 70%;
        max-width: 70%;
        min-height: auto !important;
    }
}







.comuni-container {
    display: flex;
    justify-content: center;
    background-color: #272A71;
    width: 100%;
    flex-wrap: wrap;
    gap: 40px;
}

.comuni {
    text-align: center;
    color: white;
    width: 280px;
    padding: 0px 20px 96px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comuni-img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.comuni-title {
    font-family: "Poppins";
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.comuni-text {
    font-family: "Poppins";
    font-size: 1em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .comuni {
        width: 100%;
    }
}






.operations-hub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: black;
}

.operations-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .operations-image img {
        width: 500px;
        height: 500px;
        object-fit: cover;
    }

.operations-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.operations-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: left;
}

.operations-columns {
    display: flex;
    gap: 20px;
}

.operations-column {
    flex: 1;
}

    .operations-column h3 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .operations-column p {
        font-size: 1em;
        line-height: 1.5;
    }

@media (max-width: 768px) {
    .operations-hub {
        flex-direction: column;
        text-align: center;
    }

    .operations-image img {
        width: 300px;
        height: 300px;
    }

    .operations-columns {
        flex-direction: column;
    }
}




.footer {
    background: #262971;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: "Poppins" bold 16px sans-serif;
    padding: 55px 50px;
    color: #ffff !important;
}

    .footer .footer-left,
    .footer .footer-center,
    .footer .footer-right {
        display: inline-block;
        vertical-align: top;
    }


    .footer .footer-left {
        width: 40%;
    }


    .footer h3 {
        color: #ffffff;
        font: normal 36px 'Open Sans', cursive;
        margin: 0;
    }

        .footer h3 span {
            color: lightblue;
        }


    .footer .footer-links {
        color: #ffffff;
        margin: 20px 0 12px;
        padding: 0;
    }

        .footer .footer-links a {
            display: inline-block;
            line-height: 1.8;
            font-weight: 400;
            text-decoration: none;
            color: inherit;
        }

    .footer .footer-name {
        font-family: Poppins;
        color: white;
        font-size: 14px;
        font-weight: normal;
        margin: 0;
    }


    .footer .footer-center {
        width: 35%;
    }

        .footer .footer-center i {
            color: #ffffff;
            font-size: 25px;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            text-align: center;
            line-height: 42px;
            margin: 0px 0px 10px 0px;
            vertical-align: middle;
        }

            .footer .footer-center i.fa-envelope {
                font-size: 17px;
                line-height: 38px;
            }

        .footer .footer-center p {
            display: inline-block;
            color: #ffffff;
            font-weight: 400;
            vertical-align: middle;
            margin: 0;
        }

            .footer .footer-center p span {
                display: block;
                font-weight: normal;
                font-size: 14px;
                line-height: 2;
            }

            .footer .footer-center p a {
                color: lightblue;
                text-decoration: none;
                ;
            }

    .footer .footer-links a:before {
        content: "|";
        font-weight: 300;
        font-size: 20px;
        left: 0;
        color: #fff;
        display: inline-block;
        padding-right: 5px;
    }

    .footer .footer-links .link-1:before {
        content: none;
    }


    .footer .footer-right {
        width: 20%;
    }

    .footer .footer-about {
        font-family: "Poppins";
        line-height: 20px;
        color: white;
        font-size: 13px;
        font-weight: normal;
        margin: 0;
    }

        .footer .footer-about span {
            display: block;
            color: #ffffff;
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 20px;
        }

    .footer .footer-socials {
        margin-top: 25px;
    }

        .footer .footer-socials a {
            display: inline-block;
            font-size: 35px;
            cursor: pointer;
            color: #ffffff;
            text-align: center;
            line-height: 35px;
            margin-right: 5px;
            margin-bottom: 5px;
        }

    .footer .logo {
        height: 50px;
        width: 50px 50%;
        margin-bottom: 15px;
    }


@media (max-width: 800px) {

    .footer {
        font: bold 14px sans-serif;
    }

        .footer .footer-left,
        .footer .footer-center,
        .footer .footer-right {
            display: block;
            width: 100%;
            margin-bottom: 40px;
            text-align: center;
        }

            .footer .footer-center i {
                margin-left: 0;
            }
}
