/* ==========================================================================
   Styles for Soft UI Evolution Premium Light Theme (index.html)
   Created for Healthy Smiles Dental Clinic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0,1');

:root {
  /* Color System */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-mint-tint: #F4FBF4;
  --bg-mint-light: #E8F5E9;
  
  --primary-green: #1B5E20; /* Dark Emerald */
  --logo-green: #4FA22B;    /* Accent Green */
  --logo-green-hover: #438B24;
  --accent-mint: #D1E7DD;
  
  --text-primary: #1E293B;  /* Deep Slate */
  --text-muted: #64748B;     /* Slate */
  --text-light: #94A3B8;     /* Light Slate */
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0;
  --border-mint: rgba(79, 162, 43, 0.15);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows: Soft Multi-Layer System */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 10px 25px -5px rgba(27, 94, 32, 0.05), 0 8px 10px -6px rgba(27, 94, 32, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(27, 94, 32, 0.08), 0 10px 20px -6px rgba(27, 94, 32, 0.04);
  
  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-mint-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--logo-green);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.15);
}

.btn-primary:hover {
  background-color: #124015;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.25);
}

.btn-secondary {
  background-color: var(--logo-green);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(79, 162, 43, 0.15);
}

.btn-secondary:hover {
  background-color: var(--logo-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 162, 43, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-green);
  border: 2px solid rgba(27, 94, 32, 0.2);
}

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

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--logo-green);
  outline-offset: 2px;
}

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

.section-padding {
  padding: 3.5rem 0;
}

.bg-tint {
  background-color: var(--bg-mint-tint);
}

.bg-secondary-section {
  background-color: var(--bg-secondary);
}

.badge {
  background-color: var(--bg-mint-light);
  color: var(--primary-green);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid var(--border-mint);
}

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

.section-header h2 {
  font-family: var(--font-headings);
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.section-header h2 span {
  color: var(--logo-green);
}

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

/* Header & Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all var(--transition-normal);
}

header.scrolled {
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-color);
}

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

.logo img {
  height: 35px;
  width: auto;
  transition: height var(--transition-normal);
}

header.scrolled .logo img {
  height: 30px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
}

.logo-badge-pill {
  font-family: var(--font-headings);
  font-size: 0.55rem;
  font-weight: 600;
  color: #d81b60; /* Pink color matching the design screenshot */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  transition: all var(--transition-normal);
}

.logo-badge-pill::before {
  content: "●";
  color: #d81b60;
  font-size: 0.4rem;
  display: inline-block;
}

header.scrolled .logo-badge-pill {
  font-size: 0.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
}

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

.nav-link.active {
  color: var(--primary-green);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: var(--radius-full);
  background-color: var(--logo-green);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 24px;
  justify-content: center;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 1.75rem);
  padding-bottom: 3.25rem;
  overflow: hidden;
  position: relative;
}

/* Background Ambient Glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 162, 43, 0.08) 0%, rgba(27, 94, 32, 0.02) 50%, transparent 100%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
}

/* Premium Pill Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-mint-light);
  color: var(--primary-green);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-mint);
  box-shadow: 0 2px 8px rgba(79, 162, 43, 0.05);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--logo-green);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.badge-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--logo-green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hero-content h1 {
  font-family: var(--font-headings);
  font-size: clamp(2.65rem, 5.2vw, 3.8rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  color: var(--logo-green);
}

.hero-br {
  display: block;
}

.hero-location {
  white-space: nowrap;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* WhatsApp custom style */
.btn-whatsapp-hero {
  border-color: #25D366 !important;
  color: #25D366 !important;
  display: inline-flex;
  align-items: center;
  background-color: transparent;
}

.btn-whatsapp-hero:hover {
  background-color: rgba(37, 211, 102, 0.05) !important;
  border-color: #20ba5a !important;
  color: #20ba5a !important;
}

/* USP Checkmarks Under Action Buttons */
.hero-usps {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-usp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.usp-icon {
  width: 16px;
  height: 16px;
  color: var(--logo-green);
  flex-shrink: 0;
}

/* Modern Bento Grid Layout on Hero Right */
.hero-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 230px 230px;
  gap: 1.25rem;
  position: relative;
  width: 100%;
  height: 480px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-primary);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

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

.bento-card-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: 100%;
}

.bento-card-medium {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 100%;
}

