/* ================================================
   LENIS SMOOTH SCROLL REQUIRED CSS
   ================================================ */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow-y: auto; /* was 'hidden' — that locked scroll on html element during page transitions */
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ================================================
   CodeVibeX – Minsky-Inspired Design System
   Fonts: Outfit (headings) + Space Grotesk (body)
   Palette: #0A0A0A bg, #0057FF primary accent
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Background Layers */
  --bg:           #0A0A0A;
  --bg-card:      #101010;
  --bg-card-hover:#181818;
  --bg-nav:       rgba(10, 10, 10, 0.88);

  /* Blue Palette – #0057FF */
  --accent:       #0057FF;
  --accent-light: #3375FF;
  --accent-dim:   rgba(0, 87, 255, 0.14);
  --accent-glow:  rgba(0, 87, 255, 0.32);

  /* Text Hierarchy – pure neutral greys, no violet bias */
  --text-primary:   #FFFFFF;
  --text-secondary: #909094;
  --text-muted:     #555558;
  --text-dim:       #2E2E30;

  /* Borders */
  --border:         rgba(0, 87, 255, 0.14);
  --border-hover:   rgba(0, 87, 255, 0.5);
  --border-card:    rgba(255, 255, 255, 0.06);

  /* Grid Lines */
  --grid-line:      rgba(0, 87, 255, 0.05);

  /* Layout */
  --container: 1280px;
  --nav-height: 72px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* NO overflow-x here — individual sections scope their own overflow */
}

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text-secondary);
  line-height: 1.6;
  /* NO overflow-x here — .hero, .marquee-section etc. already have overflow:hidden */
  cursor: default;
}

/* ---- Grid Background Texture ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.5vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 1rem + 2.5vw, 3.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}

/* ---- Slash Prefix ---- */
.slash {
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  display: block;
}

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ================================================
   NAVIGATION
   ================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-card);
  transition: background 0.3s var(--ease);
  /* GPU-promote header so backdrop-filter doesn't repaint main layers */
  transform: translateZ(0);
  will-change: transform;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 2;
}

/* Make the anchor a flex container so the img is truly vertically centred */
.logo a {
  display: flex;
  align-items: center;
  line-height: 0; /* removes phantom whitespace gap below inline img */
}

.logo img {
  height: 36px;
  width: auto;
  display: block; /* eliminates baseline descender gap */
  filter: brightness(0) invert(1);
}

/* Mobile-only nav elements: always hidden on desktop */
.nav-sidebar-header { display: none; }
.nav-mobile-cta     { display: none; }
.nav-backdrop       { display: none; }
.nav-hamburger      { display: none; }


.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
}

.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0.35rem 1rem;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
  position: relative;
}

.nav-link + .nav-link::before {
  content: '|';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--border-card);
  font-size: 0.75rem;
  pointer-events: none;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 87, 255, 0.15);
  font-weight: 500;
}

.header-actions .btn-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--accent);
  border: 1px solid var(--accent-light);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-actions .btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: calc(var(--nav-height) + 1rem);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  padding: 2.5rem 0 3rem;
}

.hero-kicker {
  display: inline-flex;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.7s var(--ease) 0.2s forwards;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-heading {
  opacity: 0;
  animation: fadeInUp 0.55s var(--ease) 0.1s forwards;
  margin-bottom: -0.5rem;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-heading-line2 {
  opacity: 0;
  animation: fadeInUp 0.55s var(--ease) 0.2s forwards;
  margin-bottom: 2.5rem;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Typewriter container */
.typewriter-wrap {
  display: inline;
}

.typewriter-static {
  color: var(--text-primary);
}

.typewriter-text {
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  min-width: 3ch;
  white-space: nowrap;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--accent-light);
  box-shadow: 0 0 10px rgba(78, 168, 222, 0.8);
  margin-left: 4px;
  vertical-align: -0.08em;
  position: relative;
  border-radius: 1px;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease) 0.3s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease) 0.4s forwards;
}

/* Hero tool icons row */
.hero-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-card);
}

.hero-icon-item {
  display: flex;
  text-decoration: none;
  color: inherit;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.hero-icon-item:hover {
  color: var(--accent-light);
}

.hero-icon-item svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-icon-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
}

