html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.navbar .dropdown:hover > .dropdown-menu {
display: block;
margin-top: 0; /* remove possible offset */
}
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1030; /* make sure it's above content */
background-color: #fff; /* keep background to avoid transparency */
border-bottom: 1px solid #dee2e6;
box-shadow: none;
}

/* rest of your navbar styles as is */
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #2A3E60;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: #2A3E60;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: calc(100% - 30px);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  margin-top: 0;
  border-radius: 0;
}

.btn-daftar {
  background: linear-gradient(90deg, #AE4B87 0%, #AE4B87);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  padding: 10px 25px;
  border: none;
}

.btn-daftar:hover {
  background: #2A3E60;
  color: white;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.logo-minimized {
  width: 150px;
  height: auto;
}

@media (max-width: 768px) {
  .logo-minimized {
    width: 100px;
  }
}

.custom-paragraph {
  font-size: 1.2rem;
  text-align: center;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    padding: 1rem;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    box-shadow: none;
  }

  .dropdown-submenu > .dropdown-menu {
    margin-left: 1rem;
  }

  .btn-daftar {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .nav-link {
    width: 100%;
  }
}

/* Footer style */
footer {
  background-color: #f8f9fa; /* Example */
  padding: 20px;
}
