* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to bottom, #e8f0ff, #ffffff);
  color: #333;
  overflow-x: hidden;
}
header {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background-color: #004aad;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  height: 45px;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}


.hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
              url('img/bg-hero.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeInHero 1.2s ease-in-out both;
  overflow: hidden;
}

.hero-overlay {
  color: white;
  padding: 0 30px;
  max-width: 800px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  animation: slideInDown 1s ease-out;
}


.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ffffff;
  min-height: 40px;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  opacity: 1;
  display: inline-block;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-three {
  font-size: 1.50rem;
  font-weight: 500;
  margin-bottom: 25px;
  color: #ffffff;
  min-height: 40px;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  opacity: 1;
  display: inline-block;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.hero-subtitle.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.hero-subtitle.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff9900;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: zoomIn 1s ease-in-out;
}

.hero-btn:hover {
  background-color: #ffaa33;
  transform: scale(1.05);
}

@keyframes fadeInHero {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  transform-style: preserve-3d;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #004aad;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  color: #666;
  font-size: 0.95rem;
}

.tag {
  margin-top: 15px;
  display: inline-block;
  background-color: #e0f3ff;
  color: #007BFF;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #004aad;
  color: white;
  margin-top: 10px;
}

@media (max-width: 600px) {
  /* 🔹 Judul utama */
  .hero-title {
    font-size: 1.8rem;
  }

  /* 🔹 Tagline (three times the hope ...) */
  .hero-three {
    font-size: 1rem;        /* bisa disesuaikan, misal 1.2rem kalau mau agak besar */
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  /* 🔹 Subjudul */
  .hero-subtitle {
    font-size: 1rem;
  }

  /* 🔹 Tombol */
  .hero-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}


/* Trusted Section */
.trusted-section {
  background: linear-gradient(to right, #2c3e50, #4ca1af);
  padding: 2rem 1rem;
  margin-top: 3rem;
  margin-bottom: 10px;
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  color: #fff;
  animation: fadeInUp 1s ease-in-out;
}

.trusted-users {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 1200px;
  margin: auto;
}

.trusted-title {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.user-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 0.9rem;
  border-radius: 1.5rem;
  transition: background 0.3s;
  white-space: nowrap;
}

.user-item:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .user-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .user-logos {
    grid-template-columns: 1fr;
  }
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 999;
}

.wa-float,
.order-float {
  background: linear-gradient(to right, #042e0e, #04641b);
  color: white;
  padding: 8px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: fixed;
  right: 10px;
  z-index: 99;
}

.wa-float {
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-float:hover {
  background: linear-gradient(to right, #218838, #28a745);
  transform: scale(1.12) rotate(-2deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.order-float {
  bottom: 70px;
  border-radius: 50px;
}

.order-float:hover {
  transform: scale(1.1);
  background: linear-gradient(to right, #218838, #28a745);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

#toggleMusic {
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  color: #333;
  border: none;
  border-radius: 50px;
  padding: 12px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 120px;
  right: 10px;
  z-index: 97;
  transition: all 0.3s ease;
}

#toggleMusic:hover {
  transform: scale(1.12) rotate(1deg);
  background: linear-gradient(to right, #e0e0e0, #ffffff);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: scaleUp 0.4s ease;
  position: relative;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal .close:hover {
  color: #111;
}

.modal-content label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  transition: border 0.3s ease;
}

.modal-content input:focus,
.modal-content select:focus {
  border-color: #34d058;
  outline: none;
}

.modal-content button[type="submit"] {
  background: linear-gradient(to right, #34d058, #28a745);
  color: white;
  font-weight: bold;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/*efek salju*/
.snowflake {
  position: absolute;          /* Bebas ditempatkan di mana saja di layar */
  top: -10px;                  /* Mulai sedikit di atas layar */
  width: 10px;                 /* Ukuran salju: 10px */
  height: 10px;
  background: white;           /* Warna putih seperti salju */
  border-radius: 50%;          /* Membulat (bola kecil) */
  box-shadow: 0 0 6px #fff;    /* Efek glow putih di sekitar salju */
  opacity: 0.8;                /* Transparan sedikit */
  animation: fallSnow linear infinite; /* Gunakan animasi 'fallSnow' terus-menerus */
}


@keyframes fallSnow {
  0% {
    transform: translateY(0) rotate(0deg);   /* Mulai dari atas (0px), tidak berputar */
    opacity: 0.9;                            /* Hampir penuh kelihatan */
  }
  100% {
    transform: translateY(600px) rotate(360deg); /* Turun ke bawah 600px dan berputar penuh */
    opacity: 0;                                  /* Hilang perlahan */
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

/* Menu */
.nav-menu {
  position: absolute;
  top: 70px;
  right: 25px;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 15px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.nav-menu.active {
  display: flex;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: 0.2s;
}

.nav-menu a:hover {
  color: #4CAF50;
}
/* ===== DESKTOP MODE ===== */
@media (min-width: 768px) {

  .hamburger {
    display: none; /* Sembunyikan hamburger di desktop */
  }

  .nav-menu {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 20px;
  }

  .nav-menu a {
    color: white;
  }

  .nav-menu a:hover {
    color: #ffdd57;
  }
}
