/* Modern 2025 Dental Clinic Website Styles */
/* Theme Color: #0b8aa7 */

/* CSS Custom Properties */
:root {
  --primary: #0b8aa7;
  --primary-dark: #087a94;
  --primary-light: #0ca5c9;
  --primary-lighter: #e0f4f8;
  --secondary: #064e5c;
  --accent: #f0b429;
  --accent-light: #ffd86b;
  
  --text-dark: #1a1a2e;
  --text-body: #4a5568;
  --text-light: #718096;
  --text-muted: #a0aec0;
  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-primary: 0 10px 40px -10px rgba(11, 138, 167, 0.4);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
  font-size: 20px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-body);
  font-size: 1.1rem;
}

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

a:hover {
  color: var(--primary-dark);
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: all var(--transition-slow);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-brand a {
  text-decoration: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.logo-img {
  height: 70px;
  width: auto;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
}

.nav-links li a {
  display: block;
  padding: 0.625rem 1rem;
  text-decoration: none;
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links li a:hover {
  color: var(--primary);
  background: var(--primary-lighter);
}

.nav-links li a.active {
  color: var(--primary);
  background: var(--primary-lighter);
}

.nav-cta {
  margin-left: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1;
  white-space: nowrap;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -10px rgba(11, 138, 167, 0.5);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

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

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

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: var(--primary-dark);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-icon {
  display: block;
}

.mobile-menu-icon--close {
  display: none;
}

.mobile-menu-toggle.active .mobile-menu-icon--menu {
  display: none;
}

.mobile-menu-toggle.active .mobile-menu-icon--close {
  display: block;
}

/* Main Content */
.main-content {
  margin-top: 76px;
  min-height: calc(100vh - 76px);
}

/* Hero Section */
.hero {
  color: white;
  padding: 8rem 2rem 10rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-video.loading {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 138, 167, 0.4); /* Theme color with transparency - reduced opacity */
  z-index: -1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 30%);
  pointer-events: none;
  z-index: -3;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fafc' d='M0,80 C360,150 1080,0 1440,80 L1440,150 L0,150 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

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

/* Sections */
.section {
  padding: 6rem 2rem;
}

.section-alt {
  background: var(--bg-light);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-lighter);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-content {
  max-width: 1280px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-image {
  margin-bottom: 1.5rem;
}

.service-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, rgba(11, 138, 167, 0.15) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2rem auto 1.5rem auto;
  color: var(--primary);
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.service-card .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Locations Section */
.locations-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 6rem 2rem;
}

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

.location-card {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.location-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.location-card:hover .location-image img {
  transform: scale(1.05);
}

.location-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.location-content {
  padding: 2rem;
}

.location-content h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-content h3 svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.location-address {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.location-address svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.location-hours {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.location-hours p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  color: var(--text-body);
}

.location-hours p span:first-child {
  color: var(--text-light);
}

.location-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.location-phone svg {
  width: 1rem;
  height: 1rem;
}

/* Coming Soon Location Card */
.coming-soon {
  position: relative;
  pointer-events: none;
}

.coming-soon .location-content {
  filter: blur(1px);
  opacity: 0.8;
}

.coming-soon .location-image img {
  filter: blur(1px);
  opacity: 0.8;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  z-index: 10;
}

.coming-soon-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-xl);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  padding-right: 2rem;
}

.about-text h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--text-body);
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.about-feature svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.about-feature span {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, transparent 70%);
  border-radius: var(--radius-2xl);
  z-index: -1;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--accent-light) 0%, transparent 70%);
  border-radius: var(--radius-2xl);
  z-index: -1;
}

/* Stats Section */
.stats-section {
  background: var(--bg-dark);
  padding: 4rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.testimonials .section-content {
  position: relative;
  z-index: 1;
}

.testimonials .section-header h2 {
  color: white;
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-slow);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--accent);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-dark);
}

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

.testimonial-name {
  font-weight: 600;
  color: white;
  font-size: 1rem;
}

