*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Segoe UI", Arial, sans-serif;
}

body{
  background:#0b0f16;
  color:white;
}

.topbar{
  background:#05070b;
  color:#d7dce5;
  padding:9px 60px;
  font-size:14px;
  display:flex;
  justify-content:space-between;
}

header{
  background:#0a0e16;
  padding:18px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #263244;
}

.brand{
  display:flex;
  align-items:center;
  gap:15px;
}

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

.brand h1{
  font-size:25px;
}

.brand p{
  color:#b9c1cf;
  font-size:13px;
}

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

nav a{
  color:#dce5f2;
  text-decoration:none;
  padding:10px 13px;
  border-radius:4px;
  font-weight:600;
}

nav a:hover{
  background:#16243a;
}

.hero{
  min-height:620px;
  background:
    linear-gradient(90deg,rgba(5,7,12,.96),rgba(5,7,12,.55)),
    url("assets/lspd-vehicle.png");
  background-size:cover;
  background-position:center right;
  display:flex;
  align-items:center;
  padding:80px 60px;
}

.hero-content{
  max-width:680px;
}

.hero-badge{
  display:inline-block;
  background:#c9a227;
  color:#080b10;
  padding:9px 15px;
  border-radius:30px;
  font-weight:800;
  margin-bottom:20px;
}

.hero h2{
  font-size:56px;
  line-height:1.05;
  margin-bottom:22px;
}

.hero p{
  font-size:18px;
  line-height:1.7;
  color:#e6edf7;
  margin-bottom:34px;
}

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

.hero-buttons a,
.notice-box a,
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  height:50px;
  padding:0 24px;
  border-radius:5px;
  text-decoration:none !important;
  font-size:15px;
  font-weight:800;
}

.btn-main{
  background:white;
  color:#0a0e16 !important;
}

.btn-light{
  background:#1d5fae;
  color:white !important;
}

.quick-links{
  max-width:1180px;
  margin:-65px auto 0;
  padding:0 25px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  position:relative;
  z-index:5;
}

.quick-card{
  background:#111823;
  border:1px solid #263244;
  border-top:4px solid #2f80ed;
  border-radius:8px;
  padding:26px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}

.quick-card h3{
  color:white;
  margin-bottom:10px;
  font-size:19px;
}

.quick-card p{
  color:#c5cedb;
  line-height:1.6;
  font-size:15px;
}

.section{
  max-width:1180px;
  margin:auto;
  padding:80px 25px;
}

.section-title span{
  color:#c9a227;
  font-weight:800;
  text-transform:uppercase;
}

.section-title h2{
  font-size:36px;
  margin:9px 0 16px;
}

.section-title p{
  color:#c5cedb;
  line-height:1.7;
  max-width:760px;
  margin-bottom:32px;
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}

.content-box,
.notice-box,
.image-card,
.department{
  background:#111823;
  border:1px solid #263244;
  border-radius:8px;
  padding:30px;
}

.content-box h3,
.notice-box h3,
.image-card h3,
.department h3{
  color:white;
  margin-bottom:12px;
}

.content-box p,
.notice-box p,
.image-card p,
.department p{
  color:#c5cedb;
  line-height:1.7;
}

.notice-box{
  background:#132b50;
  border-color:#29476f;
}

.notice-box h3{
  color:#f0cf66;
}

.notice-box a{
  background:white;
  color:#0a0e16 !important;
  margin-top:18px;
}

.image-card{
  padding:0;
  overflow:hidden;
}

.image-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  object-position:center;
  display:block;
}

.image-text{
  padding:24px;
}

.departments{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

footer{
  background:#05070b;
  color:#cbd3df;
  padding:36px 60px;
  margin-top:40px;
  border-top:1px solid #263244;
}

.footer-inner{
  max-width:1180px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:25px;
  line-height:1.6;
}

@media(max-width:900px){
  .quick-links,
  .departments,
  .two-col{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .topbar,
  header{
    padding:18px 22px;
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  nav{
    width:100%;
  }

  .hero{
    min-height:560px;
    padding:70px 25px;
    background:
      linear-gradient(rgba(5,7,12,.85),rgba(5,7,12,.85)),
      url("assets/lspd-vehicle.png");
    background-size:cover;
    background-position:center;
  }

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

  .hero-buttons{
    flex-direction:column;
  }

  .hero-buttons a{
    width:100%;
  }

  .quick-links{
    margin:25px auto 0;
  }

  .quick-links,
  .departments,
  .two-col{
    grid-template-columns:1fr;
  }

  .image-card img{
    height:220px;
  }

  .footer-inner{
    flex-direction:column;
  }
}

/* =========================================
   DIVISION CARDS (BILDER)
========================================= */

.division-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

.division-card{
  background:#111823;
  border:1px solid #263244;
  border-radius:10px;
  overflow:hidden;
  transition:.2s;
}

.division-card:hover{
  transform:translateY(-5px);
  border-color:#2f80ed;
}

.division-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.division-content{
  padding:20px;
}

.division-content h3{
  margin-bottom:10px;
}

.division-content p{
  color:#c5cedb;
  line-height:1.6;
}

/* MOBILE */

@media(max-width:900px){
  .division-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .division-grid{
    grid-template-columns:1fr;
  }
}

/* ==================================================
   RANK PAGE
================================================== */

.rank-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.rank-card{
  background:linear-gradient(145deg,#111823,#0d131d);
  border:1px solid #263244;
  border-left:5px solid #2f80ed;
  border-radius:10px;
  padding:22px;
  display:flex;
  gap:18px;
  align-items:flex-start;
  transition:.2s;
}

.rank-card:hover{
  transform:translateY(-4px);
  border-color:#3b82f6;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}

.rank-number{
  min-width:48px;
  height:48px;
  border-radius:50%;
  background:#16243a;
  color:#c9a227;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  border:1px solid #30415c;
}

.rank-card h3{
  color:white;
  margin-bottom:6px;
  font-size:20px;
}

.rank-card span{
  display:inline-block;
  background:#0b0f16;
  border:1px solid #263244;
  color:#f0cf66;
  padding:4px 9px;
  border-radius:20px;
  font-size:13px;
  font-weight:800;
  margin-bottom:10px;
}

.rank-card p{
  color:#c5cedb;
  line-height:1.6;
}

.rank-card.recruit{
  border-left-color:#9ca3af;
}

.rank-card.officer{
  border-left-color:#2f80ed;
}

.rank-card.supervisor{
  border-left-color:#c9a227;
}

.rank-card.command{
  border-left-color:#ef4444;
}

.rank-card.executive{
  border-left-color:#a855f7;
}

.rank-card.chief{
  border-left-color:#ffffff;
}

.rank-info-section{
  padding-top:0;
}

@media(max-width:760px){
  .rank-grid{
    grid-template-columns:1fr;
  }
}
