:root {
    --orange: #FF6B00;
    --orange-dark: #E55A00;
    --black: #1A1A1A;
    --dark-gray: #2D2D2D;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-gray: #666666;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}
a{
  color: #ff6600;
  text-underline-offset: 5px;
}
.text-orange{
  color: var(--orange);
}
.bg-black-1{
  background-color: rgba(100, 100, 100, 0.1);
}
.bg-black-5{
  background-color: rgba(100, 100, 100, 0.5);
}
.pl-0{
  padding-left: 0 !important;
}
.pr-0{
  padding-right: 0 !important;
}
.btn-orange{
  background-color: var(--orange);
}
.btn-orange:hover{
  background-color: var(--orange-dark);
}
/* Terapkan ke semua section yang memiliki ID */

section[id] {
  scroll-margin-top: 80px; /* Sesuaikan dengan tinggi navbar Anda */
  scroll-behavior: smooth; /* Opsional: untuk efek scroll halus */
}
/* Pastikan navbar memiliki transisi halus */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    z-index: 1000; 
    transition: transform 0.3s ease-in-out;
}
.navbar-brand span{
  color: #2a2a2a;
}
.navbar-brand {
    font-weight: 700;
    color: #ff6600 !important;
    font-size: 1.5rem;
}
.nav-link {
    color:#2a2a2a;
    font-weight: 600;
    margin-left: 15px;
    transition: all 0.3s;
}

/* Kelas untuk menyembunyikan navbar */
.navbar-custom.navbar-hide {
    transform: translateY(-100%);
}

.nav-link:hover, .nav-link.active, ul.sub-menu li a {
    color: #ff6600 !important;
    background-color: #fff3e0;
    border-radius: 5px;
    padding-left: 10px;
}
/* Custom Hamburger Animation (.menu-trigger) */
.menu-trigger {
  cursor: pointer;
  display: block;
  position: relative;
  top: 5px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  display: none;
}

.menu-trigger span,
.menu-trigger span:before,
.menu-trigger span:after {
  transition: all 0.4s;
  background-color: #ff6600; 
  display: block;
  position: absolute;
  height: 2px;
  left: 0;
}

.menu-trigger span {
  top: 16px;
  width: 30px;
}

.menu-trigger span:before,
.menu-trigger span:after {
  content: "";
  width: 75%;
  transition: all 0.4s;
}

.menu-trigger span:before {
  transform-origin: 33% 100%;
  top: -10px;
}

.menu-trigger span:after {
  transform-origin: 33% 0;
  top: 10px;
}

/* Animasi Active (X) */
.menu-trigger.active span {
  background-color: transparent;
}

.menu-trigger.active span:before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #ff6600;
  width: 100%;
}

.menu-trigger.active span:after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #ff6600;
  width: 100%;
}

li.has-sub {
    position: relative; /* WAJIB: anchor untuk absolute child */
    display: inline-block; /* atau block, sesuaikan layout */
}

