.footer {
  background: #0f2040;
  color: #eee;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer a {
  color: #eee;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #bbb;
}

.footer-links h4,
.footer-subscribe h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.footer-subscribe form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-subscribe input[type="email"] {
  padding: 8px;
  flex: 1;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
}
.footer-subscribe button {
  padding: 8px 14px;
  background: #ffb703;
  color: #0f2040;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
}
.footer-subscribe button:hover {
  background: #f4a261;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.social-icons a {
  margin: 0 8px;
  font-size: 0.85rem;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 480px) {
  .footer {
    padding: 30px 15px 15px;
  }
  .footer-top {
    gap: 20px;
  }
  .footer-links h4,
  .footer-subscribe h4 {
    font-size: 0.9rem;
  }
  .footer-links li,
  .footer-tagline,
  .footer-subscribe input[type="email"],
  .footer-subscribe button,
  .social-icons a,
  .footer-bottom {
    font-size: 0.75rem;
  }
}


.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup-content {
  background: #fff;
  color: #333;
  padding: 25px 20px;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: fadeInScale 0.3s ease;
  text-align: center;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.popup-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  background-color: #0f2040; /* Navy blue */
  color: #fff;               /* Teks putih agar kontras */
  padding: 15px 10px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.popup-header img.footer-logo {
  max-width: 80px;
  margin-bottom: 10px;
}



.popup-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.popup-body p {
  margin: 6px 0;
  font-size: 0.95rem;
}

.popup-extra {
  font-size: 0.85rem;
  color: #555;
}

.popup-footer {
  margin-top: 15px;
}

.popup-footer button {
  padding: 8px 18px;
  background: #0f2040;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.popup-footer button:hover {
  background: #14213d;
}

/* Popup default sembunyi */
#subscribePopup {
  display: none;  /* <--- ini yang bikin popup sembunyi saat awal load */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup-benefits {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  text-align: left;
}

.popup-benefits li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-content {
  padding: 30px 25px;
  border: 1px dashed #0f2040;
  border-radius: 1px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.popup-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
  background-color: #0f2040; /* Navy blue */
  color: #fff;               /* Teks putih agar kontras */
  padding: 15px 10px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.popup-header img.footer-logo {
  max-width: 80px;
  margin-bottom: 10px;
}

.popup-body {
  padding: 15px 10px;
  border-top: 1px solid #ccc;    /* garis tipis solid abu */
  border-bottom: 1px solid #ccc; /* garis tipis solid abu */
  margin: 10px 0;
}
