        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
            color: #f1f1f1;
            scroll-behavior: smooth;
            animation: fadeIn 1.2s ease-in-out;
            transition: background 0.5s ease, color 0.5s ease;
        }

        body.light-mode {
            background: linear-gradient(135deg, #f7f7f7, #ffffff);
            color: #111;
        }


        .navbar {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(8px);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 18px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid #222;
            animation: slideDown 1s ease;
            transition: background 0.5s ease;
        }

        body.light-mode .navbar {
            background: rgba(255, 255, 255, 0.8);
            border-bottom: 1px solid #ccc;
        }

        .navbar a {
            color: #f1f1f1;
            text-decoration: none;
            margin: 0 25px;
            font-size: 18px;
            letter-spacing: 0.6px;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        body.light-mode .navbar a {
            color: #111;
        }

        .navbar a:hover {
            color: #00b4d8;
            transform: scale(1.1);
        }


        .theme-toggle {
            position: fixed;
            top: 4px;
            right: 20px;
            background: #00b4d8;
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            cursor: pointer;
            font-size: 20px;
            box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
            transition: all 0.3s ease;
            z-index: 1200;
        }

        .theme-toggle:hover {
            transform: scale(1.1) rotate(10deg);
            box-shadow: 0 0 25px rgba(0, 180, 216, 0.8);
        }


        .section {
            max-width: 1000px;
            margin: 90px auto;
            padding: 70px 30px;
            background: rgba(25, 25, 25, 0.85);
            border-radius: 12px;
            border: 1px solid #333;
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
            opacity: 0;
            transform: translateY(40px);
            animation: fadeUp 1.2s ease forwards;
        }

        body.light-mode .section {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #ddd;
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
        }

        .section:nth-of-type(1) {
            animation-delay: 0.3s;
        }

        .section:nth-of-type(2) {
            animation-delay: 0.6s;
        }

        .section:nth-of-type(3) {
            animation-delay: 0.9s;
        }

        h2 {
            color: #00b4d8;
            text-align: center;
            font-weight: 600;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }

        h2::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 50%;
            width: 0;
            height: 3px;
            background: #00b4d8;
            transition: all 0.4s ease;
            transform: translateX(-50%);
        }

        .section:hover h2::after {
            width: 70%;
        }

        .foto-container {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }

        .foto-perfil {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #00b4d8;
            box-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
            animation: float 4s ease-in-out infinite;
        }

        p {
            line-height: 1.7;
            text-align: center;
            color: #ccc;
            max-width: 700px;
            margin: 0 auto 20px;
            animation: fadeText 2s ease;
        }

        body.light-mode p {
            color: #333;
        }

        .leng-img {
            display: block;
            max-width: 500px;
            width: 90%;
            margin: 40px auto 0;
            border-radius: 10px;
            box-shadow: 0 8px 30px rgba(0, 180, 216, 0.3);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            animation: float 3s ease-in-out infinite;
        }

        .leng-img:hover {
            transform: scale(1.07) rotate(1deg);
            box-shadow: 0 8px 40px rgba(0, 180, 216, 0.6);
        }

        a[href*="github.com"] {
            color: #00b4d8;
            font-weight: 600;
            text-decoration: none;
            position: relative;
            transition: color 0.3s ease;
        }

        a[href*="github.com"]::after {
            content: "💻";
            position: absolute;
            right: -25px;
            opacity: 0;
            transform: translateY(-3px);
            transition: opacity 0.4s ease, right 0.4s ease;
        }

        a[href*="github.com"]:hover {
            color: #0096c7;
        }

        a[href*="github.com"]:hover::after {
            opacity: 1;
            right: -20px;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeText {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        /* PARTICULAS */
        #particles-js {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }


        .personas-container {
            display: flex;
            gap: 40px;
            justify-content: center;
            align-items: stretch;
            flex-wrap: wrap;
            margin-top: 40px;
        }


        .persona {
            flex: 1 1 400px;
            max-width: 450px;
            background: rgba(0, 0, 0, 0.3);
            padding: 30px 20px;
            border-radius: 12px;
            border: 1px solid #333;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        body.light-mode .persona {
            background: rgba(255, 255, 255, 0.6);
            border: 1px solid #ddd;
        }

        .persona:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
        }

        .persona h3 {
            text-align: center;
            margin-top: 10px;
            color: #00b4d8;
        }


        @media (max-width: 768px) {
            .personas-container {
                flex-direction: column;
                align-items: center;
            }
        }

        .btn-proyectos {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,180,216,0.4);
}

.btn-proyectos:hover {
    transform: scale(1.07);
    box-shadow: 0 0 25px rgba(0,180,216,0.8);
}