/* ============================================================
   APNAWORKPLACE — PREMIUM REDESIGN CSS
   ============================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Color Palette */
  --clr-bg: #0a0a0f;
  --clr-bg-light: #12121a;
  --clr-bg-card: rgba(20, 20, 30, 0.7);
  --clr-surface: #1a1a2e;
  --clr-surface-light: #22223a;
  --clr-border: rgba(255, 255, 255, 0.06);
  --clr-border-hover: rgba(255, 255, 255, 0.12);

  /* Accent Colors */
  --clr-primary: #a855f7;
  --clr-primary-light: #c084fc;
  --clr-secondary: #06b6d4;
  --clr-accent: #f43f5e;
  --clr-success: #10b981;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --grad-accent: linear-gradient(135deg, #f43f5e 0%, #a855f7 50%, #06b6d4 100%);
  --grad-card: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

  /* Typography */
  --ff-heading: 'Outfit', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Text Colors */
  --clr-text: #e4e4e7;
  --clr-text-muted: #a1a1aa;
  --clr-text-dim: #71717a;
  --clr-white: #ffffff;

  /* Sizing */
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --section-padding: 6rem 0;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 100rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15);
  --shadow-glow-secondary: 0 0 40px rgba(6, 182, 212, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

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

body {
  font-family: var(--ff-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
}

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

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

/* ============ PRELOADER ============ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(1) {
  border-top-color: var(--clr-primary);
  animation-delay: 0s;
}

.loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  border-right-color: var(--clr-secondary);
  animation-delay: 0.15s;
  animation-direction: reverse;
}

.loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  border-bottom-color: var(--clr-accent);
  animation-delay: 0.3s;
}

.loader-text {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
}

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

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  border-radius: 50%;
  transition: transform 0.15s var(--ease-out);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-primary);
}

.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  transition: transform 0.3s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-outline.hover {
  width: 56px;
  height: 56px;
  border-color: var(--clr-primary-light);
  background: rgba(168, 85, 247, 0.06);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-outline { display: none; }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.6rem 0;
}

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

.nav-brand {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

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

.nav-menu {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-white);
  background: rgba(168, 85, 247, 0.1);
}

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

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--grad-primary);
  color: var(--clr-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-logo-wrap {
  width: 36px;
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo {
  width: 80px;      /* image ko bada rakho */
  height: 80px;
  object-fit: contain;
  margin: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(244, 63, 94, 0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-particles {
  position: absolute;
  inset: 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-success);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-description strong {
  color: var(--clr-primary-light);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(10px);
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

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

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-white);
}

.stat-suffix {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-primary-light);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual / Orbit */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.hero-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  animation: orbitSpin linear infinite;
}

.orbit-ring-1 {
  width: 200px;
  height: 200px;
  border-color: rgba(168, 85, 247, 0.15);
  animation-duration: 20s;
}

.orbit-ring-2 {
  width: 320px;
  height: 320px;
  border-color: rgba(6, 182, 212, 0.1);
  animation-duration: 30s;
  animation-direction: reverse;
}

.orbit-ring-3 {
  width: 440px;
  height: 440px;
  border-color: rgba(244, 63, 94, 0.06);
  animation-duration: 40s;
}

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

.orbit-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-white);
  box-shadow: var(--shadow-glow);
  z-index: 2;
}

.orbit-center .brand-accent {
  -webkit-text-fill-color: var(--clr-white);
}

.hero-card {
  position: absolute;
  padding: 1rem 1.5rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 3;
}

.hero-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero-card-1 {
  top: 8%;
  right: 5%;
  animation-delay: 0s;
}
.hero-card-1 .card-icon { background: rgba(168, 85, 247, 0.2); color: var(--clr-primary-light); }

.hero-card-2 {
  top: 42%;
  left: -5%;
  animation-delay: 1.2s;
}
.hero-card-2 .card-icon { background: rgba(6, 182, 212, 0.2); color: var(--clr-secondary); }

.hero-card-3 {
  bottom: 5%;
  right: 10%;
  animation-delay: 2.4s;
}
.hero-card-3 .card-icon { background: rgba(244, 63, 94, 0.2); color: var(--clr-accent); }

.hero-card-4 {
  top: 12%;
  left: 2%;
  animation-delay: 3.6s;
}
.hero-card-4 .card-icon { background: rgba(16, 185, 129, 0.2); color: var(--clr-success); }

.hero-card-5 {
  bottom: 18%;
  left: 10%;
  animation-delay: 4.8s;
}
.hero-card-5 .card-icon { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  width: 20px;
  height: 30px;
  border: 2px solid var(--clr-text-dim);
  border-radius: 10px;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--clr-primary);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 14px; opacity: 0.3; }
}

/* ============ MARQUEE ============ */
.marquee-section {
  padding: 1.5rem 0;
  background: var(--clr-bg-light);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ============ SECTION SHARED ============ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

/* ============ ABOUT ============ */
.about {
  padding: var(--section-padding);
  background: var(--clr-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about-content > p {
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-primary-light);
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.about-feature p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vision-card {
  padding: 1.75rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity 0.4s;
}

.vision-card:hover {
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.vision-card:hover::before { opacity: 1; }

.vision-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.vision-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.vision-card p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============ SERVICES ============ */
.services {
  padding: var(--section-padding);
  background: var(--clr-bg-light);
}

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

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.service-card:hover .service-card-bg { opacity: 1; }

.service-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  z-index: 0;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}

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

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.service-features li {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li i {
  color: var(--clr-success);
  font-size: 0.7rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-primary-light);
  position: relative;
  z-index: 1;
  transition: gap 0.3s;
}

.service-link:hover { gap: 0.75rem; color: var(--clr-white); }

/* ============ WORKFLOW / DIAGRAM ============ */
.workflow {
  padding: var(--section-padding);
  background: var(--clr-bg);
}

.workflow-diagram {
  position: relative;
  max-width: 900px;
  margin: 0 auto 5rem;
}

.workflow-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-primary), var(--clr-secondary), var(--clr-primary));
  opacity: 0.3;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.workflow-step:last-child { margin-bottom: 0; }

.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 1.5rem;
}