.bento-card-solid {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background: linear-gradient(135deg, var(--primary-green) 0%, #113d14 100%);
  color: var(--text-white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.bento-card-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.bento-solid-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.bento-badge-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  margin-bottom: 0.25rem;
}

.bento-solid-content h3 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-white);
}

.bento-solid-content p {
  font-size: 0.85rem;
  opacity: 0.9;
  color: var(--text-white) !important;
  margin-bottom: 0.25rem;
}

.bento-reviews-preview {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.5rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--logo-green);
  border: 2px solid var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-white);
  margin-right: -8px;
  transition: transform var(--transition-fast);
}

.avatar:hover {
  transform: translateY(-2px);
  z-index: 10;
}

.stars-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stars-yellow {
  color: #FFD700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  line-height: 1;
}

.review-label {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* Responsive adjustments for Bento Grid */
@media (max-width: 991px) {
  .hero-bento-grid {
    height: 420px;
    grid-template-rows: 200px 200px;
  }
  .hero-content h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-bento-grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 240px 180px 180px;
  }
  .bento-card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .bento-card-medium {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .bento-card-solid {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }
  .hero-usps {
    justify-content: center;
  }
}

/* Sub-page Hero Section */
.sub-hero {
  background-color: var(--bg-mint-tint);
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.sub-hero-content {
  max-width: 1240px;
  margin: 0 auto;
}

.sub-hero h1 {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sub-hero h1 span {
  color: var(--logo-green);
}

.sub-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* Trusted Accreditations Banner */
.trusted-by {
  padding: 1.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trusted-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.trusted-title {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-light);
  text-transform: uppercase;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  width: 100%;
}

.trusted-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.85;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.trusted-logo:hover {
  opacity: 1;
  color: var(--primary-green);
}

.trusted-logo svg {
  color: var(--logo-green);
  margin-right: 0.5rem;
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  justify-content: center;
}

.why-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--logo-green);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mint);
}

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

.why-icon {
  width: 54px;
  height: 54px;
  background-color: var(--bg-mint-tint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-green);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon {
  background-color: var(--logo-green);
  color: var(--text-white);
}

.why-card h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.5;
}

/* Services Grid Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
}

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

.service-card-image {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-secondary);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.service-top h3 {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.service-card:hover .service-top h3 {
  color: var(--primary-green);
}

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

.service-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0,0,0,0.06);
}

.service-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  color: var(--logo-green);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-green);
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background-color: var(--bg-mint-light);
  color: var(--primary-green);
}

.services-action {
  text-align: center;
  margin-top: 2rem;
}

/* Draggable Before-After Slider Section */
.before-after-section {
  background-color: var(--bg-secondary);
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.before-after-content h3 {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.before-after-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.before-after-list {
  list-style: none;
  margin-bottom: 2rem;
}

.before-after-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
}

.before-after-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--logo-green);
  font-weight: bold;
}

.before-after-container {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--bg-primary);
  user-select: none;
}

.before-img-wrapper, .after-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.after-img-wrapper {
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--bg-primary);
}

.before-after-container .label {
  position: absolute;
  bottom: 1.25rem;
  background: rgba(30, 41, 59, 0.75);
  color: var(--text-white);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  z-index: 3;
}

.before-label {
  right: 1.25rem;
}

.after-label {
  left: 1.25rem;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--bg-primary);
  z-index: 4;
  pointer-events: none;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: var(--bg-primary);
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  color: var(--primary-green);
}

/* Doctor Profile Section */
.doctor-section {
  overflow: hidden;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.doctor-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.doctor-image-container {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--bg-mint-light);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-secondary);
}

.doctor-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Detailed Service Page Grid Layout */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-detail-media {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  width: 100%;
}

.service-detail-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Detailed Service Page Image Card */
.service-detail-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-mint-light);
  background-color: var(--bg-secondary);
  width: 100%;
}

.service-detail-image-container img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail-media {
    position: static;
  }
}

.doctor-badge-exp {
  position: absolute;
  bottom: 25px;
  right: -20px;
  background-color: var(--primary-green);
  color: var(--text-white);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
}

.doctor-badge-exp svg {
  color: var(--bg-mint-light);
}

