/* ═══════════════════════════════════════════════════
   DIGITAL DENTAL ZONE — Main Stylesheet
   Crimson Rose · Glassmorphism · Premium Dental
   ═══════════════════════════════════════════════════ */

@import url('variables.css');
@import url('animations.css');
@import url('icons.css');

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--darkest);
  background: radial-gradient(ellipse at 50% 20%, var(--dark-accent) 0%, var(--dark) 50%, var(--darkest) 100%);
  background-attachment: fixed;
  overflow-x: clip;
  width: 100%;
  position: relative;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bengali mode */
body.bn-mode {
  font-family: var(--ff-bengali);
}

img, video, iframe, canvas, svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

/* ── Utility ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.glass {
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
}

.accent-text { color: var(--accent); }
.accent2-text { color: var(--accent2); }

/* ═══════════════════════════════════════════════════
   LANGUAGE TOGGLE (Strict Isolation)
   ═══════════════════════════════════════════════════ */
[data-lang-en] {
  display: inline;
}
[data-lang-bn] {
  display: none !important;
}

body.bn-mode [data-lang-en] {
  display: none !important;
}
body.bn-mode [data-lang-bn] {
  display: inline !important;
}

/* Block & flex elements under language toggle */
div[data-lang-en], p[data-lang-en], h1[data-lang-en], h2[data-lang-en], h3[data-lang-en], h4[data-lang-en], ul[data-lang-en], li[data-lang-en], .stat-title[data-lang-en], .stat-sub[data-lang-en] {
  display: block;
}
body.bn-mode div[data-lang-bn], body.bn-mode p[data-lang-bn], body.bn-mode h1[data-lang-bn], body.bn-mode h2[data-lang-bn], body.bn-mode h3[data-lang-bn], body.bn-mode h4[data-lang-bn], body.bn-mode ul[data-lang-bn], body.bn-mode li[data-lang-bn], body.bn-mode .stat-title[data-lang-bn], body.bn-mode .stat-sub[data-lang-bn] {
  display: block !important;
}


/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

nav.scrolled {
  background: rgba(58, 11, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 60px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.nav-logo:hover .nav-logo-name {
  color: var(--accent);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.nav-logo-icon img,
.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.nav-logo-name {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--fw-medium);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-drawer-cta-wrap {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-lang-toggle {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.nav-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.nav-cta {
  font-size: 14px;
  font-weight: var(--fw-bold);
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  color: white;
  transition: all var(--duration-fast) ease;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm, 10px);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1002;
}

.nav-toggle:hover {
  background: rgba(232, 132, 154, 0.18);
  border-color: var(--border-accent);
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              background-color 0.25s ease;
  transform-origin: center;
}

.nav-toggle.open {
  background: rgba(232, 132, 154, 0.22);
  border-color: var(--accent);
}

.nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent);
}

.nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent);
}

/* Nav Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 60px 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 132, 154, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent);
}

.hero-tag span::before {
  content: '✦';
}

.hero-h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  margin: 20px 0;
  text-transform: uppercase;
}

.hero-h1 em {
  font-style: italic;
  font-family: var(--ff-heading);
  color: var(--accent);
  text-transform: none;
}

.hero-sub {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: var(--lh-body);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  transition: all var(--duration-normal) var(--ease-out);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(196, 72, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 72, 94, 0.5);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.30);
  color: rgba(255, 255, 255, 0.80);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  transition: all var(--duration-normal) var(--ease-out);
  background: transparent;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--white);
  background: rgba(232, 132, 154, 0.1);
}

.btn-secondary svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-secondary:hover svg {
  fill: var(--white);
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
}

.hero-stat .num {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--accent);
  letter-spacing: -1px;
}

.hero-stat .lbl {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 2px;
}

/* Hero Visual (right side) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-card {
  width: 380px;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating credential badge */
.hero-cred {
  position: absolute;
  top: 30px;
  left: -30px;
  background: var(--glass-bg-strong);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  text-align: center;
  color: var(--white);
  z-index: 2;
}

/* Floating info badge */
.hero-badge {
  position: absolute;
  bottom: 40px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg-strong);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  z-index: 2;
}

.badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(232, 132, 154, 0.20);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.badge-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.badge-text span {
  font-size: 11px;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════
   STATS BAR (Smooth Ticker & Drag Scroll)
   ═══════════════════════════════════════════════════ */
.stats-section {
  position: relative;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0 10px;
  overflow: hidden;
  user-select: none;
}

.stats-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.stats-scroll-container::-webkit-scrollbar {
  display: none;
}
.stats-scroll-container.is-dragging {
  cursor: grabbing;
}

.stats-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 24px;
  align-items: stretch;
}

