/* ========== ROOT VARIABLES ========== */
:root {
  --primary-color: #EC4899;
  --secondary-color: #FDF2F8;
  --accent-color: #F472B6;
  --dark-color: #1F2937;
  --light-gradient: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 50%, #FDF2F8 100%);
  --pink-gradient: linear-gradient(135deg, #EC4899 0%, #F472B6 50%, #EC4899 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* ========== FLOATING PARTICLES ========== */
.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: linear-gradient(45deg, rgba(236, 72, 153, 0.1), rgba(244, 114, 182, 0.1));
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 120px; height: 120px; left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { width: 60px; height: 60px; left: 60%; animation-delay: 4s; }
.particle:nth-child(4) { width: 100px; height: 100px; left: 80%; animation-delay: 6s; }
.particle:nth-child(5) { width: 140px; height: 140px; left: 70%; animation-delay: 8s; }

@keyframes float {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translateY(-20vh) rotate(180deg); opacity: 0.7; }
}

/* ========== GLASSMORPHISM ========== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.glass-card-dark {
  background: rgba(31, 41, 55, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== MODERN GRADIENT BUTTONS ========== */
.btn-primary {
  background: var(--pink-gradient);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.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.5s;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.6);
}

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

/* ========== ENHANCED SERVICE CARDS ========== */
.service-card-modern {
  background: white;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

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

.service-card-modern:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--pink-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
}

/* ========== HERO ENHANCEMENTS ========== */
.hero-background {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.8) 0%, rgba(147, 51, 234, 0.6) 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* ========== STATISTICS SECTION ========== */
.stats-container {
  background: var(--dark-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--pink-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

/* ========== TEAM SECTION ========== */
.team-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  position: relative;
}

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

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

.team-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  position: relative;
  overflow: hidden;
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(236, 72, 153, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
}

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

/* ========== TESTIMONIAL CAROUSEL ========== */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  margin: 1rem;
  transition: all 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ========== ENHANCED FORM STYLING ========== */
.form-container {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--pink-gradient);
}

.form-field {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  transform: translateY(-2px);
}

.form-label {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 0 0.5rem;
  color: #6b7280;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: 0;
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* ========== BOOKING CALENDAR STYLES ========== */
.calendar-day {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  min-height: 40px;
}

.calendar-day:hover:not(.disabled):not(.selected) {
  background-color: rgba(236, 72, 153, 0.1);
  color: #EC4899;
  transform: scale(1.05);
}

.calendar-day.disabled {
  color: #D1D5DB;
  cursor: not-allowed;
  background-color: transparent;
}

.calendar-day.today {
  border: 2px solid #EC4899;
  font-weight: 600;
}

.calendar-day.selected {
  background: var(--pink-gradient);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.time-slot {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: #F9FAFB;
  border: 2px solid #E5E7EB;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
}

.time-slot:hover {
  background-color: rgba(236, 72, 153, 0.1);
  border-color: #EC4899;
  color: #EC4899;
  transform: translateY(-2px);
}

.time-slot.selected {
  background: var(--pink-gradient);
  border-color: #EC4899;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(236, 72, 153, 0.2);
  z-index: 9999;
}

.scroll-progress {
  height: 100%;
  background: var(--pink-gradient);
  width: 0%;
  transition: width 0.3s ease;
}

/* ========== NOTIFICATION STYLES ========== */
.notification {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  z-index: 100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.notification.success {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
}

.notification.error {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
}

.notification.show {
  opacity: 1;
}

/* ========== LOADING ANIMATION ========== */
.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: '';
  animation: dots 2s infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(236, 72, 153, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== MODAL STYLING ========== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 100;
  padding: 1rem;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease-out;
  margin: 80px 2rem 2rem 2rem;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}

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

/* ========== FLOATING ACTION BUTTONS ========== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pink-gradient);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.6);
}

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

.fab:hover::before {
  left: 100%;
}

/* ========== RESPONSIVE ENHANCEMENTS ========== */
@media (max-width: 768px) {
  .hero-glow {
    width: 200px;
    height: 200px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .service-card-modern:hover {
    transform: translateY(-6px) scale(1.01);
  }
  
  .modal-content {
    margin: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  .fab {
    width: 50px;
    height: 50px;
  }
  
  .fab svg {
    width: 24px;
    height: 24px;
  }
}

/* ========== CHAT STYLES ========== */
#chatMessages {
  max-height: 60vh;
  overflow-y: auto;
}

.chat-message {
  animation: fadeIn 0.3s ease;
}

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

/* ========== BEFORE/AFTER SLIDER ========== */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.before-after-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

.after-image {
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  transition: clip-path 0.3s ease;
}

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

.slider-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: var(--pink-gradient);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.slider-handle::after {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 16px;
}