/* Opcional: Asegura que el body no tenga scroll innecesario */
body {
    margin: 0;
    overflow-x: hidden; /* Previene desbordamiento horizontal */
}
footer{
    background-color: black !important;
    color: #ffc107;
}
*, *::before, *::after {
    box-sizing: border-box;
}
/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    left: 20px; /* Ajusta la posición horizontal */
    top: 50%; /* Centro vertical */
    transform: translateY(-50%); /* Ajusta para centrar correctamente */
    background-color: #25D366; /* Color verde de WhatsApp */
    color: #fff;
    font-size: 24px; /* Tamaño del ícono */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Asegúrate de que esté por encima del contenido */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Color más oscuro al pasar el cursor */
    transform: translateY(-50%) scale(1.1); /* Animación al pasar el cursor */
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.container-fluid {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0;
    padding-left: 0;

}

.fast-delivery-text {
    display: flex;
    flex-direction: column;
}

.fast-delivery-text span:first-child {
    display: block; /* Asegura que cada texto esté en su propia línea */
    color: white;
    font-size: 49.1629px;
    font-family: oswald-medium, oswald, sans-serif;
    font-weight: normal;
    font-style: normal;
    text-anchor: middle;
    text-decoration: none;
    text-transform: uppercase;
}

.fast-delivery-text span:last-child {
    font-size: 14px;
    color: white;
    letter-spacing: 0.1rem;
    font-family: enriqueta, serif;
    margin-top: -8px; /* Ajusta el espaciado entre los textos */
}

.img-logo {
    margin-left: -1rem;
}
.navbar{
    background-color: black !important;
}
/* Personalización del texto del navbar */
.navbar-dark .nav-link {
    color: #fff; /* Texto blanco */
    transition: color 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: #ffc107; /* Texto amarillo al pasar el cursor */
}

/* Iconos de redes sociales alineados horizontalmente */
.navbar-nav .nav-item.d-flex {
    gap: 1rem; /* Espaciado entre los iconos */
}

.content-section-one {
    max-width: 1280px;
    margin: 0 auto; /* Centrado horizontal */
    overflow: hidden;
}

.carousel-inner {
    max-height: 600px;
    background-color: #000; /* Fondo negro por defecto */
}

.carousel-item img {
    object-fit: cover;
    height: 100%; /* Ajustar altura al máximo disponible */
    max-height: 600px;
}

