:root {
            --primary: #a3ff3b;
            --secondary: #3dd2ff;
            --dark: #0A0E27;
            --light: #F8F9FF;
            --accent: #cc00ff;
            --other:#ffd23d;
        
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--dark);
            color: var(--light);
            overflow-x: hidden;
        }

        .unbounded {
            font-family: 'Comfortaa', sans-serif;
        }

        /* Animated gradient background */
        .gradient-bg {
            background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 50%, #0A0E27 100%);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* Floating particles effect 
        .particle {
            position: absolute;
            background: rgba(255, 59, 140, 0.1);
            border-radius: 50%;
            pointer-events: none;
            animation: float 20s infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
        }
*/
.particle {
    position: absolute;
    background: radial-gradient(circle, #dbbd50 0%, #75621b 50%, #8d5e20 900%);
    box-shadow: 0 0 10px rgba(141, 120, 1, 0.8);
    border-radius: 80%;
    pointer-events: none;
    animation: floatAround linear infinite;
}

@keyframes floatAround {
    0% { transform: translate(0, 0); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translate(70px, -30px); opacity:0.3; }
    80% { opacity: 0.4; }
    100% { transform: translate(40px, -100px); opacity: 0; }
}
        /* Glitch effect for hero title */
        .glitch {
            position: relative;
            animation: glitch-subtle 5s infinite;
        }

        @keyframes glitch-subtle {
            0%, 96%, 100% { transform: translate(0); }
            97% { transform: translate(-2px, 2px); }
            98% { transform: translate(2px, -2px); }
            99% { transform: translate(-2px, 2px); }
        }

        /* Neon glow effect */
        .neon-glow {
            text-shadow: 0 0 5px var(--secondary), 0 0 10px var(--secondary), 0 0 15px var(--secondary);
            animation: neonPulse 2s ease-in-out infinite;
        }

        @keyframes neonPulse {
            0%, 100% { text-shadow: 0 0 5px var(--secondary), 0 0 15px var(--secondary), 0 0 20px var(--secondary); }
            50% { text-shadow: 0 0 2px var(--other), 0 0 5px var(--other), 0 0 7px var(--other); }
        }

        /* Neon glow effect */
        .neon-glow1,.carousel-item.active{
            text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--primary);
            animation: neonPulse1 3s ease-in-out infinite;
        }

        @keyframes neonPulse1 {
            0%, 100% { text-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary), 0 0 30px var(--secondary); }
            50% { text-shadow: 0 0 20px var(--other), 0 0 40px var(--other), 0 0 60px var(--other); }
        }

        
       #nuestros{
        margin-top:-200px;
       }
       #nuest{
        margin-top:50px;
        margin-bottom:50px;
        }
        #carousel3D{
            margin-top:75px;
        }
        /* Card hover effects */
        .booth-card {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        .booth-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 59, 140, 0.2), transparent);
            transition: left 0.5s;
        }

        .booth-card:hover::before {
            left: 100%;
        }

        .booth-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 60px rgba(255, 59, 140, 0.3);
        }

        /* Scroll reveal animations */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            animation: reveal 0.8s forwards;
        }

        @keyframes reveal {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .reveal-1 { animation-delay: 0.1s; }
        .reveal-2 { animation-delay: 0.2s; }
        .reveal-3 { animation-delay: 0.3s; }
        .reveal-4 { animation-delay: 0.4s; }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--dark);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent);
        }

        /* Button effects */
        .btn-primary {
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
        }

        .btn-primary::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn-primary:hover::after {
            width: 300px;
            height: 300px;
        }

        /* Diagonal section divider 
        .diagonal-section {
            clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
            margin: -50px 0;
            padding: 80px 0;
            position: relative;
        }

        /-* Subtle noise texture for glass effect *-/
        .diagonal-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 1;
        }

        .diagonal-section > * {
            position: relative;
            z-index: 2;
        }

        /* 3D Carousel Styles */
        .carousel-3d {
            position: relative;
            width: 100%;
            height: 80%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-item {
            position: absolute;
            width: 300px;
            height: 400px;
            transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        opacity  0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        filter   0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
        }

        .carousel-item-inner {
            
            width: 100%;
            height: 80%;
            background: linear-gradient(135deg, rgba(26, 31, 58, 0.4), rgba(10, 14, 39, 0.5));
            border-radius: 24px;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255, 255, 255, 0.18);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            position: relative;
            /* FIX Chrome Android: overflow:hidden rompe transform-style:preserve-3d */
            overflow: visible;
        }

        /* Glass reflection effect */
        .carousel-item-inner::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 24px;
            padding: 2px;
            /*background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.05) 50%,
                rgba(255, 255, 255, 0.1) 100%
            );*/
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 1;
        }

        /* Shimmer effect on hover */
        .carousel-item:hover .carousel-item-inner {
            background: linear-gradient(135deg, rgba(26, 31, 58, 0.5), rgba(10, 14, 39, 0.6));
        }

        /* Enhanced glass effect for active item */
        .carousel-item.active .carousel-item-inner {
            /*border-color: rgba(147, 255, 59, 0.4);*/
            background: linear-gradient(135deg, rgba(26, 31, 58, 0.5), rgba(10, 14, 39, 0.6));
            /*box-shadow: 
                0 8px 32px 0 rgba(188, 250, 131, 0.3),
                /*0 30px 80px rgba(255, 59, 140, 0.2),
                /*inset 0 0 60px rgba(255, 59, 140, 0.1);*/
        }

        /* Light reflection on active */
        .carousel-item.active .carousel-item-inner::before {
            background: linear-gradient(
                135deg,
                rgba(0, 0, 0, 0.3) 0%,
                rgba(0, 0, 0, 0.1) 50%,
                rgba(0, 0, 0, 0.2) 100%
            );
        }

        /* Frosted glass shimmer on active */
        .carousel-item.active .carousel-item-inner::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 150%;
            height: 150%;
            background: radial-gradient(
                circle,
                rgba(255, 255, 255, 0.08) 0%,
                rgba(0, 0, 0, 0.1) 50%,
                transparent 60%
            );
            animation: shimmer 3s ease-in-out infinite;
            z-index: 0;
        }

        @keyframes shimmer {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(10%, 10%); }
        }

        .carousel-icon {
            font-size: 6rem;
            margin-bottom: 1rem;
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
            transition: all 0.5s;
        }

        .carousel-item.active .carousel-icon {
            transform: scale(1.1);
            filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
        }

        .carousel-image {
            width: 80%;
            max-width: 200px;
            height: auto;
            object-fit: contain;
            margin-top:-2rem;
            margin-bottom: 4.5rem;
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.562));
            transition: all 0.5s;
            position: relative;
            z-index: 2;
        }

