@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@900&family=Syne:wght@700;800&display=swap');

/* ==========================================================================
   DELTIV Design System & CSS Stylesheet
   ========================================================================== */


/* Typography & Root Variables */
:root {
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;

  /* Color Palette - Obsidian & Chrome */
  --bg-obsidian: #050507;
  --bg-slate: #0b0b0f;
  --bg-card: rgba(13, 13, 17, 0.7);
  --border-card: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(0, 242, 254, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Glowing / Metallic Accents */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --glow-color: rgba(0, 242, 254, 0.2);
  
  /* Gradients */
  --chrome-gradient: linear-gradient(135deg, #ffffff 0%, #e2e8f0 20%, #ffffff 40%, #cbd5e1 60%, #ffffff 80%, #94a3b8 100%);
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --dark-gradient: linear-gradient(180deg, var(--bg-obsidian) 0%, var(--bg-slate) 100%);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Z-index layers */
  --z-canvas: 0;   /* 0 so backdrop-filter on sections can blur the canvas */
  --z-base: 1;
  --z-nav: 100;
}

/* =========================================

/* Reset & Base Elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

html {
  max-width: 100vw;
  /* scroll-behavior: smooth removed for Lenis compatibility */
  font-size: 16px;
  background-color: transparent;  /* canvas handles the dark bg */
  color: var(--text-primary);
  font-family: var(--font-main);
  /* overflow-x removed for sticky */
}

body {
  max-width: 100%;
  transition: background 0.8s ease, color 0.8s ease;
  position: relative;
  min-height: 100vh;
  /* overflow-x removed for sticky */
  line-height: 1.6;
  background: transparent;  /* canvas handles the dark bg */
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.05); /* Light, subtle track */
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2); /* Soft slate thumb */
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.4); /* Darker on hover */
}

/* Background Canvas â€” always visible; draws the particle logo */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-canvas);
  pointer-events: none;
}

#lightrays-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  pointer-events: none; /* Let clicks pass through if needed */
}
#lightrays-container canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* â”€â”€ Custom Cursor â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Force hide native cursor on ALL interactive elements */
a, button, input, select, textarea, label,
[role="button"], [tabindex], summary,
a *, button * {
  cursor: none !important;
}



#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #000;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-200px, -200px);
  will-change: transform, width, height;
  mix-blend-mode: difference;
  transition:
    width 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    border-color 0.3s ease;
}

/* Moving state */
#cursor-ring.moving {
  width: 20px;
  height: 20px;
}

/* Hovering over a clickable element */
#cursor-ring.hovering {
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: 1.5px solid #0f172a;
}

#cursor-comet-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  filter: invert(100%);
}

/* Foreground Canvas for Custom Cursor */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  filter: invert(100%);
}

/* Hide standard browser cursor globally on non-touch devices */
.custom-cursor-active,
.custom-cursor-active * {
  cursor: none !important;
}

/* Flash Transition Overlay */
#flash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#flash-overlay.flash {
  opacity: 1;
  transition: none;
}

/* â”€â”€ Hologram Scanline Reveal System â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* The glowing scanline bar â€” injected by JS into each scan-section */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 242, 254, 0.15) 8%,
    #00f2fe 28%,
    #ffffff 50%,
    #00f2fe 72%,
    rgba(0, 242, 254, 0.15) 92%,
    transparent 100%
  );
  box-shadow:
    0 0 4px 1px #00f2fe,
    0 0 14px 4px rgba(0, 242, 254, 0.55),
    0 0 35px 10px rgba(0, 242, 254, 0.18);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  
}

.scan-section.scanning .scan-line {
  animation: scanSweep var(--scan-duration, 1.8s) cubic-bezier(0.35, 0, 0.25, 1) forwards;
}

@keyframes scanSweep {
  0%   { opacity: 0;   transform: translateY(0px); }
  4%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { opacity: 0;   transform: translateY(var(--scan-height, 900px)); }
}

/* Section items â€” hidden by default, revealed by scan keyframe */
.scan-item {
  opacity: 0;
  will-change: opacity, transform, filter;
}

.scan-section.scanning .scan-item {
  animation: scanItemAppear 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--scan-delay, 0s);
}

@keyframes scanItemAppear {
  0%   { opacity: 0;    transform: translateY(10px); filter: blur(4px) brightness(0.4); }
  18%  { opacity: 1;    transform: translateY(2px);  filter: blur(0px) brightness(1.7); }
  100% { opacity: 1;    transform: translateY(0px);  filter: blur(0px) brightness(1);   }
}

/* Utility Layouts */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.content-right-pane {
  width: 50%;
  margin-left: auto;
  padding-left: 40px;
}

@media (max-width: 992px) {
  .content-right-pane {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }
}

/* Make sections after Expertise span full width */
.projects-section .content-right-pane,
.tech-section .content-right-pane {
  width: 100%;
  margin-left: 0;
  padding-left: 0;
}


.section-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 650px;
  margin-bottom: 60px;
}

/* Header & Navbar */
/* Header & Navbar */
.navbar {
  position: fixed;
  top: 16px; /* give it some floating space from top */
  left: 0;
  width: 100%;
  height: 60px;
  z-index: var(--z-nav);
  transition: var(--transition-smooth);
  pointer-events: none; /* let clicks pass through empty center */
  mix-blend-mode: difference;
  color: #fff;
}

.navbar.nav-hidden {
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none !important;
}

.nav-container {
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center; /* Center the nav menu */
  align-items: center;
  position: relative; /* For absolute positioning of decor/mobile toggle */
  pointer-events: none; /* pass through */
}

.nav-decor {
  position: absolute;
  top: 40px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #0f172a;
  pointer-events: auto;
  opacity: 1;
}
.nav-decor-left { left: 48px; }
.nav-decor-right { right: 48px; }

