/* =========== General & Body =========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* =========== Navigation Bar =========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background-color: transparent;
  padding: 1rem 5%;
}

.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0056b3;
  text-decoration: none;
}
.navbar-logo img {
  height: 40px; /* Sesuaikan tinggi logo sesuai kebutuhan */
  width: auto; /* Lebar akan menyesuaikan otomatis agar proporsional */
  display: block; /* Menghilangkan spasi ekstra di bawah gambar */
}

.navbar.scrolled .navbar-logo,
.navbar.scrolled .nav-link {
  color: #333;
}

.navbar:not(.scrolled) .navbar-logo,
.navbar:not(.scrolled) .nav-link {
  color: white;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #007bff;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-icon .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled .menu-icon .bar {
  background-color: #333;
}

/* =========== Hero Section =========== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
.hero-content img {
  width: 30vw;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-primary {
  background-color: green;
  color: white;
}

.btn-primary:hover {
  background-color: rgb(1, 97, 1);
}

.btn-secondary {
  background-color: white;
  color: black;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: #ccc;
  color: #333;
}

/* =========== Product Section =========== */
.products {
  padding: 4rem 5% 6rem 5%; /* Sedikit mengurangi padding atas */
  text-align: center;
  background-color: white;
}

.section-title {
  font-size: 2.5rem;
  color: #f5ba41;
  margin-bottom: 3rem;
  font-weight: 700;
}

/* [FIX-1] Wrapper baru untuk slider agar panah tidak terpotong */
.slider-container {
  position: relative;
  width: 90%; /* Dibuat lebih lebar agar tidak sempit */
  margin: 0 auto;
}

.product-slider {
  width: 100%;
  margin: 0 auto;
  overflow: hidden; /* Biarkan overflow hidden di sini */
  cursor: grab; /* Ganti kursor menjadi grab */
}
/* .product-slider.grabbing {
  cursor: grabbing; 
} */
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
/* .slider-track.fade-out {
  opacity: 0;
  
}
.slider-track.fade-in {
  opacity: 1;
} */

