/* ==========================================================================
   DentOral Dental Care - Sutrapur, Old Dhaka
   Inspired by Elephant Dental Clinic & DentOral Prescription Identity
   ========================================================================== */

:root {
  /* New Design System Tokens (Drew Dentistry & Van Allen Inspired) */
  --color-teal: #0F7C82;
  --color-teal-dark: #0A5A5F;
  --color-teal-light: #EBF7F7;
  --color-white: #ffffff;
  --color-off-white: #F7F9F9;
  --color-gray-900: #333333;
  --color-gray-600: #666666;
  --color-gray-200: #E5E7EB;

  /* Sitewide mappings for seamless backward-compatibility with older class uses */
  --dentoral-purple: #0A5A5F;
  /* Deep teal for headers/dark sections */
  --dentoral-magenta: #0F7C82;
  /* Primary teal accent for main actions */
  --dentoral-pink: #0A5A5F;
  /* Accent color */
  --dentoral-pink-soft: #f2f9f9;
  /* Very light teal-gray tint for highlights */
  --dentoral-cyan: #0F7C82;
  /* Secondary buttons & headers */
  --dentoral-teal: #0F7C82;
  --dentoral-teal-light: #EBF7F7;

  --slate-900: #1a202c;
  --slate-800: #2d3748;
  --slate-700: #4a5568;
  --slate-600: #5a6a85;
  --slate-400: #a0aec0;
  --slate-200: #e2e8f0;
  --slate-100: #edf2f7;
  --slate-50: #ffffff;

  --bg-main: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfd;
  --text-main: var(--slate-800);
  --text-muted: var(--slate-600);
  --border-color: var(--slate-200);

  /* Shadows: Softened depth instead of heavy magenta casts */
  --shadow-sm: 0 2px 8px rgba(15, 124, 130, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 124, 130, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 124, 130, 0.08);

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-btn: 10px;
  --radius-full: 9999px;

  /* Typography: Serif headers + clean UI copy */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bengali Font Swap per docs/SEO-I18N.md */
html[lang="bn"] {
  --font-display: 'Noto Serif Bengali', serif;
  --font-body: 'Hind Siliguri', sans-serif;
}

/* Utility class for inline SVG icons used instead of emojis */
.inline-svg-icon {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
  display: inline-block;
}

/* Mobile Sticky Bottom Action Bar per docs/INFORMATION-ARCHITECTURE.md */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .mobile-bottom-bar {
  background: rgba(15, 23, 42, 0.96);
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
  }
}

.mobile-bottom-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.65rem 0.4rem;
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

/* Breadcrumbs Styling per docs/INFORMATION-ARCHITECTURE.md */
.breadcrumb-container {
  padding: 0.8rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 600;
}

[data-theme="dark"] {
  --bg-main: #0c111d;
  --bg-card: #161e31;
  --bg-card-hover: #1f2a44;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --border-color: rgba(15, 124, 130, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);

  --dentoral-pink-soft: rgba(15, 124, 130, 0.15);
  --color-teal-light: rgba(15, 124, 130, 0.15);
  --dentoral-purple: #14b8a6;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Baloo 2', 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Elephant Dental Style Top Header (Prescription Preserved) */
.top-utility-bar {
  background: linear-gradient(90deg, var(--dentoral-purple), var(--dentoral-magenta));
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  font-weight: 500;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info-list {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Van Allen Orthodontics Inspired Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Van Allen Signature Circular Badge Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Baloo 2', sans-serif;
  color: var(--dentoral-purple);
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 2px solid var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 124, 130, 0.2);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(10deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-teal);
}

/* Dropdown Navigation Menu (Van Allen Inspired) */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle-btn {
  background: var(--color-teal);
  color: #ffffff !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
  transition: all var(--transition-fast);
}

.dropdown-toggle-btn:hover {
  transform: translateY(-2px);
  background: #1e40af;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.4);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1200;
}

.nav-item-dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(6px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.2rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(190, 24, 93, 0.08);
  color: var(--dentoral-magenta);
}

/* Elephant Dental Scalloped Wave Dividers & Soft Card Tokens */
.scalloped-wave {
  width: 100%;
  height: 36px;
  background: repeat-x url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 36' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C15,22 35,22 50,0 C65,22 85,22 100,0 C115,22 135,22 150,0 C165,22 185,22 200,0 C215,22 235,22 250,0 C265,22 285,22 300,0 C315,22 335,22 350,0 C365,22 385,22 400,0 C415,22 435,22 450,0 C465,22 485,22 500,0 C515,22 535,22 550,0 C565,22 585,22 600,0 C615,22 635,22 650,0 C665,22 685,22 700,0 C715,22 735,22 750,0 C765,22 785,22 800,0 C815,22 835,22 900,0 C915,22 935,22 950,0 C965,22 985,22 1000,0 C1015,22 1035,22 1050,0 C1065,22 1085,22 1100,0 C1115,22 1135,22 1150,0 C1165,22 1185,22 1200,0 L1200,36 L0,36 Z' fill='%2523ffffff'/%3E%3C/svg%3E");
  position: relative;
  z-index: 8;
  margin-top: -36px;
}

[data-theme="dark"] .scalloped-wave {
  filter: invert(1) hue-rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Elephant Dental Style Wave Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dentoral-magenta), var(--dentoral-purple));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(190, 24, 93, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(190, 24, 93, 0.45);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--dentoral-cyan), #0369a1);
  color: #fff;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--radius-full) !important;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
  transition: all var(--transition-fast);
  text-transform: none !important;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #20bd5a 0%, #0e786c 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Elephant Dental Style Hero Section & Floating Interactive Doodles */
