  body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
      color: #ffffff;
      scroll-behavior: smooth;
      overflow-x: hidden;
  }

  .container,
  .card,
  .section {
      max-width: 100%;
      overflow-x: hidden;
  }

  nav {
      background: linear-gradient(to right, #0f1e2e, #0c2d3d);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
      border-bottom: 1px solid rgba(0, 255, 242, 0.2);
      transition: background 0.3s, box-shadow 0.3s;
  }

  .navbar-nav .nav-link {
      font-size: 1rem;
      color: #ccc;
      padding: 0.5rem 1rem;
  }

  .nav-link:hover {
      color: #00fff2;
      background: rgba(0, 255, 242, 0.1);
      border-radius: 5px;
  }

  .navbar-brand {
      font-size: 1.3rem;
      font-weight: 600;
  }

  .brand-text {
      font-weight: 600;
      font-size: 1.3rem;
      background: linear-gradient(to right, #ffffff, #00fff2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  }


  .hero {
      background: url('https://www.transparenttextures.com/patterns/stardust.png'), radial-gradient(circle at top left, #00fff2 0%, #0f2027 100%);
      padding: 100px 20px;
      color: #fff;
  }

  .hero-img {
      width: 200px;
      border-radius: 50%;
      border: 4px solid #00fff2;
      box-shadow: 0 0 20px #00fff2;
  }

  .hero h1 {
      font-size: 3rem;
      font-weight: bold;
      background: linear-gradient(to right, #ffffff, #00fff2);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  }

  .hero p {
      font-size: 1.2rem;
      color: #ccc;
  }

  .hero-icons a {
      margin: 0 10px;
      font-size: 1.5rem;
      color: #00fff2;
      border: 1px solid #00fff2;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: 0.3s;
  }

  .hero-icons a:hover {
      background: #00fff2;
      color: #000;
  }

  .btn-glow {
      background-color: #00fff2;
      color: #000;
      border: none;
      padding: 10px 25px;
      border-radius: 25px;
      font-weight: 600;
      box-shadow: 0 0 10px #00fff2, 0 0 30px #00fff2;
      transition: 0.3s;
      margin: 5px;
  }

  .btn-glow:hover {
      transform: scale(1.05);
      box-shadow: 0 0 20px #00fff2, 0 0 40px #00fff2;
  }

  .section {
      padding: 80px 20px;
  }

  .section h2 {
      font-size: 2.2rem;
      border-left: 5px solid #00fff2;
      padding-left: 15px;
      margin-bottom: 40px;
  }

  .tech-icon {
      font-size: 48px;
      color: #00fff2;
      margin: 15px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .tech-icon:hover {
      animation: bounce 0.6s;
      box-shadow: 0 8px 20px rgba(0, 255, 242, 0.3);
  }

  @keyframes bounce {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-8px);
      }
  }

  .timeline {
      border-left: 3px solid #00fff2;
      padding-left: 20px;
  }

  .timeline .item {
      position: relative;
      margin-bottom: 30px;
  }

  .timeline .item::before {
      content: '';
      width: 12px;
      height: 12px;
      background: #00fff2;
      border-radius: 50%;
      position: absolute;
      left: -28px;
      top: 4px;
  }

  .skills .bar {
      position: relative;
      background: #222;
      border-radius: 30px;
      margin-bottom: 15px;
      height: 24px;
      overflow: hidden;
  }

  .skills .bar-fill {
      --bar-color: #00d2c0;
      position: relative;
      height: 100%;
      width: 0;
      background: var(--bar-color);
      border-radius: 30px;
      animation: fill 2s forwards;
      display: flex;
      align-items: center;
      padding-left: 12px;
      font-size: 0.9rem;
      font-weight: 500;
      color: #000;
  }

  .skills .bar-fill::before {
      content: attr(data-label);
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 0.9rem;
      font-weight: 500;
      color: #fff;
  }

  /* Delay efecto progresivo */
  .skills .bar:nth-child(1) .bar-fill {
      animation-delay: 0s;
  }

  .skills .bar:nth-child(2) .bar-fill {
      animation-delay: 0.1s;
  }

  .skills .bar:nth-child(3) .bar-fill {
      animation-delay: 0.2s;
  }

  .skills .bar:nth-child(4) .bar-fill {
      animation-delay: 0.3s;
  }

  .skills .bar:nth-child(5) .bar-fill {
      animation-delay: 0.4s;
  }

  .skills .bar:nth-child(6) .bar-fill {
      animation-delay: 0.5s;
  }

  .skills .bar:nth-child(7) .bar-fill {
      animation-delay: 0.6s;
  }

  .skills .bar:nth-child(8) .bar-fill {
      animation-delay: 0.7s;
  }

  .skills .bar:nth-child(9) .bar-fill {
      animation-delay: 0.8s;
  }

  @keyframes fill {
      100% {
          width: var(--value);
      }
  }


  .project-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid #00fff244;
      border-radius: 15px;
      padding: 20px;
      transition: transform 0.3s ease;
  }

  .project-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 0 20px #00fff266;
  }

  .card p,
  .card li,
  .card div,
  .card section {
      color: #ffffff !important;
  }
  
    /* --- ESTILO FORMULARIO FUTURISTA BLINDADO --- */

  /* 1. ESTILO BASE: Recuperamos el degradado y el desenfoque */
  html body #contacto .form-control {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 255, 242, 0.02)) !important;
    border: 1px solid rgba(0, 255, 242, 0.3) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.3s ease-in-out !important;
    border-radius: 8px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  /* 2. ETIQUETAS (Labels) */
  html body #contacto .form-label {
    color: rgba(0, 255, 242, 0.9) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(0, 255, 242, 0.3);
  }

  /* 3. ANIMACIÓN NEÓN (Pulse) */
  @keyframes neon-glow-pulse {
    0% { border-color: rgba(0, 255, 242, 0.4); box-shadow: 0 0 5px rgba(0, 255, 242, 0.2); }
    50% { border-color: rgba(0, 255, 242, 1); box-shadow: 0 0 20px rgba(0, 255, 242, 0.6); }
    100% { border-color: rgba(0, 255, 242, 0.4); box-shadow: 0 0 5px rgba(0, 255, 242, 0.2); }
  }

  /* 4. ESTADO FOCUS: Aquí activamos la animación y el brillo */
  html body #contacto .form-control:focus {
    background: rgba(0, 255, 242, 0.08) !important;
    animation: neon-glow-pulse 2s infinite !important;
    outline: none !important;
    color: #ffffff !important;
  }

  /* 5. FIX AUTOCOMPLETADO Y VALIDACIÓN: Evita el blanco/gris plano */
  html body #contacto .form-control:-webkit-autofill,
  html body #contacto .form-control:-webkit-autofill:hover, 
  html body #contacto .form-control:-webkit-autofill:focus,
  html body #contacto .form-control:valid {
    -webkit-text-fill-color: #ffffff !important;
    /* Usamos el color de tu fondo oscuro para que no se vea el parche gris */
    -webkit-box-shadow: 0 0 0px 1000px #0f2027 inset !important; 
    transition: background-color 5000s ease-in-out 0s;
  }

  /* Estilo para Firefox */
  html body #contacto .form-control:autofill {
    background-color: #0f2027 !important;
    color: white !important;
  }
  
  #contacto .form-check-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 255, 242, 0.4) !important;
    cursor: pointer;
}

