@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
    font-family: 'NeueMachina';
    src: url('../assets/NeueMachina-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #0a0a0a;
    --off-white: #f5f4f0;
    --mid: #8a8a8a;
    --accent: #4460f0;
    --accent-light: #e8ecff;
    --border: rgba(0,0,0,0.1);
    --card-bg: #fff;
    --headingFont: 'NeueMachina';
     --bs-gutter-x: 1.5rem;
  }

html { scroll-behavior: smooth; }
body {
  font-family: 'Urbanist', sans-serif;
  background: var( --card-bg);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.grey-bg {
    background: var(--off-white)
 }
  /* ─── HERO FULL-SCREEN LUNEX STYLE ─── */


  /* Vertical sidebar */
  .hero-sidebar {
    position: absolute;
    top: 0; left: 0;
    width: 56px;
    height: 95vh;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
  }

  .sidebar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--black);
    margin-top: 30px;
  }

  .sidebar-logo-text {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.2em;
    line-height: 1;
    color: var(--black);
  }

  .sidebar-logo-icon {
    width: 28px; 
 
  }

  .sidebar-logo-icon  img {
    width: 100%;
    display: block;
  }

  .sidebar-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    list-style: none;
  }

  .sidebar-social a {
    color: var(--black);
    opacity: 1;
    transition: color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-social a:hover { color: var(--accent) }

  .sidebar-dots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: auto;
  }

  .sidebar-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--black);
    opacity: 0.25;
  }

  /* Top-right menu icon */
  .hero-topbar {
    position: fixed;
    top: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background-color: transparent;
    width: 100%;
    justify-content: space-between;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  }

    .hero-topbar_logo {
      display: flex;
      align-items: center;
       text-decoration: none;
       gap: 10px;
       opacity: 0;
       transition: opacity 0.25s ease;
    }

  .hero-topbar_logo .sidebar-logo-text {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .hero-topbar.scrolled {
    background-color: var(--card-bg);
    box-shadow: 0 1px 0 var(--border);
    padding: 16px 32px;
  }

   .scrolled  .hero-topbar_logo {
    opacity: 1;
   }

  .topbar-nav {
    display: flex;
    gap: 28px;
    list-style: none;
  }


  .topbar-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity .2s;
  }

  .topbar-nav a:hover { opacity: 1; }

  .topbar-menu {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    background: none;
    transition: background .2s;
    opacity: 0;
  }

  .topbar-menu:hover { background: var(--accent-light); }

  /* Hero wrapper */
  .hero {
    min-height: 100vh;
    padding-left: 56px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    overflow: hidden;
  }

  .hero:before {
  content: "";
  position: absolute;
 left: 33.33%;
  top: 0;
  width: 1px;
  height: 80%;
  background: linear-gradient(
    to bottom,
    #9a9a9a,
    transparent
  );
}
  
  .hero:after {
  content: "";
  position: absolute;
 left: 66.66%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
   #9a9a9a,
    transparent
  );
}

  /* Giant headline */
  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 60px 80px 60px;
  }
    .hero{
      padding-left: 137px;
    }

  .hero h1 {
    font-family: 'NeueMachina', sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 81px;
    color: var(--black);
  
  }

  .hero h1 .line-indent { display: block; padding-left: clamp(60px, 7vw, 120px); }
  .hero h1 .line-indent2 { display: block; padding-left: clamp(30px, 4vw, 60px); }

  .hero-sub-block {
    position: absolute;
    bottom: 100px;
    left: 116px;
    max-width: 280px;
    z-index: 3;
    font-family: Urbanist;
   
  }

  .hero-sub-block p {
    font-size: 14px;
    color: var(--black);
    line-height: 1.3;
  }

  /* Dashboard card floating over h1 */
  .hero-dash-float {
    position: absolute;
    right: 60px;
    bottom: 0;
    width: clamp(280px, 32vw, 440px);
    z-index: 4;
    background: var(--card-bg);
    border-radius: 16px 16px 0 0;
    padding: 20px;
    box-shadow: 0 -4px 60px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    border-bottom: none;
  }



  .dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .dash-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
  }

  .dash-dots { display: flex; gap: 5px; }
  .dash-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }

  .dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }



  .dash-stat {
    background: var(--off-white);
    border-radius: 8px;
    padding: 10px 8px;
  }

  .dash-stat-label { font-size: 9px; color: var(--mid); margin-bottom: 3px; }
  .dash-stat-val { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; }
  .dash-stat-delta { font-size: 9px; color: #22c55e; }

  .dash-chart {
    height: 64px;
    background: linear-gradient(135deg, var(--accent-light), #f0f4ff);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 6px;
    gap: 3px;
    overflow: hidden;
  }

  .bar {
    flex: 1;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
    opacity: 0.65;
    animation: grow .8s ease forwards;
    transform-origin: bottom;
  }

  @keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  /* Floating CTA circle (Lunex style) */
  .hero-cta-circle {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
  }

  .cta-circle {
    width: 100px; height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    gap: 4px;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 8px 32px rgba(68,96,240,0.3);
     font-family: Urbanist, sans-serif;
  }

  .cta-circle:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(68,96,240,0.45); }

  .cta-circle svg {  font-family: Urbanist, sans-serif; width: 18px; height: 18px; }
  .cta-circle span { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; }

  .hero-cta-desc {
    max-width: 220px;
    font-size: 13px;
    color: var(--back);
    text-align: right;
    line-height: 1.5;
        font-family: Urbanist, sans-serif;
  }


  /* btn-primary used in other sections */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--black);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    transition: background .2s, transform .15s;
  }

  .btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

  .btn-ghost {
    font-size: 14px;
    color: var(--mid);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
  }

  .btn-ghost:hover { color: var(--black); }

  /* nav hidden (sidebar replaces it) */
  nav { display: none; }

  /* ─── SECTION WRAPPER ─── */
  .section { max-width: 1200px; margin: 0 auto; padding: 100px 48px; }

  .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 16px;
  }

  .section-title {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(72px, 4vw, 52px);
    font-weight: 400;

    line-height: 1.1;
  }

  .section-title em { font-style: normal; color: var(--accent); }

  hr.divider { border: none; border-top: 1px solid var(--border); margin: 0 48px; }

  /* ─── SERVICES ─── */
  .services-grid {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 60px;
    align-items: start;
  }


  .service-list { margin-top: 48px; }

  .service-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
    cursor: default;
    padding-left: 70px;
    position: relative;
  }

  .service-item:first-child { border-top: 1px solid var(--border); }

  .service-icon {
    top: 50%;
    left: 0px;
    position: absolute;
    transform: translateY(-50%);
  }

  .service-content h3 {
   font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
  }

  .service-content p { 
    font-size: 16px; 
    color: var(--black); 
    line-height: 1.6; 
     font-family: 'Urbanist', sans-serif;
  }

  .service-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
    transition: background .2s, color .2s, border-color .2s;
    margin-top: 4px;
    flex-shrink: 0;
  }

  .service-item:hover .service-arrow {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }

  /* ─── WHY US ─── */
  .why-bg {
   
    color:var(--black);
  }



  .why-section { 
    max-width: 1200px;
     margin: 0 auto; 
     padding: 100px 48px; 
     align-items: center!important;
    }

  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 64px;
    align-items: center;
  }

  .why-desc {
        font-size: 24px;
        text-align: end;
  }

  .why-left .section-title {  color: var(--black); }
  .why-left .section-title em { color: var(--accent); }

  .why-reasons {
   display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    grid-column-start: 1;
    grid-column-end: -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .reason {
    padding: 18px;
  }

  .reason:hover { border-color: rgba(68,96,240,0.5); }

  .reason-num {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 3px;
  }

  .reason h3 {
    font-family: 'NeueMachina', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--back);
    margin-bottom: 10px;
  }

  .reason p { 
    font-size: 16px; 
    color: var(--black); 
    line-height: 1.6; 
        font-family: 'Urbanist', sans-serif;
  }

  /* ─── CASE STUDIES — horizontal fence accordion ─── */
  .cases-section {
    padding: 100px 0 0;
    overflow: hidden;
  }

  .cases-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    padding: 0 48px 0 104px;
  }



  /* The fence row */
