/* ============================================================
   DentaCare Pro — Public Website CSS
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --dark: #1e293b;
  --radius: 12px;
}

/* ── Topbar info ─── */
.topbar-info {
  background: #1e3a8a;
  color: #93c5fd;
  font-size: 13px;
}

/* ── Navbar ─── */
.navbar { border-bottom: 1px solid #f1f5f9; padding: 10px 0; }
.brand-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.brand-name { font-weight: 700; font-size: 1rem; color: var(--dark); line-height: 1.2; }
.brand-tag  { font-size: 11px; color: #64748b; }
.navbar-nav .nav-link { color: #374151; font-weight: 500; padding: 6px 12px !important; border-radius: 6px; }
.navbar-nav .nav-link:hover { color: var(--primary); background: var(--primary-light); }
.navbar-nav .nav-link.active { color: var(--primary); }

/* ── Hero ─── */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
  position: relative; overflow: hidden;
}
.hero-image-wrap { position: relative; }
.hero-blob {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: 50%; left: 50%;
  transform: translate(-50%,-50%); z-index: 0;
}
.hero-img { position: relative; z-index: 1; max-height: 460px; filter: drop-shadow(0 24px 48px rgba(0,0,0,.3)); }
.hero-badge {
  position: absolute; background: white; border-radius: 12px;
  padding: 10px 16px; display: flex; align-items: center;
  font-size: 13px; white-space: nowrap; z-index: 2;
}
.hero-badge-1 { top: 15%; right: -10px; }
.hero-badge-2 { bottom: 20%; left: -10px; }

/* ── Why choose us cards ─── */
.why-card { background: white; border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.1) !important; }
.why-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }

/* ── Services ─── */
.service-card {
  background: white; border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.1) !important; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 0;
}
.service-detail-card {
  background: white; border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.service-detail-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,.08) !important; }

/* ── CTA section ─── */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  position: relative;
}

/* ── Testimonials ─── */
.testimonial-card { background: white; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--primary);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
}

/* ── Page hero (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

/* ── About stats ─── */
.stat-box { background: white; border-radius: var(--radius); }
.team-card { background: white; border-radius: var(--radius); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}

/* ── Contact ─── */
.contact-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

/* ── Booking steps ─── */
.booking-steps {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.booking-steps .step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #94a3b8; font-weight: 500;
}
.booking-steps .step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #cbd5e1; background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.booking-steps .step.active { color: var(--primary); }
.booking-steps .step.active .step-num { background: var(--primary); color: white; border-color: var(--primary); }
.booking-steps .step.done .step-num { background: #10b981; color: white; border-color: #10b981; }
.booking-steps .step-line { flex: 1; height: 2px; background: #e2e8f0; margin: 0 6px; }

/* ── Slot grid ─── */
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.slot-btn {
  padding: 9px 4px; border-radius: 8px; border: 2px solid #e2e8f0;
  background: white; font-size: 12px; cursor: pointer;
  transition: all .15s; text-align: center; font-weight: 600; color: #374151;
}
.slot-btn:hover    { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.slot-btn.selected { background: var(--primary); color: white; border-color: var(--primary); }

/* ── Booking summary ─── */
.booking-summary { border-radius: var(--radius); }

/* ── Booking confirmed ─── */
.confirmed-icon { animation: bounceIn .6s ease-out; }
@keyframes bounceIn {
  0%  { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100%{ transform: scale(1); opacity: 1; }
}

/* ── Footer ─── */
.footer-section { background: #0f172a; }
.footer-link { color: #64748b; text-decoration: none; }
.footer-link:hover { color: var(--primary); }
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: #94a3b8;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .2s;
}
.social-btn:hover { background: var(--primary); color: white; }
.letter-spacing { letter-spacing: .1em; }

/* ── Utilities ─── */
.btn-xs { padding: 3px 8px; font-size: 11px; }
.map-placeholder { min-height: 220px; }

/* ── Responsive ─── */
@media (max-width: 767px) {
  .hero-section { padding: 3rem 0; }
  .hero-badge { display: none; }
  .hero-img { max-height: 280px; }
}
