
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  background-color: #f5f6fa;
  color: #333;
}

body {
  padding-top: 80px;
}

main {
  flex: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: #0d6efd;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: white;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  transition: transform 0.3s;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-title {
  font-weight: 600;
  color: #0d6efd;
}

.card-text {
  color: #555;
  font-size: 0.95rem;
}

.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.75) !important;
}

.navbar-logo {
  width: 40px;
  height: auto;
  margin-right: 10px;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px #0d6efd80);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #e0e0e0;
  transition: color 0.3s ease;
  line-height: 1;
}

.navbar-brand:hover {
  color: #0d6efd;
}

.navbar-nav .nav-link {
  font-weight: 600; /* ini yang penting */
  color: #d0d0d0;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #0d6efd;
  text-shadow: 0 0 5px #0d6efd88;
}

.theme-switch {
  width: 60px;
  height: 30px;
  background: #ddd;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.theme-switch .icon {
  font-size: 16px;
  z-index: 1;
  pointer-events: none;
}

.toggle-circle {
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.theme-switch.dark {
  background: #333;
}

.theme-switch.dark .toggle-circle {
  transform: translateX(30px);
}
