/* Warm Lavender & Light Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

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

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

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  line-height: 1.8;
  color: #4c5270;
  background-color: #fafbff;
  overflow-x: hidden;
  letter-spacing: 0.2px;
}

/* Warm Lavender & Light Color Palette */
:root {
  --primary-lavender: #8b7cf8;
  --soft-purple: #a78bfa;
  --warm-lilac: #c084fc;
  --light-lavender: #ede9fe;
  --cream-white: #fafbff;
  --deep-slate: #4c5270;
  --soft-white: #ffffff;
  --lavender-mist: #f8faff;
  --light-gray: #f1f5f9;
  --sage-accent: #10b981;
  --text-color: #4c5270;
  --light-text: #64748b;
  --divider: #e2e8f0;
  --shadow-light: 0 4px 20px rgba(139, 124, 248, 0.08);
  --shadow-medium: 0 8px 40px rgba(139, 124, 248, 0.12);
  --border-radius: 16px;
  --container-max-width: 1200px;
  --section-padding: 120px 0;
  --mobile-section-padding: 80px 0;
}

/* Container and Layout Utilities */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-padding);
}

.section-mobile {
  padding: var(--mobile-section-padding);
}

/* Elegant Lavender Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: var(--deep-slate);
  margin-bottom: 2rem;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-lavender);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary-lavender);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--soft-purple);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 400;
}

strong {
  color: var(--primary-lavender);
  font-weight: 600;
}

/* Elegant Lavender Header and Hero Section */
.hero-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--deep-slate);
  overflow: hidden;
  background: linear-gradient(-45deg, #8b7cf8, #a78bfa, #c084fc, #ede9fe);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animated Background Container */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Floating Geometric Shapes */
.floating-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-duration: 25s;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 15%;
  animation-duration: 30s;
  animation-delay: -5s;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-duration: 22s;
  animation-delay: -10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  right: 25%;
  animation-duration: 28s;
  animation-delay: -15s;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.shape-5 {
  width: 140px;
  height: 140px;
  top: 50%;
  left: 5%;
  animation-duration: 35s;
  animation-delay: -20s;
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

.shape-6 {
  width: 90px;
  height: 90px;
  top: 70%;
  right: 10%;
  animation-duration: 26s;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(0px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-15px) rotate(270deg);
    opacity: 0.9;
  }
}

/* Floating Particles */
.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particleFloat 15s infinite linear;
}

.particle-1 {
  width: 4px;
  height: 4px;
  top: 15%;
  left: 25%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.particle-2 {
  width: 6px;
  height: 6px;
  top: 35%;
  right: 30%;
  animation-duration: 22s;
  animation-delay: -7s;
}

.particle-3 {
  width: 3px;
  height: 3px;
  bottom: 40%;
  left: 40%;
  animation-duration: 20s;
  animation-delay: -14s;
}

.particle-4 {
  width: 5px;
  height: 5px;
  bottom: 25%;
  right: 20%;
  animation-duration: 16s;
  animation-delay: -9s;
}

.particle-5 {
  width: 4px;
  height: 4px;
  top: 60%;
  left: 70%;
  animation-duration: 24s;
  animation-delay: -18s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) translateX(-15px);
    opacity: 1;
  }
  75% {
    transform: translateY(-40px) translateX(5px);
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.header {
  padding: 30px 0 20px 0;
  position: relative;
  z-index: 20;
}

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

.logo-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.97);
  padding: 15px 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(139, 124, 248, 0.12);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(237, 233, 254, 0.4);
}

.logo {
  height: 80px;
  width: auto;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-lavender);
  margin: 0;
  letter-spacing: 0.3px;
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.97);
  padding: 15px 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(139, 124, 248, 0.12);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(237, 233, 254, 0.4);
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--deep-slate);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-lavender);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-lavender);
  transition: width 0.3s ease;
}

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

.nav-cta {
  background: var(--primary-lavender);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-lavender);
}

.nav-cta:hover {
  background: white;
  color: var(--primary-lavender);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 124, 248, 0.3);
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  position: relative;
  z-index: 20;
}

.hero-content h1 {
  color: var(--soft-white);
  margin-bottom: 3rem;
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  letter-spacing: 2px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 60px;
}

