         /* ============================================
           ESTILOS GLOBALES Y RESET
           ============================================ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #0a0a0a;
            color: #fff;
            overflow-x: hidden;
        }

        /* ============================================
           SISTEMA DE PARTÍCULAS ANIMADAS DE FONDO
           Crea un efecto visual dinámico con puntos
           que flotan de abajo hacia arriba
           ============================================ */
        .particulas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none; /* No interfiere con clicks */
        }

        .particula {
            position: absolute;
            width: 2px;
            height: 2px;
            background: rgba(100, 200, 255, 0.5);
            border-radius: 50%;
            animation: flotar linear infinite;
        }

        @keyframes flotar {
            0% {
                transform: translateY(100vh) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100vh) translateX(50px);
                opacity: 0;
            }
        }

        /* ============================================
           BARRA DE NAVEGACIÓN FIJA
           Navbar con efecto glassmorphism y animaciones
           en los enlaces al hacer hover
           ============================================ */
        .navegacion {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            border-bottom: 1px solid rgba(100, 200, 255, 0.1);
        }

        .logotipo {
            font-size: 1.8rem;
            font-weight: bold;
            background: linear-gradient(135deg, #4169E1, #40E0D0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 2px;
        }

        .enlaces-nav {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .enlaces-nav a {
            color: #fff;
            text-decoration: none;
            font-size: 1rem;
            position: relative;
            padding: 0.5rem 0;
            transition: color 0.3s;
        }

        /* Efecto de subrayado animado en hover */
        .enlaces-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #4169E1, #40E0D0);
            transition: width 0.3s;
        }

        .enlaces-nav a:hover::after {
            width: 100%;
        }

        /* ============================================
           SECCIÓN HERO (PÁGINA PRINCIPAL)
           Presenta al diseñador con foto, nombre y
           llamadas a la acción principales
           ============================================ */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 0 5%;
            margin-top: 70px;
        }

        .contenido-hero {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            gap: 6rem;
        }

        /* Contenedor de imagen circular con borde animado */
        .imagen-hero {
            position: relative;
            width: 450px;
            height: 450px;
            flex-shrink: 0;
        }

        .envoltorio-imagen {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
            position: relative;
            border: 3px solid transparent;
            background: linear-gradient(135deg, #4169E1, #40E0D0);
            padding: 3px;
            animation: rotar 10s linear infinite;
        }

        /* Rotación continua del borde de gradiente */
        @keyframes rotar {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .imagen-interior {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
            background: url("https://media.istockphoto.com/id/1410017441/es/vector/dise%C3%B1o-de-pared-de-piedra-para-patr%C3%B3n-y-fondo-ilustraci%C3%B3n-vectorial.jpg?s=612x612&w=0&k=20&c=fXLdBP6128aHNFjrLXX_Mh-BQ3JCvlqH161-d4nVFOw=")
        }

        .imagen-interior img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Contenido textual del hero */
        .texto-hero {
            flex: 1;
            z-index: 2;
        }

        .etiqueta-hero {
            display: inline-block;
            padding: 0.5rem 1.5rem;
            background: rgba(65, 105, 225, 0.1);
            border: 1px solid rgba(65, 105, 225, 0.3);
            border-radius: 25px;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            letter-spacing: 2px;
            animation: aparecerDesvanecido 0.8s ease-out;
        }

        .titulo-hero {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            animation: aparecerDesvanecido 1s ease-out 0.2s both;
        }

        .nombre-hero {
            font-size: 5rem;
            font-weight: bold;
            background: linear-gradient(135deg, #4169E1, #40E0D0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 2rem;
            animation: aparecerDesvanecido 1.2s ease-out 0.4s both;
        }

        .botones-hero {
            display: flex;
            gap: 1.5rem;
            animation: aparecerDesvanecido 1.4s ease-out 0.6s both;
        }

        /* Botones estilizados con efectos hover */
        .boton {
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
            font-weight: 600;
        }

        .boton-primario {
            background: linear-gradient(135deg, #4169E1, #40E0D0);
            color: #fff;
            box-shadow: 0 10px 30px rgba(65, 105, 225, 0.3);
        }

        .boton-primario:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(65, 105, 225, 0.5);
        }

        .boton-secundario {
            background: transparent;
            color: #40E0D0;
            border: 2px solid #40E0D0;
        }

        .boton-secundario:hover {
            background: rgba(64, 224, 208, 0.1);
            transform: translateY(-3px);
        }

        /* Animación de aparición con desvanecimiento */
        @keyframes aparecerDesvanecido {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ============================================
           SECCIÓN SOBRE MÍ
           Muestra habilidades y especialidades en
           tarjetas interactivas con iconos
           ============================================ */
        .sobre-mi {
            padding: 100px 5%;
            background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
        }

        .titulo-seccion {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 3rem;
            background: linear-gradient(135deg, #4169E1, #40E0D0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .contenido-sobre-mi {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;

        }

        /* Tarjetas de habilidades con efecto glassmorphism */
        .tarjeta-habilidad {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.3s;
            backdrop-filter: blur(10px);
        }

        .tarjeta-habilidad:hover {
            transform: translateY(-10px);
            border-color: #40E0D0;
            box-shadow: 0 20px 40px rgba(64, 224, 208, 0.2);
        }

        .icono-habilidad {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            

            
        }
        .icono-habilidad img{
            width:30%;
            height: auto; 

        }

        .tarjeta-habilidad h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #40E0D0;
            margin-top: 2rem;
            
        }

        /* ============================================
           SECCIÓN PROYECTOS
           Grid adaptable que muestra el portafolio
           de trabajos con efectos visuales atractivos
           ============================================ */
        .proyectos {
            padding: 100px 5%;
            background: #0a0a0a;
        }

        .grilla-proyectos {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        /* Tarjeta individual de proyecto */
        .tarjeta-proyecto {
            background: linear-gradient(145deg, #1a1a2e, #16213e);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .tarjeta-proyecto:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 50px rgba(64, 224, 208, 0.3);
        }

        /* Imagen/icono del proyecto con efecto de brillo */
        .imagen-proyecto {
            width: 100%;
            height: 250px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }

        /* Efecto de brillo que atraviesa al hacer hover */
        .imagen-proyecto::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            transform: translateX(-100%);
            transition: transform 0.6s;
        }

        .tarjeta-proyecto:hover .imagen-proyecto::before {
            transform: translateX(100%);
        }

        /* Información del proyecto */
        .info-proyecto {
            padding: 2rem;
        }

        .info-proyecto a {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: #40E0D0;
            text-decoration: none;
        }

        .etiquetas-proyecto {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }

        /* Etiquetas de tecnologías usadas */
        .etiqueta {
            background: rgba(64, 224, 208, 0.1);
            color: #40E0D0;
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            border: 1px solid rgba(64, 224, 208, 0.3);
        }

        /* ============================================
           SECCIÓN CONTACTO
           Información de contacto con iconos y enlaces
           a redes sociales y medios de comunicación
           ============================================ */
        .contacto {
            padding: 100px 5%;
            background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
        }

        .contenido-contacto {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }

        .info-contacto {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 3rem;
            flex-wrap: wrap;
        }

        /* Tarjetas de métodos de contacto */
        .item-contacto {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            text-decoration: none; /* Quita el subrayado del enlace */
            color: inherit; /* Hereda el color del texto padre */
        }

        .item-contacto:hover {
            transform: translateY(-5px);
            border-color: #40E0D0;
        }

        .icono-contacto {
            font-size: 2.5rem;
            color: #40E0D0;
        }
        .icono-contacto img {
            width: 70px;
        }

        /* ============================================
           FOOTER
           Pie de página con información de copyright
           ============================================ */
        .pie-pagina {
            background: #0a0a0a;
            padding: 2rem;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* ============================================
           RESPONSIVE DESIGN
           Adaptación para dispositivos móviles y tablets
           ============================================ */
        @media (max-width: 968px) {
            .contenido-hero {
                flex-direction: column;
                text-align: center;
                gap: 3rem;
            }

            .imagen-hero {
                width: 350px;
                height: 350px;
            }

            .titulo-hero {
                font-size: 2.5rem;
            }

            .nombre-hero {
                font-size: 3.5rem;
            }

            .botones-hero {
                justify-content: center;
            }
        }
        .whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-flotante:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-flotante img {
    width: 35px;
    height: 35px;
}
