/* ==========================================================================
   RIFORA INFOTECH — Design System & Styles
   ========================================================================== */

/* ---- CSS Custom Properties ---- */
:root {
  /* Premium Corporate Technology Palette */
  --clr-bg:           #07111F;
  --clr-bg-alt:       #0B172A;
  --clr-bg-card:      #101F35;
  --clr-bg-elevated:  #142640;
  --clr-surface:      rgba(255, 255, 255, 0.04);
  --clr-border:       rgba(148, 163, 184, 0.18);
  --clr-border-hover: rgba(56, 189, 248, 0.35);

  --clr-text:         #F8FAFC;
  --clr-text-secondary: #CBD5E1;
  --clr-text-muted:   #94A3B8;
  --clr-text-subtle:  #64748B;
  --clr-heading:      #F8FAFC;

  /* Primary Electric Blue & Secondary Cyan */
  --clr-primary:      #2563EB;
  --clr-primary-light:#38BDF8;
  --clr-primary-dark: #1D4ED8;
  --clr-accent:       #06B6D4;
  --clr-accent-light: #38BDF8;
  --clr-cyan:         #06B6D4;

  --clr-success:      #22C55E;
  --clr-success-glow: rgba(34, 197, 94, 0.25);
  --clr-warning:      #F59E0B;
  --clr-warning-light:#FBBF24;
  --clr-error:        #EF4444;

  /* Professional Technology Gradients */
  --grad-primary:     linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-button:      linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-text:        linear-gradient(135deg, #38BDF8 0%, #2563EB 50%, #06B6D4 100%);
  --grad-subtle:      linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  --grad-card:        linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(6, 182, 212, 0.02) 100%);
  --grad-glow:        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 80%);

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --fs-xs:        0.75rem;
  --fs-sm:        0.875rem;
  --fs-base:      1rem;
  --fs-md:        1.125rem;
  --fs-lg:        1.25rem;
  --fs-xl:        1.5rem;
  --fs-2xl:       2rem;
  --fs-3xl:       2.5rem;
  --fs-4xl:       3.25rem;
  --fs-5xl:       4rem;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  /* Borders */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 999px;

  /* Subtle Refined Shadows */
  --shadow-sm:  0 2px 6px rgba(3, 7, 18, 0.35);
  --shadow-md:  0 6px 20px rgba(3, 7, 18, 0.45);
  --shadow-lg:  0 12px 32px rgba(3, 7, 18, 0.55);
  --shadow-glow: 0 4px 18px rgba(37, 99, 235, 0.22);
  --shadow-neon-cyan: 0 4px 18px rgba(6, 182, 212, 0.25);
  --shadow-neon-purple: 0 4px 18px rgba(37, 99, 235, 0.25);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   300ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(37, 99, 235, 0.35);
  color: #F8FAFC;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

/* ---- Section ---- */
.section {
  padding: var(--sp-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-3xl);
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-primary-light);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.24);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-lg);
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.2;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  transition: all var(--dur-base) ease;
}

.navbar.scrolled {
  background: rgba(7, 17, 31, 0.96);
  border-bottom-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 4px 20px rgba(3, 7, 18, 0.4);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-md);
  z-index: 1001;
}

.logo-text {
  color: var(--clr-heading);
}

.logo-accent {
  color: var(--clr-primary-light);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-logo:hover .logo-img {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.7);
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-heading);
  background: rgba(56, 189, 248, 0.08);
}

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

.nav-cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
  background: var(--grad-primary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: all var(--dur-base) var(--ease-out);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38), 0 0 15px rgba(6, 182, 212, 0.22);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 28px;
  height: 20px;
  justify-content: space-between;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--dur-base) ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
}

.hamburger::before { top: -8px; }
.hamburger::after  { top: 8px;  }

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---- Mobile Nav ---- */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 17, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-slow) var(--ease-out);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: var(--fs-xl);
    padding: 12px 24px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--fs-base);
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  color: #ffffff;
  background: var(--grad-button);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.38), 0 0 16px rgba(6, 182, 212, 0.22);
}