/* Elegant Lavender Buttons */
.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--primary-lavender);
  text-align: center;
  font-family: 'Outfit', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--soft-purple) 100%);
  color: var(--soft-white);
  border: 2px solid var(--primary-lavender);
  box-shadow: 0 6px 20px rgba(139, 124, 248, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--soft-purple) 0%, var(--warm-lilac) 100%);
  border-color: var(--soft-purple);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(139, 124, 248, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--soft-white);
  border: 2px solid var(--soft-white);
  font-weight: 500;
}

.btn-outline:hover {
  background: var(--soft-white);
  color: var(--primary-lavender);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
  border-color: var(--soft-white);
}

.btn-large {
  padding: 22px 50px;
  font-size: 1.1rem;
}

/* Zen CTA Sections */
.cta-section {
  background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--soft-purple) 100%);
  color: var(--soft-white);
  text-align: center;
  padding: 100px 0;
}

.cta-content h2 {
  color: var(--soft-white) !important;
  margin-bottom: 2rem;
  font-weight: 400;
}

.cta-subtitle {
  font-style: italic;
  margin-bottom: 3rem;
  opacity: 1;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* Fresh Lavender Content Sections */
.content-section {
  padding: 80px 0;
  background: var(--cream-white);
}

.content-section:nth-child(even) {
  background: var(--lavender-mist);
}

.therapy-section {
  background: var(--soft-white) !important;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 2rem;
  font-weight: 300;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--light-text);
  font-weight: 300;
  line-height: 1.8;
}

/* Clean Layout System */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

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

/* Elegant Lavender Checkmarks */
.checkmarks-list {
  list-style: none;
  margin-top: 30px;
}

.checkmarks-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 400;
}

.checkmarks-list li::before {
  content: '•';
  margin-right: 20px;
  font-size: 1.5rem;
  color: var(--primary-lavender);
}

/* Three Column Layout (Zen Style) */
.three-column-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.cta-sidebar {
  background: var(--soft-white);
  color: var(--deep-slate);
  padding: 60px 40px;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-light);
  border: none;
}

.cta-sidebar .cta-content h2 {
  color: var(--deep-slate) !important;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 300;
}

.cta-sidebar .cta-subtitle {
  color: var(--light-text);
  font-style: italic;
  margin-bottom: 3rem;
  font-size: 1rem;
  font-weight: 300;
}

.cta-sidebar .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.treatment-content {
  flex: 1;
}

.sidebar-checklist {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--divider);
}

/* Mission Layout */
.mission-cta-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.mission-content {
  flex: 1;
}

.cta-sidebar-alt {
  background: var(--soft-white);
  color: var(--deep-slate);
  padding: 60px 40px;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-light);
  border: none;
}

.cta-sidebar-alt .cta-content h2 {
  color: var(--deep-slate) !important;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 300;
}

.cta-sidebar-alt .cta-subtitle {
  color: var(--light-text);
  font-style: italic;
  margin-bottom: 3rem;
  font-size: 1rem;
  font-weight: 300;
}

.cta-sidebar-alt .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Fix outline buttons on white CTA backgrounds */
.cta-sidebar .btn-outline,
.cta-sidebar-alt .btn-outline {
  color: var(--primary-lavender);
  border-color: var(--primary-lavender);
}

.cta-sidebar .btn-outline:hover,
.cta-sidebar-alt .btn-outline:hover {
  background: var(--primary-lavender);
  color: var(--soft-white);
  border-color: var(--primary-lavender);
}

.sidebar-checklist .checkmarks-list {
  text-align: left;
  margin-top: 0;
}

.sidebar-checklist .checkmarks-list li {
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 15px;
}

.sidebar-checklist .checkmarks-list li::before {
  content: '•';
  margin-right: 15px;
  font-size: 1.2rem;
  color: var(--primary-lavender);
}

/* Clinical Specialties */
.specialties-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.doctor-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  filter: sepia(10%) saturate(90%);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.specialty-item {
  background: var(--soft-white);
  color: var(--primary-lavender);
  padding: 20px 25px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 400;
  font-size: 0.95rem;
  border: 1px solid var(--divider);
  letter-spacing: 0.5px;
}

/* Treatment Types Grid */
.treatment-types {
  background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--soft-purple) 100%);
  padding: 100px 0;
  color: var(--soft-white);
}

.treatment-types .section-header h2 {
  color: var(--soft-white) !important;
  font-weight: 400;
}