.centered-nav {
  justify-content: center;
}

.heartbeat-dots {
  display: flex !important; /* Force display if it was hidden on desktop */
  flex-direction: row !important; /* Row instead of column so dots are horizontal */
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: auto !important; /* override the 24px width */
  animation: heartbeat 1.5s infinite ease-in-out;
  pointer-events: auto; /* clickable */
  background: transparent;
  border: none;
  cursor: pointer;
}

.heartbeat-dots span {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  background-color: #fff !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.3); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}

.logo-link {
  text-decoration: none;
  pointer-events: auto; /* clickable */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 8px 18px; /* Standard pill padding */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.pill-logo:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.header-logo-img {
  height: 24px; /* Perfectly sized logo */
  width: auto;
  display: block;
}

/* Apple-style Glass Pill Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto; /* clickable */
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: max-width 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.6s ease;
  max-width: 54px;
  height: 54px;
  overflow: hidden;
  justify-content: flex-end;
}

.nav-menu:hover {
  max-width: 800px; /* Increased from 600px to fit long links */
  padding: 6px 6px 6px 24px; /* Increased left padding */
  background: #fff;
  border-color: rgba(0,0,0,0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-menu:hover .nav-menu-links {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  transition-delay: 0.1s;
}

.nav-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  background: transparent;
  transition: background 0.3s ease;
}

.nav-menu:hover .nav-dots {
  background: rgba(255, 255, 255, 0.05);
}

.nav-dots span {
  width: 5px;
  height: 5px;
  background: #000;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-menu:hover .nav-dots span {
  background: rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-menu {
  background: #fff;
}

.navbar.scrolled .nav-menu:hover {
  box-shadow: none;
}

.nav-item {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: var(--transition-fast);
}

.nav-item:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.05);
}

.nav-btn {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: #000;
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: none;
  transition: var(--transition-smooth);
  margin-left: 8px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  background: #333;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-logo-large {
  width: 140px;
  height: 140px;
  margin-bottom: 12px;
  animation: logo-float 6s ease-in-out infinite;
}

.hero-logo-large svg {
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

body.js-enabled .hero-logo-large svg {
  opacity: 0;
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-left: 0.15em;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.hero-slogan {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-slogan .word {
  opacity: 0;
  transform: translateY(15px);
  animation: slogan-enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slogan .word.code {
  color: #ffffff;
  animation-delay: 0.2s;
}

.hero-slogan .word.automate {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  animation-delay: 0.5s;
}

.hero-slogan .word.scale {
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 0.8s;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 16px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

/* Button Component */
.btn {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn.primary-btn {
  background: var(--chrome-gradient);
  color: var(--bg-obsidian);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

.btn.primary-btn:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
}

.btn.secondary-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 36px;
  border: 2px solid #0f172a;
  border-radius: 12px;
  position: relative;
  opacity: 0.8;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: #0f172a;
  border-radius: 2px;
  animation: mouse-scroll 1.6s ease-in-out infinite;
}

/* Services Section */
.services-section {
  background: rgba(6, 8, 18, 0.52);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-top: 1px solid rgba(0, 242, 254, 0.06);
  position: relative;
  z-index: 1;
}

.services-grid {
  position: relative;
  width: 100%;
  min-height: 450px;
  margin-top: 40px;
}

.service-card {
  background: rgba(15, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 40px;
  transition: var(--transition-smooth);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none; /* Ignore clicks when hidden */
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.06);
}

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

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
  border-color: transparent;
}

.service-icon {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: 'â†’';
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Projects Section */
.projects-section {
  background: rgba(4, 6, 14, 0.50);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 1;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
}

.project-content {
  padding: 40px;
}

.project-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  min-height: 72px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.project-tech-tags span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Progress bars */
.project-progress-wrapper {
  margin-bottom: 32px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-val {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-mono);
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Milestones */
.project-milestones {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 12px;
}

.project-milestones::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.milestone .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid var(--bg-slate);
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

.milestone.active .dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.milestone .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.milestone.active .label {
  color: var(--text-primary);
  font-weight: 500;
}

/* Tech Stack Section */
.tech-section {
  width: 100%;
  background: transparent; /* Rely on body.dark-mode instead */
  color: #ffffff;
  padding: 150px 0;
  position: relative;
  z-index: 10;
  overflow: hidden; /* For sliding animations */
}

.logo-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  margin-top: 60px;
  padding: 40px 0;
  overflow: hidden;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  white-space: nowrap;
}

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

.logo-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgb(5,5,7), transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgb(5,5,7), transparent);
}

.logo-marquee-content {
  display: flex;
  gap: 60px;
  min-width: 200%;
  align-items: center;
}

.move-right .logo-marquee-content {
  animation: slideRight 35s linear infinite;
}

.move-left .logo-marquee-content {
  animation: slideLeft 30s linear infinite;
}

.move-right-slow .logo-marquee-content {
  animation: slideRight 45s linear infinite;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  transition: var(--transition-smooth);
  cursor: default;
  padding: 0 20px;
}

.logo-item i {
  font-size: 3.5rem;
  transition: var(--transition-smooth);
  filter: grayscale(100%) opacity(0.7);
}

.logo-item:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.logo-item:hover i {
  filter: grayscale(0%) opacity(1) drop-shadow(0 0 15px rgba(0, 242, 254, 0.4));
  transform: scale(1.15);
  color: var(--accent-cyan);
}

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

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

/* Contact Section */
.contact-section {
  background: rgba(4, 6, 14, 0.50);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.c-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group select option {
  background-color: var(--bg-slate);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.submit-btn {
  background: var(--chrome-gradient);
  border: none;
  border-radius: 4px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-obsidian);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.25);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

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

.form-feedback {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 10px;
}

.form-feedback.success {
  color: #10b981;
}

.form-feedback.error {
  color: #ef4444;
}

/* Footer Section */
.footer {
  background: rgba(2, 2, 3, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 80px 24px 30px;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-svg {
  width: 30px;
  height: 30px;
}

.footer-logo-text {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-group h5 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.footer-link-group a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-link-group a:hover {
  color: var(--text-primary);
  padding-left: 2px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes logo-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes slogan-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mouse-scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.3;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

@keyframes ring-expand {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%       { transform: scale(1.06); opacity: 0.15; }
}

@keyframes hint-bob {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 0.9; }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding-top: 60px;
  }

  .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15vh;
  padding: 0 5%;
  width: 100%;
}

  .hero-logo-placeholder {
    max-width: 380px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
    position: relative;
    margin: 0 auto;
  }
  
  .nav-menu .nav-item {
    display: none !important;
  }
  
  .nav-menu .nav-menu-links {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  
  .nav-menu .nav-btn {
    font-size: 1.5rem !important;
    padding: 15px 30px !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #09090c;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    transition: var(--transition-smooth);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
  }
  
  .nav-menu.open {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  }
  
  /* ============================================
     MOBILE HERO SECTION - CLEAN LAYOUT
     Hero content fills one full viewport screen.
     Expertise naturally stacks below as you scroll.
  ============================================ */

  /* Make the outer track a normal flow element */
  .hero-scroll-track {
    height: auto !important;
  }

  /* Viewport: plain block, dark bg */
  .hero-sticky-viewport {
    position: relative !important;
    height: auto !important;
    display: block !important;
    padding-bottom: 0 !important;
    background: #09090c !important;
  }

  /* Hide nav decorators on mobile */
  .nav-decor {
    display: none !important;
  }

  /* The center block: flex column, auto height — shrinks to fit its children */
  .hero-center-block {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    animation: none !important;
    transform: none !important;
    background-color: #09090c !important;
    overflow: visible !important;
  }

  /* Videos hidden on mobile */
  .hero-video-bg, .hero-bg-video-match, .hero-video-overlay {
    display: none !important;
  }
  .hero-center-block.fully-shrunk {
    animation: none !important;
    border: none !important;
  }

  /* Laptop mockups hidden on mobile */
  .hero-laptop {
    display: none !important;
  }

  /* ── HERO CONTENT: fills one full viewport, logo/title/btn centered ── */
  #hero-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    color: #fff !important;
    width: 100% !important;
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 80px 28px 60px !important;
    box-sizing: border-box !important;
    background: #09090c !important;
  }
  .hero-main-title {
    color: #fff !important;
    font-size: 2.6rem !important;
    line-height: 1.1 !important;
  }
  .hero-pre-title {
    color: #94a3b8 !important;
  }
  .hero-head-logo {
    filter: none !important;
  }
  .hero-btn {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    margin-top: 28px !important;
  }
  .hero-btn:hover {
    background: #fff !important;
    color: #09090c !important;
  }

  /* Hide desktop expertise elements completely on mobile */
  .hero-expertise-heading,
  .hero-expertise-carousel {
    display: none !important;
  }

  /* ── NEW SEPARATE MOBILE EXPERTISE SECTION ── */
  .mobile-only-expertise {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #111116 !important;
  }
  .mobile-expertise-heading {
    position: relative !important;
    color: #fff !important;
    width: 100% !important;
    background: #111116 !important;
    padding: 56px 28px 16px !important;
    font-size: 1.8rem !important;
    text-align: center !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .mobile-expertise-carousel {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 0 60px 0 !important;
    background: #111116 !important;
    box-sizing: border-box !important;
  }
  .mobile-expertise-slide {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
    color: #fff !important;
    padding: 40px 28px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    box-sizing: border-box !important;
  }
  .mobile-expertise-title {
    color: #fff !important;
    font-size: 1.4rem !important;
    margin-bottom: 10px !important;
  }
  .mobile-expertise-desc {
    color: #94a3b8 !important;
    margin-bottom: 16px !important;
    font-size: 0.95rem !important;
  }
  .mobile-expertise-list {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }
  .mobile-expertise-list li {
    font-size: 0.82rem !important;
    padding: 6px 16px !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-radius: 20px !important;
    color: #94a3b8 !important;
    letter-spacing: 0.03em !important;
  }
  
  .navbar.scrolled .nav-menu {
    top: 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-slogan {
    font-size: 1.3rem;
    gap: 12px;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    gap: 40px;
    justify-content: space-between;
  }
  
  /* Mobile menu active states */
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* â”€â”€ Light Theme Transition (Dispersed Phase) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body {
  transition: background-color 1.5s ease-in-out, color 1.5s ease-in-out;
}

body.dispersed {
  background-color: #f4f4f0;
  color: #0f172a; /* slate-900 */
}

/* Update variables dynamically when dispersed */
body.dispersed {
  --bg-obsidian: #f4f4f0;
  --bg-slate: #f8fafc; /* light grey for section alternations */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg-card: rgba(255, 255, 255, 0.85);
  --border-card: rgba(15, 23, 42, 0.06);
  --border-hover: rgba(0, 242, 254, 0.5);
}

/* Slogan adjusts for light theme */
body.dispersed .hero-slogan .word.code {
  color: #334155; /* slate-700 */
}

/* Adjust secondary button in light theme */
body.dispersed .btn.secondary-btn {
  background: rgba(15, 23, 42, 0.02);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}
body.dispersed .btn.secondary-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.2);
}

/* Service, project, and contact cards in light theme */
body.dispersed .service-card,
body.dispersed .project-card,
body.dispersed .contact-form-wrapper {
  background: #000000;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
body.dispersed .service-card:hover,
body.dispersed .project-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.12);
}

/* Tech items */
body.dispersed .tech-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.02);
}
body.dispersed .tech-item:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

/* Progress bar background in light theme */
body.dispersed .progress-bar-container {
  background: rgba(15, 23, 42, 0.06);
}
body.dispersed .progress-val {
  color: #0f172a;
}

/* Milestones active states in light theme */
body.dispersed .project-milestones::before {
  background: rgba(15, 23, 42, 0.06);
}
body.dispersed .milestone .dot {
  background: #e2e8f0;
  border-color: #ffffff;
}
body.dispersed .milestone.active .dot {
  background: var(--accent-cyan);
}

/* Form inputs in light theme */
body.dispersed .form-group input,
body.dispersed .form-group select,
body.dispersed .form-group textarea {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
body.dispersed .form-group input:focus,
body.dispersed .form-group select:focus,
body.dispersed .form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.12);
}
body.dispersed .form-group select option {
  background-color: #ffffff;
  color: #0f172a;
}

/* Navbar light transition */
body.dispersed .navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
body.dispersed .navbar.scrolled .nav-item {
  color: #475569;
}
body.dispersed .navbar.scrolled .nav-item:hover {
  color: #0f172a;
}
body.dispersed .navbar.scrolled .logo-text {
  color: #0f172a;
}

/* Scroll hint and indicators in light theme */


/* Footer light transition */
body.dispersed .footer {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
body.dispersed .footer-logo-text {
  color: #0f172a;
}
body.dispersed .footer-logo-svg path {
  fill: #0f172a;
}
body.dispersed .footer-link-group a:hover {
  color: #0f172a;
}
body.dispersed .footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}



/* Expanding Block Hero Section */
.hero-scroll-track {
  height: 900vh; /* Increased to allow more reading time for device 4 */
  position: relative;
  width: 100%;
}

.hero-sticky-viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f4f4f0; /* Matches navbar */
}

.hero-center-block {
  position: relative;
  width: 92vw;
  height: 80vh;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  will-change: width, height, border-radius;
  transform: translateZ(0); /* Hardware acceleration */
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  transition: box-shadow 0.5s ease;
}

@keyframes fully-shrunk-spin {
  0% { transform: translateZ(0) rotate(0deg); box-shadow: 0 0 0px #00f0ff; }
  50% { transform: translateZ(0) rotate(180deg) scale(0.7); border-radius: 50% !important; box-shadow: 0 0 30px #00f0ff, 0 0 60px #00f0ff; }
  100% { transform: translateZ(0) rotate(360deg); box-shadow: 0 0 0px #00f0ff; }
}

.hero-center-block.fully-shrunk {
  animation: fully-shrunk-spin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  background: #111;
  border: 2px solid #00f0ff;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: transparent; /* Removed dark filter as requested */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15vh;
  padding: 0 5%;
  width: 100%;
}

.hero-head-logo {
  height: 35px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Makes the logo white */
}

.hero-pre-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.hero-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 6.5vw, 6rem); /* Reduced as requested */
  font-weight: 500;
  letter-spacing: -2px;
  margin: 0 0 30px 0;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 800px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 40px;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  gap: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-btn:hover .hero-btn-arrow {
  transform: translateX(8px);
}

.hero-laptop {
  position: absolute;
  left: 50%;
  z-index: 4;
  bottom: -15vh;
  width: 75vw;
  max-width: 1100px;
  will-change: transform;
  display: flex; /* Or block, doesn't matter much if children are absolute */
}

.hero-laptop img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 -20px 40px rgba(0,0,0,0.5));
}


/* ========================================= */
/* WHAT MAKES US DIFFERENT SECTION           */
/* ========================================= */

.mobile-only-expertise {
  display: none; /* Hidden by default on desktop */
}

.different-section {
  position: relative;
  width: 100%;
  background: #f4f4f0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.diff-video-container {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  margin-bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.diff-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wrapper removed */

.diff-cutout-content {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0 5%;
  z-index: 2;
  background: #f4f4f0;
  color: #000000;
  mix-blend-mode: screen;
}

.diff-cutout-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 11vw, 15rem); /* Fits WHAT MAKES US perfectly */
  width: 100%;
  white-space: nowrap;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0 0 40px 0;
  text-transform: uppercase;
}

.diff-cutout-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.diff-content-layer {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  position: relative;
  z-index: 3;
  background: rgba(244, 244, 240, 0.6); /* Translucent white */
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  margin-top: 150vh; /* Pause distance: 150vh down means 50vh scroll before list appears */
  padding-top: 20vh; /* Space before first item */
  padding-bottom: 20vh; /* Space after last item before section ends */
  padding-left: 5%;
  padding-right: 5%;
}

.diff-list-container {
  max-width: 1600px; /* Wider container for better enterprise layout */
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.diff-row {
  display: flex;
  flex-direction: column;
  padding: 60px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .diff-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10%; /* Ensures a healthy gap between title and info */
  }
}

.diff-row-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 35%; /* Fixed width for titles */
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .diff-row-left {
    margin-bottom: 0;
  }
}

