/* ========== Global / Reset ========== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #0c1f2e;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* ========== Header / Nav ========== */
header {
  background-color: #0c1f2e;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(212,175,55,0.06);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo {
  height: 100px;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Nav */
nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
nav a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 700;
  margin: 0 12px;
  font-size: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 150ms ease, color 150ms ease;
}
nav a:hover { background: rgba(212,175,55,0.08); color: #ffd76a; }
nav a.active {
  background: linear-gradient(90deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  box-shadow: 0 2px 10px rgba(0,0,0,0.3) inset;
  color: #ffd76a;
}

/* Apply / CTA */
.apply-btn { display: inline-block; margin-left: auto; }
.apply-btn a {
  background: #d4af37;
  color: #0c1f2e;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  display: inline-block;
}
.apply-btn a:hover { transform: translateY(-1px); transition: .12s ease; }

/* ========== Hero ========== */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: #112b3c;
}
.hero h1 {
  font-size: 42px;
  color: #d4af37;
  margin: 0 0 10px;
}
.hero p {
  color: #e6e6e6;
  margin: 0;
  font-size: 18px;
}

/* ========== Sections ========== */
.section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.section h2 {
  text-align: center;
  color: #d4af37;
  margin-bottom: 25px;
  font-size: 28px;
}

/* ========== Cards Grid ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
}
.card {
  background: #102532;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.12);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.card h3 { color: #d4af37; margin: 0; font-size: 18px; }
.card p { color: #e6eff4; margin: 0; font-size: 14px; }

/* university logo inside card */
.uni-logo {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin-bottom: 6px;
}

/* ========== Footer ========== */
footer {
  background: #08151f;
  padding: 20px;
  text-align: center;
  color: #d4af37;
  margin-top: 50px;
  font-size: 14px;
}

/* ========== Responsive tweaks ========== */
@media (max-width: 820px) {
  header { padding: 14px; gap: 12px; }
  .logo { height: 56px; }
  nav { order: 3; width: 100%; justify-content: space-around; margin-top: 10px; }
  .apply-btn { order: 2; width: 100%; text-align: center; margin-top: 6px; }
  .hero { padding: 42px 18px; }
  .hero h1 { font-size: 30px; }
}