.stat-card {
  flex: 0 0 210px;
  min-width: 190px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(230, 57, 70, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(230, 57, 70, 0.2);
}

.stat-num {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: var(--fw-extrabold, 800);
  color: var(--accent, #e63946);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
  line-height: 1.15;
}

.stat-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-size: var(--fs-sm, 14px);
  color: var(--muted, #d1a8b0);
}

.stat-title {
  font-size: 13.5px;
  font-weight: var(--fw-semibold, 600);
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0;
}

.stat-sub {
  display: none;
}

/* Custom Interactive Scrollbar Track */
.stats-scrollbar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  position: relative;
  z-index: 4;
}

.stats-scrollbar-track {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  padding: 4px 0;
  background-clip: content-box;
  transition: background-color 0.2s ease;
}

.stats-scrollbar-track:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.stats-scrollbar-thumb {
  position: absolute;
  top: 4px;
  left: 0;
  height: 3px;
  width: 40px;
  background: linear-gradient(90deg, var(--accent, #e63946), var(--accent2, #ff758f));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.6);
  cursor: grab;
  transition: height 0.15s ease, top 0.15s ease;
}

.stats-scrollbar-thumb.is-dragging {
  cursor: grabbing;
  height: 5px;
  top: 3px;
  background: linear-gradient(90deg, #ff4d5e, #ff8fa3);
}


/* ═══════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════ */
section {
  padding: var(--space-5xl) 0;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 132, 154, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.section-tag::before {
  content: '✦';
}

.section-h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-heading);
  letter-spacing: -2px;
  margin-bottom: var(--space-lg);
}

.section-h2 em {
  font-style: italic;
  font-family: var(--ff-heading);
  color: var(--accent);
}

.section-sub {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 520px;
  line-height: var(--lh-body);
}

/* ═══════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-card);
}

.about-photo-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-cred-strip {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--glass-bg-strong);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  z-index: 2;
}

.about-cred-strip .deg {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--accent);
}

.about-cred-strip .deg span {
  color: var(--muted);
  font-weight: var(--fw-regular);
}

.about-cred-strip .inst {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.about-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-sm);
}

.about-body {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
}

.cred-list {
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cred-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.80);
}

.cred-item .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}


/* ═══════════════════════════════════════════════════
   SERVICES — STICKY SCROLL STACK
   ═══════════════════════════════════════════════════ */
.services-intro {
  text-align: center;
  padding: var(--space-5xl) var(--space-lg) var(--space-2xl);
}

/* ═══════════════════════════════════════════════════
   OPTION 1: SERVICES — CATEGORY TABS & TREATMENT CARDS
   ═══════════════════════════════════════════════════ */
.service-tabs-wrapper {
  margin: var(--space-2xl) 0 var(--space-xl);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.service-tabs-wrapper::-webkit-scrollbar { display: none; }

.service-tabs {
  display: flex;
  gap: 10px;
  min-width: max-content;
  padding: 4px 2px;
}

.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-pill);
  color: var(--muted-light);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
  user-select: none;
}

.svc-tab-icon {
  font-size: 16px;
  line-height: 1;
}

.svc-tab:hover {
  background: rgba(232, 132, 154, 0.15);
  border-color: var(--border-accent);
  color: #fff;
  transform: translateY(-2px);
}

.svc-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px rgba(196, 72, 94, 0.45);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   6 CATEGORIES SHOWCASE & WIRE-CONNECTED FLYOUT
   ═══════════════════════════════════════════════════ */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  margin-top: var(--space-xl);
  position: relative;
}

@media (max-width: 1100px) {
  .category-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .category-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.cat-showcase-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(68, 14, 28, 0.72), rgba(22, 4, 9, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
  cursor: pointer;
  user-select: none;
}

.cat-showcase-card:hover,
.cat-showcase-card.is-active {
  transform: translateY(-6px);
  border-color: rgba(232, 132, 154, 0.55);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 28px rgba(196, 72, 94, 0.35);
  z-index: 50;
}

.cat-showcase-media {
  position: relative;
  width: 100%;
  height: 205px;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  overflow: hidden;
  background: #140307;
}

.cat-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.cat-showcase-card:hover .cat-showcase-media img {
  transform: scale(1.07);
}

.cat-showcase-num {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 3, 7, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.cat-showcase-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.count-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.cat-showcase-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-showcase-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.35;
}

.cat-showcase-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 var(--space-md);
  flex: 1;
}

.cat-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cat-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cat-showcase-card:hover .cat-explore-btn {
  color: #fff;
  transform: translateX(3px);
}

.cat-wire-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 10px var(--accent);
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.cat-showcase-card:hover .cat-wire-node-dot,
.cat-showcase-card.is-active .cat-wire-node-dot {
  transform: scale(1.35);
  background: #ff5e7e;
  box-shadow: 0 0 16px #ff5e7e;
}

/* ── Wire Connected Flyout ── */
.cat-wire-flyout {
  position: absolute;
  top: -10px;
  left: calc(100% + 22px);
  width: 360px;
  background: radial-gradient(circle at 10% 20%, rgba(55, 11, 22, 0.98), rgba(18, 3, 7, 0.98));
  border: 1px solid rgba(232, 132, 154, 0.45);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(196, 72, 94, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(12px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease;
  z-index: 100;
}

/* When near the right boundary, flip to left side */
.cat-showcase-card.flyout-left .cat-wire-flyout {
  left: auto;
  right: calc(100% + 22px);
  transform: translateX(-12px) scale(0.96);
}

.cat-showcase-card:hover .cat-wire-flyout,
.cat-showcase-card.is-active .cat-wire-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

/* ═══════════════════════════════════════════════════
   CATEGORY SHOWCASE — SPOTLIGHT & BLUR FOCUS MODE
   (Laptop & Desktop Only: min-width 993px)
   ═══════════════════════════════════════════════════ */
@media (min-width: 993px) {
  #services {
    position: relative;
  }

  .category-showcase-grid {
    position: relative;
    z-index: 10;
  }

  .cat-showcase-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.35s ease;
  }

  /* When any card is hovered or active, dim and blur all other cards */
  .category-showcase-grid:hover .cat-showcase-card:not(:hover),
  .category-showcase-grid.has-active .cat-showcase-card:not(.is-active),
  .category-showcase-grid.has-hovered .cat-showcase-card:not(:hover) {
    filter: blur(5px) brightness(0.45);
    opacity: 0.32;
    transform: scale(0.96);
    pointer-events: none;
  }

  /* The hovered or active card stays 100% sharp, bright, and elevated */
  .cat-showcase-card:hover,
  .cat-showcase-card.is-active {
    filter: none !important;
    opacity: 1 !important;
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(232, 132, 154, 0.75);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(232, 132, 154, 0.45);
    z-index: 100;
    pointer-events: auto !important;
  }

  /* Softly blur section headers when a category is explored */
  #services.has-hovered .section-tag,
  #services.has-hovered .section-h2,
  #services.has-hovered .section-sub,
  #services.has-active .section-tag,
  #services.has-active .section-h2,
  #services.has-active .section-sub,
  #services:has(.cat-showcase-card:hover) .section-tag,
  #services:has(.cat-showcase-card:hover) .section-h2,
  #services:has(.cat-showcase-card:hover) .section-sub {
    filter: blur(3px) brightness(0.6);
    opacity: 0.4;
    transition: filter 0.35s ease, opacity 0.35s ease;
  }

  /* Flyout pop-up remains crisp with high z-index */
  .cat-wire-flyout {
    z-index: 110;
  }
}

/* SVG Connector Wire Canvas */
.cat-wire-svg-canvas {
  position: absolute;
  top: 0;
  left: -24px;
  width: 24px;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.cat-showcase-card.flyout-left .cat-wire-svg-canvas {
  left: auto;
  right: -24px;
  transform: scaleX(-1);
}

.wire-path {
  fill: none;
  stroke: rgba(232, 132, 154, 0.5);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 4, 4;
  animation: wireDash 25s linear infinite;
  transition: stroke 0.25s ease, stroke-width 0.25s ease, filter 0.25s ease;
}

.wire-treatment-item:hover ~ .cat-wire-svg-canvas .wire-path,
.wire-path.is-active {
  stroke: #ff6088;
  stroke-width: 2.5px;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 8px #ff6088);
}

@keyframes wireDash {
  to {
    stroke-dashoffset: -1000;
  }
}

.wire-flyout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wire-flyout-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-transform: uppercase;
}

.wire-flyout-hint {
  font-size: 11px;
  color: var(--muted);
}

.wire-treatments-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 2px;
}

/* Custom scrollbar for treatments list */
.wire-treatments-list::-webkit-scrollbar {
  width: 4px;
}
.wire-treatments-list::-webkit-scrollbar-thumb {
  background: rgba(232, 132, 154, 0.3);
  border-radius: 4px;
}

.wire-treatment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.wire-treatment-item::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232, 132, 154, 0.6);
  box-shadow: 0 0 6px rgba(232, 132, 154, 0.6);
  transition: all 0.2s ease;
}

.cat-showcase-card.flyout-left .wire-treatment-item::before {
  left: auto;
  right: -12px;
}

