.sub-sidebar {
  position: fixed;
  top: 0;
  width: 300px;
  height: 1000px;
  background-color: #ffffff;
  color: rgb(35, 35, 35);
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.8s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: rgb(35, 35, 35);
  color: white;
  position: absolute;
}

.sub-sidebar {
  right: -850px;
  /* Change to: */
  transform: translateX(320px);
  transition: transform 0.8s ease-in-out;
}

.subbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0 20px;
}

.subbar-heading {
  text-align: start;
  padding: 0 20px;
}

.sub-sidebar ul {
  padding: 0 18px;
  background-color: white;
  height: 100%;
}

.sub-sidebar ul li {
  padding: 0;
  border-bottom: 0.1px solid rgba(128, 128, 128, 0.12);
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sub-sidebar ul li a {
  color: #1d2128;
  text-align: start;
  font-size: 14px;
}

.sub-sidebar ul li span {
  display: flex;
  justify-content: end;
  font-size: 0.8rem;
  color: #1d2128;
  font-weight: 600;
  line-height: 32px;
  width: 100%;
}

.sub-sidebar.active {
  transform: translateX(7%);
}


.close-btn {
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 15px;
  top: 15px;
  color: rgb(0, 0, 0);
}

.arrow {
  cursor: pointer;
  margin-left: 5px;
  font-size: 18px;
}

.sub-items {
  list-style: none;
  padding-left: 15px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.8s ease-out, opacity 0.8s ease-out;
  padding: 0 10px !important;
  align-self: baseline;
}

.sub-items.active {
  max-height: max-content;
  opacity: 1;
}

/* Styling for the + button */
.toggle-btn {
  cursor: pointer;
  margin-left: 10px;
  font-weight: bold;
  font-size: 20px !important;
  color: #333;
}

.service-menu {
  overflow-y: auto;
  scrollbar-width: thin;
  /* For Firefox */
  scrollbar-color: #888 #f1f1f1;
  /* For Firefox */
}

/* For WebKit-based browsers (Chrome, Edge, Safari) */
.service-menu::-webkit-scrollbar {
  width: 6px;
  /* Adjust the width to make it slimmer */
}

.service-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Light background for the track */
  border-radius: 10px;
}

.service-menu::-webkit-scrollbar-thumb {
  background: #888;
  /* Darker color for the thumb */
  border-radius: 10px;
}

.service-menu::-webkit-scrollbar-thumb:hover {
  background: #555;
  /* Slightly darker on hover */
}

.sidebar-menu > li {
  position: relative;
}

.sub-sidebar {
  position: absolute;
    top: 0;
    right: 0;
  transform: translateX(107%);
  z-index: 1001;
}

.overlay.active {
  display: block;
  opacity: 1;
}

.arrow-left {
  cursor: pointer;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.arrow-left:hover {
  transform: translateX(-3px);
}


.sb1 {
  top: -134px;
}
 .sb2 {
  top: -181px;
}
.sb3 {
  top: -228px;
}
.sb4 {
  top: -275px;
}
.sb5 {
  top: -322px;
}
.sb6 {
  top: -369px;
} 
