[data-md-color-scheme="bms"] {
  --md-primary-fg-color: #1F253A;
  --md-footer-bg-color: #666666;

}

/* Fix for body layout and footer positioning */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.md-main {
  flex: 1;
  background-color: #ffffff;
  width: 100%;
  margin: 0;
  padding: 0;
  /* height: 1990px; */ 
}

.md-footer {
  position: relative;
  width: 100%;
  margin-top: auto; /* Push footer to bottom */
}

/* Fix for sidebar scrolling */
.md-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.md-sidebar__scrollwrap {
  overflow-y: auto;
  max-height: 100vh;
}

/* Responsive sidebar for mobile */
@media screen and (max-width: 76.1875em) {
  .md-sidebar--primary {
    position: fixed;
    top: 0;
    left: 0;
    width: 12.1rem;
    height: 100%;
    transform: translateX(0);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
  }
}

/* Other styling elements preserved */
.md-header {
  background-color: #2B3148;
}

.md-search {
  position: absolute;
  top: 0%;
  width: 60%;
  height: 20%;
}

.md-button {
  background-color: #6e98f3;
  border: none;
  color: white;
}

.button {
  background-color: #8f9fc0;
  border: none;
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  margin: 2px 2px;
  cursor: pointer;
  border-radius: 12px;
  position: relative;
}

.md-banner {
  position: sticky;
  inset-inline: 0;
  top: 0;
  z-index: 4;
  display: block;
  color: var(--secondary);
  background-color: #2B3148;
}

.md-typeset {
  margin: 0%;
}

.md-content__inner {
  margin: 0%;
}

.header-img-wrapper {
  width: 100%;
  height: 100%;
}



