/* =============================
   GLOBAL BUTTON HOVER EFFECTS
============================= */
.btn-outline-light:hover {
  background-color: white !important;
  color: black !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
  transition: all 0.2s ease !important;
}

.btn-danger:hover {
  background-color: #c82333 !important;
  color: white !important;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  transition: all 0.2s ease-in-out;
}

/* Optional: Tweak login button */
.btn-outline-light {
  font-weight: 500;
  padding: 0.5rem 1.5rem;
}

/* =============================
   NAVBAR ANIMATION ON LOAD
============================= */
@keyframes slideInFade {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animate navbar nav items */
.navbar .nav-item {
  opacity: 0;
  animation: slideInFade 0.6s ease-out both;  /* <— use both */
}

/* Keep your staggered delays */
.navbar .nav-item:nth-child(1) { animation-delay: 0.2s; }
.navbar .nav-item:nth-child(2) { animation-delay: 0.3s; }
.navbar .nav-item:nth-child(3) { animation-delay: 0.4s; }
.navbar .nav-item:nth-child(4) { animation-delay: 0.5s; }

/* Animate login/logout button */
.navbar .btn {
  opacity: 0;
  animation: slideInFade 0.6s ease-out both;  /* <— use both */
  animation-delay: 0.6s;
}

/* =============================
   HOVER BOUNCE EFFECT (Optional)
============================= */
.navbar .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

/* =============================
   SECTION HEADINGS AOS BACKUP
============================= */
h2[data-aos] {
  transition: all 0.4s ease;
}

/* Uniform size for How It Works images */
.how-img {
  height: 280px;
  object-fit: cover;
  width: 100%;
  border-radius: 12px;
}
.how-img:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  transition: all 0.3s ease;
}