.btn-secondary {
  color: var(--clr-text-secondary);
  background: var(--clr-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
  background: var(--clr-bg-elevated);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(3, 7, 18, 0.35);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--clr-primary-light);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}

.btn-outline-cyan:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--clr-primary-light);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: var(--fs-sm);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 60px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #0F2344 0%, #07111F 70%);
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 40%, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.65;
}

.hero-glow--1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.12) 50%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: glowFloat 10s ease-in-out infinite;
}

.hero-glow--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation: glowFloat 12s ease-in-out infinite reverse;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--clr-primary);
  opacity: 0.25;
}

.hero-orb--1 {
  width: 10px; height: 10px;
  background: #06B6D4;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
  top: 25%; left: 18%;
  animation: orbFloat 6s ease-in-out infinite;
}

.hero-orb--2 {
  width: 8px; height: 8px;
  background: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  top: 65%; left: 75%;
  animation: orbFloat 8s ease-in-out infinite 2s;
}

.hero-orb--3 {
  width: 12px; height: 12px;
  background: #22C55E;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
  top: 45%; left: 55%;
  animation: orbFloat 7s ease-in-out infinite 4s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, -25px); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.25; }
  50%      { transform: translateY(-25px) scale(1.6); opacity: 0.6; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-primary-light);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-xl);
}

.badge-dot {
  width: 9px;
  height: 9px;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-lg);
}

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

.hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-2xl);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

.hero-trust {
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--clr-border);
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  font-family: var(--font-mono);
}

.trust-sep {
  color: var(--clr-text-subtle);
}

/* ---- Hero Visual / Illustration ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  position: relative;
  width: 420px;
  height: 420px;
}

.tech-canvas {
  position: relative;
  width: 100%;
  height: 100%;
}

.tech-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
}

.tech-ring--outer {
  inset: 0;
  animation: ringRotate 40s linear infinite;
}

.tech-ring--inner {
  inset: 80px;
  border-color: rgba(37, 99, 235, 0.16);
  animation: ringRotate 30s linear infinite reverse;
}

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

.tech-node {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary-light);
  top: 50%;
  left: 50%;
  transform: rotate(var(--angle)) translate(210px) rotate(calc(-1 * var(--angle)));
  margin: -24px;
  box-shadow: 0 4px 16px rgba(3, 7, 18, 0.35);
  animation: nodeCounterRotate 40s linear infinite;
}

.tech-node svg {
  animation: nodeCounterRotate 40s linear infinite reverse;
}

@keyframes nodeCounterRotate {
  from { /* nodes stay upright via inline counter-rotation */ }
}

.tech-node-sm {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--clr-primary-light);
  border-radius: 50%;
  opacity: 0.35;
  top: 50%;
  left: 50%;
  transform: rotate(var(--angle)) translate(130px) rotate(calc(-1 * var(--angle)));
  margin: -5px;
}

.tech-core {
  position: absolute;
  inset: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-core-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.25);
  animation: coreRingPulse 3s ease-in-out infinite;
}

@keyframes coreRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50%      { transform: scale(1.15); opacity: 0.55; }
}

.tech-core-icon {
  width: 80px;
  height: 80px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 25px rgba(37, 99, 235, 0.35);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 31, 53, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-text);
  box-shadow: var(--shadow-md);
  z-index: 2;
  white-space: nowrap;
}

.floating-card svg {
  color: var(--clr-primary-light);
}

.floating-card--1 {
  top: 12%;
  right: -5%;
  animation: floatCard 5s ease-in-out infinite;
}

.floating-card--2 {
  bottom: 15%;
  left: -8%;
  animation: floatCard 6s ease-in-out infinite 1s;
}

.floating-card--3 {
  bottom: 8%;
  right: -2%;
  animation: floatCard 7s ease-in-out infinite 2s;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--clr-primary-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.service-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  opacity: 0;
  transition: opacity var(--dur-base) ease;
}

.service-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(3, 7, 18, 0.5), 0 0 18px rgba(37, 99, 235, 0.16);
}

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

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  color: var(--clr-primary-light);
  position: relative;
  transition: all var(--dur-base) ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.service-title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--sp-sm);
  position: relative;
}

.service-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
  position: relative;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
}

