.produk-wrapper {
      overflow: hidden;
      white-space: nowrap;
      margin-bottom: 2rem;
      position: relative;
}

.produk-slider {
      display: flex;
      animation-duration: 20s;
      animation-timing-function: linear;
      animation-iteration-count: infinite;
}

.slide-kanan .produk-slider {
      animation-name: slide-kanan;
}

.slide-kiri .produk-slider {
      animation-name: slide-kiri;
}

.produk-item {
      flex: 0 0 20%;
      max-width: 20%;
      box-sizing: border-box;
      padding: 10px;
      text-align: center;
      background-color: #fff;
      margin: 0 5px;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s;
}

.produk-item img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 6px;
      background-color: #fff;
}

.produk-item p {
      margin-top: 10px;
      font-size: 0.9rem;
      color: #333;
      font-weight: bold;
}

.produk-item:hover {
      transform: scale(1.05);
      animation-play-state: paused;
}

/* Pause animation saat hover */
.produk-wrapper:hover .produk-slider {
      animation-play-state: paused;
}

/* Animasi sliding */
@keyframes slide-kanan {
      0% {
            transform: translateX(0);
      }

      100% {
            transform: translateX(-100%);
      }
}

@keyframes slide-kiri {
      0% {
            transform: translateX(-100%);
      }

      100% {
            transform: translateX(0);
      }
}

/* Responsive */
@media (max-width: 768px) {
      .produk-item {
            flex: 0 0 50%;
            max-width: 50%;
      }
}

.produk-item {
      background: linear-gradient(135deg, #e6f0ff, #ffffff);
      /* biru muda ke putih */
      padding: 1rem;
      border-radius: 12px;
      text-align: center;
      height: 100%;
      border: 1px solid #007BFF30;
      /* biru transparan */
      box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
      /* shadow biru muda */
      transition: transform 0.3s, background-color 0.3s;
}

.produk-item:hover {
      background: #d0e7ff;
      /* biru lebih kuat pas hover */
      transform: scale(1.05);
}

.container {
      max-width: 1140px;
      /* Maksimal lebar container */
      margin: 0 auto;
      /* Centering container */
      padding: 0 15px;
      /* Padding kiri dan kanan */
      background-color: #f0f8ff;
      /* Menambahkan warna latar belakang pada container (warna biru muda) */
      border-radius: 8px;
      /* Menambahkan sudut membulat jika diinginkan */
      padding-top: 2rem;
      /* Jarak atas untuk memberi ruang di atas slider */
      padding-bottom: 2rem;
      /* Jarak bawah untuk memberi ruang di bawah slider */
}

.hero-section {
      min-height: 20vh;
      padding: 4rem 2rem;
      background: linear-gradient(135deg, #00c6ff, #0072ff);
      font-family: 'Poppins', sans-serif;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
      /* biar teks makin stand out */
}

.hero-section h1 {
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
}

.hero-section h4 {
      font-size: 1.5rem;
      font-weight: 400;
}

.hero-section p {
      font-size: 1.1rem;
      max-width: 600px;
}

.search-bar-wrapper {
      margin-top: 1.5rem;
      width: 100%;
      max-width: 400px;
}

.btn-gradient {
      background: linear-gradient(135deg, #87cefa, #00bfff);
      color: white;
      border: none;
      padding: 10px 20px;
      font-weight: 600;
      border-radius: 25px;
      transition: background 0.3s ease;
}

.btn-gradient:hover {
      background: linear-gradient(135deg, #00bfff, #87cefa);
      color: white;
}


.animate__animated.animate__bounce {
      --animate-duration: 2s;
}

/* This changes all the animations globally */
:root {
      --animate-duration: 800ms;
}

.fade-up {
      opacity: 0;
      transform: translateY(30px);
      animation: fadeUp 0.8s ease forwards;
      animation-delay: 1s;
      /* delay biar muncul setelah title & subtitle */
}

@keyframes fadeUp {
      to {
            opacity: 1;
            transform: translateY(0);
      }
}

.delay-1 {
      animation-delay: 0.2s;
}

.delay-2 {
      animation-delay: 0.6s;
}

.delay-3 {
      animation-delay: 1s;
}

/* Navbar */
.navbar {
      background-color: #1167b1 !important;
      border: none;
      /* Pastikan navbar tidak punya border */
      outline: none;
      /* Pastikan navbar tidak punya outline */
}

.navbar-brand,
.nav-link {
      color: white !important;
}

.nav-link:hover {
      color: #cce6ff !important;
}

/* Animasi slide in dari kiri*/
@keyframes slideInLeft {
      from {
            transform: translateX(-50px);
            opacity: 0;
      }

      to {
            transform: translateX(0);
            opacity: 1;
      }
}

/* Animasi slide in dari atas*/
@keyframes slideInTop {
      from {
            transform: translateY(-50px);
            opacity: 0;
      }

      to {
            transform: translateY(0);
            opacity: 1;
      }
}

/* Animasi slide in dari bawah*/
@keyframes slideInBottom {
      from {
            transform: translateY(50px);
            opacity: 0;
      }

      to {
            transform: translateY(0);
            opacity: 1;
      }
}

/* Default state sebelum terlihat */
.slide-in,
.slide-in-t,
.slide-in-b1,
.slide-in-b2,
.slide-in-b3,
.slide-in-b4,
.slide-in-b5 {
      opacity: 0;
}

/* Aktifkan animasi saat terlihat */
.slide-in.show {
      animation: slideInLeft 1.2s ease-out forwards;
}

/* Aktifkan animasi saat terlihat */
.slide-in-t.show {
      animation: slideInTop 1.2s ease-out forwards;
}

/* Aktifkan animasi saat terlihat */
.slide-in-b1.show {
      animation: slideInBottom 0.8s ease-out forwards;
}

/* Aktifkan animasi saat terlihat */
.slide-in-b2.show {
      animation: slideInBottom 0.9s ease-out forwards;
}

/* Aktifkan animasi saat terlihat */
.slide-in-b3.show {
      animation: slideInBottom 1s ease-out forwards;
}

/* Aktifkan animasi saat terlihat */
.slide-in-b4.show {
      animation: slideInBottom 1.1s ease-out forwards;
}

/* Aktifkan animasi saat terlihat */
.slide-in-b5.show {
      animation: slideInBottom 1.2s ease-out forwards;
}