/* ===================================================================
   DECISIONS BEYOND LIMITS - Medical Courier Services
   Design System & Custom Styles
   Colors:
     - Primary BG: White / Off-white (#FFFFFF, #F8FAFC)
     - Navy Blue: #0A192F, #0F223D, #1E293B
     - Emerald Green: #059669, #10B981, #047857
     - Teal: #0D9488, #14B8A6
     - Gold (Restrained accent): #D97706, #F59E0B
     - Ruby Red (Restrained accent): #E11D48, #BE123C
   =================================================================== */

:root {
  --color-navy-950: #070e1c;
  --color-navy-900: #0a192f;
  --color-navy-800: #0f223d;
  --color-navy-700: #1e3a5f;
  --color-navy-600: #2563eb;
  
  --color-emerald-700: #047857;
  --color-emerald-600: #059669;
  --color-emerald-500: #10b981;
  --color-emerald-50: #ecfdf5;
  
  --color-teal-600: #0d9488;
  --color-teal-500: #14b8a6;
  --color-teal-50: #f0fdfa;
  
  --color-gold-600: #d97706;
  --color-gold-500: #f59e0b;
  --color-gold-50: #fffbeb;
  
  --color-ruby-600: #e11d48;
  --color-ruby-500: #f43f5e;
  --color-ruby-50: #fff1f2;
  
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-sans);
  color: var(--color-slate-800);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism & Card styling */
.glass-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(10, 25, 47, 0.08), 0 1px 3px rgba(10, 25, 47, 0.05);
  border-color: rgba(16, 185, 129, 0.35);
}

/* Sublte Medical Grid Background */
.medical-grid-bg {
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.04) 0%, transparent 40%),
    linear-gradient(to right, rgba(226, 232, 240, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.35) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.medical-subtle-glow {
  position: relative;
}
.medical-subtle-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(13, 148, 136, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Pulse animation for restrained accents */
@keyframes subtle-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

.animate-subtle-pulse {
  animation: subtle-pulse 3s infinite ease-in-out;
}

/* Route dash animation */
@keyframes dash {
  to {
    stroke-dashoffset: -40;
  }
}

.animate-route-dash {
  stroke-dasharray: 6 6;
  animation: dash 3s linear infinite;
}

/* Badge Gold Glow */
.gold-badge {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #92400e;
}

/* Ruby highlight dot */
.ruby-indicator {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--color-ruby-600);
}
.ruby-indicator::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: rgba(225, 29, 72, 0.35);
  animation: subtle-pulse 2s infinite ease-out;
}

/* Emerald highlight dot */
.emerald-indicator {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--color-emerald-500);
}
.emerald-indicator::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: rgba(16, 185, 129, 0.35);
  animation: subtle-pulse 2.2s infinite ease-out;
}

/* Service Card Hover Accent Line */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0a192f 0%, #059669 60%, #0d9488 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(10, 25, 47, 0.08);
  border-color: #cbd5e1;
}
.service-card:hover::before {
  opacity: 1;
}

/* How It Works step connector */
.step-connector {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #059669 0%, #cbd5e1 100%);
  z-index: 1;
}

/* Modal Transitions */
.modal-backdrop {
  background-color: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* High Conversion Hero CTA Button */
.btn-primary {
  background: linear-gradient(135deg, #0a192f 0%, #0f223d 100%);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.18);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0f223d 0%, #047857 100%);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.25);
  transform: translateY(-1px);
}

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.22);
}
.btn-emerald:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

/* Print Friendly formatting */
@media print {
  .no-print {
    display: none !important;
  }
}
