* {
  font-family: "Inter", sans-serif;
}

.font-mono {
  font-family: "JetBrains Mono", monospace;
}

/* Lightened background gradient for more professional look */
.gradient-bg {
  background: linear-gradient(
    135deg,
    #f8fafc 0%,
    #e2e8f0 25%,
    #cbd5e1 50%,
    #94a3b8 75%,
    #64748b 100%
  );
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Updated text glow for better contrast on light background */
.text-glow {
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

.floating-delayed {
  animation: floating 6s ease-in-out infinite;
  animation-delay: -3s;
}

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

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.skill-bar {
  position: relative;
  overflow: hidden;
}

.skill-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Updated typing animation color for better visibility */
.typing-animation {
  border-right: 2px solid #3b82f6;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    border-color: #3b82f6;
  }
  51%,
  100% {
    border-color: transparent;
  }
}

.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
