:root {
  --navy: #071a3d;
  --navy2: #123d83;
  --gold: #c99a35;
  --green: #0d8f66;

  --white: #ffffff;

  --soft: #f6f8fb;

  --line: #dfe5ee;

  --ink: #172033;

  --muted: #64748b;

  --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);

  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;

  background: var(--soft);

  color: var(--ink);

  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
}

/* ================= TOP BAR ================= */

.topbar {
  background: linear-gradient(90deg, var(--navy), #102f68);

  color: white;

  padding: 12px 5%;

  font-size: 12px;

  font-weight: 900;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

/* ================= HEADER ================= */

header {
  background: white;

  border-bottom: 1px solid var(--line);

  padding: 18px 5%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 25px;

  position: sticky;

  top: 0;

  z-index: 100;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.brand {
  display: flex;

  align-items: center;

  gap: 15px;
}

.brand img {
  width: 65px;

  height: 65px;

  object-fit: contain;

  display: block;
}

.brand-text h2 {
  margin: 0;

  color: var(--navy);

  font-size: 17px;

  font-weight: 950;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

.brand-text p {
  margin: 3px 0 0;

  color: var(--muted);

  font-size: 12px;

  font-weight: 700;
}

/* ================= NAV ================= */

nav {
  display: flex;

  gap: 10px;

  flex-wrap: wrap;
}

nav a {
  text-decoration: none;

  color: var(--navy);

  background: white;

  border: 1px solid var(--line);

  padding: 10px 18px;

  border-radius: 999px;

  font-size: 12px;

  font-weight: 900;

  transition: 0.3s;
}

nav a:hover {
  background: var(--navy);

  color: white;

  transform: translateY(-2px);
}

/* ================= HERO ================= */

.hero {
  background: linear-gradient(
    135deg,
    rgba(7, 26, 61, 0.98),
    rgba(18, 61, 131, 0.95),
    rgba(13, 143, 102, 0.95)
  );

  color: white;

  padding: 85px 5%;

  border-bottom: 6px solid var(--gold);

  position: relative;

  overflow: hidden;
}

.hero:after {
  content: "";

  position: absolute;

  width: 400px;

  height: 400px;

  background: rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  right: -150px;

  top: -150px;
}

.hero-content {
  position: relative;

  z-index: 2;
}

.hero h1 {
  margin: 0;

  max-width: 900px;

  font-size: clamp(38px, 5vw, 62px);

  line-height: 1.05;

  font-weight: 950;

  letter-spacing: -0.06em;
}

.hero p {
  max-width: 850px;

  font-size: 18px;

  color: #e2e8f0;

  margin-top: 20px;
}

.hero-btn {
  display: inline-flex;

  margin-top: 25px;

  background: var(--gold);

  color: white;

  padding: 13px 25px;

  border-radius: 999px;

  font-weight: 900;

  text-decoration: none;

  transition: 0.3s;
}

.hero-btn:hover {
  background: white;

  color: var(--navy);
}

/* ================= CONTENT ================= */

.container {
  width: min(1200px, calc(100% - 40px));

  margin: 50px auto;
}

.card {
  background: white;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 32px;

  margin-bottom: 35px;

  box-shadow: var(--shadow);
}

.card h2 {
  margin-top: 0;

  color: var(--navy);

  font-size: 28px;

  border-left: 7px solid var(--gold);

  padding-left: 15px;
}

.card p {
  color: #475569;
}

/* ================= TIMELINE ================= */

.timeline {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.step {
  background: linear-gradient(135deg, #f8fafc, #ffffff);

  border: 1px solid var(--line);

  border-radius: 18px;

  padding: 30px 20px;

  text-align: center;

  font-weight: 900;

  color: var(--navy);

  transition: 0.3s;
}

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

  box-shadow: var(--shadow);
}

.step span {
  display: block;

  font-size: 38px;

  color: var(--gold);

  margin-bottom: 12px;
}

/* ================= GRID ================= */

.grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.country {
  background: white;

  border: 1px solid var(--line);

  border-radius: 18px;

  padding: 24px;

  transition: 0.3s;

  position: relative;

  overflow: hidden;
}

.country:before {
  content: "";

  position: absolute;

  height: 5px;

  left: 0;

  right: 0;

  top: 0;

  background: var(--gold);
}

.country:hover {
  transform: translateY(-7px);

  box-shadow: var(--shadow);
}

.country h3 {
  color: var(--navy);

  font-size: 19px;

  margin-top: 10px;
}

.country p {
  font-size: 14px;
}

/* ================= BUTTON ================= */

.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-top: 15px;

  padding: 12px 22px;

  background: var(--navy);

  color: white;

  border-radius: 999px;

  font-size: 12px;

  font-weight: 900;

  text-decoration: none;

  transition: 0.3s;
}

.button:hover {
  background: var(--green);

  transform: translateY(-2px);
}

/* ================= REQUIREMENTS ================= */

.requirements ul {
  background: #f8fafc;

  padding: 25px 40px;

  border-radius: 15px;

  border-left: 5px solid var(--green);
}

.requirements li {
  margin-bottom: 8px;
}

/* ================= SCHOLARSHIP ================= */

.scholarship {
  background: #f8fafc;

  border-left: 6px solid var(--green);

  padding: 22px;

  border-radius: 15px;

  margin-bottom: 20px;
}

/* ================= FOOTER ================= */

footer {
  background: linear-gradient(135deg, var(--navy), #102f68);

  color: white;

  padding: 45px 20px;

  text-align: center;
}

footer strong {
  font-size: 20px;
}

/* ================= MOBILE ================= */

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  header {
    position: relative;

    flex-direction: column;

    align-items: flex-start;
  }

  .brand img {
    width: 55px;

    height: 55px;
  }

  nav {
    width: 100%;
  }

  nav a {
    width: 100%;

    text-align: center;
  }

  .grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 50px 5%;
  }

  .card {
    padding: 22px;
  }

  .hero h1 {
    font-size: 38px;
  }
}

/* ================= PRINT ================= */

@media print {
  header,
  .topbar,
  footer,
  nav {
    display: none;
  }

  body {
    background: white;
  }

  .card {
    box-shadow: none;

    break-inside: avoid;
  }
}
