/* =============================================
   Hero Section — Teeth Care Dental Clinic
   Brand: green #1cb575 | blue #0a71b9
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #1cb575;
  --blue:    #0a71b9;
  --dark:    #0a1f3c;
  --muted:   #4a6080;
  --bg:      #eef5fb;
  --white:   #ffffff;
  --border:  #dde8f2;
  --star:    #f59e0b;
  --font:    'Segoe UI', Arial, sans-serif;
}

body { font-family: var(--font); }

/* ── HERO WRAPPER ── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 440px;
  background: var(--bg);
  overflow: hidden;
}

/* ── LEFT PANEL ── */
.hero-left {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* CSS decorative background */
.hero-left::before,
.hero-left::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-left::before {
  width: 420px; height: 420px;
  background: rgba(10, 113, 185, .05);
  top: -120px; right: -140px;
}
.hero-left::after {
  width: 220px; height: 220px;
  background: rgba(28, 181, 117, .06);
  bottom: -80px; left: -60px;
}

/* keep content above pseudo-elements */
.hero-left > * { position: relative; z-index: 1; }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: .5px solid rgba(10, 113, 185, .25);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 18px;
  width: fit-content;
}

/* ── HEADINGS ── */
h1 {
  /*font-size: 32px;*/
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 6px;
}
h1 em {
  color: var(--blue);
  font-style: normal;
  border-bottom: 3px solid var(--green);
  padding-bottom: 1px;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.sub {
  /*font-size: 13px;*/
  color: var(--muted);
  line-height: 1.7;
  /*max-width: 370px;*/
  margin-bottom: 22px;
}
.sub strong { color: var(--dark); font-weight: 600; }

/* ── CTA BUTTONS ── */
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary  { background: var(--blue);  color: var(--white); border: none; }
.btn-secondary { background: var(--white); color: var(--green); border: 1.5px solid var(--green); }

/* ── RATINGS ── */
.rat-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 10px;
}
.ratings {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.rcard {
  background: var(--white);
  border: .5px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.platform { font-size: 9px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.score    { font-size: 20px; font-weight: 800; line-height: 1; }
.stars    { color: var(--star); font-size: 10px; }

/* platform accent colours */
.google .score    { color: #4285f4; }
.practo .score    { color: #5cb85c; }
.whatclinic .score { color: #e8562a; }
.justdial .score  { color: #fc4f04; }

.rat-total {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}

/* ── STATS ── */
.stats {
  display: flex;
  background: var(--white);
  border: .5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border-right: .5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat:last-child { border-right: none; }
.stat strong { font-size: 17px; font-weight: 800; color: var(--blue); }
.stat span   { font-size: 9px;  color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }

/* ── RIGHT PANEL — SLIDER ── */
.hero-right {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 0 100%);
  min-height: 440px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity .7s ease;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #eef5fb;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to right, rgba(238,245,251,.6) 0%, transparent 35%);*/
}

/* slide label */
.slide-label {
  position: absolute;
  bottom: 38px;
  right: 16px;
  background: rgba(255,255,255,.92);
  border: .5px solid rgba(28,181,117,.35);
  border-radius: 8px;
  padding: 8px 14px;
  z-index: 10;
  text-align: right;
}
.slide-label p    { font-size: 11px; font-weight: 600; color: var(--dark);margin:;0; }
.slide-label span { font-size: 10px; font-weight: 600; color: var(--green); }

/* dots */
.dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s;
}
.dot.on { background: var(--blue); }

/* nav arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: .5px solid var(--border);
  color: var(--dark);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  font-weight: 700;
}
.prev { left: 18px; }
.next { right: 10px; }

/* progress bar */
.progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--blue);
  z-index: 10;
  transition: width 5s linear;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { clip-path: none; min-height: 260px; }
  .hero-left { padding: 28px 20px; }
  h1 { font-size: 24px; }
  .ratings { grid-template-columns: repeat(2, 1fr); }
}