.wire-treatment-item:hover {
  background: rgba(232, 132, 154, 0.18);
  border-color: rgba(232, 132, 154, 0.6);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(196, 72, 94, 0.3);
}

.cat-showcase-card.flyout-left .wire-treatment-item:hover {
  transform: translateX(-4px);
}

.wire-treatment-item:hover::before {
  background: #ff5e7e;
  box-shadow: 0 0 10px #ff5e7e;
  transform: translateY(-50%) scale(1.4);
}

.wire-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.wire-item-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(232, 132, 154, 0.6);
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wire-treatment-item:hover .wire-item-dot {
  transform: scale(1.4);
  background: #ff5e7e;
  box-shadow: 0 0 12px #ff5e7e;
}

.wire-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wire-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.wire-item-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(30, 6, 12, 0.85);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wire-item-arrow {
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.wire-treatment-item:hover .wire-item-arrow {
  color: #fff;
  transform: translateX(2px) translateY(-2px);
}

/* Responsive for Mobile & Tablets */
@media (max-width: 992px) {
  .cat-wire-flyout {
    position: static;
    left: auto !important;
    right: auto !important;
    width: 100%;
    margin-top: 14px;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .cat-showcase-card.is-active .cat-wire-flyout {
    display: block;
  }

  .cat-wire-svg-canvas {
    display: none;
  }

  .wire-treatment-item::before {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
   TREATMENT DETAIL MODAL POPUP
   ═══════════════════════════════════════════════════ */
.treatment-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 3, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.treatment-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.treatment-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background: radial-gradient(circle at 30% 20%, rgba(74, 16, 31, 0.98), #1a040b 95%);
  border: 1px solid rgba(232, 132, 154, 0.4);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(196, 72, 94, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow-y: auto;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.treatment-modal-backdrop.open .treatment-modal-dialog {
  transform: scale(1) translateY(0);
}

.treatment-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.treatment-modal-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.treatment-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 480px;
}

.treatment-modal-media {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.treatment-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-modal-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(30, 6, 13, 0.85);
  border: 1px solid rgba(232, 132, 154, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.treatment-modal-price-pill {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.treatment-modal-learn-more-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(22, 4, 9, 0.88);
  border: 1px solid rgba(232, 132, 154, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff !important;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.treatment-modal-learn-more-btn svg {
  transition: transform 0.25s ease;
}

.treatment-modal-learn-more-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 72, 94, 0.6);
  color: #fff !important;
}

.treatment-modal-learn-more-btn:hover svg {
  transform: translateX(3px);
}

.treatment-modal-info {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.treatment-modal-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  margin-bottom: 6px;
}

.treatment-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.3;
}

.treatment-modal-desc p {
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.65;
  margin: 0 0 16px;
}

.treatment-modal-benefits {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.treatment-modal-benefits strong {
  display: block;
  font-size: 12px;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.treatment-modal-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.treatment-modal-benefits li {
  font-size: 13px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.treatment-modal-benefits li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}

.treatment-modal-cost-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(196, 72, 94, 0.12);
  border: 1px dashed rgba(232, 132, 154, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.cost-box-left .cost-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.cost-box-left .cost-amount {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.cost-box-right .cost-note {
  font-size: 11px;
  color: var(--muted-light);
  text-align: right;
  line-height: 1.4;
  display: block;
  max-width: 180px;
}

.treatment-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.treatment-modal-actions .btn {
  flex: 1;
  min-width: 160px;
  text-align: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .treatment-modal-body {
    grid-template-columns: 1fr;
  }
  .treatment-modal-media {
    height: 200px;
    min-height: auto;
  }
  .treatment-modal-info {
    padding: 20px;
  }
  .treatment-modal-cost-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cost-box-right .cost-note {
    text-align: left;
    max-width: 100%;
  }
  .treatment-modal-actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════
   DOCTOR BANNER
   ═══════════════════════════════════════════════════ */
.doctor-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.doctor-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.doctor-banner-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    var(--darkest) 0%,
    transparent 20%,
    transparent 70%,
    var(--darkest) 100%
  );
}

/* ═══════════════════════════════════════════════════
   WHY CHOOSE US — ROADMAP & 3D DENTAL SCANNER
   ═══════════════════════════════════════════════════ */
.why-grid {
  display: block;
  max-width: 1100px;
  margin: 40px auto 0;
}

/* ── Roadmap Timeline / Why Choose Us Grid ── */
.why-roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 24px;
  padding-left: 0;
}

.roadmap-spine {
  display: none;
}

.roadmap-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  z-index: 2;
  cursor: pointer;
}

.roadmap-node {
  position: relative;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #25070e;
  border: 2px solid rgba(232, 132, 154, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.node-core {
  font-size: 15px;
  font-weight: var(--fw-extrabold);
  color: var(--muted-light);
  transition: color 0.3s ease;
}

.node-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 132, 154, 0.3);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.roadmap-card {
  flex: 1;
  background: radial-gradient(circle at 50% 0%, rgba(55, 12, 23, 0.75), rgba(20, 4, 8, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.roadmap-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 6px;
}

.roadmap-card strong {
  display: block;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: 6px;
}

.roadmap-card p {
  font-size: var(--fs-sm);
  color: var(--muted-light, #d1bcc1);
  line-height: 1.6;
  margin: 0;
}

/* Roadmap Active / Hover States */
.roadmap-item:hover .roadmap-card,
.roadmap-item.active .roadmap-card {
  background: radial-gradient(circle at 50% 0%, rgba(85, 17, 34, 0.85), rgba(28, 5, 11, 0.98));
  border-color: rgba(232, 132, 154, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(196, 72, 94, 0.22);
}

.roadmap-item:hover .roadmap-node,
.roadmap-item.active .roadmap-node {
  border-color: var(--accent);
  background: linear-gradient(135deg, #4a101f, #25070e);
  box-shadow: 0 0 20px rgba(196, 72, 94, 0.6);
  transform: scale(1.08);
}

.roadmap-item:hover .node-core,
.roadmap-item.active .node-core {
  color: #fff;
}

.roadmap-item:hover .node-ring,
.roadmap-item.active .node-ring {
  opacity: 1;
  transform: scale(1);
  animation: nodeSpin 12s linear infinite;
}

@keyframes nodeSpin {
  100% { transform: rotate(360deg); }
}

/* ── 3D Dental Hologram Card ── */
.why-3d-visual {
  position: relative;
  perspective: 1200px;
}

.dental-3d-card {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(74, 16, 31, 0.95), #180308 90%);
  border: 1px solid rgba(232, 132, 154, 0.3);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(196, 72, 94, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.dental-3d-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dental-hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #38ef7d;
}

.hud-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38ef7d;
  box-shadow: 0 0 10px #38ef7d;
  animation: hudBlink 1.5s ease-in-out infinite;
}

@keyframes hudBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.dental-hud-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: rgba(196, 72, 94, 0.2);
  border: 1px solid rgba(232, 132, 154, 0.4);
  border-radius: var(--radius-pill);
  color: var(--accent);
}

/* Hologram Stage */
.dental-hologram-stage {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  overflow: hidden;
}

/* Wireframe Ground Plane */
.holo-grid-plane {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 140%;
  height: 120px;
  background:
    linear-gradient(rgba(196, 72, 94, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 72, 94, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: perspective(300px) rotateX(65deg);
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
  pointer-events: none;
}

/* Sweeping Laser Beam */
.holo-laser-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 109, 0.3), #ff4d6d, #ffd700, #ff4d6d, rgba(255, 77, 109, 0.3), transparent);
  box-shadow: 0 0 16px #ff4d6d, 0 0 30px rgba(255, 77, 109, 0.5);
  animation: laserScan 4s ease-in-out infinite alternate;
  z-index: 4;
  pointer-events: none;
}

@keyframes laserScan {
  0% { top: 8%; opacity: 0.8; }
  50% { opacity: 1; }
  100% { top: 90%; opacity: 0.8; }
}

/* 3D Floating Tooth Model */
.holo-tooth-3d {
  position: relative;
  width: 240px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatTooth 5s ease-in-out infinite;
  transform-style: preserve-3d;
  z-index: 3;
}

@keyframes floatTooth {
  0%, 100% { transform: translateY(0) rotateY(-4deg); }
  50% { transform: translateY(-12px) rotateY(6deg); }
}

.holo-tooth-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

/* Pulsing Neural & Apex FX */
.apex-pulse {
  animation: apexGlow 2s ease-in-out infinite alternate;
}

.pulp-core-pulse {
  animation: pulpGlow 2.5s ease-in-out infinite alternate;
}

@keyframes apexGlow {
  0% { r: 3.5; opacity: 0.6; fill: #ff4d6d; }
  100% { r: 6.5; opacity: 1; fill: #ffd700; filter: drop-shadow(0 0 8px #ffd700); }
}

@keyframes pulpGlow {
  0% { r: 5; opacity: 0.6; }
  100% { r: 8.5; opacity: 1; filter: drop-shadow(0 0 10px #ffe066); }
}

.ping-ring {
  animation: pingRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  transform-origin: center;
}

@keyframes pingRing {
  0% { r: 4; opacity: 1; }
  100% { r: 16; opacity: 0; }
}

/* Floating Glass Badges */
.holo-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(30, 6, 13, 0.85);
  border: 1px solid rgba(232, 132, 154, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 5;
  pointer-events: none;
}

.holo-floating-badge strong {
  display: block;
  font-size: 12px;
  color: #fff;
  line-height: 1.2;
}

.holo-floating-badge small {
  font-size: 10px;
  color: var(--accent);
}

.badge-precision {
  top: 24px;
  left: 10px;
  animation: badgeBob1 4.5s ease-in-out infinite;
}

.badge-comfort {
  bottom: 24px;
  right: 10px;
  animation: badgeBob2 5s ease-in-out infinite;
}

@keyframes badgeBob1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes badgeBob2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Interactive Mode Controls */
.dental-3d-controls {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-3d-mode {
  flex: 1;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-3d-mode:hover {
  background: rgba(232, 132, 154, 0.15);
  border-color: var(--border-accent);
  color: #fff;
}

.btn-3d-mode.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 72, 94, 0.4);
}

/* Responsive adjustments for Why Choose Us */
@media (max-width: 820px) {
  .why-roadmap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ═══════════════════════════════════════════════════
   GOOGLE REVIEWS (Single-Row Continuous Carousel & Drag)
   ═══════════════════════════════════════════════════ */
.reviews-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.review-stars {
  font-size: var(--fs-xl);
  color: #FFD700;
  letter-spacing: 2px;
}

.review-score {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
}

.review-source {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.reviews-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.reviews-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0 20px;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  user-select: none;
}

.reviews-scroll-container::-webkit-scrollbar {
  display: none;
}

.reviews-scroll-container.is-dragging {
  cursor: grabbing;
}

.reviews-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  width: max-content;
  align-items: stretch;
}

.review-img-card {
  flex: 0 0 350px;
  width: 350px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  user-select: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.review-img-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: var(--border-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px var(--glow-soft);
}

.review-img-card img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  background: #ffffff;
}

.review-img-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #2a050f;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: var(--fs-xs, 12px);
  font-weight: var(--fw-semibold, 600);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide, 1px);
  margin-top: auto;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.review-img-card:hover .review-img-link {
  background: #380816;
  color: #ff8fa3;
}

.reviews-scrollbar-wrap {
  width: 100%;
  max-width: 280px;
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
}

.reviews-scrollbar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: height 0.2s ease, background 0.2s ease;
}

.reviews-scrollbar-track:hover {
  height: 6px;
  background: rgba(255, 255, 255, 0.20);
}

.reviews-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 999px;
  cursor: grab;
  box-shadow: 0 0 10px var(--glow-accent);
  transition: transform 0.05s linear;
}

.reviews-scrollbar-thumb.is-dragging {
  cursor: grabbing;
  background: var(--white);
}

@media (max-width: 768px) {
  .review-img-card {
    flex: 0 0 290px;
    width: 290px;
  }
  .reviews-track {
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════════════
   COST CALCULATOR
   ═══════════════════════════════════════════════════ */
#calculator {
  overflow: visible;
  position: relative;
}

#calculator .section-inner {
  overflow: visible;
  position: relative;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  align-items: start;
  position: relative;
  overflow: visible;
}

.calc-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.calc-category {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.calc-category:hover {
  border-color: rgba(232, 132, 154, 0.2);
}

.calc-category-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--accent);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 8px;
  user-select: none;
  position: relative;
}

.calc-item:last-child {
  margin-bottom: 0;
}

.calc-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 132, 154, 0.25);
  transform: translateX(4px);
}

.calc-item.selected {
  background: rgba(196, 72, 94, 0.18);
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(196, 72, 94, 0.25), inset 0 0 0 1px var(--accent);
  transform: translateX(4px);
}

.calc-item-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  margin-right: 10px;
  font-size: 10px;
  color: transparent;
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
}

.calc-item.selected .calc-item-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 10px rgba(232, 132, 154, 0.5);
}

.calc-item-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.calc-item-price {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--accent);
  white-space: nowrap;
  padding-left: 12px;
}

/* Receipt - Fixed / Sticky on Right Side on Desktop & Laptop */
.receipt {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 132, 154, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--nav-height, 72px) + 24px);
  align-self: start;
  z-index: 20;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(196, 72, 94, 0.12);
  max-height: calc(100vh - var(--nav-height, 72px) - 36px);
  overflow-y: auto;
}

.receipt::-webkit-scrollbar {
  width: 5px;
}

.receipt::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.receipt::-webkit-scrollbar-thumb {
  background: rgba(232, 132, 154, 0.3);
  border-radius: 4px;
}

.receipt-top {
  text-align: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  margin-bottom: var(--space-md);
}

.receipt-top strong {
  display: block;
  font-size: var(--fs-md);
  margin-bottom: 4px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.receipt-top span {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.4;
}

.receipt-body {
  min-height: 90px;
}

.receipt-empty {
  text-align: center;
  color: var(--muted-light);
  font-size: var(--fs-sm);
  padding: var(--space-xl) 0;
  font-style: italic;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  animation: fadeIn 0.25s ease;
}

.receipt-line-name {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.receipt-line-price {
  font-weight: var(--fw-bold);
  color: var(--accent);
  white-space: nowrap;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  margin-top: var(--space-md);
  font-size: var(--fs-lg);
  font-weight: var(--fw-extrabold);
  color: var(--white);
}

.receipt-total span:last-child {
  color: #4ADE80;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.3);
}

.receipt-note {
  font-size: 11px;
  color: var(--muted-light);
  text-align: center;
  line-height: 1.5;
  margin: var(--space-md) 0;
}

/* ═══════════════════════════════════════════════════
   BEFORE / AFTER GALLERY
   ═══════════════════════════════════════════════════ */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.ba-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ba-images {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ba-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-images img.ba-after {
  clip-path: inset(0 0 0 50%);
}

.ba-badge {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  background: rgba(30, 8, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  z-index: 2;
  pointer-events: none;
}

.ba-badge-before {
  left: 14px;
}

.ba-badge-after {
  right: 14px;
  background: rgba(196, 72, 94, 0.85);
  border-color: rgba(232, 132, 154, 0.4);
}

.ba-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  cursor: ew-resize;
  z-index: 3;
}

.ba-slider::after {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.ba-labels {
  display: flex;
  justify-content: space-between;
  padding: var(--space-md);
}

.ba-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--muted);
}

.ba-caption {
  padding: 0 var(--space-md) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════
   CHAMBER HOURS
   ═══════════════════════════════════════════════════ */
.hours-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.hours-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hours-header-bar {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  padding: var(--space-lg);
}

.hours-header-bar h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
}

.hours-header-bar p {
  font-size: var(--fs-sm);
  opacity: 0.85;
}

.hours-list {
  padding: var(--space-md);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--fs-sm);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  font-weight: var(--fw-medium);
}

.hours-row .time {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.hours-row.highlight .time {
  color: #4ADE80;
}

/* Emergency card */
.emergency-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.emergency-card h4 {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.emergency-card h4 svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.emergency-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.emergency-card .phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.emergency-card .phone svg {
  width: 14px;
  height: 14px;
  fill: white;
}

/* ═══════════════════════════════════════════════════
   FAQ SECTION (Interactive, Filterable, 2-Column Grid)
   ═══════════════════════════════════════════════════ */
.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-controls {
  max-width: 900px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.faq-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  pointer-events: none;
}

.faq-search-wrapper input {
  width: 100%;
  padding: 12px 42px 12px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill, 999px);
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.faq-search-wrapper input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 132, 154, 0.25), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faq-search-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.faq-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s ease;
}

.faq-search-clear:hover {
  background: var(--accent);
  color: #fff;
}

.faq-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill, 999px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.faq-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 132, 154, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.faq-pill.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(196, 72, 94, 0.45);
  transform: translateY(-2px);
}

.faq-pill-count {
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 7px;
  border-radius: 999px;
  letter-spacing: 0;
}

.faq-pill.active .faq-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* FAQ 2-Column Responsive Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.faq-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 132, 154, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 16px rgba(232, 132, 154, 0.1);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.065);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 132, 154, 0.25);
}

.faq-item.faq-hidden {
  display: none !important;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.faq-num {
  display: none !important;
}

.faq-title-wrap {
  font-size: 14.5px;
  line-height: 1.35;
  color: #ffffff;
  transition: color 0.2s ease;
}

.faq-item:hover .faq-title-wrap,
.faq-item.active .faq-title-wrap {
  color: #ffffff;
}

.faq-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-plus {
  font-size: 18px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item:hover .faq-icon-bubble {
  background: rgba(232, 132, 154, 0.2);
  border-color: var(--accent);
}

.faq-item.active .faq-icon-bubble {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(232, 132, 154, 0.6);
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
  color: #ffffff;
}

/* Modern Smooth Grid Accordion */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
  padding: 0 20px 18px;
}

.faq-answer-inner {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.faq-answer-inner p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Empty State */
.faq-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  margin-top: 10px;
}

.faq-empty-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.faq-empty-state h4 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 6px;
}

.faq-empty-state p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ── Modern High-Converting Doctor Consultation CTA Banner ── */
.faq-cta-banner {
  margin-top: 48px;
  background: radial-gradient(circle at 85% 20%, rgba(95, 18, 40, 0.95), rgba(24, 4, 10, 0.98));
  border: 1px solid rgba(232, 132, 154, 0.4);
  border-radius: var(--radius-xl, 24px);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(196, 72, 94, 0.22);
  position: relative;
  overflow: hidden;
}

.faq-cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(232, 132, 154, 0.18), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.faq-cta-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 300px;
  z-index: 1;
}

.faq-cta-doctor-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent2), #ffd700);
  box-shadow: 0 0 20px rgba(196, 72, 94, 0.45);
}