.treatment-types .section-header p {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.treatment-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px 25px;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 400;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  color: var(--soft-white);
  transition: all 0.3s ease;
}

.treatment-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Zen Therapy Programs Toggle */
.therapy-programs {
  max-width: 1000px;
  margin: 0 auto;
}

.toggle-item {
  border-bottom: 1px solid var(--divider);
  margin-bottom: 20px;
}

.toggle-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-header:hover {
  background-color: var(--light-lavender);
  padding-left: 20px;
  padding-right: 20px;
  border-radius: var(--border-radius);
}

.toggle-icon {
  font-size: 1rem;
  color: var(--primary-lavender);
  transition: transform 0.3s ease;
  width: 20px;
  text-align: center;
}

.toggle-header.active .toggle-icon {
  transform: rotate(90deg);
}

.toggle-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep-slate);
  margin: 0;
  font-family: 'Crimson Pro', serif;
}

.toggle-content {
  display: none;
  padding: 0 60px 40px 60px;
  background: var(--light-lavender);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.toggle-content.active {
  display: block;
}

.toggle-content p {
  color: var(--text-color);
  font-weight: 300;
  line-height: 1.8;
}

/* Gallery */
.gallery {
  height: 500px;
  overflow: hidden;
  border-radius: var(--border-radius);
  position: relative;
  box-shadow: var(--shadow-light);
}

.gallery-track {
  display: flex;
  height: 100%;
  animation: scroll 80s linear infinite;
}

.gallery img {
  height: 100%;
  width: 350px;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: transform 0.3s ease;
  filter: sepia(10%) saturate(90%);
}

.gallery img:hover {
  transform: scale(1.02);
}

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

/* Gallery Grid Option */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: sepia(10%) saturate(90%);
}

.gallery-grid img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.gallery-grid.collapsed {
  max-height: 540px;
  overflow: hidden;
  position: relative;
}

.gallery-grid.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--cream));
  pointer-events: none;
}

.gallery-grid.expanded {
  max-height: none;
  overflow: visible;
}

.gallery-toggle {
  text-align: center;
  margin-top: 40px;
}

.gallery-toggle .btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  font-size: 1rem;
  background: var(--sage-accent);
  border: 1px solid var(--sage-accent);
  color: var(--soft-white);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.gallery-toggle .btn:hover {
  background: var(--primary-lavender);
  border-color: var(--primary-lavender);
}

.gallery-toggle .toggle-icon {
  font-size: 14px;
  color: var(--soft-white);
  transition: transform 0.3s ease;
}

.gallery-grid.expanded + .gallery-toggle .toggle-icon {
  transform: rotate(180deg);
}

/* Lightbox - Zen Style */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 52, 54, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  color: var(--soft-white);
  font-size: 30px;
  cursor: pointer;
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--charcoal);
  font-size: 24px;
  cursor: pointer;
  width: 50px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  border-radius: var(--border-radius);
}

.lightbox-nav:hover {
  background: var(--soft-white);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--soft-white);
  font-size: 16px;
  background: rgba(45, 52, 54, 0.8);
  padding: 10px 20px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 300;
}

/* Reviews Section */
.reviews-section {
  background: var(--light-lavender);
  text-align: center;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.google-logo {
  max-width: 280px;
  margin-bottom: 30px;
  filter: sepia(20%) saturate(80%);
}

/* Dynamic Google Reviews Styling */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.review-card {
  background: var(--soft-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Roboto', Arial, sans-serif;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-profile-image {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
  border: none;
}

.review-google-icon {
  width: 40px;
  height: 40px;
  background: #4285f4;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Product Sans', Arial, sans-serif;
}

.review-author {
  flex: 1;
}

.review-author-name {
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
  margin-bottom: 2px;
  line-height: 1.2;
}

.review-count {
  font-size: 12px;
  color: #70757a;
  line-height: 1.2;
}

.review-rating-date {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.review-star {
  color: #fbbc04;
  font-size: 14px;
  line-height: 1;
}

.review-date {
  font-size: 12px;
  color: #70757a;
}

.review-text {
  font-size: 14px;
  line-height: 1.4;
  color: #3c4043;
  margin: 0;
  text-align: left;
}

/* Legacy review image styles for compatibility */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 60px;
}

.review-image {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: sepia(5%) saturate(95%);
}

.review-image:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-medium);
}

