
:root {
    --primary-color: #0a3d62;
    --secondary-color: #f6b93b;
    --accent-color: #4a69bd;
    --light-color: #f5f6fa;
    --dark-color: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    
}

/* Header & Navigation */
header {
    background-color: var(--dark-color);
    color: white;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-dark);
    padding: 10px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinea los elementos a la derecha */
    gap: 20px;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
    text-align: right; /* Opcional, si hay texto */
}


.contact-info a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav {
    background-color: var(--primary-color);
    padding: 15px 5%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px; /* Adjust size as needed */
    height: 50px;
    border-radius: 50%; /* Makes image circular */
    object-fit: cover; /* Adjust image within the circle */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 80%;
}

/* Lateral Navbar for Small Screens */
.side-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: var(--primary-color);
    padding-top: 60px;
    z-index: 100000;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}

.side-navbar.active {
    transform: translateX(0);
    display: block;
}

.side-navbar .side-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-navbar .side-nav-links a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.side-navbar .side-nav-links a:hover {
    background-color: var(--secondary-color);
}

/* Close Button for Side Navbar */
.side-navbar .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Overlay for Blurring Background */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 900;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Show mobile menu icon on small screens */
.mobile-menu {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: white;
}
/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Contenedor del carrusel */
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Imágenes del carrusel */
.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Activa la imagen visible */
.carousel-slide.active {
    opacity: 1;
}

/* Capa oscura para mejorar la legibilidad */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Contenido del hero */
.hero-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Botones del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Posiciones de los botones */
.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Botón del hero */
.hero-btn {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn:hover {
    background-color: white;
    transform: translateY(-3px);
}

/* About Section */
.section {
    background-color: #f9f9f9;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);

}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-box {
    background: linear-gradient(135deg, #0f0f1f 0%, #1a1a30 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    max-width: 100%;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0055, #00ffaa, #ff00aa, #00ffff);
    animation: gradient-border 3s linear infinite;
    background-size: 300% 300%;
}

@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 0, 140, 0.7), 0 0 20px rgba(0, 255, 255, 0.5);
    letter-spacing: 1px;
}

.about-box p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.concert-scene {
    height: 320px;
    background: url('/api/placeholder/800/320') center/cover no-repeat;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.stage {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #111;
}

.led-screen {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 120px;
    background: linear-gradient(180deg, #333, #222);
    border: 2px solid #444;
    overflow: hidden;
}

.led-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff0055, #00ffaa, #ff00aa, #00ffff);
    animation: led-animation 5s linear infinite;
    background-size: 300% 300%;
    opacity: 0.8;
}

@keyframes led-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.light {
    position: absolute;
    width: 10px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
}

.light:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.8);
}

.light-beam {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 80px 20px;
    border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
    filter: blur(5px);
}

.audience {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #000;
}

