



/* ── GLOBAL ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  line-height: 1.2;
  color: #f1f5f9;
}

h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { color: #94a3b8; }

a { color: #a78bfa; }

/* ── SCROLL PADDING (offset for sticky header) ── */
[id] { scroll-margin-top: 80px; }



 /* ── RESET ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-size: 16px; scroll-behavior: smooth; }
    body {
      font-family: system-ui, -apple-system, sans-serif;
      background-color: #1E1E21;
      color: #e2e8f0;
      overflow-x: hidden;
      line-height: 1.6;
    }
    img, video { max-width: 100%; display: block; }



    h1 {
     font-size: clamp(2rem, 5vw, 3.5rem);
     font-weight: 700;
     line-height: 1.2;
     min-height: 1.2em; /* ya jo bhi expected height ho */
   }

    /* ── LOADER ── */
    #loader {
      position: fixed;
      inset: 0;
      background: #1E1E21;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }
    #loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

    #loader-logo {
      width: 160px;
      animation: loaderPulse 1s ease-in-out infinite alternate;
    }
    @keyframes loaderPulse {
      from { opacity: 0.4; transform: scale(0.96); }
      to   { opacity: 1;   transform: scale(1);    }
    }

    /* ── HEADER — absolute so hero bg shows through ── */
#site-header {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: transparent;
}

    /* Sticky clone that appears on scroll */
    #site-header.sticky {
      position: fixed;
      background: rgba(20, 20, 24, 0.151);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 1px 0 rgba(255,255,255,0.07);
      animation: slideDown 0.3s ease forwards;
    }
    @keyframes slideDown {
      from { transform: translateY(-100%); }
      to   { transform: translateY(0); }
    }

    .nav-inner {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    /* ── LOGO ── */
    #header-logo {
      height: 70px;
      width: auto;
      flex-shrink: 0;
      opacity: 1;
      transform: translateY(-8px);
      transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s;
    }
    #header-logo.visible { opacity: 1; transform: translateY(0); }

    /* ── DESKTOP NAV ── */
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2.25rem;
      list-style: none;
    }
    .nav-links a {
      color: #cbd5e1;
      text-decoration: none;
      font-size: 16px;
      letter-spacing: 0.02em;
      position: relative;
      transition: color 0.2s;
      white-space: nowrap;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 1.5px;
      background: linear-gradient(90deg, #6366f1, #a78bfa);
      transition: width 0.25s ease;
      border-radius: 2px;
    }
    .nav-links a:hover { color: #fff; }
    .nav-links a:hover::after { width: 100%; }

    /* CTA */
    .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.5rem 2.2rem !important;

  color: #fff !important;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;

  border: none;
  border-radius: 999px;

  background: linear-gradient(
    180deg,
    #2d8cff 0%,
    #1f7df6 45%,
    #1672f0 100%
  );

  box-shadow:
    0 0 30px rgba(45, 140, 255, 0.45),
    0 8px 24px rgba(0, 90, 255, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);

  position: relative;
  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.03)
  );

  pointer-events: none;
}

/* .nav-cta::after {
  content: "";
  position: absolute;
  top: 6%;
  left: 8%;
  width: 84%;
  height: 42%;

  border-radius: 999px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0)
  );

  pointer-events: none;
} */

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 40px rgba(45, 140, 255, 0.6),
    0 12px 30px rgba(0, 90, 255, 0.45),
    inset 0 1px 1px rgba(255,255,255,0.4);
}

    /* ── HAMBURGER ── */
    #menu-btn {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px; height: 40px;
      padding: 8px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px;
      cursor: pointer;
      flex-shrink: 0;
    }
    #menu-btn span {
      display: block;
      height: 1.5px;
      background: #e2e8f0;
      border-radius: 2px;
      transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    }
    #menu-btn span:nth-child(3) { width: 65%; }
    #menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    #menu-btn.open span:nth-child(2) { opacity: 0; }
    #menu-btn.open span:nth-child(3) { width: 100%; transform: translateY(-6.5px) rotate(-45deg); }

    /* ── MOBILE DRAWER ── */
    #mobile-menu {
      display: none;
      position: fixed;
      top: 72px; left: 0; right: 0;
      background: rgba(18, 18, 22, 0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-top: 1px solid rgba(255,255,255,0.07);
      padding: 1rem 2rem 2rem;
      flex-direction: column;
      z-index: 99;
    }
    #mobile-menu.open { display: flex; }

    #mobile-menu a {
      color: #cbd5e1;
      text-decoration: none;
      font-size: 1rem;
      padding: 0.9rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      transition: color 0.2s, padding-left 0.2s;
    }
    #mobile-menu a:last-child { border-bottom: none; }
    #mobile-menu a:hover { color: #fff; padding-left: 8px; }
    #mobile-menu .nav-cta {
      margin-top: 1rem;
      text-align: center;
      padding: 0.8rem 1.25rem !important;
      border-bottom: none !important;
      border-radius: 6px;
    }

    /* ── SKIP LINK ── */
    /* .skip-link {
      position: absolute;
      top: -100%; left: 1rem;
      background: #6366f1; color: #fff;
      padding: 0.5rem 1rem; border-radius: 4px;
      z-index: 9999; text-decoration: none; font-size: 0.875rem;
    }
    .skip-link:focus { top: 1rem; } */

    

















 /* ── HERO — takes full viewport, header overlaps it ── */
