/* Animated Background Styles */
.skills-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 25%;
    animation-delay: 6s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    animation-delay: 8s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 70%;
    animation-delay: 10s;
}

.shape-7 {
    width: 110px;
    height: 110px;
    top: 30%;
    left: 30%;
    animation-delay: 12s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-20px) rotate(90deg) scale(1.1); 
        opacity: 0.15;
    }
    50% { 
        transform: translateY(-40px) rotate(180deg) scale(1.2); 
        opacity: 0.2;
    }
    75% { 
        transform: translateY(-20px) rotate(270deg) scale(1.1); 
        opacity: 0.15;
    }
}

/* Additional particles for more dynamic effect */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 20s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape {
        opacity: 0.05;
    }
    
    .shape-1 { width: 60px; height: 60px; }
    .shape-2 { width: 80px; height: 80px; }
    .shape-3 { width: 40px; height: 40px; }
    .shape-4 { width: 70px; height: 70px; }
    .shape-5 { width: 100px; height: 100px; }
    .shape-6 { width: 60px; height: 60px; }
    .shape-7 { width: 80px; height: 80px; }
}

@media (max-width: 480px) {
    .shape {
        opacity: 0.03;
    }
    
    .shape-1 { width: 40px; height: 40px; }
    .shape-2 { width: 60px; height: 60px; }
    .shape-3 { width: 30px; height: 30px; }
    .shape-4 { width: 50px; height: 50px; }
    .shape-5 { width: 70px; height: 70px; }
    .shape-6 { width: 45px; height: 45px; }
    .shape-7 { width: 55px; height: 55px; }
}