.diff-icon {
  width: 24px;
  height: 24px;
  color: #000;
  flex-shrink: 0;
}

.diff-row-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #000;
  margin: 0;
}

.diff-row-right {
  flex: 1; /* Takes remaining space */
  display: flex;
  justify-content: flex-end; /* Shifts text to the right side of the container */
}

.diff-row-right p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(0,0,0,0.6);
  margin: 0;
  max-width: 500px;
}

/* Scroll Animation Initial States */
.observe-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.observe-row.in-view {
  opacity: 1;
  transform: translateY(0);
}



/* ========================================= */
/* TECHNOLOGY MASONRY SECTION                */
/* ========================================= */


/* ========================================= */
/* TECH WE USE — EDITORIAL DESIGN            */
/* ========================================= */

/* Outer section — starts Day (white) */
.tech-editorial {
  background: #f4f4f0;
  position: relative;
  z-index: 10;
}

/* Night overlay: fixed, covers entire screen, fades in via JS */
.tech-night-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f0f11;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  will-change: opacity;
}

/* Inner content wrapper — above the overlay */
.tech-editorial-inner {
  position: relative;
  z-index: 10;
  padding: 0 6vw 120px;
  opacity: 0; /* JS will fade this in as night falls */
  transform: translateY(40px);
  will-change: opacity, transform;
}

