:root {
  --health-blue: #1f6feb;
  --health-blue-dark: #174ea6;
  --health-navy: #13294b;
  --health-sky: #dff3ff;
  --health-soft: #f5fbff;
  --health-teal: #18a0a6;
  --health-gray: #607184;
  --health-border: rgba(31, 111, 235, 0.16);
}

/* General */
body {
  color: var(--health-navy);
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 111, 235, 0.16), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(24, 160, 166, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 45%, #eaf7ff 100%);
  background-attachment: fixed;
}

.min-vh-75 {
  min-height: 75vh;
}

.text-muted {
  color: var(--health-gray) !important;
}

/* Top bar */
.top-bar {
  background: var(--health-navy);
  color: #ffffff;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px);
}

.navbar-brand {
  color: var(--health-blue) !important;
  letter-spacing: -0.03em;
}

.nav-link {
  color: var(--health-navy);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--health-teal) !important;
}

/* Typography */
h1,
h2,
h3,
.navbar-brand {
  font-weight: 700;
}

.eyebrow {
  color: var(--health-teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons */
.btn-primary {
  --bs-btn-bg: var(--health-blue);
  --bs-btn-border-color: var(--health-blue);
  --bs-btn-hover-bg: var(--health-blue-dark);
  --bs-btn-hover-border-color: var(--health-blue-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--health-blue);
  --bs-btn-border-color: var(--health-blue);
  --bs-btn-hover-bg: var(--health-blue);
  --bs-btn-hover-border-color: var(--health-blue);
  --bs-btn-hover-color: #ffffff;
}

/* Hero */
.hero-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(223, 243, 255, 0.86)),
    radial-gradient(circle at 90% 20%, rgba(31, 111, 235, 0.16), transparent 34%);
}

.hero-copy {
  border-left: 6px solid var(--health-blue);
  padding-left: 2rem;
}

.appointment-card {
  background: #ffffff;
  border: 1px solid var(--health-border);
  border-radius: 1.5rem;
  overflow: hidden;
}

.card-header-custom {
  background: linear-gradient(135deg, var(--health-blue), var(--health-teal));
  color: #ffffff;
  padding: 1.5rem;
}

.appointment-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--health-border);
}

.appointment-row:last-of-type {
  border-bottom: 0;
}

/* Homepage hero photo */
.hero-photo-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--health-border);
  background: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(19, 41, 75, 0.12);
}

.hero-photo-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.hero-photo-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--health-border);
  border-radius: 1rem;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

/* Stats */
.stats-strip {
  background: var(--health-navy);
  color: #ffffff;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-item strong {
  font-size: 1.35rem;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.72);
}

/* Services */
.section-sticky {
  position: sticky;
  top: 110px;
}

.service-list {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--health-border);
  border-radius: 1.5rem;
  overflow: hidden;
}

.service-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--health-border);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-number {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--health-sky);
  color: var(--health-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Process */
.process-section {
  background:
    linear-gradient(135deg, rgba(245, 251, 255, 0.96), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at top right, rgba(24, 160, 166, 0.12), transparent 32%);
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--health-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1rem 2rem rgba(19, 41, 75, 0.07);
}

.process-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--health-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* Affiliations */
.affiliation-card {
  background: #ffffff;
  border: 1px solid var(--health-border);
  border-radius: 1rem;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 0.75rem 1.5rem rgba(19, 41, 75, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.affiliation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(19, 41, 75, 0.09);
}

/* Location */
.clinic-band {
  background: #ffffff;
  border: 1px solid var(--health-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1rem 2rem rgba(19, 41, 75, 0.07);
}

.hours-box {
  background: var(--health-soft);
  border: 1px solid var(--health-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* Support image card */
.support-photo-card {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--health-border);
  background: #ffffff;
  box-shadow: 0 1rem 2rem rgba(19, 41, 75, 0.08);
}

.support-photo-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Contact */
.contact-section {
  background:
    linear-gradient(135deg, rgba(223, 243, 255, 0.70), rgba(255, 255, 255, 0.95));
}

.contact-detail {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid var(--health-border);
}

.contact-detail strong {
  color: var(--health-navy);
}

.contact-detail span {
  color: var(--health-gray);
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--health-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1rem 2rem rgba(19, 41, 75, 0.08);
}

/* Forms */
.form-control,
.form-select {
  border-color: rgba(31, 111, 235, 0.22);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--health-blue);
  box-shadow: 0 0 0 0.25rem rgba(31, 111, 235, 0.18);
}

/* Footer */
footer {
  background: #ffffff;
}

/* Mobile tweaks */
@media (max-width: 991px) {
  .hero-copy {
    border-left: 0;
    padding-left: 0;
  }

  .section-sticky {
    position: static;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .hero-photo-card img {
    height: 360px;
  }

  .support-photo-card img {
    height: 300px;
  }
}