:root {
    --primary-color: #DB241C;
    --secondary-color: #625E5D;
    --background-color: #ffffff;
    --secondary-background-color: #F3F3F3;
    --cards-background-color: #E7E7E7;
    --underline-color: #DB241C;
}



@font-face {
    font-family: 'Orbitron-Regular';
    src: url('../fonts/Orbitron-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body,
html {
    height: 100%;
    width: 100%;
    font-size: 100%;
    font-family: sans-serif
}

img,
video {
    max-width: 100%;
    height: auto
}

button,
input,
select,
textarea {
    font-family: inherit
}

ol,
ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

a {
    text-decoration: none;
    color: inherit
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

html {
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

body {
    -ms-overflow-style: none;
}


.bold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.medium {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.normal {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.light {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.orbitron {
    font-family: "Orbitron-Regular" !important;
}

.montserrat {
    font-family: "Montserrat" !important;
}

.navbar {
    background-color: #ffffff;
    padding: auto;
    position: relative;
}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0 2rem;
    flex: 2;
    text-align: center;
}

.nav-link {
    padding: 1rem 0;
    display: block;
    color: #6c757d;
    display: block;
    position: relative;
    padding-top: 50%;
}

.navbar-nav::before,
.navbar-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 3px;
    width: calc(50%);
    transform: translateY(-50%);
}

.navbar-nav::before {
    left: 0;
    background-color: #dc3545;
}

.navbar-nav::after {
    right: 0;
    background-color: #6c757d;
}

.navbar-nav .logo {
    margin: 0 2rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-nav .logo img {
    height: 85px;
}

.nav-link:hover::before,
.nav-link:focus::before {
    opacity: 1;
    height: 4px;
}

.icon_background_color {
    background-color: #ffffff;
}

@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    .navbar-nav::before,
    .navbar-nav::after {
        content: none;
    }

    .navbar-nav .logo {
        margin: 1rem 0;
    }

    .nav-link {
        padding-top: 1rem;
        margin: 0.5rem 0;
    }
}

.custom-offcanvas {
    width: 87% !important;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    /* overflow: hidden; */
}

.offcanvas{
    z-index: 10000000 !important;
}

.custom-close-button {
    background-color: #fa002a;
    color: white !important;
    position: absolute;
    left: -15px;
    top: 20px;
}

.social-icons {
    background-color: red;
    width: 75%;
    color: white;
    border-radius: 10px 10px 0 0;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000005 !important;
}

.mision-vision-custom-card {
    font-size: 18px;
    border: 3px solid #dc3545;
    border-radius: 20px;
    padding: 20px;
    text-align: justify;
    height: 100%;
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px !important;
}

.mision-vision-line-connector {
    height: 60px;
    /* background-color: #dc3545; */
    margin: 0 auto;
    width: 45%;
    position: relative;
    align-items: center;
    /* top: -10px; */
    border-left: 3.5px solid #dc3545;
    border-top: none;
    border-right: 3.5px solid #dc3545;
    border-bottom: 3.5px solid #dc3545;
    border-radius: 0 0 20px 20px;
}

.mission-vision {
    text-align: center;
    margin-top: 0 !important;
}

.mission-vision-text-introduction {
    font-size: 36px;
    font-weight: bold;
}

.mission-vision-container-introduction-text {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.border-left {
    border-left: 0 solid #dc3545;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.border-right {
    border-right: 3.5px solid #dc3545;
    border-top: none;
    border-left: none;
    border-bottom: none;
}

.mission-vision-icon {
    font-size: 1rem !important;
    color: #dc3545;
}

.mission-vision-contact-us {
    background-color: #6c757d;
    color: white;
    font-weight: bold;
    text-align: center;
}

.orange-color {
    color: #dc3545;
}

.gray-color {
    color: #6c757d;
}

.text-justify {
    text-align: justify;
}


/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/
/**  Main Banner CSS ------------------------------------ **/
/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/

h2.main-banner-brand {
    font-size: 2.2rem;
}

h2.main-banner-brand span:nth-child(1) {
    color: var(--primary-color);
}

h2.main-banner-brand span:nth-child(2) {
    color: var(--secondary-color);
}

h1.main-banner-title {
    font-size: 2.8rem;
    color: var(--secondary-color);
}

h1.main-banner-title span {
    font-size: 1.8rem;
}

.underline {
    display: inline-block;
}

.underline::after {
    content: '';
    height: 5px;
    background: var(--primary-color);
    border-radius: 5px;
    display: block
}

.boton-submit {
    box-shadow: 0 0 0 1px var(--primary-color);
    --bs-btn-bg: var(--primary-color);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--secondary-color);
    --bs-btn-hover-color: var(--primary-color);
}


.subtitulo {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: xxx-large
}

.subtitulo-2 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: x-large;
}

.input-email {
    border-color: rgba(98, 94, 93, 0.5);
    box-shadow: 0 0 0 1px rgba(98, 94, 93, 0.5);
}

.input-email:focus {
    border-color: rgba(219, 36, 28, 0.5) !important;
    box-shadow: 0 0 0 1px rgba(219, 36, 28, 0.5);
}

@media (max-width: 768px) {
    .subtitulo {
        font-size: larger;
    }

    .subtitulo-2 {
        font-size: small;
    }

    .titulo {
        font-size: medium;
        margin-bottom: 20px;
    }

    .input-email {
        font-size: x-small !important;
    }

    .only-desk {
        display: none !important;
    }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 70s slide infinite linear;
}

.imagen-banner:hover {
    transform: scale(1.3);
    padding: 0px 120px;
}

.imagen-banner {
    height: 300px;
    transition: all 330ms ease-in-out;
    margin: 0px -25px;
    scroll-snap-align: center;
}

@media (max-width: 768px) {
    .imagen-banner {
        height: 200px;
    }
}

/* Main Banner */

.main-banner-container {
    padding: 0;
    margin: 0;
}

/* Company Milestone Css */
.logo-mini-milestone {
    height: 100px;
    transition: transform 330ms ease-in-out;
    position: sticky !important;
    top: 250px !important;
    left: 50%;
}

.logo-mini-milestone:hover {
    transform: scale(1.2) translate(-45%, 0%);
}

@media (max-width: 768px) {
    .logo-mini-milestone {
        height: 50px;
    }
}



/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/
/**  Why Carsan  ---------------------------------------- **/
/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/


.why-carsan {
    background-color: var(--secondary-background-color);
    padding: 50px 0;
    position: relative;
}

.why-carsan-title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.why-carsan-text {
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-align: justify;
    margin-bottom: 10px;
    line-height: 1.9rem;
}

.containersvg {
    position: absolute;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    top: 0px;
    left: 0px;
}

.why-carsan-img {
    max-height: 650px;
    position: relative;
    transform: translateY(-80px);
}

.why-carsan-img-container {
    position: relative;
    height: 600px;
}

#why-carsan-bgline {
    position: absolute;
    bottom: 75px;
    width: 170vw;
    left: -45%;
}

@-webkit-keyframes animate-svg-stroke-1 {
    0% {
        stroke-dashoffset: 3712.092041015625px;
        stroke-dasharray: 3712.092041015625px;
    }

    100% {
        stroke-dashoffset: 7424.18408203125px;
        stroke-dasharray: 3712.092041015625px;
    }
}

@keyframes animate-svg-stroke-1 {
    0% {
        stroke-dashoffset: 3712.092041015625px;
        stroke-dasharray: 3712.092041015625px;
    }

    100% {
        stroke-dashoffset: 7424.18408203125px;
        stroke-dasharray: 3712.092041015625px;
    }
}

.svg-why-carsan-animation {
    -webkit-animation: animate-svg-stroke-1 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
    animation: animate-svg-stroke-1 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}


.why-carsan-card {
    background-color: var(--cards-background-color);
    padding: 30px 20px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.13);
}

.why-carsan-card-title {
    margin-bottom: 15px;
    height: 70px;
}

.why-carsan-card-title h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.why-carsan-card p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.7rem;
}

h2 .title-line-1 {
    width: 15%;
    height: 5px;
    background-color: var(--secondary-color);
    position: absolute;
    bottom: -0px;
    left: 0;
    border-radius: 10px;
    display: none;

}

h2 .title-line-2 {
    width: 80%;
    height: 5px;
    background-color: var(--underline-color);
    position: absolute;
    bottom: -0px;
    right: 0;
    border-radius: 10px;
    display: none;
}

.title-line-1.active {
    animation: animate-width-1 1s ease-out 0.5s;
}

.title-line-2.active {
    animation: animate-width-2 1s ease-out 0.5s;
}

@keyframes animate-width-1 {
    0% {
        width: 0%;
    }

    100% {
        width: 15%;
    }
}

@keyframes animate-width-2 {
    0% {
        width: 0%;
    }

    100% {
        width: 80%;
    }
}


/* media querys */
@media (max-width: 1750px) {
    #why-carsan-bgline {
        width: 190vw;
        left: -55%;
    }
}