.doctor-badge-exp span {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.doctor-badge-exp p {
  font-size: 0.75rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

.doctor-content h2 span {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.5rem;
  display: inline-block;
}

.doctor-quote {
  font-style: italic;
  border-left: 4px solid var(--logo-green);
  padding-left: 1.5rem;
  margin: 1.5rem 0 2rem 0;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.doctor-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.doctor-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-primary);
}

.doctor-bullet-item svg {
  color: var(--logo-green);
  flex-shrink: 0;
}

/* Clinic Tour / Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 94, 32, 0.85), rgba(27, 94, 32, 0.1));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.gallery-overlay h4 {
  color: var(--text-white);
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

.col-span-2 {
  grid-column: span 2;
}

.row-span-2 {
  grid-row: span 2;
}

/* Testimonials Carousel Section */
.testimonials-section {
  overflow: hidden;
}

.testimonials-carousel-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 0 3.5rem;
}

.testimonials-carousel {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  max-width: 100%;
  padding: 3rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.stars {
  color: #FFD700;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.patient-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.patient-initials {
  width: 44px;
  height: 44px;
  background-color: var(--bg-mint-light);
  color: var(--primary-green);
  font-family: var(--font-headings);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.patient-name {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.google-icon {
  display: flex;
  align-items: center;
  margin-left: 0.25rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  width: 24px;
  background-color: var(--logo-green);
  border-radius: var(--radius-full);
}

/* Statistics Counter Section */
.stats-section {
  padding: 2.75rem 0;
  background-color: var(--primary-green);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  margin: 0 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--bg-mint-light);
}

.stat-item p {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Google Reviews Summary Pill Button */
.google-reviews-section {
  padding-bottom: 3rem;
  padding-top: 1.25rem;
  text-align: center;
}

.google-reviews-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  border: 2px solid var(--logo-green);
  background-color: #FFFFFF;
  color: var(--primary-green);
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(79, 162, 43, 0.12);
  cursor: pointer;
}

.google-reviews-pill-btn svg {
  color: var(--logo-green);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.google-reviews-pill-btn:hover {
  background-color: var(--logo-green);
  border-color: var(--logo-green);
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(79, 162, 43, 0.35);
}

.google-reviews-pill-btn:hover svg {
  color: #FFFFFF;
  transform: scale(1.15) rotate(-5deg);
}

.google-reviews-pill-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(79, 162, 43, 0.25);
}

/* Booking & Appointment Section */
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.booking-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.booking-card h3 {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.booking-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:focus {
  background-color: var(--bg-primary);
  border-color: var(--logo-green);
  box-shadow: 0 0 0 4px rgba(79, 162, 43, 0.1);
  outline: none;
}

.booking-card button[type="submit"] {
  grid-column: span 2;
  margin-top: 0.75rem;
  padding: 0.9rem 2rem;
}

/* Simplified Booking CTA Card (Homepage) */
.booking-cta-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.booking-cta-icon {
  width: 72px;
  height: 72px;
  background-color: var(--bg-mint-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
}

.booking-cta-card h3 {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.booking-cta-card > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 360px;
}

.booking-cta-card .btn-primary {
  padding: 0.95rem 2.5rem;
  font-size: 1.05rem;
}

.booking-cta-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  margin: 2rem 0;
}

.booking-cta-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.booking-cta-alt p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.booking-cta-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

.booking-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.booking-cta-phone:hover {
  color: var(--logo-green);
}

/* Need a Faster Response Banner */
.faster-response-banner {
  grid-column: span 2;
  background-color: rgba(79, 162, 43, 0.05);
  border: 1px solid rgba(79, 162, 43, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  box-sizing: border-box;
}

.faster-response-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faster-response-header .material-symbols-outlined {
  color: #7986CB !important;
  font-size: 1.4rem;
  font-variation-settings: 'FILL' 1;
}

.faster-response-header h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.faster-response-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 !important;
  line-height: 1.45;
}

.faster-response-banner .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(37, 211, 102, 0.12);
  border: none;
  cursor: pointer;
}

.faster-response-banner .btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-1px);
}

.faster-response-banner .btn-whatsapp svg {
  fill: currentColor;
  width: 1.05rem;
  height: 1.05rem;
}

.faster-response-subtext {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0 !important;
}


/* Contact Info cards & Map */
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

.info-card-new {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background-color: var(--bg-mint-tint);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  width: 100%;
}

.info-card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-green);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-details h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.25rem;
}

.info-card-details p {
  color: var(--text-primary);
  font-size: 0.925rem;
  line-height: 1.5;
}

.map-container-new {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}

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

