/* Custom styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

/* Mobile menu overlay */
.mobile-menu-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  min-width: 200px;
  z-index: 60;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open {
  display: block;
}

.nav-dropdown-menu a:first-child {
  border-radius: 0.375rem 0.375rem 0 0;
}

.nav-dropdown-menu a:last-child {
  border-radius: 0 0 0.375rem 0.375rem;
}

/* Sub-dropdown (flyout right) */
.sub-dropdown-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  min-width: 180px;
  z-index: 70;
  padding: 0.5rem 0;
}

.sub-dropdown:hover .sub-dropdown-menu {
  display: block;
}

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

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

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

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

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Breadcrumbs */
.breadcrumb-nav {
  background: #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
  position: relative;
  z-index: 40;
}
.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.breadcrumb-nav li {
  display: flex;
  align-items: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.breadcrumb-nav li a {
  color: #4b5563;
  text-decoration: none;
}
.breadcrumb-nav li a:hover {
  color: #1f2937;
  text-decoration: underline;
}
.breadcrumb-nav li:last-child {
  color: #1f2937;
  font-weight: 500;
}
.breadcrumb-sep {
  margin: 0 6px;
  color: #9ca3af;
  user-select: none;
}
#site-header{padding-top:64px}