.cta-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.cta-online-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2px solid #18040a;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite;
}

.faq-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-cta-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.cta-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.faq-cta-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.faq-cta-sub {
  font-size: 13.5px;
  color: var(--muted-light, #d1bcc1);
  margin: 0;
  line-height: 1.55;
  max-width: 540px;
}

.faq-cta-perks {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.cta-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: var(--radius-pill, 999px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.perk-icon {
  font-size: 12px;
}

.faq-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 260px;
  z-index: 1;
}

.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius-pill, 999px);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5), 0 0 16px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-cta-wa .cta-arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn-cta-wa:hover .cta-arrow {
  transform: translateX(3px);
}

.btn-cta-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 132, 154, 0.4);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-pill, 999px);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cta-call:hover {
  background: rgba(232, 132, 154, 0.18);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-hours-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-cta-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 22px;
    gap: 22px;
  }
  .faq-cta-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .faq-cta-actions {
    width: 100%;
    min-width: 100%;
  }
  .btn-cta-wa,
  .btn-cta-call {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.contact-card:hover {
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.c-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 132, 154, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.c-text strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 2px;
}

.c-text span {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Map */
.map-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-header svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
}

.map-header span {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.map-frame {
  width: 100%;
  height: 350px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.8) brightness(0.8) contrast(1.1);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-3xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-brand .logo-name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: var(--muted);
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--muted-light);
  flex-wrap: wrap;
}

