/* -------------------------------------------------------------------------- */
/* MERCY'S DENTAL CARE - MODERN CLINICAL STYLESHEET                          */
/* -------------------------------------------------------------------------- */

:root {
  /* Color Palette - Clean Clinical Blues, Soft Teal & Hygienic Whites */
  --primary-navy: #0A2540;
  --primary-blue: #0F62FE;
  --primary-blue-hover: #0043CE;
  --accent-teal: #0D9488;
  --accent-teal-light: #CCFBF1;
  --accent-cyan: #06B6D4;
  --accent-cyan-light: #E0F2FE;
  
  --surface-white: #FFFFFF;
  --surface-offwhite: #F8FAFC;
  --surface-card: #FFFFFF;
  --surface-alt: #F1F5F9;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  
  --border-light: #E2E8F0;
  --border-active: #38BDF8;
  
  --rating-gold: #F59E0B;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 32px -8px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 10px 25px -5px rgba(15, 98, 254, 0.25);
  --shadow-teal: 0 10px 25px -5px rgba(13, 148, 136, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--surface-offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px; /* Space for mobile sticky bar on mobile screens */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

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

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

/* Top Utility Announcement Bar */
.top-bar {
  background-color: var(--primary-navy);
  color: #E2E8F0;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-item i {
  color: var(--accent-teal);
}

.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(16, 185, 129, 0.15);
  color: #34D399;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.75rem;
}

.badge-open-dot {
  width: 6px;
  height: 6px;
  background-color: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34D399;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Main Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-navy);
}

.logo-icon-wrapper {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-primary);
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-fast);
  background-color: white;
  padding: 2px;
}

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

.brand-title span {
  color: var(--accent-teal);
}

.brand-subtitle {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

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

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

/* Button Base Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), #0284C7);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-hover), #0369A1);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(15, 98, 254, 0.35);
}

.btn-secondary {
  background-color: var(--surface-white);
  color: var(--primary-navy);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--surface-alt);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-teal {
  background: linear-gradient(135deg, var(--accent-teal), #059669);
  color: white;
  box-shadow: var(--shadow-teal);
}

.btn-teal:hover {
  background: linear-gradient(135deg, #0F766E, #047857);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: white;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
}

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

.btn-outline-blue:hover {
  background-color: rgba(15, 98, 254, 0.05);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* Responsive Header for Laptops */
@media (max-width: 1440px) {
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.9rem;
    padding: 0.25rem 0;
  }
  .header-actions {
    gap: 0.75rem;
  }
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  .brand-logo {
    font-size: 1.15rem;
    gap: 0.5rem;
  }
  .brand-logo-img {
    height: 42px;
    max-width: 46px;
  }
}

@media (max-width: 1250px) {
  .nav-menu {
    gap: 0.5rem;
  }
  .nav-link {
    font-size: 0.8rem;
  }
  .header-actions .btn-outline-blue {
    display: none; /* Hide phone button on small laptops to save space */
  }
  .btn-primary {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }
  .brand-logo {
    font-size: 1.05rem;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 42px;
  }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #F0F7FF 0%, var(--surface-offwhite) 100%);
  overflow: hidden;
}

.hero-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.shape-blob-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.shape-blob-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-circle-logo-standalone {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ffffff;
  padding: 4px;
  box-shadow: 0 10px 30px rgba(14, 116, 144, 0.2), 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.75rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-circle-logo-standalone:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 36px rgba(14, 116, 144, 0.28), 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hero-circle-logo-standalone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.hero-circle-logo-sm {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-circle-logo-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--surface-white);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.google-icon {
  width: 18px;
  height: 18px;
}

.rating-stars {
  color: var(--rating-gold);
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}

.rating-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

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

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-feature-item i {
  color: var(--accent-teal);
  font-size: 1.1rem;
}

.hero-visual-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface-white);
}

.hero-image-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #F0F7FF;
}

