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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #0b0f19; /* Fallback for video */
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.global-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: -10;
  pointer-events: none;
}

.global-video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0b0f19 100%);
  z-index: -10;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ==========================================================================
   DESIGN SYSTEM VARIABLE DEFINITIONS
   ========================================================================== */
:root {
  /* Colors */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #06B6D4;
  --secondary-hover: #0891B2;
  --dark-bg: #0F172A;
  --dark-bg-alt: #0b0f19;
  --light-bg: #F8FAFC;
  --light-bg-alt: #F1F5F9;
  
  --text-dark: #0F172A;
  --text-dark-muted: #475569;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  /* Glassmorphism Styles */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  
  /* Custom Gradients */
  --grad-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-text: linear-gradient(90deg, #3B82F6 0%, #06B6D4 100%);
  --grad-dark-mesh: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
                    radial-gradient(at 50% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
  --shadow-glow-blue: 0 0 20px rgba(37, 99, 235, 0.3);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Containers */
  --container-max: 1280px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.gradient-text-hero {
  background: linear-gradient(90deg, #60A5FA 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: transparent;
  color: var(--text-light);
}

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

.btn-full {
  width: 100%;
}

.text-cyan { color: var(--secondary) !important; }
.text-blue { color: var(--primary) !important; }
.text-purple { color: #8B5CF6 !important; }
.text-green { color: var(--success) !important; }
.text-orange { color: var(--warning) !important; }
.text-pink { color: #EC4899 !important; }
.text-indigo { color: #6366F1 !important; }

/* Custom glows */
.blue-glow { box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15); }
.cyan-glow { box-shadow: 0 8px 30px rgba(6, 182, 212, 0.15); }
.purple-glow { box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15); }
.orange-glow { box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15); }
.green-glow { box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15); }
.pink-glow { box-shadow: 0 8px 30px rgba(236, 72, 153, 0.15); }
.indigo-glow { box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15); }

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

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

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-light-muted);
}

.dark-header .section-title {
  color: var(--text-light);
}
.dark-header .section-desc {
  color: var(--text-light-muted);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
  padding: 1.25rem 0;
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-light);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-cta {
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: var(--text-light);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: transparent;
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Mesh Background Orbs */
.mesh-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--grad-dark-mesh);
  opacity: 0.7;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.4;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
  background: radial-gradient(circle, var(--primary) 0%, rgba(37,99,235,0) 70%);
  width: 600px;
  height: 600px;
  top: -10%;
  left: -10%;
}

.orb-2 {
  background: radial-gradient(circle, var(--secondary) 0%, rgba(6,182,212,0) 70%);
  width: 500px;
  height: 500px;
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
  animation-duration: 25s;
}

.orb-3 {
  background: radial-gradient(circle, #8B5CF6 0%, rgba(139,92,246,0) 70%);
  width: 400px;
  height: 400px;
  top: 40%;
  left: 45%;
  animation-delay: -10s;
  animation-duration: 18s;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: var(--shadow-glow-cyan);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light-muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.icon-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .icon-arrow {
  transform: translateX(4px);
}

/* Hero Right Column (Dashboard Mockup) */
.hero-dashboard-wrapper {
  display: flex;
  justify-content: center;
  perspective: 1000px;
  width: 100%;
}

#laptop-3d-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -9;
  overflow: hidden;
  outline: none;
  pointer-events: none;
}

#laptop-3d-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
}

.dashboard-base {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.control-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.control-dot.close { background-color: var(--danger); }
.control-dot.minimize { background-color: var(--warning); }
.control-dot.expand { background-color: var(--success); }

.dashboard-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light-muted);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--success);
  animation: pulseDot 1.5s infinite;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

/* Cards style inside Dashboard */
.db-card {
  border-radius: var(--radius-md);
  padding: 1rem;
  transform: translateZ(10px);
  transition: all 0.3s ease;
}

.db-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.db-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
}

/* Card 1: Revenue Graph */
.card-revenue {
  grid-column: span 2;
  background: rgba(255,255,255, 0.02);
}

.chart-container {
  height: 70px;
}

.svg-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s forwards ease-in-out;
}

.badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.success-badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.db-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-light-muted);
  margin-top: 0.5rem;
}

/* Card 2: AI Chatbot */
.card-chatbot {
  background: rgba(255,255,255,0.01);
  display: flex;
  flex-direction: column;
  height: 120px;
}

.chatbot-status {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
}

.chatbot-messages {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  padding-right: 2px;
}

/* Chat bubble styling */
.chat-bubble {
  font-size: 0.6875rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  max-width: 85%;
  line-height: 1.3;
}