@media (max-width: 1535px) {
    #why-carsan-bgline {
        width: 230vw;
        left: -80%;
    }
}

@media (max-width: 1400px) {
    #why-carsan-bgline {
        width: 250vw;
        left: -85%;
    }
}

@media (max-width: 1200px) {
    #why-carsan-bgline {
        width: 310vw;
        left: -110%;
    }
}

@media (max-width: 992px) {
    #why-carsan-bgline {
        display: none;
    }

    .why-carsan-img{
        height: 250px;
        width: auto;
        transform: none;
        position: relative;
    }
    .why-carsan-img-container::before{
        content: '';
        width: 15%;
        height: 5px;
        background-color: var(--secondary-color);
        position: absolute;
        bottom: -0px;
        left: 0;
        border-radius: 10px;
        animation: animate-width-1 1s ease-out 0.5s;
    }
    .why-carsan-img-container::after{
        content: '';
        width: 80%;
        height: 5px;
        background-color: var(--underline-color);
        position: absolute;
        bottom: -0px;
        right: 0;
        border-radius: 10px;
        animation: animate-width-2 1s ease-out 0.5s;
    }
    .why-carsan-img-container{
        height: 250px;
        text-align: center;
    }

    .why-carsan-title {
        margin-top: 50px;
    }

    h2 .title-line-2,
    h2 .title-line-1 {
        display: block;
    }
}