.slide {
  min-width: 20%; /* 5 item di desktop */
  padding: 0.5rem;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

.slide.active {
  opacity: 1;
  transform: scale(1.1);
}

/* [FIX-2] Membuat semua gambar slider setara tingginya */
.slide img {
  width: 100%;
  height: 150px; /* Atur tinggi yang sama untuk semua gambar */
  object-fit: cover; /* Memastikan gambar terisi tanpa distorsi */
  border-radius: 8px;
}

/* =========== KOTAK UTAMA PRODUK =========== */
.product-display {
  /* 1. KUNCI: Jadikan kartu ini sebagai bingkai acuan untuk panah */
  position: relative;

  display: flex;
  align-items: center;
  gap: 2rem;
  width: 80%;
  margin: 4rem auto 0 auto;
  text-align: left;
  background-color: #ffffff;
  padding: 2rem 4rem; /* Sebelumnya 2rem */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* =========== PANAH SLIDER =========== */
.slider-arrow {
  position: absolute;
  /* 2. KUNCI: Posisikan panah di tengah tinggi GAMBAR, bukan keseluruhan kartu. */
  /* Gambar Anda max 350px, jadi tengahnya adalah 175px dari atas. */
  top: 175px;
  transform: translateY(
    -50%
  ); /* Ini tetap untuk center-align panah itu sendiri */

  background-color: #ccc;
  color: black;
  border: none;
  font-size: 1.5rem; /* Ukuran disesuaikan */
  cursor: pointer;
  width: 45px; /* Lebar dan tinggi dibuat sama untuk lingkaran sempurna */
  height: 45px;
  border-radius: 50%;
  z-index: 10;
  display: flex; /* Untuk menengahkan ikon panah di dalam tombol */
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

/* 3. KUNCI: Posisikan panah DI DALAM kartu */
.slider-arrow.prev {
  left: -5rem; /* Jarak dari tepi kiri kartu */
  margin-left: -15px;
}

.slider-arrow.next {
  right: -5rem; /* Jarak dari tepi kanan kartu */
  margin-right: -15px;
}

/* Biarkan CSS gambar seperti ini, sudah bagus */
.product-display-image {
  flex-basis: 40%;
  text-align: center;
}

.product-display-image img {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.hero-content h1:first-child {
  font-family: "Rubik", sans-serif;
  font-size: 4rem; /* lebih besar dari yang kedua */
  color: #cacbcb; /* warna cyan terang (highlight tone) */
  text-shadow: 0 0 10px rgba(224, 154, 22, 0.7); /* efek glow */
  font-weight: 900;
  animation: pulseHighlight 2s infinite;
}

@keyframes pulseHighlight {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(224, 154, 22, 0.7);
  }
  50% {
    text-shadow: 0 0 20px rgba(132, 91, 15, 0.7);
  }
}

.product-display-info {
  flex-basis: 60%;
}

.product-display-info h3 {
  margin-top: 0;
  font-size: 2rem;
  color: #f5ba41;
  margin-bottom: 1rem;
}

.product-display-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #555;
  text-shadow: none;
  text-align: justify;
}

/* =========== Tombol / Buttons =========== */
.product-buttons {
  display: flex;
  flex-wrap: wrap; /* Agar tombol turun ke bawah jika tidak muat */
  gap: 1rem;
}
.btn-wa {
  background-color: green;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-right: 0; /* Dihapus karena sudah pakai gap dari .product-buttons */
}
.btn-dark,
.btn-dark-get-quote {
  background-color: #343a40;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-right: 0; /* Dihapus karena sudah pakai gap dari .product-buttons */
}

.btn-wa:hover {
  background-color: rgb(1, 97, 1);
}
.btn-dark-get-quote:hover {
  background-color: #23272b;
}

/* =========== Shipping Section =========== */
.shipping {
  padding: 6rem 5%;
  text-align: center;
  background-color: #f8f9fa; /* A slightly different background */
}

/* Logo Carousel */
.logo-carousel-container {
  width: 90%;
  margin: 3rem auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.logo-track {
  display: flex;
  /* Twice the number of logos */
  width: calc(250px * 14);
  animation: scroll 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move by half the total width */
    transform: translateX(calc(-250px * 7));
  }
}

.logo-item {
  width: 250px;
  padding: 0 40px;
  flex-shrink: 0;
}

.logo-item img {
  max-height: 40px;
  width: 100%;
  object-fit: contain;
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item:hover img {
  opacity: 1;
}

/* Shipping Grid */
.shipping-grid {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Makes cards of equal height */
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.shipping-card {
  flex-basis: 300px; /* Base width for each card */
  flex-grow: 1; /* Allows cards to grow and fill space */
  max-width: 400px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-image-container {
  position: relative;
  height: 220px;
}

.card-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shipping-card:hover .card-bg-image {
  transform: scale(1.05);
}

.card-logo-wrapper {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-logo {
  max-height: 25px;
  display: block;
}

.card-description {
  padding: 1.5rem 1rem;
  font-weight: 600;
  color: #333;
  background-color: white;
  margin-top: auto; /* Pushes description to the bottom */
}

/* =========== Legal & Compliance Section =========== */
.legal {
  padding: 6rem 5%;
  background-color: white;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-top: -2.5rem;
  margin-bottom: 3rem;
}

.document-list {
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
}

.document-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background-color: white;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.3s;
}

.document-item:hover {
  background-color: #f8f9fa;
}

.document-item:last-child {
  border-bottom: none;
}
.legal h2 {
  text-align: center;
}
.document-info h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  color: #333;
}

.document-info p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon {
  color: #28a745;
}

.document-action a {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.document-action a:hover {
  text-decoration: underline;
}

/* =========== Modal (Popup) Styling =========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: white;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 90%;
  max-width: 500px;
  transform: translateY(-20px);
  transition: transform 0.3s ease-in-out;
}

.modal-overlay.show .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #333;
}

.modal-content h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.modal-content textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-content .btn-primary {
  padding: 0.8rem;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* =========== About Supplier Section =========== */
.about-supplier {
  padding: 6rem 5%;
  background-color: #f8f9fa; /* Warna latar belakang agar ada variasi */
}

.about-supplier-grid {
  display: grid;
  /* Membuat 2 kolom dengan rasio ~66% dan ~33% (2:1) */
  grid-template-columns: 2fr 1fr;
  gap: 3rem; /* Jarak antara teks dan gambar */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-supplier-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #333;
}

.about-supplier-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
  text-align: justify;
}

.about-supplier-image img {
  width: 100%;
  max-width: 400px; /* Batas maksimal agar tidak terlalu besar */
  display: block;
  margin: 0 auto; /* Tengah secara horizontal di dalam kolomnya */
}

/* =========== Insights & Stories Section =========== */
.insights {
  padding: 6rem 5%;
  background-color: white;
  text-align: center;
}

.insights-grid {
  display: grid;
  /* Tiga kolom di layar besar */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-image-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Membuat konten memenuhi sisa ruang */
}

.card-content h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.card-content h3 a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.card-content h3 a:hover {
  color: #007bff;
}

.card-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  flex-grow: 1; /* Mendorong "Read More" ke bawah */
}

.card-readmore {
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  margin-top: 1rem; /* Jarak dari excerpt */
  align-self: flex-start; /* Agar tidak memenuhi lebar */
}

/* =========== Footer Styling =========== */
.site-footer {
  background-color: #23272b;
  color: #ccc;
  padding: 5rem 5% 0;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  /* Auto-fit columns, minimal 220px, max 1fr */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3,
.footer-col h4 {
  color: white;
  margin-bottom: 1.25rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  max-width: 18vw; /* Atur lebar logo, sesuaikan nilainya */
  margin-bottom: 1rem; /* Memberi jarak antara logo dan elemen di bawahnya */
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
  padding: 0.25rem 0;
  margin-left: 9px;
}

.footer-col a:hover {
  color: white;
  padding-left: 5px;
}
.social-links a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #888;
}

/* =========================================== */
/* =========== Responsive Design =========== */
/* =========================================== */

/* --- Tablet & Layar Menengah (Hingga 992px) --- */
@media (max-width: 992px) {
  .footer-logo{
    max-width: 10vw;
  }
  /* Navbar: Tampilkan hamburger menu lebih awal */
  .nav-menu {
    position: absolute;
    top: calc(100% + 15px); /* Posisi: 100% di bawah wadah + 15px jarak */
    right: 0;
    width: 240px; /* Lebar kotak menu dropdown */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;

    flex-direction: column;
    align-items: stretch; /* Membuat item link membentang penuh */
    gap: 5px; /* Jarak antar link */

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item {
    text-align: center;
    padding: 1rem 0;
  }

  .navbar-container .nav-item .nav-link {
    color: #333; /* Warna link di menu mobile */
  }

  .menu-icon {
    display: flex;
  }

  .menu-icon.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-icon.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-icon.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 2.8rem;
  }

  /* Product Section */
  .slide {
    min-width: 33.33%;
  }
  .product-display-info button {
    margin-top: 20px;
  }

  /* Shipping Section */
  .shipping-grid {
    gap: 1.5rem;
  }
  .shipping-card {
    flex-basis: 45%; /* Dua kartu per baris */
  }
  .about-supplier-grid {
    grid-template-columns: 1fr; /* Ubah menjadi 1 kolom */
    gap: 2.5rem;
  }

  .about-supplier-text h2 {
    text-align: center; /* Judul menjadi rata tengah di tablet/mobile */
  }

  .about-supplier-image {
    /* Pindahkan gambar ke atas teks di layar kecil */
    order: -1;
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom di tablet */
  }

  /* Letakkan ini di dalam blok @media (max-width: 768px) */
  .insights-grid {
    grid-template-columns: 1fr; /* 1 kolom di mobile */
  }

  .footer-container {
    text-align: center; /* Teks footer rata tengah di mobile */
  }
  .footer-col {
    margin-bottom: 1rem;
  }
  .footer-col ul {
    display: inline-block; /* Agar list tetap rata kiri */
    text-align: left;
  }
  .footer-col a {
    align-items: center;
  }
}
/* --- Floating Whatsapp --- */
/* =========== Floating WhatsApp Button =========== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px; /* Jarak dari bawah */
  right: 20px; /* Jarak dari kanan */
  background-color: #25d366; /* Warna hijau WhatsApp */
  color: white;
  width: 60px; /* Lebar tombol */
  height: 60px; /* Tinggi tombol */
  border-radius: 50%; /* Membuat tombol lingkaran */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem; /* Ukuran ikon WhatsApp */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* Efek bayangan */
  z-index: 1000; /* Pastikan di atas elemen lain */
  text-decoration: none; /* Hilangkan garis bawah default link */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-whatsapp-btn:hover {
  background-color: #1da851; /* Warna saat dihover */
  transform: scale(1.05); /* Sedikit membesar saat dihover */
}

/* --- Ponsel (Hingga 768px) --- */
@media (max-width: 768px) {
  /* Hero Section */
  .hero-content img {
    width: 100vw;
  }
  .footer-logo{
    max-width: 80vw;
  }
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .hero-buttons .btn {
    width: 80%;
    max-width: 300px;
  }

  /* Titles */
  .section-title {
    font-size: 2rem;
  }

  /* Product Section */
  .section-title {
    font-size: 2rem; /* Perkecil judul di mobile */
  }
  .slider-arrow {
    display: flex;
  }
  .product-slider {
    cursor: grab;
  }
  .product-slider.grabbing {
    cursor: grabbing; /* Ganti kursor saat sedang drag */
  }
  .slider-arrow.prev {
    display: flex;
    left: 1rem;
  }
  .slider-arrow.next {
    display: flex; /* Sembunyikan panah di mobile */
    right: 1rem;
  }
  .btn-wa {
    padding: 12px 10px;
    text-align: center;
  }

  /* Menampilkan 2 item di mobile */
  .slide {
    min-width: 50%;
  }

  /* Tata letak product-display menjadi vertikal */
  .product-display {
    flex-direction: column; /* Ubah jadi tumpukan vertikal */
    width: 90%; /* Gunakan lebih banyak lebar layar */
    text-align: center; /* Pusatkan teks untuk container */
  }

  .product-display-info {
    text-align: left; /* Kembalikan text-align kiri untuk paragraf */
  }

  .product-display-info h3 {
    text-align: center;
    font-size: 1.8rem;
  }
  /* Shipping Section */
  .shipping-card {
    flex-basis: 100%; /* Satu kartu per baris */
  }

  /* Legal & Compliance Section */
  .legal {
    padding: 4rem 3%;
  }
  .document-item {
    flex-direction: column; /* Susun vertikal di mobile */
    align-items: flex-start; /* Rata kiri */
    gap: 0.75rem;
    padding: 1.25rem;
  }

  /* Modal */
  .modal-content {
    padding: 2rem 1.5rem; /* Kurangi padding modal di mobile */
  }
  /* Supplier*/
  .about-supplier-text h2 {
    font-size: 1.8rem;
  }
  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    bottom: 15px;
    right: 15px;
  }
}

/* --- Ponsel Sangat Kecil (Hingga 480px) --- */
@media (max-width: 480px) {
  /* Hero Section */
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .footer-logo{
    max-width: 80vw;
  }

  /* Product Section */
  /* Menampilkan 1 atau 2 item di layar sangat kecil */
  .slide {
    min-width: 80%;
  }
  .slider-container {
    width: 100%; /* Gunakan lebar penuh */
  }

  .product-buttons {
    justify-content: center; /* Pusatkan tombol */
  }
}