/* FAQ Accordion Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

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

.faq-trigger h4 {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-right: 1.5rem;
}

.faq-icon-toggle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  color: var(--primary-green);
}

.faq-content,
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content p {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer styling */
footer {
  background-color: var(--text-primary);
  color: var(--text-white);
  padding: 3.5rem 0 1.75rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

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

.social-icon:hover {
  background-color: var(--logo-green);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links-list {
  list-style: none;
}

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

.footer-links-list a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--logo-green);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-list svg {
  color: var(--logo-green);
  flex-shrink: 0;
}

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

/* Floating Elements */
.sticky-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all var(--transition-normal);
}

.sticky-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--bg-primary);
  color: var(--primary-green);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-green);
  color: var(--text-white);
  border-color: var(--primary-green);
  transform: translateY(-3px);
}

/* Stagger & Fade Animations via JS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --nav-height: 80px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-stack {
    height: 420px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .doctor-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
  
  .doctor-quote {
    text-align: left;
  }
  
  .doctor-bullets {
    justify-items: start;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-header h2 {
    font-size: 2.15rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  .hero-location {
    white-space: normal;
  }
  
  .hero-br {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 2rem;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: left var(--transition-normal);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .before-after-container {
    height: 300px;
  }
  
  .testimonials-carousel-wrapper {
    padding: 0;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
  

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .booking-cta-card {
    padding: 2.25rem 1.5rem;
  }

  .booking-cta-card h3 {
    font-size: 1.45rem;
  }

  .info-card-new {
    padding: 1.25rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: clamp(1.4rem, 7vw, 1.85rem);
  }
  
  .hero-image-stack {
    height: 320px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .appointment-form {
    grid-template-columns: 1fr;
  }
  
  .faster-response-banner {
    grid-column: span 1;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .booking-card button[type="submit"] {
    grid-column: span 1;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  
  .col-span-2 {
    grid-column: span 1;
  }
  
  .row-span-2 {
    grid-row: span 1;
  }

  .booking-cta-card {
    padding: 2rem 1.25rem;
  }

  .info-card-new {
    padding: 1rem 1rem;
    gap: 0.875rem;
  }

  .faq-trigger {
    padding: 1rem 1.25rem;
  }

  .faq-content p {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }
}

/* ==========================================
   Gallery Category Filter Navigation Bar
   ========================================== */
.gallery-filter-wrapper {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.gallery-filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  justify-content: center;
}

.gallery-filter-btn {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover {
  color: var(--primary-green);
  background-color: var(--bg-mint-tint);
}

.gallery-filter-btn.active {
  background-color: var(--primary-green);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.25);
}

/* Treatment Sections & Cards Grid */
.treatment-section-block {
  margin-bottom: 2.5rem;
  transition: all var(--transition-normal);
}

.treatment-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-mint);
  padding-bottom: 0.75rem;
}

.treatment-section-header h3 {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-green);
}

.treatment-section-header .section-count {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--logo-green);
  background-color: var(--bg-mint-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-mint);
}

.treatment-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.treatment-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

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

.treatment-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f1f5f9;
}

.treatment-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.treatment-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary-green);
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(27, 94, 32, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.treatment-zoom-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  background-color: rgba(27, 94, 32, 0.85);
  backdrop-filter: blur(4px);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
  z-index: 2;
}

.treatment-card:hover .treatment-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.treatment-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.treatment-card-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.treatment-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.treatment-highlights-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.treatment-highlight-item {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-green);
  background-color: var(--bg-mint-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-mint);
}

.treatment-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.treatment-card-action span {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--logo-green);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform var(--transition-fast);
}

.treatment-card:hover .treatment-card-action span {
  transform: translateX(4px);
}

/* Lightbox Modal (Aura-Dental Inspired Button Layout) */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  user-select: none;
}

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

