/* Navigation menu styles for lp.php */
html, body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-size: 62.5%; /* (10 px in REM size) */
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #548235;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
  font-weight: 400;
  max-width: 1200px; /* Atur lebar maksimum sesuai kebutuhan */
  margin: 0 auto; /* Pusatkan konten */
}
.nav-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #ffffff;
}
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.nav-menu ul li {
  position: relative;
}

.nav-menu ul li a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 5px;
  display: block;
  transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
  color: #FFB200;
}

/* Dropdown styles */
.nav-menu ul li.dropdown > a::after {
  content: " ▼";
  font-size: 0.6rem;
  margin-left: 5px;
}

.nav-menu ul li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid #548235;
  border-radius: 5px;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

.nav-menu ul li .dropdown-menu li {
  width: 100%;
}

.nav-menu ul li .dropdown-menu li a {
  color: #548235;
  padding: 10px 15px;
  white-space: nowrap;
}

.nav-menu ul li .dropdown-menu li a:hover {
  background-color: #FFB200;
  color: #000000;
}

/* Show dropdown on hover */
.nav-menu ul li.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Hamburger menu icon for mobile */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile panel menu */
.mobile-panel-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #ffffff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.3);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
  border-radius: 0 0 0 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
}

.mobile-panel-menu.active {
  right: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.4s ease;
}

/* Mobile panel menu close button */
.mobile-panel-close {
  font-size: 2.4rem;
  font-weight: bold;
  color: #548235;
  cursor: pointer;
  margin-bottom: 20px;
  user-select: none;
  transition: color 0.3s ease;
}

.mobile-panel-close:hover {
  color: #FFB200;
}

/* Dropdown in mobile panel */
.mobile-panel-menu ul li.dropdown > a::after {
  content: " ▼";
  font-size: 0.8rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.mobile-panel-menu ul li.dropdown.active > a::after {
  transform: rotate(180deg);
}

/* Dropdown submenu in mobile panel */
.mobile-panel-menu ul li .dropdown-menu {
  display: none;
  padding-left: 15px;
  margin-top: 5px;
  border-left: 2px solid #548235;
  border-radius: 0 5px 5px 0;
  background-color: #f9f9f9;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-panel-menu ul li.dropdown.active > .dropdown-menu {
  display: block;
  max-height: 500px; /* enough height for submenu */
  opacity: 1;
}

/* Dropdown submenu links */
.mobile-panel-menu ul li .dropdown-menu li a {
  font-size: 1.1rem;
  padding: 8px 10px;
  color: #548235;
  font-weight: 500;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-panel-menu ul li .dropdown-menu li a:hover {
  background-color: #FFB200;
  color: #000000;
}

.mobile-panel-close {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  margin-bottom: 20px;
  user-select: none;
}

.mobile-panel-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-panel-menu ul li {
  margin-bottom: 15px;
  position: relative;
}

.mobile-panel-menu ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  display: block;
  padding: 10px 5px;
}

.mobile-panel-menu ul li a:hover {
  color: #FFB200;
}

/* Dropdown in mobile panel */
.mobile-panel-menu ul li.dropdown > a::after {
  content: " ▼";
  font-size: 0.8rem;
  margin-left: 5px;
}

.mobile-panel-menu ul li .dropdown-menu {
  display: none;
  padding-left: 15px;
  margin-top: 5px;
}

.mobile-panel-menu ul li.dropdown.active > .dropdown-menu {
  display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
  }
  .hamburger-menu {
    display: flex !important;
  }
  .mobile-panel-menu {
    display: none !important; /* Hide panel menu by default */
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #548235;
    box-shadow: -2px 0 5px rgba(0,0,0,0.3);
    transition: right 0.3s ease;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
  }
  .mobile-panel-menu.active {
    display: block !important;
    right: 0;
  }
}
.button-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn {
  background-color: #008000; /* hijau */
  color: white;
}

.daftar-btn {
  background-color: #FFC107; /* kuning */
  color: #002b5c; /* biru tua */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.card-registration {
  display: flex;
  align-items: center;         /* Sejajarkan vertikal */
  gap: 12px;                   /* Jarak antara icon dan teks */
  padding: 10px 20px;
  border-radius: 10px;
}

.judul {
  font-weight: bold;           /* Teks tebal */
  color: #000000;              /* Warna hijau gelap mirip icon */
  font-size: 1.8rem;
}
.judul-white {
  font-weight: bold;           /* Teks tebal */
  color: #032518;              /* Warna hijau gelap mirip icon */
  font-size: 1.8rem;
}
.product-card-hijau {
  width: 100%;
  background-color: #ffffff; /* Warna hijau muda */
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  font-family: 'poppins', sans-serif;
  color: #333;
  margin: 20px auto;
}