/* --- Header --- */
.tech-editorial-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 48px;
}

.tech-editorial-header-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tech-ed-eyebrow {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.tech-ed-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(5rem, 11vw, 14rem);
  font-weight: 400;
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  color: #ffffff;
}

.tech-ed-title span {
  display: block;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
}

.tech-editorial-header-right {
  display: flex;
  gap: 48px;
  align-items: flex-end;
  padding-bottom: 12px;
}

.tech-ed-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.tech-ed-stat-n {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

.tech-ed-stat-n sup {
  font-size: 0.5em;
  opacity: 0.5;
  vertical-align: super;
}

.tech-ed-stat-l {
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* Full-width top rule — bold left, fades right */
.tech-ed-top-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 40%, transparent 100%);
  margin-bottom: 0;
}

/* --- Category Row --- */
.tech-ed-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0 60px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.tech-ed-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  padding-left: 1vw;
}

/* Highlight stripe on left edge on hover */
.tech-ed-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.4s ease;
}

.tech-ed-row:hover::before {
  background: linear-gradient(to bottom, #4f46e5, #ec4899);
}

.tech-ed-row--last {
  border-bottom: none;
}

/* Left meta column */
.tech-ed-row-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.tech-ed-row-num {
  font-family: 'Anton', sans-serif;
  font-size: 3.8rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  display: block;
  letter-spacing: 0.02em;
  transition: color 0.5s ease, transform 0.5s ease;
}

.tech-ed-row:hover .tech-ed-row-num {
  color: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.tech-ed-row-cat {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.4s ease, transform 0.4s ease;
}

.tech-ed-row:hover .tech-ed-row-cat {
  color: #ffffff;
  transform: translateX(10px);
}

/* Right: tech items flow inline */
.tech-ed-row-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

/* Premium Glassmorphism Pills */
.tech-ed-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tech-ed-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Add an ambient ultra-premium glow behind the whole section */
.tech-editorial-inner::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
  transform: translate(-50%, 0);
  pointer-events: none;
  z-index: -1;
}




/* New Intro Block */
.intro-block {
  position: relative;
  z-index: 10;
  margin-top: 92vh; /* peeping distance */
  background: transparent;
  
  display: block;
  color: #111;
  /* overflow: hidden removed so sticky works */
}

/* Scroll Track spans the entire animation duration */
.scroll-track {
  position: relative;
  width: 100%;
  height: 400vh; /* Reverted to original shorter track */
}

/* Sticky Viewport stays fixed on screen while scrolling the track */
.sticky-viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden; /* clip contents inside */
  will-change: transform;
  transform: translateZ(0);
}

