/* Smooth scrolling for internal links */
html {
  scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Optional: Add scroll padding for fixed headers */
html {
  scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px; /* Smaller padding for mobile */
  }
}

/* Smooth transitions for mobile menu */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* Language dropdown animations */
#lang-dropdown {
  transition: all 0.2s ease-in-out;
  transform: translateY(-10px);
  opacity: 0;
}

#lang-dropdown:not(.hidden) {
  transform: translateY(0);
  opacity: 1;
}

/* Rotate animation for dropdown arrow */
.rotate-180 {
  transform: rotate(180deg);
}

/* Mobile menu button hover effect */
#mobile-menu-btn:hover {
  background-color: #f3f4f6;
}

/* Language dropdown button hover effect */
#lang-dropdown-btn:hover {
  background-color: #f9fafb;
}

/* Mobile menu link hover effects */
#mobile-menu a:hover {
  background-color: #f3f4f6;
  border-radius: 0.375rem;
}