/* Zen Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 52, 54, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.popup-content {
  background: var(--soft-white);
  padding: 60px 50px;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  color: var(--text-color);
  text-align: left;
  box-shadow: var(--shadow-medium);
}

.close-popup {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-lavender);
  font-weight: 300;
}

.popup-content h3 {
  color: var(--deep-slate);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 400;
}

.popup-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 300;
}

.popup-content a {
  color: var(--primary-lavender);
  text-decoration: underline;
}

/* Info Button - Zen Style */
.info-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-lavender);
  border: 1px solid white;
  color: white;
  padding: 15px 25px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.info-btn:hover {
  background: var(--soft-purple);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-light);
  border-color: white;
}

.info-icon {
  width: 16px;
  height: 16px;
}

/* Info icon color switching for purple buttons */
.info-btn .info-icon {
  content: url('images/more-info-white.png');
}

/* Elegant Lavender Footer */
.footer {
  background: linear-gradient(135deg, var(--deep-slate) 0%, #3c4563 100%);
  color: #f1f5f9;
  text-align: center;
  padding: 80px 0 60px 0;
}

.footer p {
  margin-bottom: 15px;
  font-size: 0.75rem;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(241, 245, 249, 0.9);
}

.footer a {
  color: var(--soft-purple);
  text-decoration: underline;
  font-weight: 500;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .header {
    padding: 20px 0 10px 0;
  }

  .hero-section {
    min-height: 50vh;
  }

  .hero-main {
    padding: 20px 0;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .hero-actions {
    display: none;
  }

  .logo-section {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
  }

  .logo {
    height: 50px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  /* Mobile Navigation - Hide entire navigation section */
  .header-nav {
    display: none; /* Hide entire navigation section on mobile */
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .three-column-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .cta-sidebar {
    order: -1;
    margin-bottom: 20px;
    padding: 40px 30px;
  }

  .mission-cta-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .cta-sidebar-alt {
    order: -1;
    margin-bottom: 20px;
    padding: 40px 30px;
  }

  .specialties-section {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

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

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

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .toggle-content {
    padding: 0 30px 30px 30px;
  }

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

  .reviews-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .review-card {
    padding: 16px;
  }

  .gallery {
    height: 300px;
  }

  .gallery img {
    width: 250px;
  }

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

  .gallery-grid img {
    height: 180px;
  }

  .gallery-grid.collapsed {
    max-height: 380px;
  }

  .popup-content {
    padding: 40px 30px;
    margin: 20px;
  }

  /* Lightbox Mobile */
  .lightbox-close {
    top: -50px;
    font-size: 24px;
    width: 40px;
    height: 40px;
  }

  .lightbox-nav {
    font-size: 20px;
    width: 40px;
    height: 60px;
  }

  .lightbox-prev {
    left: -50px;
  }

  .lightbox-next {
    right: -50px;
  }

  .lightbox-counter {
    font-size: 14px;
    padding: 8px 16px;
  }

  .content-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 40vh;
  }

  .hero-main {
    padding: 15px 0;
  }

  .container {
    padding: 0 15px;
  }

  .btn {
    padding: 15px 25px;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 18px 30px;
    font-size: 1rem;
  }

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

  .gallery {
    height: 250px;
  }

  .gallery img {
    width: 200px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-grid img {
    height: 150px;
  }

  .gallery-grid.collapsed {
    max-height: 320px;
  }

  /* Lightbox Small Mobile */
  .lightbox-container {
    max-width: 95%;
    max-height: 95%;
  }

  .lightbox-close {
    top: -40px;
    right: -10px;
    font-size: 20px;
    width: 35px;
    height: 35px;
  }

  .lightbox-nav {
    font-size: 18px;
    width: 35px;
    height: 50px;
  }

  .lightbox-prev {
    left: -40px;
  }

  .lightbox-next {
    right: -40px;
  }

  .lightbox-counter {
    bottom: -35px;
    font-size: 12px;
    padding: 6px 12px;
  }

  .content-section {
    padding: 40px 0;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }
.visible { display: block; }

/* Focus and Accessibility */
.btn:focus,
.toggle-header:focus,
.info-btn:focus {
  outline: 2px solid var(--primary-lavender);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .hero-section,
  .cta-section,
  .footer {
    background: var(--soft-white) !important;
    color: var(--deep-slate) !important;
  }
  
  .btn {
    border: 1px solid var(--deep-slate) !important;
    background: var(--soft-white) !important;
    color: var(--deep-slate) !important;
  }
}

/* Gallery Grid Option - Alternative to carousel */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Gallery Show More/Less Functionality */
.gallery-grid.collapsed {
  max-height: 440px; /* Shows approximately 2 rows */
  overflow: hidden;
  position: relative;
}

.gallery-grid.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--light-bg));
  pointer-events: none;
}

.gallery-grid.expanded {
  max-height: none;
  overflow: visible;
}

.gallery-toggle {
  text-align: center;
  margin-top: 30px;
}

.gallery-toggle .btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
  background: var(--primary-lavender);
  border: none;
  color: white;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-toggle .btn:hover {
  background: var(--soft-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 124, 248, 0.3);
  border: none;
  opacity: 1;
}

.gallery-toggle .btn:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.gallery-toggle .btn:active {
  background: var(--primary-color);
  transform: none;
  box-shadow: none;
  outline: none;
  border: none;
}

.gallery-toggle .toggle-icon {
  font-size: 16px;
  color: white;
  transition: transform 0.3s ease;
}

.gallery-grid.expanded + .gallery-toggle .toggle-icon {
  transform: rotate(180deg);
}

/* Masonry Grid Option */
.gallery-masonry {
  columns: 3;
  column-gap: 20px;
  margin-top: 40px;
}

.gallery-masonry img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: transform 0.3s ease;
  break-inside: avoid;
}

.gallery-masonry img:hover {
  transform: scale(1.02);
}

/* Controlled Carousel with Navigation */
.gallery-controlled {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.gallery-controlled .gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  /* Remove auto-animation */
  animation: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--sage-accent);
  z-index: 10;
  transition: background 0.3s ease;
}

.gallery-nav:hover {
  background: #fffcf9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.gallery-dot.active {
  background: var(--primary-lavender);
}

/* Slideshow Style */
.gallery-slideshow {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.gallery-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.gallery-slideshow .slide.active {
  opacity: 1;
}

.gallery-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thumbnail Gallery */
.gallery-thumbnail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-main-image {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.gallery-thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
  opacity: 1;
  transform: scale(1.1);
}

/* Styles for Privacy Policy and Terms of Service pages */
/* Clean titles with elegant lavender color and sophisticated effects */
.content-section h1,
.content-section h2, 
.content-section h3 {
  color: var(--primary-lavender) !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  background: none !important;
}

/* Hero section titles for Privacy Policy and Terms of Service pages */
.hero-content h1.privacy-title,
.hero-content h1.terms-title {
  color: var(--primary-lavender) !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  background: none !important;
}

/* Back to home button matching elegant lavender theme for privacy and terms pages */
.btn-outline.back-to-home {
  background: transparent !important;
  color: var(--primary-lavender) !important;
  border: 2px solid var(--primary-lavender) !important;
  padding: 14px 28px !important;
  font-size: 1rem !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  border-radius: var(--border-radius) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 500 !important;
}

.btn-outline.back-to-home:hover {
  background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--soft-purple) 100%) !important;
  color: white !important;
  border: 2px solid var(--primary-lavender) !important;
  text-shadow: none !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(139, 124, 248, 0.35) !important;
}

/* Additional elegant styling for Terms of Service page */
.terms-title,
.privacy-title {
  background: linear-gradient(135deg, var(--primary-lavender) 0%, var(--soft-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600 !important;
  text-align: center;
  margin-bottom: 3rem !important;
  font-family: 'Outfit', sans-serif !important;
}

/* Enhanced content styling for better readability */
.content-section {
  background: linear-gradient(135deg, var(--cream-white) 0%, rgba(237, 233, 254, 0.3) 100%);
}

.content-section > .container {
  background: rgba(255, 255, 255, 0.85);
  padding: 60px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(139, 124, 248, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(237, 233, 254, 0.3);
}

/* Elegant highlight boxes for important information */
.content-section div[style*="background"] {
  background: linear-gradient(135deg, var(--light-lavender) 0%, var(--lavender-mist) 100%) !important;
  border: 1px solid rgba(139, 124, 248, 0.2) !important;
  box-shadow: 0 6px 25px rgba(139, 124, 248, 0.12) !important;
}