#contacto .form-check-input:checked {
    background-color: #00fff2 !important;
    border-color: #00fff2 !important;
    box-shadow: 0 0 10px rgba(0, 255, 242, 0.5) !important;
}

.field-hp {
    display: none !important; /* El bot lo leerá en el DOM pero no se verá */
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

/* Resaltar los textos de las casillas legales */
#contacto .form-check-label {
    color: #ffffff !important; /* Blanco puro para legibilidad */
    font-size: 0.85rem;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 255, 242, 0.2);
}

/* Hacer que el cuadradito del checkbox sea visible */
#contacto .form-check-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(0, 255, 242, 0.5) !important;
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.25em;
}

/* Efecto neón cuando están marcados */
#contacto .form-check-input:checked {
    background-color: #00fff2 !important;
    border-color: #00fff2 !important;
    box-shadow: 0 0 10px rgba(0, 255, 242, 0.6) !important;
}

/* Suaviza el bloque negro del captcha */
.g-recaptcha {
    filter: brightness(0.9) hue-rotate(10deg) saturate(0.8);
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border-radius: 4px;
    overflow: hidden; /* Limpia los bordes */
}

.g-recaptcha:hover {
    opacity: 1;
    filter: brightness(1.1) hue-rotate(10deg);
}

.g-recaptcha iframe {
    border: 1px solid rgba(0, 255, 242, 0.2) !important;
    border-radius: 4px !important;
    filter: contrast(0.8) sepia(100%) hue-rotate(140deg) brightness(0.9);
}
/* Forzamos el color blanco en TODOS los estados posibles para evitar el azul de móvil */
#contacto a.link-discreto, 
#contacto a.link-discreto:visited, 
#contacto a.link-discreto:hover, 
#contacto a.link-discreto:active, 
#contacto a.link-discreto:focus {
    color: #ffffff !important; /* Blanco exacto como tus labels */
    text-decoration: underline !important;
    text-decoration-color: rgba(0, 255, 242, 0.4) !important;
    -webkit-text-fill-color: #ffffff !important; /* Truco para Safari móvil */
}

/* Solo cambia al cian cuando el usuario lo pulsa o pasa el ratón */
#contacto a.link-discreto:hover, 
#contacto a.link-discreto:active {
    color: #00fff2 !important;
    -webkit-text-fill-color: #00fff2 !important;
    text-decoration-color: #00fff2 !important;
}


 /* Contenedor del footer */
footer {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(11, 17, 20, 0.9)) !important;
}

/* Enlaces legales del footer */
.footer-link {
    color: #00fff2 !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.7; /* Un poco más apagado por defecto */
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 255, 242, 0.8), 0 0 20px rgba(0, 255, 242, 0.4);
    border-bottom: 1px solid #00fff2;
}

/* Estilo para el texto de copyright */
.copyright-text {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem;
    margin-top: 15px;
}

footer a {
    color: #00fff2;
    text-decoration: none;
    margin: 0 15px; /* Espaciado lateral */
    transition: 0.3s;
}

footer a:hover {
    text-shadow: 0 0 10px #00fff2; /* Brillo al pasar el ratón */
    color: #fff;
}