.bot-msg {
  background-color: rgba(255,255,255, 0.05);
  color: var(--text-light);
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

.user-msg {
  background-color: var(--primary);
  color: var(--text-light);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.typing-msg {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 35px;
}

.typing-msg .dot {
  width: 4px;
  height: 4px;
  background-color: var(--text-light-muted);
  border-radius: 50%;
  animation: typing 1s infinite alternate;
}

.typing-msg .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-msg .dot:nth-child(3) { animation-delay: 0.4s; }

/* Card 3: CRM Analytics */
.card-crm {
  background: rgba(255,255,255,0.01);
  height: 120px;
}

.crm-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crm-stat-val {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
}

.crm-stat-lbl {
  font-size: 0.6rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
}

.crm-bars {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.crm-bar-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bar-label {
  font-size: 0.6rem;
  color: var(--text-light-muted);
}

.bar-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--grad-text);
  border-radius: var(--radius-full);
}

/* Card 4: Workflow Nodes */
.card-workflow {
  background: rgba(255,255,255,0.01);
}

.workflow-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.wf-node i {
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.wf-node span {
  font-size: 0.55rem;
  color: var(--text-light-muted);
}

.wf-connector {
  position: relative;
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0 4px;
}

.wf-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: var(--shadow-glow-cyan);
  animation: pulseMove 2.5s infinite linear;
}

.pulse-delay {
  animation-delay: 1.25s;
  background-color: var(--primary);
  box-shadow: var(--shadow-glow-blue);
}

.rotate-slow {
  animation: rotateSlow 8s infinite linear;
}

/* Card 5: Task Management */
.card-tasks {
  background: rgba(255,255,255,0.01);
}

.task-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--text-light-muted);
}

.task-item.done {
  color: var(--text-light-muted);
  text-decoration: line-through;
  opacity: 0.5;
}

.task-item.done i {
  color: var(--success);
}

.task-item.active {
  color: var(--text-light);
  font-weight: 500;
}

.task-item.active i {
  color: var(--primary);
}

/* ==========================================================================
   TRUST SECTION (STATS)
   ========================================================================== */
.trust-section {
  background-color: transparent;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1rem;
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFF 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  background-color: transparent;
}

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

.service-card {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

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

.service-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--light-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background-color: rgba(37, 99, 235, 0.05);
}

.service-icon {
  font-size: 1.35rem;
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service-card-text {
  font-size: 0.9375rem;
  color: var(--text-light-muted);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(3px);
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-section {
  padding: 6.5rem 0;
  background-color: transparent;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, 0.2);
}

.industry-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(6, 182, 212, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  background-color: var(--secondary);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-cyan);
}

.industry-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.industry-desc {
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   AUTOMATION SHOWCASE (WORKFLOWS)
   ========================================================================== */
.showcase-section {
  padding: 6.5rem 0;
  background-color: transparent;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.workflows-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 4rem;
}

.workflow-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.workflow-row-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-row-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
}

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

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  text-align: center;
}

.step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.08);
}

.step-lbl {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-light-muted);
}

.flow-step:hover .step-lbl {
  color: var(--text-light);
}

.success-step .step-icon {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.success-step:hover .step-icon {
  background-color: var(--success);
}

.success-step:hover .step-icon i {
  color: #FFFFFF !important;
}

/* Connecting SVG Line */
.flow-line {
  flex-grow: 1;
  height: 12px;
  overflow: visible;
  margin: 0 10px;
}

.dash-anim {
  animation: dashFlow 2s infinite linear;
}

.dash-anim-rev {
  animation: dashFlowRev 2s infinite linear;
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */
.case-studies-section {
  padding: 6.5rem 0;
  background-color: transparent;
}

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

.case-card {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.case-image-placeholder {
  height: 240px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background-size: cover;
  background-position: center;
}

.case-1-bg {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.9)), url('Ael tech website services.png');
  background-size: cover;
  background-position: center;
}

.case-2-bg {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.9)), url('ael tech services.png');
  background-size: cover;
  background-position: center;
}

.case-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-card-overlay h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.case-card-overlay p {
  color: var(--text-light-muted);
  font-size: 0.875rem;
}

.case-content {
  padding: 2.25rem;
}

.case-client {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.case-project-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.case-desc {
  font-size: 0.9375rem;
  color: var(--text-light-muted);
  margin-bottom: 1.75rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

/* ==========================================================================
   TECHNOLOGY MARQUEE
   ========================================================================== */
.tech-stack-section {
  padding: 6rem 0;
  background-color: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-title {
  text-align: center;
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.tech-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
  color: var(--text-light-muted);
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.marquee-wrapper::before, .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLoop 30s linear infinite;
  gap: 3rem;
  padding: 10px 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  user-select: none;
}

.marquee-item i {
  font-size: 1.25rem;
}

.marquee-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--secondary);
  border-color: rgba(6, 182, 212, 0.3);
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-choose-section {
  padding: 6.5rem 0;
  background-color: transparent;
}

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

.why-card {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.1);
}

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(37, 99, 235, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.why-card:hover .why-icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-blue);
  animation: beatAnimation 0.5s ease-in-out;
}

