/* Pristine Modern Animated Light Theme for drprashantjayant.com */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --primary: #0f172a;           /* Deep Slate */
  --primary-light: #1e293b;
  --accent: #0d9488;            /* Clinical Teal */
  --accent-hover: #0f766e;
  --accent-light: #ccfbf1;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --gold: #d97706;              /* Warm Amber */
  --bg-main: #f8fafc;           /* Soft Light BG */
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #0d9488;
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  padding-bottom: 90px; /* space for floating pill bar */
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
  font-family: 'Outfit', sans-serif;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Header & Top Bar */
.top-bar {
  background-color: #f1f5f9;
  color: #475569;
  padding: 10px 28px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.top-bar-info {
  display: flex;
  gap: 24px;
}

.lang-switch {
  display: flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 20px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #64748b;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}

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

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

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

.header-cta {
  background: linear-gradient(135deg, var(--accent), #14b8a6);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  transition: all 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 10% 20%, rgba(204, 251, 241, 0.5) 0%, rgba(248, 250, 252, 0) 50%),
              radial-gradient(circle at 90% 80%, rgba(254, 243, 199, 0.4) 0%, rgba(248, 250, 252, 0) 50%);
  padding: 56px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: flex-start;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ccfbf1;
  color: #0f766e;
  border: 1px solid #99f6e4;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.1);
  animation: floatSlow 4s ease-in-out infinite;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #14b8a6);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -5px rgba(13, 148, 136, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -5px rgba(16, 185, 129, 0.5);
}

/* Sciatica Score Calculator Card */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-card:hover {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.calculator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--emerald), var(--gold));
}

.calc-header {
  margin-bottom: 24px;
}

.calc-header h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 800;
}

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

/* Form Controls */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  transition: background 0.2s;
}

/* Graduated Colorful Pain Slider & Step Adjust Buttons */
.colorful-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
  outline: none;
  cursor: pointer;
}

.colorful-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0d9488;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.colorful-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.btn-step-adjust {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.btn-step-adjust:hover {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.08);
}

.slider-val-badge {
  background: #ccfbf1;
  color: #0f766e;
  font-weight: 800;
  font-size: 1rem;
  padding: 4px 14px;
  border-radius: 20px;
  min-width: 60px;
  text-align: center;
  border: 1px solid #99f6e4;
}

.custom-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}

.custom-select:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Calculator Result Card */
.result-card {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.9), rgba(204, 251, 241, 0.7));
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInUp 0.4s ease;
}

.result-score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.score-badge {
  font-size: 1.8rem;
  font-weight: 800;
  color: #047857;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.score-badge span {
  font-size: 0.9rem;
  color: #059669;
  font-weight: 600;
}

.severity-pill {
  background: #059669;
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.score-progress-bar {
  height: 8px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.score-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.result-desc {
  font-size: 0.93rem;
  color: #064e3b;
  margin-bottom: 18px;
  line-height: 1.5;
}

.wa-submit-btn {
  background: linear-gradient(135deg, #10b981, #047857);
  color: #ffffff;
  width: 100%;
  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  text-decoration: none;
}

.wa-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(16, 185, 129, 0.55);
}

/* Stats Section */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 32px 28px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Running Procedures Marquee Carousel */
.procedures-marquee-section {
  padding: 48px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.procedures-marquee-header {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 20px;
}

.procedures-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.procedures-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.procedures-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proc-card {
  width: 310px;
  min-width: 310px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proc-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.15);
}

.proc-icon-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
  background: #ccfbf1;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid #99f6e4;
  align-self: flex-start;
}

.proc-card h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.proc-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.proc-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  align-self: flex-start;
}

/* Section Common */
.section {
  padding: 72px 28px;
  max-width: 1240px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Specialty Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Focus Specialization Cards & Image Sizing */
.focus-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.focus-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  max-height: 240px;
  overflow: hidden;
  background: #f1f5f9;
}

.focus-img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.focus-card:hover .focus-img {
  transform: scale(1.04);
}

.focus-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.focus-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.focus-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.focus-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
  line-height: 1.55;
}

.focus-bullets {
  list-style: none;
  margin-bottom: 22px;
  padding: 0;
}

.focus-bullets li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.focus-bullets li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
  font-size: 1rem;
}

