/* Base */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Glass card for hero floating stats */
.glass-card-hero {
  background: rgba(250, 249, 246, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 249, 246, 0.1);
  border-radius: 12px;
}

/* Navbar transitions */
#navbar.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(5, 150, 105, 0.08);
}

#navbar.scrolled .nav-text { color: #0c4a6e; }

/* Mobile menu */
.mobile-link {
  position: relative;
}
.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #059669;
  transition: width 0.3s ease;
}
.mobile-link:hover::after { width: 100%; }

/* Hamburger animation */
#menu-btn.active #bar1 {
  transform: translateY(5px) rotate(45deg);
}
#menu-btn.active #bar2 {
  opacity: 0;
}
#menu-btn.active #bar3 {
  transform: translateY(-5px) rotate(-45deg);
}

/* Subtle pattern for sections */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

/* Custom selection color */
::selection {
  background: rgba(5, 150, 105, 0.15);
  color: #064e3b;
}

/* Smooth focus styles */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

/* Image loading placeholder */
img {
  background: linear-gradient(135deg, #e8e6dd 0%, #f5f4ef 100%);
}
