/* ==========================================================================
   Dr. Rijul's Family Dental Clinic - Joyful & Family-Friendly Stylesheet
   Zero external dependencies • 100% self-hosted • High-aesthetic design
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Self-Hosted Fonts & Comprehensive System Fallback Stack
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design Tokens & Joyful Color Palette
   -------------------------------------------------------------------------- */
:root {
  /* Cheerful Healthcare & Child-Friendly Colors */
  --color-primary: #0284c7;         /* Vibrant Medical Sky */
  --color-primary-hover: #0369a1;
  --color-primary-light: #e0f2fe;
  --color-primary-subtle: #f0f9ff;
  
  --color-teal: #0d9488;            /* Fresh Mint */
  --color-teal-light: #ccfbf1;
  --color-teal-hover: #0f766e;
  
  --color-emerald: #10b981;         /* Cheerful Green */
  --color-emerald-light: #d1fae5;
  
  --color-sun: #f59e0b;             /* Sunny Yellow/Gold */
  --color-sun-light: #fef3c7;
  --color-sun-dark: #b45309;

  --color-coral: #f43f5e;           /* Playful Rose/Coral */
  --color-coral-light: #ffe4e6;
  
  --color-purple: #8b5cf6;          /* Joyful Lavender */
  --color-purple-light: #ede9fe;
  
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebd5a;

  /* Neutrals */
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Surfaces & Canvas */
  --bg-page: #fcfdfd;
  --bg-soft-mint: #f0fdfa;
  --bg-soft-sky: #f0f9ff;
  --bg-soft-sun: #fefce8;
  --bg-card: #ffffff;
  
  /* Text */
  --text-main: var(--slate-900);
  --text-muted: var(--slate-600);
  --text-light: var(--slate-400);

  /* Form & Status */
  --danger-color: #e11d48;
  --danger-bg: #fff1f2;
  --danger-border: #fecdd3;

  /* Typography Fallbacks */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Soft Playful Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 25px -4px rgba(2, 132, 199, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 12px 30px -6px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 20px 40px -8px rgba(2, 132, 199, 0.16);
  --shadow-wa: 0 10px 25px rgba(37, 211, 102, 0.35);

  /* Soft Rounded Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1200px;
}

/* --------------------------------------------------------------------------
   3. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-hover);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 85px 0;
  position: relative;
}

.section-mint {
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
  border-top: 1px solid #ccfbf1;
  border-bottom: 1px solid #ccfbf1;
}

.section-sky {
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
  border-top: 1px solid #e0f2fe;
  border-bottom: 1px solid #e0f2fe;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.badge-pill.pill-amber {
  background-color: var(--color-sun-light);
  color: var(--color-sun-dark);
}

.badge-pill.pill-teal {
  background-color: var(--color-teal-light);
  color: var(--color-teal);
}

.badge-pill.pill-coral {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. NoScript Banner
   -------------------------------------------------------------------------- */
.noscript-banner {
  background-color: #fef3c7;
  border-bottom: 2px solid #f59e0b;
  color: #92400e;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.noscript-banner a {
  color: #b45309;
  font-weight: 700;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. Clean, Uncluttered Site Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 6px 0;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled .nav-row {
  min-height: 72px;
  padding: 3px 0;
}

/* Cheerful Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  width: 66px;
  height: 66px;
  border-radius: var(--radius-pill);
  object-fit: contain;
  background-color: var(--white);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.18);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition), width 0.25s ease, height 0.25s ease;
}

.site-header.scrolled .brand-logo-img {
  width: 54px;
  height: 54px;
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.28);
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-emerald) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
  transition: transform var(--transition);
}

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

.brand-text-box {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Uncluttered Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 6px 0;
  position: relative;
  transition: color 0.18s ease;
}

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

.nav-link.has-sparkle::after {
  content: '✨';
  font-size: 0.75rem;
  margin-left: 4px;
}

/* Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-700);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--slate-100);
  transition: var(--transition);
}

.btn-header-call:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.btn-header-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: var(--transition);
}

.btn-header-book:hover {
  background-color: var(--color-primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.mobile-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  color: var(--slate-800);
  background-color: var(--slate-100);
}

/* Mobile Nav Drawer */
.mobile-nav-panel {
  display: none;
  background-color: var(--white);
  border-bottom: 2px solid var(--slate-200);
  padding: 24px;
  box-shadow: var(--shadow-card);
  animation: slideDown 0.25s ease;
}

.mobile-nav-panel.open {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-list a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-800);
  display: block;
  padding: 4px 0;
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   7. Buttons & Common Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0369a1 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.38);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebd5a 0%, #15803d 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background-color: var(--white);
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-subtle);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  font-size: 0.88rem;
  padding: 9px 18px;
}

