* {
    font-size: 14px;
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
}

body {
    scroll-padding-top: 100px;
}

/* colors */

:root {
    --blue: #0C0F1B;
    --red: #B42025;
    --pink: #E34547;
    --pinklink: #ef5557;
    --lightpink: #F4CBCB;
    --shadow: #0b0f1b45;
}

/* text */

h1 { 
    font-weight: 600;
    font-style: italic;
    font-size: 32px; 
    color: var(--blue); 
    text-transform: uppercase;
    margin: 10px 0;
}

h2 { 
    font-weight: 400;
    font-style: italic; 
    font-size: 22px; 
    color: var(--red); 
    margin: 10px 0;
}

h2 .bold { font-weight: 700; }

h3 {
    font-weight: 600;
    font-style: italic;
    font-size: 18px;
    margin: 10px 0; 
    text-transform: uppercase;
}

h4 {
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--blue); 
}

h5 {
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
}

h6 {
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
}

p { 
    font-weight: 300; 
    color: var(--blue); 
    line-height: 24px;
    font-style: normal;
    margin: 20px 0 10px 0;
}

a { text-decoration: none!important; } 

/* different text */

.red-text { color: var(--red);}
.pink-text { color: var(--pink);}
.light-text-section h1, .light-text-section p{
    color: white;
}
.title-group {
    display: flex;
    flex-direction: column-reverse;
}
a.link { color: var(--pinklink); }
a.link:hover { color: var(--red); }

/* lists */

ul { list-style: none; }

/* lines */

hr {
    background: linear-gradient(to right, var(--red), var(--pink));
    height: 2px;
    width: 300px!important;
    opacity: 1;
    border: none;
    margin: 10px 0;
    border-radius: 2px;
}

/* bg */

.blue-bg { background: var(--blue); }
.red-bg { background: var(--red); }
.split-bg { background: linear-gradient(to right,var(--blue), var(--blue) 58%, var(--red) 42%), var(--red); }
.pink-bg { background: #F4CBCB}
.blur { filter: blur(10px); }
.blurred-bg  {
    background: url('/assets/website/img/bg/blurred-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
}
.p-t-100 { padding-top:100px; }

.trapezoid {
    height: 100%;
    width: 50vw;
    position: absolute;
    right: 0;
    background: var(--red);
    clip-path: polygon(15px 30%, 100% 0, 100% 100%, 15px 70%);
}
.trapezoid-solutions-right {
    height: 100%;
    width: 50vw;
    position: absolute;
    right: 0;
    background: var(--red);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
}
.trapezoid-solutions-left {
    height: 100%;
    width: 50vw;
    position: absolute;
    left: 0;
    background: var(--red);
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0% 100%);
}

.trapezoid-blue-left {
    height: 100%;
    width: 20vw;
    position: absolute;
    left: 0;
    background: var(--blue);
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0% 100%);
}
.trapezoid-blue-right {
    height: 100%;
    width: 20vw;
    position: absolute;
    right: 0;
    background: var(--blue);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
}

@media (max-width: 767px) {
    .split-bg { background: var(--blue) }
}
@media (min-width:768px ) and (max-width: 991px) {
    .split-bg { background: linear-gradient(to right,var(--blue), var(--blue) 50%, var(--red) 50%), var(--red); }
}

@media (max-width: 991px) {
    .trapezoid-solutions-right{
        width: 100%;
        clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 93%);
    }
    .trapezoid-solutions-left {
        width: 100%;
        clip-path: polygon(0 0, 100% 10%, 100% 80%, 0 80%);
    }
}

/* overlays */