.service-tags span {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--clr-primary-light);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   SOLUTIONS
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.solution-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  transition: all var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.solution-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(3, 7, 18, 0.5), 0 0 18px rgba(6, 182, 212, 0.16);
}

.solution-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-md);
}

.solution-card h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--sp-sm);
}

.solution-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-lg);
}

.solution-cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-primary-light);
  transition: color var(--dur-fast) ease;
}

.solution-cta:hover {
  color: #38BDF8;
}

/* ==========================================================================
   FEATURED REAL-WORLD CLIENT SHOWCASE (CIVIL TAMILAN ACADEMY)
   ========================================================================== */
.client-showcase {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: var(--sp-4xl) 0;
}

.client-showcase-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(37, 99, 235, 0.08) 45%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.client-showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
  color: #34D399 !important;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.client-showcase-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-2xl);
  padding: var(--sp-2xl);
  box-shadow: 0 24px 60px -15px rgba(3, 7, 18, 0.8), 0 0 35px rgba(37, 99, 235, 0.18);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-showcase-card:hover {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 30px 75px -12px rgba(3, 7, 18, 0.9), 0 0 45px rgba(56, 189, 248, 0.25);
  transform: translateY(-3px);
}

/* Header within Card */
.client-showcase-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.client-meta-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.client-meta-pill {
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.client-meta--client {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.client-meta--type {
  background: rgba(148, 163, 184, 0.1);
  color: var(--clr-text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.client-meta--lang {
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.client-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.2;
  margin: 0;
}

.client-subheading {
  font-size: 1rem;
  color: #38BDF8;
  font-weight: 600;
  margin: -4px 0 0 0;
}

.client-overview {
  font-size: 0.95rem;
  color: var(--clr-text-secondary);
  line-height: 1.65;
  max-width: 950px;
  margin: 0;
}

/* Centerpiece Browser Mockup */
.client-browser-frame {
  background: #0B132B;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.client-browser-frame:hover {
  border-color: rgba(56, 189, 248, 0.65);
}

.client-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  min-width: 0;
  box-sizing: border-box;
}

.client-browser-bar .browser-mockup-dots {
  flex-shrink: 0;
}

.client-browser-url-pill {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--clr-text-secondary);
  min-width: 0;
  overflow: hidden;
}

.client-browser-url-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssl-lock {
  color: #34D399;
  flex-shrink: 0;
}

.browser-visit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  transition: all var(--dur-fast) ease;
}

.browser-visit-chip:hover {
  background: rgba(37, 99, 235, 0.45);
  color: #fff;
  border-color: #38BDF8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.client-browser-screen {
  position: relative;
  overflow: hidden;
  background: #020617;
  width: 100%;
}

.client-browser-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-browser-frame:hover .client-browser-img {
  transform: scale(1.015);
}

.client-browser-glow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(7, 17, 31, 0.7) 100%);
  pointer-events: none;
}

.client-floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: var(--font-mono);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  z-index: 2;
  transition: transform 0.25s ease;
  max-width: 80%;
  box-sizing: border-box;
}

.badge--status {
  top: 14px;
  right: 14px;
  background: rgba(6, 78, 59, 0.9);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6EE7B7;
}

.badge--niche {
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #F8FAFC;
}

.client-visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.85);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  box-sizing: border-box;
}

.client-verified-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--clr-text-secondary);
}

.client-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: #34D399;
  font-family: var(--font-mono);
  font-weight: 600;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
}

/* 4 Feature Highlights Grid (Desktop: 4 columns, Tablet: 2, Mobile: 1) */
.client-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.client-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: all var(--dur-fast) ease;
}

.client-highlight-card:hover {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.highlight-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 3px;
}

.highlight-text p {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Bottom Bar: Tags + Action Buttons */
.client-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  width: 100%;
  box-sizing: border-box;
}

.client-tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag--perf {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.client-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
}

