body {
   background: linear-gradient(135deg, #a8e063, #f8ffae);
   min-height: 100vh;
   font-family: 'Poppins', sans-serif;
   color: #333;
   overflow-x: hidden;
   display: flex;
   flex-direction: column;
}

.kiosk-header {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 15px;
   padding: 25px 0;
   background: rgba(255, 255, 255, 0.2);
   backdrop-filter: blur(10px);
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
   position: relative;
   /* penting supaya tombol bisa di pojok kanan */
}

/* 🔹 Tombol kembali ke menu utama */
.btn-back-home {
   position: absolute;
   right: 25px;
   top: 50%;
   transform: translateY(-50%);
   background: #085e02;
   color: #fff;
   padding: 10px 18px;
   border-radius: 10px;
   font-weight: 600;
   text-decoration: none;
   font-size: 0.95rem;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   transition: all 0.3s ease;
}

.btn-back-home:hover {
   background: #0a7c03;
   transform: translateY(-50%) scale(1.05);
   color: #fff;
}

.kiosk-header img {
   width: 80px;
   height: 80px;
   animation: floatLogo 3s ease-in-out infinite;
}

.kiosk-header h1 {
   font-size: 2rem;
   font-weight: 700;
   color: #085e02;
   text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
}

/* 🔹 Bagian utama sekarang dipusatkan */
.main-content {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   padding: 40px 0;
}

.carousel-container {
   position: relative;
   overflow-x: auto;
   white-space: nowrap;
   scroll-behavior: smooth;
   padding: 40px 20px;
   scrollbar-width: none;
   text-align: center;
}

.carousel-container::-webkit-scrollbar {
   display: none;
}

.module-card {
   display: inline-block;
   background: rgba(255, 255, 255, 0.3);
   border: none;
   border-radius: 25px;
   color: #085e02;
   text-align: center;
   padding: 35px 25px;
   width: 220px;
   height: 230px;
   margin: 0 15px;
   transition: all 0.4s ease;
   position: relative;
   overflow: hidden;
   backdrop-filter: blur(6px);
}

.module-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: rgba(255, 255, 255, 0.3);
   transform: skewX(-15deg);
   transition: left 0.6s;
}

.module-card:hover::before {
   left: 100%;
}

.module-card:hover {
   transform: translateY(-8px) scale(1.05);
   background: rgba(255, 255, 255, 0.45);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.module-card i {
   font-size: 3rem;
   color: #ffbf00;
   margin-bottom: 15px;
   animation: iconPulse 2s infinite;
}

/* 🔹 Tombol scroll tetap di tengah vertikal */
.scroll-btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(255, 255, 255, 0.6);
   border: none;
   color: #085e02;
   font-size: 1.8rem;
   border-radius: 50%;
   width: 50px;
   height: 50px;
   cursor: pointer;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   z-index: 10;
   transition: all 0.3s;
}

.scroll-btn:hover {
   background: #ffffff;
   transform: translateY(-50%) scale(1.1);
}

.scroll-left {
   left: 10px;
}

.scroll-right {
   right: 10px;
}

footer {
   text-align: center;
   padding: 18px 10px;
   font-size: 0.95rem;
   color: #fff;
   background: linear-gradient(90deg, #006400, #228b22);
   box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.2);
   position: fixed;
   bottom: 0;
   left: 0;
   width: 100%;
   z-index: 100;
   animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
   from {
      opacity: 0;
      transform: translateY(-20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes fadeInUp {
   from {
      opacity: 0;
      transform: translateY(20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes iconPulse {

   0%,
   100% {
      transform: scale(1);
   }

   50% {
      transform: scale(1.15);
   }
}

@keyframes floatLogo {

   0%,
   100% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-6px);
   }
}

.check-section {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 30px;
   animation: fadeInUp 1s ease;
}

.check-box {
   background: rgba(255, 255, 255, 0.3);
   backdrop-filter: blur(10px);
   border-radius: 20px;
   padding: 40px;
   width: 100%;
   max-width: 450px;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
   text-align: center;
   transition: transform 0.3s ease;
}

.check-box:hover {
   transform: scale(1.02);
}

.check-box h3 {
   font-weight: 600;
   color: #085e02;
   margin-bottom: 25px;
}

.form-control {
   border-radius: 10px;
   padding: 15px;
   font-size: 1.1rem;
   border: 1px solid #ccc;
   margin-bottom: 20px;
   text-align: center;
}

.btn-check {
   background-color: #085e02;
   color: #fff;
   font-weight: 600;
   border-radius: 10px;
   padding: 12px 20px;
   width: 100%;
   transition: background 0.3s, transform 0.3s;
}

.btn-check:hover {
   background-color: #0a7c03;
   transform: scale(1.05);
}

.result-box {
   margin-top: 25px;
   padding: 20px;
   background: rgba(255, 255, 255, 0.5);
   border-radius: 15px;
   font-weight: 500;
   color: #333;
   animation: fadeIn 0.8s ease;
}