.home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 50px;
  margin-right: 10px;
}

.portal-title {
  font-size: 24px;
  margin: 0;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

/* Navbar */
.navbar {
  background-color: #111;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
}

.nav-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

.portal-title {
  margin: 0;
  font-size: 1.8rem;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #FFD700;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFD700;
}

/* Main Content */
.container {
  max-width: 800px;
  margin: 40px auto;
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
  color: #0a58ca;
  text-align: center;
  margin-bottom: 20px;
}

#updates-box {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #fdfdfd;
  border-radius: 8px;
  margin-bottom: 20px;
}

.update {
  background-color: #e7f1ff;
  padding: 10px;
  margin-bottom: 10px;
  border-left: 4px solid #0a58ca;
  border-radius: 5px;
  animation: fadeIn 0.3s ease-in;
}

button {
  display: block;
  margin: auto;
  background-color: #0a58ca;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
}

button:hover {
  background-color: #084298;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}