.public-body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #0f172a;
  background:
    radial-gradient(circle at top right, rgba(15,118,110,.12), transparent 35%),
    linear-gradient(180deg, #f7fbfa 0%, #eef6f4 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.public-body > main,
.public-body #main-content {
  flex: 1 0 auto;
}
.public-footer {
  margin-top: auto;
}
.public-body.lang-bn {
  font-family: "Hind Siliguri", "Noto Sans Bengali", "DM Sans", sans-serif;
}
.public-body.lang-bn .section-title,
.public-body.lang-bn .public-hero h1,
.public-body.lang-bn .slide-content h1,
.public-body.lang-bn .slide-content h2,
.public-body.lang-bn .doctor-card h3,
.public-body.lang-bn .profile-panel h1 {
  font-family: "Hind Siliguri", "Source Serif 4", Georgia, serif;
  font-weight: 700;
}

.public-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,118,110,.08);
}
.brand-link {
  display: flex; gap: 12px; align-items: center;
  text-decoration: none; color: inherit;
}
.brand-link small { display:block; color:#64748b; font-size:.75rem; }
.public-nav a { color: #0f766e; text-decoration: none; font-weight: 500; }

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(15,118,110,.25);
  border-radius: 10px;
  overflow: hidden;
  font-size: .8rem;
}
.lang-switch a {
  padding: .25rem .55rem;
  color: #0f766e !important;
  background: #fff;
}
.lang-switch a.active {
  background: #0f766e;
  color: #fff !important;
  font-weight: 600;
}

/* Full-bleed homepage slider */
.home-slider {
  position: relative;
  margin: 0;
}
.home-slider .carousel-item {
  min-height: min(78vh, 560px);
  position: relative;
}
.home-slider .slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
  transform: scale(1.02);
  animation: slideken 12s ease-in-out infinite alternate;
}
@keyframes slideken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.home-slider .slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 5.5rem 0 4rem;
  max-width: 42rem;
}
.home-slider .slide-content h1,
.home-slider .slide-content h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}
.home-slider .hero-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  opacity: .88;
  margin-bottom: .6rem;
}
.home-slider .hero-lead {
  max-width: 36rem;
  opacity: .93;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.home-slider .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.home-slider .carousel-indicators .active { background: #fff; }
.home-slider .carousel-control-prev,
.home-slider .carousel-control-next { width: 8%; }

.stats-strip {
  margin-top: -2.25rem;
  position: relative;
  z-index: 5;
}
.mini-stat {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem .8rem;
  box-shadow: 0 14px 30px rgba(15,118,110,.1);
  border: 1px solid rgba(15,118,110,.07);
  height: 100%;
}
.mini-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #0f766e;
  line-height: 1.2;
}
.mini-stat span {
  font-size: .82rem;
  color: #64748b;
}

.public-hero {
  background:
    linear-gradient(135deg, rgba(11,61,58,.94), rgba(15,118,110,.78)),
    url('https://images.unsplash.com/photo-1631815588090-d4bfec5b1ccb?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
  padding: 5rem 0 4rem;
}
.hero-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .85; }
.public-hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -.03em;
}
.hero-lead { max-width: 36rem; opacity: .92; font-size: 1.1rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 1.2rem;
}
.hero-stats strong { display:block; font-size: 1.3rem; }
.hero-stats span { font-size: .8rem; opacity: .85; }

.section-title { font-family: "Source Serif 4", Georgia, serif; letter-spacing: -.02em; }

.doctor-card, .profile-panel, .book-side-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(15,118,110,.08);
  border: 1px solid rgba(15,118,110,.06);
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.doctor-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(15,118,110,.14); }
.doctor-card.static:hover { transform: none; }
.avatar {
  width: 52px; height: 52px; border-radius: 16px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color:#fff; font-weight:700; margin-bottom: .8rem;
}
.avatar.lg { width: 76px; height: 76px; font-size: 1.5rem; }
.doctor-card h3, .profile-panel h1 { font-family: "Source Serif 4", Georgia, serif; font-size: 1.25rem; }
.fee { color: #0f766e; font-weight: 700; }
.badge-status {
  display: inline-block; margin-top: .6rem;
  background: #ecfdf5; color: #065f46;
  border-radius: 999px; padding: .2rem .7rem; font-size: .75rem;
}
.chip {
  background: #f0fdfa; color: #115e59;
  border-radius: 999px; padding: .25rem .7rem; font-size: .8rem;
}

.patient-count {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid rgba(15,118,110,.15);
  border-radius: 10px;
  padding: .35rem .7rem;
  font-size: .88rem;
}
.patient-count i { opacity: .85; font-size: .9rem; }

.schedule-list li {
  display: flex; gap: 12px; justify-content: space-between;
  padding: .55rem 0; border-bottom: 1px dashed rgba(15,118,110,.15);
}

.why-section {
  background:
    linear-gradient(180deg, rgba(15,118,110,.04), transparent),
    #f3faf8;
}
.info-panel {
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(15,118,110,.08);
  height: 100%;
  box-shadow: 0 10px 24px rgba(15,118,110,.06);
}
.info-panel.owner {
  background: linear-gradient(160deg, #0b3d3a, #0f766e);
  color: #fff;
  border: none;
}
.info-panel.owner .check-list li::before { color: #99f6e4; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .65rem;
  line-height: 1.45;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0f766e;
  font-weight: 700;
}

.step-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid rgba(15,118,110,.08);
  height: 100%;
  text-align: center;
  transition: transform .25s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #ccfbf1;
  color: #0f766e;
  font-weight: 700;
  margin-bottom: .75rem;
}
.step-card p { color: #64748b; margin: 0; font-size: .95rem; }

.owner-band {
  background:
    linear-gradient(120deg, rgba(11,61,58,.95), rgba(15,118,110,.88)),
    url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1600&q=70') center/cover;
}

.public-cta {
  background: linear-gradient(135deg, #0b3d3a, #0f766e);
  margin-top: 0;
}
.public-footer {
  background: #0b3d3a; color: rgba(255,255,255,.9);
  margin-top: 0;
}
.public-footer a { color: #99f6e4; }

@media (max-width: 767px) {
  .home-slider .carousel-item { min-height: 68vh; }
  .home-slider .slide-content { padding: 3.5rem 0 3rem; }
  .public-hero { padding: 3.2rem 0 2.5rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .stats-strip { margin-top: -1.5rem; }
}
