* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8fafc;
  color: #1f2937;
}

/* .animation-section {
  min-height: 100vh;
  padding: 48px 20px;
} */

.sticky-wrap {
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  /* padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); */
}

.demo-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.section-eyebrow {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.demo-title {
  margin: 4px 0 0;
  font-size: 28px;
}

.demo-header-right {
  text-align: right;
}

.frame-counter {
  font-size: 28px;
  font-weight: 700;
}

.frame-total {
  color: #94a3b8;
  font-size: 20px;
}

.demo-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  background: #e2e8f0;
  padding: 6px 10px;
  border-radius: 999px;
}

.anim-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
}

.steps {
  display: grid;
  gap: 10px;

}

.step {
  display: flex;
    /* height:60px !important; */
    min-height: auto !important;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: 0.25s ease;
  opacity: 0.6;
  height:98px !important;
}

.step.active {
      border: solid 1px #2c2f36;
  background: #fff;
  opacity: 1;
}

/* .step-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #94a3b8;
} */

.step.active .step-dot {
  background: #2563eb;
  display: none !important;
}

.step.active .step-body {
 opacity:1 !important;
}
.step.active .step-num {
 opacity:1 !important;
 color:#000;
 margin-bottom: 8px;
 color:green;
 font-weight: bold;

}
.step.active .step-label {
 opacity:1 !important;
  color:#000;
}
.step.active .step-desc {
 opacity:1 !important;
  color:#000;
}

.step-body {
  display: grid;
  gap: 2px;
  opacity: 0.65;
}

.step-num {
  font-size: 12px;
  color: #64748b;
  opacity: 0.65;
}

.step-label {
  font-weight: 600;
  opacity: 0.65 !important;
      color: #64748b;
}

.step-desc {
  font-size: 13px;
  color: #64748b;
}

.img-stage {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;

}

.frame-video {
     display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
  .anim-layout {
    grid-template-columns: 1fr;
  }

  .demo-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-header-right {
    text-align: left;
  }
}



.animation-section{
  position:relative;
}

.anim-layout{
  position:sticky;
  top:0;

  
}

@media screen and (max-width:993px){
.journey-connector{
   display: none !important; 
}
.journey-steps{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:20px;
}
.step{
    gap:0px;
}
    .step::before {
     
        margin-bottom: 0px;
       
    }
}

@media screen and (max-width:350px){
    .journey-steps{
  display:grid;
  grid-template-columns: repeat(1, 1fr);
  gap:20px;
}
}