* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fc;
  color: #222;
}

header {
  background-color: #002c66;
  padding: 20px 0;
  text-align: center;
  color: white;
}

header h1 {
  font-size: 2rem;
  letter-spacing: 1px;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 20px 10px;
  max-width: 900px;
  margin: auto;
}

.card {
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 12px;
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card img {
  width: 70px;
  margin-bottom: 15px;
}

.card h2 {
  font-size: 1.4rem;
  color: #111;
  margin-bottom: 5px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link h2,
.card-link p {
  text-decoration: none;
  color: inherit;
}

.card-link:hover .card {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-link:hover h2 {
  color: #003366;
}

.footer-line {
  height: 1px;
  background-color: black;
  border: none;
  width: 100%;
  margin: 30px auto 10px;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  background: transparent;
  padding: 10px;
  border: none;
}

footer a {
  color: #0066cc;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Divider styling */
.divider {
  width: 100%;
  text-align: center;
  margin: 40px 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ccc;
}

.divider::before {
  margin-right: 15px;
}

.divider::after {
  margin-left: 15px;
}

.divider span {
  font-size: 0.85rem;
  color: #d20000;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}
