/* Custom Animations & Styles */
@keyframes bounceSlow {
  0%, 100% {
    transform: translateY(-4%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce-slow {
  animation: bounceSlow 3s infinite ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Before / After Slider Styling */
#before-after-box {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

#slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #ffffff;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 20;
}

#before-image-clip {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 10;
}

/* Smooth Accordion */
.accordion-content {
  transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
}

/* Glow effects */
.glow-brand {
  box-shadow: 0 0 25px rgba(12, 135, 235, 0.35);
}
