:root {
  /* Medical Theme Colors */
  --primary: #0ea5e9; /* Sky Blue */
  --primary-dark: #0284c7;
  --secondary: #10b981; /* Emerald Green for health/cross */
  --accent: #f43f5e; /* Rose for emergency/heart */
  --dark: #0f172a;
  --light: #f8fafc;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--light);
  color: var(--dark);
  margin: 0;
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  width: 100%;
  box-sizing: border-box;
}

.section {
  padding: var(--spacing-xl) 0;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-sm) 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-dark);
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Hero */
.hero {
  background: linear-gradient(to right, #f0f9ff, #e0f2fe);
  padding: 6rem 0;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-500);
  margin-bottom: var(--spacing-lg);
}

.hero-image-placeholder {
  flex: 1;
  background-color: var(--gray-200);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: #e0f2fe;
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  margin-top: 0;
}

.card-text {
  color: var(--gray-500);
  margin-bottom: var(--spacing-md);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--spacing-xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

.footer-link {
  display: block;
  color: var(--gray-500);
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-lg { margin-top: var(--spacing-lg); }

/* Custom Logo Placeholder if image fails */
.logo-placeholder {
  font-family: serif;
  font-weight: 900;
  letter-spacing: -1px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.logo-cross {
  position: absolute;
  color: var(--secondary);
  font-size: 30px;
  z-index: 1;
}

.logo-stethoscope {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  border-top: 0;
  top: 5px;
  z-index: 2;
}

.placeholder-icon {
  width: 40px; 
  height: 40px;
  background: var(--gray-200);
  border-radius: 50%;
}

/* Brand Logo Construction */
.brand-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
}

.brand-logo-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.brand-cross {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--secondary); /* Green cross */
  /* Creating a perfect cross shape */
  clip-path: polygon(
    35% 0%, 65% 0%, 
    65% 35%, 100% 35%, 
    100% 65%, 65% 65%, 
    65% 100%, 35% 100%, 
    35% 65%, 0% 65%, 
    0% 35%, 35% 35%
  );
  z-index: 1;
  /* Add a subtle gradient for depth */
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.brand-stethoscope {
  position: absolute;
  width: 140px;
  height: 160px;
  top: 10px;
  z-index: 5; /* Ensure it overlaps the cross */
  pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

/* Stethoscope Head (The part that touches the patient) */
.steth-head {
  position: absolute;
  bottom: 25px; /* Moved up to overlap cross better */
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 30% 30%, #f1f5f9, #94a3b8);
  border: 4px solid #475569;
  border-radius: 50%;
  z-index: 6;
}

/* Stethoscope Tube - U shape */
.steth-tube {
  position: absolute;
  top: 45px;
  left: 20px;
  right: 20px;
  height: 90px;
  border: 8px solid #475569; /* Dark slate gray */
  border-top: none;
  border-radius: 0 0 60px 60px;
  z-index: 5;
}

/* Stethoscope Ear pieces */
.steth-ears {
  position: absolute;
  top: 0;
  width: 100%;
  height: 60px;
}
.steth-ear-left, .steth-ear-right {
  position: absolute;
  top: 10px;
  width: 8px;
  height: 50px;
  background: #475569;
  transform-origin: bottom center;
}
/* Ear tips */
.steth-ear-left::after, .steth-ear-right::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -4px;
  width: 16px;
  height: 16px;
  background: #1e293b;
  border-radius: 50%;
}

.steth-ear-left {
  left: 20px;
  transform: rotate(-25deg);
}
.steth-ear-right {
  right: 20px;
  transform: rotate(25deg);
}

.brand-initials {
  position: absolute;
  bottom: -30px;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--primary-dark);
  width: 100%;
  text-align: center;
  z-index: 10;
  text-shadow: 2px 2px 0px white; /* Outline effect to stand out if overlapping */
  font-family: 'Arial Black', sans-serif;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media(max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brand-logo-container {
    margin-bottom: 3rem;
  }
}

/* Utility Classes */
.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-500); }
.flex-wrap { display: flex; flex-wrap: wrap; }
.gap-sm { gap: 1rem; }
.gap-xs { gap: 0.5rem; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.list-none { list-style: none; padding: 0; margin: 0; }
.mb-xs { margin-bottom: 0.5rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-xl { margin-bottom: 2rem; }
.opacity-90 { opacity: 0.9; }
.no-decoration { text-decoration: none; }
.font-bold { font-weight: 600; }
.border-top-faint { border-top: 1px solid rgba(255,255,255,0.1); }
.pt-md { padding-top: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.facility-view {
  width: 100%;
  height: 300px;
  background: rgba(255,255,255,0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}
.feature-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.items-center { align-items: center; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
