/* ================================
   🎨 DESIGN SYSTEM
   ================================ */
:root {
  /* Colors - Light Mode */
  --bg-primary: #e5e7eb;
  --bg-secondary: #f3f4f6;
  --bg-tertiary: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;

  /* Brand Colors */
  --accent-blue: #f59e0b;
  --accent-blue-light: #fbbf24;
  --accent-blue-dark: #d97706;
  --accent-cyan: #0ea5e9;
  --accent-purple: #1e293b;
  --accent-green: #14b8a6;
  --accent-orange: #fb923c;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg,
      #f59e0b 0%,
      #fb923c 55%,
      #fde047 100%);
  --gradient-secondary: linear-gradient(135deg, #0b1220 0%, #1e293b 100%);
  --gradient-accent: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  --gradient-mesh:
    radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(15, 23, 42, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(251, 146, 60, 0.1) 0px, transparent 50%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.66);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-shadow: rgba(0, 0, 0, 0.1);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(251, 146, 60, 0.28);

  /* Typography */
  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;

  /* Spacing */
  --spacing-unit: 8px;
  --container-padding: 80px;
  --section-padding: 120px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Component Colors */
  --footer-bg: #0b1220;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-primary: #070b14;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --glass-bg: rgba(15, 23, 42, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.5);

  --footer-bg: #050a14;
}

/* Dark Mode Overrides for Components */
[data-theme="dark"] .contact-form {
  background: #111111;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .form-control {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #333333;
}

[data-theme="dark"] .form-control::placeholder {
  color: #6b7280;
}

[data-theme="dark"] .form-control:focus {
  background: #222222;
  border-color: var(--accent-blue);
}

[data-theme="dark"] select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background 0.4s var(--ease-smooth),
    color 0.4s var(--ease-smooth);
  overflow-x: hidden;
}

::selection {
  background: var(--accent-blue);
  color: white;
}

/* ================================
   🎬 LOADING SCREEN
   ================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.6s var(--ease-smooth),
    visibility 0.6s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  width: 80px;
  height: 80px;
  animation: loadingPulse 1.5s ease-in-out infinite;
  object-fit: contain;
}

@keyframes loadingPulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.1) rotate(180deg);
  }
}

/* ================================
   📱 NAVIGATION
   ================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all 0.3s var(--ease-smooth);
}

.navbar.scrolled {
  background: var(--glass-bg);
  border-bottom-color: var(--glass-border);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: rgba(241, 245, 249, 0.84);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s var(--ease-smooth);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.navbar.scrolled .logo {
  color: var(--text-primary);
}

.navbar.scrolled .nav-link {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.22);
}

.navbar.scrolled .theme-toggle {
  background: var(--bg-secondary);
}

.navbar.scrolled .theme-toggle:hover {
  background: var(--bg-tertiary);
}

.btn {
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.35s var(--ease-smooth);
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.22);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--accent-blue-dark);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.32), var(--shadow-glow);
  letter-spacing: 0.4px;
}

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

.btn-secondary {
  background: rgba(243, 244, 246, 0.8);
  color: var(--text-primary);
  border: 1.5px solid rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

.navbar.scrolled .mobile-toggle {
  background: var(--bg-secondary);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--text-primary);
}

/* ================================
   🏠 HERO SECTION
   ================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 113, 227, 0.08), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(6, 182, 212, 0.08), transparent 45%),
    #f1f2f4;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroImageIn 1.8s var(--ease-out) both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(8, 12, 22, 0.86) 14%, rgba(10, 14, 26, 0.6) 52%, rgba(10, 14, 26, 0.84) 100%),
    radial-gradient(circle at 75% 25%, rgba(240, 172, 76, 0.2), transparent 45%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  animation: floatShape 16s ease-in-out infinite;
}

.hero-shape-1 {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -100px;
  background: linear-gradient(135deg,
      rgba(255, 194, 102, 0.28),
      rgba(255, 128, 84, 0.08));
  animation-delay: 0s;
  filter: blur(6px);
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -80px;
  background: linear-gradient(135deg,
      rgba(41, 151, 255, 0.22),
      rgba(6, 182, 212, 0.08));
  animation-delay: -5s;
  filter: blur(8px);
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(50px, -50px) rotate(120deg);
  }

  66% {
    transform: translate(-30px, 30px) rotate(240deg);
  }
}

.hero-container {
  width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  border-radius: 0;
  overflow: hidden;
  padding: 140px 70px 70px;
  box-shadow: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  animation: fadeInLeft 1s var(--ease-out) 0.2s both;
}

@keyframes heroImageIn {
  from {
    transform: scale(1.14);
    opacity: 0.4;
  }

  to {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-title {
  font-size: clamp(50px, 6.5vw, 76px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 22px;
  color: #f8fafc;
  text-transform: uppercase;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.38);
  -webkit-background-clip: text;
  -webkit-text-fill-color: #f8fafc;
  background-clip: text;
}

.hero-gradient-text {
  background: linear-gradient(130deg, #fde68a 0%, #fb923c 40%, #f8fafc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(230, 237, 246, 0.9);
  margin-bottom: 30px;
  max-width: 560px;
}

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

.hero .btn-primary {
  background: white;
  color: #101828;
}

.hero .btn-primary:hover {
  background: #f3f4f6;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 16px;
  max-width: 600px;
}

.hero-metric-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}

.hero-metric-value {
  display: block;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
}

.hero-metric-label {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.85);
}

.hero-visual {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: 440px;
  animation: fadeInRight 1s var(--ease-out) 0.4s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-3d {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: rgba(8, 12, 22, 0.56);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 10%;
  right: 6%;
  width: 230px;
  animation-delay: 0s;
}

.floating-card-2 {
  top: 42%;
  right: 0;
  width: 240px;
  animation-delay: -2s;
}

.floating-card-3 {
  bottom: 8%;
  left: 5%;
  width: 250px;
  animation-delay: -4s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0) rotateZ(0deg);
  }

  50% {
    transform: translateY(-20px) rotateZ(2deg);
  }
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(130deg, #f59e0b, #f97316);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.card-text {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.6;
}

/* ================================
   📊 STATS SECTION
   ================================ */
