/* ═══════════════════════════════════════════════════
   NDC Dental — Global Stylesheet
   Sri Nookambika Dental Clinic, Anakapalli
   ═══════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --blue:       #1565C0;
  --blue-dark:  #0d47a1;
  --blue-light: #4a9eff;
  --teal:       #00ACC1;
  --aqua:       #00bcd4;
  --pearl:      #f8fbff;
  --snow:       #ffffff;
  --gray-bg:    #f1f5f9;
  --gray-mid:   #94a3b8;
  --gray-dark:  #475569;
  --navy:       #0d1b2a;
  --gold:       #F59E0B;
  --red:        #ef4444;
  --green:      #10b981;
  --text:       #1e293b;
  --text-light: #64748b;
  --border:     rgba(0,0,0,0.08);

  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow:     0 4px 20px rgba(0,0,0,0.09);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.15);
  --shadow-blue: 0 8px 32px rgba(21,101,192,0.25);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 72px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--snow); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { line-height: 1.75; color: var(--text-light); }

/* ── Layout ─────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px; background: var(--blue);
}

.section-title { margin-bottom: 12px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 560px; line-height: 1.7; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-subtitle { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 0.95rem;
  font-weight: 600; transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(21,101,192,0.35); }
.btn-teal    { background: var(--teal);  color: #fff; box-shadow: 0 8px 24px rgba(0,172,193,0.3); }
.btn-teal:hover { background: #0097a7; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white  { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--pearl); transform: translateY(-2px); }
.btn-ghost  { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-lg { padding: 17px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn svg { flex-shrink: 0; }

/* ── Navigation ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); transition: var(--transition);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 32px;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.navbar.transparent .logo-text span,
.navbar.transparent .logo-text small,
.navbar.transparent .nav-link { color: #fff; }
.navbar.transparent .hamburger span { background: #fff; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge {
  background: var(--blue); color: #fff;
  border-radius: 12px; padding: 6px 10px;
  display: flex; flex-direction: column; align-items: center; line-height: 1;
}
.logo-badge b { font-size: 1rem; font-weight: 900; letter-spacing: 0.05em; }
.logo-badge small { font-size: 0.45rem; letter-spacing: 0.2em; opacity: 0.85; margin-top: 2px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text span { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.logo-text small { font-size: 0.65rem; color: var(--gray-mid); letter-spacing: 0.04em; }
.navbar.scrolled .logo-text span { color: var(--text); }
.navbar.scrolled .logo-text small { color: var(--gray-mid); }

/* Nav links */
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; padding: 8px 14px;
  border-radius: var(--radius-sm); color: var(--text);
  transition: var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: rgba(21,101,192,0.07); }
.navbar.scrolled .nav-link { color: var(--text); }
.nav-cta { background: var(--blue) !important; color: #fff !important; padding: 9px 22px !important; border-radius: 50px !important; }
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }
.nav-phone { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--teal); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Carousel ───────────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 640px; max-height: 960px;
  overflow: hidden; background: var(--navy);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease; z-index: 1;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 2; }
.slide.prev   { opacity: 0; z-index: 1; }

.slide-bg {
  position: absolute; inset: -6%;
  animation: kenBurns 9s ease-out forwards;
}
.slide-1 .slide-bg { background-image: url('../images/hero_slide1.png'); background-size: cover; background-position: center; }
.slide-2 .slide-bg { background-image: url('../images/hero_slide2.png'); background-size: cover; background-position: center; }
.slide-3 .slide-bg { background-image: url('../images/hero_slide3.png'); background-size: cover; background-position: center; }
.slide-4 .slide-bg { background-image: url('../images/hero_slide4.png'); background-size: cover; background-position: center; }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}

