/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --violeta: #8e44ad;
  --violeta-neon: #a29bfe;
  --azul-neon: #00f6ff;
  --negro: #0a0a0a;
  --blanco: #fff;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--negro);
  color: var(--blanco);
  line-height: 1.6;
  padding-top: 120px; 
}
 @media (max-width: 768px) {
    body {
      padding-top: 80px;
    }
  }

 @keyframes gradientBackground {
          0% { background-position: 0% 50%; }
          50% { background-position: 100% 50%; }
          100% { background-position: 0% 50%; }
        }
         
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2e2d2d, #000000, #110332);
  background-size: 400% 400%;
  animation: gradientBackground 10s ease infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #fff;
  text-align: center;
}
#loading-text {
  font-size: 3rem;
  margin-bottom: 30px;
  letter-spacing: 2px;
  position: relative;
    animation: floatPulse 2s ease-in-out infinite;
}
    @keyframes floatPulse {
  0%   { transform: translateY(0) scale(1); }
  25%  { transform: translateY(-10px) scale(1.05); }
  50%  { transform: translateY(0) scale(1); }
  75%  { transform: translateY(10px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}
  
.progress-container {
  width: 90%;
  max-width: 700px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  animation: floatPulse 2s ease-in-out infinite;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #000000, #7609d6, #6eff1a);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-20deg);
  animation: shine 1s linear infinite;
}

@keyframes shine {
  0% { left: -50%; }
  100% { left: 100%; }
}

#percent {
  margin-top: 15px;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

#content {
  display: none;
  text-align: center;
  padding: 50px;
}

@media (min-width: 768px) {
  #loading-text {
    font-size: 3vw;
  }
  #percent {
    font-size: 2.5vw;
  }
}

@media (min-width: 1024px) {
  #loading-text {
    font-size: 2vw;
  }
  #percent {
    font-size: 1.5vw;
  }
}

.navbar-toggler {
  border: none;
  transition: all 0.3s ease-in-out;
}
.navbar-toggler:hover {
  box-shadow: 
    0 0 5px #c77dff,
    0 0 10px #791dc0,
    0 0 20px #c77dff,
    0 0 40px #6c2b9d; /* Resplandor */
}

.navbar-toggler-icon {
  filter: invert(1);
}

.custom-navbar {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 0.5rem 1rem;
  /* top: 35px; */
   z-index: 1000;
  
}

.logo {
  height: 100px;
  width: 95px;
  transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link {
  color: white !important;
  font-size: 1.1rem;
  font-weight: 500;
  margin-left: 15px;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  transition: transform 0.3s ease-in-out;
  transform: scale(1.3);
  transform: rotate(360deg);
}
   
@media (max-width: 992px) {
  
  .navbar-nav {
    text-align: center;
    
  }
.logo {
  height: 60px; 
  width: auto; 
}
}

.navbar ul {
  display: flex;
  gap: 20px;
}
.navbar a {
  color: var(--blanco);
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar a:hover {
  color: var(--azul-neon);
}

 .hero-index {
  text-align: center;
  padding: 100px 20px;
  background: radial-gradient(
      circle at center,
      rgba(34, 239, 222, 0.799) 0%,
      rgba(174, 173, 173, 0.15) 40%,
      rgba(11, 11, 11, 0.95) 80%,
      rgba(0, 0, 0, 0.85) 100%
    );
  background-size: 200% 200%;
  animation: gradientMove 4s ease-in-out infinite;
}
@keyframes gradientMove {
  0% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 60% 40%;
  }
  100% {
    background-position: 50% 50%;
  }
}
.hero-about{
   
 text-align: center;
  padding: 100px 20px;
  background: radial-gradient(
      circle at center,
      rgba(234, 255, 1, 0.863) 0%,
      rgba(174, 173, 173, 0.15) 40%,
      rgba(11, 11, 11, 0.95) 80%,
      rgba(0, 0, 0, 0.85) 100%
    );
  background-size: 200% 200%;
  animation: gradientMove 4s ease-in-out infinite;
}

.hero h1, .hero p {
  opacity: 0;
  transform: translateY(50px);
  animation: slideIn 1.2s ease-out forwards;
}


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

.btn {
  background: var(--negro);
  color: var(--blanco);
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;

}
.btn:hover {
  background: var(--violeta-neon);
}
.descripcion{
  text-align: center;
  padding: 100px 20 px;
  color: white;
  position: relative;
  overflow:hidden;
  background-color:  rgba(0, 0, 0, 0.85);

}
.descripcion h2{
  margin-top: 40px;
 
}
.servicios{
  position: relative;
  overflow: hidden;
  color:white;
  background-color: rgba(0, 0, 0, 0.85);
  text-align: center;

}
 .servicios .card {
  background: #282828bb;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.servicios .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);

}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card i {
  color: #ffffff;
  margin-bottom: 10px;
}

.card h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
}
.cards-about {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.cards-about .tarjeta {
  background-color: rgba(255, 255, 255, 0.05); 
  border-radius: 50%; 
  padding: 30px 25px;
  text-align: center;
  width: 280px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  perspective: 1000px; 
}

.cards-about .tarjeta:hover {
  transform: rotateY(10deg) rotateX(5deg) scale(1.05); 
  box-shadow: 0 20px 40px #1bc5e3; 
}

.cards-about .tarjeta i {
  margin-bottom: 15px;
  font-size: 2.5rem;
  color: var(--violeta);
}

.cards-about .tarjeta h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

.cards-about .tarjeta p {
  font-size: 0.95rem;
  line-height: 1.4;
}
.hero-servicios {
  position: relative;
  width: 100%;
  height: 100vh; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-servicios img.pantallas3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-servicios {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-servicios img.pantallas3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-servicios .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;    
  background: var(--negro);
  color: var(--blanco); 
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.hero-servicios .btn:hover {
  background: var(--violeta-neon);
}

@media (max-width: 768px) {
  .hero-servicios {
    height: 80vh; /* Más compacto en móviles */
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px; 
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 999;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.2);
  background-color: #1ebe57;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.scroll-top {
  position: fixed;
  bottom: 100px; 
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #beb8b8da;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  opacity: 0;
  z-index: 999;
  animation: pulse 2s infinite;
}

.scroll-top:hover {
  transform: scale(1.2);
  background-color: #beb8b8da;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.scroll-top.show, .whatsapp-float.show {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animado */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 194, 196, 0.747); }
  70% { box-shadow: 0 0 0 15px rgba(0,123,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,123,255,0); }
}

.footer {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; 
  margin-bottom: 20px;
  flex-wrap: wrap; 
}

.footer-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
   transition: transform 0.3s ease-in-out;

}
.footer-logo:hover{
  transform: scale(1.2); /* Efecto sutil al pasar el mouse */

}
.footer-qr {
  display: flex;
  flex-direction: column; /* QR y texto en columna */
  align-items: center; /* centrar texto debajo del QR */
}
.footer-qr img {
  width: 100px;
  height: 100px;
 
}
.footer-qr p {
  font-size: 0.85rem;
  margin-top: 5px;
  color: #ccc;
}
.link-instagram {
  color: #fff; 
  text-decoration:underline; 
  font-weight: 500;
  transition: color 0.3s ease;
}
.link-instagram:hover {
  color: #8031df; 
}
