/* Import Poppins Font (Used by the reference theme) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Base Styles & Custom Variables matching ClinicMaster skin-1 exactly */
:root {
  --color-primary: #00BDE0;
  --color-primary-dark: #00a3c2;
  --color-secondary: #031B4E;
  --color-accent: #ff811b;
  --color-accent-hover: #e06b12;
  --color-light: #ECF5FB;
  --color-body: #566593;
  --font-base: 'Poppins', sans-serif;
}

/* Custom Elements layout fix */
hospital-header, hospital-footer, floating-contact {
  display: block;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-base);
}

body {
  color: var(--color-body);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  color: var(--color-secondary);
}

/* Custom Scrollbar using theme color */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* Reusable Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Animation Helper Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Micro-interactions & Image Zooms */
.zoom-on-hover {
  overflow: hidden;
}
.zoom-on-hover img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.zoom-on-hover:hover img {
  transform: scale(1.08);
}

/* Custom shadow utilities */
.shadow-premium {
  box-shadow: 0 10px 30px -10px rgba(0, 189, 224, 0.08);
}
.shadow-premium-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shadow-premium-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 189, 224, 0.15);
}

/* Active Navigation Styling */
.nav-link-active {
  color: var(--color-primary) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--color-primary);
}

/* Mobile Nav Styles */
.mobile-menu-drawer {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Signature script style */
.signature-font {
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 1.8rem;
  color: var(--color-primary);
}

/* Doctor card filter animation helper */
.doctor-card {
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}
.doctor-card.hidden {
  display: none !important;
}

/* Premium Mobile Drawer Navigation Links */
.mobile-nav-wrapper {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.5rem;
  font-family: var(--font-base);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-body);
  border-radius: 0.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  background-color: transparent !important; /* overrides default/plain grey highlights */
}

.mobile-nav-link:hover {
  color: var(--color-primary);
  background-color: rgba(0, 189, 224, 0.05) !important;
  padding-left: 1.6rem; /* smooth slide-in hover effect */
}

.mobile-nav-link-active {
  color: var(--color-primary) !important;
  font-weight: 700;
  background-color: rgba(0, 189, 224, 0.08) !important;
  border-left: 4px solid var(--color-primary);
  border-radius: 0.375rem 0.75rem 0.75rem 0.375rem;
  padding-left: 1.6rem;
}

