body {
  font-family: "Poppins", sans-serif;
  padding-top: 100px; /* Naikkan jarak agar konten tidak ketiban navbar */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p {
  color: var(--text);
}

/* Navbar */
.brand-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}

.brand-title > span {
  letter-spacing: 1px;
}

/* Navbar utama */
.navbar {
  position: fixed;  /* selalu di atas */
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999 !important; /* pastikan di atas semua elemen */
}

/* Warna link navbar */
.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffd166;
}

/* Dropdown */
.dropdown-menu {
  background-color: #ffffff;
}

.dropdown-menu .dropdown-item {
  color: #005f73;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #e0f7fa;
}

/* Hero */
#hero {
  min-height: calc(100vh - 91px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../img/background/hero.webp);
  background-size: cover;
  background-position: center;
}

#hero h1 {
  color: #2c3e50;
}

#hero p {
  color: #4a4a4a;
}

#hero a {
  background-color: #ff6347;
  border-color: #ff6347;
}

.hu__hu__ {
  animation: hu__hu__ infinite 2s ease-in-out;
}

@keyframes hu__hu__ {
  50% {
    transform: translateY(5px);
  }
}

/* Judul */
.judul {
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 1.5em;
}

/* tips */
.tips {
  background-color: var(--bg);
}

.tips h3 {
  font-size: 1.3em;
}

.tips p {
  font-size: 0.8rem;
}

.tips .mm {
  background-color: #d3fcf8;
}

.tips .mp {
  background-color: #f9e8e8;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  filter: invert(100%) sepia(100%) saturate(500%) hue-rotate(180deg) !important;
}

/* Question */
.text-justify {
  text-align: justify;
}

/* Footer */
.footer {
  margin-top: auto;  /* dorong footer ke bawah */
  height: 4rem;
  line-height: 4rem;
  background-color: #005f73;
  color: #fff;
  text-align: center;
}

/* Responsive Breakpoints */
/* Mobile */
@media screen and (max-width: 767px) {
  /* Navbar */
  .brand-title {
    font-size: 0.7em;
  }

  /* Tips */
  .card-custom {
    width: 100% !important;
  }

  /* Footer */
  footer p {
    font-size: 0.8em;
  }
}

@media screen and (max-width: 992px) {
  /* Hero */
  #hero {
    /* min-height: 85vh; */
  }
}

/* ============================= */
/* FIX: cegah iframe / carousel nutup navbar */
/* ============================= */
iframe,
.carousel,
.carousel-inner,
.carousel-item,
.carousel-caption,
section,
.container {
  position: relative;
  z-index: 1 !important; /* Konten selalu di bawah navbar */
}