.footer-developer {
  color: var(--muted-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-developer a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-developer a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════
   FLOATING CHAT ACTIONS (WhatsApp + FB Messenger)
   ═══════════════════════════════════════════════════ */
.floating-chat-group {
  position: fixed;
  bottom: 86px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.chat-float {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  text-decoration: none;
}

.whatsapp-float {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulseGlowWA 2.8s ease-in-out infinite;
}

.messenger-float {
  background: linear-gradient(135deg, #00B2FE 0%, #006AFF 50%, #9B00E8 100%);
  box-shadow: 0 4px 20px rgba(0, 106, 255, 0.45);
  animation: pulseGlowFB 2.8s ease-in-out infinite 1.4s;
}

.chat-float:hover {
  transform: scale(1.12) translateY(-2px);
}

.chat-float svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.chat-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(30, 8, 14, 0.92);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.chat-float:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes pulseGlowWA {
  0%, 100% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7); }
}

@keyframes pulseGlowFB {
  0%, 100% { box-shadow: 0 4px 18px rgba(0, 106, 255, 0.45); }
  50% { box-shadow: 0 4px 28px rgba(155, 0, 232, 0.75); }
}

/* ═══════════════════════════════════════════════════
   EMERGENCY PAIN POPUP TOAST (Scroll-triggered)
   ═══════════════════════════════════════════════════ */
.pain-popup-toast {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  max-width: 360px;
  background: radial-gradient(circle at 10% 20%, rgba(74, 16, 31, 0.97), rgba(26, 4, 10, 0.98));
  border: 1px solid rgba(232, 132, 154, 0.45);
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(196, 72, 94, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transform: translateX(-140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.pain-popup-toast.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.pain-popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.pain-popup-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.pain-popup-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4485e, #6e0e22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(196, 72, 94, 0.6);
  margin-top: 2px;
}

.pain-icon {
  font-size: 18px;
  color: #ffd700;
  animation: painShake 2.5s ease-in-out infinite;
}

@keyframes painShake {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10%, 30% { transform: rotate(-12deg) scale(1.15); }
  20%, 40% { transform: rotate(12deg) scale(1.15); }
  50% { transform: rotate(0deg) scale(1); }
}

.pain-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 77, 109, 0.6);
  animation: pulseRingPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulseRingPing {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.pain-popup-content {
  flex: 1;
  padding-right: 10px;
}

.pain-popup-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 5px;
}

.pain-popup-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.pain-popup-sub {
  font-size: 12px;
  color: var(--muted-light);
  line-height: 1.45;
  margin: 0 0 10px;
}

.pain-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.pain-popup-btn:hover {
  background: #1ebc59;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

.pain-popup-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .pain-popup-toast {
    left: 14px;
    right: 14px;
    bottom: 84px;
    max-width: calc(100% - 28px);
    padding: 14px 16px;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE CTA BAR
   ═══════════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(58, 11, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 10px 16px;
  gap: 10px;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  text-align: center;
}

.mobile-cta-bar .cta-call {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
}

.mobile-cta-bar .cta-wa {
  background: #25D366;
  color: white;
}



/* ═══════════════════════════════════════════════════
   COST CALCULATOR — LEAD FIELDS
   ═══════════════════════════════════════════════════ */
.lead-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.lead-fields input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: var(--fs-sm);
  font-family: inherit;
  transition: border-color var(--duration-fast) ease;
}

.lead-fields input::placeholder {
  color: var(--muted-light);
}

.lead-fields input:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-lead-submit:disabled,
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════
   BLOG — LISTING & POST CONTROLS
   ═══════════════════════════════════════════════════ */
.blog-controls-wrapper {
  max-width: 960px;
  margin: 32px auto 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-search-bar {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--accent);
  pointer-events: none;
}

#blog-search-input {
  width: 100%;
  padding: 14px 44px 14px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  transition: all 0.3s ease;
}

#blog-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(232, 132, 154, 0.25);
}

.blog-search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.blog-search-clear:hover {
  background: var(--accent);
}

.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(232, 132, 154, 0.4);
  transform: translateY(-2px);
}

.blog-pill.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(232, 132, 154, 0.4);
}

