:root {
    --primary: #c70007;
    --primary-bright: #ff2a2a;
    --primary-deep: #e10600;
    --dark: #050505;
    --bg: #0a0a0a;
    --bg-secondary: #121212;
    --text-dark: #ffffff;
    --text-mid: #b0b0b0;
    --text-light: #ffffff;
    --glow: rgba(199,0,7,0.4);
    --glow-soft: rgba(199,0,7,0.15);
    --glass: rgba(10, 10, 10, 0.7);
    --glass-dark: rgba(5, 5, 5, 0.85);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* SHINE SWEEP */
  .shine-sweep {
    position: absolute;
    top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.8s;
    pointer-events: none;
    z-index: 2;
  }
  .svc-card:hover .shine-sweep, .btn-primary:hover .shine-sweep, .nav-cta:hover .shine-sweep {
    left: 150%;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  
  /* Only hide default cursor on desktop/devices with a precise pointer */
  @media (pointer: fine) {
    * { cursor: none !important; }
  }
  html { overflow-x: hidden; }

  body { 
    font-family: 'Inter', sans-serif; 
    background: transparent; 
    color: var(--text-dark); 
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
    touch-action: manipulation; /* Prevents 300ms delay on mobile taps */
  }

  /* GLOBAL FIXED BACKGROUND */
  #global-bg-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    background: var(--bg);
  }
  #global-bg-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
  }
  
  #global-bg-container canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.18;
  }

  .global-glass-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.6) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
    pointer-events: none;
  }


  /* ADVANCED CURSOR */
  #cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100002;
    transform: translate(-50%, -50%);
  }
  #cursor-ring {
    position: fixed;
    width: 40px; height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
  }
  .cursor-glow {
    position: fixed;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(199,0,7,0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    display: none; /* Hidden by default, shown only on desktop */
  }
  @media (pointer: fine) {
    .cursor-glow { display: block; }
  }

  /* GLOBAL SECTION BACKGROUND SYSTEM */
  section { position: relative; overflow: hidden; padding: 130px 100px; scroll-margin-top: 100px; }
  .section-label, h2, p, .about-grid, .services-grid, .why-grid, .proc-timeline, .ind-grid, .contact-grid {
    position: relative;
    z-index: 10;
  }
  section.dark-section { background: rgba(5, 5, 5, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-top: 1px solid rgba(255,255,255,0.02); }
  section.dark-section .section-label { color: rgba(255,255,255,0.6); }
  section.dark-section h2 { color: #fff; }
  section.dark-section p { color: rgba(255,255,255,0.7); }
  .section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  /* PREMIUM AMBIENT BACKGROUNDS */
  .bg-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: slowFloat 20s infinite ease-in-out alternate;
    pointer-events: none;
    z-index: -1;
  }
  .orb-1 { width: 600px; height: 600px; top: -10%; left: -10%; background: rgba(199,0,7,0.2); }
  .orb-2 { width: 800px; height: 800px; bottom: -10%; right: -10%; background: rgba(199,0,7,0.08); animation-delay: -10s; }
  
  @keyframes slowFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
  }

  .bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.6;
  }
  .section-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
  }
  @media (max-width: 1024px) {
    .section-canvas { display: none !important; }
  }
  
  /* GLOBAL CINEMATIC NOISE / GRAIN */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  }

  
  /* SPOTLIGHT HOVER */
  .svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(199,0,7,0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
    pointer-events: none;
  }
  .svc-card:hover::before { opacity: 1; }

  /* FLOATING OBJECTS */
  .floating-obj {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
    animation: floatAnim 10s infinite ease-in-out;
  }
  @keyframes floatAnim {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
  }  /* LOADING SCREEN */
  #loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    animation: forceHide 5s forwards;
  }
  @keyframes forceHide {
    0% { opacity: 1; visibility: visible; }
    90% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; display: none; }
  }

  #loader.hidden {
    opacity: 0;
    visibility: hidden;
  }
  .loader-logo img {
    height: 150px;
    width: auto;
    margin-bottom: 30px;
  }
  .loader-bar {
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-top: 20px;
    position: relative;
  }
  .loader-progress {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: var(--primary);
    width: 0%;
    box-shadow: 0 0 15px var(--primary);
  }
  
  /* TECHNICAL GRID REVEAL */
  #hero-canvas {
    /* Styles handled by #global-bg-container */
  }
  .tech-grid {

    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;
    background-image: linear-gradient(rgba(199,0,7,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(199,0,7,0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0;
  }

  /* NAVBAR */
  #navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 30px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    background: transparent;
  }
  #navbar.scrolled {
    padding: 20px 60px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  }
  .nav-logo {
    text-decoration: none;
    display: block;
    z-index: 10;
  }
  .nav-logo img {
    height: 100px;
    width: auto;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
  }
  .nav-logo:hover img {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 0 15px var(--glow));
  }
  #navbar.scrolled .nav-logo img { 
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(199,0,7,0.3)); 
  }
  #navbar.scrolled .nav-logo:hover img { filter: drop-shadow(0 0 15px var(--glow)); }
  .nav-links { display: flex; gap: 40px; list-style: none; }
  .nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
  }
  .nav-links a:hover { color: #fff; }
  #navbar.scrolled .nav-links a { color: var(--text-mid); }
  #navbar.scrolled .nav-links a:hover { color: var(--dark); }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 30px;
    border: 1.5px solid var(--primary);
    color: #fff;
    background: transparent;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
    position: relative;
  }
  #navbar.scrolled .nav-cta { color: var(--primary); }
  .nav-cta:hover { background: var(--primary); color: #fff !important; }

  /* MOBILE MENU */
  .mobile-menu-btn {
    display: none;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
  }
  #navbar.scrolled .mobile-menu-btn { color: var(--primary); }
  .mobile-menu-btn svg { width: 32px; height: 32px; }
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-menu-overlay.active { right: 0; }
  .mobile-menu-close {
    position: absolute;
    top: 25px; right: 25px;
    color: #fff; cursor: pointer;
  }
  .mobile-menu-close svg { width: 35px; height: 35px; }
  .mobile-menu-links {
    display: flex; flex-direction: column; gap: 35px; text-align: center;
  }
  .mobile-menu-links a {
    color: #fff; font-size: 26px; font-weight: 700; font-family: 'Space Grotesk', sans-serif;
    text-decoration: none; text-transform: uppercase; letter-spacing: 2px;
  }
  .mobile-menu-links a:hover { color: var(--primary); }


  /* HERO SECTION */
  #hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #050505;
    overflow: hidden;
    padding-top: 180px; /* Substantial padding to clearly separate hero content from the fixed header */
    animation: fadeInHero 1.5s ease-out;
  }
  @keyframes fadeInHero {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.55;
    animation: heroVideoZoom 20s infinite alternate ease-in-out;
  }
  @keyframes heroVideoZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.3) 50%, rgba(5,5,5,0.05) 100%);
    z-index: 1;
  }
  .hero-ambient-glow {
    position: absolute;
    bottom: -10%; left: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(199,0,7,0.2) 0%, transparent 70%);
    z-index: 2;
    filter: blur(80px);
    pointer-events: none;
  }
  .hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.4) 100%);
    z-index: 3;
    pointer-events: none;
  }
  .hero-scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 4px 100%;
    z-index: 4;
    pointer-events: none;
    opacity: 0.1;
  }
  
  /* HUD ELEMENTS REMOVED FOR CLEANER AESTHETIC */
  
  .hero-h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 4.5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 30px;
    
    /* Pure White Face */
    color: #ffffff;
    
    /* 3D Physical Extrusion and Lighting */
    text-shadow: 
      0px 1px 1px rgba(255,255,255,0.2),  /* Top highlight */
      0px 2px 0px #4a4a4a,                /* 3D Block Layer */
      0px 3px 0px #3b3b3b,                /* 3D Block Layer */
      0px 4px 0px #2a2a2a,                /* 3D Block Layer */
      0px 5px 4px rgba(0,0,0,0.6),        /* Sharp contact shadow */
      0px 12px 20px rgba(0,0,0,0.4),      /* Floating drop shadow */
      0px 25px 50px rgba(199,0,7,0.15);   /* Ambient brand glow */
      
    transform-style: preserve-3d;
    perspective: 1200px;
  }
  
  .hero-h1 span.accent { 
    display: block;
    font-size: 0.9em;
    letter-spacing: 2px;
    margin-top: 5px;
    font-weight: 600;
    
    /* Logo Color Red */
    color: var(--primary);
    
    /* Subtle Red 3D Depth */
    text-shadow: 
      0px 1px 0px #8a0005,
      0px 2px 0px #630003,
      0px 6px 12px rgba(0,0,0,0.4);
  }
  .hero-left {
    position: relative;
    max-width: 700px; /* Constrain width to prevent awkward text stretching */
  }
  /* Cinematic Light Diffusion / Haze */
  .hero-left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
  }

  .hero-content {
    position: relative;
    z-index: 10;
    padding: 0 100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
  /* Duplicate .hero-h1 removed for clean ultra-premium styling */
  .hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-bottom: 50px;
  }
  .hero-btns { display: flex; gap: 20px; }
  .btn-primary {
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 
      0 10px 30px rgba(199,0,7,0.3),
      inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
  }
  .btn-primary:hover { 
    transform: translateY(-5px) scale(1.02); 
    background: linear-gradient(135deg, var(--primary-bright), var(--primary)); 
    box-shadow: 
      0 20px 50px rgba(199,0,7,0.6),
      0 0 40px rgba(199,0,7,0.3),
      inset 0 1px 0 rgba(255,255,255,0.5); 
  }
  .btn-ghost {
    padding: 18px 45px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .btn-ghost:hover { 
    background: rgba(255,255,255,0.15); 
    border-color: rgba(255,255,255,0.4); 
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }

  /* HERO DASHBOARD (RIGHT) */
  .hero-dashboard {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dashboard-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(199,0,7,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
  }
  .floating-card {
    position: absolute;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }
  .card-1 { top: 10%; right: 10%; width: 200px; animation: float 6s ease-in-out infinite; }
  .card-2 { bottom: 15%; left: 5%; width: 180px; animation: float 8s ease-in-out infinite reverse; }
  .card-3 { top: 40%; left: 40%; transform: translate(-50%, -50%); width: 250px; border-color: var(--primary); }

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

  /* SCROLL INDICATOR */
  .hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 100px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.5);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
  }
  .scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
  }
  .scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 30%;
    background: var(--primary);
    animation: scroll-anim 2s infinite ease-in-out;
  }
  @keyframes scroll-anim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(300%); }
  }

  /* SECTION LABELS */
  .section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .section-label::before { content: ''; width: 40px; height: 2px; background: var(--primary); }

  /* ABOUT SECTION */
  #about { padding: 150px 100px; position: relative; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
  .about-visual {
    position: relative;
    height: 600px;
    border-radius: 12px;
    overflow: hidden; /* Critical: prevents image overflow */
  }
  .about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
  }
  .about-stats {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(5,5,5,0.92);
    padding: 30px 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    border-left: 4px solid var(--primary);
    z-index: 5;
    border-radius: 8px;
    backdrop-filter: blur(10px);
  }
  .stat-num { font-size: 48px; font-weight: 800; color: #fff; line-height: 1; }
  .stat-label { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 2px; color: var(--primary); margin-top: 10px; text-transform: uppercase; }

  .about-h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.2; margin-bottom: 30px; letter-spacing: -1px; color: #fff; }
  .about-p { 
    font-size: 17px; 
    color: rgba(255,255,255,0.85); 
    line-height: 1.8;
    margin-bottom: 45px; 
    padding: 25px 30px;
    border-left: 4px solid var(--primary);
    background: linear-gradient(90deg, rgba(199,0,7,0.08) 0%, transparent 100%);
    border-radius: 0 12px 12px 0;
    font-weight: 300;
  }
  .about-p span.hl { color: #fff; font-weight: 600; }
  .about-p span.accent { color: var(--primary); font-weight: 700; font-family: 'Space Grotesk', sans-serif; letter-spacing: 1px; text-transform: uppercase; font-size: 14px;}
  .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .feat-item { display: flex; align-items: center; gap: 15px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: #fff; }
  .feat-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--glow); }

  /* SERVICES SECTION */
  #services { padding: 150px 100px; position: relative; }
  .services-h2 { text-align: center; font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin-bottom: 60px; letter-spacing: -1px; color: #fff; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .svc-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
  }
  .svc-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    background: rgba(255,255,255,0.08); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(199,0,7,0.15); 
    border-color: rgba(255,255,255,0.2); 
  }
  .svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--glow-soft), transparent);
    opacity: 0; transition: opacity 0.4s;
    z-index: -1;
  }
  .svc-card:hover::before { opacity: 1; }
  .svc-num { font-family: 'Space Grotesk', sans-serif; font-size: 14px; color: var(--primary); margin-bottom: 30px; font-weight: 700; letter-spacing: 2px; }
  .svc-icon { width: 60px; height: 60px; margin-bottom: 30px; color: var(--primary); }
  .svc-title { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: white; }
  .svc-desc { color: var(--text-mid); font-size: 15px; margin-bottom: 30px; }
  .svc-more {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center; gap: 10px;
  }

  /* SERVICE LIST */
  .svc-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .svc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    transition: color 0.3s;
  }
  .svc-list li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--glow);
  }
  .svc-card:hover .svc-list li { color: rgba(255,255,255,0.9); }

  /* WHY CHOOSE US - ULTRA PREMIUM CINEMATIC */
  #why-cinematic { 
    padding: 0; 
    background: #050505; 
    color: #fff; 
    position: relative; 
    overflow: visible; 
    z-index: 10;
  }
  .why-pinned-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
  }
  .why-left {
    width: 50%;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 100; /* Higher than canvas */
  }
  .why-right {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 50; /* Lower than left content */
  }
  .why-visual-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #why-canvas {
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 1;
    background: transparent;
  }
  
  /* MASSIVE CINEMATIC TYPOGRAPHY */
  .why-h2 { 
    font-size: clamp(36px, 5vw, 56px); 
    font-weight: 700; 
    margin-bottom: 60px; 
    letter-spacing: -1.5px; 
    line-height: 1.1;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
  }
  .why-h2 .accent {
    display: block;
    font-size: 0.6em;
    letter-spacing: 15px;
    margin-top: 20px;
    opacity: 0.5;
    font-weight: 300;
  }
  
  .why-content-wrapper {
    position: relative;
    height: 50vh;
    z-index: 10;
  }
  
  .why-feature-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    filter: blur(20px);
    padding: 40px 0;
    border-left: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.8s;
    pointer-events: none;
    z-index: 20;
  }
  .why-feature-step.active {
    border-left-color: var(--primary);
    pointer-events: all;
    opacity: 1;
    visibility: visible;
  }
  
  .why-num { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 16px; 
    color: var(--primary); 
    margin-bottom: 30px; 
    font-weight: 700; 
    letter-spacing: 10px;
    text-transform: uppercase;
  }
  .why-title { 
    font-size: clamp(28px, 3vw, 40px); 
    font-weight: 700; 
    margin-bottom: 20px; 
    letter-spacing: -1px;
    line-height: 1.2;
  }
  .why-desc { 
    color: rgba(255,255,255,0.6); 
    font-size: 20px; 
    line-height: 1.5;
    max-width: 550px;
    font-weight: 300;
  }

  .why-progress-bar {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
  }
  .bar-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: 0%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
  }

  /* ATMOSPHERIC ELEMENTS */
  .why-ambient-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(199,0,7,0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
  }
  .why-data-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
  }

  /* Progress Indicators (Left Edge) */
  .why-progress {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 100;
  }
  .progress-dot {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .progress-dot.active {
    background: var(--primary);
    height: 80px;
    box-shadow: 0 0 20px var(--primary);
  }

  @media (max-width: 1024px) {
    .why-pinned-container { flex-direction: column; }
    .why-left, .why-right { width: 100%; padding: 60px 40px; }
    .why-right { height: 60vh; order: -1; }
    .why-h2 { font-size: 50px; }
    .why-title { font-size: 32px; }
    .why-feature-step { position: relative; opacity: 1; visibility: visible; transform: none; filter: none; border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
    .why-progress { display: none; }
  }

  @media (max-width: 1024px) {
    .why-pinned-container { flex-direction: column; }
    .why-left, .why-right { width: 100%; }
    .why-left { padding: 80px 40px; }
    .why-right { height: 50vh; position: relative; order: -1; }
    .why-content-wrapper { height: auto; display: flex; flex-direction: column; gap: 40px; }
    .why-feature-step { position: relative; opacity: 1; visibility: visible; transform: none; padding: 20px 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
    .why-progress { display: none; }
  }

  /* ═══════════════════════════════════════════════════════════════
     ULTRA PREMIUM CINEMATIC PROCESS — HORIZONTAL PIPELINE
     ═══════════════════════════════════════════════════════════════ */
  #process {
    min-height: 100vh;
    padding: 150px 0;
    background: rgba(5, 5, 5, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .proc-pipeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    z-index: 10;
  }

  .proc-header {
    text-align: center;
    margin-bottom: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
  }

  .proc-header .section-label {
    justify-content: center;
  }

  .proc-h2 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin-top: 15px;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .proc-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.65);
    max-width: 650px;
    line-height: 1.6;
    font-weight: 300;
  }
  .proc-subtitle span.hl {
    color: #fff;
    font-weight: 500;
  }

  .proc-pipeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    min-height: 550px; /* Room for staggered cards */
  }

  /* Pipeline Track */
  .proc-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    overflow: hidden;
    transform: translateY(-50%);
  }

  .proc-track-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-bright));
    box-shadow: 0 0 15px var(--primary);
    transition: width 0.5s ease-out;
  }

  .proc-energy-pulse {
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199,0,7,0.6), transparent);
    animation: energyPulse 4s linear infinite;
  }

  @keyframes energyPulse {
    0% { left: -200px; }
    100% { left: 120%; }
  }

  /* Nodes & Steps */
  .proc-step-unit {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 5;
    height: 100%;
  }

  .proc-node-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .proc-node {
    width: 44px;
    height: 44px;
    background: #0a0a0a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
  }

  .proc-step-unit.active .proc-node {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 35px var(--glow);
    transform: scale(1.15);
  }

  .proc-node-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transition: all 0.4s;
  }

  .proc-node-glow {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, var(--glow-soft) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s;
  }

  .proc-step-unit.active .proc-node-glow {
    opacity: 1;
    animation: nodePulse 2.5s infinite alternate;
  }

  @keyframes nodePulse {
    from { transform: scale(0.9); opacity: 0.4; }
    to { transform: scale(1.6); opacity: 0.8; }
  }

  /* Premium Process Cards */
  .proc-card {
    width: 260px;
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    opacity: 0.3;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    left: 50%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Staggering Logic */
  .proc-step-unit:nth-of-type(odd) .proc-card {
    bottom: 50%;
    margin-bottom: 65px;
    transform: translateX(-50%) translateY(30px);
  }
  .proc-step-unit:nth-of-type(odd).active .proc-card {
    transform: translateX(-50%) translateY(0);
  }
  .proc-step-unit:nth-of-type(odd) .proc-card:hover {
    transform: translateX(-50%) translateY(-10px) !important;
  }

  .proc-step-unit:nth-of-type(even) .proc-card {
    top: 50%;
    margin-top: 65px;
    transform: translateX(-50%) translateY(-30px);
  }
  .proc-step-unit:nth-of-type(even).active .proc-card {
    transform: translateX(-50%) translateY(0);
  }
  .proc-step-unit:nth-of-type(even) .proc-card:hover {
    transform: translateX(-50%) translateY(-10px) !important;
  }

  .proc-step-unit.active .proc-card {
    opacity: 1;
    border-color: rgba(199,0,7,0.4);
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 40px rgba(199,0,7,0.1);
  }

  .proc-card::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
  }

  .proc-card:hover::before {
    left: 150%;
  }

  .proc-card:hover {
    border-color: var(--primary);
    box-shadow: 0 50px 100px rgba(0,0,0,0.7), 0 0 60px rgba(199,0,7,0.15);
  }

  .proc-card-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 25px;
    color: var(--primary);
    filter: drop-shadow(0 0 12px var(--glow-soft));
    transition: transform 0.6s ease;
  }
  .proc-card:hover .proc-card-icon {
    transform: scale(1.1) rotate(5deg);
  }

  .proc-card-step {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
  }

  .proc-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.5px;
  }

  .proc-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.7;
  }

  /* Background Atmosphere */
  .proc-bg-system {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .proc-blueprint {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vh;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(rgba(199,0,7,0.06) 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    opacity: 0.15;
    mask-image: radial-gradient(circle, white 0%, transparent 80%);
  }

  .proc-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(199,0,7,0.03) 50%, transparent);
    height: 300px;
    animation: scanlineAnim 12s linear infinite;
  }

  @keyframes scanlineAnim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
  }

  .proc-particles-v2 {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* Responsive Mobile Layout */
  @media (max-width: 1200px) {
    .proc-pipeline-wrapper { padding: 0 40px; }
    .proc-card { width: 220px; padding: 25px 20px; }
    .proc-card-title { font-size: 18px; }
  }

  @media (max-width: 1024px) {
    #process {
      padding: 80px 0;
      min-height: auto;
    }
    .proc-pipeline-wrapper { padding: 0 20px; }
    .proc-header { margin-bottom: 50px; }
    .proc-h2 { font-size: clamp(32px, 5vw, 40px); }
    .proc-subtitle { font-size: 16px; padding: 0 20px; }
    
    .proc-pipeline-container {
      flex-direction: column;
      gap: 50px;
      padding-left: 20px;
      margin-top: 40px;
      min-height: auto;
    }
    
    .proc-track {
      width: 2px;
      height: 100%;
      top: 0;
      left: 36px;
      transform: none;
    }
    
    .proc-track-progress {
      width: 100%;
      height: 0%;
      background: linear-gradient(180deg, transparent, var(--primary), var(--primary-bright));
    }
    
    .proc-step-unit {
      flex-direction: row !important;
      align-items: flex-start !important;
      justify-content: flex-start !important;
      gap: 20px;
      width: 100%;
      height: auto;
    }
    
    .proc-node-wrapper {
      position: relative !important;
      top: 0 !important;
      left: 0 !important;
      transform: none !important;
      width: 32px;
      height: 32px;
      margin-top: 5px;
      flex-shrink: 0;
    }
    .proc-node { width: 32px; height: 32px; }
    .proc-node-num { font-size: 11px; }
    
    /* Reset Staggered Cards for Mobile */
    .proc-card, 
    .proc-step-unit:nth-of-type(odd) .proc-card, 
    .proc-step-unit:nth-of-type(even) .proc-card {
      position: relative !important;
      left: 0 !important;
      top: 0 !important;
      bottom: auto !important;
      transform: translateX(30px) !important;
      margin: 0 !important;
      width: calc(100% - 60px) !important;
      max-width: none;
      text-align: left;
      padding: 25px 20px;
      opacity: 0.3;
    }
    
    .proc-step-unit.active .proc-card,
    .proc-step-unit:nth-of-type(odd).active .proc-card,
    .proc-step-unit:nth-of-type(even).active .proc-card {
      transform: translateX(0) !important;
      opacity: 1;
    }
    
    .proc-card-icon {
      margin: 0 0 15px 0;
      width: 35px;
      height: 35px;
    }
  }
  @media (max-width: 768px) {
    .proc-pipeline-container { padding-left: 10px; }
    .proc-track { left: 26px; }
    .proc-card,
    .proc-step-unit:nth-of-type(odd) .proc-card, 
    .proc-step-unit:nth-of-type(even) .proc-card { 
      width: calc(100% - 40px) !important; 
      padding: 20px;
    }
  }


  /* INDUSTRIES */
  #industries { padding: 150px 100px; position: relative; }
  .ind-h2 { text-align: center; font-size: 60px; font-weight: 800; margin-bottom: 80px; letter-spacing: -2px; color: #fff; }
  .ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .ind-card {
    padding: 50px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .ind-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    background: rgba(255,255,255,0.08); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(199,0,7,0.15); 
    border-color: rgba(255,255,255,0.2); 
  }
  .ind-icon { width: 50px; height: 50px; margin: 0 auto 25px; color: var(--primary); }
  .ind-name { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: #fff; }

  /* INSIGHT */
  #insight { padding: 150px 100px; background: rgba(5, 5, 5, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: center; color: #fff; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); }
  .insight-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80vw; height: 40vw; background: radial-gradient(circle, rgba(199,0,7,0.15) 0%, transparent 70%); filter: blur(100px); }
  .insight-quote { font-size: 40px; font-weight: 700; max-width: 1000px; margin: 0 auto 40px; line-height: 1.4; position: relative; z-index: 10; }
  .insight-quote span { color: var(--primary); }
  .insight-author { font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: 5px; color: rgba(255,255,255,0.4); text-transform: uppercase; }

  /* CONTACT SECTION */
  #contact { padding: 150px 100px; position: relative; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; }
  .contact-h2 { font-size: 60px; font-weight: 800; line-height: 1.1; margin-bottom: 30px; letter-spacing: -2px; color: #fff; }
  .contact-p { font-size: 18px; color: var(--text-mid); margin-bottom: 50px; }
  .contact-detail { display: flex; flex-direction: column; gap: 30px; }
  .cdet { display: flex; gap: 20px; align-items: flex-start; }
  .cdet-icon { width: 50px; height: 50px; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; color: var(--primary); border-radius: 4px; border: 1px solid rgba(255,255,255,0.05); }
  .cdet-label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; margin-bottom: 5px; }
  .cdet-value { font-size: 16px; font-weight: 600; color: #fff; }

  .contact-form {
    background: var(--bg-secondary);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-group { margin-bottom: 25px; }
  .form-group label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); display: block; margin-bottom: 10px; }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: var(--dark);
    color: #fff;
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 15px var(--glow-soft); }
  .form-submit {
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(199,0,7,0.2);
    transition: var(--transition);
  }
  .form-submit:hover { background: var(--primary-bright); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(199,0,7,0.4); }

  /* FOOTER */
  #footer { padding: 100px 100px 50px; background: rgba(5, 5, 5, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); color: #fff; position: relative; border-top: 1px solid rgba(255,255,255,0.05); }

  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 100px; margin-bottom: 80px; }
  .footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 25px;
  }
  .footer-tagline { color: rgba(255,255,255,0.4); max-width: 400px; }
  .footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--primary); margin-bottom: 30px; }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 15px; }
  .footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; }
  .footer-links a:hover { color: #fff; }
  .footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; color: rgba(255,255,255,0.3); font-size: 13px; }
  .footer-bottom span { color: var(--primary); }

  /* MODALS */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 100000; /* Ensure it's above everything */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .modal-overlay.active { 
    visibility: visible; 
    opacity: 1; 
    pointer-events: auto; 
  }

  .modal-slide-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #050505;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: row;
    box-shadow: -20px 0 50px rgba(0,0,0,0.9);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .modal-overlay.active .modal-slide-panel {
    transform: translateX(0);
  }

  .modal-left-col {
    flex: 1;
    height: auto;
    min-height: 100vh;
    position: relative;
    padding: 80px 100px;
    background: #050505;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .modal-grid-bg {
    position: absolute; inset: 0; opacity: 0.03; 
    background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); 
    background-size: 50px 50px;
    pointer-events: none;
  }
  .modal-left-content {
    position: relative;
    z-index: 2;
    overflow: visible;
    padding-right: 30px;
    max-height: none;
  }

  .modal-right-col {
    width: 420px;
    flex-shrink: 0;
    height: auto;
    min-height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid rgba(255,255,255,0.05);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
    overflow: visible;
  }
  
  /* Scrollbar for panel */
  .modal-slide-panel::-webkit-scrollbar { width: 6px; }
  .modal-slide-panel::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
  .modal-slide-panel::-webkit-scrollbar-thumb { background: rgba(199,0,7,0.4); border-radius: 10px; }
  .modal-slide-panel::-webkit-scrollbar-thumb:hover { background: var(--primary); }
  
  .modal-left-content, .modal-right-col {
    overscroll-behavior: contain;
  }
  
  .modal-close-new {
    position: absolute;
    top: 30px; right: 30px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  .modal-close-new:hover { background: var(--primary); border-color: var(--primary); transform: rotate(90deg); }
  .modal-close-new svg { width: 24px; height: 24px; stroke: #fff; stroke-width: 2; }
  
  .modal-h2 { font-size: 45px; font-weight: 800; margin-bottom: 30px; letter-spacing: -2px; line-height: 1.1; color: #fff; }
  .modal-desc { font-size: 16px; color: var(--text-mid); }
  
  /* SINGLE PRICING & CONTACT FORM */
  .pricing-card-single {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
  }
  .pricing-card-single:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-5px); }
  .pc-label { font-size: 12px; color: var(--text-mid); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; font-family: 'Space Grotesk', sans-serif;}
  .pc-price { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 15px; }
  .pc-btn { display: block; width: 100%; padding: 12px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary); text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border-radius: 4px; transition: all 0.3s; }
  .pc-btn:hover { background: var(--primary); color: #fff; box-shadow: 0 10px 20px rgba(199,0,7,0.3); }

  .modal-contact-form {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
  }
  .f-group { margin-bottom: 12px; position: relative; }
  .f-group input, .f-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: all 0.3s;
  }
  .f-group input:focus, .f-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(199,0,7,0.15);
    outline: none;
    background: rgba(0,0,0,0.6);
  }
  .f-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s;
    cursor: pointer;
  }
  .f-submit:hover {
    background: var(--primary-bright);
    box-shadow: 0 10px 20px rgba(199,0,7,0.4);
    transform: translateY(-2px);
  }

  @media (max-width: 1024px) {
    .modal-overlay {
      display: flex !important;
      align-items: flex-start !important; /* Prevents top cutoff when content is tall */
      justify-content: center !important;
      padding: 40px 15px !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch !important;
    }
    .modal-slide-panel {
      position: relative !important;
      top: auto !important;
      right: auto !important;
      left: auto !important;
      bottom: auto !important;
      margin: auto !important; /* Centers it within the flex-start container if smaller */
      width: 100% !important;
      max-width: 800px !important;
      height: auto !important;
      max-height: none !important; /* Let it grow naturally inside scrollable overlay */
      flex-direction: column !important;
      transform: translateY(20px) !important;
      opacity: 0 !important;
      visibility: hidden !important;
      transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
      border-radius: 20px !important;
      overflow: visible !important; /* Remove internal scroll to prevent double scrollbars */
      box-shadow: 0 30px 60px rgba(0,0,0,0.8) !important;
    }
    .modal-overlay.active .modal-slide-panel {
      transform: translateY(0) !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
    .modal-left-col { height: auto !important; min-height: unset !important; padding: 40px 30px 20px !important; width: 100% !important; }
    .modal-left-content { max-height: none !important; overflow: visible !important; padding-right: 0 !important; }
    .modal-right-col { width: 100% !important; height: auto !important; min-height: unset !important; padding: 20px 30px 40px !important; border-left: none !important; border-top: 1px solid rgba(255,255,255,0.05) !important; background: #0a0a0a !important; }
    .modal-close-new { top: 15px !important; right: 15px !important; position: absolute !important; width: 40px !important; height: 40px !important; }
    .modal-h2 { font-size: 32px !important; }
    .modal-pricing { display: grid !important; grid-template-columns: 1fr !important; gap: 15px !important; }
  }
  .modal-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .price-card {
    padding: 40px 30px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 4px;
  }

  /* WHATSAPP FLOAT */
  .wa-float {
    position: fixed;
    bottom: 40px; right: 40px;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
  }
  .wa-float:hover { transform: scale(1.1) rotate(10deg); }
  .wa-float svg { width: 30px; height: 30px; fill: #fff; }

  /* =========================================
     COMPREHENSIVE RESPONSIVE LAYOUT SYSTEM
     ========================================= */

  @media (max-width: 1440px) {
    section { padding: 110px 80px; }
    .hero-content { padding: 0 80px; }
  }
  
  @media (max-width: 1024px) {
    /* Hide Animations & Canvas */
    canvas { display: none !important; }
    
    #navbar { padding: 15px 20px; }
    #navbar.scrolled { padding: 10px 20px; }
    .nav-logo img { height: 40px; }
    #navbar.scrolled .nav-logo img { height: 35px; }
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    
    section { padding: 90px 20px; }
    .hero-content { 
      padding: 0 20px; 
      grid-template-columns: 1fr; 
      text-align: center;
      gap: 40px;
    }
    .hero-left { order: 2; align-items: center; display: flex; flex-direction: column; }
    .hero-right { order: 1; }
    .hero-tag { justify-content: center; }
    .hero-tag::before { display: none; }
    
    /* Perfect Mobile Typography Scaling */
    .hero-h1 { font-size: clamp(28px, 7vw, 42px); line-height: 1.1; margin-bottom: 20px; }
    .hero-sub { margin-left: auto; margin-right: auto; max-width: 100%; font-size: 14px; margin-bottom: 30px; }
    
    /* Stack & Center Buttons */
    .hero-actions { flex-direction: column; width: 100%; align-items: center; gap: 15px; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 260px; justify-content: center; }
    
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  }

  /* ═══════════════════════════════════════════
     MOBILE RESPONSIVE SYSTEM — max-width: 768px
     ALL changes ONLY affect mobile screens
     ═══════════════════════════════════════════ */
  @media (max-width: 768px) {
    /* GLOBAL BASE */
    html, body { 
      overflow-x: hidden !important; 
      width: 100% !important; 
      position: relative;
    }
    * { box-sizing: border-box; }
    
    section {
      padding: 60px 15px !important;
      overflow: hidden !important;
      width: 100% !important;
    }

    /* TYPOGRAPHY SCALING */
    h1, .hero-h1 { font-size: 32px !important; line-height: 1.2 !important; }
    h2, .services-h2, .ind-h2, .contact-h2, .proc-h2, .about-h2 { 
      font-size: 26px !important; 
      line-height: 1.2 !important; 
      letter-spacing: -0.5px !important;
      margin-bottom: 20px !important;
      text-align: left !important;
    }
    p, .hero-sub, .about-p, .svc-card p, .proc-card-desc, .contact-p, .footer-tagline {
      font-size: 15px !important;
      line-height: 1.6 !important;
    }

    /* ── NAVBAR ── */
    #navbar {
      padding: 15px !important;
      height: 70px !important;
    }
    .nav-logo img { height: 35px !important; }
    .nav-links, .nav-cta { display: none !important; }
    .mobile-menu-btn {
      display: flex !important;
      width: 44px; height: 44px;
      align-items: center; justify-content: center;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px;
    }

    /* ── HERO SECTION ── */
    #hero {
      padding-top: 100px !important;
      min-height: 100svh !important;
      display: flex !important;
      align-items: center !important;
    }
    .hero-content {
      grid-template-columns: 1fr !important;
      gap: 30px !important;
    }
    .hero-left { order: 1; padding: 0 !important; }
    .hero-right { display: none !important; }
    .hero-video-bg { opacity: 0.6 !important; }
    .hero-btns {
      flex-direction: column !important;
      width: 100% !important;
      gap: 12px !important;
    }
    .btn-primary, .btn-ghost {
      width: 100% !important;
      justify-content: center !important;
      padding: 16px !important;
    }
    .hero-scroll, .tech-grid, .hero-scanlines { display: none !important; }

    /* ── ABOUT SECTION ── */
    .about-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .about-visual { height: 250px !important; margin-bottom: 20px !important; }
    .about-features { grid-template-columns: 1fr !important; gap: 12px !important; }
    .about-cta { width: 100% !important; justify-content: center !important; }

    /* ── SERVICES SECTION ── */
    .services-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .svc-card { padding: 30px 20px !important; }
    .svc-discipline-strip { align-items: flex-start !important; }
    .svc-disciplines { justify-content: flex-start !important; gap: 8px !important; }
    .disc-chip { padding: 8px 15px !important; font-size: 11px !important; }

    /* ── WHY CHOOSE US (CINEMATIC) ── */
    #why-cinematic {
      padding: 0 !important;
      height: auto !important;
      overflow: visible !important;
    }
    .why-pinned-container {
      display: block !important;
      height: auto !important;
      padding: 60px 15px !important;
    }
    .why-left {
      width: 100% !important;
      position: relative !important;
      top: auto !important;
      padding: 0 !important;
    }
    .why-right {
      display: none !important; /* Hide 3D canvas on mobile for performance and layout */
    }
    .why-content-wrapper {
      display: flex !important;
      flex-direction: column !important;
      gap: 20px !important;
      margin-top: 30px !important;
    }
    .why-feature-step {
      position: relative !important;
      opacity: 1 !important;
      visibility: visible !important;
      transform: none !important;
      filter: none !important;
      padding: 25px !important;
      background: rgba(255,255,255,0.03) !important;
      border: 1px solid rgba(255,255,255,0.05) !important;
      border-radius: 12px !important;
      margin: 0 !important;
    }
    .why-feature-step.active {
      border-color: var(--primary) !important;
      background: rgba(199,0,7,0.05) !important;
    }
    .why-progress, .why-progress-bar { display: none !important; }

    /* ── PROCESS SECTION ── */
    .proc-pipeline-container {
      flex-direction: column !important;
      gap: 40px !important;
      padding-left: 20px !important;
    }
    .proc-track {
      left: 15px !important;
      width: 2px !important;
    }
    .proc-step-unit {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 15px !important;
    }
    .proc-card {
      width: 100% !important;
      margin-left: 25px !important;
      padding: 20px !important;
      transform: none !important;
      opacity: 1 !important;
    }

    /* ── INDUSTRIES ── */
    .ind-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .ind-card { padding: 30px 20px !important; text-align: left !important; align-items: flex-start !important; }

    /* ── CONTACT ── */
    .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .contact-form { padding: 25px 15px !important; }
    .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
    .form-submit { width: 100% !important; }

    /* ── FOOTER ── */
    .footer-grid { grid-template-columns: 1fr !important; text-align: left !important; gap: 30px !important; }
    .footer-bottom { 
      flex-direction: column !important; 
      text-align: center !important; 
      gap: 10px !important; 
      padding: 20px 0 !important;
    }

    /* ── MODAL REFINEMENT ── */
    .modal-overlay {
      display: flex !important;
      align-items: flex-start !important;
      justify-content: center !important;
      padding: 40px 15px !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch !important;
    }
    .modal-slide-panel {
      position: relative !important;
      width: 100% !important;
      max-width: 450px !important;
      margin: auto !important;
      height: auto !important;
      max-height: none !important;
      flex-direction: column !important;
      border-radius: 16px !important;
      left: auto !important;
      right: auto !important;
      top: auto !important;
      transform: translateY(20px) !important;
      opacity: 0 !important;
      visibility: hidden !important;
      transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
      box-shadow: 0 30px 60px rgba(0,0,0,0.8) !important;
      display: flex !important;
      overflow: visible !important;
    }
    .modal-overlay.active .modal-slide-panel {
      transform: translateY(0) !important;
      opacity: 1 !important;
    }
    .modal-left-col {
      width: 100% !important;
      height: auto !important;
      min-height: unset !important;
      padding: 40px 20px 20px !important;
      flex: none !important;
      display: block !important;
      position: relative !important;
    }
    .modal-left-content { 
      padding-right: 0 !important; 
      max-height: none !important; 
      overflow: visible !important; 
    }
    .modal-h2 { font-size: 24px !important; margin-bottom: 10px !important; line-height: 1.2 !important; }
    .modal-desc { font-size: 14px !important; line-height: 1.6 !important; margin-bottom: 10px !important; }
    
    .modal-right-col {
      width: 100% !important;
      flex: 1 1 auto !important;
      padding: 20px !important;
      height: auto !important;
      max-height: none !important;
      overflow: visible !important;
      border-left: none !important;
      border-top: 1px solid rgba(255,255,255,0.1) !important;
      background: #0a0a0a !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 20px !important;
    }

    .modal-close-new {
      top: 12px !important;
      right: 12px !important;
      width: 40px !important;
      height: 40px !important;
      background: var(--primary) !important;
      border-radius: 50% !important;
      z-index: 100 !important;
    }
    .modal-close-new svg { width: 18px !important; height: 18px !important; }
    
    .pricing-card-single { 
      padding: 15px !important; 
      margin-bottom: 10px !important;
      width: 100% !important;
    }
    .pc-price { font-size: 26px !important; }
    
    .modal-contact-form { width: 100% !important; margin-top: 10px !important; }
    .f-group { margin-bottom: 12px !important; width: 100% !important; }
    .f-group input, .f-group textarea {
      width: 100% !important;
      padding: 12px 15px !important;
      font-size: 14px !important;
      border-radius: 8px !important;
      display: block !important;
    }
    .f-submit { width: 100% !important; padding: 15px !important; font-size: 14px !important; }

    /* MISC */
    .wa-float { width: 55px !important; height: 55px !important; bottom: 20px !important; right: 20px !important; z-index: 999 !important; }
    canvas.section-canvas { display: none !important; } /* Optimization */
  }


  .services-h2, .ind-h2, .contact-h2 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2px;
    color: #fff;
    position: relative;
    z-index: 10;
    line-height: 1.1;
  }
  .services-h2, .ind-h2 { text-align: center; }
  /* ── SERVICES DISCIPLINE STRIP ── */
  .svc-discipline-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 10;
  }
  .svc-disciplines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .disc-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 22px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    cursor: default;
  }
  .disc-chip:hover {
    color: #fff;
    background: rgba(199,0,7,0.12);
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 28px rgba(199,0,7,0.22);
  }
  .disc-chip svg {
    width: 15px; height: 15px;
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s;
  }
  .disc-chip:hover svg { opacity: 1; }
  .disc-divider {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    box-shadow: 0 0 8px var(--primary);
    flex-shrink: 0;
  }
  .svc-aiop-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    padding: 8px 28px 8px 8px;
    border: 1px solid rgba(199,0,7,0.25);
    border-radius: 40px;
    background: rgba(199,0,7,0.06);
    box-shadow: 0 0 30px rgba(199,0,7,0.1), inset 0 0 20px rgba(199,0,7,0.04);
  }
  .svc-aiop-badge .aiop-dot {
    width: 28px; height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px var(--primary);
    flex-shrink: 0;
  }
  .svc-aiop-badge .aiop-dot svg { width: 14px; height: 14px; color: #fff; }
  .contact-h2 { text-align: left; }