* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f8fb;
  color: #2e2e2e;
}

header {
  background: #072d4f;
  color: white;
  padding: 25px 0;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #00d4ff;
}

#hero {
  background: linear-gradient(to right, #00c9ff, #92fe9d);
  color: #0f2137;
  padding: 60px 20px;
  text-align: center;
}

#hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

#hero p {
  font-size: 1.1rem;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  color: #072d4f;
  margin-bottom: 30px;
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.card h3 {
  padding: 15px 20px 5px;
  font-size: 1.3rem;
  color: #072d4f;
}

.card p {
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: #555;
}

.announcements-list {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  list-style: none;
  font-size: 1.5rem;
  line-height: 2;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

form input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

form button {
  padding: 12px;
  background-color: #072d4f;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background-color: #014472;
}

#login-message {
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
  color: green;
}

footer {
  background-color: #072d4f;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}