.floating-badge {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.badge-top-left {
  top: -60px;
  left: -70px;
  animation: float-slow 4s ease-in-out infinite;
}

.badge-bottom-right {
  bottom: -20px;
  right: -40px;
  animation: float-slow 4s ease-in-out infinite 2s;
}

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

.floating-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.floating-badge-icon.blue { background: linear-gradient(135deg, var(--primary-blue), #0284C7); }
.floating-badge-icon.teal { background: linear-gradient(135deg, var(--accent-teal), #059669); }

.floating-badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-navy);
}

.floating-badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* SECTION COMMON HEADINGS */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  background-color: var(--accent-teal-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

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

/* SERVICE OVERVIEW SECTION */
.service-overview-section {
  padding: 5rem 0 2.5rem;
  background: linear-gradient(180deg, #F0F7FF 0%, var(--surface-offwhite) 100%);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.overview-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.overview-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  border-color: rgba(13, 148, 136, 0.3);
}

.overview-card:hover::after {
  opacity: 1;
}

.ov-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E0F2FE, #CCFBF1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-teal);
  transition: all 0.3s ease;
  border: 1.5px solid rgba(13, 148, 136, 0.15);
}

.overview-card:hover .ov-icon-wrap {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.overview-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.35;
  margin: 0;
}

/* Mobile: 2 cards per row */
@media (max-width: 640px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .overview-card {
    padding: 1.4rem 0.75rem 1.2rem;
    gap: 0.8rem;
  }
  .ov-icon-wrap {
    width: 54px;
    height: 54px;
    font-size: 1.35rem;
    border-radius: 13px;
  }
  .overview-name {
    font-size: 0.8rem;
  }
}

/* SERVICES SECTION */
.services-section {
  padding: 3rem 0 5rem 0;
  background-color: var(--surface-white);
}

.services-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background-color: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn i {
  font-size: 1.1rem;
  color: var(--text-light);
}

.tab-btn:hover {
  background-color: #E2E8F0;
  color: var(--primary-navy);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

.tab-btn.active i {
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
  opacity: 0;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 98, 254, 0.2);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--accent-cyan-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Service card image styles */
.service-card:has(.service-card-img-wrap) {
  padding-top: 0;
}

.service-card-img-wrap {
  position: relative;
  width: calc(100% + 3rem);
  margin: 0 -1.5rem 1.5rem;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card-img-overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(15, 98, 254, 0.35);
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
  margin-bottom: 0.35rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}

.service-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-card-cta {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
}

.btn-card-cta:hover {
  color: var(--primary-blue-hover);
  gap: 0.5rem;
}

/* BEFORE & AFTER COMPARISON SECTION */
.transformation-section {
  padding: 5rem 0;
  background-color: var(--surface-offwhite);
}

.transformation-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background-color: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.case-selector-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.case-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--surface-alt);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.case-btn.active {
  background-color: var(--primary-navy);
  color: white;
  border-color: var(--primary-navy);
}

/* Interactive Split Comparison Slider */
.comparison-slider-container {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  box-shadow: var(--shadow-sm);
}

.before-image, .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.after-image {
  width: 50%; /* Initial split at 50% */
  border-right: 3px solid white;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.before-label, .after-label {
  position: absolute;
  top: 20px;
  padding: 0.4rem 1rem;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  z-index: 4;
}

.before-label { right: 20px; }
.after-label { left: 20px; }

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

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.case-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 1rem;
}

.case-details h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-navy);
}

.case-details p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ABOUT & PATIENT CARE SECTION */
.about-section {
  padding: 5rem 0;
  background-color: var(--surface-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-wrapper {
  position: relative;
}

.clinic-photo-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface-white);
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 160px;
}

.about-experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  color: var(--accent-cyan);
}

.about-experience-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E2E8F0;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--accent-teal-light);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-text h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.pillar-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* REVIEWS & FAQ SECTION */
.reviews-faq-section {
  padding: 5rem 0;
  background-color: var(--surface-offwhite);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.review-card {
  background-color: var(--surface-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-comment {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-badge {
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  cursor: pointer;
}

.faq-question i {
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

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

/* CLINIC TOUR – SWIPE CAROUSEL */
.clinic-tour-section {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--surface-offwhite) 0%, #EEF4FF 100%);
  overflow: hidden;
}

/* Outer wrapper — relative so arrows & dots can be positioned absolutely */
.tour-carousel-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  user-select: none;
}

/* Slide counter badge */
.carousel-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  background: rgba(10, 37, 64, 0.78);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  pointer-events: none;
}

/* Viewport: clips the track, no overflow */
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface-white);
  background: #0A2540;
}

/* Track: all slides sit inline, CSS translate drives the slide */
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Individual slide — full viewport width */
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

/* Inner content wrapper shared by both types */
.slide-inner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* Video slide */
.slide-video {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clinic-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Image slide */
.slide-image {
  cursor: zoom-in;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 98, 254, 0.5),
    rgba(13, 148, 136, 0.5)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide-image-overlay span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.slide-image:hover img {
  transform: scale(1.04);
}

.slide-image:hover .slide-image-overlay {
  opacity: 1;
}

/* Slide badge (bottom-left label) */
.slide-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  background: rgba(10, 37, 64, 0.82);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
}

.slide-badge i {
  color: var(--accent-cyan);
}