.why-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-light);
}

.why-card-text {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIALS (SLIDER)
   ========================================================================== */
.testimonial-section {
  padding: 6.5rem 0;
  background-color: transparent;
}

.testimonial-slider-container {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

/* Google Review Card */
.google-card {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.google-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #5f6368;
}

.g-letter {
  color: #4285F4;
  font-size: 1.125rem;
  font-weight: 900;
}

.stars {
  color: #F4B400;
  display: flex;
  gap: 3px;
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-light);
}

.profile-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-light);
}

.profile-info p {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots .dot.active {
  background-color: var(--primary);
  width: 20px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   CONTACT SECTION (DARK THEME)
   ========================================================================== */
.contact-section {
  padding: 6.5rem 0;
  background-color: var(--dark-bg);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.contact-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(37,99,235,0.08) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(6,182,212,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.contact-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.15;
}

.contact-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light-muted);
  margin-bottom: 3rem;
  max-width: 500px;
}

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

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #3B82F6;
}

.method-icon.whatsapp-icon {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.method-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
}

.method-value:hover {
  color: var(--secondary);
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-bottom: 2.25rem;
}

/* Input Fields with Floating Labels */
.form-group {
  position: relative;
  margin-bottom: 1.75rem;
}

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

.form-input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  color: var(--text-light-muted);
  pointer-events: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

/* Floating behavior */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.65rem;
  left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  background-color: #0F172A;
  padding: 0 0.35rem;
}

textarea.form-input {
  resize: none;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

.icon-submit {
  transition: transform 0.3s ease;
}

.btn-submit:hover .icon-submit {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--dark-bg-alt);
  color: var(--text-light);
  padding: 5rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

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

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 320px;
}

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

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

.social-links a:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

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

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

.footer-contact-info li i {
  font-size: 0.875rem;
  color: var(--secondary);
  width: 16px;
}

.footer-contact-info li a:hover {
  color: var(--secondary);
}

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

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

.copyright {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

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

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

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

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.05); }
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes pulseMove {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes typing {
  0% { transform: translateY(0); opacity: 0.3; }
  100% { transform: translateY(-4px); opacity: 1; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dashFlow {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

@keyframes dashFlowRev {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 20; }
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes beatAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large Tablets & Small Desktops (1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Tablets (768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .services-section,
  .industries-section,
  .showcase-section,
  .case-studies-section,
  .why-choose-section,
  .testimonial-section,
  .contact-section {
    padding: 3.5rem 0;
  }
  
  .trust-section {
    padding: 1.5rem 0;
  }
  
  .section-header {
    margin-bottom: 2.25rem;
  }
  
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }
  
  .hero-dashboard-wrapper {
    perspective: none;
  }
  
  .dashboard-base {
    transform-style: flat;
    transform: none !important;
  }
  
  .db-card {
    transform: none !important;
  }
  
  .tech-stack-section {
    padding: 3rem 0;
  }
  
  .tech-desc {
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--dark-bg-alt);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 6rem 2rem 2rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }
  
  .nav-actions {
    margin-top: 2rem;
    flex-direction: column;
    width: 100%;
    display: none; /* Let CTA show inside side menu or header top */
  }
  
  .nav-menu.open .nav-actions {
    display: flex;
  }
  
  .nav-cta {
    width: 100%;
  }
  
  /* Mobile menu cross icon state */
  .mobile-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  
  .stat-value {
    font-size: 3rem;
  }
  
  .stat-label {
    font-size: 0.875rem;
    line-height: 1.4;
  }
  
  .workflow-flow {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }
  
  .flow-line {
    width: 40px;
    height: 8px;
    transform: rotate(90deg);
    margin: 18px auto;
    display: block;
    overflow: visible;
    flex: none;
  }
  
  .flow-line line {
    stroke-width: 8;
    stroke-dasharray: 15 10;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45));
  }
  
  .dash-anim,
  .dash-anim-rev {
    animation: dashFlowVert 1s infinite linear;
  }
  
  @keyframes dashFlowVert {
    from { stroke-dashoffset: 25; }
    to { stroke-dashoffset: 0; }
  }
  
  .testimonial-slider {
    height: 380px;
  }
  
  .google-card {
    padding: 1.75rem;
  }
}

/* Small Phones (480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.25rem;
  }
  
  .stat-value {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-card {
    padding: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   SUCCESS MODAL OVERLAY (WHATSAPP MODAL)
   ========================================================================== */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1.5rem;
}

.success-modal-card {
  width: 100%;
  max-width: 480px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-modal-card h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.success-modal-card p {
  color: var(--text-light-muted);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.success-modal-card .modal-icon {
  width: 72px;
  height: 72px;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.success-modal-card .modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Prevent body scrolling when modal open */
body.no-scroll {
  overflow: hidden;
}