.blog-pill-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: currentColor;
}

.blog-pill.active .blog-pill-count {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.blog-results-meta {
  text-align: center;
  font-size: 13px;
  color: var(--muted-light);
  margin-top: 4px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 132, 154, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 132, 154, 0.15);
}

.blog-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, #2b0c15, #0f0206);
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-cover img {
  transform: scale(1.06);
}

.blog-cover-lang-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: var(--accent);
  border: 1px solid rgba(232, 132, 154, 0.4);
  padding: 3px 9px;
  border-radius: 6px;
  z-index: 2;
}

.blog-card-cover .blog-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  text-align: center;
  padding: 20px;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted-light);
  margin-bottom: 10px;
}

.blog-card-meta .blog-tag {
  color: var(--accent);
  font-weight: 700;
  background: rgba(232, 132, 154, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #ffffff;
}

.blog-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
  gap: 10px;
  color: #ffffff;
}

.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.blog-empty-state .empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.blog-empty-state h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 6px;
}

.blog-empty-state p {
  color: var(--muted);
  font-size: 14px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.blog-table th {
  background: rgba(232, 132, 154, 0.15);
  color: var(--accent);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.blog-table tr:last-child td {
  border-bottom: none;
}

.blog-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.blog-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

/* Blog post page */
.blog-post-header {
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.blog-post-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: var(--space-lg) 0;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  flex-wrap: wrap;
}

.blog-post-cover {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: var(--glass-border);
  background: radial-gradient(circle at 30% 30%, var(--dark-mid), var(--darkest));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: var(--fs-3xl);
  color: var(--accent);
  text-align: center;
  padding: var(--space-xl);
}

.blog-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.85;
}

.blog-post-content h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin: var(--space-2xl) 0 var(--space-md);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.blog-post-content h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin: var(--space-xl) 0 var(--space-sm);
}

.blog-post-content p { margin-bottom: var(--space-md); }

.blog-post-content strong { color: var(--white); }

.blog-post-content ul,
.blog-post-content ol {
  margin: var(--space-md) 0 var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.blog-post-content li {
  list-style: disc;
  line-height: 1.7;
}

.blog-post-content a { color: var(--accent); text-decoration: underline; }

.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xl);
}

.blog-post-back:hover { color: var(--accent); }

.blog-cta {
  max-width: 820px;
  margin: var(--space-4xl) auto 0;
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   DOCTOR PAGE
   ═══════════════════════════════════════════════════ */
.doc-hero {
  padding: calc(var(--nav-height) + 60px) 60px 0;
  text-align: center;
}

.doc-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 132, 154, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent);
}

.doc-hero-name {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: var(--fw-black);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: var(--space-lg) 0 var(--space-sm);
}

.doc-hero-name em {
  font-style: italic;
  font-family: var(--ff-heading);
  color: var(--accent);
  text-transform: none;
}

.doc-hero-sub {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

.doc-hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   DOCTOR PAGE STYLES & INTERACTIVE ANIMATIONS
   ═══════════════════════════════════════════════════ */
.doc-hero {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 24px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.doc-hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.doc-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 16px;
  min-width: 170px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-stat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 132, 154, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(232, 132, 154, 0.15);
}

.doc-hero-stats .hs-num {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: var(--fw-extrabold);
  color: var(--accent);
  line-height: 1.1;
}

.doc-hero-stats .hs-lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* Profile Grid & Photo */
.doc-profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-top: var(--space-4xl);
}

