/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Selection color */
::selection {
  background-color: #23a67b;
  color: #0f2c3f;
}

/* Focus visible styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #23a67b;
  outline-offset: 2px;
}

/* Custom select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Subtle card border on hover */
.service-card {
  border: 1px solid transparent;
}
.service-card:hover {
  border-color: rgba(35, 166, 123, 0.2);
}

/* Navbar glass effect when scrolled */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(8, 25, 38, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Print styles */
@media print {
  nav, #back-to-top, .float-1, .float-2, .float-3, .float-4 { display: none !important; }
  body { background: white; }
  section { page-break-inside: avoid; }
}
