/* Custom styles that extend beyond Tailwind CDN */

/* Smooth scroll offset for fixed navbar */
html {
  scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0f1e;
}
::-webkit-scrollbar-thumb {
  background: #1a2d56;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #14b88a;
}

/* Selection color */
::selection {
  background: rgba(20, 184, 138, 0.3);
  color: #0a0f1e;
}

/* Navbar height fix */
.navbar {
  height: 72px;
}

/* Ensure hero image doesn't cause layout shift */
#hero img {
  will-change: transform;
}

/* Service card icon container */
.service-card > div:first-child {
  transition: transform 0.3s ease;
}
.service-card:hover > div:first-child {
  transform: scale(1.05);
}

/* Subtle pattern for sections */
.bg-pattern-dots {
  background-image: radial-gradient(circle, rgba(20, 184, 138, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #14b88a;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  .navbar, .stat-card { display: none; }
  body { color: #000; background: #fff; }
}
