button.slick-arrow {
    display: none !important;
}

/* Aplicar la fuente Lato por defecto a todo el documento */
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    /* Peso regular como valor por defecto */
}

.lato-light {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    /* Lato Light */
    color: white;
    text-decoration: none;
}

a.lato-light:hover {
    color: #00B3B3;
    /*font-weight: 700;*/
}

.lato-dark {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    /* Lato Light */
    color: black;
    text-decoration: none;
}

a.lato-dark:hover {
    color: #00B3B3;
    /*font-weight: 700;*/
}

h1 {
    font-weight: 900;
    line-height: 4.2rem;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #151515;
    /* Bold para encabezados */
}

h3,
.h3 {
    font-size: 1.2rem;
}

p {
    font-weight: 400;
    color: #505050;
    /* Regular para párrafos */
}

#footer {
    width: 100%;
    background-color: white;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    margin-top: -60px;
}

footer a {
    text-decoration: none;
    color: #505050;
    transition: color 0.3s ease, background-color 0.3s ease;
}

footer a:hover {
    color: #00B3B3;
}

.navbar {
    /*margin-top: -15px;*/
    position: fixed;
    z-index: 1030 !important;
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00B3B3;
}

.nav-link.active {
    font-weight: bold;
}

.dropdown-item {
    transition: color 0.3s ease;
}

.dropdown-item:hover {
    color: #00B3B3;
    background-color: transparent;
}