/* === SUB MENU CONTAINER (FIXED) === */
li.has-sub ul.sub-menu {
    position: absolute;
    width: 200px;
    box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
    
    /* HAPUS overflow: hidden jika submenu bisa lebih tinggi */
    overflow: visible; /* atau hapus property ini */
    
    top: 100%;
    left: 0;
    
    /* State awal: tersembunyi */
    opacity: 0;
    visibility: hidden;
    z-index: 999; /* Naikkan, jangan -1 */
    transform: translateY(10px); /* Kurangi jarak awal */
    transition: all 0.3s ease;
    
    background: #fff;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Indikator Panah (Fixed: Tambahkan content & hapus duplikasi warna) */
li.has-sub:after {
  /* Gunakan nama yang sesuai dengan versi CDN Anda */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; /* WAJIB untuk ikon solid */
  content: "\f0da";
  font-size: 12px;
  color: #ff6600 !important;
  position: absolute;
  right: 0px;
  top: 12px;
  transition: all 0.3s ease;
}

/* Item di dalam Sub Menu */
li.has-sub ul.sub-menu li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

/* Link di dalam Sub Menu */
li.has-sub ul.sub-menu li a {
  opacity: 1;
  display: block;
  background: #ffffff;
  color: #2a2a2a !important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
  text-decoration: none;
}

/* Putar panah saat hover */
li.has-sub:hover:after {
  transform: rotate(90deg);
  color:#2a2a2a;
}
/* Hover Effect (Fixed: Selector diperjelas) */
li.has-sub ul.sub-menu li a:hover{
  background: #fff;
  color: #ff6600 !important;
  padding-left: 25px;
  transition: 0.3s ease;
}

/* Statistics Section */
.statistics {
    background: var(--black);
    color: var(--white);
    padding: 5rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Services Section */
.services {
    background: var(--light-gray);
}

.grid {
    display: grid;
    gap: 2rem;
}

.services .cardx {
    background: var(--white);
    padding-top: 2.5rem;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.cardx ul li{
  list-style: none;
  margin-left: 10px;
  margin-bottom: 5px;
}
.cardx ul li::before{
  /* Gunakan nama yang sesuai dengan versi CDN Anda */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; /* WAJIB untuk ikon solid */
  content: "\f00c";
  font-size: 12px;
  color: #ff6600 !important;
  position: relative;
  right: 10px;
}
.cardx i{
  font-size: xx-large;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: var(--orange);
    text-align: center;
    padding: 5rem 2rem;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: #aaa;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #777;
}

.scroll-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: #00e969;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top a{
  text-decoration: none;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, #00e969, transparent 20%);
}

.timeline {
      position: relative;
      margin: 0 auto;
  }

  /* Garis Vertikal - Height akan diatur oleh JavaScript */
  .timeline::before {
      content: '';
      position: absolute;
      left: 50%;
      width: 3px;
      background-color: var(--orange);
      transform: translateX(-50%);
      /* Default top agar sejajar dengan dot pertama */
      top: 20px; 
  }

  .timeline-item {
      display: flex;
      justify-content: space-between;
      position: relative;
      margin-bottom: 5rem;
  }

  .timeline-content { width: 45%; position: relative; display:flex; flex-direction:column;
       }
  .timeline-content p{ padding-left: 15px; padding-right: 15px; }
  .timeline-content p span{ font-weight: bold; }
  .timeline-content.left { text-align:right; }
  .timeline-content.right { text-align:left; }
  
  .label-title { display: block;}
  .box-detail a{ 
      color:#47b2e4 !important;
    }
  .box-detail span{
    background-color: #0065a8;
    color: white;
    border-radius: 4px;
    padding: 4px;
    font-weight: 100;
    font-size: 17px;
   }
  .box-detail { 
      display: inline-block; 
      padding: 8px 8px; 
      border: 3px solid var(--orange-dark); 
      color: #000000;
      border-radius: 10px; 
      margin-bottom: 10px; /* Jarak jika ada kotak baru di bawahnya */
      background: white;
      font-size: 0.95rem;
      width: 100%;
      transition: all 0.3s ease;
      font-size:17px; 
      font-weight: bold;
  }

  .timeline-dot {
      position: absolute;
      width: 24px;
      height: 24px;
      background-color: var(--orange);
      border-radius: 50%;
      z-index: 5;
  }
  
  .areas-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1.5rem; margin-top: 2rem;
  }
  .area-card {
      text-align: center; padding: 1.8rem; background: var(--white);
      border: 2px solid #e0e0e0; border-radius: 10px;
      transition: all 0.3s; position: relative;
  }
  .area-card.priority {
      border-color: var(--orange); background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
  }
  .area-card.priority::after {
      content: '★'; position: absolute; top: -8px; right: -8px;
      background: var(--orange); color: white; width: 24px; height: 24px;
      border-radius: 50%; font-size: 0.7rem; display: flex;
      align-items: center; justify-content: center; font-weight: bold;
  }
  .area-card:hover {
      border-color: var(--orange); transform: translateY(-4px);
      box-shadow: 0 10px 25px rgba(255, 107, 0, 0.15);
  }
  .area-card i { font-size: 2rem; color: var(--orange); margin-bottom: 0.8rem; }
  .area-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
  .area-card p { font-size: 0.85rem; color: var(--text-gray); }
  
  /* Testimonials Section - NEW */
  .testimonials { background: var(--white); }
  .testimonial-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
  }
  .testimonial-card {
      background: var(--light-gray); padding: 2rem; border-radius: 10px;
      border-left: 4px solid var(--orange);
  }
  .testimonial-card .quote {
      font-size: 3rem; color: var(--orange); opacity: 0.3;
      line-height: 1; margin-bottom: -1rem;
  }
  .testimonial-card p {
      color: var(--text-gray); font-style: italic; margin-bottom: 1.2rem;
      line-height: 1.7; font-size: 0.95rem;
  }
  .testimonial-card .client {
      display: flex; align-items: center; gap: 1rem;
  }
  .testimonial-card .client-info strong {
      display: block; color: var(--black); font-size: 0.95rem;
  }
  .testimonial-card .client-info span {
      color: var(--orange); font-size: 0.85rem; font-weight: 500;
  }