.overlay {
    height:100%; 
    width: 100%;
    position: absolute;
    box-shadow: inset -28px -8px 41px 23px #0c0f1bdb;
    background: linear-gradient(to bottom, #0c0f1bd1, #0c0f1b09, #0c0f1b09, #0c0f1bd1);
}

.blue-overlay {
    height:100%; 
    width: 100%;
    position: absolute;
    background: #0c0f1b95;
}

/* btns */

.btn {
    min-width: 150px;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 15px 0;
    color: white;
    text-transform: uppercase;
    background-size: 300% 100%;
    -o-transition: all .4s ease-in-out !important;
    -webkit-transition: all .4s ease-in-out !important;
    transition: all .4s ease-in-out;
    background-image: linear-gradient(to right, #B52126, #E44648,  #E44648, #B52126);
}

.btn:active, .btn:hover, .btn:focus , .btn:focus-visible {
    outline: none;
    cursor: pointer;
    background-position: 100% 0;
    -o-transition: all .4s ease-in-out !important;
    -webkit-transition: all .4s ease-in-out !important;
    transition: all .4s ease-in-out !important;
    transform: scale(1.05);
    background-image: linear-gradient(to right, #B52126, #E44648,  #E44648, #B52126);
    color: white;
}

.btn-white {
    color: var(--red);
    background: white;
}
.btn-white:active, .btn-white:hover, .btn-white:focus, .btn-white:focus-visible {
    -o-transition: all .4s ease-in-out !important;
    -webkit-transition: all .4s ease-in-out !important;
    transition: all .4s ease-in-out !important;
    transform: scale(1.05);
    background: white;
    color: var(--red);
}

section { padding: 50px 0; }

@media (max-width:768px) {
    section {
        padding: 25px 0;
    }
}

/* header */ 

header {
    position: relative;
    height: 360px;
    z-index: 10;
    background-image: url('/assets/website/img/bg/blurred-bg.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 300px;
}

.header-alt {
    height: auto;
    background: none;
    min-height: 50px;
    position: fixed;
}
.header-alt nav{
    background: none;
    height: auto;
    position: fixed;
    border-radius: 0px;
    top: 0;
    left: 0;
    width: 100%;
    display: table;
    transition: all .75s ease-out;
}


@media (min-width:991px) and (max-width:1200px) {
    .header-alt .btn-login span , header .scrollable-item .btn-login span{
        display:none;
    }
    
    .header-alt .btn-login , header .scrollable-item .btn-login{
        min-width:unset;
    }
    
    header .scrollable-item .btn-login img, .btn-login img{
        margin-right: 0!important;
    }
}

header .navbar-brand { padding: 0; }

header .navbar-login {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: auto;
}

header .dropdown-toggle::after { color: white; }

header .scrollable-nav  {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
} 

header .scrollable-nav  .navbar-collapse {
    display: flex!important;
    align-items: center;
} 

.alt-header {
    background: none;
    height: auto;
}
 
.alt-header.scrolled {
        background: white;
        box-shadow: 4px 4px 10px var(--shadow);
        transition: all .75s ease-out;
}

/* header links */

header .nav-link , header .nav-link span{
    color: white;
    position: relative;
}

header  #navbarNav .nav-link, .header-alt .nav-link {
    padding: 14.5px 10px!important;
}

header .nav { min-height: 70px; }
header .scrolled {
    position: fixed;
    border-radius: 0px;
    top: 0;
    left: 0;
    width: 100%; 
    display: table;
    background: white;
    box-shadow: 4px 4px 10px var(--shadow);
    transition: all .75s ease-out;
}

@media (min-width:991px) {
    header .scrolled .nav-link , header .scrolled span, header .scrolled .dropdown-toggle::after{
        color: var(--blue);
    }
    header .scrolled .dropdown-toggle::after {
        color: var(--blue);
    }

    

}

@media (min-width:768px) and (max-width:991px) {
    .navbar-nav {
        float: unset;
    }
}


header .nav-link:hover ,header .nav-link:focus ,header .nav-link:active, header .scrolled .nav-link:hover ,header .scrolled .nav-link:focus ,header .scrolled .nav-link:active, header .navbar-nav .nav-link.active, header .scrolled .nav-link.active{
    opacity: unset;
    border: none;
    background: unset;
    color: var(--pinklink);
} 

.navbar-toggler span{ background: none;}
.navbar-toggler, .navbar-toggler:focus { border: none; box-shadow: none;}
.navbar-toggler-icon path { fill: var(--blue); }

@media (max-width:991px) {
    header #navbarNav .nav-link { color: var(--blue); width: auto;} 
    nav, .header-alt nav { background-color: white; } 
    .navbar-collapse { max-height: unset !important; }
    header .nav-link, header .nav-link span {  color: var(--blue); }
    .nav .open>a, .nav .open>a:focus, .nav .open>a:hover { background-color: transparent; }
    header .navbar{
        box-shadow: 4px 4px 10px var(--shadow);
    }
    header .navbar-login {
        margin-top:10px;
        flex-direction: column;
        justify-content: center;
    }
    header .dropdown-toggle::after {
        color: var(--blue);
    }
}

@media (min-width:991px) {
    .header-alt .navbar-collapse {
        display: flex!important;
        align-items: center;
    } 
}


/* link animation */

header .nav-link:before , header .nav-link:after {
    content: '';
    position: absolute;
    transition: transform .5s ease;
}

.locales:before {content: none;}
.locales:after { top: 28px; } 
.locales-top:after { top: 8px; }

header .nav-link:before , header .nav-link:active:before { 
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    background: var(--pinklink);
}

header .nav-link.active:before{ 
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(1);
    background: var(--pinklink);
}


header .nav-link:hover:before { transform: scaleX(1); } 
.header-banner { height: 100%; } 

nav {
    width: 100%;
    height: 60px;
    background: transparent;
    position: fixed;
    z-index: 10;
}

nav div {
    color: white;
    font-size: 2rem;
    line-height: 60px; 
}

.scrollable-item { visibility: hidden; }
.scrolled-visible { visibility: visible!important; }

nav ul { 
    list-style-type: none;
    margin: 0 2% auto 0;
    padding-left: 0;
    text-align: center;
    max-width: 100%;
}
nav ul li { 
    display: inline-block; 
    line-height: 40px;
}
nav ul li a {
    text-decoration: none; 
    color: #a9abae;
}

header .locales {
    display: flex;
    align-content: center;
}

header .locales:after { 
    position: static;
    margin-top: auto;
    margin-bottom: auto;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    border-top: 2px solid var(--pink);
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: transparent;
    color: var(--pinklink);
}

/* footer */

footer{
    clip-path: polygon(65% 9%, 100% 0, 100% 100%, 0 100%, 0 0);
    height:auto;
}

@media (max-width:768px) {
    footer{ clip-path: polygon(65% 4%, 100% 0, 100% 100%, 0 100%, 0 0); }
}

.footer-icon-bg {
    background: url('/assets/website/img/bg/footer-icon.webp');
    background-position: right center;
    background-repeat: no-repeat;
}

@media (max-width:991px) {
    .footer-icon-bg { background-position: right -45px bottom -35px; }

    nav ul li {
        display: flex;
        justify-content: center;
    }

    nav ul li:last-child {
        display: grid;
        justify-content: center;
    }

    nav ul li:last-child a{
        display: block;
    }
}

footer p { color: white; }
footer a { color:white; cursor: pointer; transition: all .2s ease-in-out; line-height: 30px;}
footer a:hover { color: var(--lightpink); }

.legal {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 5px 0;
}

/* card */

.card{
    box-shadow: 4px 4px 10px #0000003d, -4px -4px 10px #0000003d;
    background: #ffffff3d;
    padding: 20px;
    border: none;
    height: 100%;
    border-radius: 2px;
    border-left: 1px solid var(--red);
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(20px); 
}
.card.visible {
    opacity: 1;
    transform: translateY(0); 
}

.card:hover{
    background: var(--red);
    border-left: 1px solid var(--red);
}

.fleet-card {
    box-shadow: 0px 1px 8px 10px #0000000d;
    background: #ffffff;
    padding: 20px;
    border: none;
    min-height: 300px;
    height: 100%;
    border-radius: 2px;
    max-width: 370px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px); 
    position: relative;
}

@media (max-width: 991px) {
    .fleet-card {
        min-height: 360px;
    }
}

.fleet-card.visible {
    opacity: 1;
    transform: translateY(0); 
}

.fleet-card h6 {
    position: absolute;
    bottom: 20px;
}

.fleet-card img {
    width: 150%;
    margin-left: -30%; 
    margin-right: -30%; 
    display: block; 
}

@media (max-width:768px) {
    .fleet-card img {
        width: 130%;
        margin-left: -20%; 
        margin-right: -20%; 
        display: block; 
    }
} 

/* semi container */

.semi-container {
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .semi-container { width: 375px; }
}
@media (min-width: 992px) {
    .semi-container { width: 485px; }
}
@media (min-width: 1200px) {
    .semi-container { width: 585px; }
}

/* pages */

/* home  */

.shape{
    height:100%; 
    background: var(--red);
    clip-path: polygon(0 0, 70% 0, 50% 100%, 0% 100%);
    width: 100%;
    position: absolute;
}

.home-bg{
    height: 100%;
    width: 101%;
    position: absolute;
    filter: blur(10px);
} 

.home-slider {
    height: 800px;
    overflow: hidden;
    position: relative;
}

@media (min-width:768px) and (max-width:991px) {
    .home-slider .sm-section{
        display: flex!important;
        align-items: center;
    }
}

@media (min-width:768px) {
    #about { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0 100%); }
    #recruitment { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0 100%); }
}

.justify-items-end { justify-items: end; }

@media (min-width: 768px) and (max-width:991px) {
    .split-bg::before { 
        border-left: 50vw solid transparent;
        border-right: 50vw solid transparent;
    }
}

@media (max-width: 768px) {
    .split-bg::before { content: none; }
}

/* slider */

.slider-row {
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 1;
}

/* contacts */

#contacts-page .contact-info{ padding-left: 50px; }
#contacts-page .p-r { padding-right: 20px;}

@media (max-width: 991px) {
    #contacts-page  .card-contacts { margin: 50px 0 ; }
    #contacts-page .trapezoid{
        width: 100%;
        clip-path: polygon(10% 80%, 90% 80%, 100% 100%, 0 100%);
    }
    #map { padding-top: 0;}
    #contacts-page .contact-info{ padding: 40px 0 0;}
}

@media (max-width:768px) {
    #contacts-page .p-r { padding-right: 0;}
}

/* about */

#vision {
    margin-top: -50px;
    clip-path: polygon(50% 0, 100% 50px, 100% 100%, 0 100%, 0 50px);}

