/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: url("/maklumat/uploads/background.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
  font-family: Arial, sans-serif;
  background: #008B8B;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.65); /* terang */
  backdrop-filter: blur(6px);
  z-index: -1;
}
/* ===== HEADER (TIDAK DIUTAK-ATIK) ===== */
.top-header {
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0a3d91, #008000, #0f7c5c);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}

.header-logo img {
  height: 42px;
}

.header-title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
/* ===== ANIMASI GRADIENT HEADER ===== */
.top-header {
  background-size: 300% 300%;
  animation: headerGradient 12s ease infinite;
}

@keyframes headerGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ===== LAYOUT ===== */
.container {
  padding: 6px 12px;
  padding-left: 55px; /* ← GESER KE KANAN */
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 900px;
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(4px);
}

/* ===== TITLE ===== */
.section-title {
  width: 100%;
  text-align: center;
  margin-bottom: 18px;
  padding: 12px 16px;

  font-size: 20px;
  font-weight: 700;
  /*text-transform: uppercase;*/
  letter-spacing: 1px;
  color: #DC143C;

  background: linear-gradient(
    90deg,
    #87CEFA,
    #90EE90,
    #87CEFA
    );

  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}



/* ===== TABLE ===== */
.reveal-table {
  width: 100%;
  border-collapse: collapse;
}

.reveal-table th,
.reveal-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
}

.reveal-table th {
  background: #eef3ff;
  text-align: left;
}

/* ===== ANIMASI BARIS (DIBATASI KE TABEL) ===== */
.reveal-row a {
  color: black;           /* Warna normal */
  text-decoration: none;  /* Hilangkan garis bawah */
  transition: color 0.3s; /* Animasi halus saat berubah warna */
}

.reveal-row a:hover {
  color: #007BFF;         /* Warna saat disorot, bisa diganti sesuai selera */
}


.reveal-table .reveal-row {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
}

.reveal-table .reveal-row.show {
  animation: revealSoft 2s ease forwards;
}

/* garis highlight */
.reveal-table .reveal-row.show td:first-child {
  position: relative;
}

.reveal-table .reveal-row.show td:first-child::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(#f5c842, #0f7c5c);
  animation: lineIn 1.2s ease forwards;
}

/* ===== VARIASI ARAH MUNCUL ===== */
.reveal-table .from-bottom {
  transform: translateY(30px);
}

.reveal-table .from-left {
  transform: translateX(-30px);
}

.reveal-table .from-right {
  transform: translateX(30px);
}

.reveal-table .from-center {
  transform: scale(0.95);
}

.reveal-table .reveal-row {
  opacity: 0;
  filter: blur(6px);
}

.reveal-table .reveal-row.show {
  animation: revealFinal 1.8s ease forwards;
}

/* animasi final (tegas di akhir) */
@keyframes revealFinal {
  to {
    opacity: 1;
    transform: translate(0,0) scale(1);
    filter: blur(0);
  }
}


/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: #666;
  
}

/* ===== KEYFRAMES ===== */
@keyframes revealSoft {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes lineIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .header-title {
    font-size: 15px;
  }

  .section-title {
    font-size: 17px;
  }

  .reveal-table th,
  .reveal-table td {
    padding: 10px;
    font-size: 14px;
  }
}
/* ===== LOGO LATAR DI BAWAH HEADER (BENAR-BENAR DI LUAR TABEL) ===== */
.floating-logo {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}


.floating-logo.left {
  left: 90px;   /* ← geser mendekati tabel */
}

.floating-logo.right {
  right: 30px;  /* ← simetris */
}

.floating-logo img {
  width: 130px;
  height: auto;
}
.container,
.card {
  position: relative;
  z-index: 2;
}

