:root {
  --navy: #071a3d;
  --gold: #c99a35;
  --green: #0d8f66;
  --white: #ffffff;
  --ink: #172033;
  --muted: #64748b;
  --line: #dfe5ee;
  --soft: #f6f8fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background: var(--soft);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* TOP BAR */

.topbar {
  background: var(--navy);
  color: white;

  padding: 12px 5%;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* NAVIGATION */

.nav {
  background: white;

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

  padding: 18px 5%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;
}

.brand {
  display: flex;

  align-items: center;

  gap: 12px;
}

.brand img {
  width: 55px;

  height: 55px;

  object-fit: contain;
}

.brand strong {
  display: block;

  color: var(--navy);

  font-size: 16px;

  font-weight: 900;

  text-transform: uppercase;
}

.brand span {
  color: var(--muted);

  font-size: 12px;

  font-weight: 700;
}

.nav nav {
  display: flex;

  gap: 10px;
}

.nav a {
  text-decoration: none;

  padding: 10px 16px;

  border-radius: 30px;

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

  color: var(--navy);

  font-size: 12px;

  font-weight: 900;
}

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

  color: white;
}

/* HERO */

.hero {
  background: linear-gradient(135deg, #071a3d, #123d83);

  color: white;

  padding: 60px 5%;

  border-bottom: 4px solid var(--gold);
}

.hero h1 {
  margin: 0;

  font-size: clamp(34px, 5vw, 56px);

  letter-spacing: -0.04em;
}

.hero p {
  max-width: 800px;

  margin-top: 15px;

  color: rgba(255, 255, 255, 0.85);

  line-height: 1.7;

  font-size: 16px;
}

/* MAIN */

.container {
  width: min(1180px, calc(100% - 36px));

  margin: 35px auto;
}

/* SEARCH + FILTER */

.control-card {
  background: white;

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

  padding: 20px;

  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

#search {
  width: 100%;

  height: 46px;

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

  border-radius: 12px;

  padding: 0 15px;

  font-size: 14px;
}

.filters {
  margin-top: 15px;

  display: flex;

  gap: 8px;

  flex-wrap: wrap;
}

.filters button {
  background: white;

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

  color: var(--navy);

  padding: 10px 15px;

  border-radius: 999px;

  cursor: pointer;

  font-size: 12px;

  font-weight: 900;
}

.filters button:hover {
  background: var(--navy);

  color: white;
}

/* SUBJECT TABLES */

.section-title {
  margin-top: 35px;

  color: var(--navy);

  font-size: 24px;

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

  padding-left: 12px;
}

.subject-table {
  width: 100%;

  background: white;

  border-collapse: collapse;

  margin-top: 15px;

  border-radius: 15px;

  overflow: hidden;

  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.subject-table th {
  background: var(--navy);

  color: white;

  padding: 14px;

  text-align: left;

  font-size: 12px;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.subject-table td {
  padding: 14px;

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

  font-size: 14px;
}

.subject-table tr:last-child td {
  border-bottom: none;
}

.subject-table tr:hover {
  background: #f8fafc;
}

/* NOTE BOX */

.note {
  margin-top: 35px;

  background: white;

  padding: 20px;

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

  border-radius: 12px;

  color: #475569;

  line-height: 1.6;
}

/* DOWNLOAD BUTTON */

.download {
  display: inline-flex;

  margin-top: 20px;

  background: var(--navy);

  color: white;

  padding: 14px 22px;

  border-radius: 999px;

  text-decoration: none;

  font-weight: 900;

  font-size: 13px;
}

.download:hover {
  background: var(--green);
}

/* MOBILE */

@media (max-width: 800px) {
  .nav {
    flex-direction: column;

    align-items: flex-start;
  }

  .nav nav {
    width: 100%;

    flex-direction: column;
  }

  .nav a {
    text-align: center;
  }

  .subject-table {
    display: block;

    overflow-x: auto;
  }

  .hero {
    padding: 40px 5%;
  }
}
