body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #F5F7FA;
  color: #2C3E50;
}
:root {
  --primary: #1F3A93;
  --bg: #F5F7FA;
  --accent: #F4C542;
  --dark-text: #2C3E50;
  --muted: #ccc;
}

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.sidebar {
  width: 260px;
  background: #1F3A93;
  color: white;
  position: fixed;
  height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.page-heading {
    margin-top: 30px;
    border-bottom: 1px dashed #00acee;
    padding-bottom: 10px;
}

.sidebar.hidden {
  transform: translateX(-100%);
}

.profile img {
  width: 100%;
  border-radius: 50%;
}

.menu a {
  color: white;
  display: block;
  padding: 10px 0;
  text-decoration: none;
  transition: background 0.3s;
}

.menu a:hover {
  background: #4B3869;
  border-left: 5px solid #F4C542;
  padding-left: 15px;
}

footer {
    position: fixed;
  bottom: 10px;
  font-size: 0.75rem;
  color: #ccc;
}

.mobile-header {
  display: none;
  background: #1F3A93;
  color: white;
  padding: 10px 15px;
  justify-content: space-between;
  align-items: center;
}

.overlay-menu {
  position: fixed;
  background: rgba(31, 58, 147, 0.95);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 50px 20px;
}

.overlay-menu.hidden {
  display: none;
}

main {
  margin-left: 260px;
  /* padding: 40px; */
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .sidebar {
  width: 200px;
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

    .profile img {
    margin-top: 30px;
    }

  .mobile-header {
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1100;
  }

  main {
    margin-left: 0;
    padding-top: 40px;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.6s ease-in-out;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.scale-in {
  animation: scaleIn 0.5s ease-in-out;
}
@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.flip-in {
  animation: flipIn 0.6s ease-in-out;
}
@keyframes flipIn {
  from { transform: rotateY(90deg); opacity: 0; }
  to { transform: rotateY(0); opacity: 1; }
}