/* Modal Styles */
.modalx {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-contentx {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align:center;
}

.close {
    margin-right: auto;
    margin-left: auto;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    display:contents;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  /* Desktop */
  @media (min-width: 769px) {
      .timeline-content.right .timeline-dot { display: none; }
      .timeline-content.left .timeline-dot {
          right: -11.3%; 
          top: 15px;
          transform: translateX(50%);
      }   

.cardx ul li::before{
  position: relative;
  left:unset;
}
  }

  /* Mobile */
  @media (max-width: 768px) {
      .timeline::before { left: 31px !important; transform: none; }
      .timeline-item { flex-direction: column; }
      .timeline-content { width: 100%; text-align: left !important; padding-left: 50px; margin-bottom: 40px; }
      .timeline-dot { left: 9px; top: 15px; }
    .timeline-content.left { text-align:left; }
      
.cardx ul li::before{
  position: absolute;
  left: 10px;
}

  }

/* Logika Hover Desktop (Munculkan Menu) */
@media (min-width: 992px) {
  
    /* Saat hover di LI, munculkan submenu */
    li.has-sub:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
        z-index: 999;
        transform: translateY(0);
        pointer-events: auto; /* Aktifkan interaksi saat visible */
    }
    
    /* Optional: Tambahkan delay kecil agar tidak flicker */
    li.has-sub ul.sub-menu {
        transition-delay: 0.1s;
    }

.col-20{
  flex:0 0 auto;
  width: 20%;
}
  
}

/* Tampilan Mobile */
@media (max-width: 991px) {
  .menu-trigger {
    display: block !important;
  }
  
  /* Reset posisi sub-menu agar flow-nya turun ke bawah */
  li.has-sub ul.sub-menu {
    position: relative;
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0);
    top: 0;
    width: 100%;
    box-shadow: none;
    height: auto;
    max-height: 0; /* Untuk animasi slide */
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  /* Saat hover/active di mobile, buka menu */
  li.has-sub:hover ul.sub-menu,
  li.has-sub.active ul.sub-menu {
    max-height: 500px; /* Nilai cukup besar untuk menampung isi */
  }
  
  /* Penyesuaian Panah Mobile */
  li.has-sub:after {
    color: #3B566E;
    right: 30px;
    font-size: 14px;
    top: 15px;
  }
  
  li.has-sub ul.sub-menu li a {
    height: auto;
    line-height: 1.5;
    padding: 10px 20px;
  }
  .stats-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
.modal-content {
  max-width: unset;
  width: 100%;
}
}

/* Hero Section */
.hero {
  /* Ukuran tinggi section (sesuaikan kebutuhan) */
  width: 100%;
  
  /* Agar gambar menutupi area dengan rapi */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  /* Posisi konten agar di tengah */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  
  /* PENTING: Overlay gelap agar teks tetap terbaca saat gambar berubah */
  position: relative;
  }
  
  /* Membuat lapisan gelap di atas gambar */
  .hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Hitam transparan 60% */
  z-index: 1;
  }
  
  /* Agar konten berada di atas overlay */
  .hero-content p{
  text-align: center;
  }
  .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease;
  margin-top: 50px;
  margin-bottom: 50px;
}

  .hero h1 {
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: 2px;
  }

  .hero p {
      font-size: 1.2rem;
      margin-bottom: 2.5rem;
      font-weight: 400;
      opacity: 0.95;
      line-height: 1.8;
  }      
  .hero h2 span{ 
    color: var(--orange);
    text-shadow: 0px 0px 6px #000000;
  }
  .hero-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
  }
  
  .hero-value-props {
      display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
      margin: 1.5rem 0 2rem;
  }
  .hero-value-props .badge {
      background: var(--white);
      color: var(--orange-dark); padding: 0.5rem 1.2rem; border-radius: 30px;
      font-size: 0.85rem; font-weight: 500;
  }
  /* --- ANIMASI KEYFRAMES --- */
  /* Ganti URL gambar di bawah ini dengan gambar asli Anda */
  @keyframes changeBackground {
  0% {
      background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  }
  33% {
      background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
  }
  66% {
      background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
  }
  100% {
      background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  }
  }
  
  /* Menerapkan animasi ke class .hero */
  /* 4s = durasi 1 siklus, infinite = terus menerus */
  .hero {
  animation: changeBackground 4s infinite; 
  }
  
  .why-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  }
  .why-content h3 {
      font-size: 2rem; margin-bottom: 1.5rem; color: var(--black);
  }
  .why-content h3 span { color: var(--orange); }
  .why-content p { margin-bottom: 1.5rem; color: var(--text-gray); line-height: 1.8; }
  .why-list { list-style: none; }
  .why-list li {
      margin-bottom: 1rem; padding-left: 2rem; position: relative;
      color: var(--text-gray); font-size: 0.95rem;
  }
  .why-list li::before {
      content: '✓'; position: absolute; left: 0; top: 0;
      color: var(--orange); font-weight: bold; font-size: 1.1rem;
  }
  .why-image {
      position: relative; border-radius: 10px; overflow: hidden;
  }
  .why-image img { width: 100%; height: auto; display: block; }