.btn-outline:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38BDF8;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .client-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-heading {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .client-showcase-card {
    padding: var(--sp-lg);
    gap: var(--sp-lg);
  }

  .client-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-action-buttons {
    width: 100%;
  }

  .client-action-buttons .btn {
    flex: 1;
    min-width: 160px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .client-showcase-card {
    padding: var(--sp-md);
    border-radius: var(--radius-lg);
  }

  .client-heading {
    font-size: 1.45rem;
  }

  .client-subheading {
    font-size: 0.88rem;
  }

  .client-overview {
    font-size: 0.85rem;
  }

  .client-meta-pill-group {
    gap: 6px;
  }

  .client-meta-pill {
    font-size: 0.72rem;
    padding: 4px 10px;
    white-space: normal;
  }

  .client-highlights-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .client-browser-bar {
    padding: 8px 12px;
    gap: 8px;
  }

  .client-browser-url-pill {
    padding: 4px 10px;
    font-size: 0.72rem;
  }

  .client-floating-badge {
    padding: 4px 10px;
    font-size: 0.68rem;
  }

  .badge--status {
    top: 8px;
    right: 8px;
    max-width: calc(100% - 16px);
  }

  .badge--niche {
    bottom: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
  }

  .client-action-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .client-action-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .browser-visit-chip {
    display: none;
  }

  .client-visual-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   PROJECTS (FUTURISTIC DEMO PORTFOLIO)
   ========================================================================== */
.projects {
  background: var(--clr-bg-alt);
  position: relative;
  overflow: hidden;
}

.projects-ambient-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 75%);
  filter: blur(100px);
  pointer-events: none;
}

/* Category Filter Tabs */
.project-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-2xl);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.filter-btn {
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-secondary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 16px rgba(3, 7, 18, 0.4), 0 0 16px rgba(37, 99, 235, 0.2);
}

.filter-btn.active {
  color: #ffffff;
  background: var(--grad-primary);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4), 0 0 16px rgba(56, 189, 248, 0.3);
}

.filter-btn span {
  position: relative;
  z-index: 2;
  display: inline-block;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  position: relative;
  z-index: 2;
}

.project-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(3, 7, 18, 0.6), 0 0 20px rgba(37, 99, 235, 0.18);
}

.project-card.filter-hide {
  display: none !important;
}

/* Image Presentation (100% Display Guarantee) */
.project-image-wrapper {
  height: 250px;
  position: relative;
  overflow: hidden;
  background: var(--clr-bg-alt);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.browser-mockup-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  z-index: 4;
}

.browser-mockup-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.browser-mockup-url {
  margin-left: 8px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--clr-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  letter-spacing: 0.02em;
}

.browser-mockup-header ~ .project-badge-top {
  top: 36px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.1) 0%, rgba(7, 17, 31, 0.85) 100%);
  pointer-events: none;
}

.project-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.project-category-badge {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge--ai {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #E0F2FE;
}

.badge--web {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #CFFAFE;
}

.badge--education {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FEF3C7;
}

.badge--analytics {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #DCFCE7;
}

.badge--hotel {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FEF3C7;
}

.badge--ecommerce {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #DBEAFE;
}

.badge--cloud {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #CFFAFE;
}

.project-status-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(11, 23, 42, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(1.4); }
}

