/* Hamburger menu for mobile/tablet */

.hamburger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-top: 4px;
  float: left;
}

.hamburger-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Overlay background */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Hide mobile menu on desktop */
.mobile-menu {
  display: none;
}

@media (max-width: 991px) {
  .hamburger-toggle {
    display: block;
  }

  /* Hide the sidebar column on mobile/tablet */
  .col-sm-pull-8 {
    display: none;
  }

  /* Make content full width */
  .col-sm-push-4,
  .col-md-push-4 {
    left: 0;
  }

  .col-sm-8,
  .col-md-8 {
    width: 100%;
  }

  /* Slide-in menu panel */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu-header {
    background-color: #17589C;
    color: #fff;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }

  .mobile-menu .list-group {
    margin-bottom: 0;
  }

  .mobile-menu .list-group-item {
    border-radius: 0;
    font-size: 16px;
    padding: 14px 20px;
  }
}
