/* Unified Healthcare Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary-teal: #0d9488;
  --primary-teal-dark: #0f766e;
  --primary-teal-deep: #115e59;
  --teal-tint: #f0fdfa;
  --teal-border: #ccfbf1;
  --bg-soft: #f8fafc;
  --text-charcoal: #1e293b;
  --text-slate: #475569;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

/* Ensure mobile sticky action bar does not overlap footer content */
body {
  position: relative;
  padding-bottom: 5.5rem; /* For mobile bar */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Subtle pulse for live status badge */
@keyframes status-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.animate-status-pulse {
  animation: status-pulse 2s infinite ease-in-out;
}

/* Soft glowing shadow for Teal CTA buttons */
.btn-glow-teal {
  box-shadow: 0 4px 18px -2px rgba(13, 148, 136, 0.35);
  transition: all 0.25s ease;
}

.btn-glow-teal:hover {
  box-shadow: 0 8px 24px -2px rgba(13, 148, 136, 0.45);
  transform: translateY(-2px);
}

/* Glassmorphic elements */
.glass-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Photo Gallery Card Zoom */
.gallery-img-container {
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-img-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-container:hover img {
  transform: scale(1.05);
}

/* Modal Lightbox Transitions */
.lightbox-modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-modal:not(.active) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #0d9488;
  outline-offset: 2px;
}