.cta-button {
    display: block;
    background: linear-gradient(90deg, #d79721, #e3da6d);
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    margin: 25px auto 10px;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(0, 255, 225, 0.5);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, #e3da6d, #d79721);
}

.features {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.feature {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.feature:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #00ffaa;
}

.feature h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.feature p {
    font-size: 14px;
    color: #cccccc;
}
@media (max-width: 768px) {
    .features {
      flex-direction: column; /* Apila los elementos verticalmente */
      align-items: center;     /* Centra los elementos */
      gap: 20px;               /* Espacio entre features */
    }
  
    .feature {
      padding: 0 10px;
    }
  
    .feature:not(:last-child):after {
      display: none; /* Oculta el separador en pantallas pequeñas */
    }
  
    .feature h4 {
      font-size: 16px;
    }
  
    .feature p {
      font-size: 13px;
    }
  
    .feature-icon {
      font-size: 28px;
    }
  }
  
  @media (max-width: 480px) {
    .feature h4 {
      font-size: 15px;
    }
  
    .feature p {
      font-size: 12px;
    }
  
    .feature-icon {
      font-size: 26px;
    }
  }
   

/* Generamos luces dinámicas */
.light-1 { left: 5%; bottom: 60px; animation: light-color-1 4s infinite; }
.light-2 { left: 15%; bottom: 60px; animation: light-color-2 7s infinite; }
.light-3 { left: 30%; bottom: 60px; animation: light-color-3 5s infinite; }
.light-4 { left: 70%; bottom: 60px; animation: light-color-1 6s infinite; }
.light-5 { left: 85%; bottom: 60px; animation: light-color-2 8s infinite; }
.light-6 { left: 95%; bottom: 60px; animation: light-color-3 3s infinite; }

@keyframes light-color-1 {
    0%, 100% { box-shadow: 0 0 20px 5px rgba(255, 0, 140, 0.8); }
    33% { box-shadow: 0 0 20px 5px rgba(0, 255, 255, 0.8); }
    66% { box-shadow: 0 0 20px 5px rgba(255, 255, 0, 0.8); }
}

@keyframes light-color-2 {
    0%, 100% { box-shadow: 0 0 20px 5px rgba(0, 255, 140, 0.8); }
    33% { box-shadow: 0 0 20px 5px rgba(255, 0, 255, 0.8); }
    66% { box-shadow: 0 0 20px 5px rgba(0, 140, 255, 0.8); }
}

@keyframes light-color-3 {
    0%, 100% { box-shadow: 0 0 20px 5px rgba(140, 0, 255, 0.8); }
    33% { box-shadow: 0 0 20px 5px rgba(255, 140, 0, 0.8); }
    66% { box-shadow: 0 0 20px 5px rgba(0, 255, 0, 0.8); }
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16/9; /* Se adaptará automáticamente al aspecto del video */
    margin: 10px auto;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 20px 70px rgba(0, 140, 255, 0.3);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 140, 255, 0.4), 
                0 0 30px rgba(0, 217, 255, 0.3);
}
  
.actual-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 1s ease;
    object-fit: contain; /* Evita los bordes negros */
}

/* Overlay y efectos */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(0, 20, 40, 0.7), rgba(0, 0, 20, 0.85)), 
                      url('video/DesignLux-thumbnail.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.5s ease;
    overflow: hidden;
}

.video-overlay:hover {
    background-image: linear-gradient(135deg, rgba(0, 20, 40, 0.6), rgba(0, 0, 20, 0.75)), 
                      url('video/DesignLux-thumbnail.jpg');
}

.led-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(0, 140, 255, 0.2) 0%, rgba(0, 140, 255, 0) 70%);
    animation: glow 5s infinite alternate;
    pointer-events: none;
}

/* Esquinas LED */
.led-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 11;
}

.top-left {
    top: 0;
    left: 0;
    border-top: 3px solid #00eeff;
    border-left: 3px solid #00eeff;
    border-top-left-radius: 12px;
    box-shadow: -5px -5px 15px rgba(0, 238, 255, 0.5);
    animation: cornerPulse 3s infinite alternate;
}

.top-right {
    top: 0;
    right: 0;
    border-top: 3px solid #00eeff;
    border-right: 3px solid #00eeff;
    border-top-right-radius: 12px;
    box-shadow: 5px -5px 15px rgba(0, 238, 255, 0.5);
    animation: cornerPulse 3s infinite alternate-reverse;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-bottom: 3px solid #00eeff;
    border-left: 3px solid #00eeff;
    border-bottom-left-radius: 12px;
    box-shadow: -5px 5px 15px rgba(0, 238, 255, 0.5);
    animation: cornerPulse 3s infinite alternate-reverse;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #00eeff;
    border-right: 3px solid #00eeff;
    border-bottom-right-radius: 12px;
    box-shadow: 5px 5px 15px rgba(0, 238, 255, 0.5);
    animation: cornerPulse 3s infinite alternate;
}

/* Líneas LED */
.led-line {
    position: absolute;
    background: linear-gradient(90deg, 
                rgba(0, 238, 255, 0) 0%, 
                rgba(0, 238, 255, 0.7) 50%, 
                rgba(0, 238, 255, 0) 100%);
    z-index: 11;
}

.top, .bottom {
    height: 2px;
    width: calc(100% - 120px);
    left: 60px;
}

.left, .right {
    width: 2px;
    height: calc(100% - 120px);
    top: 60px;
}

.top {
    top: 8px;
    animation: horizontalLight 8s infinite linear;
}

.bottom {
    bottom: 8px;
    animation: horizontalLight 8s infinite linear reverse;
}

