/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Base Body Styles */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.stat-bar {
  border-radius: 9999px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}

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

/* Mobile Menu Transition */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s;
  opacity: 0;
}

#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* Hamburger Animation */
#ham-line-1,
#ham-line-2,
#ham-line-3 {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.menu-open #ham-line-1 {
  transform: translateY(7px) rotate(45deg);
}

.menu-open #ham-line-2 {
  opacity: 0;
}

.menu-open #ham-line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Animated Counter */
.counter {
  font-variant-numeric: tabular-nums;
}
