:root {
  --bg: #07090d;
  --panel: rgba(12, 16, 24, 0.78);
  --panel-solid: #111722;
  --text: #f5f7fb;
  --muted: #a8b0c3;
  --gold: #c9a46a;
  --gold-dark: #806847;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}

/* CHANGE YOUR BACKGROUND HERE:
   Replace assets/background.jpg with your own city/police/landscape image.
*/
.site-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 9, 13, 0.85), rgba(7, 9, 13, 0.35)),
    url("assets/background.jpg");
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(201, 164, 106, 0.22), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(46, 85, 135, 0.20), transparent 26%),
    linear-gradient(to bottom, rgba(7, 9, 13, 0.1), #07090d 88%);
  z-index: -2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 82px;
  padding: 18px clamp(18px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand small {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 2px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0d0d0d;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(201, 164, 106, 0.25);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 1.4rem;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 34px;
  align-items: center;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 0.78rem;
  font-weight: 800;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -4px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.hero-text, .wide-text, .join-section p, .card p, .dept p, .hero-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 720px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
}

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

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.quick-stats div, .hero-card, .card, .dept, .join-section {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-stats div {
  border-radius: 18px;
  padding: 16px;
}

.quick-stats strong {
  display: block;
  font-size: 1.3rem;
}

.quick-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-card {
  border-radius: var(--radius);
  padding: 28px;
}

.status-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 22px;
}

.status-pill span {
  width: 9px;
  height: 9px;
  background: #59ff9b;
  border-radius: 50%;
  box-shadow: 0 0 18px #59ff9b;
}

.server-box {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 22px 0;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 760px;
}

.wide-text {
  max-width: 960px;
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 230px;
  border-radius: var(--radius);
  padding: 24px;
}

.departments {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dept-list {
  display: grid;
  gap: 14px;
}

.dept {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  border-radius: var(--radius);
  padding: 22px;
}

.dept span {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 900;
}

.join-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 32px;
  padding: clamp(26px, 5vw, 46px);
  margin: 90px 0;
}

.join-section p {
  max-width: 760px;
  margin-bottom: 0;
}

footer {
  color: var(--muted);
  text-align: center;
  padding: 34px 16px;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.8s ease forwards;
}

.delay {
  animation-delay: 0.18s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 9, 13, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  h1 {
    letter-spacing: -2px;
  }

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

  .join-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .quick-stats {
    gap: 10px;
  }

  .dept {
    grid-template-columns: 1fr;
  }
}

.dept-banner-list {
  display: grid;
  gap: 18px;
}

.dept-banner {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 106, 0.35);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dept-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.dept-banner:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 106, 0.85);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}