#hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    flex-direction: column;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.name-3d {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    animation: floatName 6s ease-in-out infinite;
}

.title-float {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: floatName 4s ease-in-out infinite 1s;
}

@keyframes floatName {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: floatIcon 10s linear infinite;
}

.c-sharp {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    background-color: #178600;
    color: white;
}

.php {
    width: 50px;
    height: 50px;
    top: 70%;
    left: 15%;
    background-color: #777BB3;
    color: white;
    animation-delay: 2s;
}

.js {
    width: 55px;
    height: 55px;
    top: 40%;
    left: 80%;
    background-color: #F7DF1E;
    animation-delay: 1s;
}

.java {
    width: 50px;
    height: 50px;
    top: 75%;
    left: 75%;
    background-color: #007396;
    color: white;
    animation-delay: 3s;
}

.mysql {
    width: 65px;
    height: 65px;
    top: 20%;
    left: 70%;
    background-color: #4479A1;
    color: white;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.mouse-trail {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    animation: trailFade 1s ease-out forwards;
}

@keyframes trailFade {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}