.left {
    left: 8px;
    background: linear-gradient(0deg, 
                rgba(0, 238, 255, 0) 0%, 
                rgba(0, 238, 255, 0.7) 50%, 
                rgba(0, 238, 255, 0) 100%);
    animation: verticalLight 8s infinite linear;
}

.right {
    right: 8px;
    background: linear-gradient(0deg, 
                rgba(0, 238, 255, 0) 0%, 
                rgba(0, 238, 255, 0.7) 50%, 
                rgba(0, 238, 255, 0) 100%);
    animation: verticalLight 8s infinite linear reverse;
}

/* Botón de reproducción */
.play-button-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(0, 238, 255, 0.7));
    animation: pulsate 2s infinite ease-in-out;
}

.play-button svg {
    filter: drop-shadow(0 0 5px #00eeff);
}

.play-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 238, 255, 1));
}

/* Texto overlay */
.overlay-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.text-glow {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px #00eeff, 0 0 20px #00eeff;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.subtext {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: #00eeff;
    text-shadow: 0 0 5px #00eeff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-overlay:hover .overlay-text {
    transform: translateY(5px);
}

.video-overlay:hover .subtext {
    opacity: 1;
}

/* Animaciones */
@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cornerPulse {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

@keyframes horizontalLight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes verticalLight {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes glow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}
@media (max-width: 768px) {

  
    .play-button-container {
      width: 70px;
      height: 70px;
      margin-bottom: 15px;
    }
  
    .play-button {
      width: 60px;
      height: 60px;
    }
  
    .text-glow {
      font-size: 20px;
      text-align: center;
      letter-spacing: 1px;
    }
  
    .subtext {
      font-size: 14px;
      text-align: center;
    }
  
    .led-corner {
      width: 40px;
      height: 40px;
    }
  
    .top, .bottom {
      width: calc(100% - 80px);
      left: 40px;
    }
  
    .left, .right {
      height: calc(100% - 80px);
      top: 40px;
    }
  
    .top {
      top: 6px;
    }
  
    .bottom {
      bottom: 6px;
    }
  
    .left {
      left: 6px;
    }
  
    .right {
      right: 6px;
    }
  
    .led-glow {
      width: 140%;
      height: 140%;
    }
  
    .video-overlay {
      padding: 20px;
      background-position: center center;
    }
  
    .overlay-text {
      padding: 10px;
    }
  }
  
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
            padding: 0 20px;
            max-width: 1400px;
            margin: 0 auto;
            align-items: center;
            justify-content: center;
            

          }
          .services-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
            padding: 0 20px;
            max-width: 1400px;
            margin: 0 auto;
          }
          
          .flip-card {
            perspective: 1500px;
            height: 420px;
            overflow: visible;
            position: relative;
          }
          
          /* Estilo inicial de la carta (sin giro) */
            .flip-inner {
                position: relative;
                width: 100%;
                height: 400px;
                transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
                transform-style: preserve-3d;
                cursor: pointer;
                border-radius: 16px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
                transform: rotateY(0deg); /* Asegura que al principio no esté girada */
            }
            
            /* Cuando la carta se activa con el clic, se rota */
            .flip-card.active .flip-inner {
                transform: rotateY(180deg); /* Esto solo sucede cuando se hace clic */
            }
  
          .flip-front,
          .flip-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 16px;
            overflow: hidden;
            background-color: #fff;
            display: flex;
            flex-direction: column;
          }
          
          .flip-front {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
          }
          
          .flip-back {
            transform: rotateY(180deg);
            padding: 25px 20px;
            justify-content: center;
            text-align: center;
            background: linear-gradient(145deg, #fafbfd, #e6e7e9);
          }
          
          .event-img {
            width: 100%;
            height: 280px;
            overflow: hidden;
            position: relative;
          }
          
          .event-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
          }
          
          .flip-card:hover .event-img img {
            transform: scale(1.05);
          }
          
          .event-content {
            padding: 20px;
            text-align: center;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
          }
          
          .flip-front .event-content {
            padding: 20px 10px;
          }
          
          .event-content h3 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            letter-spacing: 0.5px;
            position: relative;
            padding-bottom: 12px;
          }
          
          .event-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
          }
          
          .flip-back h3 {
            margin-bottom: 15px;
            font-size: 1.6rem;
          }
          
          .flip-back p {
            font-size: 1rem;
            color: var(--dark-color);
            line-height: 1.7;
            margin-top: 10px;
            opacity: 0;
            animation: fadeIn 0.5s forwards;
            animation-delay: 0.3s;
          }
          
          /* LED Border Effect */
          .led-border {
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border-radius: 18px;
            background: transparent;
            z-index: -1;
            overflow: hidden;
          }
          
          .led-border::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 18px;
            background: linear-gradient(90deg, 
              #ff0040, #ff00c8, #00e5ff, #00ff7f, #ffea00, #ff0040);
            background-size: 400% 400%;
            animation: ledAnimation 4s linear infinite;
            filter: blur(5px);
            opacity: 0;
            transition: opacity 0.4s ease;
          }
          
          .flip-card:hover .led-border::before {
            opacity: 1;
          }
          
          .flip-card.active .led-border::before {
            opacity: 1;
            animation: ledAnimation 2s linear infinite;
          }
          
          /* Click hint icon */
          .click-hint {
            position: absolute;
            bottom: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            animation: pulse 2s infinite;
            z-index: 2;
          }
          
          .click-hint::before {
            content: '↺';
            font-size: 18px;
            color: var(--accent-color);
          }
          
          /* Animations */
          @keyframes ledAnimation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
          }
          
          @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.1); opacity: 0.8; }
            100% { transform: scale(1); opacity: 1; }
          }
          
          @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
          }
          
          .scroll-animation {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.6s ease;
            }

            .scroll-animation.visible {
            opacity: 1;
            transform: translateY(0);
            }
  /* servicios container y estilos*/
  .servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tarjeta-servicio {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    overflow: visible;
}