.lightbox-content-wrapper {
  position: relative;
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-dialog {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

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

/* Floating Close Button (Above Dialog Top-Right) */
.lightbox-close-btn {
  position: absolute;
  top: -3.25rem;
  right: 0;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  color: var(--text-white);
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.lightbox-close-btn:hover {
  background-color: var(--primary-green);
  color: var(--text-white);
  border-color: var(--primary-green);
  transform: scale(1.08);
}

/* Media Box & Navigation Buttons */
.lightbox-img-box {
  position: relative;
  width: 100%;
  max-height: 520px;
  background-color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img-box img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

/* Floating Navigation Prev / Next Buttons (aura-dental style) */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  color: var(--text-white);
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.lightbox-prev-btn {
  left: 1rem;
}

.lightbox-next-btn {
  right: 1rem;
}

.lightbox-nav-btn:hover {
  background-color: var(--primary-green);
  color: var(--text-white);
  border-color: var(--primary-green);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Image Counter Pill Overlay (Floating at bottom-center of image) */
.lightbox-counter-pill {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(15, 23, 42, 0.75);
  color: var(--text-white);
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  z-index: 15;
}

/* Lightbox Info Box */
.lightbox-info-box {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lightbox-category-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--bg-mint-light);
  color: var(--primary-green);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.725rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-mint);
}

.lightbox-info-box h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.lightbox-info-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .treatment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .treatment-cards-grid {
    grid-template-columns: 1fr;
  }
  .gallery-filter-bar {
    border-radius: var(--radius-md);
  }
  .gallery-filter-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  /* Mobile Lightbox Responsive Layout */
  .lightbox-modal {
    padding: 0.5rem;
  }

  .lightbox-content-wrapper {
    max-height: 92vh;
  }

  .lightbox-dialog {
    max-height: 88vh;
    display: flex;
    flex-direction: column;
  }

  .lightbox-img-box {
    max-height: 320px;
  }

  .lightbox-img-box img {
    max-height: 320px;
  }

  .lightbox-close-btn {
    top: 0.6rem;
    right: 0.6rem;
    width: 36px;
    height: 36px;
    background-color: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev-btn {
    left: 0.5rem;
  }

  .lightbox-next-btn {
    right: 0.5rem;
  }

  .lightbox-counter-pill {
    bottom: 0.6rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }

  .lightbox-info-box {
    padding: 1.25rem 1rem;
    overflow-y: auto;
  }

  .lightbox-info-box h3 {
    font-size: 1.15rem;
  }

  .lightbox-info-box p {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Page Index 2 Spacing Preservations (Tight layout with balanced gaps)
   ========================================================================== */
body.page-index2 .section-padding {
  padding: 3.5rem 0;
}

body.page-index2 .section-header {
  margin: 0 auto 2.25rem auto;
}

body.page-index2 .trusted-by {
  padding: 1.25rem 0;
}

body.page-index2 .stats-section {
  padding: 2.5rem 0;
}

body.page-index2 .google-reviews-section {
  padding-bottom: 3.5rem;
  padding-top: 1.5rem;
}

body.page-index2 footer {
  padding: 3rem 0 1.5rem 0;
}

body.page-index2 .footer-grid {
  margin-bottom: 2rem;
  gap: 2rem;
}

body.page-index2 .doctor-grid,
body.page-index2 .appointment-grid,
body.page-index2 .before-after-grid {
  gap: 2.5rem;
}

body.page-index2 .why-grid {
  gap: 1.25rem;
}

body.page-index2 .services-grid {
  gap: 1.5rem;
}

@media (max-width: 768px) {
  body.page-index2 .section-padding {
    padding: 2.25rem 0;
  }
  body.page-index2 .section-header {
    margin-bottom: 1.75rem;
  }
}

/* Mobile Sticky Bottom Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  border-top: 1px solid #E2E8F0;
  padding: 8px 12px;
  gap: 8px;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  body {
    padding-bottom: 60px;
  }
}

.mobile-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.mobile-sticky-btn:active {
  transform: scale(0.97);
}

.mobile-sticky-call {
  background-color: #F1F5F9;
  color: #1E293B;
}

.mobile-sticky-whatsapp {
  background-color: #DCFCE7;
  color: #15803D;
}

.mobile-sticky-book {
  background-color: #1B5E20;
  color: #FFFFFF;
}

/* Toast System */
.fixed-toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  width: calc(100% - 40px);
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.toast-item.toast-hiding {
  opacity: 0;
  transform: translateY(10px);
}

.toast-icon {
  font-weight: bold;
  font-size: 1rem;
}

.toast-success .toast-icon { color: #16A34A; }
.toast-error .toast-icon { color: #DC2626; }
.toast-info .toast-icon { color: #2563EB; }

.toast-body { flex: 1; font-size: 0.875rem; color: #1E293B; }
.toast-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #94A3B8; }

/* Motion JS & Hardware Acceleration */
.feature-card,
.service-card,
.testimonial-card,
.faq-item,
.gallery-item,
.doctor-card,
.step-card {
  will-change: transform;
}

/* Scroll reveal classes */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Blog Listing & Article Details Styling (Soft UI Evolution)
   ========================================================================== */

/* Blog Grid Listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mint);
}

.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.blog-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img-wrapper img {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--primary-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--primary-green);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--logo-green);
}

.blog-read-more {
  color: var(--primary-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-read-more {
  transform: translateX(4px);
}

/* Single Blog Article Layout */
.blog-article-section {
  padding: 3rem 0 5rem;
  background-color: var(--bg-primary);
}

.blog-article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .blog-article-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.breadcrumbs .separator {
  color: var(--text-light);
  font-size: 0.75rem;
}

.breadcrumbs .current {
  color: var(--primary-green);
  font-weight: 600;
}

.article-header {
  margin-bottom: 2rem;
}

.article-category-badge {
  display: inline-block;
  background: var(--bg-mint-light);
  color: var(--primary-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.85rem;
  }
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-author-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--logo-green);
}

.article-author-details {
  display: flex;
  flex-direction: column;
}

.article-author-name {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

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

.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-mint-light);
  margin-bottom: 2.5rem;
  background-color: var(--bg-secondary);
}

.article-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-body-content {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body-content p {
  margin-bottom: 1.5rem;
}

.article-body-content h2 {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  line-height: 1.35;
  scroll-margin-top: calc(var(--nav-height) + 30px);
}

.article-body-content h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.article-body-content ul, 
.article-body-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.article-body-content li {
  margin-bottom: 0.5rem;
}

.article-body-content a {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-mint);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

.article-body-content a:hover {
  color: var(--logo-green);
  text-decoration-color: var(--logo-green);
}

.article-callout {
  background: var(--bg-mint-tint);
  border-left: 4px solid var(--logo-green);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.article-callout p {
  margin: 0;
  font-weight: 500;
  color: var(--primary-green);
}

.article-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.article-tag-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.825rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* Sidebar Widgets */
.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-mint-light);
}

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

.toc-list li {
  margin-bottom: 0.75rem;
}

.toc-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  display: block;
  transition: all var(--transition-fast);
}

.toc-list a:hover {
  color: var(--primary-green);
  font-weight: 600;
  transform: translateX(3px);
}

.author-bio-widget {
  text-align: center;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--logo-green);
  box-shadow: var(--shadow-md);
}

.author-bio-name {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-bio-title {
  font-size: 0.825rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-bio-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Single Article FAQ Accordion */
.blog-faq-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--bg-mint-light);
}

/* Blog Article End CTA Box */
.blog-cta-box {
  background: linear-gradient(135deg, var(--primary-green) 0%, #124016 100%);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.blog-cta-box h3 {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.blog-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   Clinical Team & Visiting Consultants Component Styles
   ========================================================================== */

/* Teaser Grid (Homepage) */
.team-teaser-section {
  padding: 5rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  position: relative;
}

.team-teaser-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 576px) {
  .team-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .team-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-teaser-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.team-teaser-card {
  background: linear-gradient(180deg, var(--bg-mint-tint) 0%, #FFFFFF 100%);
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 162, 43, 0.4);
}

.team-teaser-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(79, 162, 43, 0.25);
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.08);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  background-color: var(--bg-secondary);
}

.team-teaser-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.avatar-dr-sheela {
  object-position: 50% 80% !important;
  transform: scale(1.2);
}

.team-teaser-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.team-teaser-name {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.team-teaser-degree {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 0;
}

.team-teaser-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.25rem;
}

/* Detailed Consultant Cards (About Page) */
.consultants-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-mint-tint) 0%, #FFFFFF 50%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border-color);
}

.consultants-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .consultants-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .consultants-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.consultant-card {
  background: #FFFFFF;
  border: 1px solid var(--border-mint);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.consultant-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(79, 162, 43, 0.4);
}

.consultant-img-box {
  aspect-ratio: 4 / 5;
  height: 290px;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-secondary);
  position: relative;
}

.consultant-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

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

.consultant-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.consultant-header {
  margin-bottom: 0.25rem;
}

.consultant-name {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.consultant-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 0.2rem;
}

.consultant-degree-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
  border: 1px solid var(--border-color);
}

.consultant-specialty {
  display: flex;
  items-center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.consultant-specialty svg {
  color: var(--logo-green);
  flex-shrink: 0;
}

.consultant-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}



