:root {
    --primary-color: #1810c3;
    --secondary-color: #dc0616;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    padding-top: 80px;
    color: #333;
}
/* Navegación mejorada y responsiva */
.navbar-custom {
    padding: 15px 0;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-scroll {
    padding: 10px 0;
    background: rgba(24, 16, 195, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.logo-container {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: white !important;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: scale(1.1);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: white;
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Estilos para el menú hamburguesa en móviles */
@media (max-width: 991px) {
    .navbar-nav {
        background: var(--primary-color);
        padding: 20px;
        border-radius: 5px;
        margin-top: 10px;
    }
    
    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    /* Hamburguesa blanca sin borde */
.navbar-toggler {
    border: none !important;
    border-radius: 0 !important; 
    padding: 6px 8px !important;
    outline: none !important;
}

/* Líneas internas en blanco */
.navbar-toggler-icon {
    filter: invert(1) brightness(200%) !important;
}

}


        .btn-volver-nav {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background-color:white;
            color: #3498db;
            text-decoration: none;
            border-radius: 30px;
            transition: all 0.3s ease;
            font-weight: 500;
            margin-left: 20px;
            border: 2px solid #3498db;
            box-shadow: #3498db;
            white-space: nowrap;
        }

        .btn-volver-nav:hover {
            background: #3498db;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }

        @media (max-width: 992px) {
            .btn-volver-nav {
                display: none;
            }
            
            .navbar-custom {
                justify-content: space-between;
            }
            
            .nav-links {
                margin-left: 20px;
                flex-grow: 1;
            }
        }
/*NUedstra Empresa*/

.empresa-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.titulo-empresa {
    color: #1810c3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.descripcion-empresa {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
}

.img-fluid.rounded {
    
    transition: transform 0.3s ease;
}

.img-fluid.rounded:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .empresa-section {
        padding: 2rem 0;
    }
    
    .titulo-empresa {
        font-size: 2rem;
        text-align: center;
    }
    
    .descripcion-empresa {
        text-align: justify;
        padding: 0 1rem;
    }
}





.contenido-oculto {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.contenido-visible {
    max-height: 1000px; /* Ajustar según contenido */
}

.btn-leer-mas {
    background: #1810c3;
    color: white;
    border: 2px solid #3498db;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-leer-mas:hover {
    background: white;
    transform: translateY(-2px);
    color: #3498db;
    opacity: 1;
}

.btn-leer-mas .fa-chevron-down {
    transition: transform 0.3s ease;
}

.btn-leer-mas.activo .fa-chevron-down {
    transform: rotate(180deg);
}





/* Carrusel de marcas */
.marcas-section {
            background-color: #f8f9fa;
            padding: 40px 0;
        }
        
        .titulo-marcas {
            color: #1810c3;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 30px;
            position: relative;
            text-align: center;
        }
        
        .titulo-marcas::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, #1810c3, #0d8af2);
            border-radius: 2px;
        }
        
        .marcas-container {
            position: relative;
            height: 150px;
            overflow: hidden;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 20px;
        }
        
        .marcas-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            opacity: 0;
            transition: opacity 0.8s ease;
        }
        
        .marcas-slide.active {
            opacity: 1;
            z-index: 1;
        }
        
        .marca-img {
            max-height: 80px;
            max-width: 120px;
            object-fit: contain;
            
            
            transition: all 0.3s ease;
        }
        
        .marca-img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.50);
        }
        
        .puntos-navegacion {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }
        
        .punto {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ccc;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .punto.active {
            background-color: #1810c3;
            transform: scale(1.2);
        }
        
        .marcas-controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }
        
        .marcas-btn {
            background-color: #1810c3;
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }
        
        .marcas-btn:hover {
            background-color: #0d8af2;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }
        
        .marcas-info {
            text-align: center;
            margin-top: 15px;
            color: #666;
            font-size: 14px;
        }
        
        /* Responsividad */
        @media (max-width: 768px) {
            .marcas-slide {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .marca-img {
                max-height: 50px;
                max-width: 80px;
                margin: 5px;
            }
            
            .marcas-container {
                height: 200px;
            }
        }


        /* Botón Volver (no fijo, alineado a la izquierda) */
.btn-volver {
            display: inline-block;
            justify-content: flex-start;
            background: rgba(24, 16, 195, 0.98);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid #3498db;
            align-self: flex-start;
            margin-bottom: 20px;
}

.btn-volver:hover {
            background: transparent;
            color: #3498db;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Asegurar que no haya flotantes que afecten la posición */
.text-start {
    clear: both;
    text-align: left !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .btn-volver {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .text-start {
        padding-left: 15px; /* Añadir padding en móviles */
    }
}


        /* Responsividad */
        @media (max-width: 992px) {
            .nav-links {
                gap: 20px;
                margin-left: 20px;
            }
            
            .carousel-item {
                height: 50vh;
            }
            
            .brand-item {
                flex: 0 0 25%;
            }
        }

        @media (max-width: 768px) {
            .navbar-custom {
                padding: 10px 20px;
            }
            
            .nav-links {
                gap: 15px;
                margin-left: 10px;
            }
            
            .carousel-item {
                height: 40vh;
            }
            
            .product-card {
                height: 250px;
            }
            
            .brand-item {
                flex: 0 0 33.33%;
            }
        }

        @media (max-width: 576px) {
            .logo-container {
                margin-right: 15px;
                height: 50px;
            }
            
            .carousel-item {
                height: 35vh;
            }
            
            .brand-item {
                flex: 0 0 50%;
            }
        }

        /* Footer mejorado */
.footer {
    background: linear-gradient(to right, #0c0970, #1810c3);
    color: white;
    padding: 60px 0 0;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0d8af2;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Ajustes responsivos para footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 30px;
    }
}

        /* Animaciones */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animate-fadeIn {
            animation: fadeIn 0.8s ease forwards;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
        .delay-5 { animation-delay: 0.5s; }


        /* Botón de WhatsApp flotante */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.whatsapp-btn a:hover {
    transform: translateY(-3px);
}

/* Animación de latido */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.6s ease-in-out;
}

/* Estado inicial del botón */
.whatsapp-btn {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}