.stats {
  padding: 80px 40px;
  background: var(--bg-secondary);
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 48px 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all 0.35s var(--ease-smooth);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ================================
   ℹ️ ABOUT SECTION
   ================================ */
.about {
  padding: var(--section-padding) 40px;
  background: var(--bg-primary);
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content {
  max-width: 600px;
}

.about-mission {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-mission p {
  font-size: 18px;
  font-style: italic;
  color: var(--text-primary);
  font-weight: 500;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease-smooth);
}

.value-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.75);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.value-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.value-info p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ================================
   🎯 SERVICES SECTION
   ================================ */
.services {
  padding: var(--section-padding) 40px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-flex;
  padding: 8px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
}

.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 40px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--service-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

/* ================================
   🔄 PROCESS SECTION
   ================================ */
.process {
  padding: var(--section-padding) 40px;
  background: var(--bg-secondary);
}

.process-steps {
  max-width: 1400px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
}

.process-step {
  position: relative;
  padding-top: 24px;
  transition: all 0.35s var(--ease-smooth);
}

.process-step:hover {
  transform: translateY(-8px);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--glass-border);
  border-radius: 2px;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--accent-blue);
  border-radius: 2px;
  transition: width 0.5s var(--ease-smooth);
}

.process-step:hover::after {
  width: 100%;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.step-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--glass-border);
  transition: all 0.35s var(--ease-smooth);
}

.process-step:hover .step-number {
  color: var(--accent-blue);
  transform: scale(1.08);
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2px;
}

.process-step:hover .step-icon {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.step-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.service-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.85);
}

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

.service-card:nth-child(1) {
  --service-gradient: var(--gradient-primary);
}

.service-card:nth-child(2) {
  --service-gradient: var(--gradient-accent);
}

.service-card:nth-child(3) {
  --service-gradient: linear-gradient(135deg, #10b981, #06b6d4);
}

.service-card:nth-child(4) {
  --service-gradient: linear-gradient(135deg, #f59e0b, #ef4444);
}

.service-card:nth-child(5) {
  --service-gradient: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.service-card:nth-child(6) {
  --service-gradient: linear-gradient(135deg, #ec4899, #f59e0b);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: var(--service-gradient);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-spring);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2px;
}

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

.service-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.service-features li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  background: var(--service-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.service-link {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease-smooth);
}

.service-link:hover {
  gap: 12px;
}

.service-link::after {
  content: "→";
}

/* ================================
   💼 TECHNOLOGIES SECTION
   ================================ */
.technologies {
  padding: var(--section-padding) 40px;
  background: var(--bg-secondary);
}

.tech-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}

.tech-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tech-item:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  border-color: rgba(245, 158, 11, 0.3);
}

.tech-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  transition: filter 0.3s var(--ease-smooth);
}

.tech-logo i {
  font-size: 52px;
  transition: transform 0.35s var(--ease-spring);
}

.tech-item:hover .tech-logo i {
  transform: scale(1.15) rotateZ(-5deg);
}

.tech-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}

/* ================================
   🎨 PORTFOLIO SECTION
   ================================ */
.portfolio {
  padding: var(--section-padding) 40px;
}

.portfolio-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gradient-mesh);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.12);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-title {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.portfolio-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ================================
   📅 SCHEDULE SECTION
   ================================ */
.schedule {
  padding: var(--section-padding) 40px;
  background: var(--bg-secondary);
}

.schedule-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.calendar-wrapper {
  background: linear-gradient(135deg,
      rgba(0, 113, 227, 0.05),
      rgba(6, 182, 212, 0.05));
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--glass-border);
}

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

.calendar-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.calendar-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.calendar-nav:hover {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}

