:root {
  --primary: #008744;
  --primary-dark: #006332;
  --primary-light: #e8f8ef;
  --primary-glow: rgba(0, 135, 68, 0.15);
  --secondary: #0284c7;
  --secondary-light: #e0f2fe;
  --dark: #0f172a;
  
  /* Semantic Tokens for Light Mode */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --bg-main: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f8fafc;
  --border: #e2e8f0;
  --border-focus: #008744;
  --hero-bg: linear-gradient(180deg, #e8f8ef 0%, #ffffff 100%);
  --header-bg: #ffffff;
  --banner-bg: #e8f8ef;
  --banner-border: #bbf7d0;
  --banner-text: #166534;
  --table-header-bg: #f1f5f9;
  --table-stripe-bg: #f8fafc;
  --white: #ffffff;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 30px -10px rgba(0, 135, 68, 0.18);
}

/* Explicit Dark Theme Tokens */
[data-theme="dark"] {
  --dark: #f8fafc;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --bg-main: #0b1120;
  --bg-surface: #1e293b;
  --bg-surface-subtle: #0f172a;
  --border: #334155;
  --border-focus: #22c55e;
  --hero-bg: linear-gradient(180deg, #064e3b 0%, #0b1120 100%);
  --header-bg: #0f172a;
  --banner-bg: #064e3b;
  --banner-border: #059669;
  --banner-text: #dcfce7;
  --primary-light: rgba(0, 135, 68, 0.25);
  --primary-glow: rgba(34, 197, 94, 0.2);
  --table-header-bg: #0f172a;
  --table-stripe-bg: #162032;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 30px -10px rgba(34, 197, 94, 0.25);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --dark: #f8fafc;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    --bg-main: #0b1120;
    --bg-surface: #1e293b;
    --bg-surface-subtle: #0f172a;
    --border: #334155;
    --border-focus: #22c55e;
    --hero-bg: linear-gradient(180deg, #064e3b 0%, #0b1120 100%);
    --header-bg: #0f172a;
    --banner-bg: #064e3b;
    --banner-border: #059669;
    --banner-text: #dcfce7;
    --primary-light: rgba(0, 135, 68, 0.25);
    --primary-glow: rgba(34, 197, 94, 0.2);
    --table-header-bg: #0f172a;
    --table-stripe-bg: #162032;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 30px -10px rgba(34, 197, 94, 0.25);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: #020617;
  color: #94a3b8;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-locations {
  display: flex;
  gap: 20px;
}

.top-locations strong {
  color: #e2e8f0;
}

.top-locations a {
  color: #38bdf8;
}

/* Header & Nav */
header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1;
}

.logo-text span {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.8px;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: 0.2s ease;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Mobile Hamburger Button */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 20px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-menu-drawer {
  display: none;
  background: var(--header-bg);
  border-bottom: 2px solid var(--border);
  padding: 15px 20px 20px;
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  z-index: 999;
}

.mobile-menu-drawer.open {
  display: block;
}

.mobile-menu-drawer a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-drawer a:last-child {
  border-bottom: none;
}

.mobile-menu-drawer a.active {
  color: var(--primary);
}

.mobile-menu-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-surface);
  min-width: 240px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 10px 0;
  z-index: 200;
}

.dropdown-content a {
  padding: 10px 20px;
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.dropdown-content a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Premium Button Styles */
.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 135, 68, 0.25);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 135, 68, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.25s ease;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-header {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 50px;
  transition: 0.25s;
}

.btn-header:hover {
  background: var(--primary-dark);
}

/* Section Containers */
.section {
  padding: 60px 0;
}

.section-gray {
  background-color: var(--bg-surface-subtle);
}

.page-hero {
  background: var(--hero-bg);
  padding: 45px 0 30px;
  text-align: center;
}

.page-hero h1 {
  font-size: 34px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
}

/* 🖼️ UNPROPORTIONAL IMAGE FIX: RESPONSIVE & UNCLIPPED */
.dept-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  margin-bottom: 30px;
  transition: all 0.25s ease;
}

