body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
}

/* Navbar */
#navbar {
  background: linear-gradient(90deg, #005fa3, #007bff);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url('../../assets/img/bg-ptun.jpg') center/cover no-repeat;
  overflow: hidden;
}
#particles-js {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.overlay-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,90,150,0.5), rgba(0,0,0,0.5));
  z-index: 1;
}
.hero .container {
  z-index: 2;
  position: relative;
}
.title-gradient {
  background: linear-gradient(90deg, #00aaff, #00ffcc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Card menu */
.menu-card2 {
  background: #fff;
  border-radius: 16px;
  padding: 25px 15px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}
.menu-card2 img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.menu-card2:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Warna lembut tiap kartu */
.card-kuasa { background: #eaf6ff; }
.card-gugatan { background: #fff6e5; }
.card-penggugat { background: #e5f9f2; }
.card-tergugat { background: #f3e5f9; }

.about-box2 {
  background: #ffffff;
  border-left: 6px solid #005fa3;
  line-height: 1.6;
}

.footer {
  background: #005fa3;
}


/* === NAVBAR === */
#navbar {
  background: linear-gradient(90deg, #005fa3, #00c7a5);

  transition: all 0.4s ease;
}
#navbar.scrolled {
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.navbar .logo {
  height: 48px;
}
.spin-logo {
  animation: spinIn 1.5s ease-in-out;
}
@keyframes spinIn {
  0% {transform: rotate(-360deg) scale(0);}
  100% {transform: rotate(0) scale(1);}
}

/* === HERO === */
.hero {
  height: 90vh;
  position: relative;
  color: white;
  overflow: hidden;
}
.hero .animated-bg {
  background: url('../img/bg-ptun.jpg') center/cover no-repeat;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  filter: brightness(0.7);
  animation: bgZoom 20s ease-in-out infinite alternate;
}
@keyframes bgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,99,163,0.7), rgba(28,197,220,0.7));
}

.hero .overlay {
  background: linear-gradient(180deg, rgba(10,99,163,0.6), rgba(28,197,220,0.6));
  z-index: 1; /* overlay di atas particle */
}
.hero .container {
  position: relative;
  z-index: 2; /* teks & tombol di atas semuanya */
}


/* === PARTICLE EFFECT === */
/* === PARTICLE EFFECT (BOKEH LEBIH TERLIHAT) === */
#particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0; /* di bawah overlay & teks */
  pointer-events: none; /* biar tombol tetap bisa diklik */
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.6), rgba(255,255,255,0));
  filter: blur(2px);
  animation: float 15s linear infinite;
}

@keyframes float {
  from { transform: translateY(100vh) scale(0.5); opacity: 0; }
  50%  { opacity: 0.8; }
  to   { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

@keyframes float {
  from { transform: translateY(100vh) scale(0.5); opacity: 0; }
  50%  { opacity: 0.6; }
  to   { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* === FORM CARD === */
.form-card {
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #f0f7ff);
  color: #0a63a3;
  transition: all 0.4s ease;
}
.form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.form-card .btn-success {
  background: linear-gradient(90deg, #005fa3, #00c7a5);

  border: none;
}
.form-card .btn-success:hover {
  opacity: 0.9;
}

/* === FOOTER === */
.footer {
  background: linear-gradient(90deg, #005fa3, #00c7a5);

}

/* === ANIMASI SCROLL === */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============== Floating Copyright & Go Up =============== */
.floating-left, .floating-right {
  position: fixed;
  bottom: 20px;
  z-index: 9999;
}

.floating-left {
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}

.floating-right {
  right: 20px;
}

.btn-go-up {
  background: linear-gradient(135deg, #007bff, #00bfff);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-go-up:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #00bfff, #007bff);
}

/* Responsive positioning */
@media (max-width: 575px) {
  .floating-left {
    bottom: 10px;
    left: 10px;
    font-size: 0.8rem;
    padding: 4px 10px;
  }
  .btn-go-up {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

