/* ===== RESET ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f7ff;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(135deg, #1e3aff, #425bff);
  color: white;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo {
  width: 36px;
}

/* ===== NAV MENU (VERTICAL) ===== */
.nav-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.nav-menu a {
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: white;
  color: #1e3aff;
  transform: translateY(-2px);
}

/* ===== CONTENT ===== */
.container {
  padding: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  text-decoration: none;
  color: #1e3aff;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: all 0.2s ease;
}

.card:hover {
  background: #1e3aff;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(30,58,255,.35);
}

/* ===== PDF VIEW ===== */
.pdf-frame {
  width: 100%;
  height: calc(100vh - 150px);
  border: none;
}

/* ===== HAMBURGER ===== */
.hamburger {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
  display: none;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .nav-menu.show {
    display: grid;
  }
}
