/* ==========================================================================
   Knee Cure Expert - Premium Design System & Stylesheet
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Color Palette */
  --primary: #045d6c;         /* Dark Healing Teal/Cyan */
  --primary-light: #067e92;   /* Lighter Teal */
  --primary-dark: #023d47;    /* Deep Navy Teal */
  --secondary: #f27a54;       /* Vibrant Healing Coral */
  --secondary-light: #ffa082; /* Soft Coral Highlight */
  --secondary-dark: #d85630;  /* Rich Dark Coral */
  --accent: #0eb39e;          /* Mint green success accent */
  --accent-soft: #e4f7f5;     /* Soft Mint/Teal Tint background */
  --bg-cream: #f4f8f9;        /* Cool fresh background */
  --bg-white: #ffffff;        /* Pure white */
  --text-dark: #102022;       /* High-contrast dark text */
  --text-muted: #4e6265;      /* Slate description text */
  --text-light: #f7f9f9;      /* Contrast light text */
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Decor */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(4, 93, 108, 0.05), 0 2px 4px -1px rgba(4, 93, 108, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(4, 93, 108, 0.08), 0 4px 6px -2px rgba(4, 93, 108, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(4, 93, 108, 0.12), 0 10px 10px -5px rgba(4, 93, 108, 0.06);
  --shadow-gold: 0 10px 20px -3px rgba(242, 122, 84, 0.25);
  --shadow-glass: 0 8px 32px 0 rgba(4, 93, 108, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
p { font-size: 1.05rem; font-weight: 400; color: var(--text-muted); }
strong { font-weight: 600; color: var(--primary); }

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

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

li {
  list-style: none;
}

/* ==========================================================================
   Utility Classes & Components
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--accent-soft);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(46, 139, 87, 0.15);
}

.section-title {
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.15rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -3px rgba(212, 175, 55, 0.35);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Glassmorphism Card Base */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}

/* Icon Wrap */
.icon-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  margin-bottom: 24px;
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(253, 251, 247, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 60, 53, 0.05);
}

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

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: var(--radius-full);
}

/* Hamburger Active States */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

@media (max-width: 991px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-cream);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: var(--transition-slow);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-actions {
    display: none; /* Handled in menu for mobile */
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* Hero Sliding Carousel styles */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Slide Overlays */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(2, 61, 71, 0.9) 0%, rgba(2, 61, 71, 0.4) 60%, rgba(2, 61, 71, 0.15) 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  color: var(--text-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-light);
  opacity: 0;
}

.hero-slide.active .hero-badge {
  animation: slideInLeft 0.8s forwards;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-light);
  opacity: 0;
}

.hero-slide.active .hero-title {
  animation: slideInLeft 0.8s 0.1s forwards;
}

.hero-title span {
  color: var(--secondary);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
}

.hero-slide.active .hero-desc {
  animation: slideInLeft 0.8s 0.2s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
}

.hero-slide.active .hero-cta {
  animation: slideInLeft 0.8s 0.3s forwards;
}

.hero-visual-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.hero-slide.active .hero-visual-slider {
  opacity: 1;
  transform: scale(1);
  animation: zoomIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-slider-img {
  width: 100%;
  max-width: 480px;
  height: 380px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
  filter: saturate(1.15) contrast(1.03);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.hero-slider-img:hover {
  filter: saturate(1.25) contrast(1.05);
  transform: scale(1.02);
}

/* Slider Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 1.5rem;
  border: none;
  outline: none;
}

.carousel-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary-dark);
}

.carousel-arrow.prev {
  left: 24px;
}

.carousel-arrow.next {
  right: 24px;
}

.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--secondary);
  width: 28px;
  border-radius: var(--radius-full);
}

/* Keyframe Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 991px) {
  .hero {
    height: auto;
    padding: 120px 0 60px;
  }
  .hero-slide {
    position: relative;
    opacity: 1;
    display: none;
    pointer-events: auto;
  }
  .hero-slide.active {
    display: block;
  }
  .hero-slide-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-slider-img {
    height: 300px;
  }
  .carousel-arrow {
    display: none; /* Hide arrows on mobile */
  }
}

