/* Custom Animations & Utilities */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 120ms; }
.stagger-2 { transition-delay: 240ms; }
.stagger-3 { transition-delay: 360ms; }
.stagger-4 { transition-delay: 480ms; }
.stagger-5 { transition-delay: 600ms; }

/* Navigation Link Underline Effect */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #F25C05;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Operations Pulse Animation */
@keyframes subtle-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(242, 92, 5, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(242, 92, 5, 0);
  }
}

.pulse-icon {
  animation: subtle-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth form select appearance */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Prevent horizontal overflow on mobile */
html,
body {
  overflow-x: hidden;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #F25C05;
  outline-offset: 2px;
}