.dept-img-wrap {
  position: relative;
  background: #020617;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.dept-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.dept-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dept-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.dept-doctor {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.dept-body h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.dept-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.treatment-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.treatment-pill {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.treatment-pill.highlight {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(34, 197, 94, 0.3);
}

.dept-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Gallery Responsive Cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-card-body {
  padding: 18px;
}

.gallery-card-body h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.gallery-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 25px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.review-author h4 {
  font-size: 14.5px;
  margin-bottom: 2px;
}

.review-author span {
  font-size: 12px;
  color: var(--text-dim);
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 8px;
}

.review-branch-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 10px;
}

.review-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* CTA Banner */
.cta-banner-section {
  background: linear-gradient(135deg, #006332 0%, #004d26 100%) !important;
  color: #ffffff !important;
  padding: 45px 0;
  text-align: center;
}

.cta-banner-section h2, .cta-banner-section h3 {
  color: #ffffff !important;
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-banner-section p {
  color: #dcfce7 !important;
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.cta-btn-call {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 700;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

/* Footer */
footer {
  background: #020617;
  color: #94a3b8;
  padding: 50px 0 25px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 35px;
  margin-bottom: 35px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
  padding: 10px 14px;
  z-index: 9999;
}

.mobile-bar-inner {
  display: flex;
  gap: 10px;
}

.mobile-btn-call {
  flex: 1;
  background: var(--dark);
  color: var(--bg-main);
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-btn-wa {
  flex: 1.1;
  background: #25D366;
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   📱 COMPREHENSIVE MOBILE DEVICE OPTIMIZATIONS (TABLETS & PHONES <= 900px)
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
  .mobile-sticky-bar { display: block; }
  .top-bar { display: none; }
  
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14.5px; }

  /* Grids collapse gracefully to single column */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  
  /* Department Cards Full View on Mobile */
  .dept-card {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
  }
  
  .dept-img-wrap {
    min-height: 220px;
    max-height: 280px;
    border-bottom: 1px solid var(--border);
  }
  
  .dept-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .dept-body {
    padding: 20px 16px;
  }
  
  .dept-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .dept-body p {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  
  .dept-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .dept-ctas a, .dept-ctas button {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  /* Symptom Self-Assessment Grid */
  .symptom-guide-box {
    padding: 20px 16px;
    margin-bottom: 30px;
  }
  .symptom-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .symptom-card {
    padding: 14px;
    gap: 12px;
  }
  .symptom-icon {
    font-size: 26px;
  }
  .symptom-content h4 {
    font-size: 15px;
  }
  .symptom-content p {
    font-size: 12.5px;
  }

  /* Doctor Team Grid */
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .doctor-img-wrap {
    height: 280px !important;
  }
  .doctor-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
  }

  /* Pillar Page Hero Boxes */
  .implant-hero-box, .aligner-hero-box, .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .implant-hero-box img, .aligner-hero-box img {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .step-grid, .implant-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Hero Section on Homepage */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    text-align: center;
  }
  .hero-img-wrap img {
    max-height: 250px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
  }
}

@media (max-width: 550px) {
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text h2 { font-size: 16px; }
  .logo-text span { font-size: 9.5px; }
  .logo-img { height: 40px; }
  .page-hero h1 { font-size: 22px; }
  .cta-banner-section h2 { font-size: 22px; }
}


/* Specialist Consultation Feature Banner */
.specialist-feature-banner {
  background: #0f172a;
  color: #ffffff;
  padding: 55px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease;
}

[data-theme="dark"] .specialist-feature-banner {
  background: var(--bg-surface);
  color: var(--text-main);
}

.specialist-feature-banner h2 {
  color: #ffffff !important;
  font-size: 30px;
  margin: 10px 0 14px;
}

[data-theme="dark"] .specialist-feature-banner h2 {
  color: var(--text-main) !important;
}

.specialist-feature-banner p {
  color: #cbd5e1 !important;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.7;
}

[data-theme="dark"] .specialist-feature-banner p {
  color: var(--text-muted) !important;
}

.specialist-feature-btn-secondary {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.specialist-feature-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #ffffff !important;
}

[data-theme="dark"] .specialist-feature-btn-secondary {
  color: var(--text-main) !important;
  border-color: var(--border) !important;
  background: var(--bg-surface-subtle) !important;
}

[data-theme="dark"] .specialist-feature-btn-secondary:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}


/* Hospital Highlight Banner (Theme Adaptive) */
.hospital-highlight-banner {
  background: linear-gradient(135deg, #e8f8ef 0%, #e0f2fe 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all 0.25s ease;
}

[data-theme="dark"] .hospital-highlight-banner {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  border-color: #059669;
}

.hospital-highlight-banner h3 {
  color: #008744 !important;
  margin-bottom: 6px;
  font-size: 18px;
}

[data-theme="dark"] .hospital-highlight-banner h3 {
  color: #4ade80 !important;
}

.hospital-highlight-banner p {
  color: #334155 !important;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

[data-theme="dark"] .hospital-highlight-banner p {
  color: #f1f5f9 !important;
}

@media (max-width: 768px) {
  .hospital-highlight-banner {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}


/* Trust Barometer Stats Bar */
.trust-barometer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 25px 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item {
  padding: 10px;
}

.trust-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.trust-sub {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* 6-Step Hospital-Grade Sterilization Protocol */
.sterilization-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.sterilization-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.sterilization-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.sterilization-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sterilization-content h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.sterilization-content p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Interactive FAQ Accordion */
.faq-grid {
  max-width: 850px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-family: var(--font-main);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  font-size: 14px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .sterilization-grid { grid-template-columns: 1fr; gap: 14px; }
}


/* Comprehensive Multi-Specialty Mega Menu */
.dropdown-mega {
  position: relative;
  display: inline-block;
}

.dropdown-mega-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -150px;
  background-color: var(--bg-surface);
  width: 680px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  z-index: 2000;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dropdown-mega:hover .dropdown-mega-content {
  display: grid;
}

.mega-column-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.mega-menu-item:hover {
  background-color: var(--primary-light);
  transform: translateX(3px);
}

.mega-icon {
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

.mega-text h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 2px 0;
}

.mega-text p {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.mega-footer-banner {
  grid-column: span 2;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.mega-footer-banner a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 900px) {
  .dropdown-mega-content { display: none !important; }
}


/* ==========================================================================
   ⭐ COMPETITOR-BEATING FEATURE UPGRADES (IDA RIBBON, TECH SUITE, WIDGET, CHIPS)
   ========================================================================== */

/* 1. Official IDA Trust Ribbon */
.ida-trust-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 135, 68, 0.12) 0%, rgba(2, 132, 199, 0.12) 100%);
  border: 1px solid rgba(0, 135, 68, 0.3);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 135, 68, 0.08);
}

[data-theme="dark"] .ida-trust-ribbon {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

/* 2. Interactive Self-Diagnosis & Treatment Matcher */
.treatment-matcher-box {
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: 0 15px 35px rgba(0, 135, 68, 0.12);
  margin: 30px 0 40px;
}

.matcher-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 25px;
}

.matcher-header h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.matcher-symptom-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.matcher-tab-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.matcher-tab-btn span.tab-icon {
  font-size: 22px;
}

.matcher-tab-btn:hover, .matcher-tab-btn.active {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 135, 68, 0.25);
}

.matcher-result-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 25px;
  align-items: center;
}

.matcher-result-left h4 {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.matcher-result-left p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.matcher-meta-row {
  display: flex;
  gap: 15px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  flex-wrap: wrap;
}

.matcher-meta-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
}

.matcher-result-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

/* 3. Clinical Technology & Equipment Suite */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.tech-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.tech-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.tech-icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.tech-info h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.tech-info p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 4. Quick WhatsApp Action Chips Bar */
.wa-chips-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.wa-chip {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wa-chip:hover {
  background: #25D366;
  color: #ffffff !important;
  border-color: #25D366;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .matcher-symptom-tabs { grid-template-columns: 1fr 1fr; }
  .matcher-result-card { grid-template-columns: 1fr; padding: 18px; }
  .tech-grid { grid-template-columns: 1fr; gap: 14px; }
  .treatment-matcher-box { padding: 20px 16px; }
}