.card-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-bullets {
  list-style: none;
  margin-bottom: 24px;
}

.card-bullets li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.card-bullets li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
  font-size: 1rem;
}

/* 3 Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.step-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.step-card h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* VAS Pain Score Visual Bar */
.vas-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.vas-scale {
  height: 16px;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
  border-radius: 8px;
  margin-bottom: 16px;
}

.vas-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.vas-indicator {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.vas-tag-before {
  color: #dc2626;
  font-weight: 600;
  font-size: 0.95rem;
}

.vas-tag-after {
  color: #16a34a;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Hospital Location & OPD */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.loc-info h3 {
  font-size: 1.55rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.loc-detail {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.opd-badge {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* FAQ Section */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* FLOATING BOTTOM-RIGHT WHATSAPP ACTION BUTTON */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulseGlow 2.5s infinite;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 28px 28px 28px;
  text-align: center;
  font-size: 0.88rem;
}

footer p {
  margin-bottom: 8px;
}

/* Patient Photo Cover Card & Flip Animation */
.calc-card-wrapper {
  position: relative;
  perspective: 1000px;
  width: 100%;
}

.calc-card-cover {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.calc-card-cover:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 45px rgba(13, 148, 136, 0.2);
}

.cover-image-container {
  position: relative;
  height: 440px;
  width: 100%;
  overflow: hidden;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.calc-card-cover:hover .cover-img {
  transform: scale(1.05);
}

.cover-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.88) 75%, rgba(15, 23, 42, 0.98) 100%);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}
.wizard-step {
  animation: fadeInStep 0.35s ease-out;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.option-pills-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.pill-btn {
  background: #ffffff;
  border: 2.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.pill-btn:hover {
  border-color: var(--primary-light);
  background: #f0fdf4;
  transform: translateY(-1px);
}

.pill-btn.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, #f0fdf4, #ccfbf1);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-dark);
  border: 1px solid #cbd5e1;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Responsiveness */
@media (max-width: 960px) {
  .hero-container, .cards-grid, .steps-grid, .location-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dedicated Mobile Polish (iPhones & Android Phones <= 640px) */
@media (max-width: 640px) {
  .top-bar-info {
    display: none !important; /* Hides busy OPD timings text on mobile top bar */
  }

  .top-bar {
    display: flex !important;
    padding: 4px 14px;
    justify-content: flex-end;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
  }

  .lang-switch {
    background: #ffffff;
    padding: 2px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
  }

  .lang-btn {
    padding: 3px 8px;
    font-size: 0.72rem;
    border-radius: 14px;
  }

  .navbar {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .brand-logo-img {
    height: 34px;
  }

  .brand-title {
    font-size: 1rem;
    line-height: 1.15;
  }

  .brand-subtitle {
    font-size: 0.68rem;
    color: var(--accent);
  }

  .header-cta {
    padding: 6px 12px;
    font-size: 0.78rem;
    border-radius: 20px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    background: linear-gradient(135deg, var(--accent), #0f766e);
  }

  .hero {
    padding: 20px 16px 36px 16px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .calculator-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  /* Mobile Pain Slider Controls */
  .slider-control-wrapper > div {
    gap: 6px !important;
  }

  .btn-step-adjust {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 1.1rem;
  }

  .slider-ticks {
    font-size: 0.65rem !important;
  }

  .slider-val {
    font-size: 0.82rem !important;
    padding: 5px 8px !important;
  }

  .pill-btn {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  /* Mobile Procedures Carousel */
  .procedures-marquee-section {
    padding: 36px 0;
  }

  .procedures-marquee-header h2 {
    font-size: 1.4rem !important;
  }

  .proc-card {
    width: 260px;
    min-width: 260px;
    padding: 18px 14px;
  }

  .proc-card h4 {
    font-size: 1rem;
  }

  .proc-card p {
    font-size: 0.82rem;
  }

  /* Mobile Floating Circular WhatsApp Button (Never Overlaps Form Buttons) */
  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
  }

  .floating-whatsapp-btn #floating-wa-text {
    display: none !important; /* Hides text on mobile to form a sleek 46px circular widget */
  }

  .section {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .focus-content {
    padding: 20px 16px;
  }

  .focus-title {
    font-size: 1.25rem;
  }
}
