
*{
    margin:0px;
    padding:0px;
    box-sizing: 0;
}
/* Añade esto a tu archivo style.css */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown .dropdown-menu {
    margin-top: 0; /* Asegúrate de que se alinee correctamente */
}


header {
    position: relative;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}
.img-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio */
    z-index: -1; /* Coloca la imagen detrás del texto */
}
.header-content {
    /* Fondo semitransparente para legibilidad */
    padding: 20px;
    border-radius: 8px;
}
.img-header1{
    position: absolute;
    top: 0;
    left: 100;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio */
    z-index: -1;
}
.card-img-top {
    height: 200px; /* Ajusta este valor según el tamaño deseado */
    object-fit: cover; /* Ajusta la imagen para que cubra el área sin distorsión */
}
.card-img-top {
    height: 200px; /* Ajusta este valor según el tamaño deseado */
    object-fit: cover;
}
/* Asegura que el texto y la imagen estén alineados en la última sección */
.section-text-image .col-md-6 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.environment-section {
    position: relative;
    text-align: center;
    color: white;
}
.environment-section img {
    width: 100%;
    height: auto;
}
.environment-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semitransparente */
    padding: 20px;
    border-radius: 8px;
}
.environment-text h2 {
    margin-left: auto;
    max-width: 80%; /* Ajusta este valor según el desplazamiento que desees */
}
.navbar {
    padding: 1.5rem 1rem; /* Incrementa el padding para hacer el navbar más grande */
}

/* Ajuste del tamaño del texto y del logo */
.navbar-brand {
    font-size: 1.8rem; /* Tamaño más grande para el logo */
}

.navbar-nav .nav-link {
    font-size: 1.2rem; /* Tamaño más grande para los enlaces de navegación */
    padding: 0.75rem 1rem; /* Aumenta el padding de los enlaces para hacerlos más grandes */
}
/* CSS para el header específico de la sección */
.header-flota {
    position: relative;
    width: 100%;
    height: 40vh; /* Ajusta la altura aquí */
    overflow: hidden;
}

.header-flota img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-flota .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

/* CSS para el header específico de la sección */
.header-nosotros {
    position: relative;
    width: 100%;
    height: 40vh; /* Ajusta la altura aquí */
    overflow: hidden;
}

.header-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-nosotros .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
/* CSS para el header específico de la sección */
.header-logistica {
    position: relative;
    width: 100%;
    height: 40vh; /* Ajusta la altura aquí */
    overflow: hidden;
}

.header-logistica img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-logistica .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.header-logistica {
    position: relative;
    width: 100%;
    height: 40vh; /* Ajusta la altura aquí */
    overflow: hidden;
}

.header-logistica img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-logistica .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.header-flota1 {
    position: relative;
    width: 100%;
    height: 40vh; /* Ajusta la altura aquí */
    overflow: hidden;
}

.header-flota1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-flota1 .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.header-flota1 {
    position: relative;
    overflow: hidden;
}

.header-flota1 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header-flota1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Capa negra con 60% de opacidad */
    z-index: 1;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2; /* Para que el texto esté encima de la capa negra */
    color: #ffffff;
}

.header-content h1 {
    font-size: 3rem; /* Tamaño más grande del texto */
    font-weight: bold;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.5rem; /* Aumenta el tamaño del texto descriptivo */
}

.header-transporte {
    position: relative;
    width: 100%;
    height: 40vh; /* Ajusta la altura aquí */
    overflow: hidden;
}

.header-transporte img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.descripcion-flota {
    text-align: center; /* Centra el texto horizontalmente */
    margin: 0 auto; /* Asegura que el contenido esté centrado dentro del contenedor */
    max-width: 800px; /* Limita el ancho para que no sea demasiado amplio */
    padding: 20px; /* Añade algo de espacio alrededor */
    line-height: 1.6; /* Mejora la legibilidad */
    font-family: Arial, sans-serif; /* Cambia la fuente si es necesario */
}

.header-nosotros {
    width: 100%;
    height: 60vh; /* O ajusta la altura según tus necesidades */
    overflow: hidden;
    position: relative;
}

.header-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
     /* Fondo semitransparente para mejorar la visibilidad del texto */
    padding: 20px;
    border-radius: 10px; /* Opcional: añade bordes redondeados al fondo del texto */
}

.header-overlay h1 {
    font-size: 3rem; /* Ajusta el tamaño del texto */
    font-weight: bold;
}
.environment-section img{
    width: 100%;
    height: 100%;
    object-fit: cover
}
/* style.css */
.row > .col-md-6 {
    margin-bottom: 20px; /* Ajusta según sea necesario */
}
/* 1. Cambiar tamaño y peso de la palabra "Servicios" en el header */
.header-overlay h1 {
    font-size: 4rem; /* Tamaño de la fuente */
    font-weight: 700; /* Negrita */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Añadir sombra para mejor visibilidad */
}

/* 2. Hacer la barra de navegación más grande */

    .header-overlay h1 {
        font-size: 4rem !important;
        font-weight: 700 !important;
    }

    .navbar {
        padding: 1.5rem 1rem !important;
        font-size: 1.2rem !important;
    }

    section.container.text-center p.lead {
        font-size: 2.5rem !important;
        font-weight: bold !important;
    }


    /* Ajuste para eliminar margen o espacio adicional */
    .header-mapa {
        margin-top: 0%;
        padding: 10%;
    }

    #map-header {
        height: 50vh; /* Ajusta la altura del mapa según necesites */
        width: 100%;
        border: none;
    }

