/** OPTIMIZED WEBSITE STYLES - Dr. Bahrani Clinic **/

/* ===== CSS RESET & CRITICAL FIXES ===== */
* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

/* Color Variables - Professional Medical Theme */
:root {
    /* Primary Medical Colors - Professional and Trustworthy */
    --color-primary: #00a86b;          /* Medical green - more professional */
    --color-primary-light: #10d77a;    /* Lighter variant */
    --color-primary-dark: #008555;     /* Darker variant */
    
    /* Secondary Colors - Sophisticated Blues */
    --color-secondary: #1e40af;        /* Professional medical blue */
    --color-secondary-light: #3b82f6;  /* Lighter blue */
    --color-secondary-dark: #1e3a8a;   /* Darker blue */
    
    /* Accent Colors - Warm and Inviting */
    --color-accent: #f59e0b;           /* Professional gold */
    --color-accent-light: #fbbf24;     /* Lighter gold */
    --color-accent-dark: #d97706;      /* Darker gold */
    
    /* Neutral Colors - Enhanced Readability */
    --color-dark: #0f172a;             /* Deep navy for text */
    --color-dark-secondary: #1e293b;   /* Secondary dark */
    --color-text-primary: #0f172a;     /* Primary text color */
    --color-text-secondary: #475569;   /* Secondary text color */
    --color-text-muted: #64748b;       /* Muted text color */
    
    /* Background Colors */
    --color-white: #ffffff;
    --color-light: #f8fafc;            /* Light background */
    --color-light-secondary: #f1f5f9;  /* Secondary light background */
    --color-surface: #ffffff;          /* Card surfaces */
    
    /* Status Colors */
    --color-success: #059669;          /* Success green */
    --color-warning: #d97706;          /* Warning orange */
    --color-danger: #dc2626;           /* Error red */
    --color-info: #0284c7;             /* Info blue */
    
    /* Enhanced Gradients for Visual Appeal */
    --gradient-primary: linear-gradient(135deg, #00a86b 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 168, 107, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    
    /* Professional Shadows */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 25px rgba(0, 168, 107, 0.2);
    --shadow-secondary: 0 8px 25px rgba(30, 64, 175, 0.2);
    
    /* Smooth Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing Scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
}

/* ===== PROFESSIONAL TYPOGRAPHY SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Enhanced Typography for Medical Professionalism */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.025em;
}

h1 { 
    font-size: var(--font-size-5xl); 
    font-weight: 800;
    color: var(--color-text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
h2 { 
    font-size: var(--font-size-4xl); 
    font-weight: 700;
    color: var(--color-text-primary);
}
h3 { 
    font-size: var(--font-size-3xl); 
    font-weight: 600;
    color: var(--color-text-primary);
}
h4 { 
    font-size: var(--font-size-2xl); 
    font-weight: 600;
    color: var(--color-text-secondary);
}
h5 { 
    font-size: var(--font-size-xl); 
    font-weight: 600;
    color: var(--color-text-secondary);
}
h6 { 
    font-size: var(--font-size-lg); 
    font-weight: 500;
    color: var(--color-text-secondary);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
    line-height: 1.75;
    font-size: var(--font-size-base);
    font-weight: 400;
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

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

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

a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Text Utilities */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-muted { color: var(--color-text-muted) !important; }
.text-dark { color: var(--color-text-primary) !important; }

/* Font Weight Utilities */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extra-bold { font-weight: 800 !important; }
.fw-black { font-weight: 900 !important; }

/* Professional Icon System */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
    font-size: inherit;
    color: currentColor;
    transition: var(--transition-fast);
}

.icon-sm { width: 1em; height: 1em; font-size: 0.875rem; }
.icon-md { width: 1.5em; height: 1.5em; font-size: 1rem; }
.icon-lg { width: 2em; height: 2em; font-size: 1.25rem; }
.icon-xl { width: 2.5em; height: 2.5em; font-size: 1.5rem; }

.icon-primary { color: var(--color-primary); }
.icon-secondary { color: var(--color-secondary); }
.icon-success { color: var(--color-success); }
.icon-warning { color: var(--color-warning); }
.icon-danger { color: var(--color-danger); }
.icon-info { color: var(--color-info); }

/* Professional List Styling */
.list-professional {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-professional li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
}

.list-professional li .fa {
    margin-left: var(--spacing-sm);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.list-professional li:hover {
    background-color: var(--color-background-secondary);
    border-radius: var(--border-radius-sm);
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
    transition: var(--transition-fast);
}

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

body {
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL Support */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

/* ===== HEADER & NAVIGATION FIXES ===== */

/* Top Bar */
.main-top {
  background: var(--color-secondary);
  padding: 8px 0;
  font-size: 14px;
}

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

.left-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wel-nots {
  color: var(--color-white);
}

/* Header Navigation - Complete Rewrite */
.top-header {
  background: var(--color-white) !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1030 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: var(--transition) !important;
}

/* Fixed header state */
.top-header.fixed-menu {
  position: fixed !important;
  top: 0 !important;
  box-shadow: var(--shadow-medium) !important;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.top-header .navbar {
  padding: 12px 0 !important;
  margin: 0 !important;
  min-height: auto !important;
}

.navbar-brand {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  margin-left: 10px;
}

.navbar-nav {
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}

.navbar-nav .nav-link {
  color: var(--color-dark) !important;
  font-weight: 500 !important;
  padding: 10px 15px !important;
  margin: 0 2px !important;
  font-size: 14px !important;
  transition: var(--transition) !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  position: relative !important;
  text-decoration: none !important;
}

.navbar-nav .nav-link:hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px) !important;
}

.navbar-nav .nav-link.active {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* Override original conflicting styles */
.top-header .navbar .navbar-collapse ul li a {
  text-transform: uppercase !important;
  font-size: 14px !important;
  padding: 10px 15px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border-radius: 6px !important;
  transition: var(--transition) !important;
  color: var(--color-dark) !important;
  position: relative !important;
}

.top-header .navbar .navbar-collapse ul li a:hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px) !important;
}

.top-header .navbar .navbar-collapse ul li a.active {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
}

/* Remove arrow from active menu items */
.top-header .navbar .navbar-collapse ul li a.active::after {
  display: none !important;
}

/* Enhanced Navigation Hover Effects */
.navbar-nav .nav-link.nav-hover {
    background: rgba(0, 203, 134, 0.1) !important;
    color: var(--color-primary) !important;
    transform: translateY(-1px) !important;
}

/* Mobile navbar adjustments */
.navbar-collapse {
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 10px;
}

@media (min-width: 992px) {
  .navbar-collapse {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
}

/* Mobile Navigation Toggle */
.navbar-toggler {
  border: 1px solid var(--color-primary) !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

.navbar-toggler span {
  background: var(--color-primary) !important;
  display: block !important;
  width: 25px !important;
  height: 2px !important;
  margin: 5px auto !important;
  border-radius: 1px !important;
  transition: var(--transition) !important;
}

.navbar-toggler:hover span {
  background: var(--color-secondary) !important;
}

/* RTL support */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .navbar .navbar-nav {
  margin-right: 0;
  margin-left: auto;
}
html[dir="rtl"] .navbar .navbar-toggler {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .form-group label,
html[dir="rtl"] .form-control,
html[dir="rtl"] .help-block { text-align: right; }

/* Buttons and CTAs */
.btn-primary, .new-btn-d, .btn-common, .btn-cta {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border: 0;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover, .new-btn-d:hover, .btn-common:hover, .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20,184,166,.25);
}

/* Trust badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 768px) {
  .trust-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.trust-badge {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.trust-badge strong { color: var(--color-primary); font-size: 1.1rem; }

/* Section headings */
.title-box h2, .section-title {
  color: var(--color-secondary);
  font-weight: 800;
}

/* WhatsApp Floating Button */
.whatsapp-float {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 40px;
	right: 40px;
	background-color: #25d366;
	color: #FFF;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	box-shadow: 2px 2px 3px #999;
	z-index: 100;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.whatsapp-float:hover {
	background-color: #128c7e;
	color: #FFF;
	transform: scale(1.1);
	text-decoration: none;
}

/* Gallery Enhancement */
.box-gallery {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	margin-bottom: 2rem;
}

.box-gallery:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

.box-gallery img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

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

.box-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	padding: 2rem 1.5rem 1.5rem;
	transform: translateY(100%);
	transition: transform 0.4s ease;
}

.box-gallery:hover .box-content {
	transform: translateY(0);
}

.box-content .title {
	color: white;
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-align: center;
}

.box-content .icon {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

.box-content .icon li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--gradient-primary);
	color: white;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.box-content .icon li a:hover {
	background: var(--gradient-secondary);
	transform: scale(1.1);
}

/* Utility */
.bg-gradient-primary { background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); }
.text-muted { color: var(--color-muted) !important; }
.badge-accent { background: var(--color-accent); color: #111827; }

/* Accessibility: focus styles */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Links contrast */
a { color: var(--color-secondary); }
a:hover, a:focus { color: var(--color-primary); text-decoration: underline; }

/* Forms */
.form-control:focus {
  border-color: rgba(30,64,175,.4);
  box-shadow: 0 0 0 0.2rem rgba(20,184,166,.15);
}
.is-invalid, .form-control.is-invalid { border-color: #dc3545; }
.is-valid, .form-control.is-valid { border-color: #198754; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== LAYOUT & SPACING FIXES ===== */

/* Section spacing */
section, .section {
  margin: 0 !important;
  padding: 60px 0 !important;
}

/* Hero section */
.hero-video {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Scroll offset for fixed header */
#about, #services, #gallery, #appointment, #team, #blog, #contact {
  scroll-margin-top: 80px !important;
}

/* Button styles */
.btn-primary, .new-btn-d, .btn-common, .btn-cta {
  background: var(--gradient-primary);
  border: 0;
  color: var(--color-white) !important;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover, .new-btn-d:hover, .btn-common:hover, .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--color-white) !important;
  text-decoration: none;
}

/* RTL utilities */
html[dir="rtl"] .me-2 { margin-left: .5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }

/* Service Cards - Enhanced with Green/Purple Theme */
.service-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mixed);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

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

.service-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.2);
  border-color: var(--color-primary);
}

.service-card .service-icon {
  width: 72px; 
  height: 72px; 
  border-radius: 18px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  margin-bottom: 16px;
  box-shadow: var(--shadow-primary);
  transition: all 0.3s ease;
}

.service-card .service-icon svg {
  color: var(--color-primary);
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.2));
}

.service-card:hover .service-icon {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.service-card h3, .service-card h4 { 
  font-weight: 700; 
  color: var(--color-primary) !important;
  font-size: 1.6rem; 
  transition: all 0.3s ease;
  margin-bottom: 12px;
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
	color: var(--color-dark) !important;
	font-weight: 600;
	padding: 0.7rem 1.2rem !important;
	transition: all 0.3s ease;
	border-radius: 25px;
	font-size: 1.05rem;
	margin: 0 0.2rem;
}

.service-card ul { 
  padding-right: 0; 
  margin-bottom: 16px; 
  list-style: none;
}

.service-card li { 
  color: var(--color-muted); 
  margin-bottom: 8px; 
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

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

.btn-service { 
  background: var(--gradient-primary);
  color: white;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: var(--shadow-primary);
}

.btn-service:hover { 
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
  text-decoration: none;
  color: white;
}

/* Testimonials */
.owl-carousel .item blockquote { margin: 8px 0 4px; font-style: italic; }
.owl-carousel .owl-nav button { color: var(--color-secondary) !important; }

/* Gallery Counter */
.success-counter .counter { color: var(--color-secondary); font-weight: 800; }
.success-counter p { color: var(--color-muted); }

/* Booking Calendar - Enhanced with Green/Purple Theme */
.booking-calendar {
  background: var(--gradient-mixed);
  border-radius: 24px;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}

.booking-calendar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.booking-calendar h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.calendar-widget {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

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

.calendar-header span {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient-mixed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-nav {
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-secondary);
}

.btn-nav:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--color-secondary);
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.day::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.day.available {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px solid #e2e8f0;
  color: var(--color-dark);
}

.day.available:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px) scale(1.1);
  box-shadow: var(--shadow-primary);
}

.day.available:hover::before {
  left: 100%;
}

.day.selected {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-primary);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.time-btn {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.time-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.time-btn:hover, .time-btn.selected {
  background: var(--gradient-secondary);
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-secondary);
  border-color: var(--color-secondary);
}

.time-btn:hover::before, .time-btn.selected::before {
  left: 100%;
}

/* Service Cards Enhanced */
.service-card.enhanced {
  background: linear-gradient(135deg, #fff, #f8fafc);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: 100%;
}

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

.service-icon {
  text-align: center;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--color-muted);
}

.service-stats {
  text-align: center;
  margin: 1rem 0;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

.service-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-cta {
	background: var(--gradient-primary);
	color: white;
	border: none;
	padding: 16px 36px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	text-decoration: none;
	display: inline-block;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--shadow-primary);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25);
  color: white;
  text-decoration: none;
}