.calendar-day {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-day:hover:not(.selected) {
  background: var(--bg-primary);
}

.calendar-day.today {
  color: var(--accent-blue);
  font-weight: 700;
}

.calendar-day.selected {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.time-slot {
  padding: 10px;
  text-align: center;
  background: var(--bg-primary);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.2s;
}

.time-slot:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.time-slot.selected {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

.schedule-header {
  margin-bottom: 32px;
}

.schedule-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.schedule-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

.video-options {
  display: flex;
  gap: 16px;
}

.video-option {
  flex: 1;
  cursor: pointer;
}

.video-option input {
  display: none;
}

.video-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.video-option input:checked+.video-box {
  background: rgba(0, 113, 227, 0.1);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

@media (max-width: 900px) {
  .schedule-container {
    grid-template-columns: 1fr;
  }
}

/* ================================
   💬 CTA SECTION
   ================================ */
.cta {
  padding: var(--section-padding) 40px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.2"/></svg>');
  opacity: 0.3;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-title {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 900;
  color: white;
  margin-bottom: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 44px;
  line-height: 1.8;
  font-weight: 500;
}

.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--accent-blue);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--accent-blue);
}

/* ================================
   📧 CONTACT SECTION
   ================================ */
.contact {
  padding: var(--section-padding) 40px;
  background: var(--bg-secondary);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* ================================
   🤝 CLIENTS SECTION
   ================================ */
.clients {
  padding: 80px 40px;
  background: var(--bg-primary);
}

.clients-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.clients-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.client-category {
  padding: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease-smooth);
}

.client-category:hover {
  transform: translateY(-8px);
  background: var(--glass-bg);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 48px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-blue);
  width: 64px;
  height: 64px;
  background: rgba(0, 113, 227, 0.1);
  border-radius: 50%;
}

.category-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2px;
}

.category-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-info h3 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.contact-info p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-form {
  background: #fcfcfd;
  border: none;
  border-radius: 36px;
  padding: 56px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  background: #f1f5f9;
  border: 1.5px solid rgba(100, 116, 139, 0.2);
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-primary);
  transition: all 0.35s var(--ease-smooth);
  letter-spacing: 0.2px;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
  transform: translateY(-1px);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

.form-control:not(textarea) {
  height: 56px;
}

/* Custom Select Style */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 48px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 20px;
  height: 56px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  letter-spacing: 0.3px;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
}

.form-submit:active {
  transform: scale(0.98);
}

/* ================================
   🦶 FOOTER
   ================================ */
.footer {
  background: var(--footer-bg);
  color: white;
  padding: 80px 40px 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.35s var(--ease-smooth);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent-blue);
  transform: translateY(-4px);
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================
   📱 RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .nav-container {
    padding: 14px 20px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .logo {
    font-size: 20px;
    gap: 8px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .hero-container,
  .about-container,
  .schedule-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-container {
    min-height: auto;
    min-height: 100svh;
    padding: 120px 36px 44px;
  }

  .hero-metrics {
    max-width: 100%;
  }

  .hero-visual {
    height: 360px;
  }

  .services-grid,
  .portfolio-grid,
  .stats-container,
  .footer-grid,
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 12px 14px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo {
    font-size: 20px;
    gap: 8px;
  }

  .nav-actions .btn-primary {
    display: none;
    /* Hide 'Get Started' on very small screens to avoid overflow */
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    background: rgba(10, 14, 26, 0.96);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 20px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s var(--ease-spring),
      opacity 0.3s var(--ease-smooth);
    border-top: 1px solid var(--glass-border);
  }

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

  .nav-link {
    font-size: 20px;
    padding: 16px;
    width: 100%;
    text-align: center;
    display: block;
    color: #f8fafc;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

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

  .services-grid,
  .portfolio-grid,
  .stats-container,
  .process-steps,
  .clients-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 0;
  }

  .hero-container {
    border-radius: 0;
    padding: 96px 20px 34px;
    gap: 28px;
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .hero-actions {
    margin-bottom: 20px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-visual {
    min-height: 260px;
    height: 280px;
  }

  .floating-card {
    animation: none;
  }

  .floating-card-2,
  .floating-card-3 {
    display: none;
  }

  .floating-card-1 {
    width: min(240px, 82%);
    right: 8%;
    top: 20%;
  }

  .about,
  .services,
  .process,
  .technologies,
  .portfolio,
  .cta,
  .schedule,
  .contact {
    padding: 60px 20px;
  }

  .section-title,
  .cta-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .schedule-form-wrapper {
    padding-top: 20px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    font-size: 12px;
    height: 32px;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-options {
    flex-direction: column;
  }
}

/* ================================
   ♿ ACCESSIBILITY
   ================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !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-width: 0;
}

/* ================================
   🎨 REVEAL ANIMATIONS
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s var(--ease-out) 0.1s, transform 0.75s var(--ease-out) 0.1s;
}