/* ============================================
   MOHSEN YOSRY SALEM - LEGAL CONSULTATION
   Professional Lawyer Website Styles
   ============================================ */

/* ============ CSS VARIABLES & THEMES ============ */
:root {
  /* Typography */
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.2);
}

/* === THEME: Royal Blue === */
[data-theme="royal-blue"] {
  --primary-900: #0d1b4a;
  --primary-800: #1a237e;
  --primary-700: #283593;
  --primary-600: #303f9f;
  --primary-500: #3949ab;
  --primary-400: #5c6bc0;
  --primary-300: #7986cb;
  --primary-200: #9fa8da;
  --primary-100: #c5cae9;
  --primary-50: #e8eaf6;
  
  --accent-600: #1565c0;
  --accent-500: #1e88e5;
  --accent-400: #42a5f5;
  --accent-300: #64b5f6;
  --accent-200: #90caf9;
  
  --gold-500: #c9a84c;
  --gold-400: #d4b85c;
  --gold-300: #e0c96d;
  
  --bg-dark: #0a0e27;
  --bg-darker: #060920;
  --bg-card: rgba(26, 35, 126, 0.08);
  --bg-card-hover: rgba(26, 35, 126, 0.14);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-section-alt: #050818;
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-on-primary: #ffffff;
  
  --border-color: rgba(92, 107, 192, 0.2);
  --border-light: rgba(92, 107, 192, 0.1);
  
  --gradient-primary: linear-gradient(135deg, #1a237e 0%, #42a5f5 100%);
  --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a237e 50%, #0d1b4a 100%);
  --gradient-card: linear-gradient(135deg, rgba(26,35,126,0.1) 0%, rgba(66,165,245,0.05) 100%);
  --gradient-btn: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #42a5f5 100%);
  
  --network-color: rgba(66, 165, 245, 0.15);
  --network-node: rgba(66, 165, 245, 0.4);
  --glow-color: rgba(66, 165, 245, 0.3);
}

/* === THEME: Golden Brown === */
[data-theme="golden-brown"] {
  --primary-900: #1a0f00;
  --primary-800: #3e2723;
  --primary-700: #4e342e;
  --primary-600: #5d4037;
  --primary-500: #6d4c41;
  --primary-400: #8d6e63;
  --primary-300: #a1887f;
  --primary-200: #bcaaa4;
  --primary-100: #d7ccc8;
  --primary-50: #efebe9;
  
  --accent-600: #f57f17;
  --accent-500: #f9a825;
  --accent-400: #ffb300;
  --accent-300: #ffc107;
  --accent-200: #ffca28;
  
  --gold-500: #d4a017;
  --gold-400: #e6b422;
  --gold-300: #f0c94d;
  
  --bg-dark: #1a0f06;
  --bg-darker: #120a04;
  --bg-card: rgba(62, 39, 35, 0.1);
  --bg-card-hover: rgba(62, 39, 35, 0.18);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-section-alt: #140c05;
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-on-primary: #ffffff;
  
  --border-color: rgba(141, 110, 99, 0.25);
  --border-light: rgba(141, 110, 99, 0.12);
  
  --gradient-primary: linear-gradient(135deg, #3e2723 0%, #ffb300 100%);
  --gradient-hero: linear-gradient(135deg, #1a0f06 0%, #3e2723 50%, #2c1810 100%);
  --gradient-card: linear-gradient(135deg, rgba(62,39,35,0.12) 0%, rgba(255,179,0,0.05) 100%);
  --gradient-btn: linear-gradient(135deg, #3e2723 0%, #6d4c41 50%, #ffb300 100%);
  
  --network-color: rgba(255, 179, 0, 0.12);
  --network-node: rgba(255, 179, 0, 0.35);
  --glow-color: rgba(255, 179, 0, 0.25);
}

/* === THEME: Emerald === */
[data-theme="emerald"] {
  --primary-900: #0a2e0a;
  --primary-800: #1b5e20;
  --primary-700: #2e7d32;
  --primary-600: #388e3c;
  --primary-500: #43a047;
  --primary-400: #66bb6a;
  --primary-300: #81c784;
  --primary-200: #a5d6a7;
  --primary-100: #c8e6c9;
  --primary-50: #e8f5e9;
  
  --accent-600: #00897b;
  --accent-500: #009688;
  --accent-400: #26a69a;
  --accent-300: #4db6ac;
  --accent-200: #80cbc4;
  
  --gold-500: #8d9a4b;
  --gold-400: #a3b05c;
  --gold-300: #bcc76d;
  
  --bg-dark: #0a1a0e;
  --bg-darker: #06120a;
  --bg-card: rgba(27, 94, 32, 0.08);
  --bg-card-hover: rgba(27, 94, 32, 0.15);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-section-alt: #081408;
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-on-primary: #ffffff;
  
  --border-color: rgba(102, 187, 106, 0.2);
  --border-light: rgba(102, 187, 106, 0.1);
  
  --gradient-primary: linear-gradient(135deg, #1b5e20 0%, #66bb6a 100%);
  --gradient-hero: linear-gradient(135deg, #0a1a0e 0%, #1b5e20 50%, #0f2d14 100%);
  --gradient-card: linear-gradient(135deg, rgba(27,94,32,0.1) 0%, rgba(102,187,106,0.05) 100%);
  --gradient-btn: linear-gradient(135deg, #1b5e20 0%, #43a047 50%, #66bb6a 100%);
  
  --network-color: rgba(102, 187, 106, 0.12);
  --network-node: rgba(102, 187, 106, 0.35);
  --glow-color: rgba(102, 187, 106, 0.25);
}

/* === THEME: Burgundy === */
[data-theme="burgundy"] {
  --primary-900: #2a0505;
  --primary-800: #4a0e0e;
  --primary-700: #6d1b1b;
  --primary-600: #8b2525;
  --primary-500: #a83232;
  --primary-400: #c04848;
  --primary-300: #e57373;
  --primary-200: #ef9a9a;
  --primary-100: #ffcdd2;
  --primary-50: #ffebee;
  
  --accent-600: #ad1457;
  --accent-500: #c2185b;
  --accent-400: #d81b60;
  --accent-300: #ec407a;
  --accent-200: #f48fb1;
  
  --gold-500: #c9a84c;
  --gold-400: #d4b85c;
  --gold-300: #e0c96d;
  
  --bg-dark: #1a0808;
  --bg-darker: #120505;
  --bg-card: rgba(74, 14, 14, 0.1);
  --bg-card-hover: rgba(74, 14, 14, 0.18);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-section-alt: #140606;
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-on-primary: #ffffff;
  
  --border-color: rgba(192, 72, 72, 0.2);
  --border-light: rgba(192, 72, 72, 0.1);
  
  --gradient-primary: linear-gradient(135deg, #4a0e0e 0%, #e57373 100%);
  --gradient-hero: linear-gradient(135deg, #1a0808 0%, #4a0e0e 50%, #2a0505 100%);
  --gradient-card: linear-gradient(135deg, rgba(74,14,14,0.12) 0%, rgba(229,115,115,0.05) 100%);
  --gradient-btn: linear-gradient(135deg, #4a0e0e 0%, #a83232 50%, #e57373 100%);
  
  --network-color: rgba(229, 115, 115, 0.12);
  --network-node: rgba(229, 115, 115, 0.35);
  --glow-color: rgba(229, 115, 115, 0.25);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-ar);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[lang="en"] body,
[lang="en"] {
  font-family: var(--font-en);
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--bg-section-alt);
}

/* ============ NETWORK BACKGROUND CANVAS ============ */
#network-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============ LOADING SCREEN ============ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader-content {
  text-align: center;
}

.loader-scales {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 1.5s ease-in-out infinite;
  margin-bottom: 20px;
}

.loader-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar-fill {
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: loadBar 1.5s ease-in-out forwards;
}

@keyframes loadBar {
  0% { width: 0; }
  100% { width: 100%; }
}

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

/* ============ THEME SWITCHER ============ */
.theme-switcher {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

[dir="ltr"] .theme-switcher {
  left: auto;
  right: 20px;
}

.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.1);
}

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

.theme-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

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

.theme-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  overflow: hidden;
  transition: var(--transition);
  padding: 0;
}

.theme-option:hover {
  transform: scale(1.15);
  border-color: rgba(255,255,255,0.4);
}

.theme-option .theme-color {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* ============ LANGUAGE SWITCHER ============ */
.lang-switcher {
  position: fixed;
  top: 100px;
  left: 20px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

[dir="ltr"] .lang-switcher {
  left: auto;
  right: 20px;
}

.lang-switcher:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.05);
}

.lang-switcher .fa-globe {
  display: none;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 16px 0;
  transition: var(--transition-slow);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

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

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

.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.logo-title {
  font-size: 0.72rem;
  color: var(--accent-400);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-400);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ============ HERO SECTION ============ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--accent-400);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  margin-bottom: 24px;
}

.hero-greeting {
  display: block;
  font-size: 1.3rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 8px;
}

.hero-name {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[lang="en"] .hero-name {
  font-family: var(--font-display);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-400);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-xl);
}

.hero-image-frame {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-400);
  border-radius: var(--border-radius-lg);
  z-index: 1;
  opacity: 0.3;
}

[dir="ltr"] .hero-image-frame {
  right: auto;
  left: -20px;
}

.hero-image-dots {
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--accent-400) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  z-index: 1;
  opacity: 0.3;
}

[dir="ltr"] .hero-image-dots {
  left: auto;
  right: -15px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-btn);
  color: var(--text-on-primary);
  background-size: 200% 200%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--accent-400);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============ SECTION HEADER ============ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--accent-400);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--border-color);
}

