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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
/* Dark mode styles */
.dark {
  background-color: #111827;
  color: #f3f4f6;
}

.dark .bg-white {
  background-color: #1f2937 !important;
}

.dark .text-gray-800 {
  color: #e5e7eb !important;
}

.dark .text-gray-600 {
  color: #9ca3af !important;
}

.dark .bg-gray-50 {
  background-color: #1f2937 !important;
}

/* Section spacing */
section {
    scroll-margin-top: 100px;
}

/* Chatbot animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.3s ease-out forwards;
}
/* Button hover effects */
.btn-hover-effect {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Portfolio item hover */
.portfolio-item {
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

/* Input focus styles */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}