.doc-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(232, 132, 154, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.doc-photo:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 40px rgba(232, 132, 154, 0.25);
}

.doc-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Qualification Cards */
.doc-qual-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.doc-qual-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-qual-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 132, 154, 0.45);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(232, 132, 154, 0.15);
}

.doc-qual-item .qi-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 132, 154, 0.16);
  border: 1px solid rgba(232, 132, 154, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.doc-qual-item:hover .qi-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(232, 132, 154, 0.6);
}

.doc-qual-item:hover .qi-icon svg {
  fill: #ffffff;
}

.doc-qual-item .qi-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
  transition: fill 0.2s ease;
}

.doc-qual-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.doc-qual-item span {
  font-size: 13.5px;
  color: var(--muted);
}

/* Notable Achievements */
.doc-achievements-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.doc-achievement {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(232, 132, 154, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.doc-achievement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  opacity: 0.6;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.doc-achievement:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(232, 132, 154, 0.22);
}

.doc-achievement:hover::before {
  opacity: 1;
  width: 6px;
}

.ach-badge-wrap {
  flex-shrink: 0;
}

.doc-achievement .ach-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 132, 154, 0.25), rgba(196, 72, 94, 0.15));
  border: 1px solid rgba(232, 132, 154, 0.4);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.doc-achievement:hover .ach-num {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 16px rgba(232, 132, 154, 0.6);
  transform: scale(1.08);
}

.ach-content {
  flex: 1;
  min-width: 0;
}

.ach-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.4;
}

.ach-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Banner */
.doctor-banner {
  max-width: 1000px;
  margin: 40px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.doctor-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.doctor-banner-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 3, 7, 0.85) 100%);
  pointer-events: none;
}

/* Videos Section */
.doc-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.doc-video-frame {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-video-frame:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 132, 154, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 132, 154, 0.15);
}

.doc-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(232, 132, 154, 0.18);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 132, 154, 0.3);
}

.doc-video-source {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.doc-video-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.doc-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.doc-video-caption {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-video-caption h4 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* Video Card (Video 2 Showcase) */
.doc-video-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-video-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 132, 154, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 132, 154, 0.15);
}

.doc-vc-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

.doc-vc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.doc-video-card:hover .doc-vc-media img {
  transform: scale(1.06);
}

.doc-vc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(20, 3, 7, 0.8) 100%);
}

.doc-vc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(232, 132, 154, 0.8);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.doc-vc-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.doc-video-card:hover .doc-vc-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 32px rgba(232, 132, 154, 1);
}

.doc-vc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.doc-vc-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doc-vc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.doc-vc-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.doc-vc-duration {
  font-size: 11px;
  color: var(--muted);
}

.doc-vc-body h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.35;
}

.doc-vc-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.doc-vc-btn {
  align-self: flex-start;
}

/* Career Journey Timeline */
.doc-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doc-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-timeline-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 132, 154, 0.4);
  transform: translateX(6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(232, 132, 154, 0.12);
}