/* Arrow buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  color: var(--primary-navy);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  /* Nudge outside the viewport slightly */
  margin-top: -30px; /* offset for counter + dots, center on slide */
}

.carousel-arrow:hover {
  background: var(--primary-blue);
  color: white;
  box-shadow: var(--shadow-primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.arrow-prev { left: -24px; }
.arrow-next { right: -24px; }

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary-blue);
  width: 28px;
  border-radius: 5px;
  transform: none;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 44, 0.93);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 1060px) {
  .arrow-prev { left: 8px; }
  .arrow-next { right: 8px; }
}

@media (max-width: 768px) {
  .slide-inner { height: 340px; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 0.85rem; }
  .arrow-prev { left: 6px; }
  .arrow-next { right: 6px; }
}

@media (max-width: 480px) {
  .slide-inner { height: 260px; }
}

/* LOCATION & CONTACT SECTION */
.contact-section {
  padding: 5rem 0;
  background-color: var(--surface-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-card {
  background-color: var(--surface-offwhite);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--accent-cyan-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail-content h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.detail-content p, .detail-content a {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.landmark-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--accent-teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
}

.map-wrapper {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

/* FOOTER */
.site-footer {
  background-color: var(--primary-navy);
  color: #94A3B8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* APPOINTMENT MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-container {
  background-color: var(--surface-white);
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--surface-alt);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* MOBILE FLOATING QUICK-ACTION BAR */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--surface-white);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-actions {
  display: flex;
  gap: 0.75rem;
}

.mobile-sticky-actions .btn {
  flex: 1;
  padding: 0.65rem;
  font-size: 0.85rem;
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--primary-navy);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: #34D399;
  font-size: 1.25rem;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  /* Mobile Navigation triggers at 1024px for small laptops/tablets */
  .top-bar { display: none; }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: var(--surface-white);
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav-link {
    font-size: 1.25rem;
  }
  .nav-menu.active { left: 0; }
  .mobile-toggle { display: block; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual-wrapper { order: -1; }
  .hero-image-card img { height: auto; max-height: 380px; }
  
  .floating-badge { padding: 0.6rem 0.85rem; }
  .floating-badge-icon { width: 32px; height: 32px; font-size: 1rem; }
  .badge-top-left { left: -20px; top: -45px; }
  .badge-bottom-right { right: -10px; bottom: -15px; }
  
  .section-title { font-size: 1.85rem; }
  .hero-title { font-size: 2.15rem; }
  
  .mobile-sticky-bar { display: block; }
  .header-actions .btn-primary,
  .header-actions .btn-outline-blue { display: none; } /* Show in mobile sticky bar instead */
  
  .comparison-slider-container { height: 320px; }
  .about-pillars-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* CLINIC TOUR CAROUSEL SECTION                                 */
/* ============================================================ */
.clinic-tour-section {
  padding: 5rem 0;
  background-color: var(--surface-offwhite);
}

.tour-carousel-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background-color: var(--primary-navy);
  cursor: grab;
  user-select: none;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.slide-inner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-inner img,
.slide-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.carousel-counter {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 5;
}

.slide-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.4);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  cursor: pointer;
}

.slide-inner.slide-image:hover .slide-image-overlay {
  opacity: 1;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--surface-white);
  color: var(--primary-navy);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.arrow-prev { left: -24px; }
.arrow-next { right: -24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary-blue);
  width: 28px;
}

@media (max-width: 768px) {
  .slide-inner { height: 340px; }
  .arrow-prev { left: 8px; }
  .arrow-next { right: 8px; }
}

/* ============================================================ */
/* TESTIMONIALS SECTION                                         */
/* ============================================================ */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #F0F7FF 0%, var(--surface-white) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Rating Summary Bar */
.rating-summary-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.rating-overall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.rating-big-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
}

.rating-stars-lg {
  display: flex;
  gap: 3px;
  color: var(--rating-gold);
  font-size: 1.2rem;
}

.rating-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rating-source i {
  color: #4285F4;
}

.rating-divider {
  width: 1px;
  height: 80px;
  background: var(--border-light);
  flex-shrink: 0;
}

.rating-breakdown {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.rating-bar-row > span:first-child {
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.rating-bar-row > span:last-child {
  width: 32px;
  flex-shrink: 0;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: var(--surface-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rating-gold), #FCD34D);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.testimonials-track.dragging {
  cursor: grabbing;
  transition: none !important;
}

/* Testimonial Card */
.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-card:hover::after {
  transform: scaleX(1);
}

.testimonial-quote-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--rating-gold);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), #0284C7);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-navy);
  font-weight: 600;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.google-verified {
  font-size: 0.75rem;
  color: #4285F4;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #EEF4FF;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Arrow Buttons */
.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--surface-white);
  color: var(--primary-navy);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.t-arrow:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-50%) scale(1.08);
}