.hero {
  padding: 3rem 0 3.5rem;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(2, 132, 199, 0.12) 0%, transparent 50%);
  overflow: hidden;
}

.elephant-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(112, 26, 117, 0.38)), url('assets/images/family-hero.jpg');
  background-size: cover;
  background-position: center;
  padding: 6rem 2.5rem;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.elephant-hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  margin: 0 auto;
}

.elephant-subtitle {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.elephant-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-family: 'Baloo 2', sans-serif;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.elephant-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

/* Elephant Dental Interactive Floating Doodles */
.hero-doodle {
  position: absolute;
  z-index: 12;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-doodle:hover {
  transform: scale(1.3) rotate(12deg) !important;
}

.doodle-sun {
  top: 10%;
  left: 6%;
  animation: rotateSun 20s linear infinite;
}

.doodle-m {
  top: 12%;
  right: 7%;
  animation: floatM 4.5s ease-in-out infinite;
}

.doodle-cloud {
  bottom: 12%;
  right: 6%;
  animation: floatCloud 5s ease-in-out infinite;
}

.doodle-car {
  bottom: 12%;
  left: 6%;
  animation: floatCar 6s ease-in-out infinite;
}

@keyframes rotateSun {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floatM {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

@keyframes floatCloud {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-14px) scale(1.08);
  }
}

@keyframes floatCar {

  0%,
  100% {
    transform: translateX(0px) translateY(0px);
  }

  50% {
    transform: translateX(12px) translateY(-12px);
  }
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 2px dashed var(--border-color);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--dentoral-magenta);
  font-family: 'Baloo 2', sans-serif;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #ffffff;
}

.hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Elephant Dental Quick Service Cards Strip */
.quick-action-strip {
  padding: 1.5rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.strip-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  padding: 1.35rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.strip-card:hover {
  transform: translateY(-5px);
  border-color: var(--dentoral-magenta);
  box-shadow: var(--shadow-lg);
}

.strip-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--dentoral-pink-soft);
  color: var(--dentoral-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.strip-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.strip-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.6rem;
  margin: 0.75rem 0;
  font-family: 'Baloo 2', sans-serif;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.075rem;
}

/* Elephant Dental Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--dentoral-pink);
  box-shadow: var(--shadow-lg);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--dentoral-pink-soft), #fce7f3);
  color: var(--dentoral-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(190, 24, 93, 0.08);
  color: var(--dentoral-magenta);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Doctors Section (Prescription Details Highlighted) */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.doctor-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.doctor-img-box {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: #fdf6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--border-color);
  padding: 16px;
}

.doctor-img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-normal);
}

.doctor-card:hover .doctor-img-box img {
  transform: scale(1.03);
}

.doctor-badge-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(112, 26, 117, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
}

.doctor-content {
  padding: 2rem;
}

.doctor-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: var(--dentoral-purple);
}

