@tailwind base;
@tailwind components;
@tailwind utilities;

html { scroll-behavior: smooth; }

.hover-lift {
  @apply transition-all duration-300;
}
.hover-lift:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}
.btn-ripple::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .5s, height .5s;
}
.btn-ripple:active::after {
  width: 300px; height: 300px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 1.2s ease-out forwards; }

.swiper-button-next, .swiper-button-prev { color: #0092d7 !important; }
.swiper-pagination-bullet-active { background: #f97316 !important; }

/* Enhanced Shadow for Hero */
.shadow-3xl {
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.2);
}

/* Smooth scale on hover */
.group-hover\:scale-105:hover {
  transform: scale(1.05);
}
.group-hover\:scale-110:hover {
  transform: scale(1.1);
}

/* Animation Delays */
.animate-fadeIn:nth-child(1) { animation-delay: 0.1s; }
.animate-fadeIn:nth-child(2) { animation-delay: 0.3s; }
.animate-fadeIn:nth-child(3) { animation-delay: 0.5s; }

/* HERO TEXT ANIMATIONS */
.animate-slideDown {
  animation: slideDown 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
@keyframes slideDown {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeInScale {
  animation: fadeInScale 0.7s ease-out forwards;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}



/* AOS Overrides */
[data-aos] {
  transition-property: transform, opacity;
}

/* Reuse Hero Animations */
.animate-slideDown { /* already in your CSS */ }
.animate-fadeInUp { /* already in your CSS */ }