
/* Enhanced 3D Text Effects */
.gradient-text {
  text-shadow: 0 0 15px rgba(0, 180, 255, 0.8), 0 0 25px rgba(100, 200, 255, 0.6);
  animation: textFloat 3s ease-in-out infinite, textGradient 5s linear infinite;
  font-weight: 700;
  letter-spacing: 1px;
  transform-style: preserve-3d;
  perspective: 1000px;
  color: #e0f2ff;
}

.section-title {
  position: relative;
  text-shadow: 0 0 20px rgba(150, 220, 255, 0.9), 0 0 40px rgba(80, 160, 255, 0.6);
  animation: titlePulse 3s ease-in-out infinite;
  transform-style: preserve-3d;
  transform: translateZ(10px);
  transition: all 0.5s ease;
  color: #d0f0ff;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--gradient-1);
  transform: scaleX(0.7);
  animation: lineGlow 4s ease-in-out infinite;
}

@keyframes textFloat {
  0%, 100% {
    transform: translateZ(0) translateY(0);
  }
  50% {
    transform: translateZ(30px) translateY(-10px);
  }
}

@keyframes titlePulse {
  0%, 100% {
    text-shadow: 0 0 10px rgba(80, 150, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(100, 180, 255, 0.6), 0 0 20px rgba(0, 100, 255, 0.3);
  }
}

@keyframes lineGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(0, 180, 255, 0.4); /* Reduced glow intensity */
    transform: scaleX(0.7);
  }
  50% {
    box-shadow: 0 0 10px rgba(0, 220, 255, 0.6); /* Reduced glow intensity */
    transform: scaleX(1);
  }
}

/* 3D Card effects */
.skill-card, .education-card, .project-card {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skill-card:hover, .education-card:hover, .project-card:hover {
  transform: translateZ(50px) rotateX(10deg) rotateY(10deg);
}

.skill-icon {
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 20px;
  animation: iconFloat 3s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateZ(0) rotate(0deg);
  }
  50% {
    transform: translateZ(30px) rotate(10deg);
  }
}

/* Glowing light effects */
[data-theme="dark"] .section-title {
  text-shadow: 0 0 15px rgba(0, 180, 255, 0.8), 0 0 30px rgba(0, 140, 255, 0.4);
}

.hero-content {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -5px;
  background: var(--gradient-1);
  border-radius: 50%;
  z-index: -1;
  animation: imagePulse 5s ease-in-out infinite;
}

.hero-image img {
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  animation: imageFloat 5s ease-in-out infinite;
}

.hero-image:hover img {
  transform: translateZ(30px);
}

@keyframes imagePulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 180, 255, 0.4); /* Reduced glow intensity */
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 220, 255, 0.6); /* Reduced glow intensity */
  }
}

@keyframes imageFloat {
  0%, 100% {
    transform: translateZ(0);
  }
  50% {
    transform: translateZ(20px);
  }
}