.new-btn-d {
  background: var(--gradient-secondary);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-secondary);
  position: relative;
  overflow: hidden;
}

.new-btn-d::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.new-btn-d:hover::before {
  left: 100%;
}

.new-btn-d:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25);
  color: white;
  text-decoration: none;
}

/* Performance optimizations */
img {
  max-width: 100%;
  height: auto;
}

/* Lazy loading enhancement */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Section spacing fixes */
section, .section {
  margin-top: 0 !important;
  padding-top: 4rem !important;
}

#about, #services, #gallery, #appointment, #team, #blog, #contact {
  scroll-margin-top: 100px !important;
}

/* Responsive optimizations */
@media (max-width: 768px) {
  section, .section {
    padding-top: 3rem !important;
  }
  
  #about, #services, #gallery, #appointment, #team, #blog, #contact {
    scroll-margin-top: 80px !important;
  }
  
  .doctor-image-container {
    width: 280px;
    height: 320px;
  }
  
  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .box-gallery img {
    height: 200px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .whatsapp-float,
  .floating-elements,
  video {
    display: none !important;
  }
}

/* ===== RESPONSIVE DESIGN FIXES ===== */

/* Mobile optimizations */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  .top-header .navbar {
    padding: 8px 0 !important;
  }
  
  .navbar-nav .nav-link {
    padding: 8px 12px !important;
    font-size: 13px !important;
    margin: 2px 0 !important;
  }
  
  .navbar-collapse {
    background: var(--color-white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-top: 10px;
  }
  
  .hero-video {
    min-height: 50vh;
  }
  
  .service-card.enhanced {
    padding: 1.5rem;
    margin-bottom: 20px;
  }
  
  .service-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .time-slots {
    grid-template-columns: 1fr;
  }
  
  .booking-calendar {
    padding: 1rem;
  }
  
  .title-box h2 {
    font-size: 28px !important;
  }
  
  section, .section {
    padding: 40px 0 !important;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
  
  .hero-video {
    min-height: 60vh;
  }
}

/* Performance optimizations */
img {
  max-width: 100%;
  height: auto;
}

/* Lazy loading enhancement */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Enhanced Footer Styles */
.enhanced-footer {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	color: white;
	padding: 4rem 0 2rem;
	position: relative;
	overflow: hidden;
}

.enhanced-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(16,185,129,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
	opacity: 0.3;
}

.footer-section {
	position: relative;
	z-index: 2;
}

.footer-title {
	color: var(--color-primary);
	font-weight: 700;
	margin-bottom: 1rem;
	font-size: 1.4rem;
}

.footer-subtitle {
	color: var(--color-secondary);
	font-weight: 600;
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

.footer-desc {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.footer-contact .contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.8rem;
	color: rgba(255, 255, 255, 0.9);
}

.footer-contact .contact-item i {
	width: 20px;
	color: var(--color-primary);
	margin-left: 0.8rem;
}

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

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

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.footer-links a:hover {
	color: var(--color-primary);
	padding-right: 0.5rem;
}

.social-links {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}

.social-link {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.social-link.instagram {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.whatsapp {
	background: #25d366;
}

.social-link.phone {
	background: var(--gradient-primary);
}

.social-link:hover {
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link i {
	color: white;
	font-size: 1.2rem;
	z-index: 2;
}

.footer-divider {
	border: none;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
	margin: 2rem 0 1.5rem;
}

.footer-copyright,
.footer-powered {
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	font-size: 0.9rem;
}

.working-hours p {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.5;
}

/* Doctor Image Styles with Professional Animations */
.about-doctor-image {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
}

.doctor-image-container {
	position: relative;
	width: 350px;
	height: 400px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.doctor-image-container:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 30px 80px rgba(16, 185, 129, 0.3);
}

.doctor-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.4s ease;
}

.doctor-image-container:hover .doctor-photo {
	transform: scale(1.05);
}

.image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.doctor-image-container:hover .image-overlay {
	opacity: 1;
}

.floating-elements {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

.floating-icon {
	position: absolute;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.2rem;
	animation: float 3s ease-in-out infinite;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.doctor-image-container:hover .floating-icon {
	opacity: 1;
}

.floating-icon.icon-1 {
	top: 20%;
	right: -10px;
	background: var(--gradient-primary);
	animation-delay: 0s;
}

.floating-icon.icon-2 {
	bottom: 30%;
	left: -10px;
	background: var(--gradient-secondary);
	animation-delay: 1s;
}

.floating-icon.icon-3 {
	top: 60%;
	right: -15px;
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	animation-delay: 2s;
}

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

/* Enhanced Image Optimization and Lazy Loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.lazy-image.loaded {
    opacity: 1;
    animation: none;
    background: none;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image Optimization */
.optimized-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.optimized-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Gallery Image Optimization */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Team Images */
.our-team .pic img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 50% 50% 0 0;
}

/* Blog Images */
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Service Worker Support */
.offline-message {
    display: none;
    background: #f59e0b;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.offline .offline-message {
    display: block;
}

/* Medical Professionalism Enhancements */
.medical-badge {
    background: linear-gradient(135deg, #00cb86 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 4px;
    box-shadow: 0 2px 8px rgba(0, 203, 134, 0.3);
}

.trust-indicators {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.trust-indicator {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 150px;
}

.trust-indicator .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.trust-indicator .label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Professional Service Cards */
.service-card-professional {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card-professional:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon-professional {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

/* Medical Testimonials */
.testimonial-medical {
    background: #f8fafc;
    border-left: 4px solid var(--color-primary);
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
    position: relative;
}

.testimonial-medical::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-primary);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.3;
}

.patient-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
    gap: 15px;
}

.patient-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-cta,
    .new-btn-d {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* ARIA live regions */
.live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Color contrast improvements */
.text-muted {
    color: #6b7280 !important;
}

/* Button accessibility */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form accessibility */
.form-control:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control:valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Medical certification badges */
.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 2px;
}

.certification-badge i {
    font-size: 0.9rem;
}

/* ===== ENHANCED HERO SECTION ===== */
.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 203, 134, 0.1) 0%, rgba(18, 85, 127, 0.1) 100%);
}

.hero-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 203, 134, 0.15) 0%, rgba(18, 85, 127, 0.15) 100%);
  z-index: 1;
}