.project-kpi-chip {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  background: rgba(11, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.project-body {
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 8px;
  line-height: 1.35;
  transition: color var(--dur-fast) ease;
}

.project-card:hover .project-title {
  color: #38BDF8;
}

.project-desc {
  font-size: 0.875rem;
  color: var(--clr-text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.tag-pill {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: var(--radius-full);
}

.tag--ai {
  color: #38BDF8;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.tag--backend {
  color: #38BDF8;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.tag--db {
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.tag--ui {
  color: #67E8F9;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.tag--analytics {
  color: #4ADE80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.tag--web {
  color: #38BDF8;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.tag--finance {
  color: #FCD34D;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.tag--cloud {
  color: #38BDF8;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.tag--react {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.tag--lang {
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.tag--edu {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.project-credit-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}

.project-credit-line svg {
  color: #38BDF8;
  flex-shrink: 0;
}

.project-actions {
  display: flex;
  align-items: center;
  margin-top: auto;
}

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

.project-actions-group {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.project-actions-group .btn {
  flex: 1;
  justify-content: center;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.btn-secondary {
  background: var(--clr-bg-elevated);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38BDF8;
}

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

@media (max-width: 768px) {
  .project-card:hover .project-img {
    transform: none !important;
  }
  .project-actions-group {
    flex-direction: column;
  }
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.why-card {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.why-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: var(--clr-bg-elevated);
  box-shadow: 0 14px 30px -6px rgba(3, 7, 18, 0.6), 0 0 20px rgba(37, 99, 235, 0.18);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: var(--sp-md);
}

.why-card h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--sp-sm);
}

.why-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  background: var(--clr-bg-alt);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* Legacy timeline track removed in favor of dynamic .process-track-glow */
.process-timeline::before {
  display: none;
}

.process-step {
  display: flex;
  gap: var(--sp-xl);
  padding: var(--sp-xl) 0;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-primary-light);
  font-family: var(--font-mono);
  background: var(--clr-bg-card);
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(3, 7, 18, 0.35);
  position: relative;
  z-index: 1;
}

.step-content {
  padding-top: var(--sp-md);
}

.step-content h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--sp-xs);
}

.step-content p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  text-align: center;
  transition: all var(--dur-base) var(--ease-out);
}

.team-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(3, 7, 18, 0.5), 0 0 18px rgba(37, 99, 235, 0.16);
}

.team-avatar {
  margin-bottom: var(--sp-lg);
}

.team-avatar img,
.team-avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  margin: 0 auto;
  display: block;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.team-card:hover .team-avatar img,
.team-card:hover .team-avatar-img {
  transform: scale(1.05);
  border-color: rgba(56, 189, 248, 0.65);
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--clr-primary-light);
}

.team-role {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary-light);
  margin-bottom: var(--sp-xs);
  display: block;
}

.team-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--sp-lg);
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.team-skills span {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--clr-text-secondary);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
  background: var(--clr-bg-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pricing-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 36px -8px rgba(3, 7, 18, 0.6), 0 0 24px rgba(37, 99, 235, 0.22);
}

.pricing-card--featured {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);
  box-shadow: 0 8px 24px rgba(3, 7, 18, 0.4), 0 0 20px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  background: var(--grad-primary);
  padding: 5px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4), 0 0 14px rgba(56, 189, 248, 0.3);
  white-space: nowrap;
  z-index: 10;
}

.pricing-header {
  margin-bottom: var(--sp-xl);
}

.pricing-header h3 {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-heading);
  margin-bottom: var(--sp-xs);
}

.pricing-for {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.pricing-features {
  flex: 1;
  margin-bottom: var(--sp-xl);
}

.pricing-features li {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--clr-success);
  font-weight: 700;
  font-size: var(--fs-xs);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  background: var(--clr-bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0 var(--sp-xl);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--clr-bg-elevated);
  box-shadow: 0 8px 24px rgba(3, 7, 18, 0.4), 0 0 16px rgba(37, 99, 235, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg) 0;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--clr-heading);
  text-align: left;
  transition: color var(--dur-fast) ease;
  position: relative;
  z-index: 2;
}

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

.faq-chevron {
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  color: var(--clr-text-subtle);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--clr-primary-light);
}

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

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

.faq-answer p {
  padding-bottom: var(--sp-lg);
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

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

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp-3xl);
  align-items: start;
  width: 100%;
}

.contact-form {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
}

.contact-form:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 42px -10px rgba(3, 7, 18, 0.7), 0 0 28px rgba(37, 99, 235, 0.25);
  transform: translateY(-4px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-md);
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-heading);
  margin-bottom: 6px;
}

.required {
  color: var(--clr-error);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--clr-heading);
  background: var(--clr-bg-alt);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all var(--dur-fast) ease;
  outline: none;
}

.form-group select option {
  background: #0B172A;
  color: #F8FAFC;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 0 12px rgba(6, 182, 212, 0.18);
}

.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='%2338bdf8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

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

.form-error {
  font-size: var(--fs-xs);
  color: var(--clr-error);
  margin-top: 4px;
  min-height: 16px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--clr-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-success {
  display: none;
  padding: var(--sp-lg);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: var(--radius-md);
  margin-top: var(--sp-md);
  color: var(--clr-success);
}

.form-success.show {
  display: block;
}

.form-success-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-success-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-success-header svg {
  flex-shrink: 0;
}

.form-success p {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--clr-heading);
}