#mission {
    padding-bottom: 50px;
    clip-path: polygon(0 0, 50% 50px, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 768px) {
    #vision { clip-path: polygon(0 30px, 100% 0, 100% 100%, 0% 100%); }
    #mission { clip-path: polygon(0 30px,0 100% , 100% 100%, 100% 0%); }
}

/* solutions */

#solutions { clip-path: polygon(58% 50px, 100% 0, 100% 100%, 0 100%, 0 0); }
#solutions .light-text-section { padding-top: 100px}

#ecommerce {
    clip-path: polygon(0 20%, 100% 10%, 100% 80%, 0 90%);
    background: url('/assets/website/img/solutions/ecommerce.png');
    background-size: cover;
    background-repeat: no-repeat;
}
#fashion {
    clip-path: polygon(0 80%, 100% 90%, 100% 20%, 0 10%);
    background: url('/assets/website/img/solutions/fashion.png');
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width:768px) and (max-width:991px) {
    #solutions { clip-path: polygon(50% 50px, 100% 0, 100% 100%, 0 100%, 0 0); } 
}

@media (max-width:768px) {
    #solutions { clip-path: none; } 
    #solutions img { width: 100%; padding-top:20px;} 
    #solutions .light-text-section { padding-top: 40px}
}

/* icon list */

