/* ============================================
   KATHMANDU SERVICES - MAIN STYLESHEET
   Premium Service Marketplace
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --primary: #0F4C81;
  --primary-dark: #0a3a66;
  --primary-light: #1a5c9e;
  --secondary: #1E88E5;
  --secondary-dark: #1570c7;
  --accent: #00C853;
  --accent-dark: #00a844;
  --warning: #FF6B35;
  --danger: #E53935;
  --info: #00BCD4;
  
  /* Neutrals */
  --white: #FFFFFF;
  --bg-main: #F5F7FA;
  --bg-alt: #EEF2F7;
  --border: #E4E9F0;
  --text-primary: #1A2B3C;
  --text-secondary: #4A5568;
  --text-muted: #6B7B8C;
  
  /* Dark Mode */
  --dark-bg: #0D1B2A;
  --dark-surface: #1B2838;
  --dark-card: #243447;
  --dark-border: #2D3F54;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0F4C81 0%, #1E88E5 100%);
  --gradient-accent: linear-gradient(135deg, #00C853 0%, #00E676 100%);
  --gradient-dark: linear-gradient(135deg, #0D1B2A 0%, #1B2838 100%);
  --gradient-hero: linear-gradient(135deg, #0F4C81 0%, #1E88E5 50%, #00C853 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 76, 129, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 76, 129, 0.16);
  --shadow-xl: 0 16px 48px rgba(15, 76, 129, 0.2);
  --shadow-glow: 0 0 40px rgba(30, 136, 229, 0.3);
  
  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 50%;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --container-max: 1400px;
  --header-height: 80px;
  --topbar-height: 40px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body.dark-mode {
  --bg-main: var(--dark-bg);
  --bg-alt: var(--dark-surface);
  --white: var(--dark-card);
  --border: var(--dark-border);
  --text-primary: #E8ECF0;
  --text-secondary: #A0AEC0;
  --text-muted: #718096;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-bottom: var(--space-md);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: 120px 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.flex {
  display: flex;
}

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

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

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

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ---------- Loading Screen ---------- */
.loader-wrapper {
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-logo {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: var(--space-lg) auto 0;
}

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

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

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.dark-mode .header.scrolled {
  background: rgba(27, 40, 56, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-xl);
}

/* Top Bar */
.topbar {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
}

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

.topbar-info {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.topbar-info a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--white);
  opacity: 0.9;
}

.topbar-info a:hover {
  opacity: 1;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar-social a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.topbar-social a:hover {
  opacity: 1;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.dark-mode .logo {
  color: var(--white);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.logo-text span {
  color: var(--accent);
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dark-mode .nav-link {
  color: var(--text-primary);
}

.nav-link:hover,
.nav-item:hover .nav-link {
  color: var(--primary);
  background: rgba(15, 76, 129, 0.05);
}

.dark-mode .nav-link:hover,
.dark-mode .nav-item:hover .nav-link {
  color: var(--secondary);
  background: rgba(30, 136, 229, 0.1);
}

.nav-link i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.dark-mode .mega-menu {
  background: var(--dark-card);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mega-menu-item:hover {
  background: var(--bg-alt);
}

.mega-menu-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.mega-menu-text h5 {
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.mega-menu-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.dark-mode .dropdown {
  background: var(--dark-card);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.dropdown-item a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.dropdown-item i {
  width: 20px;
  color: var(--text-muted);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-search {
  position: relative;
  width: 300px;
}

.header-search input {
  width: 100%;
  height: 44px;
  padding: 0 var(--space-md) 0 44px;
  background: var(--bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.header-search input:focus {
  border-color: var(--secondary);
  background: var(--white);
  outline: none;
}

.dark-mode .header-search input {
  background: var(--dark-surface);
  color: var(--white);
}

.dark-mode .header-search input::placeholder {
  color: var(--text-muted);
}

.header-search i {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.header-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  padding: 0 var(--space-md);
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-weight: 500;
}

/* Header Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.btn-ghost {
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

.btn-icon:hover {
  transform: scale(1.05);
}

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 0;
}

.ripple:active::after {
  transform: translate(-50%, -50%) scale(2);
  opacity: 1;
  transition: transform 0.5s, opacity 0.3s;
}

/* Icon Buttons */
.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.dark-mode .icon-btn {
  background: var(--dark-surface);
  color: var(--text-primary);
}

.icon-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

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

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

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  transition: right var(--transition-base);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.dark-mode .mobile-nav {
  background: var(--dark-card);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  font-size: 1.25rem;
}

.mobile-nav-links {
  padding: var(--space-md);
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.mobile-nav-links a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.mobile-nav-links i {
  width: 24px;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--topbar-height) + var(--header-height));
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.hero-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 60%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -20px) rotate(5deg); }
  50% { transform: translate(0, -40px) rotate(0deg); }
  75% { transform: translate(-20px, -20px) rotate(-5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.hero-title span {
  color: var(--accent);
}

.hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: var(--white);
  color: var(--primary);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

/* Hero Search */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
}

.dark-mode .hero-search {
  background: var(--dark-card);
}

.hero-search-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--space-md);
}

.search-field {
  position: relative;
}

.search-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}

.search-field input,
.search-field select {
  width: 100%;
  height: 48px;
  padding: 0 var(--space-md);
  background: var(--bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.dark-mode .search-field input,
.dark-mode .search-field select {
  background: var(--dark-surface);
  color: var(--text-primary);
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--secondary);
  background: var(--white);
  outline: none;
}

.dark-mode .search-field input:focus,
.dark-mode .search-field select:focus {
  background: var(--dark-card);
}

.search-field i {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-btn {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 0 var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.4);
}

/* Hero Slider */
.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
  animation: fadeIn 0.6s ease-out;
}

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

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

.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 30px;
  background: var(--white);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(15, 76, 129, 0.1);
  color: var(--primary);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.dark-mode .section-badge {
  background: rgba(30, 136, 229, 0.2);
  color: var(--secondary);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Category Cards */
.categories-section {
  background: var(--white);
}

.dark-mode .categories-section {
  background: var(--dark-surface);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
}

.category-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.dark-mode .category-card {
  background: var(--dark-card);
}

.category-card:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  transition: all var(--transition-base);
}

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

.category-card h4 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}

.category-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

.dark-mode .service-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

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

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

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

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

.service-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.service-wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.service-wishlist:hover {
  color: var(--danger);
}

.service-wishlist.active {
  color: var(--danger);
}

.service-wishlist.active i::before {
  content: '\f004';
}

.service-content {
  padding: var(--space-lg);
}

.service-category {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}

.service-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-meta i {
  margin-right: 4px;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.service-rating i {
  color: #FFC107;
}

.service-rating span {
  font-weight: 600;
  color: var(--text-primary);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.dark-mode .service-footer {
  border-color: var(--dark-border);
}

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

.service-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.service-btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.service-btn:hover {
  transform: scale(1.05);
}

/* Vendor Cards */
.vendor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

.dark-mode .vendor-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

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

.vendor-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.vendor-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--secondary);
}

.vendor-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.vendor-category {
  font-size: 0.875rem;
  color: var(--secondary);
  font-weight: 500;
}

.vendor-verified {
  color: var(--accent);
  font-size: 0.875rem;
}

.vendor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.dark-mode .vendor-stats {
  background: var(--dark-surface);
}

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

.vendor-stat h5 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.dark-mode .vendor-stat h5 {
  color: var(--secondary);
}

.vendor-stat p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.vendor-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.vendor-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #FFC107;
}

.vendor-reviews {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.vendor-actions {
  display: flex;
  gap: var(--space-sm);
}

.vendor-actions .btn {
  flex: 1;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid var(--border);
}

.dark-mode .testimonial-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.testimonial-quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.1;
  font-family: serif;
  line-height: 1;
}

.testimonial-content {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--secondary);
}

.testimonial-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-sm);
  color: #FFC107;
  font-size: 0.875rem;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

.dark-mode .blog-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

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

.blog-image {
  height: 200px;
  overflow: hidden;
}

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

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--space-lg);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-category {
  background: var(--bg-alt);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.75rem;
}

.dark-mode .blog-category {
  background: var(--dark-surface);
  color: var(--secondary);
}

.blog-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.blog-link:hover {
  gap: var(--space-md);
}

.dark-mode .blog-link {
  color: var(--secondary);
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-btn-primary {
  background: var(--white);
  color: var(--primary);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

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

.dark-mode .feature-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  transition: all var(--transition-base);
}

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

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.dark-mode .steps-grid::before {
  background: var(--dark-border);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.step-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.step-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.dark-mode .faq-item {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.dark-mode .faq-question:hover {
  color: var(--secondary);
}

.faq-question i {
  transition: transform var(--transition-base);
  color: var(--text-muted);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Newsletter */
.newsletter-section {
  background: var(--gradient-hero);
  padding: var(--space-3xl) 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.newsletter-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.newsletter-content p {
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  height: 52px;
  padding: 0 var(--space-lg);
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  background: var(--white);
  color: var(--text-primary);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  height: 52px;
  padding: 0 var(--space-xl);
  background: var(--dark-bg);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-weight: 700;
  transition: all var(--transition-base);
}

.newsletter-form button:hover {
  background: var(--primary);
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-description {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--dark-surface);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--white);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: var(--space-sm);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

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

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 10000;
  transition: width 0.1s ease;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 998;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.whatsapp {
  background: #25D366;
}

.floating-btn.messenger {
  background: #0084FF;
}

.floating-btn.phone {
  background: var(--gradient-primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 300px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.hiding {
  animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideOut {
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.toast.success .toast-icon {
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent);
}

.toast.error .toast-icon {
  background: rgba(229, 57, 53, 0.1);
  color: var(--danger);
}

.toast.warning .toast-icon {
  background: rgba(255, 107, 53, 0.1);
  color: var(--warning);
}

.toast.info .toast-icon {
  background: rgba(0, 188, 212, 0.1);
  color: var(--info);
}

.toast-content h5 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.toast-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.toast-close {
  margin-left: auto;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-primary);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-base);
}

.dark-mode .modal {
  background: var(--dark-card);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.dark-mode .modal-header {
  border-color: var(--dark-border);
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--danger);
  color: var(--white);
}

.modal-body {
  padding: var(--space-lg);
}

.modal-footer {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-top: 1px solid var(--border);
}

.dark-mode .modal-footer {
  border-color: var(--dark-border);
}

.modal-footer .btn {
  flex: 1;
}

/* Dark Mode Toggle */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-base);
}

.dark-mode .theme-toggle {
  background: var(--primary);
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.dark-mode .theme-toggle::before {
  left: 33px;
}

.theme-toggle i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
}

.theme-toggle .sun {
  left: 8px;
  color: var(--warning);
}

.theme-toggle .moon {
  right: 8px;
  color: var(--text-muted);
}

.dark-mode .theme-toggle .sun {
  color: var(--text-muted);
}

.dark-mode .theme-toggle .moon {
  color: var(--secondary);
}

/* Partner Logos */
.partners-section {
  background: var(--white);
  padding: var(--space-2xl) 0;
}

.dark-mode .partners-section {
  background: var(--dark-surface);
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.partner-logo {
  height: 40px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Stats Section */
.stats-section {
  background: var(--gradient-hero);
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  color: var(--white);
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.fade-down {
  animation: fadeDown 0.6s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

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

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

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

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

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.dark-mode .skeleton {
  background: linear-gradient(90deg, var(--dark-surface) 25%, var(--dark-border) 50%, var(--dark-surface) 75%);
  background-size: 200% 100%;
}

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

.skeleton-text {
  height: 16px;
  margin-bottom: var(--space-sm);
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: var(--space-md);
}

.skeleton-image {
  height: 200px;
}

.skeleton-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.dark-mode .breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb i {
  font-size: 0.75rem;
}

.breadcrumb span {
  color: var(--text-primary);
  font-weight: 500;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.dark-mode .pagination-btn {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: var(--text-primary);
}

.pagination-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.pagination-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--white);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.dark-mode .tag {
  background: var(--dark-surface);
  color: var(--text-primary);
}

.tag:hover {
  background: var(--secondary);
  color: var(--white);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: rgba(15, 76, 129, 0.1);
  color: var(--primary);
}

.badge-success {
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent);
}

.badge-warning {
  background: rgba(255, 107, 53, 0.1);
  color: var(--warning);
}

.badge-danger {
  background: rgba(229, 57, 53, 0.1);
  color: var(--danger);
}

.badge-info {
  background: rgba(0, 188, 212, 0.1);
  color: var(--info);
}

/* Avatar */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 56px; height: 56px; }
.avatar-xl { width: 80px; height: 80px; }
.avatar-2xl { width: 120px; height: 120px; }

/* Rating Stars */
.rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rating i {
  color: #FFC107;
  font-size: 0.875rem;
}

.rating-empty i {
  color: var(--border);
}

.dark-mode .rating-empty i {
  color: var(--dark-border);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.dark-mode .progress-bar {
  background: var(--dark-surface);
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  transition: width 0.5s ease;
}

.progress-fill.success {
  background: var(--gradient-accent);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.dark-mode .table-wrapper {
  background: var(--dark-card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.dark-mode th,
.dark-mode td {
  border-color: var(--dark-border);
}

th {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dark-mode th {
  background: var(--dark-surface);
  color: var(--text-primary);
}

tbody tr {
  transition: background var(--transition-fast);
}

tbody tr:hover {
  background: var(--bg-alt);
}

.dark-mode tbody tr:hover {
  background: var(--dark-surface);
}

/* Utility Classes */
.hidden { display: none !important; }
.visible { display: block !important; }
.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;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Image Lazy Loading */
img[lazy] {
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

/* Print Styles */
@media print {
  .header, .footer, .floating-buttons, .back-to-top {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

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