.btn-whatsapp-followup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #22C55E;
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: all var(--dur-fast) ease;
  width: fit-content;
}

.btn-whatsapp-followup:hover {
  background: #16A34A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

/* Contact Info */
.contact-info h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--sp-sm);
}

.contact-info > p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  margin-bottom: var(--sp-2xl);
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  max-width: 380px;
  width: 100%;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 12px 18px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  max-width: 380px;
  width: 100%;
  transform-style: preserve-3d;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-channel:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: var(--clr-bg-elevated);
  box-shadow: 0 10px 24px rgba(3, 7, 18, 0.5), 0 0 16px rgba(37, 99, 235, 0.2);
}

.channel-icon {
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary-light);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.contact-channel:hover .channel-icon {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38BDF8;
}

.channel-info {
  position: relative;
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-channel strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-heading);
}

.contact-channel span {
  font-size: var(--fs-xs);
  color: var(--clr-text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #050B14;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-3xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-top: var(--sp-md);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2xl);
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col li {
  margin-bottom: var(--sp-sm);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  transition: color var(--dur-fast) ease;
}

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

.footer-bottom {
  padding-top: var(--sp-xl);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--clr-bg-elevated);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-secondary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur-base) var(--ease-out);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}

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

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .trust-items {
    justify-content: center;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: var(--sp-xl);
  }

  .hero-3d-wrapper {
    max-width: 480px;
    height: 420px;
  }

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

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

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --sp-4xl: 4rem;
  }

  .container {
    padding: 0 var(--sp-md);
  }

  .services-grid,
  .solutions-grid,
  .why-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-title {
    font-size: var(--fs-2xl);
  }

  .hero-badge {
    font-size: var(--fs-xs);
  }

  .section-title {
    font-size: var(--fs-2xl);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-xl);
  }

  .process-timeline::before {
    display: none;
  }

  .process-track-glow {
    left: 24px;
    top: 36px;
    bottom: 48px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: var(--fs-base);
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-visual {
    display: flex;
    margin-top: var(--sp-lg);
    width: 100%;
  }

  .hero-3d-wrapper {
    max-width: 100%;
    height: 380px;
  }

  .hero-node-chip {
    padding: 6px 12px;
    font-size: 0.72rem;
    gap: 6px;
  }

  .chip--fullstack  { top: 8%; right: 2%; }
  .chip--aiml       { top: 28%; left: 2%; }
  .chip--data       { bottom: 22%; right: 2%; }
  .chip--cloud      { bottom: 6%; left: 4%; }
  .chip--automation { top: 68%; right: 10%; }
}

@media (max-width: 480px) {
  :root {
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
    --sp-4xl: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: 0 var(--sp-md);
  }

  .hero-visual {
    margin-top: var(--sp-md);
  }

  .hero-3d-wrapper {
    height: 340px;
  }

  .hero-node-chip {
    padding: 5px 10px;
    font-size: 0.68rem;
    gap: 5px;
  }

  .chip--fullstack  { top: 6%; right: 1%; }
  .chip--aiml       { top: 26%; left: 1%; }
  .chip--data       { bottom: 20%; right: 1%; }
  .chip--cloud      { bottom: 4%; left: 2%; }
  .chip--automation { top: 68%; right: 6%; }
}

/* ==========================================================================
   FUTURISTIC 3D & MOTION ENHANCEMENTS
   ========================================================================== */

/* ---- Custom Desktop Cursor (Fine Pointers Only) ---- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #38BDF8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #38BDF8, 0 0 20px #06B6D4;
  opacity: 0;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              opacity 0.25s ease;
}

.cursor-ring.active {
  width: 52px;
  height: 52px;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.cursor-ring.hover-card {
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(56, 189, 248, 0.6);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ---- Ambient Particle Constellation Canvas ---- */
.bg-particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* ---- Sliding Navigation Active Indicator ---- */
.nav-links {
  position: relative;
}

