.why-us-sticky-wrapper {
  /* background-color: #05030a; */
  color: #ffffff;
  padding: 30px 0px;
  max-width: 1280px;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

.why-us-sticky-wrapper *, 
.why-us-sticky-wrapper *::before, 
.why-us-sticky-wrapper *::after {
  box-sizing: border-box;
}

/* Background Cyber Grid */
/* .why-us-sticky-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(147, 51, 234, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
} */

/* Ambient Glows */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.25;
}
/* .glow-purple { 
    width: 500px; height: 500px; 
    background: #9333ea; 
    top: 0%; left: -10%; 
}
.glow-blue { 
  width: 450px; height: 450px; 
    background: #3b82f6; 
    bottom: 0%; right: -5%; 
  } */

/* Grid Container */
.why-us-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Sticky Left Hero Column */
.left-hero-col {
  position: sticky;
  top: 140px;
}

.cyber-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 20px;
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

.text-gradient {
  background: linear-gradient(135deg, #c084fc 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 480px;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #38bdf8;
}

.stat-lbl {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stacking Right Column */
.right-stack-col {
  display: flex;
  flex-direction: column;
  padding-bottom: 120px;
}

/* Sticky Overlapping Cards Logic */
.stack-card {
  position: sticky;
  background: linear-gradient(135deg, rgba(18, 10, 32, 0.95) 0%, rgba(8, 4, 18, 0.95) 100%);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 60px;
  backdrop-filter: blur(16px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(147, 51, 234, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Offset top positions so each card sticks slightly below the header */
.stack-card.card-1 { top: 140px; z-index: 1; }
.stack-card.card-2 { top: 170px; z-index: 2; }
.stack-card.card-3 { top: 200px; z-index: 3; }
.stack-card.card-4 { top: 230px; z-index: 4; }

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.card-index {
  font-size: 16px;
  font-weight: 800;
  color: #c084fc;
  margin-right: 16px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.card-body p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Active Highlight when Stacked */
.stack-card.is-stacked {
  border-color: #38bdf8;
  box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(56, 189, 248, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .why-us-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .left-hero-col {
    position: relative;
    top: 0;
  }
  .stack-card {
    position: relative;
    top: 0 !important;
    margin-bottom: 20px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .why-us-sticky-wrapper {
      padding: 20px 20px 30px 20px;
  }

  .cyber-badge {
      padding: 6px 18px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin: 0 0 15px 0;
  }

  .hero-desc {
      margin: 0 0 10px 0;
  }

  .hero-stats-row{
    padding-top: 14px;
  }

  .right-stack-col {
    display: flex;
    flex-direction: row;
    padding-bottom: 0px;
    overflow-x: auto;
    gap: 20px;
    scrollbar-width: none;
  }


  .stack-card {
      padding: 14px;
      min-width:240px;
  }

  .card-header {
      margin-bottom: 12px;
  }

  .why-us-container {
      gap: 20px;
  }

  .right-stack-col  .card-title {
    font-size: 1rem;
    margin-bottom:0px;
  }
}