:root {
  --bg: #041b52;
  --bg-dark: #021338;
  --card: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #c8d4f0;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #2aa8ff;
  --accent-2: #7fd1ff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, #0a2d7a 0%, var(--bg) 45%, var(--bg-dark) 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  backdrop-filter: blur(14px);
  background: rgba(2, 19, 56, 0.72);
  border-bottom: 1px solid var(--line);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: 0.2s ease;
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.08;
  margin: 0 0 20px;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1d6fff);
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.section {
  padding: 90px 24px;
}

.dark-section {
  background: rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0 0 18px;
}

.section-text {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.03rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.mun-box {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.mun-box > div,
.apply-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.mun-box ul {
  padding-left: 18px;
  margin-bottom: 0;
  color: var(--muted);
}

.apply-box p {
  color: var(--muted);
  margin-bottom: 18px;
}

.footer {
  padding: 34px 24px;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer p {
  color: var(--muted);
  margin: 6px 0;
}

@media (max-width: 860px) {
  .navbar {
    padding: 16px 20px;
    flex-direction: column;
    gap: 14px;
  }

  .card-grid,
  .mun-box {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
    padding-top: 70px;
  }
}