/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/
/**  Company Milestone  --------------------------------- **/
/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/
.titulo-milestone {
    border: 1px solid var(--primary-color);
    font-family: 'Montserrat' !important;
    color: var(--secondary-color);
    font-weight: 700;
    width: auto;
    z-index: 10000 !important;
    position: relative;
    background: white;
}

.logo-mini-milestone {
    z-index: 10000 !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    line-height: 100px;
    font-size: 50px;
    text-align: center;
}

.milestone {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.milestone::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 0;
}

.container-milestone {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.container-milestone::after {
    content: '';
    position: absolute;
    width: 100px;
    right: 0px;
    background-color: white;
    border: 1px solid var(--primary-color);
    top: 15px;
    z-index: 1;
}

.left-milestone {
    left: 0;
}

.right-milestone {
    left: 50%;
}

.left-milestone::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right-milestone::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right-milestone::after {
    left: 0px;
}

.content-milestone {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}

.item-titulo-milestone {
    font-weight: 700;
    z-index: 2;
}

.item-texto-milestone {
    font-size: 16px;
    color: var(--secondary-color);
}

.item-titulo-milestone span:nth-child(1) {
    color: var(--primary-color);
}

.item-titulo-milestone span:nth-child(2) {
    color: var(--secondary-color);
}

.first-section-milestone {
    padding-top: 200px;
}


/* Estilos para el video en el main banner */
.main-video{
    width: 90vw;
    height: 85vh;
    border-radius: 10px;
    background-color: rgb(231, 231, 231);
    position: relative;
    /* hacer que el contenido no se salga del contenedor */
    overflow: hidden;
}
.main-video-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.main-video-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}
.main-video-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.main-video-content .main-banner-brand{
    background-color: #ffffffd9;
    padding: 10px;
    border-radius: 5px;
}
.main-video-content .main-banner-title{
    color: #ffff;
}