.product-image {
  background-color: #ffffff; /* Hijau pastel untuk gambar */
  color: #444;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover; /* bisa diganti contain tergantung kebutuhan */
  border-radius: 12px;
}
.product-title {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: left;
}

.product-title .price {
  float: right;
  font-weight: bold;
}

.section-title {
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.5rem;
}
.section-title2 {
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.8rem;
  color:#f44336;
}

.product-list {
  list-style: disc;
  padding-right: 5px;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Default button style (dipakai semua) */
.buy-button-hijau,
.buy-button-coklat,
.buy-button-orange,
.buy-button-biru,
.buy-button-merah {
  display: block;
  width: 100%;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Warna tombol */
.buy-button-hijau  { background-color: #4caf50; }
.buy-button-coklat { background-color: #795548; }
.buy-button-orange { background-color: #ff9800; }
.buy-button-biru   { background-color: #2196f3; }
.buy-button-merah  { background-color: #f44336; }

/* Hover effect (berlaku semua) */
.buy-button-hijau:hover  { background-color: #388e3c; transform: translateY(-2px); }
.buy-button-coklat:hover { background-color: #5d4037; transform: translateY(-2px); }
.buy-button-orange:hover { background-color: #f57c00; transform: translateY(-2px); }
.buy-button-biru:hover   { background-color: #1976d2; transform: translateY(-2px); }
.buy-button-merah:hover  { background-color: #d32f2f; transform: translateY(-2px); }

/* Floating WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #10a045;
  color: white;
  font-weight: bold;
  font-size: 1.0rem;
  border-radius: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 10000;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #ffffff;
}

.whatsapp-float a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
}

.whatsapp-text {
  user-select: none;
}
     .tab-buttons {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      margin-bottom: 20px;
    }

    .tab-buttons button {
      border: none;
      padding: 10px 30px;
      border-radius: 30px;
      font-weight: bold;
      font-size: 1rem;
      box-shadow: 0 3px 6px rgba(0,0,0,0.2);
      cursor: pointer;
      transition: transform 0.3s;
    }

    .tab-buttons button:hover {
      transform: scale(1.05);
    }

    .tab-buttons .green {
      background-color: green;
      color: white;
    }

    .tab-buttons .orange {
      background-color: orange;
      color: white;
    }

    .tab-content {
      display: none;
      animation: fadeSlide 0.5s ease;
    }

    .tab-content.active {
      display: block;
    }

    @keyframes fadeSlide {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .card {
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 20px;
      position: relative;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .photo {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid #ccc;
    }

    .card table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
    }

    .card td {
      padding: 4px 0;
      border-bottom: 1px solid #ccc;
    }

    .card td:first-child {
      font-weight: 600;
      width: 40%;
    }

    #transaksi .card {
      background-color: #e9f5e4;
    }

    #withdraw .card {
      background-color: #dceafb;
    }
    .stats {
      background-color: #000;
      color: #fff;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
      padding: 30px 20px;
      border-radius: 12px;
      margin-top: 40px;
      text-align: center;
    }

    .stats .item {
      font-weight: bold;
    }

    .stats .item .count {
      font-size: 1.8rem;
      color: yellow;
    }

    .stats .item .label {
      margin-top: 5px;
      font-size: 0.95rem;
      color: #fff;
      font-weight: normal;
    }
    .faq {
      margin-top: 50px;
    }
    .faq-item {
      background: #d0eec4;
      margin-bottom: 10px;
      border-radius: 10px;
      overflow: hidden;
    }
    .faq-question {
      padding: 15px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: bold;
    }
    .faq-answer {
      padding: 15px;
      display: none;
      background: #e8f5dc;
    }
    .faq-item.active .faq-answer {
      display: block;
    }
footer {
  background-color: #4a7c3a;
  color: white;
  text-align: center;
  padding: 10px 15px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  margin-top: 60px;
  font-size: 1rem;
  height: 140px;        /* tinggi tetap */
  box-sizing: border-box; /* biar padding tidak nambah tinggi */
}


.badge-professional {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-block;
  background-color: #fc130b; /* Professional blue color */
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 12px;
  margin-top: 0;
  text-align: center;
  user-select: none;
}

.product-image {
  position: relative;
}

.product-card-coklat {
  position: relative;
}
.product-card-orange {
  position: relative;
}