#hero {
  /* min-height: 600px; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 3rem;
  position: relative;
  overflow: hidden; /* showcase grid/image fades, shouldn't overflow page */
}
#hero::after{
  width: 100%;
  height: 200px;
  background: linear-gradient(0deg, #1E1E21, rgba(0, 0, 255, 0));
  /* background: red; */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 500px;
  pointer-events: none;
  z-index: 0;
}

/* Content above canvas */
#hero > .hero-content { position: relative; z-index: 1; width: 100%; }

/* ── Showcase area: grid background + floating code screenshot ── */
.hero-showcase {
  position: relative;
  margin: 5rem auto 0;
  width: 100%;
  max-width: 90%;
  height: 380px;
}

/* Grid background image — sits behind, fades at edges */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: url('../image/element/herobg1.png'); /* ← your grid image here */
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  z-index: 0;
}

/* Code screenshot — floats above the grid, overlapping upward */
.hero-code-img {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 1;
  /* border: 1px solid; */
  overflow: hidden; /* scaled box safely contain ho */
}

/* ── Responsive: shrink showcase + code image width on smaller screens ── */
/* Media queries se sirf .hero-showcase aur .hero-code-img ki target WIDTH control karo, transform mat lagao */
@media (max-width: 768px) {
  .hero-showcase {
    height: 280px;
    margin-top: 2rem;
    width: 100%;
  }
  .hero-code-img {
    width: 88%;
  }
}

@media (max-width: 480px) {
  .hero-showcase {
    height: 148px;
    margin-top: 5.5rem;
  }
  .hero-code-img {
    width: 92%;
    border-radius: 6px;
  }

  .btn-outline {
    display: inline-block;
    padding: 0.5rem 0.5rem;
  }
}
.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgb(255, 255, 255);
  color: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  color: #fff;
}





/* hero end */




/* client probblem */



#problems {
  /* background: #1a1a1d; */
  padding: 5rem 1.5rem 6rem;
}

.problems-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.problems-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.problems-heading h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.stack-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.stack-sticky-image {
  position: sticky;
  top: 12rem;
  align-self: start;
}

.stack-sticky-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.stack-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-card {
  position: sticky;
  background: #232328;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
}

.stack-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.stack-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.stack-card-link {
  font-size: 0.8rem;
  color: #a78bfa;
  text-decoration: none;
  margin-top: 0.25rem;
}

.stack-card-link:hover {
  text-decoration: underline;
}

.stack-card-num {
  position: absolute;
  right: 1.25rem;
  bottom: -0.99rem;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .stack-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stack-sticky-image {
    position: relative;
    top: 0;
  }

  .stack-card {
    position: relative;
    min-height: auto;
    padding: 1.25rem 1.5rem;
  }
}



/* client probblem end*/

/* how we build */

#how-we-build {
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

.build-card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  background-image: url('../image/howwe.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.build-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  padding: 2rem 1.5rem;
}

.build-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1rem;
}

.build-content p {
  font-size: 0.9rem;
  color: #b8b8c0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.build-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.build-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
  .build-card {
    min-height: 480px;
    border-radius: 14px;
  }

  .build-content {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .build-card {
    min-height: 520px;
    background-position: center bottom;
  }
}


/* how we build */


#tech-stack {
  /* background: #0a0a0a; */
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.stack-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.stack-heading h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stack-heading p {
  font-size: 0.9rem;
  color: #94a3b8;
}

.marquee-wrap {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.marquee-track {
  flex: 1;
  overflow: hidden;
  display: flex;
}

.marquee-track .marquee-inner {
  display: flex;
  gap: 14px;
  width: max-content;
  flex-shrink: 0;
}

.marquee-left {
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-right {
  mask-image: linear-gradient(to left, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to left, transparent, black 15%, black 85%, transparent);
}

.marquee-left .marquee-inner {
  animation: scroll-to-right 32s linear infinite;
}

.marquee-right .marquee-inner {
  animation: scroll-to-left 32s linear infinite;
}

@keyframes scroll-to-right {
  from { transform: translateX(-33.3333%); }
  to   { transform: translateX(0%); }
}

@keyframes scroll-to-left {
  from { transform: translateX(0%); }
  to   { transform: translateX(-33.3333%); }
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #1a1a1d;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box i {
  font-size: 26px;
}

.marquee-center-logo {
  width: 152px;
  height: 72px;
  border-radius: 16px;
  background: #16141f;
  border: 1px solid #7c5cff;
  box-shadow: 0 0 28px rgba(124, 92, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 -2px;
  z-index: 2;
  position: relative;
}

.marquee-center-logo img {
    width: 160px;
    height: 46px;
    object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-left .marquee-inner,
  .marquee-right .marquee-inner {
    animation: none;
  }
}

@media (max-width: 768px) {
  .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .icon-box i {
    font-size: 20px;
  }
  .marquee-center-logo {
    width: 56px;
    height: 56px;
  }
  .marquee-center-logo img {
    width: 28px;
    height: 28px;
  }
}





    /* ── OTHER SECTIONS ── */
    #about {
      padding: 5rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .lazy-section {
      content-visibility: auto;
      contain-intrinsic-size: 0 600px;
      padding: 5rem 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
    }