.contact {
    background-image: url("../img/backgroundfast.avif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 1160px;
    width: 100%;
    position: relative; /* Para posicionar los elementos hijos */
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Negro con 50% de opacidad */
}

.contact .form-description {
    display: flex;
    flex-direction: column;
    align-items: end;
    height: 100%;
}

.form-container-text-description {
    width: 400px;
    margin-top: 16rem;
}

.contact .row.contact-content {
    height: auto; /* Ajusta la altura automáticamente al contenido */
    min-height: calc(100vh - 100vh); /* Resta la altura del navbar si aplica */
    overflow: hidden; /* Previene el desbordamiento */
}

.contact-content {
    position: relative; /* Mantiene el contenido sobre el overlay */
    z-index: 1; /* Asegura que el contenido esté sobre el overlay */
    padding: 0; /* Ajusta el padding */
    overflow: hidden; /* Previene cualquier desbordamiento adicional */
}


.form-text-one {
    line-height: 1em;
    font-size: 18px;
    font-family: oswald-medium, oswald, sans-serif;
    color: #FFDE59 !important;
    font-weight: bold;
    margin-bottom: 1rem;
}

.form-text-two {
    width: 90%;
    color: white;
    font-size: 14px;
    font-weight: 100;
}

.home-text span {
    font-size: 80px;
    color: white;
    font-weight: 500;
}

.home-text {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact .form-control {
    border-radius: 5px;
    padding: 10px;
}

.contact .btn-warning {
    background-color: #ffc107;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1rem;
}


/* form style*/
.form-container-wrapper {
    margin: 12% 0 0 10%;
    width: 450px;
    position: relative; /* Para permitir que los elementos hijos se posicionen */
}

.form-container-border {
    border: 9px solid white;
    position: relative; /* Permite aplicar desplazamientos */
    z-index: 1; /* Asegura que el borde esté detrás del contenido */
    max-width: 100%;
}

.form-container {
    background-color: black;
    padding: 20px 35px 20px 35px;
    color: white;
    left: -12%;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: -8%;
    border-radius: 30px 0 0 0;
    z-index: 2; /* Asegura que el formulario esté encima del borde */
    position: relative; /* Necesario para manejar los índices correctamente */
}

.form-container label {
    color: #FFDE59;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 100;
}

.form-text-header {
    margin: 40px 0 0 10px;
}

.form-text-header h2 {
    color: #FFDE59;
    font-size: 38px;
    line-height: 1;
    letter-spacing: 4px;
}

.form-text-header p {
    font-size: 14px;
    line-height: 1;
    font-weight: 100;
    margin-top: 10px;
}

/* services styles*/
.services{
    height: 550px;
}
.services-description h2{
    text-transform: uppercase;
    line-height: 1em;
    font-size: 45px;
    font-weight: 500;
    font-family: oswald-extralight, oswald, sans-serif;
}
.services-description p {
    font-size: 14px;
    font-weight: 100;
}
.services-panel {
    height: 470px;
    background-image: url("../img/panel.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-transform: uppercase;
    font-size: 43px;
    font-weight: 400;
    font-family: oswald-extralight, oswald, sans-serif;
}
.services-moto {
    height: 470px;
    background-image: url("../img/moto.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-transform: uppercase;
    font-size: 43px;
    font-weight: 400;
    font-family: oswald-extralight, oswald, sans-serif;
}
/* services styles*/
.description {
    background-image: url("../img/backgroundfast.avif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 740px;
    width: 100%;
    display: flex; /* Habilitar Flexbox */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
}
.description-container{
    width: 60%;
}
.description-container h2{
    text-transform: uppercase;
    line-height: 1em;
    font-size: 60px;
    font-weight: 500;
    font-family: oswald-extralight, oswald, sans-serif;
}
/* Ajustes para el fondo del card */
.card {
    background-color: #fff; /* Fondo blanco */
    border-radius: 12px;
    padding: 30px;
}
.timeline-item{
}
/* Contenedor principal del ícono */
.timeline-icon {
    width: 100px;
    height: 100px;
    position: relative; /* Para manejar posiciones absolutas de los hijos */
}

/* Borde amarillo desplazado */
.icon-wrapper {
    border: 3px solid #FFC107; /* Borde amarillo */
    width: 90px;
    height: 90px;
    position: absolute;
    top: -5px; /* Desplazamiento hacia arriba */
    left: -5px; /* Desplazamiento hacia la izquierda */
    z-index: 0; /* Debe estar detrás del contenido */
    background-color: #fff; /* Fondo blanco */
}

/* Contenedor del fondo negro y el ícono */
.icon-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Para manejar los elementos internos */
    z-index: 1; /* Sobre el borde amarillo */
}

/* Fondo negro detrás del ícono */
.icon-background {
    background-color: rgba(0, 0, 0, 0.8); /* Fondo negro */
    width: 90px;
    height: 90px;
    border-radius: 20px 0 20px 0; /* Bordes redondeados */
    position: absolute; /* Posicionado respecto al .icon-content */
    z-index: 1; /* Debe estar detrás del ícono */
}

/* Estilo del ícono */
.timeline-icon i {
    font-size: 2.5rem; /* Tamaño del ícono */
    color: #FFC107; /* Color amarillo */
    z-index: 2; /* Encima del fondo negro */
}

.timeline-item h4 {
    font-weight: bold;
}

.timeline-item p {
    font-size: 14px;
    line-height: 1.6;
}
.tracking h1{
    text-transform: uppercase;
    line-height: 1em;
    font-size: 45px;
    font-weight: 500;
    font-family: oswald-extralight, oswald, sans-serif;
}
.tracking p{
    font-size: 14px;
    line-height: 1.6;
}
@media (max-width: 768px) {

    .container.contact .row {
        flex-direction: column;
    }

    .contact .d-flex {
        flex-direction: column;
    }
    .contact {
        height: auto;
    }
    .form-container-border {
        border: 0px solid white;
        position: relative; /* Permite aplicar desplazamientos */
        z-index: 1; /* Asegura que el borde esté detrás del contenido */
    }
    .contact .d-flex > div {
        margin-bottom: 1rem;
    }

    .fast-delivery-text span:first-child {
        font-size: 34.1629px;
    }

    .navbar-nav .nav-item.d-flex {
        justify-content: center;
    }

    .contact .row.contact-content {
        flex-direction: column; /* Organiza los elementos en una columna */
        height: auto; /* Ajusta la altura dinámicamente */
        min-height: auto; /* No fuerza un mínimo de altura */
    }

    .form-description {
        padding: 1rem; /* Agrega algo de espacio interno */
        text-align: center;
    }
    .form-container-text-description {
        margin-top: 1rem;
    }
    .home-text span {
        font-size: 36px; /* Reduce el tamaño del texto principal */
        line-height: 1.2; /* Ajusta el espaciado entre líneas */
    }

    .form-text-two {
        width: 100%; /* Permite que el texto ocupe todo el ancho */
        font-size: 14px; /* Reduce el tamaño del texto para mejor legibilidad */
    }

    .form-container-wrapper {
        width: 80%; /* Ajusta el ancho del formulario */
        margin: 1rem auto; /* Centra el formulario y añade espacio superior/inferior */
    }

    .form-text-header h2 {
        font-size: 24px; /* Reduce el tamaño del encabezado */
        line-height: 1.2;
    }

    .form-text-header p {
        font-size: 12px; /* Ajusta el texto secundario */
        margin-top: 0.5rem;
    }

    .form-container {
        padding: 15px 15px 15px 15px; /* Reduce el padding interno */
        border-radius: 15px; /* Ajusta las esquinas para mantener diseño */
        text-align: center;
        margin-left: 22%;
    }

    .form-container .btn-warning {
        font-size: 14px; /* Ajusta el tamaño del botón */
        padding: 10px; /* Ajusta el padding interno */
    }

    .form-container .d-flex {
        flex-direction: column; /* Coloca los campos en una sola columna */
    }

    .form-container .d-flex > div {
        margin-bottom: 1rem; /* Espaciado entre campos */
    }

    .contact .d-flex.justify-content-center {
        gap: 1rem; /* Mantén un espaciado entre los iconos */
    }

    .fast-delivery-text span:first-child {
        font-size: 28px; /* Reduce el tamaño del texto para caber en móvil */
        line-height: 1.2;
    }
    /* services styles*/
    .services{
        height: auto;
        margin-left: 2%;
    }
    .description {
        height: auto; /* Permitir que el contenido ajuste la altura en móviles */
        padding: 20px; /* Espaciado interno para evitar bordes pegados */
    }
    .description-container {
        width: 90%; /* Ancho más pequeño en pantallas móviles */
    }
}

@media (max-width: 480px) {
    .description-container h2 {
        font-size: 36px; /* Reducir el tamaño del título en pantallas pequeñas */
        line-height: 1.2; /* Ajustar el espaciado entre líneas */
    }
    .description-container p {
        font-size: 14px; /* Ajustar el tamaño del texto para móviles */
    }
}