/* ==========================================
   Armstrong Hospital - Main Stylesheet
   13 Surulere Street, Abule Egba, Lagos State, Nigeria
   Website: www.armstrong.com.ng
   ========================================== */

@import "tailwindcss";

@theme {
  --color-phoenix-50: #f0f9ff;
  --color-phoenix-100: #e0f2fe;
  --color-phoenix-500: #0284c7;
  --color-phoenix-600: #0284c7;
  --color-phoenix-700: #0369a1;
  --color-phoenix-800: #075985;
  --color-phoenix-900: #0c4a6e;
  --color-phoenix-dark: #0a192f;
  --color-phoenix-navy: #0b1d3a;
}

/* Navigation Dropdown & Menu Utility Styles */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.group:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 1024px) {
  #mainNav {
    display: flex !important;
  }
}

/* Custom Variables */
:root {
  --primary-blue: #0284c7;
  --primary-dark: #0a192f;
  --primary-navy: #0b1d3a;
  --accent-cyan: #06b6d4;
  --emerald-green: #10b981;
  --light-bg: #f8fafc;
}

/* Base Body Styles */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

/* Heading Font styling option */
.font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* ==========================================
   Rollover & Transition Effects
   ========================================== */
.link-rollover {
  position: relative;
  transition: color 0.3s ease;
}

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

.link-rollover:hover {
  color: #0284c7;
}

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

.btn-rollover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-rollover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
}

.btn-rollover:active {
  transform: translateY(0);
}

.card-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.1);
}

/* ==========================================
   Surgical Animation & Live Canvas Styles
   ========================================== */
.pulse-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 2.5s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

.surgical-lamp-glow {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(10, 25, 47, 0) 70%);
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

.monitor-screen {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 29, 58, 0.98) 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ==========================================
   Owl Carousel Continuous Infinite Loop
   ========================================== */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLoop 28s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================
   Modal & Glassmorphism Utilities
   ========================================== */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(30, 41, 59, 0.8);
}

/* Sticky Header Shadow */
.header-scrolled {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  background: rgba(2, 6, 23, 0.98) !important;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0369a1;
}

/* Scalpel Icon styling for General Surgery */
.fa-scalpel,
i.fa-scalpel {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.71 2.29a1 1 0 0 0-1.42 0l-5.17 5.17a3 3 0 0 0-.88 2.12v.17l-8.59 8.59a2 2 0 0 0 0 2.83l.83.83a2 2 0 0 0 2.83 0l8.59-8.59h.17a3 3 0 0 0 2.12-.88l5.17-5.17a1 1 0 0 0 0-1.42l-3.65-3.65zM8.41 20.59a.5.5 0 0 1-.7 0l-.83-.83a.5.5 0 0 1 0-.7l7.88-7.88 1.53 1.53-7.88 7.88zm8.71-8.71-1.53-1.53a1.5 1.5 0 0 1 .44-1.06l4.46-4.46 2.12 2.12-4.43 4.49a1.5 1.5 0 0 1-1.06.44z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.71 2.29a1 1 0 0 0-1.42 0l-5.17 5.17a3 3 0 0 0-.88 2.12v.17l-8.59 8.59a2 2 0 0 0 0 2.83l.83.83a2 2 0 0 0 2.83 0l8.59-8.59h.17a3 3 0 0 0 2.12-.88l5.17-5.17a1 1 0 0 0 0-1.42l-3.65-3.65zM8.41 20.59a.5.5 0 0 1-.7 0l-.83-.83a.5.5 0 0 1 0-.7l7.88-7.88 1.53 1.53-7.88 7.88zm8.71-8.71-1.53-1.53a1.5 1.5 0 0 1 .44-1.06l4.46-4.46 2.12 2.12-4.43 4.49a1.5 1.5 0 0 1-1.06.44z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.fa-scalpel::before,
i.fa-scalpel::before {
  content: "" !important;
}