/* Blobs */
.slide-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; mix-blend-mode: screen;
}
.blob-a { width: 500px; height: 500px; top: -100px; right: -60px; opacity: 0.22; animation: blobA 8s ease-in-out infinite alternate; }
.blob-b { width: 340px; height: 340px; bottom: -80px; left: 40%; opacity: 0.15; animation: blobB 10s ease-in-out infinite alternate; }
.slide-1 .blob-a, .slide-3 .blob-a { background: radial-gradient(circle, #00bcd4, transparent); }
.slide-2 .blob-a { background: radial-gradient(circle, #4a9eff, transparent); }
.slide-4 .blob-a { background: radial-gradient(circle, #00bcd4, transparent); }
.slide-1 .blob-b { background: radial-gradient(circle, #1565C0, transparent); }
.slide-2 .blob-b, .slide-3 .blob-b { background: radial-gradient(circle, #0097a7, transparent); }
.slide-4 .blob-b { background: radial-gradient(circle, #7c3aed, transparent); }

/* Floating teeth */
.tooth-float {
  position: absolute; pointer-events: none; opacity: 0;
  animation: toothFloat var(--dur, 4s) ease-in-out infinite alternate var(--delay, 0s);
}
.slide.active .tooth-float { animation: toothFloat var(--dur, 4s) ease-in-out infinite alternate var(--delay, 0s), fadeIn 0.8s ease var(--fin-delay, 0.5s) forwards; }
.tooth-float svg { display: block; }

/* Slide content */
.slide-content {
  position: relative; z-index: 2; padding: 0 6%;
  max-width: 700px; padding-top: var(--nav-h);
}
.slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(0,188,212,0.4);
  background: rgba(0,188,212,0.08); backdrop-filter: blur(8px);
  margin-bottom: 20px; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.5s 0.1s, transform 0.5s 0.1s;
}
.slide-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulseDot 1.6s infinite; }
.slide.active .slide-tag { opacity: 1; transform: translateY(0); }

.slide-title {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.08;
  color: #fff; margin-bottom: 16px;
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s 0.25s, transform 0.65s 0.25s;
}
.slide-title .accent { color: var(--teal); }
.slide.active .slide-title { opacity: 1; transform: translateY(0); }

.slide-desc {
  font-size: clamp(0.9rem, 1.6vw, 1.08rem); color: rgba(255,255,255,0.75);
  line-height: 1.75; max-width: 500px; margin-bottom: 36px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s 0.4s, transform 0.6s 0.4s;
}
.slide.active .slide-desc { opacity: 1; transform: translateY(0); }

.slide-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s 0.55s, transform 0.6s 0.55s;
}
.slide.active .slide-actions { opacity: 1; transform: translateY(0); }

/* Smile curve */
.smile-curve-wrap {
  position: absolute; bottom: 60px; right: 5%;
  width: clamp(260px, 30vw, 420px); opacity: 0.3;
  animation: floatY 5s ease-in-out infinite alternate;
  pointer-events: none;
}
.smile-curve-wrap svg path { stroke: var(--teal); }

/* Carousel chrome */
.hero-controls {
  position: absolute; bottom: 36px; left: 6%; z-index: 5;
  display: flex; align-items: center; gap: 20px;
}
.hero-dots { display: flex; gap: 8px; }
.dot {
  width: 48px; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.25); border: none;
  cursor: pointer; padding: 0; transition: var(--transition); position: relative; overflow: hidden;
}
.dot.active { background: rgba(255,255,255,0.3); width: 64px; }
.dot-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--teal); border-radius: 999px; transition: width 0.1s linear; }
.hero-arrows { display: flex; gap: 8px; }
.arrow-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.arrow-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }
.hero-phone {
  position: absolute; bottom: 36px; right: 6%; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 50px;
  padding: 10px 20px; color: #fff; font-size: 0.88rem; font-weight: 600;
  transition: var(--transition); text-decoration: none;
}
.hero-phone:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ── Trust Badges ────────────────────────────────────── */
.trust-strip { background: var(--snow); box-shadow: var(--shadow); padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex; align-items: center; gap: 16px; padding: 28px 24px;
  border-right: 1px solid var(--border); transition: var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--pearl); }
.trust-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #e8f0fe, #c7d9f8);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.5rem;
}
.trust-icon.teal { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.trust-icon.green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.trust-icon.gold { background: linear-gradient(135deg, #fff8e1, #ffecb3); }
.trust-label { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.trust-sub { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }

/* ── Why NDC ─────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-visual {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #0d1b2a, #1565C0 60%, #00ACC1);
  padding: 48px 40px; color: #fff; overflow: hidden; min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.why-visual::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(0,188,212,0.18); filter: blur(40px);
}
.why-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; position: relative; z-index: 1; }
.why-stat { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 20px; border: 1px solid rgba(255,255,255,0.12); }
.why-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--teal); }
.why-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.why-title-visual { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; position: relative; z-index: 1; }
.why-sub-visual { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 8px; position: relative; z-index: 1; }

.why-reasons { display: grid; gap: 24px; }
.reason-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius);
  background: var(--pearl); border: 1px solid var(--border);
  transition: var(--transition);
}
.reason-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(21,101,192,0.15); }
.reason-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #1565C0, #00ACC1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.reason-text h4 { color: var(--text); margin-bottom: 4px; }
.reason-text p { font-size: 0.88rem; line-height: 1.6; }

/* ── Treatments ──────────────────────────────────────── */
.treatments-bg { background: var(--gray-bg); }
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment-card {
  background: var(--snow); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.treatment-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.treatment-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.treatment-card:hover::before { transform: scaleX(1); }
.treatment-icon {
  width: 64px; height: 64px; border-radius: var(--radius); margin-bottom: 20px;
  background: linear-gradient(135deg, #e8f0fe, #c7d9f8);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.treatment-card h3 { color: var(--text); margin-bottom: 10px; font-size: 1.1rem; }
.treatment-card p { font-size: 0.88rem; line-height: 1.65; }
.treatment-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--blue); }
.treatment-link:hover { gap: 10px; }
.treatment-link svg { transition: var(--transition); }
.treatment-link:hover svg { transform: translateX(4px); }

/* ── Doctor Highlight ────────────────────────────────── */
.doctor-section { background: linear-gradient(135deg, #f8fbff 0%, #e8f0fe 100%); }
.doctor-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.doctor-card {
  background: var(--snow); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-md); position: relative;
}
.doctor-photo {
  height: 340px;
  background: linear-gradient(160deg, #0d1b2a 0%, #1565C0 55%, #00ACC1 100%);
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
}
.doctor-photo-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(0,188,212,0.3), transparent 60%);
}
.doctor-silhouette {
  position: relative; z-index: 1; width: 100%; display: flex; justify-content: center;
}
.doctor-silhouette svg { width: 200px; height: auto; color: rgba(255,255,255,0.12); }
.doctor-avatar-icon {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  font-size: 100px; opacity: 0.25; filter: grayscale(1);
  z-index: 1; user-select: none; line-height: 1;
}
.doctor-info { padding: 28px; }
.doctor-badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #1565C0, #00ACC1); color: #fff; border-radius: 8px; padding: 5px 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 12px; }
.doctor-name { font-size: 1.3rem; color: var(--text); margin-bottom: 4px; }
.doctor-spec { font-size: 0.85rem; color: var(--text-light); }
.doctor-qual { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qual-pill { background: var(--pearl); border: 1px solid var(--border); border-radius: 50px; padding: 4px 12px; font-size: 0.75rem; color: var(--text-light); font-weight: 500; }

.doctor-text h2 { margin-bottom: 16px; }
.doctor-features { display: grid; gap: 16px; margin: 28px 0; }
.doc-feature { display: flex; align-items: flex-start; gap: 14px; }
.doc-feature-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--teal)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; flex-shrink: 0; }
.doc-feature p { font-size: 0.88rem; }

/* ── Before / After ──────────────────────────────────── */
.ba-section { background: var(--navy); padding: 88px 0; overflow: hidden; }
.ba-head { color: #fff; text-align: center; margin-bottom: 56px; }
.ba-head .section-label { color: var(--teal); }
.ba-head .section-label::before { background: var(--teal); }
.ba-head h2 { color: #fff; }
.ba-head p { color: rgba(255,255,255,0.65); margin: 0 auto; }
.ba-wrapper { position: relative; max-width: 800px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; cursor: ew-resize; user-select: none; box-shadow: var(--shadow-lg); }
.ba-before, .ba-after { position: absolute; inset: 0; overflow: hidden; }
.ba-after { clip-path: inset(0 50% 0 0); transition: none; }
.ba-img { width: 100%; height: 100%; }
.ba-before-img { background: linear-gradient(160deg, #1a1a1a 0%, #2d2d2d 40%, #4a4a4a 100%); }
.ba-after-img  { background: linear-gradient(160deg, #0d47a1 0%, #1565C0 50%, #00ACC1 100%); }
.ba-before-inner, .ba-after-inner {
  width: 100%; height: 460px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 40px; text-align: center;
}
.ba-smile { font-size: 80px; line-height: 1; margin-bottom: 16px; filter: grayscale(0.8) brightness(0.7); }
.ba-after-inner .ba-smile { filter: none; }
.ba-label-text { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; color: rgba(255,255,255,0.9); }
.ba-sub { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 6px; }
.ba-after-inner .ba-label-text, .ba-after-inner .ba-sub { color: rgba(255,255,255,0.95); }
.ba-after-inner .ba-sub { color: rgba(255,255,255,0.7); }
.ba-handle-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); z-index: 3; pointer-events: none; }
.ba-handle-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 4; width: 48px; height: 48px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.3); pointer-events: none; color: var(--blue); }
.ba-label-chip { position: absolute; bottom: 20px; z-index: 4; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; }
.ba-label-chip.left { left: 20px; }
.ba-label-chip.right { right: 20px; }
.ba-drag-hint { text-align: center; margin-top: 20px; color: rgba(255,255,255,0.45); font-size: 0.82rem; }

/* ── Comfort Section ─────────────────────────────────── */
.comfort-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.comfort-card {
  display: flex; gap: 20px; padding: 28px;
  background: var(--snow); border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: var(--transition);
}
.comfort-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.comfort-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.comfort-icon.blue  { background: linear-gradient(135deg, #e8f0fe, #c7d9f8); }
.comfort-icon.teal  { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.comfort-icon.green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.comfort-icon.gold  { background: linear-gradient(135deg, #fff8e1, #ffecb3); }
.comfort-card h4 { color: var(--text); margin-bottom: 6px; }
.comfort-card p  { font-size: 0.88rem; line-height: 1.65; }

/* ── Emergency CTA ───────────────────────────────────── */
.emergency-cta {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  padding: 56px 0; text-align: center; position: relative; overflow: hidden;
}
.emergency-cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.emergency-cta h2 { color: #fff; margin-bottom: 12px; }
.emergency-cta p  { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }
.emergency-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Stats ───────────────────────────────────────────── */
.stats-section { background: linear-gradient(135deg, #1565C0 0%, #00ACC1 100%); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 32px 20px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-num span { font-size: 1.8rem; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 6px; font-weight: 500; }

/* ── Map / Contact Preview ───────────────────────────── */
.contact-preview { background: var(--pearl); }
.contact-preview-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.contact-info-box { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--snow); border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.contact-detail-card:hover { box-shadow: var(--shadow); }
.contact-det-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--teal)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.contact-det-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.contact-det-val { font-size: 0.95rem; font-weight: 600; color: var(--text); line-height: 1.5; }
.map-box { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; background: #dce8f7; position: relative; display: flex; align-items: center; justify-content: center; }
.map-placeholder { text-align: center; padding: 40px; }
.map-placeholder-icon { font-size: 3rem; margin-bottom: 16px; }
.map-placeholder h4 { color: var(--text); margin-bottom: 8px; }
.map-placeholder p { font-size: 0.88rem; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: none; }

/* ── Appointment CTA ─────────────────────────────────── */
.appt-cta { background: linear-gradient(135deg, #0d1b2a 0%, #1565C0 60%, #00ACC1 100%); padding: 88px 0; text-align: center; }
.appt-cta h2 { color: #fff; margin-bottom: 12px; }
.appt-cta p  { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.05rem; }
.appt-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Appointment Form Page ───────────────────────────── */
.appt-section { background: var(--pearl); }
.appt-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: flex-start; }
.appt-form-box { background: var(--snow); border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-md); }
.form-title { margin-bottom: 8px; }
.form-sub { font-size: 0.9rem; margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.form-input, .form-select, .form-textarea {
  padding: 13px 16px; border: 2px solid #e2e8f0; border-radius: var(--radius-sm);
  font-size: 0.92rem; color: var(--text); background: var(--snow);
  transition: var(--transition); outline: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,192,0.1); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; font-size: 1rem; }
.form-note { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 12px; }

.appt-side { display: flex; flex-direction: column; gap: 24px; }
.appt-cta-card {
  border-radius: var(--radius-lg); padding: 32px; color: #fff;
  display: flex; flex-direction: column; gap: 12px;
}
.appt-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.appt-call { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.appt-cta-card h3 { color: #fff; font-size: 1.15rem; }
.appt-cta-card p { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.6; }
.appt-hours { background: var(--snow); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.appt-hours h4 { margin-bottom: 16px; color: var(--text); }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--text-light); }
.hours-time { color: var(--text); font-weight: 600; }

/* ── Gallery ─────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  aspect-ratio: 4/3; background: var(--gray-bg); cursor: pointer;
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item:first-child { grid-column: span 2; aspect-ratio: 16/7; }
.gallery-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; }
.gallery-item-1 { background: linear-gradient(140deg, #0d1b2a, #1565C0); }
.gallery-item-2 { background: linear-gradient(140deg, #1a237e, #283593); }
.gallery-item-3 { background: linear-gradient(140deg, #0f2657, #1565C0); }
.gallery-item-4 { background: linear-gradient(140deg, #00695c, #00897b); }
.gallery-item-5 { background: linear-gradient(140deg, #6a1b9a, #8e24aa); }
.gallery-item-6 { background: linear-gradient(140deg, #e65100, #f57c00); }
.gallery-item-7 { background: linear-gradient(140deg, #1b5e20, #388e3c); }
.gallery-emoji { font-size: 3rem; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.6; }
.gallery-item-label { color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 600; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text { color: #fff; font-weight: 600; text-align: center; font-size: 0.9rem; }

/* ── Team ────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: var(--snow); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { height: 280px; position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.team-photo-bg { position: absolute; inset: 0; }
.team-emoji { font-size: 120px; line-height: 1; position: relative; z-index: 1; opacity: 0.4; filter: grayscale(0.3); user-select: none; }
.team-info { padding: 24px; }
.team-badge { display: inline-block; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; border-radius: 6px; padding: 3px 10px; font-size: 0.7rem; font-weight: 700; margin-bottom: 10px; }
.team-name { font-size: 1.15rem; color: var(--text); margin-bottom: 4px; }
.team-spec { font-size: 0.82rem; color: var(--text-light); }
.team-quals { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ── Patient Care / FAQ ───────────────────────────────── */
.faq-grid { display: grid; gap: 16px; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--snow); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--text); font-size: 0.95rem; gap: 16px; }
.faq-q:hover { background: var(--pearl); }
.faq-icon { font-size: 1.3rem; flex-shrink: 0; transition: var(--transition); color: var(--blue); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 0.9rem; line-height: 1.75; color: var(--text-light); }
.faq-item.open .faq-a { display: block; }

/* ── Contact Page ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-form-box { background: var(--snow); border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow-md); }

/* ── Page Hero ───────────────────────────────────────── */
.page-hero {
  padding: 140px 0 72px; text-align: center;
  background: linear-gradient(135deg, #0d1b2a 0%, #1565C0 55%, #00ACC1 100%);
  position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(0,188,212,0.12); filter: blur(40px); }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 0.8rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--teal); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: #08111e; color: rgba(255,255,255,0.7); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.9); }
.footer-brand .logo-text small { color: rgba(255,255,255,0.4); }
.footer-brand .logo-badge { background: var(--blue); }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,0.55); max-width: 240px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: var(--transition); text-decoration: none; }
.social-btn:hover { background: var(--blue); }

.footer-col h5 { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--teal); padding-left: 6px; }

.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-item .icon { font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.footer-contact-item p { font-size: 0.83rem; line-height: 1.6; color: rgba(255,255,255,0.55); }
.footer-contact-item a { color: rgba(255,255,255,0.8); font-weight: 600; }
.footer-contact-item a:hover { color: var(--teal); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.8rem; transition: var(--transition); }
.footer-bottom a:hover { color: var(--teal); }

/* ── Scroll Animations ───────────────────────────────── */
[data-aos] { opacity: 0; transition: opacity 0.65s ease, transform 0.65s ease; }
[data-aos="fade-up"]    { transform: translateY(40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"]  { transform: translateX(40px); }
[data-aos="zoom-in"]    { transform: scale(0.9); }
[data-aos].visible { opacity: 1; transform: none; }

/* Staggered */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ── Keyframes ───────────────────────────────────────── */
@keyframes kenBurns { from { transform: scale(1.06) translateX(0.5%); } to { transform: scale(1) translateX(0); } }
@keyframes blobA    { from { transform: translate(0,0) scale(1);      } to { transform: translate(24px,-18px) scale(1.08); } }
@keyframes blobB    { from { transform: translate(0,0);               } to { transform: translate(-18px, 20px) scale(0.92); } }
@keyframes toothFloat { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-16px) rotate(5deg); } }
@keyframes floatY   { from { transform: translateY(0); }              to { transform: translateY(-12px); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseDot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(1.5); } }
@keyframes countUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer  { 0% { left: -100%; } 100% { left: 200%; } }

/* ── Utilities ───────────────────────────────────────── */
.text-blue  { color: var(--blue); }
.text-teal  { color: var(--teal); }
.text-white { color: #fff; }
.bg-pearl   { background: var(--pearl); }
.bg-navy    { background: var(--navy); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-4  { margin-top: 16px; }
.mb-4  { margin-bottom: 16px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { min-height: 300px; }
  .appt-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-preview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px; gap: 4px;
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: var(--transition); box-shadow: var(--shadow-md);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { color: var(--text) !important; width: 100%; padding: 12px 16px; }
  .nav-cta { width: 100%; justify-content: center; }
  .navbar.transparent .nav-link { color: var(--text) !important; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .treatments-grid { grid-template-columns: 1fr; }
  .comfort-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.15); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1/-1; aspect-ratio: 16/9; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .appt-form-box { padding: 28px 20px; }
  .hero-phone { display: none; }
  .ba-before-inner, .ba-after-inner { height: 280px; }
  .ba-smile { font-size: 52px; }
  .ba-label-text { font-size: 1.2rem; }
  .hero-controls { left: 50%; transform: translateX(-50%); bottom: 24px; }
  .contact-form-box { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; }
  .trust-item:nth-child(odd) { border-right: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { aspect-ratio: 16/10; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .slide-content { padding: 0 5%; }
  .page-hero { padding: 120px 0 56px; }
  .doctor-photo { height: 240px; }
}
