* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

body {
  background-color: #e9faff;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* Table */
table {
  border-collapse: collapse;
  width: 80%;
  max-width: 800px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

thead {
  background-color: #2a9d8f;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

th, td {
  text-align: center;
  padding: 12px 16px;
}

tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

tbody tr:hover {
  background-color: #e9f5f2;
  transition: 0.3s;
}

th {
  font-weight: 600;
}

.duration {
  font-weight: bold;
  color: #6b0a0d;
  margin-bottom: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  width: 100px;
  margin-right: 10px;
  object-fit: contain;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #888;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* Hero */
.hero {
  background-color: #e9faff;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 60px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.hero p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.cta-button:hover {
  background-color: #555;
  transform: translateY(-3px);
}

.hero-img {
  width: 100%;
  max-width: 800px;
  border-radius: 15px;
  margin-top: 30px;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

/* Category Section */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.category-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 40px;
  color: #333;
  margin-bottom: 15px;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-price {
  color: #444;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.buy-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.buy-btn:hover {
  background: #555;
}

.wishlist-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 18px;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}



.report-grid {
  display: grid;
  gap: 25px;
  margin-bottom: 60px;
}

.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.service-icon {
  font-size: 40px;
  color: #333;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ddd;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col i {
  margin-right: 8px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}



/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .category-grid,
  .product-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .category-grid,
  .product-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  table {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  th, td {
    padding: 10px;
    font-size: 14px;
  }

  iframe {
    width: 100%;
    height: 250px;
  }
}


.testimonials {
  background: #e9faff;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

/* Wrapper khusus untuk animasi mobile */
.testimonial-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  justify-content: center;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 40px 25px 70px;
  flex: 0 0 350px;
  text-align: center;
}

.quote-icon {
  font-size: 50px;
  color: #2a9d8f;
  opacity: 0.2;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 16px;
  color: #555;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.stars {
  color: #f4b400;
  font-size: 18px;
  margin-bottom: 25px;
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2a9d8f;
  margin-bottom: 10px;
}

.testimonial-name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

/* === RESPONSIVE FIX MOBILE === */
@media (max-width: 768px) {
  .testimonial-wrapper {
    width: 100vw; /* gunakan lebar layar penuh */
    margin-left: calc(-50vw + 50%); /* pusatkan keluar dari container */
  }

  .testimonial-track {
    gap: 0;
    width: 100%;
  }

  .testimonial-card {
    flex: 0 0 100vw; /* setiap card = 1 layar penuh */
    max-width: 100vw;
    border-radius: 0;
    margin: 0;
  }
}

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(50px); /* Geser ke bawah sedikit saat belum terlihat */
  transition: all 1s ease-out; /* Durasi animasi muncul */
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0); /* Kembali ke posisi asal */
}

/* Delay bertingkat untuk elemen yang sejajar (misal: card produk) */
.delay-200 { transition-delay: 200ms; }
.delay-400 { transition-delay: 400ms; }
.delay-600 { transition-delay: 600ms; }

/* 2. Animasi Mengambang (Floating) untuk Icon/Gambar Hero */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* 3. Animasi Denyut Halus untuk Tombol CTA */
@keyframes pulse-soft {
  0% { box-shadow: 0 0 0 0 rgba(51, 51, 51, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(51, 51, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(51, 51, 51, 0); }
}

.cta-pulse {
  animation: pulse-soft 2s infinite;
}

/* Update hover existing agar lebih smooth */
.category-card img, 
.product-card img {
  transition: transform 0.5s ease;
}

.category-card:hover .category-icon,
.product-card:hover .product-img {
  transform: scale(1.05); /* Sedikit membesar saat di-hover */
}

    /* Container untuk floating button */
    .whatsapp-fab {
      position: fixed;
      right: 18px;              /* jarak dari kanan */
      bottom: 18px;             /* jarak dari bawah */
      z-index: 9999;
      display: inline-block;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
      box-shadow: 0 6px 20px rgba(18, 140, 126, 0.25), 0 2px 6px rgba(0,0,0,0.12);
      transition: transform .16s cubic-bezier(.2,.9,.2,1), box-shadow .16s;
      -webkit-tap-highlight-color: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .whatsapp-fab:hover,
    .whatsapp-fab:focus {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 10px 28px rgba(18, 140, 126, 0.28), 0 4px 10px rgba(0,0,0,0.14);
      cursor: pointer;
      outline: none;
    }

    /* Animasi pulse (halus) */
    .whatsapp-fab::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 56px;
      height: 56px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(37,211,102,0.12) 0%, rgba(18,140,126,0.04) 40%, transparent 60%);
      opacity: 0;
      transition: opacity .2s;
      pointer-events: none;
    }

    .whatsapp-fab.pulse::after {
      animation: pulse 2.6s infinite;
      opacity: 1;
    }

    @keyframes pulse {
      0%   { transform: translate(-50%, -50%) scale(.9); opacity: .9; }
      70%  { transform: translate(-50%, -50%) scale(1.8); opacity: .06; }
      100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
    }

    /* SVG icon sizing */
    .whatsapp-fab svg {
      width: 24px;
      height: 24px;
      display: block;
      filter: drop-shadow(0 1px 0 rgba(0,0,0,0.08));
    }

    /* Accessible text (visually hidden) */
    .sr-only {
      position: absolute !important;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0,0,0,0);
      white-space: nowrap; border: 0;
    }

    /* Responsive tweak: lebih kecil pada layar kecil */
    @media (max-width:420px) {
      .whatsapp-fab { width: 50px; height: 50px; right: 14px; bottom: 14px; }
      .whatsapp-fab svg { width: 20px; height: 20px; }
      .whatsapp-fab::after { width: 50px; height: 50px; }
    }