.tarjeta-servicio:hover {
    transform: translateY(-5px);
}

.puerta-contenedor {
    position: relative;
    width: 100%;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.puerta-frontal {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    z-index: 2;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    overflow: hidden;
}

.puerta-izquierda, .puerta-derecha {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to bottom, #1a1a1a, #333);
    transition: transform 0.7s ease;
    z-index: 3;
    overflow: hidden;
}

.puerta-izquierda {
    left: 0;
    transform-origin: left;
    background-image: linear-gradient(135deg, rgba(30,30,30,0.8) 0%, rgba(50,50,50,0.8) 100%);
}

.puerta-derecha {
    right: 0;
    transform-origin: right;
    background-image: linear-gradient(-135deg, rgba(30,30,30,0.8) 0%, rgba(50,50,50,0.8) 100%);
}

.tarjeta-servicio:hover .puerta-izquierda {
    transform: rotateY(-90deg);
}

.tarjeta-servicio:hover .puerta-derecha {
    transform: rotateY(90deg);
}

.puerta-decoracion {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.luces-concierto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.8) 70%);
}

.luces-concierto::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(255,0,0,0.3) 0%, transparent 10%),
        radial-gradient(circle at 70% 30%, rgba(0,255,255,0.3) 0%, transparent 10%),
        radial-gradient(circle at 40% 60%, rgba(255,255,0,0.3) 0%, transparent 10%),
        radial-gradient(circle at 60% 80%, rgba(0,0,255,0.3) 0%, transparent 10%),
        radial-gradient(circle at 20% 90%, rgba(255,0,255,0.3) 0%, transparent 10%);
    animation: luces 8s linear infinite;
}

