:root {
  --primary: #0b2c4d;
  --accent: #0056a3;
}

/* NAVBAR */
.navbar {
  background: var(--primary);
}

.isi-logo {
  height: 42px;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
}

.brand-subtitle {
  font-size: .8rem;
  opacity: .85;
}

/* LINKS */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  padding: .5rem .9rem;
}

/* SPACE BETWEEN NAV MENU ITEMS */
.navbar-nav .nav-item {
  margin-right: 0.8rem;   /* horizontal gap */
}

.navbar-nav .nav-item:last-child {
  margin-right: 0;
}


.navbar-nav .nav-link.active {
  color: #ffd24d !important;
  font-weight: 600;
}



/* DROPDOWNS */
.dropdown-menu {
  border-radius: 6px;
  padding: .4rem 0;
  border: 1px solid #ccc;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #e6f4ff;
  color: #0056a3;
}

/* DESKTOP */
@media (min-width: 992px) {

  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s;
  }

  .nav-item:hover > .dropdown-menu,
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-submenu > .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
  }
}

/* ================= MOBILE DROPDOWNS ================= */
@media (max-width: 991px) {

  /* Bootstrap handles first-level dropdowns */

  /* Submenus */
  .dropdown-submenu > .dropdown-menu {
    display: none;
    position: static;
    margin-left: 1rem;
    border-left: 2px solid #e9ecef;
  }

  .dropdown-submenu.show > .dropdown-menu {
    display: block;
  }

  .dropdown-menu-scroll {
    max-height: 70vh;
    overflow-y: auto;
  }
}



/* SUBMENU */
.dropdown-submenu {
  position: relative;
}

.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.submenu-toggle i {
  font-size: .85rem;
}


/* ================= FOOTER ================= */

.site-footer {
  background: #0b2c4d;        /* same as navbar */
  color: #ffffff;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  width: 100%;
}

/* Optional: softer look */
.site-footer a {
  color: #ffd24d;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ===== STICKY FOOTER FIX ===== */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
}

.site-footer {
  flex-shrink: 0;
}
