/* About Section Modern Effects */

/* Animated background gradient for About section */
#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.03) 50%, transparent 70%);
    z-index: -1;
    opacity: 0.7;
    animation: rotate-gradient 15s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced 3D card effect */
#about ul li {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

#about ul li:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
}

.dark #about ul li:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animated profile image */
#about .profile-image-container {
    position: relative;
    z-index: 1;
}

#about .profile-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4CAF50, #2196F3, #9C27B0, #00BCD4);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradient-shift 8s ease infinite;
    opacity: 0.7;
    filter: blur(15px);
}

/* Tools section animations */
#about .tools-container {
    position: relative;
    overflow: hidden;
}

#about .tools-container li {
    transition: all 0.3s ease;
    position: relative;
}

#about .tools-container li:hover {
    z-index: 2;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Shine effect on hover */
#about .tools-container li::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    transition: all 0.5s ease;
    opacity: 0;
}

#about .tools-container li:hover::after {
    animation: shine 1s forwards;
}

@keyframes shine {
    0% {
        opacity: 0;
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        opacity: 1;
        transform: translateX(100%) rotate(30deg);
    }
}

/* Text highlight animation */
@keyframes highlight {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.highlight-text {
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: highlight 3s ease-in-out infinite;
    padding: 0 5px;
    border-radius: 3px;
}

.dark .highlight-text {
    background: linear-gradient(90deg, transparent 0%, rgba(147, 51, 234, 0.2) 50%, transparent 100%);
    background-size: 200% 100%;
}