/* Navigation Toggle Styles */
.nav-toggle-container {
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.nav-toggle.nav-toggle-da {
  display: flex;
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 6px;
  transition: all 0.3s ease;
  border-radius: 3px;
  align-items: center;
}

.nav-toggle.nav-toggle-da:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-toggle.nav-toggle-da span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  margin: 4px auto;
  transition: all 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  position: relative;
  transform-origin: center;
}

.nav-toggle.nav-toggle-da span:before,
.nav-toggle.nav-toggle-da span:after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  transition: all 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  transform-origin: center;
}

.nav-toggle.nav-toggle-da span:before {
  top: -6px;
}

.nav-toggle.nav-toggle-da span:after {
  bottom: -6px;
}

/* Active state - hamburger to X animation */
.nav-toggle.nav-toggle-da.active span {
  background-color: transparent;
}

.nav-toggle.nav-toggle-da.active span:before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.nav-toggle-da.active span:after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Right Side Menu Overlay */
.side-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.side-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Right Side Menu Panel */
.side-menu-panel {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  overflow-x: hidden;
}

.side-menu-panel.active {
  right: 0;
}

/* Menu Header */
.side-menu-header {
  padding: 25px 30px;
  background-color: #000f32;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e9ecef;
}

.side-menu-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.side-menu-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
  color: #ffffff;
}

/* Menu Content */
.side-menu-content {
  padding: 0;
}

.side-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu-list li {
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.side-menu-list li:last-child {
  border-bottom: none;
}

.side-menu-list li a {
  display: block;
  padding: 18px 30px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.side-menu-list li a:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #061948 0%, #0a2355 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.side-menu-list li a:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(6, 25, 72, 0.05) 0%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.side-menu-list li a:hover {
  color: #061948;
  padding-left: 35px;
  background-color: rgba(6, 25, 72, 0.02);
}

.side-menu-list li a:hover:before {
  transform: scaleY(1);
  transform-origin: top;
}

.side-menu-list li a:hover:after {
  transform: translateX(0);
}

/* Special styling for action items */
.side-menu-list li a[onclick] {
  background: linear-gradient(135deg, rgba(6, 25, 72, 0.05) 0%, rgba(10, 35, 85, 0.02) 100%);
  font-weight: 600;
  color: #061948;
}

.side-menu-list li a[onclick]:hover {
  background: linear-gradient(135deg, #061948 0%, #0a2355 100%);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .side-menu-panel {
    width: 320px;
    right: -320px;
  }
  
  .side-menu-header {
    padding: 20px 25px;
  }
  
  .side-menu-header h3 {
    font-size: 18px;
  }
  
  .side-menu-list li a {
    padding: 16px 25px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .side-menu-panel {
    width: 300px;
    right: -300px;
  }
  
  .side-menu-header {
    padding: 18px 20px;
  }
  
  .side-menu-list li a {
    padding: 15px 20px;
    font-size: 14px;
  }
}

/* Animation for menu items */
.side-menu-panel.active .side-menu-list li {
  animation: slideInRight 0.3s ease forwards;
}

.side-menu-panel.active .side-menu-list li:nth-child(1) { animation-delay: 0.1s; }
.side-menu-panel.active .side-menu-list li:nth-child(2) { animation-delay: 0.15s; }
.side-menu-panel.active .side-menu-list li:nth-child(3) { animation-delay: 0.2s; }
.side-menu-panel.active .side-menu-list li:nth-child(4) { animation-delay: 0.25s; }
.side-menu-panel.active .side-menu-list li:nth-child(5) { animation-delay: 0.3s; }
.side-menu-panel.active .side-menu-list li:nth-child(6) { animation-delay: 0.35s; }
.side-menu-panel.active .side-menu-list li:nth-child(7) { animation-delay: 0.4s; }
.side-menu-panel.active .side-menu-list li:nth-child(8) { animation-delay: 0.45s; }
.side-menu-panel.active .side-menu-list li:nth-child(9) { animation-delay: 0.5s; }
.side-menu-panel.active .side-menu-list li:nth-child(10) { animation-delay: 0.55s; }
.side-menu-panel.active .side-menu-list li:nth-child(11) { animation-delay: 0.6s; }
.side-menu-panel.active .side-menu-list li:nth-child(12) { animation-delay: 0.65s; }

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Smooth scrolling for the menu */
.side-menu-panel {
  scroll-behavior: smooth;
}

/* Custom scrollbar for the menu */
.side-menu-panel::-webkit-scrollbar {
  width: 6px;
}

.side-menu-panel::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.side-menu-panel::-webkit-scrollbar-thumb {
  background: #061948;
  border-radius: 3px;
}

.side-menu-panel::-webkit-scrollbar-thumb:hover {
  background: #0a2355;
}