:root {
  --primary-color: #14253b;    
  --accent-color: #0a55c4;     
  --text-color: #ffffff;       /* White */
  --secondary-text: rgba(255, 255, 255, 0.7);
  --border-color: rgba(212, 175, 55, 0.3);
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  margin-left: 20px;
  position: absolute;
  left: 0px;
  top: 50px;
  z-index: 101;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 800%;
  background-color: white;
  z-index: 1000;
  transition: left 0.3s ease;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.4);
  color: black;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background-color: #f4f4f4;
  position: relative;
}

.profile-link {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.profile-icon {
  width: 70px; /* Increase size */
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

.close-btn:hover {
  color: var(--accent-color);
}

.sidebar-content {
  padding: 20px;
  display: flex;
  color: rgb(89, 86, 86);
  background-color: #ffffff;
  flex-direction: column;
}

.sidebar-content a {
  color: rgb(14, 68, 192);
  text-decoration: none;
  padding: 15px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.sidebar-content a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.logo {
  margin-left: 80px;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: none;
  backdrop-filter: blur(2px);
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--secondary-text);
}

/* Animation for hamburger to X */
.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
