body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background-color: #f5f9ff;
  color: #1b3b6f;
}

/* ===== HEADER & NAVBAR ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #004e8a, #0077b6);
  color: white;
  padding: 10px 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo h1 {
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #ffd700;
}

/* Tombol login */
.btn-login {
  background: #ffffff;
  color: #004e8a;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-login:hover {
  background: #ffd700;
  color: #003366;
}

/* Tombol Hamburger */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 50px 20px;
  text-align: center;
}

.kandidat-detail h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.subtitle {
  color: #777;
  font-size: 1rem;
  margin-bottom: 40px;
}

.top-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.foto-card img {
  width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

.video-card video {
  width: 400px;
  height: 350px;
  border-radius: 10px;
}

.bottom-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.info-card {
  width: 45%;
  text-align: left;
}

.info-card h2 {
  color: #005c99;
  border-bottom: 3px solid #00a3e0;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.info-card p,
.info-card ul {
  color: #333;
  line-height: 1.6;
}

.info-card ul {
  list-style: disc;
  margin-left: 20px;
}

/* ===== FOOTER ===== */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  margin-top: 60px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #004e8a;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 230px;
    border-radius: 10px;
    text-align: right;
    padding: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .top-section {
    flex-direction: column;
  }

  .info-card {
    width: 90%;
  }

  .video-card video,
  .foto-card img {
    width: 100%;
  }
}