.dropdown-item.active {
    background-color: white;
    color: #000000;
    font-weight: bold;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1.0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

/*#navbar-placeholder {
    height: 80px;
}*/

.navbar.navbar-expand-lg.shadow {
    background-color: white;
    z-index: 3;
}

.hide {
    display: none;
}

.line-container {
    display: flex;
    align-items: center;
    width: 100%;
}

/*  HOME  */

header {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.text-primary {
    color: #00B3B3 !important;
}

.btn-primary {
    background-color: #00B3B3;
    border: none;
}

.btn-outline-primary {
    border-color: #00B3B3;
    color: #00B3B3;
}

.btn-outline-primary:hover {
    background-color: #00B3B3;
    color: white;
}

.card {
    width: 330px;
    height: 430px;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #fff;
    margin: 10px auto;
}

.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.card-body {
    padding: 1.5rem;
}

.card:hover {
    border: 2px solid #00B3B3;
}

.section-stats h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-stats p {
    font-size: 1rem;
    color: #6c757d;
}

/*.custom-rounded {
    border-top-right-radius: 50px;
}

.custom-button {
    font-size: 18px;
    background-color: #00B3B3;
    padding: 20px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}*/

@media (max-width: 768px) {

    /* Aplicar estilos para pantallas pequeñas */
    .custom-button {
        padding: 20px 40px;
        /* Incrementar el ancho del botón */
        font-size: 16px;
        /* Opcional: ajustar el tamaño del texto si es necesario */
        width: 100%;
    }
}


.custom-button:hover {
    background-color: #008080;
}

/*.icon-small {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.custom-more {
    padding: 5px 10px;
    font-size: 14px;
    height: auto;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #000;
    color: #000;
}*/

.clients-section {
    text-align: center;
    padding: 30px 0;
}


.logistics-section {
    background-color: #31364E;
    color: white;
    border-radius: 20px 0px 20px 20px;
    padding: 30px;
    margin-top: 20px;
}

.logistics-section h2 {
    font-size: 1.5rem;
}

.logistics-section p {
    color: #ffffff;
}

.btn-custom {
    background-color: #00bcd4;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
}

.coverage-section {
    padding: 30px 0;
}

.coverage-list {
    color: #333;
    font-size: 1rem;
}

.coverage-list li {
    margin-bottom: 10px;
}

.coverage-map img {
    width: 100%;
    max-width: 400px;
}

.precision-section {
    background-image: url('../assets/img/home/banner_big500.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    min-height: 400px;
}

@media (max-width: 768px) {

    /* Cambios para pantallas pequeñas */
    /*.precision-section {
        background-image: url('../assets/img/home/banner_big500.jpg');
        }*/
    /* Imagen para móviles */
    .precision-section {
        min-height: 400px;
    }
}

.precision-section h2 {
    font-weight: bold;
}

.precision-section h2 span,
.precision-section h1 span {
    color: #00bcd4;
    font-weight: 600;
}

.precision-section h1 span.text-white {
    font-weight: 400;
}

.clients-section .clients-logos img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.clients-section .clients-logos img:hover {
    filter: grayscale(0%);
}

.custom-border-container {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.custom-border-container::after {
    content: '';
    position: absolute;
    right: 12px;
    bottom: -49px;
    width: 0.5px;
    height: 110%;
    background-color: rgba(37, 37, 37, 0.5);
}

@media (max-width: 767px) {
    .custom-border-container::after {
        display: none;
        /* Hace que el borde desaparezca en pantallas pequeñas */
    }
}


@media (min-width: 992px) {
    .custom-rounded {
        margin-top: -51px;
    }
}

@media (max-width: 991px) {
    .custom-rounded {
        margin-top: 20px;
    }
}

@media (min-width: 992px) {
    .custom-margin-top {
        margin-top: -80px;
    }
}

@media (max-width: 991px) {
    .custom-margin-top {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .carousel-item .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .carousel-item .col-md-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

.slick-prev,
.slick-next {
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo oscuro para los botones */
    color: white;
    /* Color blanco para los botones */
    border: none;
    font-size: 1.5rem;
    padding: 10px;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

@media (max-width: 767px) {
    .coverage-list {
        margin-bottom: 1rem;
    }

    .coverage-section .col-md-6:first-child {
        text-align: center;
    }

    .coverage-section .col-md-6:first-child img {
        display: none;
    }
}

.slick-dots li button {
    border-radius: 50%;
}

.slick-dots li.slick-active button {
    background-color: #00B3B3;
}

.slick-dots li.slick-active button:before {
    opacity: .75 !important;
    color: #00B3B3 !important;
}

.slick-dots li button:hover {
    color: #00B3B3 !important;
}

.slick-dots li button:before {
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #00B3B3 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.service-card {
    /*margin-left: 40px;*/
    position: relative;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover img {
    transform: translateY(-10px);
}

.service-card:hover {
    border-top: 2px solid #00B3B3;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.service-card:hover h5 {
    color: #00B3B3;
}

.service-card:hover a {
    color: #fff;
    background-color: #00B3B3;
    border: 1px solid #00B3B3;
}

.service-card:hover .card-img-top {
    transform: translateY(-15px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .service-card .card-img-top {
        margin-top: -10px !important;
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .service-card {
        border: 2px solid #00B3B3 !important;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    }

    .service-card img {
        transform: translateY(-10px);
    }

    .service-card h5 {
        color: #00B3B3;
    }

    .service-card a {
        color: #fff;
        background-color: #00B3B3;
        border: 1px solid #00B3B3;
    }

    .service-card .card-img-top {
        transform: translateY(-15px);
    }

    .service-card .card-text-overlay {
        display: block;
    }
}

.card-text-overlay {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 10px;
    background: white;
    color: black;
    text-align: center;
    border-radius: 5px;
}

.service-card:hover .card-text-overlay {
    display: block;
}

.card-body img {
    transition: transform 0.3s ease;
}

.bordered-corners {
    position: relative;
    padding: 2rem;
    display: inline-block;
}


.bordered-corners::before,
.bordered-corners::after,
.bordered-corners h4::before,
.bordered-corners h4::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #00B3B3;
}


.bordered-corners::before {
    top: 0;
    left: 0;
}

.bordered-corners h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 20px;
    background-color: #00B3B3;
}


.bordered-corners::after {
    top: 0;
    right: 0;
}

.bordered-corners h4::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 20px;
    background-color: #00B3B3;
}


.bordered-corners .bottom-left::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 20px;
    background-color: #00B3B3;
}

.bordered-corners .bottom-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #00B3B3;
    transform: translateY(100%);
}


.bordered-corners .bottom-right::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 20px;
    background-color: #00B3B3;
}

.bordered-corners .bottom-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 2px;
    background-color: #00B3B3;
    transform: translateY(100%);
}

.rounded-corners {
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.accordion-button:not(.collapsed) {
    color: #fff !important;
    background-color: #00B3B3;
}

.accordion-body {
    background-color: #f8f9fa;
    color: #333;
}

.accordion-button::after {
    color: #ffffff !important;
}

.banner-container {
    background: url('../assets/img/first/Banner.svg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    height: 300px;
    text-align: left;
}

.banner-container2 {
    background: url('../assets/img/middle/Banner.svg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    height: 300px;
    text-align: left;
}

/* Alineación a la derecha solo en pantallas grandes */
@media (min-width: 768px) {
    .banner-container {
        justify-content: end;
    }

    .banner-container2 {
        justify-content: end;
    }

    .banner-text {
        max-width: 50%;
    }
}

/* Alineación a la izquierda en pantallas pequeñas */
@media (max-width: 767.98px) {
    .banner-text {
        width: 100%;
        text-align: center;
    }
}

.banner-text h2 {
    font-weight: bold;
    color: white;
}

.banner-text p {
    margin-top: 0.5rem;
    color: white;
}

.banner-text .btn {
    margin-top: 1rem;
    background-color: #00cec9;
    border: none;
    color: white;
}

.contacto-img {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.repartidor {
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.job-card-link {
    text-decoration: none;
    color: inherit;
}

.job-listing {
    padding: 2rem 1rem;
}

.job-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.job-title {
    font-weight: bold;
}

.job-location {
    color: #6c757d;
    font-size: 0.9rem;
}

.job-card:hover {
    border: 1px solid #9f9f9f;
    background-color: #cdcdcd;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.listaEdos {
    cursor: pointer;
    margin: 11px 0px;
    display: block;
}

.listaEdos:hover,
.listaEdosHover {
    color: rgba(0, 179, 179, 0.5);
    font-weight: 600;
}

.listaEdosActive {
    color: rgba(0, 179, 179, 0.5);
    font-weight: 600;
}

.divider:not(:last-child) {
    border-right: 1px solid #000;
}

.icon-section .col-md-4 {
    padding: 0 15px;
}

@media (max-width: 767px) {
    .divider:not(:last-child) {
        border-right: none;
    }
}

.fleet-list {
    background-color: rgba(196, 195, 195, 0.5);
    ;
    padding: 1rem;
    border-radius: 8px;
}

.info-card {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 1rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-top: -1rem;
}

/* Mostrar el iframe por defecto */
#content-frame {
    display: block;
}

/* Ocultar la imagen por defecto */
.mobile-map {
    display: none;
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
    /*#content-frame {
        display: none;
        Ocultar el iframe en móviles
    }*/

    .mobile-map {
        display: block;
        /* Mostrar la imagen en móviles */
        width: 100%;
        /* Asegurarte de que se ajuste al ancho del contenedor */
        height: auto;
        /* Mantener las proporciones de la imagen */
    }
}

.icon-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    /* Por defecto: elementos en fila */
}

@media (max-width: 768px) {
    .icon-text-wrapper {
        flex-direction: column;
        /* Cambiar a columna en móviles */
        align-items: center;
        /* Centrar los elementos */
        text-align: center;
        /* Alinear el texto al centro */
    }

    .icon-text-wrapper img {
        margin: 0 0 10px 0;
        /* Margen inferior en la imagen */
    }

    .icon-text-wrapper h3 {
        margin: 0 0 10px 0;
        /* Margen inferior para separar del párrafo */
    }
}

.slick-dots-container {
    width: 20%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    position: relative;
}

.slick-progress-bar {
    width: 0;
    height: 100%;
    background-color: #00B3B3;
    border-radius: 5px;
    transition: width 0.5s ease;
}

.slick-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-next:before {
    color: #505050 !important;
}

.slick-prev:before {
    color: #505050 !important;
}

@media (max-width: 768px) {
    .slick-next:before {
        display: none;
    }

    .slick-prev:before {
        display: none;
    }
}

.mostrar {
    display: none;
}

@media (max-width: 768px) {
    .ocultar {
        display: none;
    }

    .mostrar {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.transporte h5 {
    font-size: 16px;
}

.transporte ul li {
    font-size: 14px;
}

.transporte .card {
    height: 450px !important;
}

@media (max-width: 768px) {
    .banner-container {
        background: url('../assets/img/first/Banner\ first\ mile_mobile.svg') no-repeat center center;
        background-size: cover;
        color: #fff;
        border-radius: 15px;
        display: flex;
        align-items: center;
        width: 365px;
        height: 500px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .banner-container2 {
        background: url('../assets/img/middle/Banner\ mobile_middle\ mile.svg') no-repeat center center;
        background-size: cover;
        color: #fff;
        border-radius: 15px;
        display: flex;
        align-items: center;
        width: 365px;
        height: 500px;
        text-align: left;
    }

    .logo {
        max-width: 80px !important;
    }
}

.news-galeri {
    display: flex;
    height: 20rem;
    gap: 1rem;
}

@media (max-width: 821px) {
    .news-galeri {
        display: grid !important;
    }

    .col-xs-6 {
        width: 50% !important;
    }

    .grid {
        border-right: 0px solid #f0f0f0 !important;
        border-bottom: 0px solid #f0f0f0 !important;
    }

    .page-blog1,
    .page-blog2,
    .page-blog3,
    .page-blog4,
    .page-blog5,
    .page-blog6,
    .page-blog7,
    .page-blog8,
    .page-blog9,
    .page-blog10 {
        height: auto !important;
    }

    .image-overlay h2 {
        font-size: 1rem !important;
    }

    .image-overlay ul li {
        font-size: 0.8rem !important;
        line-height: 1rem;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .text-overlay {
        width: 100% !important;
    }

}

.textContent {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.image-container {
    background-image: url('../assets/img/last/Card\ green.svg');
    flex: 2;
    border-radius: 0rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all .8s cubic-bezier(.25, .4, .45, 1.4);
    position: relative;
    overflow: hidden;
}

.image-container:hover {
    flex: 5;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.image-overlay {
    background-image: url('../assets/img/last/Card_blue.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #31364E
        /*rgba(0, 0, 0, 0.5)*/
    ;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease-in-out;
}

.image-overlay ul li {
    color: white;
}

.scroll-content::-webkit-scrollbar {
    display: none;
}

.scroll-content {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    padding-bottom: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: rgba(37, 37, 37, 0.7);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}


@keyframes slideUp {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-indicator {
    animation: slideUp 1.5s ease-in-out infinite;
}


.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.scroll-content {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    padding-bottom: 30px;
}

/* Custom FV */
#navbar-placeholder {
    height: 4rem;
}

.logo {
    max-width: 150px;
}

.tr-rounded {
    border-top-right-radius: 70px;
    border-top: 1px solid rgba(37, 37, 37, 0.5);
    border-right: 1px solid rgba(37, 37, 37, 0.5);
    margin-top: -1px;
}

.tl-rounded {
    border-top-left-radius: 70px;
    border-top: 1px solid rgba(37, 37, 37, 0.5);
    border-left: 1px solid rgba(37, 37, 37, 0.5);
    margin-top: -1px;
}

.custom-button {
    font-size: 1.2rem;
    background-color: #00B3B3;
    padding: 10px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 0px;
}

.icon-small {
    width: auto;
    height: 150px;
    /*margin-right: 10px;*/
}

.custom-more {
    padding: 5px 10px;
    font-size: 14px;
    height: auto;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #000;
    color: #000;
}

.cta {
    margin-top: 17vh;
}

.postulate-form {
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 35px;
}

.accordion-button:focus,
.form-control:focus {
    box-shadow: 0 0 0 .05rem rgba(0, 0, 0, 0.2) !important;
    border-color: transparent !important;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    padding-top: 10px;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.right-rounded {
    border-top-right-radius: 70px;
    border-bottom-right-radius: 70px;
}

.left-rounded {
    border-top-left-radius: 70px;
    border-bottom-left-radius: 70px;
}

.b500 {
    background-image: url(../assets/svg/arrow.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
}

.image-corporativo {
    position: relative;
    display: inline-block;
    background: white;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
}

.image-corporativo img {
    display: block;
    width: 100%;
    height: auto;
}

.uppercase-text {
    text-transform: uppercase;
}

.full-screen-image {
    width: 100%;
    height: auto;
    /*height: 100vh;*/
    object-fit: contain;
    object-position: center;

}

@media (max-width: 768px) {
    .full-screen-image {
        content: url('../assets/img/valor/Esquema\ mobile.png');
    }
}