/* ==========================================================================
   QUORIT — Quorit Solutions Stylesheet (quorit-solutions.css)
   Colors: Deep Navy (#102A43), Clinical Teal (#167C80), Soft Teal (#DCEFED),
           Medical Green (#5F8F63), Warm Off White (#F7F8F6), Charcoal (#273444),
           Gold Accent (#B9965B)
   ========================================================================== */

/* Custom Borders & Elevation */
.custom-border {
  border: 1px solid rgba(16, 42, 67, 0.08);
}

.custom-border-teal {
  border: 1px solid rgba(22, 124, 128, 0.22);
}

.custom-border-gold {
  border: 1px solid rgba(185, 150, 91, 0.3);
}

.elevation-soft {
  box-shadow: 0 4px 20px -4px rgba(0, 21, 42, 0.05), 0 2px 6px -1px rgba(0, 21, 42, 0.02);
}

.elevation-hover {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.elevation-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 21, 42, 0.09), 0 6px 12px -2px rgba(0, 21, 42, 0.04);
  border-color: rgba(22, 124, 128, 0.35);
}

/* Category Sticky Sub-Navigation */
#solutions-category-nav {
  transition: all 0.3s ease;
}

.cat-nav-btn.active {
  background-color: #102A43 !important;
  color: #ffffff !important;
  border-color: #167C80 !important;
  box-shadow: 0 4px 12px -2px rgba(16, 42, 67, 0.2);
}

.cat-nav-btn.active .cat-dot {
  background-color: #9AF1F5 !important;
}

/* Scroll Reveal */
.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Subtle Animated Flow Lines */
@keyframes dashFlow {
  0% { stroke-dashoffset: 140; }
  100% { stroke-dashoffset: 0; }
}

.path-animated-line {
  stroke-dasharray: 8, 6;
  animation: dashFlow 14s linear infinite;
}

/* Scrolled Header */
header.header-scrolled {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(0, 21, 42, 0.06);
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

/* Mobile Drawer */
#mobile-drawer.drawer-closed {
  transform: translateX(100%);
  pointer-events: none;
}

#mobile-drawer.drawer-open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Inquiry Modal */
#inquiry-modal.modal-closed {
  opacity: 0;
  pointer-events: none;
}

#inquiry-modal.modal-open {
  opacity: 1;
  pointer-events: auto;
}

#inquiry-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#inquiry-modal.modal-closed #inquiry-card {
  transform: scale(0.96) translateY(12px);
}

#inquiry-modal.modal-open #inquiry-card {
  transform: scale(1) translateY(0);
}

/* Accessible focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid #167C80;
  outline-offset: 3px;
}