.doctor-title {
  color: var(--dentoral-magenta);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.degree-list {
  list-style: none;
  margin-bottom: 1.25rem;
}

.degree-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.degree-list li::before {
  content: '✓';
  color: var(--dentoral-magenta);
  font-weight: bold;
}

/* Interactive Before & After Slider */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 480px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #ffffff;
  user-select: none;
}

.before-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.after-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 820px;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #ffffff;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dentoral-magenta);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  font-weight: bold;
}

.slider-label {
  position: absolute;
  bottom: 20px;
  padding: 0.4rem 1rem;
  background: rgba(112, 26, 117, 0.85);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 4;
}

.slider-label.before {
  right: 20px;
}

.slider-label.after {
  left: 20px;
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--dentoral-magenta);
  color: #fff;
  border-color: var(--dentoral-magenta);
}

/* EMI & Quiz Card */
.interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.interactive-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  background: var(--dentoral-pink-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-weight: 600;
}

[data-theme="dark"] .quiz-option {
  background: rgba(38, 24, 60, 0.8);
}

.quiz-option.selected {
  border-color: var(--dentoral-magenta);
  background: rgba(190, 24, 93, 0.15);
  color: var(--dentoral-magenta);
}

/* FAQ Grid & Knowledge Cards from dentoralbd-web */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--dentoral-magenta);
}

.faq-card h4 {
  font-size: 1.1rem;
  color: var(--dentoral-purple);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Van Allen Style Map & Dynamic Growing Pointer Pin Section */
/* Van Allen Map Section — scenic bg + floating map card + overlapping info card */
.va-map-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.va-map-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/ahsan-manzil.jpg');
  background-size: cover;
  background-position: center center;
  filter: brightness(0.45);
  z-index: 0;
}

.va-map-container {
  position: relative;
  z-index: 1;
}

.va-map-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  min-height: 480px;
}

/* LEFT: floating elevated Google Map card */
.va-map-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 72%;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #e5e7eb;
  border: 4px solid #ffffff;
  z-index: 1;
}

/* RIGHT: Van Allen blue info card overlapping the map */
.va-info-card {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 42%;
  background: linear-gradient(145deg, var(--color-teal-dark), var(--color-teal));
  color: #ffffff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

@media (max-width: 992px) {
  .va-map-section {
    padding: 0 !important;
    background: var(--bg-main);
  }

  .va-map-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .va-map-wrapper {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    min-height: auto;
    margin: 0 !important;
  }

  /* Van Allen Exact Mobile Layout: Full-width edge-to-edge map */
  .va-map-card {
    position: relative;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 340px !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  /* Van Allen Exact Mobile Layout: Solid teal card with bottom margin for bottom bar */
  .va-info-card {
    position: relative;
    top: 0;
    right: 0;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 2.5rem 1.5rem 6.5rem 1.5rem !important;
    box-sizing: border-box !important;
  }

  .va-card-body {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .va-card-left {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 0 !important;
    padding-bottom: 1.5rem;
  }
}

/* Van Allen Proximity-Swell Custom Map Pin */
.va-prox-pin {
  position: absolute;
  /* Map centered on coordinates — our pin is the only pin, sits at map center */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%) scale(1);
  transform-origin: center bottom;
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

/* Teardrop pin body */
.va-pin-body {
  width: 44px;
  height: 58px;
  background: var(--color-teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(15, 124, 130, 0.6);
  position: relative;
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s;
}

/* White dot inside pin */
.va-pin-dot {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transform: rotate(45deg);
}

/* Ripple shadow below pin */
.va-pin-shadow {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 10px;
  background: rgba(29, 78, 216, 0.35);
  border-radius: 50%;
  animation: vaPinRipple 2s ease-out infinite;
  z-index: 1;
}

@keyframes vaPinRipple {
  0% {
    transform: translateX(-50%) scale(0.6);
    opacity: 0.8;
  }

  100% {
    transform: translateX(-50%) scale(2.8);
    opacity: 0;
  }
}

/* When mouse is close — pin turns brighter blue */
.va-prox-pin.near .va-pin-body {
  background: var(--color-teal-dark);
  box-shadow: 0 14px 36px rgba(15, 124, 130, 0.85);
}

/* Van Allen Exact Card Styling (reused for va-info-card) */
.van-allen-location-card {
  margin-left: auto;
  max-width: 520px;
  background: linear-gradient(145deg, var(--color-teal-dark), var(--color-teal));
  color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}



/* Circular Logo Badge */
.va-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.va-circular-badge {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.va-badge-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.va-brand-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.va-divider-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  margin: 3px 0;
}

.va-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

/* 2-Column Body Layout */
.va-card-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.va-card-left {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 1.25rem;
}

.va-address {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.va-phone {
  display: block;
  margin-top: 0.4rem;
  font-weight: 700;
  color: #ffffff;
}

.va-hours-table {
  font-size: 0.8rem;
}

.va-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.va-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.va-quick-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
}

.va-quick-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.va-link-icon {
  font-size: 1rem;
}

/* Van Allen Exact Vertical Accordion Columns Styling (Padma Bridge Panoramic Canvas) */
.van-allen-accordion-wrapper {
  width: 100%;
  overflow: hidden;
}

.van-allen-accordion-container {
  display: flex;
  height: 540px;
  gap: 0;
  width: 100%;
  overflow: hidden;
  background-image: url('assets/images/padma-bridge.jpg');
  background-size: cover;
  background-position: center center;
  position: relative;
}

.va-accordion-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  color: inherit;
}

.va-accordion-col:last-child {
  border-right: none;
}

/* Base dark overlay — always visible so text is readable */
.va-col-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 18, 40, 0.08) 0%,
      rgba(10, 18, 40, 0.52) 60%,
      rgba(10, 18, 40, 0.70) 100%);
  transition: background 0.45s ease;
  z-index: 1;
}

