@font-face {
  font-family: 'Mokoto';
  src: url('../fonts/Mokoto-Regular.woff2') format('woff2'),
       url('../fonts/Mokoto-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #05080f;
    color: #e6f1ff;
    position: relative;
    overflow-x: hidden;
  }

  #tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .navbar {
    background-color: #000000; /* Fondo oscuro elegante */
    padding: 10px 30px;
    border-bottom: 1px solid rgba(13, 202, 240, 0.2); /* línea tenue abajo */
  }
  
  .navbar-nav {
    gap: 20px;
  }
  
  .nav-link {
    color: #e6f1ff !important;
    font-family: 'Mokoto', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #0dcaf0;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
  }
  
  .nav-link:hover {
    color: #0dcaf0 !important;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }

  .hero {
display: flex;
align-items: center;
justify-content: space-between;
padding: 100px 10%;
position: relative;
z-index: 2;
}

  .hero-text h1 {
    font-family: 'Mokoto', sans-serif;
    font-size: 2.8rem;
    color: #00f0ff;
    font-weight: bold;
    /*text-shadow: 0 0 10px #00f0ff;*/
    letter-spacing: 4px; /* Aumenta si quieres más separación */

  }

  .btn-outline-light {
    border: 1px solid #00cfff;
    color: #00cfff;
  }

  .btn-outline-light:hover {
    background-color: #00cfff;
    color: #000;
  }
  .hero-img-container {
position: relative;
z-index: 1;
mix-blend-mode: screen;
pointer-events: none;
filter: drop-shadow(0 0 30px #00f0ff);
animation: pulse 5s ease-in-out infinite;
}

.animated-head {
width: 100%;
max-width: 400px;
opacity: 0.85;
animation: float 6s ease-in-out infinite, glowShift 8s ease-in-out infinite;
}

/* Flotar suave */
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}

/* Brillo animado */
@keyframes glowShift {
0%, 100% {
  filter: drop-shadow(0 0 20px #00f0ff);
}
50% {
  filter: drop-shadow(0 0 40px #00f0ff);
}
}

/* Pulso de respiración */
@keyframes pulse {
0%, 100% {
  transform: scale(1);
}
50% {
  transform: scale(1.02);
}
}


.hero-img {
width: 100%;
max-width: 300px;
opacity: 0.85;
animation: float 6s ease-in-out infinite;
}

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .servicios {
    background-color: rgba(11, 15, 26, 0.95);
    padding: 80px 0;
    position: relative;
    z-index: 2;
  }

  .servicios h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #00f0ff;
    font-weight: bold;
    /*text-shadow: 0 0 10px #00f0ff;*/
    font-family: 'Mokoto', sans-serif;
    letter-spacing: 2px; /* Aumenta si quieres más separación */


  }


  .contacto {
    background-color: rgba(11, 15, 26, 0.95);
    padding: 80px 0;
    position: relative;
    z-index: 2;
  }

  .contacto h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #00f0ff;
    font-weight: bold;
   /* text-shadow: 0 0 10px #00f0ff;*/
    font-family: 'Mokoto', sans-serif;
    letter-spacing: 2px; /* Aumenta si quieres más separación */

  }

  
  .proyectos {
    background-color: rgba(11, 15, 26, 0.95);
    padding: 80px 0;
    position: relative;
    z-index: 2;
  }

  .proyectos h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #00f0ff;
    font-weight: bold;
   /* text-shadow: 0 0 10px #00f0ff;*/
    font-family: 'Mokoto', sans-serif;
    letter-spacing: 2px; /* Aumenta si quieres más separación */

  }

      
  .demos {
    background-color: rgba(11, 15, 26, 0.95);
    padding: 80px 0;
    position: relative;
    z-index: 2;
  }

  .demos h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #00f0ff;
    font-weight: bold;
    /*text-shadow: 0 0 10px #00f0ff;*/
    font-family: 'Mokoto', sans-serif;
    letter-spacing: 2px; /* Aumenta si quieres más separación */

  }



  .blog {
    background-color: rgba(11, 15, 26, 0.95);
    padding: 80px 0;
    position: relative;
    z-index: 2;
  }

  .blog h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #00f0ff;
    font-weight: bold;
    /*text-shadow: 0 0 10px #00f0ff;*/
    font-family: 'Mokoto', sans-serif;
    letter-spacing: 2px; /* Aumenta si quieres más separación */

  }

  .servicio-card {
    background-color: #121e2d;
    border: 1px solid #00cfff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    color: #cce6ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  }

  .servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  }

  footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    background-color: #0b0f1a;
    color: #888;
    z-index: 2;
    position: relative;
  }
  /*RESPONSIVE MOVILES*/
  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      text-align: center;
      padding: 80px 20px;
    }
  
    .hero-text,
    .hero-img-container {
      width: 100%;
      max-width: 100%;
    }
  
    .hero-text {
      margin-top: 40px;
    }
  
    .hero-text h1 {
      font-size: 1.5rem;
      line-height: 2rem;
      letter-spacing: 1px;
      text-align: center;
      padding: 0 10px;
    }
  
    .hero-img-container {
      display: flex;
      justify-content: center;
      margin-top: 20px;
    }
  
    .hero-img {
      max-width: 200px;
      height: auto;
    }
  
    .btn {
      font-size: 0.9rem;
      padding: 10px 20px;
    }
  }