/* About Section */
.about {
    background: white;
    padding-top: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-highlight {
    background: rgba(255, 107, 0, 0.1); border-left: 3px solid var(--orange);
    padding: 1.2rem; margin: 1.5rem 0; border-radius: 0 5px 5px 0;
}
/* NEW: Keunggulan Kompetitif Regional */
.section-edge {
    background: var(--light-gray); padding: 6rem 2rem;
}
.edge-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.edge-card {
    background: var(--white); padding: 2.5rem; border-radius: 10px;
    border-left: 4px solid var(--orange);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.edge-card:hover { transform: translateY(-5px); }
.edge-card i {
    font-size: 2.5rem; color: var(--orange); margin-bottom: 1.2rem;
}
.edge-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--black); }
.edge-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 991px){
  
  .hero h1 {
      font-size: 2rem;
  }

  .hero p {
      font-size: 1rem;
  }
  .about-content {
      grid-template-columns: 1fr;
  }
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size:15px;
    font-weight: 500;
    opacity: 1;
}
  
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section-title {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: rgb(194, 110, 0);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: #ff6600;
}

.section-title2 {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
}

.section-title2 h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 3px;
}
.section-title2 h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
  background: rgb(255, 255, 255);
}

.section-title2 h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: #ffffff;
}

/* Wrapper utama */
.slider-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}

/* Container slider - area yang "dilihat" user */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;              /* ⚠️ Penting: sembunyikan konten yang overflow */
    cursor: grab;
    
    /* Mobile optimization */
    touch-action: pan-y;           /* Izinkan scroll vertikal, blokir horizontal */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.slider-container:active {
    cursor: grabbing;
}

/* Track - elemen yang digerakkan/animated */
.slider-track {
    display: flex;                 /* ⚠️ Penting: item berbaris horizontal */
    width: fit-content;            /* ⚠️ Penting: lebar mengikuti konten */
    will-change: transform;        /* Optimasi performa animasi */
    
    /* Reset default spacing */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Item slider - setiap box/kartu */
.slider-item {
  flex: 0 0 auto;                /* ⚠️ Penting: jangan shrink/expand */
  width: 300px;                  /* Sesuaikan lebar item */
  height: 200px;                 /* Sesuaikan tinggi item */
  margin-right: 1rem;            /* Jarak antar item */
  
  border: 3px solid white;
  /* Styling visual (opsional) */
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Label slider */
.slider-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    display: none; /* Sembunyi secara default */
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Class Jika Sukses */
.success-box {
    display: block !important;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 6px;
}

/* Class Jika Gagal */
.error-box {
    display: block !important;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 6px;
}