/* Active / hovered: Van Allen deep blue overlay */
.va-accordion-col:hover,
.va-accordion-col.active {
  flex: 2.75;
}

.va-accordion-col:hover .va-col-overlay,
.va-accordion-col.active .va-col-overlay {
  background: linear-gradient(to bottom,
      rgba(29, 78, 216, 0.50) 0%,
      rgba(29, 78, 216, 0.72) 50%,
      rgba(14, 40, 130, 0.92) 100%);
}

/* Content sits above overlay */
.va-col-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: 100%;
}

/* Title — ALWAYS visible at bottom-left in all columns */
.va-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0;
  white-space: nowrap;
  transition: font-size 0.3s ease, margin-bottom 0.3s ease;
  line-height: 1.2;
}

.va-accordion-col:hover .va-col-title,
.va-accordion-col.active .va-col-title {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

/* Description — hidden in collapsed, revealed in expanded */
.va-col-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
  max-width: 280px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.45s ease 0.05s, max-height 0.45s ease 0.05s;
}

.va-accordion-col:hover .va-col-desc,
.va-accordion-col.active .va-col-desc {
  opacity: 1;
  max-height: 150px;
}

/* Van Allen outline "KEEP EXPLORING →" button */
.va-col-btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.va-accordion-col:hover .va-col-btn,
.va-accordion-col.active .va-col-btn {
  opacity: 1;
  transform: translateY(0);
}

.va-col-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* Sub-Navigation Pill Bar & Hero Overlay Sub-Nav on Detail Pages */
.hero-overlay-subnav {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  width: 100%;
  z-index: 10;
}

.hero-overlay-subnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-subnav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-subnav-item::after {
  content: "•";
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.hero-subnav-item:last-child::after {
  display: none;
}

.hero-subnav-link {
  color: #ffffff;
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hero-subnav-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.hero-subnav-link.active {
  background: var(--color-teal);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 124, 130, 0.4);
}

.sub-nav-pill-bar {
  background: var(--bg-card);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.pill-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  list-style: none;
  white-space: nowrap;
}

.pill-item a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.pill-item a:hover,
.pill-item a.active {
  background: var(--color-teal);
  color: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 4px 12px rgba(15, 124, 130, 0.3);
}

@media (max-width: 900px) {
  .van-allen-accordion-container {
    flex-direction: column;
    height: auto;
  }

  .va-accordion-col {
    min-height: 180px;
    flex: none !important;
  }

  .va-col-desc,
  .va-col-btn {
    opacity: 1 !important;
    max-height: none !important;
    transform: none !important;
  }
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 0.95rem;
}

.cost-result-box {
  background: linear-gradient(135deg, rgba(190, 24, 93, 0.1), rgba(2, 132, 199, 0.1));
  border: 2px solid rgba(190, 24, 93, 0.2);
  padding: 1.35rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 1.25rem;
}

.cost-result-box .price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--dentoral-magenta);
  font-family: 'Baloo 2', sans-serif;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 2.25rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
}