#particular-moving li, #comercial-moving li {
    text-transform: uppercase;
    font-weight: 700;
    font-style: italic;
}

/* icon li animation */

#particular-moving li, #comercial-moving li, #package li {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateX(-50px); 
}

#particular-moving li.visible , #comercial-moving li.visible , #package li.visible{
    opacity: 1;
    transform: translateY(0); 
}

#nacional { clip-path: polygon(100% 0, 100% 90%, 50% 100%, 0 90%, 0 0);}
#spain { clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0, 50% 50px);}

/* fleet */

#fleet-banner { 
    position: relative; 
}

#fleet-banner .blue-bg {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 50% 93%, 0 100%);
}

#fleet-banner img {
    position: relative;
    z-index: 2;
}

/* lines */

.side-img-container {
    position: relative; width: 100%; height: 100%; overflow: hidden;
}

.side-img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
}

@media (max-width:768px) {
    .side-img-container {
        height: 350px;  
    }
}

@media (min-width:768px) and (max-width:991px) {
     .side-img {
        max-height: 100%!important;
    }
}

/* budget */

#budget select{
    border-radius: 1rem !important;
    height: 35px!important;
    border: none!important;
    background-color: #F0F5FF!important;
    font-size: 12px!important;
    padding: 5px 15px !important;
    color: var(--black-text)!important;
    display: block;
    width: 100%;
}

