body {
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  a, p, h1, h2, h3, h4, h5, h6 {
    transition: color 0.3s ease;
  }
  
  .skill-card, .project-card {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
/* Text Animation */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay for each element */
.hero-content .animate-text:nth-child(1) { animation-delay: 0.1s; }
.hero-content .animate-text:nth-child(2) { animation-delay: 0.3s; }
.hero-content .animate-text:nth-child(3) { animation-delay: 0.5s; }
.hero-content .animate-text:nth-child(4) { animation-delay: 0.7s; }
.hero-content .animate-text:nth-child(5) { animation-delay: 0.9s; }

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}

/* Scroll Reveal Animation */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}