* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #ebe9e9;
}
/* Header styles */
header {
  background-color: #242b35;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 5px;
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0px;
  z-index: 3;
}

.logo img {
  height: 60px; /* Increase the logo height */
}

.menu-toggle {
  background: none;
  padding-right: 10px;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: none; /* Hide the menu toggle button on larger screens */
}

/* Drawer menu styles */
.drawer-menu {
  display: none; /* Hide the drawer menu on larger screens */
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #242b35;
  color: #fff;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding-top: 60px; /* Adjust based on header height */
}

.drawer-menu ul {
  list-style-type: none;
}

.drawer-menu ul li {
  border-bottom: 1px solid #444;
}

.drawer-menu ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  position: relative;
  padding: 1rem;
}

.drawer-menu ul li a:hover {
  background-color: #191e25;
  border-radius: 5px;
}
.active {
  background-color: #191e25;
  border-radius: 5px;
}

/* Close button for the drawer menu */
.close-drawer {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

/* Open the drawer menu */
.drawer-menu.open {
  left: 0;
  z-index: 1;
}

/* Main content styles */
main {
  padding: 0px;
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

/* Adjust main content when drawer is open */
main.drawer-open {
  margin-left: 250px;
}

/* Media query for responsive design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show the menu toggle button on smaller screens */
  }

  .drawer-menu {
    display: block; /* Show the drawer menu on smaller screens */
    width: 100%;
    left: -100%;
  }

  .drawer-menu.open {
    left: 0;
  }

  main.drawer-open {
    margin-left: 0;
  }
}

/* Menu bar styles for larger screens */
@media (min-width: 769px) {
  .drawer-menu {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    color: inherit;
    overflow: visible;
    padding-top: 0;
    margin-left: auto; /* Align the menu to the right */
  }

  .drawer-menu ul {
    display: flex;
    flex-direction: row;
  }

  .drawer-menu ul li {
    padding: 0;
    border: none;
  }

  .drawer-menu ul li a {
    padding: 1rem;
    color: #fff;
  }

  .drawer-menu ul li a:hover {
    background-color: #191e25;
  }

  .close-drawer {
    display: none; /* Hide the close button on larger screens */
  }
}

main {
  /* display: flex; */
  overflow: hidden;
  position: relative;
}

.service-list {
  position: fixed;
  top: 82.2px;
  z-index: 2;
  width: 250px;
  background-color: #f5f5f5;
  padding: 0px 20px 5px 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  height: calc(100vh - 82px);
  overflow-y: auto;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px 0px 5px 20px;
  /* flex-wrap: wrap; */
}

.service-item {
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  background-color: #fff;
  transition: transform 0.3s, background-color 0.3s;
}

.service-item:hover {
  background-color: #f5f5f5;
  transform: scale(1.05);
}

.service-details {
  width: 100%;
  padding: 20px;
  display: none;
  position: relative;
  background-color: #f5f5f5;
  overflow: hidden;
  transition: opacity 0.3s;
}

.service-details.show {
  display: block;
  opacity: 1;
}

.service-info {
  margin-top: 10px;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-info p {
  margin-bottom: 20px;
}

.back-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #e0f2f1;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background-color: #ddd;
}

body {
  font-family: Arial, sans-serif;
}

.service-item {
  padding: 10px;
  margin: 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  cursor: pointer;
}

#service-details {
  /* margin: 20px; */
  padding: 20px;
  border: 1px solid #ddd;
  background: #f9f9f9;
}

#service-description ul {
  padding-left: 20px;
  /* Ensure bullet points are indented */
}

#service-description ul li {
  margin-bottom: 10px;
}

.show {
  display: block;
}

#register-button {
  padding: 10px 20px;
  background-color: #242b35;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#register-button:hover {
  background-color: #191e25;
}
.wallet-point {
  background-color: white;
  color: black;
  padding: 0px 4px;
  border-radius: 50px;
  position: absolute;
  top: 0px;
}
.wallet-item{
  margin-right: 12px;
}

/* Slider CSS Code */
.toggle-btn {
  font-size: 30px;
  cursor: pointer;
  margin: 20px;
  background-color: #242b35;
  display: inline-block;
  padding: 0px 10px;
  color: white;
  border-radius: 5px;
}
.close-btn {
  width: 100%;
  display: flex;
  justify-content: end;
  font-size: 36px;
  color: black;
  cursor: pointer;
}
/* .sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 6;
  top: 0;
  left: 0;
  background-color: #242b35;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar .close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.sidebar .menu {
  list-style-type: none;
  padding: 0;
}

.sidebar .menu li {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
}

.sidebar .menu li a {
  text-decoration: none;
  color: white;
  display: block;
  transition: 0.3s;
}

.sidebar .menu li a:hover {
  color: #f1f1f1;
  background-color: #4d4e4f;
  padding: 5px 10px;
  border-radius: 5px;
}
.active-sub {
  color: #f1f1f1;
  background-color: #4d4e4f;
  padding: 5px 10px;
  border-radius: 5px;
}

.content {
  padding: 5px 10px;
  background-color: #f9f9f9;
}

.toggle-btn {
  font-size: 30px;
  cursor: pointer;
  margin: 20px;
  background-color: #242b35;
  display: inline-block;
  padding: 0px 10px;
  color: white;
  border-radius: 5px;
} */