/* --------------------------------------------------------------------------
   8. Joyful Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(2, 132, 199, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 22%, rgba(13, 148, 136, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f0fdfa 60%, #f8fafc 100%);
  padding: 60px 0 95px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-fun-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid #bbf7d0;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1.16;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-emerald) 60%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--slate-600);
  line-height: 1.68;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
}

.trust-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Hero Quick Booking Card with Dual-Tone Glow */
.hero-booking-card {
  background: var(--white);
  border: 2px solid transparent;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #38bdf8 0%, #34d399 50%, #fbbf24 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  box-shadow: 0 16px 40px -8px rgba(2, 132, 199, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
  position: relative;
}

.hero-card-header {
  margin-bottom: 16px;
}

.booking-card-title {
  font-size: 1.55rem;
  margin-bottom: 3px;
  color: var(--slate-900);
}

.booking-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Patient Type Toggle: Child vs Adult */
.patient-toggle-group {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
  margin-bottom: 4px;
  border: 1px solid var(--slate-200);
}

.patient-toggle-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--slate-600);
  cursor: pointer;
  transition: var(--transition);
}

.patient-toggle-pill:hover {
  color: var(--slate-900);
}

.patient-toggle-pill.active {
  background: var(--white);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.form-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
}

.form-reassurance svg {
  color: var(--color-whatsapp);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. Form Components & Accessible Inputs
   -------------------------------------------------------------------------- */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-label .req {
  color: var(--danger-color);
  margin-left: 2px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--slate-400);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 14px 13px 44px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  background-color: #fafbfc;
  color: var(--slate-900);
  font-size: 0.96rem;
  transition: var(--transition);
}

.form-input.no-icon,
.form-select.no-icon,
.form-textarea.no-icon {
  padding-left: 14px;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  background-color: var(--white);
  border-color: var(--slate-300);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: var(--white);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.15);
  outline: none;
}

.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--danger-color);
  background-color: var(--danger-bg);
}

.error-message {
  font-size: 0.82rem;
  color: var(--danger-color);
  font-weight: 600;
  display: none;
  margin-top: 2px;
}

.error-message.visible {
  display: block;
}

.char-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.char-counter.limit-near {
  color: var(--color-sun);
  font-weight: 700;
}

.char-counter.limit-reached {
  color: var(--danger-color);
  font-weight: 800;
}

/* Explicit requirement notice directly above submit */
.wa-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 11px 14px;
  margin-top: 4px;
}

.wa-notice-box svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.wa-notice-text {
  font-size: 0.84rem;
  color: #166534;
  line-height: 1.45;
  font-weight: 600;
}

/* Glass Success Feedback Panel */
.glass-success-panel {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 20px 35px -8px rgba(22, 101, 52, 0.18);
  text-align: center;
  margin-top: 18px;
  animation: fadeInDown 0.3s ease;
}

.glass-success-panel.visible {
  display: block;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35);
}

.success-panel-title {
  font-size: 1.35rem;
  color: #15803d;
  margin-bottom: 8px;
}

.success-panel-desc {
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.55;
  margin-bottom: 16px;
}

