
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 8px; /* Softer edges for images */
}
</style>

<script>
document.addEventListener('DOMContentLoaded', () => {
  const slider = document.querySelector('.slider');
  if (!slider) return;

  const slides = slider.querySelectorAll('.slide');
  if (slides.length > 1) {
    // Clone each slide and append it to the slider to create a continuous loop
    slides.forEach(slide => {
      slider.appendChild(slide.cloneNode(