.nav-link {
  color: white;
  font-weight: 500;
  position: relative;
  transition: all 0.3s;
}
.nav-link:hover {
  color: #10b981;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #10b981;
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  transition: 0.2s;
  color: #1f2937;
}
.dropdown-item:hover {
  background: #f3f4f6;
}

.mobile-link {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #1f2937;
  transition: all 0.2s;
}
.mobile-link:hover {
  color: #10b981;
}

.mobile-dropdown {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-dropdown-menu a:hover {
  color: #10b981;
}

.animate-spin-slow {
  animation: spin 3s linear infinite;
}
.animate-bounce {
  animation: bounce 1s infinite;
}
.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.animate-gradient {
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fadeIn 1s forwards;
}
.animate-fade-in.delay-200 {
  animation-delay: 0.2s;
}
.animate-fade-in.delay-400 {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.animate-bounce {
  animation: bounce 1s infinite;
}

@media (max-width: 640px) {
  h1 {
    font-size: 3rem !important;
  }
  p {
    font-size: 1rem !important;
  }
  a {
    font-size: 0.9rem !important;
    padding: 0.8rem 1.5rem;
  }
}

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

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in.delay-200 {
  animation-delay: 0.2s;
}
.animate-fade-in.delay-400 {
  animation-delay: 0.4s;
}
.animate-fade-in.delay-600 {
  animation-delay: 0.6s;
}

@media (max-width: 640px) {
  h2 {
    font-size: 2rem !important;
  }
}

.slide {
  transition: opacity 1s ease-in-out;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#projectSlider {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

#projectSlider:active {
  cursor: grabbing;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.4s ease forwards;
}

textarea {
  resize: none;
}