.nav-indicator {
  position: absolute;
  bottom: 0px;
  height: 2px;
  background: linear-gradient(90deg, #38BDF8, #2563EB);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 0 20px rgba(37, 99, 235, 0.5);
  transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
  pointer-events: none;
  opacity: 0;
}

.nav-indicator.visible {
  opacity: 1;
}

/* ---- Magnetic CTA Buttons & Shimmer ---- */
.magnetic-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background 0.25s ease;
  will-change: transform;
}

.magnetic-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
}

.magnetic-btn:hover::after {
  animation: btnSweep 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 1;
}

@keyframes btnSweep {
  0%   { left: -80%; }
  100% { left: 160%; }
}

.btn:active,
.magnetic-btn:active {
  transform: scale(0.97) !important;
}

/* ---- Hero 3D Scene & Holographic Chips ---- */
.hero-3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
  margin: 0 auto;
  perspective: 1200px;
  touch-action: pan-y;
}

.hero-3d-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
}

.hero-3d-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
  touch-action: pan-y;
}

.hero-3d-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.hero-node-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 21, 40, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: var(--font-mono);
  color: #F8FAFC;
  box-shadow: 0 8px 24px rgba(3, 7, 18, 0.55), 0 0 16px rgba(56, 189, 248, 0.12);
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  animation: chipFloat 5s ease-in-out infinite;
  will-change: transform;
}

.hero-node-chip:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 28px rgba(3, 7, 18, 0.75), 0 0 22px rgba(56, 189, 248, 0.35);
  transform: scale(1.05) translateZ(10px);
}

.hero-node-chip svg {
  color: var(--clr-primary-light);
  flex-shrink: 0;
}

.chip-glow {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 8px #22D3EE;
  flex-shrink: 0;
}

.chip--fullstack  { top: 12%; right: -2%; animation-delay: 0s; }
.chip--aiml       { top: 32%; left: -6%; animation-delay: 1.2s; }
.chip--data       { bottom: 25%; right: -4%; animation-delay: 2.4s; }
.chip--cloud      { bottom: 8%; left: 6%; animation-delay: 3.6s; }
.chip--automation { top: 68%; right: 14%; animation-delay: 1.8s; }

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

/* Modern Scroll Mouse Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--clr-text-muted);
  transition: color 0.2s ease;
}

.scroll-link:hover {
  color: var(--clr-primary-light);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scroll-link:hover .scroll-mouse {
  border-color: #38BDF8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: #38BDF8;
  border-radius: 2px;
  animation: mouseWheelMove 1.6s infinite;
}

@keyframes mouseWheelMove {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---- Card 3D Tilt & Cursor Spotlight System ---- */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(56, 189, 248, 0.12),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-tilt]:hover .card-spotlight {
  opacity: 1;
}

