.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: white !important;
    z-index: 9999 !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 15px 0 !important;

}

body {
    margin-top: 80px !important;
}


.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    font-size: 18px;
    margin-right: 15px;
}

.navbar-nav .nav-link.text-danger {
    font-weight: bold;
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    position: absolute;
    bottom: 40%;
    left: 10%;
    text-align: left;
    transform: translateY(-50%);
}

.carousel-caption h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 50px !important;
    font-weight: 700 !important;
}

.carousel-caption p {
    font-size: 22px;
    margin-bottom: 15px;
}

.carousel-caption .btn {
    padding: 10px 20px;
    font-size: 18px;
}

.navbar-nav .nav-link {
    color: #002F87 !important;
    font-family: 'Anton', sans-serif;
    font-weight: normal;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease-in-out;
    padding: 10px 15px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #002F87;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: #001b52 !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}


.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #E30613 !important;
}

.navbar-nav .nav-link.active {
    color: #E30613 !important;
}

.sobre-nosotros {
    padding: 100px 0;
    background-color: #F2F2F2;
}

.sobre-nosotros .container {
    max-width: 1200px;
}

.imagen-nosotros img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: grayscale(30%);
    transition: filter 0.3s ease-in-out;
}

.imagen-nosotros img:hover {
    filter: grayscale(0%);
}

.contenido-nosotros {
    padding: 20px;
}

.contenido-nosotros .titulo {
    color: #002F87;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contenido-nosotros .subtitulo {
    color: #E30613;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contenido-nosotros p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.botones-nosotros {
    margin-top: 20px;
}

.botones-nosotros .btn {
    font-size: 16px;
    padding: 10px 20px;
    margin-right: 10px;
}

.imagen-nosotros {
    width: 100%;
    max-width: 500px;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
}

.imagen-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

#heroCarousel {
    height: calc(100vh - 80px);
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

#heroCarousel img {
    height: 100%;
    object-fit: cover;
}

html {
    scroll-behavior: smooth;
}

.titulo-seccion {
    font-size: 32px;
    color: #E30613;
    font-weight: bold;
    margin-bottom: 10px;
}

.descripcion-seccion {
    font-size: 18px;
    color: #5e5e5e;
    margin-bottom: 40px;
}

.producto {
    background: #dfdfdf;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.producto:hover {
    transform: translateY(-5px);
}

.producto img {
    width: 48%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;

}

.producto h3 {
    font-size: 20px;
    color: #002F87;
    margin-top: 15px;
    font-weight: bold;
}

.producto p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.nuestros-productos {
    padding: 80px 0;
    background-color: #f2f2f2;
    text-align: center;
}