.hero-video video {
  filter: brightness(0.7) contrast(1.1) saturate(1.2);
}

.hero-content-animated {
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  position: relative;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-animated {
  animation: slideInRight 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ffffff 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

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

.highlight-text {
  color: var(--color-accent);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

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

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00cb86, #12557f);
    animation: slideIn 1.5s ease-out 1.2s both;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.8s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.trust-indicators-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.trust-indicator-hero {
    background: rgba(255,255,255,0.95);
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeInScale 1s ease-out calc(1.5s + var(--delay, 0s)) both;
}

.trust-indicator-hero:nth-child(1) { --delay: 0s; }
.trust-indicator-hero:nth-child(2) { --delay: 0.1s; }
.trust-indicator-hero:nth-child(3) { --delay: 0.2s; }
.trust-indicator-hero:nth-child(4) { --delay: 0.3s; }

.trust-indicator-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.trust-indicator-hero .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.trust-indicator-hero .label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.trust-indicator-hero .icon {
    font-size: 1.2rem;
}

/* Button Animations */
.pulse-animation {
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.pulse-animation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.pulse-animation:hover::before {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
}

.hover-scale {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 203, 134, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 203, 134, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 203, 134, 0);
    }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-item {
        justify-content: center;
        padding: 10px 20px;
    }
    
    .trust-indicators-hero {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .trust-indicator-hero {
        padding: 15px 10px;
    }
    
    .trust-indicator-hero .number {
        font-size: 1.5rem;
    }
    
    .hero-buttons-animated {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-cta, .new-btn-d {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .trust-indicators-hero {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        display: none;
    }
}

/* Enhanced Journey Step Cards */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-title-enhanced {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.journey-step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
}

.journey-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    transition: all 0.3s ease;
}

.journey-step-card.active::before,
.journey-step-card:hover::before {
    background: var(--gradient-primary);
}

.journey-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--color-primary);
}

.journey-step-card.active {
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(0, 203, 134, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.journey-step-card:hover .step-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.step-description {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.step-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    background: #e2e8f0;
    color: #475569;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-badge.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.guarantee-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(245, 158, 11, 0.5);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    }
}

/* Enhanced Service Cards with Animations */
.service-card-enhanced {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    height: 100%;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--color-primary);
}

.service-icon-enhanced {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
}

.service-card-enhanced:hover .service-icon-enhanced {
    transform: scale(1.1) rotate(10deg);
}

.service-title-enhanced {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.service-description-enhanced {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-price {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.price-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 5px;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 5px 0;
    color: #64748b;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .journey-step-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .section-title-enhanced {
        font-size: 2rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .guarantee-badge {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .journey-step-card {
        padding: 25px 15px;
    }
    
    .step-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-badge {
        margin-bottom: 5px;
    }
}

/* Enhanced Services Section Styling */
.services-box-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.services-box-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 203, 134, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(18, 85, 127, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Service Cards */
.service-card-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 203, 134, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 203, 134, 0.02) 0%, rgba(18, 85, 127, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 203, 134, 0.15);
    border-color: rgba(0, 203, 134, 0.3);
}

.service-icon-enhanced {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card-enhanced:hover .service-icon-enhanced::before {
    transform: translateX(100%);
}

.service-icon-enhanced i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card-enhanced:hover .service-icon-enhanced {
    transform: rotate(5deg) scale(1.1);
}

.service-title-enhanced {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card-enhanced:hover .service-title-enhanced {
    color: var(--color-primary);
}

.service-description-enhanced {
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-price {
    background: rgba(0, 203, 134, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(0, 203, 134, 0.2);
}

.service-price .price-label {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 5px;
}

.service-price .price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
    color: var(--color-dark);
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-actions {
    display: flex;
    gap: 10px;
}

/* Enhanced Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 203, 134, 0.2);
    font-size: 0.95rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 203, 134, 0.4);
    color: white;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Secondary Button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 203, 134, 0.3);
    color: var(--color-primary);
    padding: 13px 33px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 203, 134, 0.3);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

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

.btn-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 203, 134, 0.3);
    color: white;
    text-decoration: none;
}

.pulse-animation {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 203, 134, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 203, 134, 0); }
}

.services-guarantee {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 107, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.guarantee-item i {
    font-size: 1.2rem;
}

/* Special Offer Card */
.service-card-enhanced.special-offer {
    position: relative;
    border: 2px solid #fbbf24;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
    }
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.service-price.special .old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1rem;
    margin-left: 10px;
}

.service-price.special .new-price {
    color: #ef4444;
    font-weight: 800;
    font-size: 1.6rem;
}

/* Enhanced Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 35px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 203, 134, 0.1) 0%, rgba(18, 85, 127, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(0, 203, 134, 0.4);
    box-shadow: 0 25px 60px rgba(0, 203, 134, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.author-info h5 {
    margin: 0;
    font-weight: 600;
}

.author-info .treatment {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.stars {
    color: #fbbf24;
    margin-top: 8px;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.stars i {
    margin: 0 2px;
    animation: starGlow 2s ease-in-out infinite;
}

.stars i:nth-child(1) { animation-delay: 0s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Enhanced Statistics Counter */
.stats-counter {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.counter-item {
    padding: 30px 20px;
    position: relative;
    z-index: 2;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.counter-item:hover::before {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.1);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
    animation: countUp 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.counter-item:hover .counter-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    position: relative;
    z-index: 3;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Before/After Gallery Enhancement */
.gallery-enhanced {
    padding: 80px 0;
    background: #f8fafc;
}

.before-after-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.before-after-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.before-after-images {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.before-after-images img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.before-img {
    left: 0;
    border-right: 2px solid white;
}

.after-img {
    right: 0;
    border-left: 2px solid white;
}

.before-after-labels {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.label {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.gallery-card-content {
    padding: 25px;
    text-align: center;
}

.treatment-type {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.treatment-description {
    color: #64748b;
    line-height: 1.6;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px 20px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .trust-badges {
        gap: 15px;
    }
    
    .trust-badge {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .journey-steps {
        gap: 20px;
    }
    
    .step-card {
        padding: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 10px;
        margin: 20px 0;
    }
    
    .feature-item {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 20px 0;
    }
    
    .trust-badge {
        width: auto;
        min-width: 200px;
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    
    .btn-cta, .btn-secondary {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .journey-steps {
        flex-direction: column;
        gap: 25px;
    }
    
    .step-card {
        padding: 20px;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
    
    .step-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .feature-badge {
        margin-bottom: 5px;
    }
    
    .services-guarantee {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .guarantee-item {
        width: 100%;
        justify-content: center;
    }
    
    .service-card-enhanced {
        margin-bottom: 30px;
    }
    
    .service-features {
        font-size: 0.9rem;
    }
    
    .service-price .price-value {
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 20px;
        margin: 15px 0;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .stats-counter {
        padding: 40px 0;
    }
    
    .counter-item {
        margin-bottom: 30px;
    }
}

/* Performance optimizations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card-enhanced {
        border-width: 2px;
        border-color: var(--color-primary);
    }
    
    .testimonial-card {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .btn-primary {
        border: 2px solid var(--color-primary);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-content .lead {
        font-size: 0.95rem;
    }
    
    .feature-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .trust-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 180px;
    }
    
    .btn-cta, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .step-card {
        padding: 15px;
    }
    
    .step-card h3 {
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .service-card-enhanced {
        padding: 20px;
    }
    
    .service-title-enhanced {
        font-size: 1.2rem;
    }
    
    .service-description-enhanced {
        font-size: 0.9rem;
    }
    
    .service-features {
        font-size: 0.85rem;
    }
    
    .service-features li {
        padding: 6px 0;
    }
    
    .service-price .price-value {
        font-size: 1.2rem;
    }
    
    .service-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-service, .new-btn-d {
        width: 100%;
        text-align: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 auto;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-label {
        font-size: 1rem;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .title-box h2 {
        font-size: 1.8rem;
    }
    
    .title-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 0;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .trust-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
        min-width: 160px;
    }
    
    .step-card {
        padding: 12px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-card-enhanced {
        padding: 15px;
    }
    
    .service-price .price-value {
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .counter-number {
        font-size: 1.8rem;
    }
    
    .title-box h2 {
        font-size: 1.6rem;
    }
}