[data-tilt] .service-icon,
[data-tilt] .iso-3d-icon-wrap,
[data-tilt] .project-kpi-chip,
[data-tilt] .step-number,
[data-tilt] .channel-icon,
[data-tilt] .why-icon {
  transform: translateZ(24px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt] .pricing-badge {
  transform: translateX(-50%) translateZ(28px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt] .channel-info,
[data-tilt] .pricing-header,
[data-tilt] .pricing-features,
[data-tilt] .filter-btn span,
[data-tilt] .faq-question span {
  transform: translateZ(16px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt] .about-synergy-badge,
[data-tilt] .contact-3d-badge {
  transform: translateZ(24px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt] .about-3d-canvas,
[data-tilt] .contact-3d-canvas {
  transform: translateZ(14px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt].contact-form .form-group {
  transform: translateZ(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-tilt].contact-form .btn-primary {
  transform: translateZ(24px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Isometric 3D Solution Visuals ---- */
.iso-3d-icon-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.16) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 75%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 4px 14px rgba(3, 7, 18, 0.35);
  transition: transform 0.3s var(--ease-out),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.solution-card:hover .iso-3d-icon-wrap {
  transform: translateZ(28px) scale(1.08);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.iso-3d-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(6, 182, 212, 0.25));
}

/* ---- Projects Showcase Parallax ---- */
.project-card {
  perspective: 1000px;
}

.project-card:hover .project-img {
  transform: scale(1.06) translate3d(calc(var(--tilt-x, 0) * -8px), calc(var(--tilt-y, 0) * -8px), 0);
}

.project-card:hover .project-kpi-chip {
  transform: translateZ(28px);
}

/* ---- Connected Interactive Process Timeline ---- */
.process-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 0;
}

.process-track-glow {
  position: absolute;
  left: 40px;
  transform: translateX(-50%);
  top: 70px;
  bottom: 70px;
  width: 2px;
  background: rgba(56, 189, 248, 0.15);
  border-radius: 2px;
  z-index: 0;
}

.process-track-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--process-progress, 25%);
  background: linear-gradient(180deg, #38BDF8 0%, #2563EB 100%);
  box-shadow: 0 0 12px #38BDF8, 0 0 24px rgba(37, 99, 235, 0.5);
  border-radius: 2px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-marker {
  position: relative;
  flex-shrink: 0;
}

.step-radar {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  pointer-events: none;
}

.process-step.active .step-radar {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}

.process-step.active .step-number {
  border-color: #38BDF8;
  color: #38BDF8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.step-phase-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--clr-primary-light);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- About Section Synergy Visual ---- */
.about-synergy-wrap {
  max-width: 820px;
  margin: 0 auto var(--sp-3xl);
}

.about-synergy-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  overflow: visible;
  box-shadow: var(--shadow-md);
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
}

.about-synergy-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 42px -10px rgba(3, 7, 18, 0.7), 0 0 28px rgba(37, 99, 235, 0.25);
  transform: translateY(-4px);
}

.about-3d-canvas {
  width: 100% !important;
  max-width: 100% !important;
  height: 220px;
  display: block;
}

.about-synergy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--clr-primary-light);
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  margin-top: 12px;
}

/* ---- Contact 3D Visual & Feedback ---- */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.contact-3d-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  overflow: visible;
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
}

.contact-3d-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 42px -10px rgba(3, 7, 18, 0.7), 0 0 28px rgba(37, 99, 235, 0.25);
  transform: translateY(-4px);
}

.contact-3d-canvas {
  width: 100% !important;
  max-width: 100% !important;
  height: 200px;
  display: block;
}

.contact-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  font-weight: 600;
  color: #34D399;
  padding: 4px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #38BDF8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), 0 0 16px rgba(37, 99, 235, 0.25) !important;
}

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

  [data-tilt] {
    transform: none !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  .hero-node-chip {
    animation: none !important;
    transform: none !important;
  }

  .scroll-wheel {
    animation: none !important;
  }
}

/* ---- Print ---- */
@media print {
  .navbar,
  .back-to-top,
  .hero-bg,
  .hero-visual,
  .cursor-dot,
  .cursor-ring,
  .bg-particles-canvas,
  .project-modal {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
}

/* ==========================================================================
   PROJECT DETAILS MODAL
   ========================================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-modal-dialog {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--sp-2xl);
  z-index: 2;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.open .project-modal-dialog {
  transform: scale(1) translateY(0);
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.project-modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #EF4444;
  transform: rotate(90deg);
}

.project-modal-header {
  margin-bottom: var(--sp-lg);
  padding-right: 36px;
}

.project-modal-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.project-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-heading);
  line-height: 1.3;
  margin-bottom: 6px;
}

.project-modal-credit {
  font-size: 0.82rem;
  color: #38BDF8;
  font-weight: 500;
}

.project-modal-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: var(--clr-bg-alt);
  margin-bottom: var(--sp-lg);
}

.project-modal-preview .browser-mockup-header {
  position: relative;
}

.modal-preview-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.project-modal-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.modal-info-block h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  margin-bottom: 6px;
}

.modal-info-block p {
  font-size: 0.92rem;
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

.modal-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding: 0;
  margin: 0;
}

@media (max-width: 600px) {
  .modal-features-list {
    grid-template-columns: 1fr;
  }
}

.modal-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--clr-text);
}

.check-icon {
  color: #34D399;
  font-weight: 700;
  font-size: 0.95rem;
}

.project-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.project-modal-footer .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