.nuestros-servicios {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.titulo-seccion {
    font-size: 32px;
    color: #E30613;
    font-weight: bold;
    margin-bottom: 20px;
}

.grid-imagenes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.grid-imagenes img {
    width: 48%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contenido-servicios {
    padding: 20px;
}

.contenido-servicios .descripcion-seccion {
    font-size: 18px;
    color: #7a7a7a;
    margin-bottom: 20px;
}

.lista-servicios {
    list-style: none;
    padding-left: 0;
}

.lista-servicios li {
    font-size: 18px;
    color: #5e5e5e;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.lista-servicios li::before {
    content: "•";
    color: #E30613;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contenido-servicios .btn {
    font-size: 16px;
    padding: 10px 20px;
    margin-top: 20px;
}

.nuestros-proveedores {
    padding: 50px 0;
    background-color: #f2f2f2;
    text-align: center;
    overflow: hidden;
}

.nuestros-proveedores .descripcion-seccion {
    font-size: 18px;
    color: #7a7a7a;
    margin-bottom: 20px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.slider {
    display: flex;
    width: fit-content;
    animation: slide 20s linear infinite;
}

.slider img {
    height: 100px;
    width: auto;
    margin: 0;
    padding: 0;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}




.contacto {
    padding: 60px 0;
    background-color: #f2f2f2;
    text-align: center;
}

.formulario-contacto {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-contacto {
    text-align: left;
    padding: 20px;
}

.info-contacto h3 {
    color: #002F87;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-contacto p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.redes-sociales {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.redes-sociales a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background 0.3s;
}

.redes-sociales a i {
    font-size: 24px;
    color: #002F87;
}

.redes-sociales a:hover {
    transform: scale(1.1);
}

.redes-sociales a:nth-child(1):hover {
    background-color: #1877f2;
}

.redes-sociales a:nth-child(1):hover i {
    color: white;
}

.redes-sociales a:nth-child(2):hover {
    background-color: #E4405F;
}

.redes-sociales a:nth-child(2):hover i {
    color: white;
}

.redes-sociales a:nth-child(3):hover {
    background-color: #25D366;
}

.redes-sociales a:nth-child(3):hover i {
    color: white;
}

.footer {
    background-color: #4d4d4d;
    color: white;
    padding: 50px 0;
    font-size: 16px;
    text-align: center;
}

.footer .container {
    max-width: 1200px;
}

.footer-col {
    margin-bottom: 20px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-col ul li a:hover {
    color: #E30613;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.redes-sociales a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #1C1C1C;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background 0.3s, color 0.3s;
}

.redes-sociales a i {
    font-size: 18px;
}

.redes-sociales a:hover {
    transform: scale(1.1);
}

.redes-sociales a:nth-child(1):hover {
    background-color: #1877f2;
    color: white;
}

.redes-sociales a:nth-child(2):hover {
    background-color: #E4405F;
    color: white;
}

.redes-sociales a:nth-child(3):hover {
    background-color: #25D366;
    color: white;
}

.redes-sociales a:nth-child(4):hover {
    background-color: #0077B5;
    color: white;
}

.metodos-pago {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.metodos-pago img {
    height: 30px;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #bbb;
}

@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }

    .redes-sociales {
        justify-content: center;
    }

    .metodos-pago {
        justify-content: center;
    }
}

.sobre-nosotros,
.nuestros-productos,
.nuestros-proveedores,
.contacto {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 60px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover img {
    transform: scale(1.1);
}




@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        display: block;
    }

    .navbar-nav .nav-link {
        display: inline-block;
        width: 50%;
        padding: 10px;
        transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
        color: #002F87 !important;
        font-family: 'Anton', sans-serif;
        font-weight: normal;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        transition: all 0.3s ease-in-out;
        padding: 10px 15px;
        position: relative;
    }

    .navbar-nav .nav-item .nav-link.active-section {
        color: #ffffff !important;
        background-color: #2c2559 !important;
        border-radius: 5px;
    }
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

.seccion-nosotros {
    background-color: #f2f2f2;
}

.titulo-principal {
    font-size: 24px;
    font-weight: 600;
    color: #666;
}

.texto-nosotros {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.7;
}

.subtitulo {
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
}

.bloques-myv .bloque {
    margin-bottom: 10px;
}

.imagen-nosotros img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

/* Contenedor del carrusel */
.carousel-productos {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

/* Pista del carrusel */
.carousel-track {
    display: flex;
    gap: 10px;
    animation: scroll-left 30s linear infinite;
    will-change: transform;
}

.producto-carousel {
    flex: 0 0 auto;
    width: 180px;
    text-align: center;
}

.producto-carousel img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.nombre-producto {
    margin-top: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

/* Responsive: ajusta tamaño y velocidad */
@media (max-width: 768px) {
    .producto-carousel {
        width: 130px;
    }

    .nombre-producto {
        font-size: 0.8rem;
    }

    .carousel-track {
        animation-duration: 20s;
        /* más rápido en móvil */
    }
}

/* Animación para deslizar */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-track.infinite {
    width: max-content;
}


.seccion-servicios {
    background-color: #f1f1f1;
}

.galeria-servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.galeria-servicios img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lista-servicios-modern {
    list-style: none;
    padding-left: 0;
}

.lista-servicios-modern li {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .galeria-servicios {
        grid-template-columns: 1fr;
    }
}

.titulo-seccion {
    text-align: center;
}

#servicios .btn.btn-danger {
    display: block;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    width: fit-content;

}

.seccion-nosotros,
.seccion-servicios,
.nuestros-productos,
.nuestros-proveedores,
.contacto {
    font-family: 'Poppins';
}

.texto-nosotros,
.bloque,
.bloques-myv {
    color: #777;
}

.imagen-nosotros img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

#productos .container.container.bg-white {
    background-color: rgb(215, 215, 215) !important;
}

#servicios .container.container.bg-white {
    background-color: rgb(215, 215, 215) !important;
}

#contactanos .descripcion-seccion {
    font-size: 18px;
    color: #7a7a7a !important;
    margin-bottom: 40px;
}

.slider-container {
    background-color: #fff;
    padding: 1px;
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.galeria-servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.galeria-servicios img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: 200px;
}

.galeria-servicios img:hover {
    transform: scale(1.03) translateY(-5px);
    filter: brightness(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.producto-carousel img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    height: 200px;
}

.producto-carousel img:hover {
    transform: scale(1.05) translateY(-5px);
    filter: brightness(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.imagen-nosotros img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    object-fit: cover;
}

.imagen-nosotros img:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    filter: brightness(1.1);
}