/* Accent blob */
.hero-blob {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 87, 255,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ================================================
   MARQUEE / SCROLLING KEYWORDS
   ================================================ */
.marquee-section {
  padding: 2.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  position: relative;
  z-index: 1;
}

.marquee-row {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.marquee-row:last-child {
  margin-bottom: 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marqueeLeft 30s linear infinite;
  flex-shrink: 0;
  /* GPU layer for smooth infinite scroll */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.marquee-row.reverse .marquee-track {
  animation: marqueeRight 35s linear infinite;
}

.marquee-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.marquee-track span.accent-word {
  color: var(--accent);
}

@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

  /* ================================================
     BUTTONS
     ================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.8rem 1.75rem;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    /* GPU promote buttons */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
  }
  
  .btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  
  .btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--accent-glow);
    color: #fff;
  }
  
  .btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-card);
  }
  
  .btn-outline:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
  }

  /* Arrow button variant */
  .btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s var(--ease);
    cursor: pointer;
  }
  
  .btn-arrow:hover {
    color: var(--text-primary);
    gap: 0.75rem;
  }
  
  .btn-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--ease);
  }
  
  .btn-arrow:hover svg {
    transform: translate(2px, -2px);
  }
  
  /* ================================================
     SERVICE / FEATURE CARDS
     ================================================ */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
  }
  
  .service-card {
  display: block;
  text-decoration: none;
  color: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    /* GPU-promote cards */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
  }
  
  .service-card:hover {
    border-color: var(--accent);
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 87, 255, 0.05);
  }
  
  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
  }
  
  .card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 87, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
  }
  
  .card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    fill: none;
    stroke: currentColor;
  }
  
  .card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
  }
  
  .card-arrow svg {
    width: 16px;
    height: 16px;
  }
  
  .service-card:hover .card-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: rotate(45deg);
  }
  
  .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
  }
  
  .card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
  }
  
  .card-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* ================================================
     GRID LAYOUTS
     ================================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }
  /* ================================================
     PROCESS GRID
     ================================================ */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
  }
  
  .process-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    transition: all 0.3s var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }
  
  .process-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  }
  
  .process-card:hover::before {
    opacity: 1;
  }
  
  .process-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    pointer-events: none;
    transition: color 0.3s var(--ease);
  }
  
  .process-card:hover .process-number {
    color: rgba(0, 87, 255, 0.2);
  }
  
  .process-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }
  
  .process-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
  }

  /* ================================================
     CONTACT ITEMS & FORM
     ================================================ */
  .contact-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-card);
    transition: all 0.25s var(--ease);
  }
  
  .contact-link-item:hover .cl-label {
    color: var(--accent-light);
  }
  
  .cl-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 8px;
    color: var(--accent-light);
    flex-shrink: 0;
  }
  
  .cl-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
  }
  
  .cl-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.2s var(--ease);
  }
  
  .cl-value {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
  }
  
  /* Contact form container card */
  .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .form-group {
    position: relative;
    margin-bottom: 2rem;
  }
  
  .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
  }
  .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.25s var(--ease);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }
  
  .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }
  
  .form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.15);
  }
  
  .form-control option {
    background: var(--bg-card);
    color: var(--text-primary);
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  textarea.form-control {
    resize: none;
    min-height: 120px;
  }

.form-submit {
  margin-top: 1rem;
}

.form-submit .btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

/* ================================================
   SUBPAGE HERO (services, portfolio, about, contact)
   ================================================ */
.subpage-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -100px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse 50% 50% at 70% 30%, rgba(0, 87, 255, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.subpage-hero .container {
  position: relative;
  z-index: 1;
}

.subpage-hero h1 {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.subpage-hero p {
  font-size: 1.05rem;
  max-width: 680px;
  line-height: 1.75;
}

/* Contact page specific */
.contact-section {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 87, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ================================================
   SECTION HEAD (title + view-all row)
   ================================================ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

/* ================================================
   CTA SECTION (Let's Build Together)
   ================================================ */
.cta-section {
  border-top: 1px solid var(--border-card);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 87, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-content > p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

.cta-features-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cta-feature svg {
  color: var(--accent-light);
  flex-shrink: 0;
}

.cta-form-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2.5rem;
}

/* ================================================
   HEADER LOGO STYLING (hover + mobile sidebar)
   ================================================ */
.logo img:hover {
  transform: scale(1.03);
}

.nav-logo img {
  height: 44px;
  width: auto;
  border-radius: 8px;
}

/* ================================================
   COMPLETELY REDESIGNED LUXURY TECH FOOTER
   ================================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(78, 168, 222, 0.7) 50%, transparent 100%);
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

/* 4-Column Main Grid */
.footer-grid-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand-logo img {
  height: 54px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease);
}

.footer-brand-logo:hover img {
  transform: scale(1.04);
}

.footer-brand-tagline {
  color: #94a3b8;
  line-height: 1.65;
  font-size: 0.92rem;
  margin: 0;
  max-width: 330px;
}

.footer-social-pills {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.footer-social-pills a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transition: all 0.25s var(--ease);
}

.footer-social-pills a:hover {
  background: rgba(78, 168, 222, 0.15);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(78, 168, 222, 0.25);
}

.footer-social-pills svg {
  width: 18px;
  height: 18px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-light);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s var(--ease);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-links a::before {
  content: '›';
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s var(--ease);
  color: var(--accent-light);
  font-weight: bold;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Column Specifics */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 0.35rem 0;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s var(--ease);
}

.footer-contact-card:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-card svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
  flex-shrink: 0;
}

/* Bottom Bar */
.footer-bottom-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  font-size: 0.86rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal-nav {
  display: flex;
  gap: 1.75rem;
}

.footer-legal-nav a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal-nav a:hover {
  color: var(--accent-light);
}


/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .terminal-window { transform: none; }
}



button.nav-hamburger,
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  cursor: pointer;
  z-index: 99;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  transition: all 0.25s var(--ease);
}