@media screen and (min-width: 750px) {

    .item-titulo-milestone {
        font-size: 24px;
    }

    .right-milestone .content-milestone .item-titulo-milestone {
        margin-left: 50px;
        text-align: right;
    }


    .item-titulo-milestone {
        /* position: absolute; */
        width: fit-content !important;
        background: white !important;
        margin-top: -32px;
        margin-bottom: 30px;
        padding-inline: 10px;
    }

    .item-texto-milestone {
        margin-top: 20px;
    }

    .margin-top-300 {
        margin-top: 300px
    }
    
    .large-text-milestone {
        margin-top: -40px;
        margin-bottom: 35px !important;
    }

    .item-imagen-milestone {
        margin-top: -100px;
        height: 230px;
        /* width: 250px; */
        padding-bottom: 50px;
        max-width: 100%;
    }

}

@media screen and (max-width: 600px) {

    .item-titulo-milestone {
        font-size: 20px;
    }

    /* Place the timelime to the left */
    .milestone::after {
        left: 31px;
    }

    /* Full-width containers */
    .container-milestone {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container-milestone::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left-milestone::after,
    .right-milestone::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .right-milestone {
        left: 0%;
    }

    .logo-mini-milestone {
        height: 75px;
        left: 0;
        transform: translate(5%, 0%);
    }

    .first-section-milestone {
        padding-top: 50px;
    }

    .item-imagen-milestone {
        height: 100px;
    }
}




/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/
/**  Footer  -------------------------------------------- **/
/**  ---------------------------------------------------- **/
/**  ---------------------------------------------------- **/


footer .footer-logo a {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
}


footer .quicklinks ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

footer .quicklinks ul li {
    padding: 15px;
    margin: 5px;
    width: 40%;
    display: inline-block;
    font-size: 0.95rem;
}

footer .quicklinks h5 {

    font-size: 1.1rem;
}

footer .subscribe h5 {
    font-size: 1.1rem;
}

footer .subscribe input:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--primary-color);
}

footer .subscribe button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0px 5px 5px 0px;
    font-size: 1rem;
}


@media screen and (max-width: 768px) {
    footer .quicklinks ul li {
        width: 95%;
        text-align: center;
    }

}

@media (max-width: 768px) {
    .mission-vision-container-introduction-text {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .mission-vision-text-introduction {
        font-size: 25px;
        font-weight: bold;
    }

    .border-right {
        border-right: none;
        border-top: none;
        border-left: none;
        border-bottom: none;
    }

    .mision-vision-custom-card {
        font-size: 14px;
        border: 2px solid #dc3545;
        border-radius: 20px;
        height: 100%;
        width: 100%;
        margin-bottom: 0px !important;
    }
}

.contact-form-container {
    background-image: url('../imgs/contact-form/contact-form.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 770px;
    border-radius: 40px 40px 0 40px;
    /* padding-bottom: 40%; */
}

.contact-form{
    position: relative;
    top: -15%;
    left: 0;
    right: 0;
    width: 45%;
}

.privacy-policy{
    text-decoration: underline;
    color: rgb(106, 198, 255);
    cursor:hand;
}

.text-more-information{
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin: auto;
    display: flex;
    text-align: center;
    margin-top: 38%;
}


#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
}

.puzzle-button {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    text-align: center;
}

.size-text{
    font-size: 2rem;
}

@media (max-width: 768px) {

    .contact-form-container {
        background-image: url('../imgs/contact-form/contact-form.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 12%;
    }

    .text-more-information{
        font-size: 30px;
        font-weight: bold;
        width: 100%;
        color: white;
        margin-top: 70%;
    }

    .contact-form{
        position: relative;
        text-align: center;
        top: 25%;
        left: 0;
        right: 0;
        width: 96%;
    }

    .size-text{
        font-size: 1.2rem;
    }
}

.whycarsanBg  img{
    width: 100%;
    max-width: 1100px;
    /* height: 100%; */
    object-fit: cover;
    object-position: center;
    position: absolute;
    bottom: -40px;
    right: -0px;
    opacity: 0.9;
}

/* Job Application Form */
.job-application-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 30%;
    margin-bottom: 10px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .job-application-title {
        font-size: 1.5rem;
        margin-top: 60%;
    }
}