.doc-timeline-year {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  min-width: 72px;
  line-height: 1;
  background: rgba(232, 132, 154, 0.12);
  border: 1px solid rgba(232, 132, 154, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.doc-timeline-item:hover .doc-timeline-year {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(232, 132, 154, 0.5);
}

.doc-timeline-body {
  flex: 1;
  min-width: 0;
}

.doc-timeline-body strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.doc-timeline-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: var(--space-lg);
  }

  .hero-img-card {
    width: 280px;
    height: 350px;
  }

  .hero-cred { left: 10px; top: 10px; }
  .hero-badge { right: 10px; bottom: 20px; }

  .about-grid,
  .why-grid,
  .hours-inner,
  .contact-grid,
  .doc-profile-grid {
    grid-template-columns: 1fr;
  }

  .doc-hero {
    padding: calc(var(--nav-height) + 40px) 30px 0;
  }

  .stats-section {
    padding: 12px 0 8px;
  }
  .stat-card {
    flex: 0 0 190px;
    padding: 8px 14px;
  }

  .ss-sticky {
    flex-direction: column;
  }

  .ss-index {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
  }

  .ss-index-list {
    flex-direction: row;
  }

  .ss-index-label { display: none; }
  .ss-progress-track { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}

/* ── 3. Tablets & Phablets (<= 992px) ── */
@media (max-width: 992px) {
  .category-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cat-wire-flyout {
    position: static;
    left: auto !important;
    right: auto !important;
    width: 100%;
    margin-top: 14px;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .cat-showcase-card.is-active .cat-wire-flyout {
    display: block;
  }

  .cat-wire-svg-canvas {
    display: none;
  }

  .wire-treatment-item::before {
    display: none;
  }

  .doc-videos {
    grid-template-columns: 1fr;
  }

  .doc-achievement {
    flex-direction: column;
    gap: 12px;
  }

  .doc-timeline-item {
    flex-direction: column;
    gap: 10px;
  }
}

/* ── 4. Mobile & Small Tablets (<= 768px) ── */
@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }

  nav {
    padding: 12px 16px;
    height: var(--nav-height, 64px);
  }

  .nav-logo-name {
    font-size: 15px;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: var(--nav-height, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    max-height: calc(100vh - var(--nav-height, 64px));
    height: calc(100vh - var(--nav-height, 64px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    background: radial-gradient(circle at 50% 0%, rgba(55, 11, 22, 0.98), rgba(18, 3, 7, 0.99));
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 20px 18px 90px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open li:nth-child(1) { transition-delay: 0.03s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.06s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.09s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.12s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.21s; }
  .nav-links.open li:nth-child(8) { transition-delay: 0.24s; }
  .nav-links.open li:nth-child(9) { transition-delay: 0.27s; }

  .nav-links > li:not(.nav-drawer-cta-wrap) > a {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    font-size: 15.5px;
    font-weight: var(--fw-semibold, 600);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    position: relative;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Language toggle for mobile menu links */
  .nav-links > li:not(.nav-drawer-cta-wrap) > a[data-lang-en] {
    display: flex !important;
  }
  .nav-links > li:not(.nav-drawer-cta-wrap) > a[data-lang-bn] {
    display: none !important;
  }

  body.bn-mode .nav-links > li:not(.nav-drawer-cta-wrap) > a[data-lang-en] {
    display: none !important;
  }
  body.bn-mode .nav-links > li:not(.nav-drawer-cta-wrap) > a[data-lang-bn] {
    display: flex !important;
  }

  .nav-links > li:not(.nav-drawer-cta-wrap) > a::after {
    content: '→';
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    font-size: 18px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.75;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.25s ease,
                opacity 0.25s ease;
  }

  .nav-links > li:not(.nav-drawer-cta-wrap) > a:hover,
  .nav-links > li:not(.nav-drawer-cta-wrap) > a:active {
    background: rgba(232, 132, 154, 0.16);
    border-color: rgba(232, 132, 154, 0.45);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 16px rgba(232, 132, 154, 0.18);
  }

  .nav-links > li:not(.nav-drawer-cta-wrap) > a:hover::after,
  .nav-links > li:not(.nav-drawer-cta-wrap) > a:active::after {
    width: auto !important;
    transform: translateX(4px);
    color: #ffffff;
    opacity: 1;
  }

  .nav-drawer-footer a::after {
    display: none !important;
    content: none !important;
  }

  .nav-drawer-cta-wrap {
    margin-top: 10px;
  }

  .nav-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .nav-drawer-footer .btn-primary,
  .nav-drawer-footer .btn-secondary {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-size: 14.5px;
    border-radius: var(--radius-pill);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-cta {
    display: none;
  }

  #hero {
    padding: calc(var(--nav-height, 64px) + 16px) 16px 28px;
    min-height: auto;
  }

  .hero-h1 {
    font-size: clamp(28px, 8vw, 42px);
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 14px 0;
  }

  .hero-sub {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    min-height: 48px;
    font-size: 15px;
  }

  .hero-img-card {
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: 280/340;
    max-height: 340px;
    margin: 0 auto;
  }

  .hero-cred {
    left: 4px;
    top: 6px;
    padding: 8px 12px;
    font-size: 10.5px;
    max-width: 88%;
  }

  .hero-badge {
    right: 4px;
    bottom: 8px;
    padding: 8px 12px;
    font-size: 10.5px;
    max-width: 88%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    text-align: center;
  }

  .hero-stat .num {
    font-size: 22px;
  }

  .hero-stat .lbl {
    font-size: 11.5px;
  }

  .stats-section {
    padding: 12px 0 10px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .stat-card {
    flex: 0 0 155px;
    padding: 10px 12px;
  }

  .stat-num {
    font-size: 20px;
  }

  .stats-scrollbar-track {
    width: 130px;
  }

  section {
    padding: var(--space-2xl) 0;
    width: 100%;
    max-width: 100vw;
  }

  #calculator {
    overflow: visible;
  }

  .calculator {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .receipt {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    margin-top: var(--space-md);
  }

  .section-inner {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .section-h2 {
    font-size: clamp(24px, 6.5vw, 34px);
    line-height: 1.25;
  }

  .category-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cat-showcase-media {
    height: 180px;
  }

  .cat-showcase-body {
    padding: 16px 14px;
  }

  .cat-showcase-title {
    font-size: 18px;
  }

  .cat-showcase-desc {
    font-size: 13.5px;
  }

  /* Treatment Modal */
  .treatment-modal-backdrop {
    padding: 10px;
  }

  .treatment-modal-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 16px;
  }

  .treatment-modal-body {
    grid-template-columns: 1fr;
  }

  .treatment-modal-media {
    height: 190px;
    min-height: auto;
  }

  .treatment-modal-info {
    padding: 18px 16px;
  }

  .treatment-modal-title {
    font-size: 20px;
  }

  .treatment-modal-desc {
    font-size: 13.5px;
  }

  .treatment-modal-actions {
    flex-direction: column;
    gap: 10px;
  }

  .treatment-modal-actions .btn {
    width: 100%;
  }

  /* Before/After Gallery */
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ba-card {
    width: 100%;
  }

  /* Reviews */
  .reviews-section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .reviews-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .review-img-card {
    flex: 0 0 clamp(240px, 75vw, 300px);
    width: clamp(240px, 75vw, 300px);
  }

  .reviews-track {
    gap: 16px;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 14px;
    font-size: 15px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: 0 16px;
  }

  footer {
    padding-bottom: 84px;
  }

  .mobile-cta-bar {
    display: flex;
  }

  .floating-chat-group {
    bottom: 72px;
    right: 12px;
    gap: 8px;
  }

  .chat-float {
    width: 46px;
    height: 46px;
  }

  .chat-float svg {
    width: 22px;
    height: 22px;
  }

  /* Blog Listing & Post */
  .blog-hero {
    padding: calc(var(--nav-height, 64px) + 16px) 16px 24px;
  }

  .blog-hero-h1 {
    font-size: clamp(24px, 6.5vw, 34px);
  }

  .blog-filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
  }

  .blog-pill {
    flex-shrink: 0;
    font-size: 12px;
    padding: 6px 14px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .blog-card-cover {
    height: 180px;
  }

  .blog-post-page {
    padding: calc(var(--nav-height, 64px) + 16px) 16px 40px;
  }

  .blog-post-title {
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.3;
  }

  .blog-post-cover {
    height: 220px;
    margin: 16px 0;
  }

  .blog-post-content {
    font-size: 15px;
    line-height: 1.7;
    word-break: break-word;
  }

  .blog-post-content h2 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .blog-post-content h3 {
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
  }

  .blog-cta {
    padding: 22px 16px;
    border-radius: 16px;
    margin-top: 30px;
  }

  /* Doctor Page */
  .doc-hero {
    padding: calc(var(--nav-height, 64px) + 16px) 16px 28px;
  }

  .doc-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .doc-hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .doc-hero-actions .btn-primary,
  .doc-hero-actions .btn-secondary {
    width: 100%;
  }

  .doc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .doc-stat-box {
    padding: 12px 10px;
  }

  .doc-photo {
    width: min(100%, 300px);
    margin: 0 auto;
  }
}

/* ── 5. Standard & Small Smartphones (<= 480px) ── */
@media (max-width: 480px) {
  .hero-h1 {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .hero-actions,
  .about-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-img-card {
    width: min(100%, 250px);
    height: auto;
    aspect-ratio: 250/310;
    max-height: 310px;
  }

  .stat-card {
    flex: 0 0 145px;
    padding: 8px 10px;
  }

  .stat-num {
    font-size: 18px;
  }

  .reviews-scrollbar-track {
    width: 130px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .treatment-modal-backdrop {
    padding: 6px;
  }

  .treatment-modal-dialog {
    max-height: 94vh;
    border-radius: 14px;
  }

  .pain-popup-toast {
    left: 8px;
    right: 8px;
    max-width: calc(100vw - 16px);
  }
}

/* ── 6. Ultra-Compact Screens (<= 360px - iPhone SE / Galaxy Fold Cover) ── */
@media (max-width: 360px) {
  nav {
    padding: 10px 12px;
  }

  .nav-logo-name {
    font-size: 13.5px;
  }

  .hero-h1 {
    font-size: 23px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-stat .num {
    font-size: 20px;
  }

  .hero-img-card {
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 220/270;
  }

  .btn-primary, .btn-secondary {
    font-size: 13.5px;
    padding: 11px 16px;
  }

  .section-h2 {
    font-size: 22px;
  }

  .stat-card {
    flex: 0 0 135px;
    padding: 8px 8px;
  }

  .stat-num {
    font-size: 17px;
  }

  .doc-stats-grid {
    grid-template-columns: 1fr;
  }
}


