/* ============================================================
   SHARED SIDEBAR NAVIGATION
   Used across pages that don't have their own hamburger menu:
   academics.html, admission.html, exams.html
   (Same styling as the sidebar on index/faculty/facilities/contact/achievers)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   MENU BUTTON
   ============================================================ */

.menu-btn {
  position: fixed;
  top: 22px;
  left: 22px;
  padding: 10px 16px;
  width: auto;
  height: auto;
  background: rgba(15, 35, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 10px;
  cursor: pointer;
  z-index: 10000;
  color: #6fcf87;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  border: 1px solid rgba(120, 180, 120, 0.2);
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(120, 180, 120, 0.12);
  border-color: rgba(120, 180, 120, 0.45);
  transform: scale(1.05);
}



/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 275px;
  height: 100vh;
  background: #1c3d28;
  border-right: 1px solid rgba(120, 180, 120, 0.12);
  transition: left 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 6px 0 40px rgba(0,0,0,0.5);
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fcf87, transparent);
  opacity: 0.55;
  z-index: 10;
}

.sidebar.active { left: 0; }

.sidebar-header {
  position: relative;
  z-index: 2;
  padding: 30px 20px 22px;
  border-bottom: 1px solid rgba(120, 180, 120, 0.1);
  display: flex;
  align-items: center;
  gap: 13px;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(120, 180, 120, 0.1);
  border: 1px solid rgba(120, 180, 120, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 700;
  color: #6fcf87;
  flex-shrink: 0;
}

.sidebar-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-title span:first-child {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: #c8e8c4;
}

.sidebar-title span:last-child {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(168, 213, 162, 0.4);
  text-transform: uppercase;
}

.close-btn {
  position: absolute;
  top: 22px;
  right: 16px;
  width: 28px;
  height: 28px;
  font-size: 14px;
  color: rgba(168, 213, 162, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  z-index: 3;
}

.close-btn:hover {
  color: #6fcf87;
  border-color: rgba(120, 180, 120, 0.2);
  background: rgba(120, 180, 120, 0.08);
  transform: rotate(90deg);
}

.nav-links {
  list-style: none;
  padding: 18px 14px;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  position: relative;
  z-index: 2;
}

.nav-links::-webkit-scrollbar { width: 3px; }
.nav-links::-webkit-scrollbar-thumb { background: rgba(120, 180, 120, 0.15); }

.nav-links li { margin: 2px 0; }

.nav-links li a {
  text-decoration: none;
  color: rgba(168, 213, 162, 0.55);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.nav-links li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6fcf87;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.25s ease;
  transform: scale(0);
}

.nav-links li a span { position: relative; z-index: 1; }

.nav-links li a:hover {
  color: #c8e8c4;
  background: rgba(120, 180, 120, 0.07);
  border-color: rgba(120, 180, 120, 0.12);
  padding-left: 18px;
}

.nav-links li a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links li a.active {
  color: #6fcf87;
  background: rgba(120, 180, 120, 0.1);
  border-color: rgba(120, 180, 120, 0.2);
  border-left: 2px solid #6fcf87;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(120, 180, 120, 0.08);
  text-align: center;
  z-index: 2;
}

.sidebar-footer p {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(120, 180, 120, 0.2);
  text-transform: uppercase;
  margin: 0;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 8, 0.6);
  z-index: 9998;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ============================================================
