/* animations.css - Smooth animations aur transitions ke liye */

/* Fade-in effect */
.fade-in {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hover scale animation */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Button hover animation */
.btn-animate {
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

.btn-animate::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transition: left 0.4s ease;
}

.btn-animate:hover::after {
  left: 0;
}