/* The Title */
.title-container {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  will-change: transform, opacity;
  
}

.huge-text {
  font-size: 15vw; /* Increased size to match full width */
  font-family: var(--font-main);
  font-weight: 900;
  line-height: 0.85;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.anton-font {
  font-family: 'Anton', sans-serif;
  letter-spacing: -0.01em; 
  text-transform: uppercase;
  color: #111;
}

.intro-footer {
  position: absolute;
  bottom: 0; /* Changed to relative bottom to title or viewport */
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1.2rem;
  color: #111;
  /* Hide the footer after scroll */
  transition: opacity 0.3s;
}

/* The Animated Photo */
.photo-container {
  position: absolute;
  bottom: -5vh; /* Peeping slightly higher so head overlaps */
  left: 50%;
  transform: translateX(-50%);
  width: 280px; /* Small initially */
  height: 380px;
  z-index: 1; /* Behind the huge text */
  perspective: 1200px; /* For 3D flip */
  will-change: transform, bottom, width, height;
}

.portrait-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  border-radius: 16px;
  transform: rotateY(0deg);
  will-change: transform;
}

.portrait-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
}

.portrait-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-face.back {
  transform: rotateY(180deg);
}

/* Intro Text Grid */
.info-text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5% 15vh 5%;
  z-index: 3;
  will-change: transform;
}

.intro-text-left, .intro-text-right {
  width: 25%; /* Thinner columns to leave room for massive centered image */
  font-family: var(--font-main);
  color: #111;
}

.intro-text-left h2 {
  font-size: 5vw;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.intro-text-left p, .intro-text-right p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
  color: #333;
}