@keyframes luces {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.servicio-imagen {
    height: 70%;
    overflow: hidden;
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tarjeta-servicio:hover .servicio-imagen img {
    transform: scale(1.05);
}

.servicio-titulo {
    padding: 1rem;
    text-align: center;
    background: linear-gradient(to right, #113370, #254e94);
    color: white;
}

.servicio-titulo h3 {
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Cajuela para contenido */
.servicio-cajuela {
    background: linear-gradient(to bottom, #f5f7fa, #ffffff);
    border-radius: 0 0 10px 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tarjeta-servicio:hover > .servicio-cajuela {
    max-height: 300px;
    transition: max-height 0.7s ease-in;
}

.contenido-interior {
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tarjeta-servicio:hover > .servicio-cajuela .contenido-interior {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}

.contenido-interior h4 {
    color: #113370;
    margin: 0;
    font-size: 1.2rem;
}

.separador {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #113370, #4071bf);
    margin: 0.5rem auto 1rem;
}

.contenido-interior p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.boton-servicios {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(to right, #113370, #254e94);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(17, 51, 112, 0.2);
}

.boton-servicios:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(17, 51, 112, 0.3);
}

.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}
        /* Clients/Partners Section */
.clients-section {
    background-color: #f9f9f9;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Contenedor de logos con ajuste de columnas */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Ajusta las columnas responsivas */
    justify-items: center; /* Asegura que las imágenes estén centradas */
    gap: 30px; /* Espacio entre los elementos */
    max-width: 1200px;
    margin: 0 auto; /* Centra el contenedor */
}

/* Asegura que los logos sean responsables y centrados */
.client-logo {
    max-width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centra las imágenes dentro de cada logo */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 0 15px #0a3d62;
    transform: translateY(0);
}

/* Efecto al hacer hover */
.client-logo:hover {
    transform: scale(1.12) translateY(-5px);
    box-shadow: 0 0 25px #0a3d62, 
                0 0 40px #042033;
}

/* Asegura que las imágenes se adapten al tamaño */
.client-logo img {
    max-width: 90%; /* Ajusta el ancho máximo de la imagen */
    max-height: 90%; /* Ajusta la altura máxima de la imagen */
    object-fit: contain;
}

/* Animación para entrada de los elementos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0.9;
}

/* Efecto cascada para animaciones */
.client-logo:nth-child(1) { animation-delay: 0.1s; }
.client-logo:nth-child(2) { animation-delay: 0.4s; }
.client-logo:nth-child(3) { animation-delay: 0.7s; }
.client-logo:nth-child(4) { animation-delay: 1.0s; }
.client-logo:nth-child(5) { animation-delay: 1.3s; }
.client-logo:nth-child(6) { animation-delay: 1.6s; }
.client-logo:nth-child(7) { animation-delay: 1.9s; }
.client-logo:nth-child(8) { animation-delay: 2.2s; }
.client-logo:nth-child(9) { animation-delay: 2.5s; }

/* Responsive ajustes */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 25px;
    }
    
    .client-logo {
        max-width: 140px;
        height: 80px;
        padding: 10px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .client-logo {
        max-width: 120px;
        height: 70px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

        /* Contact section */
        .contact-section {
            background-color: var(--primary-color);
            color: white;
            padding: 60px 5%;
            text-align: center;
        }

        .contact-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .contact-subtitle {
            font-size: 1.2rem;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .contact-btn {
            background-color: var(--secondary-color);
            color: var(--dark-color);
            padding: 12px 30px;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: bold;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .contact-btn:hover {
            background-color: white;
            transform: translateY(-3px);
        }

        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 50px 5% 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: var(--secondary-color);
        }

        .footer-col p, .footer-col a {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
            margin-bottom: 10px;
            display: block;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-col a:hover {
            color: white;
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }

        .copyright {
            display: flex;
            justify-content: space-between; /* izquierda y derecha */
            align-items: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            flex-wrap: wrap; /* permite que baje de línea */
            text-align: center;
            padding: 10px 70px 0px 70px;
        }
        
        .copyright a strong {
            color: #ffffff; /* blanco para Accuracy Nexus */
            text-decoration: none;
        }
        
        /* Para pantallas pequeñas */
        @media (max-width: 768px) {
            .copyright {
                flex-direction: column;   /* apila uno debajo del otro */
                justify-content: center;
                text-align: center;
                gap: 8px; /* pequeño espacio entre líneas */
                padding: 10px 20px 0px 20px;
            }
        }



        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideInDown {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes slideInUp {
            from { transform: translateY(50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .fadeIn {
            animation: fadeIn 1s ease;
        }

        .slideInUp {
            animation: slideInUp 1s ease;
        }

        /* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    background-color: var(--secondary-color);
}
/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000;
    transition: transform 1.2s ease-in-out;
}

.splash-screen.loaded {
    transform: translateX(-100%); /* Efecto cortina al finalizar */
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    width: 180px;
    height: auto;
    animation: pulseIn 2s ease-in-out;
}

/* Estilo para el texto del splash */
.splash-text {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 20px;
    animation: fadeIn 1.8s;
}

.splash-squares {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    position: relative;
    flex-wrap: wrap;
    max-width: 120px; /* Para organizar los 9 cuadrados en 3x3 */
}

.square {
    width: 15px;
    height: 15px;
    border: 2px solid var(--primary-color);
    border-radius: 2px;
    opacity: 0;
}

/* Animar cada cuadrado individualmente */
.square:nth-child(1) {
    animation: appearAndChangeColor 3s infinite 0.1s;
}

.square:nth-child(2) {
    animation: appearAndChangeColor 3s infinite 0.2s;
}

.square:nth-child(3) {
    animation: appearAndChangeColor 3s infinite 0.3s;
}

.square:nth-child(4) {
    animation: appearAndChangeColor 3s infinite 0.4s;
}

.square:nth-child(5) {
    animation: appearAndChangeColor 3s infinite 0.5s;
}

.square:nth-child(6) {
    animation: appearAndChangeColor 3s infinite 0.6s;
}

.square:nth-child(7) {
    animation: appearAndChangeColor 3s infinite 0.7s;
}

.square:nth-child(8) {
    animation: appearAndChangeColor 3s infinite 0.8s;
}

.square:nth-child(9) {
    animation: appearAndChangeColor 3s infinite 0.9s;
}
.square:nth-child(10) {
    animation: appearAndChangeColor 3s infinite 0.1s;
}

/* Keyframes para animaciones */
@keyframes pulseIn {
    0% { opacity: 0; transform: scale(0.8); }
    70% { opacity: 1; transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes appearAndChangeColor {
    0% { 
        opacity: 0; 
        background-color: transparent; 
    }
    10% { 
        opacity: 1; 
        background-color: transparent; 
    }
    30% { 
        background-color: var(--primary-color); 
    }
    50% { 
        background-color: var(--secondary-color, #ffcc00); 
    }
    70% { 
        background-color: var(--primary-color); 
    }
    90% { 
        background-color: transparent; 
    }
    100% { 
        opacity: 1; 
        background-color: transparent; 
    }
}
/* Estilos para los iconos de navegación */
.nav-links a,
.side-nav-links a {
    display: flex;
    align-items: center;
}

.nav-links a i,
.side-nav-links a i {
    margin-right: 8px; /* Espacio entre el icono y el texto */
}

/* Estilos para la fuente de texto del logo */
.logo-container .logo {
    display: flex;
    align-items: center; /* Alinea verticalmente el contenido */
    text-decoration: none; /* Elimina la línea de subrayado */
}

.logo-container span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* Bold para el logo */
    color: var(--light-color); /* Color de tu marca */
    margin-left: 10px; /* Espacio entre la imagen y el texto */
}

       /* Responsive Design */

@media (max-width: 768px) {
    .side-navbar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100%;
        background-color: var(--primary-color);
        padding-top: 60px;
        z-index: 100000;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }
    .nav-links {
        display: none;
    }
    .logo-container span {
        display: inline; /* Mostrar el texto en pantallas pequeñas */
    }

    .mobile-menu {
        display: flex;
        margin-left: 20px; /* Ajusta el margen izquierdo */
        margin-right: 20px; /* Ajusta el margen derecho */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-info {
        display: none;
    }

    .top-bar {
        justify-content: center;
    }

    .logo-container {
        margin-left: 20px; /* Ajusta el margen izquierdo */
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Distribuye el contenido con espacio entre elementos */
    }
}
@media (max-width: 1200px) and (min-width: 769px) {
    .side-navbar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 700px;
        height: 100%;
        background-color: var(--primary-color);
        padding-top: 60px;
        z-index: 100000;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }
    .side-navbar .side-nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 2rem;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links {
        display: none;
    }
    .logo-container span {
        display: inline; /* Mostrar el texto en pantallas pequeñas */
    }

    .mobile-menu {
        display: flex;
        margin-left: 20px; /* Ajusta el margen izquierdo */
        margin-right: 20px; /* Ajusta el margen derecho */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-info {
        display: none;
    }

    .top-bar {
        justify-content: center;
    }

    .logo-container {
        margin-left: 20px; /* Ajusta el margen izquierdo */
    }

    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Distribuye el contenido con espacio entre elementos */
    }
}
 /* Botón flotante */
 .whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Animación al cambiar a X */
.whatsapp-button.open {
    background-color: #FF4D4D;
    transform: rotate(180deg);
}

/* Chat flotante */
.chat-container {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999; /* Asegura que el chat aparezca encima de todo */
}

/* Cuando el chat está abierto */
.chat-container.open {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

/* Encabezado del chat */
.chat-header {
    background: #25D366;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header i {
    font-size: 20px;
}

/* Contenido del chat */
.chat-body {
    padding: 15px;
    font-size: 14px;
    color: #333;
    background: #f1f1f1;
    
   
}

/* Botón dentro del chat */
.contact-card {
    display: flex;
    align-items: center;
    background: white;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    
}

.contact-card:hover {
    background: #e0e0e0;
}

.contact-card img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
/* estilo para el dedo*/
    /* Dedo animado que incita a hacer clic */
    .dedo-click {
        position: absolute;
        top: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        z-index: 10;
        animation: dedoAnimacion 2s infinite;
        pointer-events: none;
      }
      
      .dedo-click svg {
        width: 100%;
        height: 100%;
        filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
      }
      
      @keyframes dedoAnimacion {
        0% {
          transform: translateX(-50%) translateY(0) scale(1);
          opacity: 0.7;
        }
        50% {
          transform: translateX(-50%) translateY(20px) scale(1.2);
          opacity: 1;
        }
        100% {
          transform: translateX(-50%) translateY(0) scale(1);
          opacity: 0.7;
        }
      }

      /* estilos para el formulario */

      * {
        box-sizing: border-box;
      }
  
    
      #miModal {
          
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 9999;
        backdrop-filter: blur(5px);
      }
    
      .modal-content {
        margin-top: 3% auto;
        background: linear-gradient(145deg, #1a1a1a, #262626);
        padding: 14px 25px;
        border-radius: 20px;
        width: 90%;
        max-width: 450px;
        height: auto;
        position: relative;
        text-align: center;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
        animation: aparecer 0.5s ease;
      }
    
      @keyframes aparecer {
        from { transform: scale(0.8); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
      }
    
      .modal-content img {
        width: 50px;
        margin-bottom: 5px;
      }
    
      .close {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 30px;
        cursor: pointer;
        color: #ccc;
        transition: color 0.3s;
      }
    
      .close:hover {
        color: #ff4c4c;
      }
    
      h2 {
        margin-bottom: 20px;
        font-weight: 600;
        color: #00ffe1;
      }
    
      form {
        width: 100%;
      }
    
      form .input-icon {
        position: relative;
        margin-bottom: 20px;
        width: 100%;
      }
    
      form .input-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #00ffe1;
        font-size: 18px;
        pointer-events: none;
      }
    
      form .input-icon input,
      form .input-icon select,
      form .input-icon textarea {
        width: 100%;
        padding: 12px 12px 12px 45px;
        border: 2px solid #1f1f1f;
        background: #1f1f1f;
        color: #fff;
        border-radius: 10px;
        font-size: 14px;
        transition: all 0.4s ease;
        display: block;
      }
    
      form .input-icon input:focus,
      form .input-icon select:focus,
      form .input-icon textarea:focus {
        border-color: #00ffe1;
        background: #2c2c2c;
        outline: none;
        box-shadow: 0 0 10px #00ffe1aa;
      }
    
      form button {
        background: linear-gradient(135deg, #00ffe1, #007bff);
        border: none;
        padding: 12px;
        width: 100%;
        border-radius: 10px;
        cursor: pointer;
        font-weight: bold;
        font-size: 16px;
        color: #0d0d0d;
        transition: background 0.3s, transform 0.3s;
        margin-top: 10px;
      }
    
      form button:hover {
        background: linear-gradient(135deg, #007bff, #00ffe1);
        transform: scale(1.05);
      }
    
      #mensaje-envio {
        margin-top: 10px;
        font-size: 14px;
        color: green;
      }
    
      #boton-abrir {
        padding: 15px 30px;
        background: linear-gradient(135deg, #d79721, #e3da6d);
        border: none;
        border-radius: 50px;
        color: #0d0d0d;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0, 255, 225, 0.5);
        transition: background 0.3s, transform 0.3s;
      }
    
      #boton-abrir:hover {
        background: linear-gradient(135deg, #e3da6d, #d79721);
        transform: scale(1.1);
      }
    
      /* Responsive extra */
      @media (max-width: 500px) {
        .modal-content {
          padding: 20px 15px;
        }
      }