html {
  scroll-behavior: smooth;
}

.custom-sidebar.sidebar-active {
  transform: translateX(0%);
  opacity: 1;
}

.custom-sidebar {
  position: fixed;
  right: 0;
  background-color: var(--dark-blue);
  padding: 0px;
  transition: transform 0.3s ease;
  top: 210px;
  opacity: 0;
  max-width: 300px;
  box-shadow: 1px 3px 3px 1px rgb(16 40 33 / 28%);
  z-index: 99;
  transform: translateX(100%);
  border-radius: 10px 0 0 10px;
}

.custom-sidebar .heading-32 {
  font-size: 20px;
  background-color: var(--dark-blue);
  color: #fff;
  padding: 20px;
  line-height: 1.2;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  border-top-left-radius: 10px;
}
.custom-sidebar a {
  padding: 0 0 0 20px;
  position: relative;
  display: inline-block;
  line-height: 20px;
  margin-bottom: 0;
  width: 100%;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.custom-sidebar .sidebar-close {
  position: absolute;
  right: 10px;
  top: 17px;
  color: #4e4e4e;
  cursor: pointer;
  background-color: #ded9d9;
  width: 30px;
  height: 30px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fdfdfd;
  border-radius: 100%;
}
.sidebar-close:before {
  position: absolute;
  content: "X";
}
.custom-sidebar ul {
  counter-reset: custom;
  list-style-type: none;
  padding: 0 20px;
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
}
.custom-sidebar ul li {
  counter-increment: custom;
  padding: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  align-items: center;
  width: 100%;
}
.custom-sidebar ul li.active > a {
  color: var(--golden);
  font-weight: 600;
}
.custom-sidebar ul li.active:before{
  color: var(--golden);
  font-weight: 600;
}
.custom-sidebar ul li:before {
  content: counters(custom, ".") " ";
  font-size: 12px;
  margin-right: 15px;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
 top: -4px;
}
.custom-sidebar ul li a {
  color: #fff;
  text-decoration: none;
}
.custom-sidebar li.active a {
  color: var(--theme);
}
button.sidebar-toggle-button {
  position: fixed;
  right: 0;
  z-index: 9;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 0%;
  border-radius: 8px 8px 0 0;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  top: 55%;
  outline: none;
  z-index: 99;
  border-radius: 2px;
  border: 1px solid var(--theme);
  font-weight: 600;
}
button.sidebar-toggle-button i {
  margin-left: 10px;
  font-size: 18px;
}

button.sidebar-toggle-button.btn-theme:hover {
  border-color: var(--theme);
}

@media (max-width: 991.98px) {
  button.sidebar-toggle-button {
    z-index: 2;
  }
}