.intro-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.intro-actions .btn {
  padding: 14px 24px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.use-free-btn { background: #111; color: #fff; }
.use-free-btn:hover { background: #333; }
.more-templates-btn { background: #111; color: #fff; }
.more-templates-btn:hover { background: #333; }
.framer-btn { background: #fff; color: #111; border: 1px solid #ddd !important; }
.framer-btn:hover { background: #f4f4f0; }

#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #000;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-200px, -200px);
  will-change: transform, width, height;
  mix-blend-mode: difference;
  transition:
    width 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    border-color 0.3s ease;
}
#cursor-ring.moving {
  width: 20px;
  height: 20px;
}
#cursor-ring.hovering {
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: 1.5px solid #fff;
}
.scan-section.scanning .scan-line {
  animation: scanSweep var(--scan-duration, 1.8s) cubic-bezier(0.35, 0, 0.25, 1) forwards;
}
@keyframes scanSweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}



/* --- LAPTOP SECTION --- */
.hero-laptop {
  position: absolute;
  left: 50%;
  z-index: 4;
  bottom: -15vh;
  width: 75vw;
  max-width: 1100px;
  will-change: transform;
  display: flex; /* Or block, doesn't matter much if children are absolute */
}
.device-group {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.8s ease;
}
.hardware-shell {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 -20px 40px rgba(0,0,0,0.5));
}
.screen-content {
  position: absolute;
  top: 4.5%;
  left: 11.5%;
  width: 77%;
  height: 84%;
  background: #000;
  overflow: hidden;
  border-radius: 4px;
}
.laptop-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-expertise-carousel {
  position: absolute;
  top: 55%;
  left: 0;
  z-index: 5;
  display: flex;
  height: auto;
  width: 100vw;
  pointer-events: none;
  perspective: 1000px;
}

.hero-expertise-slide {
  position: absolute;
  top: 0;
  left: 60vw;
  width: 34vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-left: 2vw;
  padding-right: 2vw;
  color: #fff;
}

/* Category eyebrow label */
.hero-expertise-slide::before {
  content: attr(data-index);
  display: none; /* kept for future use */
}

/* Premium glassmorphic title */
.hero-expertise-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 16px 0;
  /* Metallic gradient â€” same language as the tech block */
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(255,255,255,0.75) 40%,
    rgba(255,255,255,0.95) 70%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(255,255,255,0.12));
}

/* Descriptor sentence */
.hero-expertise-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 28px;
  max-width: 380px;
  font-weight: 400;
  letter-spacing: 0.01em;
  /* Thin accent line above */
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Feature list */
.hero-expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-expertise-list li {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  /* Glassmorphic pill */
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  width: fit-content;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Left accent bar on each item */
.hero-expertise-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0.15));
}

/* Subtle inner shimmer sweep */
.hero-expertise-list li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255,255,255,0.04) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero-expertise-list li:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.08);
  pointer-events: auto;
}

.hero-expertise-list li:hover::after {
  transform: translateX(100%);
}
.hero-expertise-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.hero-btn-arrow {
  margin-left: 10px;
  transition: transform 0.3s;
}
.hero-btn:hover .hero-btn-arrow {
  transform: translateX(5px);
}
/* Wrapper removed in HTML, keeping empty to avoid breaking any stray queries */
.diff-video-wrapper {
  display: contents;
}

/* --- FOOTER --- */
.intro-footer-content {
  background: transparent;
  color: #111;
  padding: 100px 5% 40px 5%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 105vh;
}
.footer-upper {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 100px;
  position: relative;
  z-index: 2;
}
.footer-left {
  flex: 1;
  min-width: 300px;
}
.footer-right {
  display: flex;
  gap: 80px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-nav-col a {
  color: rgba(17, 17, 17, 0.7);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.3s;
}
.footer-nav-col a:hover {
  color: #111;
}
.footer-col-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
}
.arrow-icon-inline {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: middle;
}
.footer-giant-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(8rem, 25vw, 25rem);
  text-align: right;
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  text-shadow: 
    1px 1px 0px #151515,
    2px 2px 0px #101010,
    3px 3px 0px #0b0b0b,
    4px 4px 0px #050505,
    5px 5px 0px #000000,
    6px 6px 0px #000000,
    7px 7px 12px rgba(0, 0, 0, 0.35);
  margin: 0;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  right: 2%;
  transform: translateY(30%);
  pointer-events: none;
  z-index: 1;
}
.footer-bottom-bar {
  display: flex;
  justify-content: flex-start;
  border-top: none;
  padding-top: 0;
  margin-top: auto;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: rgba(17, 17, 17, 0.5);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* Dedicated Contact Section */
/* Dedicated Contact Section */
.contact-section {
  background: transparent;
  padding: 100px 5%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-curved-box {
  background: #050507;
  border-radius: 40px;
  width: 100%;
  max-width: 1400px;
  min-height: 60vh;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  margin: 0 auto;
}

/* =========================================================================
   CONTACT SECTION (SPLIT LAYOUT)
   ========================================================================= */

.contact-layout-split {
  display: flex;
  width: 100%;
  margin: 0 auto;
  gap: 0;
}

.contact-left, .contact-right {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
}

.contact-divider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  margin: 40px 0;
}

.divider-line {
  width: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
}

.divider-or {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 12px 0;
}

/* --- Left Column --- */
.contact-left {
  position: relative;
}

.contact-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 40px;
  align-self: flex-start;
  margin-bottom: 25px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.contact-main-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #f4f4f0;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.contact-subheading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 25px;
}

/* AI Area inside Left Column */
.sophisticated-ai-block {
  position: relative;
  width: 100%;
  flex: 1;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.ai-wave-container {
  width: 100%;
  flex: 1;
  position: relative;
  min-height: 120px;
}

.ai-overlay {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 24px 30px;
  background: rgba(0,0,0,0.2);
  z-index: 20;
}

.ai-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.ai-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ai-info p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.ai-action {
  display: flex;
  align-items: center;
}

.ai-start-btn {
  background: #fff !important;
  color: #000 !important;
  border-radius: 40px !important;
  padding: 12px 24px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer;
  border: none !important;
  transition: transform 0.3s ease !important;
  margin: 0 !important;
}

.ai-start-btn:hover {
  transform: scale(1.05) !important;
}

/* Feature Grid */
.contact-features-grid {
  display: flex;
  gap: 30px;
  margin-top: auto;
}

.feat-box {
  flex: 1;
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.8);
}
.feat-icon svg { width: 20px; height: 20px; }

