:root {
  --primary: rgb(33, 72, 129);
  --primary-dark: rgb(25, 56, 100);
  --primary-active: rgb(20, 46, 82);
  --primary-border: rgb(22, 50, 92);
  --primary-text: #ffffff;
  --bs-primary-text: var(--primary-text);
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fbff;
  --bs-primary: var(--primary);
  --bs-primary-hover: var(--primary-dark);
  --bs-primary-active: var(--primary-active);
  --bs-primary-border: var(--primary-border);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  scroll-behavior: smooth;
}

.navbar-brand {
  font-size: 1.4rem;
}

.btn-primary {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-primary-text);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--bs-primary-hover);
  border-color: var(--bs-primary-hover);
}

.btn-primary:active,
.btn-primary.active {
  background: var(--bs-primary-active);
  border-color: var(--bs-primary-active);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
  background: var(--bs-primary);
  color: #fff;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.border-primary {
  border-color: var(--bs-primary) !important;
}

section[id],
header[id] {
  scroll-margin-top: 50px;
}

.doctor-photo {
  width: 50%;
  max-width: 200px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctor-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.2);
}


.hero-section {
  background: linear-gradient(135deg, #f4faff 0%, #eef7ff 100%);
}

.hero-card {
  background: #ffffff;
}

.stat-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid #e5f0ff;
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--primary);
  font-size: 1.3rem;
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 2rem !important;
  }

  .display-4 {
    font-size: 2.2rem;
  }
}

/* Full-width top banner styles */
.top-banner {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url('https://images.unsplash.com/photo-1588776814546-1c9c2b5ad4a8?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  display: block;
}

.top-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.35) 0%, rgba(15,23,42,0.55) 100%);
}

.top-banner .container { position: relative; z-index: 2; height: 100%; }
.top-banner .banner-content { max-width: 720px; }
.top-banner .banner-content h1 { color: #fff; letter-spacing: -0.5px; }
.top-banner .banner-content p { color: rgba(255,255,255,0.9); }

@media (max-width: 767px) {
  .top-banner { height: 260px; }
  .top-banner .banner-content h1 { font-size: 1.6rem; }
}

