/* ============================================================
   CARE2HOME — Brand stylesheet, layered on top of Bootstrap 5.
   Palette: Forest #085041 | Emerald #1D9E75 | Teal #5DCAA5
             Mint #E1F5EE | Ink #0E1A16
   ============================================================ */

:root {
  --forest:  #085041;
  --emerald: #1D9E75;
  --teal:    #5DCAA5;
  --mint:    #E1F5EE;
  --light:   #F5FBF8;
  --ink:     #0E1A16;
  --muted:   #4A6B5D;
  --border:  #C8E8DA;
  --radius:  14px;
  --radius-sm: 8px;

  /* Retheme Bootstrap's primary color to the brand emerald. */
  --bs-primary: var(--emerald);
  --bs-primary-rgb: 29, 158, 117;
  --bs-link-color: var(--emerald);
  --bs-link-color-rgb: 29, 158, 117;
  --bs-link-hover-color: var(--forest);
  --bs-link-hover-color-rgb: 8, 80, 65;
  --bs-body-font-family: 'DM Sans', system-ui, sans-serif;
  --bs-body-color: var(--ink);
}

body {
  background: #fff;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
}

a { text-decoration: none; }

/* ── Navbar ── */
.navbar-brand.c2h-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  color: #fff !important;
}
.navbar-c2h {
  background: var(--forest);
}
.navbar-c2h .nav-link {
  color: rgba(255,255,255,.85) !important;
}
.navbar-c2h .nav-link.active,
.navbar-c2h .nav-link:hover {
  color: #fff !important;
}
.navbar-c2h .nav-link.btn-cta {
  background: var(--emerald);
  color: #fff !important;
  border-radius: 100px;
  padding: .5rem 1.1rem !important;
}

/* ── Eyebrow / pill badge (marketing pages) ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint);
  color: var(--forest);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
}
.eyebrow.on-dark {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

/* ── Hero (home page) ── */
.hero {
  background: linear-gradient(135deg, var(--forest), #0b6b57);
  color: #fff;
  padding: 72px 0;
}
.hero em { color: var(--teal); font-style: normal; }
.hero-trust-item strong { display: block; font-size: 1.4rem; }
.hero-trust-item span { font-size: .8rem; opacity: .8; }
.hero-mini-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.hero-mini-card.featured {
  background: var(--emerald);
  border-color: var(--emerald);
}
.hero-mini-card h4 { font-family: 'DM Sans', sans-serif; font-size: .95rem; margin-bottom: 2px; }
.hero-mini-card p { font-size: .8rem; opacity: .85; margin: 0; }

/* ── Page hero (services/about/testimonials/booking) ── */
.page-hero {
  background: linear-gradient(135deg, var(--forest), #0b6b57);
  color: #fff;
  padding: 56px 0;
}
.page-hero em { color: var(--teal); font-style: normal; }

/* ── Generic sections ── */
.section { padding: 64px 0; }
.section-light { background: var(--light); }

/* ── How-it-works steps ── */
.how-step-num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--emerald); color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ── Service / therapist / testimonial cards ── */
.c2h-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
}
.c2h-card .icon-badge {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint);
  color: var(--emerald);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.testimonial-stars { color: #F59E0B; letter-spacing: 2px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint);
  color: var(--forest);
  border-radius: 50%;
  font-weight: 700;
  font-size: .85rem;
}

/* ── Service detail rows (services page) ── */
.service-detail-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint);
  color: var(--emerald);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
}
.service-detail-benefits li::marker { color: var(--emerald); }

/* ── Booking confirmation ── */
.booking-ref {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--forest);
}

/* ── Admin / therapist / user dashboard shell ── */
.dash-shell { min-height: calc(100vh - 200px); }
.dash-sidebar {
  background: var(--light);
  border-right: 1px solid var(--border);
  min-height: 100%;
}
.dash-sidebar .nav-link {
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: .55rem .9rem;
  margin-bottom: 2px;
}
.dash-sidebar .nav-link.active {
  background: var(--emerald);
  color: #fff;
}
.dash-sidebar .nav-link:hover:not(.active) {
  background: var(--mint);
}

.stat-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.stat-tile .stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--forest);
  display: block;
}

/* ── Footer ── */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,.75);
}
.site-footer a { color: #fff; }
.site-footer h6 { color: #fff; }

/* ── Misc ── */
.material-icons { vertical-align: middle; }