.feat-box h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.feat-box p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* --- Right Column --- */
.contact-form-panel {
  background: rgba(10, 10, 10, 0.3);
  border-radius: 16px;
  padding: 35px 40px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  height: 100%;
}

.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.form-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 25px;
}

.prog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.prog-dot.active {
  background: #fff;
  border-color: #fff;
  width: 12px;
  height: 12px;
}
.prog-line {
  width: 40px;
  height: 1.5px;
  background: rgba(255,255,255,0.3);
}

.split-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.icon-input {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

.pf-input-group.icon-input input,
.pf-input-group.icon-input select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 10px 16px 10px 42px !important; /* Extra padding for icon */
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.85rem !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}

.pf-input-group.icon-input input:focus,
.pf-input-group.icon-input select:focus {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(0, 0, 0, 0.4) !important;
}

.service-select-group {
  grid-column: span 2;
}

/* Light button style */
.light-btn {
  grid-column: span 2;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #f8f8f8 !important;
  color: #050507 !important;
  border-radius: 12px !important;
  border: none !important;
  padding: 12px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-top: 10px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
}

.light-btn:hover {
  background: #ffffff !important;
}

.light-btn svg {
  width: 18px !important;
  height: 18px !important;
  transition: transform 0.3s ease !important;
}

.light-btn:hover svg {
  transform: translateX(4px) !important;
}

.privacy-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.privacy-guarantee svg {
  width: 16px;
  height: 16px;
}

.privacy-guarantee strong {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .contact-layout-split {
    flex-direction: column;
  }
  .contact-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  .contact-left, .contact-right {
    padding: 50px 5%;
  }
  .contact-main-heading { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .split-form {
    grid-template-columns: 1fr;
  }
  .service-select-group { grid-column: 1; }
  .light-btn { grid-column: 1; }
  .contact-features-grid { flex-direction: column; }
}


.hero-white-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-video-match {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-bg-screen-match {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f4f4f0;
  mix-blend-mode: screen;
  z-index: 2;
}
.footer-copy { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; opacity: 0.7; }
.front { z-index: 2; }


.hero-laptop .device-group:first-child {
  position: relative;
}


#device-4 .hardware-shell {
  width: auto;
  height: 80vh;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

/* =========================================================================
   CONTACT ALT BUTTONS
   ========================================================================= */
.contact-alt-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 0px;
  width: 100%;
}
.inline-alt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.inline-alt-btn svg {
  width: 16px;
  height: 16px;
}
.whatsapp-btn {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
}
.whatsapp-btn:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}
.email-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.email-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* =========================================================================
   PREMIUM UNDER CONSTRUCTION OVERLAY
   ========================================================================= */
body.uc-active {
  overflow: hidden !important;
  height: 100vh;
}
body.uc-active > *:not(#uc-overlay):not(#cursor-ring) {
  display: none !important;
}

#uc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #030305;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.uc-gradient-orb {
  position: absolute;
  top: -20vh;
  right: -10vw;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.uc-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  padding: 0 20px;
}

.uc-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #00f2fe;
  letter-spacing: 0.2em;
  padding: 8px 16px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 999px;
  background: rgba(0, 242, 254, 0.05);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.uc-title {
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 1;
  margin: 0;
  color: #fff;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.uc-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.6;
}

.uc-loader {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.uc-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: #00f2fe;
  border-radius: 2px;
  animation: ucLoading 2s ease-in-out infinite;
}

@keyframes ucLoading {
  0% { left: -40%; }
  100% { left: 100%; }
}

.uc-socials {
  display: flex;
  gap: 24px;
  margin-top: 60px;
}

.uc-social-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.uc-social-link:hover {
  color: #fff;
}


/* =========================================================================
   NEW MOBILE NAVBAR (Hidden globally, shown on mobile)
   ========================================================================= */
.mobile-navbar {
  display: none;
}

/* =========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS OVERRIDES
   (Appended to ensure zero impact on desktop layout)
   ========================================================================= */