#budget select:focus {
    background-color: #F5F5FF !important;
    color: #55529E !important;
}

/* legal */

.legal-card {
    border: none;
    border-radius: 1.5rem!important;
}

#legal .list-group-item.active {
    background-color: var(--orange);
    border-color: var(--oranges);
    color: white;
}

#legal .list-group-item:hover{
    background-color: var(--purple-bg);
    border-color: var(--purple-bg);
}

#legal .list-group-item.active:hover {
    background-color: var(--light-purple);
    border-color: var(--light-purple);
} 

#legal .list-group-item {
    padding: 10px 20px;
    color: var(--purple);
}

/* form  */

.form-row {
	position: relative;
	margin-top: 10px;
}

.modal-body {
    padding: 20px 40px;
}

@media (max-width:768px) {
    .modal-body {
        padding: 10px 20px;
    }
}

.modal-header{
    padding: 15px 40px;
} 

.form-label {
	color: var(--blue);
    font-weight: normal;
	cursor: text;
	transition: all .15s ease-in-out 0s;
}

.form-control {
    border-bottom: 2px solid var(--blue);
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: none!important;
    border-radius: 0;
    height: 40px;
    background-color: transparent!important;
    padding: 0 15px !important;
    width: 100%;
    z-index: 2;
    position: relative;
}

.form-control:focus {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid var(--red);
}

.form-control.tracking {
    background-color: #e0e0e0 !important;
    border-radius: 1rem;
    border: none;
    z-index: 1;
    position: absolute;
    margin:0 10px;
}

.form-control.tracking:focus {
    background-color: #eeeeee!important;
    border: none;
}

.row.row-0 div[class*="col-"] {
    padding-left:inherit!important;
    padding-right:10px!important;
}

#tracking a { z-index: 2; right: 15px; }
#tracking button { border-radius: 1rem; }

.nav-tabs {
    border: none;
    margin-bottom: -2px!important;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    box-shadow: 0 -4px 14px #496fb43c !important;
    border: none;
}

@media (min-width: 768px) and  (max-width:991px) {
    .collapse:not(.show) {
        display: none!important;
    }
    .collapsing {
        transition-duration: .35s!important;    
        transition-timing-function: ease;
        transition-property: height, visibility;
    }
    
    
    h3 { font-size: 14px!important; }
}

@media (max-width:768px) {
    .form-control.tracking {
        position: relative;
        margin-top: 20px;
    }
    .logo_nav { height: 40px!important; }
    .home-slider .slider-row{ padding-top: 100px; }
    .slogan {  font-size: 28px!important; }
    .btn {
        font-size: 12px!important;
        min-width: 150px;
    }
    p { font-size: 13px!important;}
    h1 { font-size: 25px!important; }
    h2 { font-size: 17px!important; }
    h3 { font-size: 13px!important; }
    h4 { font-size: 12px!important; }
    .h1-slider { font-size: 32px!important; }
}