.floating-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  gap: 0.75rem;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dentoral-magenta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(190, 24, 93, 0.4);
  cursor: pointer;
  border: none;
  font-size: 1.4rem;
}

/* Footer */
.footer {
  background: #082124;
  color: #cbd5e1;
  padding: 5rem 0 3rem;
  border-top: 4px solid var(--color-teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--color-teal);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Mobile Navigation Toggle Button (Elephant Dental Style) */
.mobile-menu-btn {
  display: none;
  background: var(--color-teal);
  color: #ffffff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(15, 124, 130, 0.35);
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--color-teal-dark);
}

@media (max-width: 992px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  .container {
    padding: 0 1rem;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .top-bar-container {
    justify-content: center;
    padding: 0 0.5rem;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-actions {
    display: none; /* Hide heavy side-by-side header buttons on mobile to eliminate horizontal scroll overflow */
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 1100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: block;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .dropdown-toggle-btn {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: var(--color-teal-light);
    margin-top: 0.5rem;
    border-radius: var(--radius-sm);
  }

  .dropdown-menu.show,
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Elephant Dental Hero Section Mobile Scaling */
  .hero {
    padding: 1rem 0 2rem;
  }

  .elephant-hero-banner {
    padding: 2.75rem 1.15rem;
    border-radius: var(--radius-md);
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .elephant-title {
    font-size: clamp(1.6rem, 5.2vw, 2.6rem);
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
  }

  .elephant-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .elephant-subtitle {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 290px;
  }

  /* Scale or hide decorative doodles on mobile to prevent blocking text */
  .hero-doodle {
    scale: 0.65;
    opacity: 0.75;
  }

  .doodle-sun {
    top: 2%;
    left: 2%;
  }

  .doodle-m {
    top: 2%;
    right: 2%;
  }

  .doodle-cloud {
    bottom: 2%;
    right: 2%;
  }

  .doodle-car {
    bottom: 2%;
    left: 2%;
  }

  .hero-grid,
  .interactive-grid,
  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .top-info-list {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Map section stacks vertically on mobile */
  .va-map-layout {
    flex-direction: column;
    min-height: auto;
  }

  .va-map-card {
    flex: none;
    margin: 1.5rem 1.5rem 0 1.5rem;
    min-height: 280px;
  }

  .va-info-card {
    flex: none;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-doodle {
    display: none; /* Hide doodles on small mobile screens (<576px) for clean Elephant Dental style */
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

/* Sub-Navigation Pill Bar for Specialized Orthodontics */
.sub-nav-pill-bar {
  background: var(--bg-card);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.pill-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  list-style: none;
  white-space: nowrap;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.pill-list::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.pill-list {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.pill-item a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.pill-item a:hover,
.pill-item a.active {
  background: var(--color-teal);
  color: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 4px 12px rgba(15, 124, 130, 0.3);
}

/* --------------------------------------------------------------------------
   Smile Gallery Before / After Interactive Drag Slider
   -------------------------------------------------------------------------- */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 460px;
  margin: 2rem auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--border-color);
  user-select: none;
  touch-action: pan-y;
  background: #0f172a;
}

.before-after-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.after-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid #ffffff;
}

.after-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: #ffffff;
  color: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-teal);
}

.slider-label {
  position: absolute;
  bottom: 1.25rem;
  padding: 0.4rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 5;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.slider-label.before {
  right: 1.25rem;
}

.slider-label.after {
  left: 1.25rem;
}

@media (max-width: 768px) {
  /* Hide floating desktop buttons on mobile to eliminate double WhatsApp bar overlap */
  .floating-bar {
    display: none !important;
  }

  body {
    padding-bottom: 60px !important;
  }

  .before-after-container {
    height: 320px;
    margin: 1.5rem auto 0;
  }

  .slider-label {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    bottom: 0.85rem;
  }

  .slider-label.before {
    right: 0.75rem;
  }

  .slider-label.after {
    left: 0.75rem;
  }

  .tab-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }
}