/* Rt. Hon. Dum Dekor - Official Portal Custom Styles */

@layer base {
  html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
  }
  body {
    overscroll-behavior: none;
  }
}

/* Marquee Continuous Loops */
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.animate-marquee-left {
  display: flex;
  animation: marqueeLeft 38s linear infinite;
}

.animate-marquee-right {
  display: flex;
  animation: marqueeRight 38s linear infinite;
}

.animate-marquee-left:hover,
.animate-marquee-right:hover {
  animation-play-state: paused;
}

/* Custom Scrollbar for cards */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f7f9ff;
}

::-webkit-scrollbar-thumb {
  background: #c5c6ce;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #75777e;
}

/* Hero Slide Transition Enhancements */
.hero-slide {
  transition: opacity 800ms ease-in-out, transform 800ms ease-in-out;
}

/* Image Aspect and Hover Zoom */
.card-zoom-img {
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .card-zoom-img {
  transform: scale(1.05);
}