.testimonial-location {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Testimonial Slider Container */
.testimonial-slider-container {
  position: relative;
  overflow: visible;
  margin-top: 3rem;
}

/* Testimonial Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: -24px;
}

.slider-next {
  right: -24px;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* CTA Section */
.cta-section {
  background: var(--bg-dark);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(11, 138, 167, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(11, 138, 167, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

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

/* Footer */
.site-footer {
  background: var(--bg-darker);
  color: var(--text-muted);
  padding: 5rem 0 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-logo .logo-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
}

.footer-logo .logo-tagline {
  color: var(--text-muted);
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-description {
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-base);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

.footer-locations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-location {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-location h4 {
  color: white;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.footer-location p {
  font-size: 0.8125rem;
  margin: 0;
  color: var(--text-muted);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.contact-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Page Hero */
.hero-page {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 5rem 2rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-page::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,60 C360,120 1080,0 1440,60 L1440,120 L0,120 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 100%;
}

.hero-page .hero-content {
  position: relative;
  z-index: 1;
}

.hero-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero-page p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* About Page Styles */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.story-content h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.story-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

.story-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

.clinic-gallery {
  width: 100%;
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
}

.clinic-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.clinic-item:hover {
  transform: translateY(-2px);
}

.clinic-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.clinic-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
}

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.team-photo {
  height: 280px;
  overflow: hidden;
}

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

.team-member:hover .team-photo img {
  transform: scale(1.05);
}

.team-info {
  padding: 2rem;
}

.team-info h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.team-info p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* Services Page Styles */
.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

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

.service-detail:nth-child(even) .service-detail-content {
  order: 2;
}

.service-detail:nth-child(even) .service-detail-image {
  order: 1;
}

.service-icon-large {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
}

.service-icon-large svg {
  width: 2.5rem;
  height: 2.5rem;
}

.service-detail h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-detail p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-body);
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.625rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-body);
  font-size: 1rem;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230b8aa7'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Focus states for accessibility */
.btn:focus-visible,
.nav-links a:focus-visible,
.social-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    background: white;
    padding: calc(76px + 1rem) 1rem 1.5rem;
    box-shadow: none;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    will-change: transform;
    z-index: 1001;
    visibility: hidden;
    pointer-events: none;
  }
  
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links li a {
    display: block;
    padding: 1rem;
  }
  
  .nav-cta {
    margin: 1rem 0 0 0;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .hero {
    padding: 5rem 1rem 8rem;
  }

  .hero-page {
    padding: 4rem 1rem 6rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.0625rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .about-content,
  .about-story,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-text {
    padding-right: 0;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .service-detail:nth-child(even) .service-detail-content,
  .service-detail:nth-child(even) .service-detail-image {
    order: unset;
  }

  .section {
    padding: 4rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-links a {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .services-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .service-image img {
    height: 140px;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* Tablet responsive for locations grid */
@media (min-width: 481px) and (max-width: 768px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .slider-indicators {
    margin-top: 1.5rem;
  }
  
  .features-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
}

/* Contact Page Styles */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-header {
  margin-bottom: 2.5rem;
}

.form-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.form-header p {
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--bg-white);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-lighter);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234a5568'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
  color: var(--text-body);
}

.checkbox-label input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.contact-form .btn {
  margin-top: 1rem;
  width: 100%;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
  margin-top: 3rem;
}

.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  text-align: center;
}

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

.contact-card-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: white;
}

.contact-card-highlight,
.contact-card-highlight h3,
.contact-card-highlight p,
.contact-card-highlight .contact-links,
.contact-card-highlight .contact-links a,
.contact-card-highlight .contact-links a:hover {
  color: white !important;
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-lighter);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 1rem auto;
}

.contact-card-highlight .contact-card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.contact-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.contact-links a {
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.contact-links a:hover {
  color: var(--primary);
}

.contact-links a strong {
  color: var(--text-light);
  font-weight: 500;
}

.emergency-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem !important;
  font-weight: 700;
}

.emergency-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Locations Detailed */
.locations-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.location-detailed-card {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
}

.location-detailed-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.location-map {
  height: 200px;
  background: var(--bg-subtle);
  overflow: hidden;
}

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

.location-detailed-content {
  padding: 2rem;
}

.location-badge-inline {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--primary-lighter);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.location-detailed-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.location-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-body);
  font-size: 0.9375rem;
}

.location-info-row svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.location-info-row a {
  color: var(--primary);
  font-weight: 600;
}

.location-hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.375rem 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

.location-hours-grid span:nth-child(odd) {
  color: var(--text-light);
}

.location-hours-grid span:nth-child(even) {
  color: var(--text-dark);
  font-weight: 500;
  text-align: right;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.faq-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.25rem;
}

.faq-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Responsive Contact Page */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .contact-sidebar {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem;
  }

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

  .contact-sidebar {
    flex-direction: column;
  }

  .contact-card {
    min-width: unset;
  }

  .locations-detailed {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .location-detailed-content {
    padding: 1.5rem;
  }
}

/* Language Selector Styles */
.language-selector {
  position: relative;
  margin-left: 0.5rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  background: var(--primary-lighter);
  border-color: var(--primary);
  color: var(--primary);
}

.lang-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
}

.current-lang {
  font-weight: 600;
}

.chevron-icon {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform var(--transition-fast);
}

.lang-toggle[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1001;
  overflow: hidden;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--text-body);
  transition: all var(--transition-fast);
  text-align: left;
}

.lang-option:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.lang-option.active {
  background: var(--primary-lighter);
  color: var(--primary);
  font-weight: 600;
}


/* Mobile Language Selector */
@media (max-width: 768px) {
  .language-selector {
    margin: 1rem 0 0 0;
    width: 100%;
  }

  .lang-toggle {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1rem;
  }

  .lang-dropdown {
    position: static;
    display: none;
    margin-top: 0.5rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
  }

  .lang-dropdown.active {
    display: block;
  }

  .lang-option {
    justify-content: center;
  }
}

/* i18n transition effect */
[data-i18n] {
  transition: opacity 0.15s ease;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .cta-section,
  .language-selector {
    display: none;
  }
  
  .main-content {
    margin-top: 0;
  }
  
  .hero {
    padding: 2rem;
    background: none;
    color: var(--text-dark);
  }
}