.success-fallback-box {
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--slate-700);
  margin-bottom: 16px;
  border: 1px solid var(--slate-200);
}

.success-fallback-box strong {
  color: var(--slate-900);
}

.success-dismiss-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 12px;
}

.success-dismiss-btn:hover {
  color: var(--color-primary-hover);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   10. Little Smiles & Kids Dental Corner (Child-Friendly Feature)
   -------------------------------------------------------------------------- */
.kids-corner-section {
  background: radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.1) 0%, transparent 40%),
              radial-gradient(circle at 85% 85%, rgba(14, 165, 233, 0.12) 0%, transparent 45%),
              linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border-top: 1.5px solid #fef08a;
  border-bottom: 1.5px solid #fef08a;
  padding: 85px 0;
  position: relative;
}

.kids-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.kids-feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 2px solid #fef08a;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.kids-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.kids-feature-card:nth-child(2)::before {
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.kids-feature-card:nth-child(3)::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.kids-feature-card:nth-child(4)::before {
  background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.kids-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
}

.kids-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.kids-feature-card:nth-child(2) .kids-icon-circle {
  background: #e0f2fe;
  color: #0369a1;
}

.kids-feature-card:nth-child(3) .kids-icon-circle {
  background: #d1fae5;
  color: #065f46;
}

.kids-feature-card:nth-child(4) .kids-icon-circle {
  background: #ffe4e6;
  color: #9f1239;
}

.kids-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.kids-card-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
}

.kids-promise-banner {
  background: var(--white);
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.kids-promise-text h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: #9a3412;
}

.kids-promise-text p {
  font-size: 0.96rem;
  color: var(--slate-600);
}

/* --------------------------------------------------------------------------
   11. Trust & Milestones Floating Strip
   -------------------------------------------------------------------------- */
.stats-strip {
  margin-top: -38px;
  position: relative;
  z-index: 20;
  padding: 0 0 50px 0;
  background: transparent;
  border: none;
}

.stats-grid-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  padding: 22px 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.stat-card:hover .stat-icon {
  transform: scale(1.08);
}

.stat-icon-sky {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.stat-icon-amber {
  background-color: var(--color-sun-light);
  color: var(--color-sun-dark);
}

.stat-icon-emerald {
  background-color: var(--color-emerald-light);
  color: var(--color-emerald);
}

.stat-icon-coral {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--slate-900);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--slate-600);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. Services Grid & Category Styling
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.1);
}

/* Colored Top Accent Bar */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-teal));
}

