body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* HERO */
.hero {
  background: linear-gradient(to right, #0f2027, #2c5364);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 40px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #00c853;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* LAYANAN */
.layanan {
  padding: 50px;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  width: 150px;
  font-weight: bold;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  background: #00c853;
  color: white;
}

/* FORM */
.form-section {
  background: #f2f2f2;
  padding: 50px;
  text-align: center;
}

form {
  background: white;
  padding: 20px;
  display: inline-block;
  border-radius: 10px;
}

input, select {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 220px;
}

button {
  padding: 10px;
  width: 100%;
  background: #00c853;
  color: white;
  border: none;
}

.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center; /* Vertikal rata tengah */
  justify-content: space-between; /* Logo kiri, menu kanan */
  padding: 10px 20px;
  background-color: #0f2027;
  font-family: 'Poppins', sans-serif; /* font menarik */
}

.navbar .logo {
  display: flex;
  align-items: center; /* Logo dan tulisan rata */
  gap: 10px; /* Jarak antara logo dan tulisan */
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

.navbar ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px; /* jarak antar menu */
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #ff8c00; /* highlight saat hover */
}

.testimoni {
  padding: 50px;
  text-align: center;
  background: #fff;
}

.testi-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.testi {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  width: 200px;
}

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.spinner {
  border: 5px solid #eee;
  border-top: 5px solid #00c853;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.footer {
  text-align: center; /* Tulisan di tengah */
  padding: 15px 0;
  background-color: #0f2027; /* Sama seperti navbar */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin-top: 40px;
}

/* Testimoni scrolling horizontal */
.testimoni {
  padding: 50px 20px;
  background-color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.testimoni h2 {
  text-align: center;
  margin-bottom: 20px;
}

.testi-wrapper {
  overflow: hidden;
  width: 100%;
}

.testi-track {
  display: flex;
  gap: 20px;
  animation: scrollTesti 30s linear infinite;
}

.testi {
  flex: 0 0 250px; /* Lebar tiap testimoni */
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

/* Animasi scroll horizontal */
@keyframes scrollTesti {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* scroll lebih halus */
}

html {
  scroll-behavior: smooth;
}

#backTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 15px;
  font-size: 18px;
  border: none;
  border-radius: 50%;
  background-color: #0f2027;
  color: #fff;
  cursor: pointer;
  display: none;
}