.fence {
  display: flex;
  width: 100%;
  height: 560px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

  /* Each plank */
.fence-panel {
  flex: 0 0 80px;           /* collapsed width */
  border-right: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: flex 0.55s cubic-bezier(0.77,0,0.175,1),
                background-color 0.4s ease;

  display: flex;
  flex-direction: column;
}

.fence-panel:first-child { 
    
}

  /* Active plank expands */
  .fence-panel.active {
    flex: 1 1 0%;             /* takes all remaining space */
    cursor: default;
  }

  /* Dark bg on active, set via JS from data-bg */


  /* ── Collapsed state: number top + rotated label bottom ── */
  .fence-collapsed {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0 28px;
    opacity: 1;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  .fence-panel.active .fence-collapsed {
    opacity: 0;
    pointer-events: none;
  }

  .fence-num {
    font-family: 'NeueMachina', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(0,0,0,0.55);
    line-height: 1;
  }

  .fence-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0,0,0,0.85);
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  /* ── Expanded state ── */
  .fence-expanded {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 40px 40px;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
    pointer-events: none;
    min-width: 340px;
  }

  .fence-panel.active .fence-expanded {
    opacity: 1;
    pointer-events: auto;
  }

  .fence-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .fence-bottom {
      display: flex;
      align-items: flex-start;
      gap: 30px
  }

  .fence-num-lg {
    font-family: 'NeueMachina', sans-serif;
    font-size: 60px;
    font-weight: 400;
    color: var(--black);
    line-height: 1;
  }

  .fence-badge {
    display: inline-block;
    color: var(--black);
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    font-weight: 400;
    background-color: var(--off-white);
    padding: 4px 18px;
    border-radius: 15px;
  }

  .fence-badge-bottom{
 display: flex;
 align-items: center;
 gap: 10px;
    color: var(--black);
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;

  }

    .fence-badge-bottom span {
      font-weight: 600;
      color: var(--accent);
      font-size: 27px;
    }

  .fence-body {
    display: grid;
   
    padding: 0;
    gap: 20px;
  }

  .fence-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    text-align: center !important;
  }
  .fence-image img {
    width: 100%;
    display: block;
  }

  .fence-title {
    font-family: 'NeueMachina', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
  }

  .fence-sub {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
  color: var(--black);
  display: inline-block;
    margin-bottom: 20px;
    padding: 5px 10px;
    background: var(--accent-light);
    border-radius: 20px;
  }

  .fence-desc {
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    color: var(--black);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 20px;
  }

   .fence-desc .tech {
        font-size: 13px;
            color: var(--black);
            border-left: 3px solid var(--mid);
            padding-left: 10px;
            margin-bottom: 10px;
            
   }


  .fence-desc ul {
    margin-left: 30px;
    padding: 0;
  }

  .fence-link {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .fence-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08);
  }

  /* ─── WHO WE WORK WITH ─── */
  .who-section {
    background-color: var(--off-white);
    max-width: 100%;
  }
  .who-grid {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1200px;
    margin:0 auto;
  }


  .who-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 48px;
  }

  .who-card {
    padding: 28px 14px;
    transition: border-color .2s, transform .2s;
    border-right: 1px solid var(--mid);
  }

    .who-card:last-child {
      border: 0;
    }

  .who-card:hover { transform: translateY(-3px); }

  .who-number {
    width: 44px; 
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
    margin-bottom: 45px;
    color: #8A8c9a;
    line-height: 1;
    font-size: 54px;
    font-weight: 500;
    font-family: 'Urbanist', sans-serif;
  }

  .who-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
  }

  .who-card p { font-size: 16px; color: var(--mid); line-height: 1.6; }

  /* ─── CTA SECTION ─── */
  .cta-bg {

  }


  .cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
  }

  .cta-title {
    font-family: 'NeueMachina', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--black);
  }

  .cta-title em { font-style: normal; color: var(--accent); }

  .cta-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    margin-top: 12px;
    max-width: 440px;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 100px;
    white-space: nowrap;
    transition: transform .15s, box-shadow .2s;
  }

  .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(68,96,240,0.4); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--off-white);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
  }

  .single-footer-widget {
    display: grid;
  }

  .location {
    font-family: Urbanist, sans-serif;
    font-size: 13px;
  }

  footer .number {
    color: var(--blackColor);
    transition: var(--transition);
    text-decoration: none;
    outline: 0px !important;
    font-size: 13px;
  }

  .footer-logo {
 
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .footer-logo img {
    max-width: 100px
  }

  .footer-links { display: flex; gap: 28px; list-style: none; }
  .footer-links a { font-size: 13px; color: var(--black); text-decoration: none; transition: color .2s; }
  .footer-links a:hover { color: var(--accent) }

  .footer-copy { font-size: 12px; color:var(--black); }

  /* ─── SCROLL INDICATOR ─── */
  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mid);
    font-weight: 600;
    margin-top: 56px;
  }


  .scroll-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bob 2s ease-in-out infinite;
  }

  @keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

  /* ─── SIDE LABELS ─── */
  .side-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--mid);
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    user-select: none;
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .hero, .services-grid, .why-grid, .who-grid, .cases-grid, .cta-section {
      grid-template-columns: 1fr;
    }
    .section, .why-section, .cta-section { padding: 64px 24px; }
    footer { flex-direction: column; gap: 20px; text-align: center; padding: 32px 24px; }
    .hero { padding: 120px 24px 60px; }
    .why-reasons { grid-template-columns: 1fr; }
    .who-cards { grid-template-columns: 1fr; }
    .cases-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .side-label { display: none; }
    hr.divider { margin: 0 24px; }
  }