.service-card-amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.service-card-emerald::before { background: linear-gradient(90deg, #10b981, #34d399); }
.service-card-teal::before { background: linear-gradient(90deg, #0d9488, #2dd4bf); }
.service-card-sky::before { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.service-card-purple::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.service-card-coral::before { background: linear-gradient(90deg, #f43f5e, #fb7185); }

.service-card-amber:hover { border-color: #f59e0b; }
.service-card-emerald:hover { border-color: #10b981; }
.service-card-teal:hover { border-color: #0d9488; }
.service-card-sky:hover { border-color: #0284c7; }
.service-card-purple:hover { border-color: #8b5cf6; }
.service-card-coral:hover { border-color: #f43f5e; }

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.service-category-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-amber { background-color: var(--color-sun-light); color: var(--color-sun-dark); }
.tag-emerald { background-color: var(--color-emerald-light); color: #065f46; }
.tag-teal { background-color: var(--color-teal-light); color: var(--color-teal); }
.tag-sky { background-color: var(--color-primary-light); color: var(--color-primary); }
.tag-purple { background-color: var(--color-purple-light); color: var(--color-purple); }
.tag-coral { background-color: var(--color-coral-light); color: var(--color-coral); }

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #bae6fd 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

/* Individual Icon Box Theme Colors Matching Card Accent */
.service-card-amber .service-icon-box { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #d97706; }
.service-card-emerald .service-icon-box { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); color: #059669; }
.service-card-teal .service-icon-box { background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%); color: #0d9488; }
.service-card-sky .service-icon-box { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); color: #0284c7; }
.service-card-purple .service-icon-box { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); color: #7c3aed; }
.service-card-coral .service-icon-box { background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%); color: #e11d48; }

.service-card:hover .service-icon-box {
  transform: scale(1.08) rotate(4deg);
}

.service-card-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--slate-900);
  min-height: 3.5rem;
  display: flex;
  align-items: flex-start;
}

.service-card-desc {
  font-size: 0.93rem;
  color: var(--slate-600);
  line-height: 1.58;
  margin-bottom: 20px;
  min-height: 4.8rem;
  flex-grow: 1;
}

.btn-service-book {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  background-color: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-800);
  transition: var(--transition);
  cursor: pointer;
  margin-top: auto;
}

.btn-service-book:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
}

.btn-service-book svg {
  transition: transform var(--transition);
}

.btn-service-book:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   13. Meet Dr. Rijul Bhatnagar Section
   -------------------------------------------------------------------------- */
#about {
  background:
    radial-gradient(circle at 15% 45%, rgba(2, 132, 199, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(245, 158, 11, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f0fdfa 100%);
  position: relative;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.doctor-image-wrapper {
  position: relative;
}

.doctor-portrait-frame {
  position: relative;
  display: inline-block;
  width: 100%;
}

.doctor-portrait-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--radius-xl) + 10px);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.28) 0%, rgba(245, 158, 11, 0.2) 50%, rgba(16, 185, 129, 0.28) 100%);
  filter: blur(14px);
  z-index: 0;
  opacity: 0.8;
}

.doctor-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 4px solid var(--white);
  aspect-ratio: 576 / 1024;
  object-fit: cover;
}

.doctor-exp-floating-badge {
  position: absolute;
  bottom: -18px;
  right: 20px;
  z-index: 2;
  background-color: var(--white);
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-emerald);
  line-height: 1;
}

.badge-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--slate-700);
  line-height: 1.25;
}

.doctor-details-title {
  font-size: 2.25rem;
  margin-bottom: 6px;
}

.doctor-credentials {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 14px;
}

/* Editorial Testimonial Quote Card */
.doctor-quote-card {
  position: relative;
  background: linear-gradient(135deg, #f0fdfa 0%, #f0f9ff 100%);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 18px 22px 18px 48px;
  margin: 18px 0 24px 0;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.06);
}

.quote-mark {
  position: absolute;
  top: 4px;
  left: 14px;
  font-size: 3.4rem;
  font-family: Georgia, serif;
  color: var(--color-teal);
  line-height: 1;
  opacity: 0.4;
  user-select: none;
}

.doctor-quote-text {
  font-size: 1.02rem;
  color: var(--slate-700);
  line-height: 1.68;
  font-style: italic;
}

.doctor-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.highlight-box {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  transition: var(--transition);
}

.highlight-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.highlight-box.highlight-amber { background-color: #fffbeb; border-color: #fef08a; }
.highlight-box.highlight-emerald { background-color: #f0fdf4; border-color: #bbf7d0; }
.highlight-box.highlight-sky { background-color: #f0f9ff; border-color: #bae6fd; }
.highlight-box.highlight-teal { background-color: #f0fdfa; border-color: #99f6e4; }

.highlight-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-desc {
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   14. Clinic Tour & Interactive Photo Gallery
   -------------------------------------------------------------------------- */
.clinic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  outline: none;
}

.gallery-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  border-color: var(--color-primary);
}

.gallery-card-media {
  position: relative;
  overflow: hidden;
  height: 160px;
  background-color: var(--slate-100);
}

.gallery-photo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.gallery-photo-badge.badge-teal { background: rgba(13, 148, 136, 0.88); color: #ffffff; }
.gallery-photo-badge.badge-sky { background: rgba(2, 132, 199, 0.88); color: #ffffff; }
.gallery-photo-badge.badge-amber { background: rgba(217, 119, 6, 0.92); color: #ffffff; }
.gallery-photo-badge.badge-coral { background: rgba(225, 29, 72, 0.88); color: #ffffff; }

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 3;
}

.gallery-card:hover .gallery-zoom-overlay {
  opacity: 1;
}

.gallery-card-content {
  padding: 12px 14px;
}

.gallery-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--slate-900);
}

.gallery-card-desc {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.4;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.lightbox-modal.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  max-width: 880px;
  width: 100%;
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: scale(0.96);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: rgba(225, 29, 72, 0.95);
  transform: rotate(90deg);
}

.lightbox-img-container {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-container img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-info-bar {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-900);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.lightbox-title {
  font-weight: 700;
  font-size: 1rem;
}

.lightbox-hint {
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* --------------------------------------------------------------------------
   15. Patient Reviews & Filter Tabs
   -------------------------------------------------------------------------- */
#reviews {
  background:
    radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.reviews-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.review-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  transition: var(--transition);
}

.review-filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.review-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Reviews Moving Carousel */
.reviews-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 14px;
}

.reviews-carousel-container {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 6px 2px;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.4, 1);
  will-change: transform;
}

.review-carousel-slide.photo-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  margin-right: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  box-sizing: border-box;
  display: block;
}

@media (max-width: 1024px) {
  .review-carousel-slide.photo-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    margin-right: 20px;
  }
}

@media (max-width: 640px) {
  .review-carousel-slide.photo-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
}

.review-photo-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.review-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -6px rgba(15, 23, 42, 0.12);
  border-color: var(--color-primary);
}

.card-media-box {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}

@media (max-width: 640px) {
  .card-media-box {
    height: 240px;
  }
}

.carousel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.4s ease;
}

.card-media-box:hover .carousel-card-img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.card-tag.tag-teal { background: rgba(13, 148, 136, 0.94); }
.card-tag.tag-emerald { background: rgba(16, 185, 129, 0.94); }
.card-tag.tag-sky { background: rgba(2, 132, 199, 0.94); }
.card-tag.tag-purple { background: rgba(126, 34, 206, 0.94); }
.card-tag.tag-amber { background: rgba(217, 119, 6, 0.94); }
.card-tag.tag-coral { background: rgba(225, 29, 72, 0.94); }

.card-review-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.card-google-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.card-review-quote {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate-700);
  font-style: italic;
  margin: 0 0 14px;
  flex-grow: 1;
}

.card-reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
}

.card-reviewer-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-900);
}

