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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #f4f5f8;
  color: #2d3748;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-bg {
  background: linear-gradient(160deg,
      #ffffff 0%,
      #eef0f7 40%,
      #d5daf0 100%);
}

.nav-glass {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(169, 180, 216, 0.25);
}

.rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #3d54a8, #6b7fbf);
  border-radius: 9px;
}

.doctor-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61, 84, 168, 0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(61, 84, 168, 0.14);
}

.doctor-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #3d54a8, #6b7fbf);
  color: #fff;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  border: 1px solid #eef0f7;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  border-color: #a9b4d8;
  box-shadow: 0 8px 32px rgba(61, 84, 168, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef0f7, #d5daf0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  background: linear-gradient(135deg, #2c3e8a, #3d54a8);
  color: #fff;
  font-weight: 500;
  font-size: .95rem;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(44, 62, 138, 0.30);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(44, 62, 138, 0.40);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border: 1.5px solid #3d54a8;
  color: #3d54a8;
  font-weight: 500;
  font-size: .95rem;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: #3d54a8;
  color: #fff;
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(61, 84, 168, 0.10);
  border: 1px solid #eef0f7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

footer { 
  background: #fdfdfd; 
  border-top: 1px solid #d5daf0; 
}