.success-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  background-color: #f4f7f6; 
  box-sizing: border-box;
}

.success-marquee-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 50px;
}

.success-marquee-wrapper:hover .success-marquee-track {
  animation-play-state: paused;
}

.story-card {
  width: 85vw;
  max-width: 380px;
  min-width: 320px;         
  margin-top: 15px;         
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 25px 25px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-tag {
  position: absolute;
  top: -15px;
  left: 25px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-tag.apparel { background: linear-gradient(135deg,#ff6b00,#ff8c00); }
.card-tag.handicraft { background: #0D6EFD;/* background: linear-gradient(135deg, #8e2de2, #4a00e0); */ }
.card-tag.beauty { background:  linear-gradient(135deg, #00c6ff, #0072ff); }
.card-tag.woodwork { background: linear-gradient(135deg, #b79891, #94716b); }
.card-tag.electronics { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.card-tag.agriculture { background: linear-gradient(135deg,#ff6b00,#ff8c00); }

.quote-icon {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 60px;
  color: rgba(0, 0, 0, 0.04);
  font-family: serif;
  line-height: 1;
}

.story-text {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.profile-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.user-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #2c3e50;
  font-weight: 700;
}

.user-info span {
  font-size: 10px;
  color: #7f8c8d;
  font-weight: 400;
}

@keyframes scrollRightToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px)); 
  }
}

.success-title {
  font-size: 20px !important;
  margin-left: 20px !important; 
}

@media (min-width: 768px) {
  .success-title {
    font-size: 24px !important;
    margin-left: 64px !important;
  }
}
.marquee-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cccccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: #0d6efd;
}

.dot.active {
  background: #0d6efd;
  width: 28px;
  border-radius: 6px;
}

.iconNew {
  display: inline-block;
  animation: trophyBounce 2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
  transform-origin: bottom center;
}

@keyframes trophyBounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-8px) rotate(-6deg);
  }
  40% {
    transform: translateY(0) rotate(4deg);
  }
  60% {
    transform: translateY(-4px) rotate(-2deg);
  }
  80% {
    transform: translateY(0) rotate(0deg);
  }
}


.marquee-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.marquee-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;  
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.view-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.arrow-icon {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.view-more-btn:hover .arrow-icon {
  transform: translateX(3px);
}

@media (max-width: 576px) {
  .marquee-bottom-row {
    flex-direction: column;
    gap: 15px;
  }

  .view-more-btn {
    padding: 6px 16px;
    font-size: 12px;
  }
}