/* ==========================================================================
   Quick Stats Section
   ========================================================================== */
.stats {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding-bottom: 60px;
}

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

.stat-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-number span {
  color: var(--secondary);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 991px) {
  .stats {
    margin-top: 0;
    padding-top: 60px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Quiz Section (Interactive Knee Pain Self-Assessment)
   ========================================================================== */
.quiz-section {
  background: linear-gradient(180deg, var(--bg-cream) 0%, #f3eff6 100%);
  position: relative;
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.quiz-header {
  margin-bottom: 32px;
}

.quiz-progress-bar {
  height: 6px;
  background-color: rgba(11, 60, 53, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 12px;
}

.quiz-progress {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-full);
  transition: var(--transition-slow);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.quiz-question {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 575px) {
  .quiz-options {
    grid-template-columns: 1fr;
  }
}

.quiz-option {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(11, 60, 53, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option:hover {
  border-color: var(--primary-light);
  background-color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quiz-option.selected {
  border-color: var(--primary);
  background-color: var(--accent-soft);
  color: var(--primary-dark);
}

.quiz-option::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(11, 60, 53, 0.2);
  display: inline-block;
  flex-shrink: 0;
  transition: var(--transition);
}

.quiz-option.selected::after {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: inset 0 0 0 4px var(--bg-white);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(11, 60, 53, 0.08);
  padding-top: 24px;
}

/* Quiz Lead Capture Form */
.quiz-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(11, 60, 53, 0.1);
  background-color: var(--bg-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(11, 60, 53, 0.08);
}

/* Quiz Result / Recommendation Report */
.quiz-result-card {
  text-align: center;
  animation: scaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz-result-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.quiz-result-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.quiz-result-text {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.quiz-result-box {
  background-color: var(--accent-soft);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.quiz-result-box h5 {
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   3-Pillar Cartilage Renewal Program
   ========================================================================== */
.pillars {
  background-color: var(--bg-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 60, 53, 0.05);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-12px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-lg);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-num {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(11, 60, 53, 0.04);
  line-height: 1;
}

.pillar-title {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.pillar-card p {
  font-size: 1rem;
  margin-bottom: 24px;
}

.pillar-list {
  margin-bottom: 8px;
}

.pillar-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pillar-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 991px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Comparison Section (Treatment vs Surgery)
   ========================================================================== */
.comparison {
  background-color: var(--bg-cream);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 60, 53, 0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-white);
  min-width: 750px;
}

.comparison-table th,
.comparison-table td {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(11, 60, 53, 0.06);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  background-color: rgba(11, 60, 53, 0.02);
  color: var(--primary-dark);
}

.comparison-table th.highlight-col {
  background-color: var(--primary);
  color: var(--text-light);
}

.comparison-table td.highlight-col {
  background-color: rgba(11, 60, 53, 0.02);
  font-weight: 600;
  color: var(--primary-dark);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

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

.comparison-table tr:last-child td.highlight-col {
  border-bottom: 3px solid var(--primary);
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.comparison-table .badge-success {
  background-color: var(--accent-soft);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

.comparison-table .badge-danger {
  background-color: #fcebeb;
  color: #c53030;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   Patient Success Stories (Testimonials Slider)
   ========================================================================== */
.testimonials {
  background-color: var(--bg-white);
  overflow: hidden;
}

.slider-outer {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.slider-container {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 20px;
}

.testimonial-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 60, 53, 0.06);
  position: relative;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary-dark);
  margin-bottom: 32px;
  line-height: 1.7;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.profile-meta h5 {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.profile-meta p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-dark);
}

.patient-badge {
  background-color: var(--accent-soft);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Slider Controls */
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  background-color: var(--bg-cream);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 60, 53, 0.06);
  background-color: var(--bg-white);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(11, 60, 53, 0.15);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-weight: 700;
  font-size: 1.1rem;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-inner {
  padding: 0 24px 24px;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Active State */
.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-icon {
  background-color: var(--primary);
  color: var(--text-light);
  transform: rotate(45deg);
}

/* ==========================================================================
   Clinics & Location Section
   ========================================================================== */
.locations {
  background-color: var(--bg-white);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 60, 53, 0.06);
  position: relative;
}

.location-title {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.location-meta {
  margin-bottom: 32px;
}

.location-meta-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.location-meta-icon {
  color: var(--secondary-dark);
  flex-shrink: 0;
  margin-top: 4px;
}

.location-meta-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.location-meta-text h6 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.location-meta-text p {
  font-size: 0.95rem;
}

.location-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Contact Form Page Specifics
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-card-wrap {
  padding: 48px;
  border-radius: var(--radius-lg);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
  border-top: 4px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h5 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--secondary-light);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Patient Feedback Section
   ========================================================================== */
.feedback-section {
  background-color: var(--bg-cream);
  border-top: 1px dashed rgba(11, 60, 53, 0.1);
  padding: 80px 0;
}

.feedback-form-card {
  max-width: 650px;
  margin: 0 auto;
  padding: 48px;
}

.star-rating {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.star {
  font-size: 2.2rem;
  color: rgba(11, 60, 53, 0.15);
  cursor: pointer;
  transition: var(--transition);
  -webkit-user-select: none;
  user-select: none;
}

.star:hover,
.star.hovered {
  color: var(--secondary-light);
  transform: scale(1.15);
}

.star.selected {
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.success-toast {
  display: none;
  background-color: var(--accent-soft);
  border: 1px solid rgba(46, 139, 87, 0.2);
  color: var(--primary-dark);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 24px;
  animation: scaleUp 0.4s ease;
}

.success-toast h5 {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

/* ==========================================================================
   Appointment Booking Section & Modal Styles
   ========================================================================== */
.booking-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.booking-info-col h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.booking-info-col h2 span {
  color: var(--secondary-dark);
}

.booking-info-col p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.booking-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.booking-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-feature-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.booking-feature-text h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.booking-feature-text p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Booking Card & Wizards */
.booking-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 460px;
}

.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.booking-step-title {
  font-size: 1.45rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.booking-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.step-indicator-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.step-indicator-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(11, 60, 53, 0.1);
  transform: translateY(-50%);
  z-index: 1;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-cream);
  border: 2px solid rgba(11, 60, 53, 0.15);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 2;
  position: relative;
  transition: var(--transition);
}

.step-dot.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 0 0 4px rgba(11, 60, 53, 0.1);
}

.step-dot.completed {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
}

/* Calendar Picker Layout */
.calendar-wrapper {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(11, 60, 53, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cal-month-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.cal-nav-btn {
  background: rgba(11, 60, 53, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  transition: var(--transition);
}

.cal-nav-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--text-light);
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 6px;
}

.calendar-day-btn {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 60, 53, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}

.calendar-day-btn:hover:not(:disabled) {
  background: var(--bg-white);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.calendar-day-btn.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-light) !important;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.calendar-day-btn:disabled {
  opacity: 0.25;
  background: rgba(11, 60, 53, 0.02);
  border-color: transparent;
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day-btn.other-month {
  opacity: 0.15;
  cursor: not-allowed;
}

.calendar-day-btn.today:not(.selected) {
  border: 2px solid var(--secondary);
  color: var(--primary-dark);
  font-weight: 700;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.slot-btn {
  padding: 10px 4px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(11, 60, 53, 0.1);
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
  -webkit-user-select: none;
  user-select: none;
}

.slot-btn:hover {
  background: var(--bg-white);
  border-color: var(--primary-light);
}

.slot-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.booking-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid rgba(11, 60, 53, 0.08);
  padding-top: 20px;
}

/* Spinner Loader */
.booking-loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(253, 251, 247, 0.95);
  border-radius: var(--radius-lg);
  z-index: 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(11, 60, 53, 0.1);
  border-left-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Receipts styling */
.success-receipt {
  display: none;
  animation: fadeIn 0.5s ease;
  text-align: center;
}

.receipt-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.receipt-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.receipt-id {
  font-family: var(--font-heading);
  background-color: var(--accent-soft);
  color: var(--primary);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-size: 0.95rem;
  margin-bottom: 24px;
  border: 1px solid rgba(46, 139, 87, 0.15);
}

.receipt-details-box {
  background: var(--bg-white);
  border: 1px solid rgba(11, 60, 53, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 60, 53, 0.06);
  padding: 10px 0;
}

.receipt-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.receipt-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.receipt-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Global Booking Modal */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 35, 30, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.35s ease;
}

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

.booking-modal-content {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.booking-modal-overlay.show .booking-modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11, 60, 53, 0.05);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 300;
  z-index: 12;
}

.modal-close-btn:hover {
  background: var(--primary);
  color: var(--text-light);
}

/* Scroll inside modal body */
.booking-modal-content::-webkit-scrollbar {
  width: 6px;
}

.booking-modal-content::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}

@media (max-width: 991px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 575px) {
  .booking-card {
    padding: 24px;
  }
  .date-grid, .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   premium clean styling & utility classes (No inline styles permitted)
   ========================================================================== */

/* Spacing Utilities */
.mb-0 { margin-bottom: 0 !important; }
.mb-6 { margin-bottom: 6px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }

/* Display, Flex & Width Utilities */
.flex-gap-12 {
  display: flex !important;
  gap: 12px !important;
}
.flex-column-gap-24 {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}
.flex-column-gap-48 {
  display: flex !important;
  flex-direction: column !important;
  gap: 48px !important;
}
.flex-grow-1 {
  flex-grow: 1 !important;
}
.flex-center-wrap {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
.justify-center {
  justify-content: center !important;
}
.w-100 {
  width: 100% !important;
}
.relative-z-2 {
  position: relative !important;
  z-index: 2 !important;
}

/* Typography, Colors & Text Compactors */
.text-primary {
  color: var(--primary) !important;
}
.text-light {
  color: var(--text-light) !important;
}
.text-muted {
  color: var(--text-muted) !important;
}
.text-inherit {
  color: inherit !important;
}
.text-base-compact {
  font-size: 0.95rem !important;
}
.text-sm-compact {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}
.text-xs-compact {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}
.text-xs-caps {
  font-size: 0.65rem !important;
  margin-top: 2px !important;
  text-transform: uppercase !important;
}

/* Inner Page Hero Backgrounds */
.about-hero-bg {
  background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, rgba(11, 60, 53, 0.02) 80%) !important;
  padding-top: 150px !important;
  padding-bottom: 60px !important;
}
.services-hero-bg {
  background: radial-gradient(circle at 90% 20%, rgba(212, 175, 55, 0.04) 0%, rgba(11, 60, 53, 0.02) 80%) !important;
  padding-top: 150px !important;
  padding-bottom: 60px !important;
}
.contact-hero-bg {
  background: radial-gradient(circle at 10% 80%, rgba(212, 175, 55, 0.04) 0%, rgba(11, 60, 53, 0.02) 80%) !important;
  padding-top: 150px !important;
  padding-bottom: 60px !important;
}

.inner-hero-title {
  font-size: 3.2rem !important;
  margin-bottom: 16px !important;
}

/* Background Color Helpers */
.bg-white {
  background-color: var(--bg-white) !important;
}
.bg-cream {
  background-color: var(--bg-cream) !important;
}

/* Featured Images */
.img-featured {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 4px solid var(--bg-cream) !important;
}
.img-rounded-shadow {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
}
.img-primary-bg {
  background-color: var(--primary) !important;
}
.img-avatar-padding {
  padding: 5px !important;
}

/* SVGs & Button Icons */
.btn-icon {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.btn-icon-lg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.btn-compact {
  padding: 10px 20px !important;
  font-size: 0.95rem !important;
}
.btn-outline-light {
  border-color: var(--text-light) !important;
  color: var(--text-light) !important;
}
.btn-outline-light:hover {
  background-color: var(--text-light) !important;
  color: var(--primary-dark) !important;
}

/* CTA Section layouts */
.cta-section-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  color: var(--text-light) !important;
  position: relative !important;
}
.cta-banner-title {
  color: var(--text-light) !important;
  font-size: 2.5rem !important;
  margin-bottom: 20px !important;
}
.cta-banner-desc {
  color: rgba(255, 255, 255, 0.8) !important;
  max-width: 700px !important;
  margin: 0 auto 36px !important;
  font-size: 1.1rem !important;
}

/* Dedicated components and sections */
.booking-section-wrapper {
  background-color: var(--bg-cream) !important;
  border-top: 1px dashed rgba(11, 60, 53, 0.1) !important;
}

.textarea-contact {
  min-height: 120px !important;
  resize: vertical !important;
}
.textarea-booking {
  min-height: 80px !important;
  resize: vertical !important;
}

.booking-sublabel {
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  display: block !important;
  font-family: var(--font-heading) !important;
  color: var(--primary-dark) !important;
}

.receipt-address {
  font-size: 0.75rem !important;
  text-align: right !important;
  max-width: 180px !important;
}

.feature-card-accent {
  padding: 20px !important;
  border-left: 4px solid var(--secondary) !important;
}

.clinic-card-primary {
  padding: 32px !important;
  border-left: 5px solid var(--primary) !important;
}
.clinic-card-secondary {
  padding: 32px !important;
  border-left: 5px solid var(--secondary) !important;
}

.pillar-card-compact {
  padding: 40px 30px !important;
}

.service-card {
  padding: 48px !important;
  display: grid !important;
  gap: 40px !important;
  align-items: center !important;
}
.service-card-cols-left {
  grid-template-columns: 1.1fr 0.9fr !important;
}
.service-card-cols-right {
  grid-template-columns: 0.9fr 1.1fr !important;
}

@media (max-width: 768px) {
  .service-card {
    padding: 30px 20px !important;
  }
  .service-card-cols-left,
  .service-card-cols-right {
    grid-template-columns: 1fr !important;
  }
}

/* Dynamic State Configurations */
#mobileCallBtn {
  margin-top: 20px !important;
  display: none !important;
}
#prevQuizBtn, #quizResultBox {
  display: none !important;
}
.quiz-progress-text {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  font-size: 0.95rem !important;
}
#homeBookingCard {
  background-color: var(--bg-cream) !important;
}
#prevBtn-homeBookingCard,
#prevBtn-modalBookingCard {
  visibility: hidden !important;
}

/* ==========================================================================
   Services Grid & 3D Flipping Card Animations
   ========================================================================== */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100%;
}

.service-flip-card {
  perspective: 1000px;
  height: 400px;
  width: 100%;
  cursor: pointer;
  background-color: transparent;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.service-flip-card:hover .service-card-inner,
.service-card-inner.is-flipped {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.service-card-front {
  background-size: cover;
  background-position: center;
  color: var(--primary-dark);
  transform: translateZ(1px);
  filter: saturate(1.1) contrast(1.02);
  transition: filter 0.5s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-flip-card:hover .service-card-front {
  filter: saturate(1.3) contrast(1.05);
  pointer-events: none;
}

.service-card-front::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.82) 100%);
  z-index: 1;
}

.service-card-front-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-card-front-content .icon-wrap {
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
  border: 1px solid rgba(11, 60, 53, 0.08);
}

.service-card-front-content h3 {
  font-size: 1.45rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card-front-content .target-conditions {
  font-size: 0.95rem;
  color: var(--secondary-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card-back {
  background-size: cover;
  background-position: center;
  transform: rotateY(180deg) translateZ(1px);
  color: var(--text-light);
  justify-content: space-between;
  pointer-events: auto;
}

.service-card-back::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(2, 61, 71, 0.98) 0%, rgba(2, 30, 35, 0.98) 100%);
  z-index: 1;
}

.service-card-back-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.service-card-back-content h4 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.service-card-back-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  line-height: 1.4;
}

.service-card-back-content ul {
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-back-content li {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.service-card-back-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-light);
  font-weight: bold;
}

.service-card-back-content .btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.95rem;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .service-flip-card {
    height: 380px;
  }
}

@media (max-width: 650px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .service-flip-card {
    height: 350px;
  }
}

/* Hero Slider Background Images */
.hero-slide-1 {
  background-image: linear-gradient(rgba(2, 61, 71, 0.85), rgba(2, 61, 71, 0.85)), url('../images/knee_clinic_doctor.png');
}
.hero-slide-2 {
  background-image: linear-gradient(rgba(2, 61, 71, 0.85), rgba(2, 61, 71, 0.85)), url('../images/knee_therapy_oil.png');
}
.hero-slide-3 {
  background-image: linear-gradient(rgba(2, 61, 71, 0.85), rgba(2, 61, 71, 0.85)), url('../images/knee_joint_bg.png');
}

/* Service Card Background Images */
.service-bg-knee {
  background-image: url('../images/knee_joint_bg.png');
}
.service-bg-back {
  background-image: url('../images/back_spine_bg.png');
}
.service-bg-joint {
  background-image: url('../images/general_joint_bg.png');
}
.service-bg-shoulder {
  background-image: url('../images/shoulder_joint_bg.png');
}

/* Home Services Showcase Section */
.home-services {
  background-color: var(--bg-cream);
  text-align: center;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.home-service-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 24px;
  text-align: left;
}

.home-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(2, 61, 71, 0.2), rgba(2, 61, 71, 0.9));
  z-index: 1;
  transition: var(--transition);
}

.home-service-card:hover::before {
  background: linear-gradient(rgba(2, 61, 71, 0.1), rgba(2, 61, 71, 0.95));
}

.home-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.home-service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  filter: saturate(1.15) contrast(1.02);
}

.home-service-card:hover .home-service-bg {
  transform: scale(1.06);
  filter: saturate(1.25) contrast(1.05);
}

.home-service-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.home-service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.home-service-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.4;
}

.home-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-service-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition);
}

.home-service-card:hover .home-service-link svg {
  transform: translateX(4px);
}

/* Language Switcher Styling */
.translate-gadget {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  vertical-align: middle;
}

/* Hide Google Translate top bar frame */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0px !important;
}

/* Style Google Simple Widget to look native */
.goog-te-gadget-simple {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 12px !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #fff !important;
  transition: var(--transition);
}

/* Scrolled header context styling */
.header.scrolled .goog-te-gadget-simple {
  border-color: rgba(11, 60, 53, 0.15) !important;
  color: var(--primary) !important;
}

.goog-te-gadget-simple img {
  display: none !important;
}

.goog-te-gadget-simple span {
  color: inherit !important;
}

.goog-te-menu-value {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.goog-te-menu-value span:first-child {
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

.goog-te-menu-value span:nth-child(3) {
  display: none !important;
}

.goog-te-menu-value span:nth-child(5) {
  font-size: 9px !important;
  margin-left: 6px !important;
  color: inherit !important;
  opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .translate-gadget {
    margin-right: 0;
    margin-bottom: 16px;
    width: 100%;
    justify-content: center;
  }
  .goog-te-gadget-simple {
    border-color: rgba(11, 60, 53, 0.15) !important;
    color: var(--primary) !important;
    width: 80%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}