.card-reviewer-tag {
  font-size: 0.76rem;
  color: var(--color-primary);
  font-weight: 600;
}

.carousel-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  z-index: 4;
}

.carousel-arrow-btn:hover {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-primary);
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.28);
}

.carousel-arrow-btn:active {
  transform: scale(0.96);
}

@media (max-width: 640px) {
  .carousel-arrow-btn {
    width: 38px;
    height: 38px;
  }
}

.carousel-dots-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--slate-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 28px;
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.carousel-dot:hover:not(.active) {
  background: var(--slate-400);
}

.review-card {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.review-card.hidden {
  display: none !important;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--slate-300);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.review-verified-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--color-sun);
}

.review-text {
  font-size: 0.98rem;
  color: var(--slate-700);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sun-light) 0%, var(--color-primary-light) 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.reviewer-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0284c7;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-card-with-photo {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 640px) {
  .review-card-with-photo {
    grid-template-columns: 1fr;
  }
}

.review-patient-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.review-patient-thumbnail {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.review-patient-img-wrapper:hover .review-patient-thumbnail {
  transform: scale(1.04);
}


.google-reviews-header-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px auto 26px;
  padding: 12px 24px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-pill);
  max-width: 660px;
}

.google-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #15803d;
}

.btn-google-listing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--white);
  color: #15803d;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-google-listing:hover {
  background: #15803d;
  color: var(--white);
  border-color: #15803d;
  transform: translateY(-1px);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.reviewer-treatment {
  font-size: 0.82rem;
  color: var(--color-teal);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   16. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--slate-900);
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
}