button.nav-hamburger:hover,
.nav-hamburger:hover {
  background: rgba(0, 87, 255, 0.18) !important;
  border-color: rgba(0, 87, 255, 0.35) !important;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff !important;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  pointer-events: none;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  button.nav-hamburger,
  .nav-hamburger { display: flex !important; }
  .header-actions { display: none; }   /* hide "Get Started" on mobile */
  .nav-container { padding: 0 1rem; }
  .container { padding: 0 1.25rem; }

  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }

  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + 2.5rem);
  }
  .hero-inner   { padding: 0 0 2.5rem; }
  .hero-heading { font-size: clamp(2.25rem, 9vw, 3rem); margin-bottom: 0.25rem; line-height: 1.1; }
  .hero-heading-line2 { margin-bottom: 1rem; min-height: auto; }
  .hero-kicker  { margin-bottom: 1.25rem; font-size: 0.72rem; }
  .hero-desc    { font-size: 0.95rem; margin-bottom: 2rem; }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
  .hero-icons-row { gap: 1.5rem 1rem; margin-top: 2.5rem; padding-top: 1.75rem; flex-wrap: wrap; justify-content: center; }
  .hero-icon-item { flex: 0 0 28%; text-align: center; }
  .hero-icons-row::-webkit-scrollbar { display: none; }
  .hero-icon-label { font-size: 0.65rem; }

  /* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ Sections ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ */
  .section { padding: 3rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .subpage-hero { padding-top: calc(var(--nav-height) + 2rem); padding-bottom: 2rem; }
  .subpage-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .subpage-hero p  { font-size: 0.95rem; }

  /* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ Cards / Grid ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ */
  .cards-grid   { grid-template-columns: 1fr; }
  .pillar-item  { grid-template-columns: 1fr; gap: 0.5rem; }
  .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-form-container { padding: 1.75rem; }
  .contact-form-wrapper { padding: 1.75rem 1.25rem; border-radius: 12px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-section { padding-top: calc(var(--nav-height) + 1.5rem); }

  .portfolio-grid { grid-template-columns: 1fr; }

  .footer-hero-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .footer-grid-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-bottom-tier { 
    flex-direction: column; 
    gap: 1.25rem; 
    text-align: center; 
    align-items: center; 
  }
  .footer-legal-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  @media (max-width: 600px) {
    .footer-grid-container {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
  }

  /* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ Container ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ */
  .container { padding: 0 1.25rem; }
}

/* Mobile Navigation Drawer Base */

  /* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ Mobile nav overlay ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ */
    /* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ Mobile nav overlay ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ */
  /* Mobile nav overlay */
  /* Mobile nav overlay */
/* Mobile Navigation Drawer (max-width: 768px ONLY) */
.nav-sidebar-header,
.nav-mobile-cta,
.nav-backdrop {
  display: none;
}

@media (max-width: 768px) {
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }

  .nav-backdrop.open {
    display: block;
    opacity: 1;
  }

  .nav-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .nav-sidebar-header .nav-logo img {
    height: 36px;
    width: auto;
    border-radius: 8px;
  }

  .nav-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-close:hover {
    background: rgba(0, 87, 255, 0.2);
    border-color: rgba(0, 87, 255, 0.4);
    color: #ffffff;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: #09090e;
    padding: 1.75rem 1.5rem;
    gap: 0.5rem;
    z-index: 999;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    /* Use transform instead of 'right' — compositor-only, zero jank */
    transform: translateX(110%);
    transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 0;
    align-items: stretch;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    display: flex;
  }

  .nav-links.open {
    display: flex;
    transform: translateX(0);
  }

  .nav-links .nav-link {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    width: 100%;
    background: transparent;
    color: #909094;
    position: relative;
    z-index: 1;
    transition: all 0.22s var(--ease);
    letter-spacing: 0.01em;
  }

  .nav-links .nav-link:hover {
    color: #ffffff;
    background: rgba(0, 87, 255, 0.08);
    padding-left: 1.25rem;
  }

  .nav-links .nav-link.active {
    color: #ffffff;
    background: rgba(0, 87, 255, 0.15);
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    font-weight: 600;
  }

  .nav-links .nav-link + .nav-link::before {
    display: none;
  }

  .nav-mobile-cta {
    display: flex;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .nav-mobile-cta .btn-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 600;
  }
}

@media (min-width: 769px) {
  .nav-sidebar-header,
  .nav-mobile-cta,
  .nav-backdrop {
    display: none !important;
  }
}


/* ================================================
   CARD FEATURES LIST
   ================================================ */
.card-features {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.service-card:hover .card-features li {
  color: var(--text-secondary);
}

/* ================================================
   SERVICE DETAIL SECTIONS (services.html)
   ================================================ */
.service-detail-section {
  scroll-margin-top: calc(var(--nav-height) + 2rem);
  border-top: 1px solid var(--border-card);
}

.service-detail-section--alt {
  background: rgba(0, 87, 255, 0.02);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.service-detail-grid--reverse {
  direction: rtl;
}

.service-detail-grid--reverse > * {
  direction: ltr;
}

/* Large decorative number — bottom-LEFT inside the info card */
.service-detail-number {
  font-family: 'Outfit', sans-serif;
  font-size: 16rem;           /* large — matches the original right-side impact */
  font-weight: 700;
  color: var(--accent);
  opacity: 0.10;
  line-height: 1;
  letter-spacing: -0.06em;
  position: absolute;
  bottom: 1rem;              /* stays inside the card */
  left: 1rem;               /* left side */
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.service-detail-info {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Ensure text content sits above the decorative number */
.service-detail-info > *:not(.service-detail-number) {
  position: relative;
  z-index: 1;
}

.service-detail-info h2 {
  margin: 0.75rem 0 1.25rem;
}

/* Tech / stack tags */
.service-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-light);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 87, 255, 0.2);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Feature list with icon */
.service-detail-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 87, 255, 0.2);
  border-radius: 8px;
  color: var(--accent-light);
  transition: all 0.25s var(--ease);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item:hover .feature-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ================================================
   RESPONSIVE ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â SERVICE DETAIL
   ================================================ */
@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-detail-grid--reverse {
    direction: ltr;
  }
  .service-detail-number { font-size: 9rem; }
  .terminal-float-wrap { animation: none; }
}

@media (max-width: 768px) {
  .service-detail-section {
  scroll-margin-top: calc(var(--nav-height) + 2rem);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  
  }
  .service-detail-grid { gap: 2rem; }
  .service-detail-features { gap: 1.5rem; }
  .feature-icon { width: 36px; height: 36px; min-width: 36px; }
}




















.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Float/pan wrapper — keeps 3D tilt on terminal-window separate */
.terminal-float-wrap {
  width: 100%;
  max-width: 540px;
  animation: terminalFloat 6s ease-in-out infinite;
}

@keyframes terminalFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.terminal-window {
  width: 100%;
  max-width: 540px;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 87, 255, 0.2) inset;
  backdrop-filter: blur(10px);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.terminal-window:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 87, 255, 0.5) inset, 0 0 25px rgba(0, 87, 255, 0.25);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.close { background: #ff5f56; }
.terminal-dot.minimize { background: #ffbd2e; }
.terminal-dot.expand { background: #27c93f; }

.terminal-body {
  padding: 24px;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a9adc1;
  text-align: left;
}

.terminal-line {
  margin-bottom: 10px;
  line-height: 1.6;
  word-break: break-word;
}

.terminal-line .prompt { color: var(--accent-light); font-weight: bold; margin-right: 8px; }
.terminal-line .command { color: #fff; }
.terminal-line .success { color: #27c93f; font-weight: 600; margin-right: 8px; }
.terminal-line .highlight { color: var(--accent-light); font-weight: bold; }

.terminal-line .cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--accent-light);
  box-shadow: 0 0 10px rgba(78, 168, 222, 0.7);
  animation: cursorBlink 1s step-end infinite;
  margin-left: 4px;
  vertical-align: -0.15em;
  border-radius: 1px;
}

.terminal-line.output {
  opacity: 0;
  animation: terminalType 0.1s forwards;
}

.terminal-line.delay-1 { animation-delay: 0.5s; }
.terminal-line.delay-2 { animation-delay: 1.2s; }
.terminal-line.delay-3 { animation-delay: 1.8s; }
.terminal-line.delay-4 { animation-delay: 2.5s; }
.terminal-line.delay-5 { animation-delay: 3.2s; }

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes terminalType {
  to { opacity: 1; }
}

/* ================================================
   MOBILE NAV CTA + LOGO BRANDING
   ================================================ */
.nav-mobile-cta {
  margin-top: auto;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