.section-divider i {
  color: var(--accent-400);
  font-size: 1.1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============ ABOUT SECTION ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-xl);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-primary);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 100px;
}

[dir="ltr"] .about-experience-badge {
  right: auto;
  left: -20px;
}

.exp-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
  display: block;
}

.about-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature .feature-icon {
  color: var(--accent-400);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.about-feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============ SERVICES SECTION ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-slow);
  transform-origin: right;
}

[dir="ltr"] .service-card::before {
  transform-origin: left;
}

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

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-400);
  transition: var(--transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--accent-300);
}

[dir="ltr"] .service-link i {
  transform: rotate(180deg);
}

/* ============ EXPERIENCE SECTION ============ */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.exp-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  transition: var(--transition-slow);
}

.exp-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.exp-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: var(--transition);
}

.exp-card:hover .exp-icon {
  transform: scale(1.1);
}

.exp-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.exp-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============ PROCESS SECTION ============ */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 0 8px var(--bg-dark), 0 0 0 10px var(--border-color);
  transition: var(--transition);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px var(--bg-dark), 0 0 0 10px var(--accent-400);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 8px;
}

/* ============ TESTIMONIALS SECTION ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: var(--transition-slow);
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

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

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ FAQ SECTION ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-color);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: inherit;
  transition: var(--transition);
}

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

.faq-question i {
  transition: var(--transition);
  color: var(--accent-400);
  font-size: 0.85rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

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

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

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

.info-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.info-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

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

/* Contact Form */
.contact-form-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group:last-child:not(.form-row .form-group) {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-400);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
}

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