.faq-icon-chevron {
  color: var(--slate-400);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer-panel {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--slate-600);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer-panel {
  display: block;
}

/* --------------------------------------------------------------------------
   17. Comprehensive Booking & Contact Section
   -------------------------------------------------------------------------- */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: flex-start;
}

.full-booking-card {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  box-shadow: var(--shadow-card);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-card-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card-title svg {
  color: var(--color-primary);
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-list-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-list-text strong {
  display: block;
  font-size: 0.94rem;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.info-list-text p,
.info-list-text a {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Clinic Location Map Box */
.map-container-box {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-container-box:hover {
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.12);
}

.map-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: var(--slate-100);
}

.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-directions-bar {
  padding: 16px 22px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--slate-200);
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.map-directions-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  color: var(--white);
}

.map-nav-chips {
  padding: 12px 20px 18px 20px;
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
}

a.map-nav-chip {
  cursor: pointer;
}

a.map-nav-chip:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   19. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--slate-950);
  color: var(--slate-300);
  padding: 70px 0 30px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo-img {
  width: 56px;
  height: 56px;
  background-color: var(--white);
  padding: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.35rem;
}

.footer-tagline {
  font-size: 0.94rem;
  color: var(--slate-400);
  line-height: 1.65;
  margin: 16px 0 20px 0;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--slate-400);
  transition: color 0.18s ease;
}

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

.footer-hours-table {
  font-size: 0.9rem;
  width: 100%;
}

.footer-hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-hours-table td {
  padding: 8px 0;
  color: var(--slate-300);
}

.footer-hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--slate-500);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-privacy-btn {
  color: var(--slate-400);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.88rem;
}

.footer-privacy-btn:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   20. Floating WhatsApp Button (CRITICAL: ZERO WHITE DOT)
   -------------------------------------------------------------------------- */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-wa);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.floating-wa-btn:hover {
  background: linear-gradient(135deg, #1ebd5a 0%, #15803d 100%);
  color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.48);
}

/* --------------------------------------------------------------------------
   21. Sticky Mobile Bottom Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 10px 16px;
  z-index: 90;
  box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 12px;
}

.mobile-sticky-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--slate-100);
  color: var(--slate-800);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--slate-300);
}

.mobile-sticky-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px;
  border-radius: var(--radius-pill);
}

.hours-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

.hours-tag.hours-weekend {
  background-color: var(--color-teal-light);
  color: var(--color-teal);
}

.hours-tag.hours-off {
  background-color: var(--color-coral-light);
  color: var(--color-coral);
}

.timing-hint-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-600);
  margin: 6px 0 14px 0;
  background: var(--slate-50);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--slate-200);
}

/* --------------------------------------------------------------------------
   22. Fully Dynamic Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kids-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .doctor-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }

  .contact-section-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav-row {
    min-height: 72px;
  }

  .site-header .brand-logo-img {
    width: 54px;
    height: 54px;
  }

  .nav-links,
  .btn-header-call {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

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

  .clinic-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .privacy-pledge-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .kids-promise-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-wa-btn {
    bottom: 80px;
    right: 20px;
    padding: 12px 18px;
    font-size: 0.88rem;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 55px 0;
  }

  .stats-strip {
    margin-top: -24px;
    padding-bottom: 35px;
  }

  .stats-grid-card {
    padding: 18px 18px;
  }

  .kids-features-grid {
    grid-template-columns: 1fr;
  }

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

  .clinic-gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .full-booking-card {
    padding: 24px 18px;
  }

  .hero-booking-card {
    padding: 24px 18px;
  }

  .map-directions-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-directions-link {
    width: 100%;
    justify-content: center;
  }

  .lightbox-dialog {
    max-width: 95vw;
  }

  .lightbox-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
