:root {
  --primary: #144FA2;
  --accent: #209be7;
  --bg: #f3f6fb;
  --text: #0b1220;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* NAVBAR */
nav {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .brand {
  color: white;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
}

nav a.active {
  border-bottom: 2px solid white;
}

/* SECTION */
main {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
}

h1 {
  margin-bottom: 40px;
  border-left: 6px solid var(--accent);
  padding-left: 12px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  padding: 25px;
  transition: 0.3s;
}

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

.card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.card p {
  color: #555;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
}

footer {
  margin-top: 60px;
  background: #0b0b0b;
  color: white;
  text-align: center;
  padding: 25px;
  border-top: 2px solid #000;
  width: 100%;
}