/* Jiban Suraksha Clinic - Professional Medical Production Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
  --primary: #0d9488;       /* Medical Teal */
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --primary-subtle: #f0fdfa;
  
  --secondary: #0284c7;     /* Clinical Sky Blue */
  --secondary-dark: #0369a1;
  --secondary-light: #e0f2fe;

  --navy: #0f172a;          /* Slate Navy */
  --slate-dark: #1e293b;
  --slate-muted: #64748b;
  --slate-light: #f8fafc;
  
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  background-color: #fcfdfd;
  color: #1e293b;
}

h1, h2, h3, .font-display {
  font-family: 'Fraunces', serif;
}

/* Glassmorphism Styles */
.glass-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Gradients */
.hero-gradient {
  background: radial-gradient(circle at 10% 20%, rgba(204, 251, 241, 0.6) 0%, rgba(224, 242, 254, 0.45) 40%, rgba(254, 243, 199, 0.2) 80%, #ffffff 100%);
}

.medical-gradient {
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button & Interactive */
.btn-medical {
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px -2px rgba(13, 148, 136, 0.35);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-medical::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-medical:hover::before {
  opacity: 1;
}

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

.btn-secondary-medical {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.btn-secondary-medical:hover {
  border-color: #0d9488;
  background-color: #f0fdfa;
  color: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Card Hover Animations */
.card-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Doctor Card Styles */
.doctor-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(13, 148, 136, 0.15);
}

.doctor-avatar-wrap {
  position: relative;
}

.doctor-avatar-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  z-index: -1;
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.doctor-card:hover .doctor-avatar-wrap::after {
  opacity: 0.6;
}

/* Filter Item Transitions */
.filter-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-item.hidden-card {
  display: none !important;
  opacity: 0;
  transform: scale(0.95);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0d9488;
}

/* Map Wrap */
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.25rem;
}

.map-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Modals */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Toast alert */
#toastNotification {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Nav Link */
.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link.active {
  color: #0d9488 !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2.5px;
  border-radius: 9999px;
  background: #0d9488;
}

/* Mobile Drawer */
#mobileDrawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