.step-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2px solid var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.step-dot span {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.workflow-step:hover .step-dot {
  background: var(--grad-primary);
  box-shadow: var(--shadow-glow);
}

.workflow-step:hover .step-dot span {
  -webkit-text-fill-color: var(--clr-white);
}

.step-card {
  flex: 1;
  padding: 1.75rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.workflow-step:hover .step-card {
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: var(--shadow-glow);
}

.step-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--clr-white);
  margin-bottom: 1rem;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

/* Tech Ecosystem Diagram */
.tech-ecosystem {
  text-align: center;
}

.tech-title {
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

.tech-diagram {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
  margin: 0 auto;
}

.tech-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 3;
}

.tech-center-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--clr-white);
}

.tech-center-inner i {
  font-size: 1.5rem;
}

.tech-center-inner span {
  font-family: var(--ff-heading);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-primary-light);
  z-index: 3;
  transition: all var(--transition-base);
  cursor: pointer;
}

.tech-node::after {
  content: attr(data-label);
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-node:hover {
  background: var(--grad-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
  transform: scale(1.2);
  box-shadow: var(--shadow-glow);
}

.tech-node-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.tech-node-2 { top: 25%; right: 8%; }
.tech-node-3 { bottom: 25%; right: 8%; }
.tech-node-4 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.tech-node-5 { bottom: 25%; left: 8%; }
.tech-node-6 { top: 25%; left: 8%; }

.tech-node-1:hover { transform: translateX(-50%) scale(1.2); }
.tech-node-4:hover { transform: translateX(-50%) scale(1.2); }

.tech-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tech-line {
  stroke: rgba(168, 85, 247, 0.15);
  stroke-width: 1;
  stroke-dasharray: 8 4;
  animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -24; }
}

/* ============ STATS ============ */
.stats {
  padding: 4rem 0;
  background: var(--clr-bg-light);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

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

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.stat-item:hover {
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--clr-primary-light);
  margin-bottom: 0.75rem;
}

.stat-value {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-value .counter {
  display: inline;
}

.stat-name {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ PROJECTS ============ */
.projects {
  padding: var(--section-padding);
  background: var(--clr-bg);
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  transition: all var(--transition-base);
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 85, 247, 0.2);
}

.project-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-overlay {
  color: rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}

.project-card:hover .project-overlay {
  color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.project-info {
  padding: 1.5rem;
}

.project-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(168, 85, 247, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-primary-light);
  margin-bottom: 0.75rem;
}

.project-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: var(--section-padding);
  background: var(--clr-bg-light);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.testimonial-stars i {
  color: #fbbf24;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
}

.testimonial-author h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

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

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.testimonial-btn:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: var(--clr-white);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-text-dim);
  transition: all 0.3s;
  cursor: pointer;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--grad-primary);
}

/* ============ CTA ============ */
.cta-section {
  padding: var(--section-padding);
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ CONTACT ============ */
.contact {
  padding: var(--section-padding);
  background: var(--clr-bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  border-color: rgba(168, 85, 247, 0.2);
  transform: translateX(4px);
}

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

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  transition: all var(--transition-fast);
}

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

/* Contact Form */
.contact-form {
  padding: 2.5rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option {
  background: var(--clr-surface);
  color: var(--clr-text);
}

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

/* ============ FOOTER ============ */
.footer {
  padding: 4rem 0 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin: 1rem 0;
}

.footer-brand .nav-logo {
  height: 48px;
  margin-right: -20px;  /* gap kam karo */
}

.footer-brand .nav-brand {
  font-size: 1.3rem;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: all var(--transition-fast);
}

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

.footer-newsletter h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--clr-primary);
}

.newsletter-form button {
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  transform: translateX(3px);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--clr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
}

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

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--clr-primary-light); }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--grad-primary);
  border-radius: 50%;
  color: var(--clr-white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.4);
}

/* ============ ANIMATIONS ============ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual {
    height: 360px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

  .tech-diagram {
    max-width: 400px;
    height: 400px;
  }

  .tech-node {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .tech-center {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --container-padding: 1.25rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--clr-bg-light);
    border-left: 1px solid var(--clr-border);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transition: right 0.4s var(--ease-out);
    z-index: 999;
  }

  .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-cta { display: none; }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hero { padding: 6rem 0 3rem; }
  .hero-title { font-size: 2rem; }

  .hero-visual { height: 280px; display: none; }

  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .workflow-step {
    flex-direction: column;
    gap: 1rem;
    padding-left: 2rem;
  }

  .workflow-line { left: 16px; }

  .step-dot {
    width: 48px;
    height: 48px;
  }

  .tech-diagram {
    max-width: 300px;
    height: 300px;
  }

  .tech-node {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .tech-node::after { font-size: 0.6rem; }

  .tech-center {
    width: 60px;
    height: 60px;
  }

  .tech-center-inner i { font-size: 1rem; }
  .tech-center-inner span { font-size: 0.45rem; }

  .cta-content h2 { font-size: 1.8rem; }

  .testimonial-card { padding: 1.5rem; }
  .testimonial-text { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 1rem; }
  .hero-description { font-size: 0.95rem; }
  .hero-stats { gap: 1rem; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; }

  .section-title { font-size: 1.6rem; }

  .service-card { padding: 1.5rem; }

  .stat-item { padding: 1.25rem 0.75rem; }
  .stat-value { font-size: 2rem; }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}