.t-arrow-prev { left: -23px; }
.t-arrow-next { right: -23px; }

/* Dot Indicators */
.t-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.t-dot.active {
  background: var(--primary-blue);
  width: 24px;
}

/* CTA */
.testimonials-cta {
  text-align: center;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 640px) {
  .testimonial-card { flex: 0 0 100%; }
  .t-arrow-prev { left: 4px; }
  .t-arrow-next { right: 4px; }
  .rating-summary-bar {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .rating-divider { width: 80%; height: 1px; }
}

/* ============================================================ */
/* TREATMENTS GALLERY SECTION                                   */
/* ============================================================ */
.treatments-section {
  padding: 5rem 0;
  background-color: var(--surface-white);
  position: relative;
}

.treatments-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.treatments-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.treatments-track.dragging {
  cursor: grabbing;
  transition: none !important;
}

.treat-slide {
  flex: 0 0 calc(33.333% - 1rem);
  box-sizing: border-box;
}

.treat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--surface-alt);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.treat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.treat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.treat-card:hover img {
  transform: scale(1.08);
}

.treat-card:hover .treat-overlay {
  opacity: 1;
}

.treat-card:hover .treat-overlay-icon {
  transform: scale(1);
}

.treat-card:hover .treat-label {
  transform: translateY(0);
}

/* Treatment Carousel Arrows */
.treat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--surface-white);
  color: var(--primary-navy);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.treat-arrow:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-50%) scale(1.08);
}

.treat-arrow-prev { left: 8px; }
.treat-arrow-next { right: 8px; }

/* Treatment Dot Indicators */
.treat-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.treat-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.treat-dot.active {
  background: var(--primary-blue);
  width: 24px;
}

@media (max-width: 1024px) {
  .treat-slide { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 640px) {
  .treat-slide { flex: 0 0 100%; }
  .treat-arrow-prev { left: 4px; }
  .treat-arrow-next { right: 4px; }
}

/* Treatment Lightbox */
.treat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.treat-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.treat-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.treat-lightbox.active .treat-lightbox-img {
  transform: scale(1);
}

.treat-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.treat-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.treat-lb-caption {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .treat-item.treat-featured,
  .treat-item.treat-wide {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
    min-height: auto;
  }
}

/* ============================================================ */
/* ALIGNERS TREATMENT CASES SECTION                             */
/* ============================================================ */
.aligners-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--surface-white) 0%, #F0F7FF 100%);
  position: relative;
}

.aligners-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.aligner-case-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.aligner-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #7C3AED, var(--primary-blue));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.aligner-case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.3);
}

.aligner-case-card:hover::before {
  opacity: 1;
}

.case-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.case-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.aligner-case-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
}

.case-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.case-before-after-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  background: var(--surface-alt);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
}

.pill-before {
  color: #EF4444;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pill-arrow {
  color: var(--text-light);
  font-size: 0.7rem;
}

.pill-after {
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.case-img-wrap {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.aligner-case-card:hover .case-img-wrap img {
  transform: scale(1.06);
}

/* Aligners CTA Box */
.aligners-cta-box {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1E1B4B 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.cta-box-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.cta-box-content p {
  color: #C7D2FE;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .aligners-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

/* Lightning Shine Effect for Cards */
.overview-card, .service-card, .aligner-case-card, .treat-card, .testimonial-card, .hero-image-card {
  position: relative;
  overflow: hidden;
}

.overview-card::before, .service-card::before, .aligner-case-card::before, .treat-card::before, .testimonial-card::before, .hero-image-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 10;
  pointer-events: none;
}

.overview-card:hover::before, .service-card:hover::before, .aligner-case-card:hover::before, .treat-card:hover::before, .testimonial-card:hover::before, .hero-image-card:hover::before {
  animation: lightning-shine 0.7s ease-in-out;
}

@keyframes lightning-shine {
  0% { left: -150%; }
  100% { left: 250%; }
}

/* Scroll Entrance Animations */
.animated-hidden {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (max-width: 640px) {
  /* For mobile: slide odd cards from left, even cards from right */
  .overview-card.animated-hidden:nth-child(odd) {
    transform: translateX(-50px) !important;
  }
  .overview-card.animated-hidden:nth-child(even) {
    transform: translateX(50px) !important;
  }
}

.animated-show {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}