.carousel-item.active .carousel-image {
    transform: scale(1.1);
    /* El brillo base lo manejamos dentro de la animación para que sea fluido */
    animation: neonPulse 2s ease-in-out infinite;
    will-change: filter;
}

@keyframes neonPulse {
    0%, 100% {
        filter: 
            brightness(1.0)
            /* Sombra negra base para dar profundidad */
            drop-shadow(0 2px 5px rgba(0, 0, 0, 1)) 
            /* Capas de Glow */
            drop-shadow(0 0 2px var(--other)) 
            drop-shadow(0 0 5px var(--light));
    }
    50% {
        filter: 
            brightness(1)
            /* Mantenemos la sombra negra base */
            drop-shadow(0 2px 7px rgba(0, 0, 0, 1)) 
            /* Capas de Glow intensificadas */
            drop-shadow(0 0 1px var(--light)) 
            drop-shadow(0 0 5px var(--light)) 
            drop-shadow(0 0 7px var(--other));
    }
}

        .carousel-title {
            font-family: 'Gabarito', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            text-align: center;
            margin-top: -6.5rem;
            opacity: 1;
            transition: all 0.5s;
        }

        .carousel-item.active .carousel-title {
            opacity: 1;
            color: var(--light);
            text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        }

        /* Navigation arrows */
        .carousel-nav {
            position: absolute;
            top: 75%;
            transform: translateY(-50%);
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            z-index: 100;
            color: white;
        }

        .carousel-nav:hover {
            background: var(--dark);
            border-color: var(--dark);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }

        .carousel-nav-left {
            left: 5%;
        }

        .carousel-nav-right {
            right: 5%;
        }

        /* Indicators */
        .carousel-indicator {
            margin-top:6rem;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }

        .carousel-indicator.active {
            background: var(--light);
            margin-top:6rem;
            width: 30px;
            border-radius: 6px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
        }

        /* Service description animation */
        .service-desc-enter {
            animation: slideUpFade 0.6s ease-out;
        }

        @keyframes slideUpFade {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            section.hero-fix { padding-top: 100px !important; padding-bottom: 60px !important; }
            .glitch { font-size: 2.5rem !important; }
            #nuestros { margin-top: 0 !important; }
            .relative.h-\[300px\] { height: 260px !important; }
            .carousel-item { width: 150px !important; height: 210px !important; }
            .carousel-image { max-width: 110px !important; margin-bottom: 2.5rem !important; margin-top: -0.5rem !important; }
            .carousel-title { font-size: 0.85rem !important; margin-top: -2.5rem !important; }
            #serviceDescription h3 { font-size: 1.4rem !important; }
            #serviceDescription p  { font-size: 0.95rem !important; }
            .carousel-nav { width: 40px !important; height: 40px !important; top: 45% !important; }
            .carousel-nav-left  { left: 1% !important; }
            .carousel-nav-right { right: 1% !important; }
            .btn-admin-text { display: none; }
        }

        /* ============================================================
           CHROME ANDROID — fixes específicos para ese navegador.
           Se activan solo cuando JS detecta Chrome Android y agrega
           la clase "chrome-android" al <html>.
           No afecta a Samsung Browser, Firefox, ni desktop.
           ============================================================ */

        /* Nav: sin backdrop-filter, fondo sólido */
        .chrome-android nav {
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
            background-color: rgba(10, 14, 39, 0.97) !important;
        }

        /* Tarjetas del carrusel: sin backdrop-filter */
        .chrome-android .carousel-item-inner {
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
            background: rgba(26, 31, 58, 0.95) !important;
        }

        /* Botones de navegación del carrusel: sin backdrop-filter */
        .chrome-android .carousel-nav {
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
            background: rgba(10, 14, 39, 0.88) !important;
        }

        /* Partículas: sin box-shadow (muy costoso en Chrome Android) */
        .chrome-android .particle {
            box-shadow: none !important;
            background: radial-gradient(circle, rgba(219,189,80,0.7) 0%, rgba(117,98,27,0.4) 100%) !important;
        }

        /* Efectos neon: versión simplificada, sin animación continua */
        .chrome-android .neon-glow1 {
            animation: none !important;
            text-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary) !important;
        }
        .chrome-android .neon-glow {
            animation: none !important;
            filter: drop-shadow(0 0 8px var(--secondary)) !important;
        }

        /* Imagen activa del carrusel: sin animación de filter */
        .chrome-android .carousel-item.active .carousel-image {
            animation: none !important;
            filter: drop-shadow(0 0 8px var(--other)) drop-shadow(0 2px 5px rgba(0,0,0,0.8)) !important;
        }

        /* Gradiente animado del body: versión estática en Chrome Android */
        .chrome-android.gradient-bg,
        .chrome-android .gradient-bg {
            animation: none !important;
            background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 50%, #0A0E27 100%) !important;
        }