@media (max-width: 768px) {
  /* Hide desktop navbar completely on mobile */
  .navbar { display: none !important; }

  /* Show and style brand new mobile navbar */
  .mobile-navbar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
  }
  .mobile-nav-container {
    display: flex !important;
    justify-content: center !important; /* Centered Logo */
    align-items: center !important;
    height: 70px !important;
    padding: 0 20px !important;
    position: relative !important;
  }
  .mobile-nav-logo {
    height: 24px !important;
    display: block !important;
  }
  .new-mobile-toggle {
    position: absolute !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
    width: 30px !important;
    height: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    z-index: 10000 !important;
  }
  .new-mobile-toggle span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background-color: #111 !important;
    transition: all 0.3s ease !important;
  }
  .new-mobile-toggle.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg) !important;
    background-color: #fff !important;
  }
  .new-mobile-toggle.open span:nth-child(2) {
    opacity: 0 !important;
  }
  .new-mobile-toggle.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg) !important;
    background-color: #fff !important;
  }

  /* Overlay with giant connect button */
  .mobile-nav-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #09090c !important; /* Dark premium background */
    z-index: 9998 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease !important;
  }
  .mobile-nav-overlay.open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .mobile-nav-menu-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
    width: 100% !important;
  }
  .mobile-menu-item {
    font-size: 1.8rem !important;
    font-family: var(--font-main) !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transform: translateY(20px) !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
  }
  .mobile-menu-btn {
    font-size: 2rem !important;
    font-family: var(--font-main) !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
    transform: translateY(20px) !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
  }
  .mobile-menu-btn .arrow {
    color: #00f0ff !important;
    font-weight: 400 !important;
  }
  .mobile-nav-overlay.open .mobile-menu-item,
  .mobile-nav-overlay.open .mobile-menu-btn {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  .mobile-nav-overlay.open .mobile-menu-item:nth-child(1) { transition-delay: 0.1s !important; }
  .mobile-nav-overlay.open .mobile-menu-item:nth-child(2) { transition-delay: 0.15s !important; }
  .mobile-nav-overlay.open .mobile-menu-item:nth-child(3) { transition-delay: 0.2s !important; }
  .mobile-nav-overlay.open .mobile-menu-btn { transition-delay: 0.25s !important; }

  /* 1. Global typography & spacing */
  .hero-main-title { font-size: clamp(2.5rem, 8vw, 3.5rem) !important; }
  .hero-pre-title { font-size: 0.75rem !important; letter-spacing: 2px !important; }
  .huge-text { font-size: 15vw !important; }
  .contact-main-heading { font-size: 2.5rem !important; line-height: 1.1 !important; }
  .section-title { font-size: 2.5rem !important; }
  .diff-cutout-title { font-size: clamp(2rem, 12vw, 3.5rem) !important; white-space: normal !important; line-height: 1 !important; }
  
  /* 2. Hero Section Adjustments (handled by main mobile block) */
  /* 3. Behind The Code (Intro Block) */
  .info-text-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 5% 5vh 5% !important;
  }
  .intro-text-left, .intro-text-right {
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  .intro-text-left h2 { font-size: 2.5rem !important; margin-bottom: 10px !important; }
  .intro-text-right p { font-size: 1rem !important; }
  .photo-container {
    top: 15vh !important;
    width: 70vw !important;
    height: 90vw !important;
  }
  
  .intro-footer {
    padding: 0 5% !important;
    font-size: 0.85rem !important;
  }
  .intro-footer > div {
    white-space: nowrap !important;
    min-width: 0 !important;
    flex: auto !important;
  }

  /* 4. Tech Editorial Section */
  .tech-editorial-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .tech-left-title { font-size: 3rem !important; line-height: 1 !important; }
  .tech-list {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
  }
  .tech-item { padding: 15px !important; font-size: 0.9rem !important; }
  
  .tech-ed-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 30px 5% !important; /* Add some padding so it doesn't touch the edges */
  }
  .tech-ed-row-meta {
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
  }
  .tech-ed-row-num { font-size: 2.5rem !important; }

  /* 5. Contact Section & Footer */
  .contact-curved-box {
    border-radius: 20px 20px 0 0 !important;
  }
  .contact-layout-split {
    flex-direction: column !important;
  }
  .contact-left { padding: 40px 5% 20px 5% !important; }
  .contact-right { padding: 20px 5% 40px 5% !important; }
  
  .ai-overlay {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }
  .contact-features-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .inline-alt-btn {
    white-space: nowrap !important;
  }
  .privacy-guarantee {
    display: block !important;
    text-align: center !important;
    line-height: 1.5 !important;
  }
  .privacy-guarantee svg {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 5px !important;
    margin-bottom: 2px !important;
  }

  .footer-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .footer-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .footer-giant-text {
    opacity: 1 !important; /* Keep it stark black as requested */
    text-align: center !important;
    right: 0 !important;
    left: 0 !important;
    transform: translateY(20%) !important;
  }
  .footer-bottom-bar {
    justify-content: center !important;
    padding-bottom: 22vw !important; /* Push it above the giant text */
    text-align: center !important;
  }

  /* 6. Header Decor (Digital Frontier & Est) */
  .nav-decor span {
    font-size: 0.45rem !important;
    letter-spacing: 1px !important;
  }
  .nav-decor-left {
    left: 10px !important;
  }
  .nav-decor-right {
    right: 50px !important; /* Make room for hamburger menu */
  }
}


/* ==========================================================================
   AOS (Animate On Scroll) GLOBAL STYLES
   ========================================================================== */

/* Base hidden states */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Blur Up (For text, headings) */
[data-animate="blur-up"] {
  transform: translateY(30px);
  filter: blur(10px);
}
[data-animate="blur-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 2. Scale In (For images, videos) */
[data-animate="scale-in"] {
  transform: scale(1.05);
}
[data-animate="scale-in"].is-visible {
  opacity: 1;
  transform: scale(1);
}

/* 3. Fade In (For simple elements) */
[data-animate="fade-in"] {
  /* Just opacity */
}
[data-animate="fade-in"].is-visible {
  opacity: 1;
}

/* Staggered Delays for lists */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ==========================================================================
   LENIS SMOOTH SCROLL RESETS
   ========================================================================== */
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: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ==========================================================================
   DELTIV CINEMATIC LOADER (OFF-WHITE THEME)
   ========================================================================== */
.deltiv-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f7;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.deltiv-loader.exiting {
  transform: translateY(-100%);
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-logo-container {
  position: relative;
}

.loader-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(6rem, 18vw, 14rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.loader-text.bg-text {
  color: rgba(17, 17, 17, 0.07);
}

.loader-text.fg-text {
  position: absolute;
  top: 0;
  left: 0;
  color: #111111;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.15s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* ==========================================================================
   CURSOR IMAGE DROP IN LOADER (SHARP CORNERS + GRAVITY)
   ========================================================================== */
.trail-image {
  position: absolute;
  pointer-events: none;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 0 !important; /* Sharp corners */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  z-index: 999;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  animation: dropDown 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes dropDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-20px) scale(0.8) rotate(var(--rot));
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1) rotate(var(--rot));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(140px) scale(0.8) rotate(var(--rot));
  }
}

