.section-features {
  padding: 20px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  
}

/* ================= FEATURE CARD ================= */
.feature-card {
  width: 100%;
  display: flex;
  align-items: center;
  background: #121212;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Initial hidden state for animation */
  opacity: 0;
  transform: translateY(0px);

  /* Slide-in animation */
  animation: reveal 0.6s ease forwards;
}

/* ================= STAGGERED ANIMATION DELAYS ================= */
.section-features .feature-card:nth-child(1) { animation-delay: 0.1s; }
.section-features .feature-card:nth-child(2) { animation-delay: 0.25s; }
.section-features .feature-card:nth-child(3) { animation-delay: 0.4s; }

.feature-card:hover {
  transform: translateY(-12px) scale(1.05); /* lifts card up */
  box-shadow: 0 18px 30px rgba(0,0,0,0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:active {
  transform: scale(0.98); /* click shrink */
  transition: transform 0.1s ease; /* instant feedback on click */
}

/* ================= BORDER COLORS ON HOVER ================= */
.feature-card.orders:hover {
  border-left: 3px solid #ff4d4d;
}

.feature-card.delivery:hover {
  border-left: 3px solid #00e0ff;
}

.feature-card.security:hover {
  border-left: 3px solid #7CFF00;
}

/* ================= FEATURE ICON ================= */
.feature-icon {
  width: 50px;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: box-shadow 0.3s ease;
}



/* Icon image size */
.feature-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

/* ================= TEXT ================= */
.text h3 {
  color: #fff;
  margin: 0 0 6px;
}
.feature-card.orders:hover h3 {
  color: #ff4d4d;
}

.feature-card.delivery:hover h3 {
  color: #00e0ff;
}

.feature-card.security:hover  h3{
  color: #7CFF00;
}

.text p {
  color: #aaa;
  margin: 0;
  font-size: 14px;
}

/* ================= ANIMATION KEYFRAMES ================= */
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(0px);
  }
  to {
    opacity: 1;
    transform: translateY(12px);
  }
}
@media(min-width:700px){
  .feature-card {
    width: 270px;
  }
}