.form-group select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

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

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #66bb6a;
}

.form-status.error {
  display: block;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ef5350;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-darker);
  padding: 60px 0 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links li,
.footer-services li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--accent-400);
  padding-inline-start: 6px;
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--accent-400);
  width: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
}

[dir="ltr"] .scroll-top {
  left: auto;
  right: 20px;
}

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

.scroll-top:hover {
  transform: translateY(-3px);
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition);
  animation: whatsappPulse 2s ease infinite;
}

[dir="ltr"] .whatsapp-float {
  left: auto;
  right: 20px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.08); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content { order: 1; }
  .hero-image { order: 0; }
  
  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 300px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .process-timeline::before { display: none; }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 70px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    transition: var(--transition-slow);
    z-index: 5;
  }
  
  [dir="ltr"] .nav-links {
    transform: translateX(-100%);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 12px 24px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-name {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-grid,
  .experience-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .theme-switcher {
    left: 12px;
  }
  
  [dir="ltr"] .theme-switcher {
    left: auto;
    right: 12px;
  }
  
  .lang-switcher {
    left: 12px;
    top: 90px;
  }
  
  [dir="ltr"] .lang-switcher {
    left: auto;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 1.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .contact-info-card {
    padding: 24px;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
}

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

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

/* ============ SELECTION ============ */
::selection {
  background: var(--accent-400);
  color: white;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-600);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-500);
}
