:root {
    --max: 960px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
    line-height: 1.5;
    background-color: #d1d5db;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem;
}

.site-header {
    background: #45005a;
    color: #fff;
}

.site-header .brand {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin-right: 1rem;
}

.nav a {
    color: #ddd;
    text-decoration: none;
    margin-right: 1rem;
}

.nav a:hover {
    color: #fff;
}

h1,
h2 {
    line-height: 1.2;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.card_law {
  position: relative; 
  border: 5px solid #45005a;
  border-radius: 1.75rem;
  width: 275px;
  height: 275px;
  overflow: hidden; 
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-weight: bold;
  font-size: 1.2rem;
  color: black;
  z-index: 1; 
}

/* background overlay */
.card_law::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../pics/police.png'); /* adjust path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4; /* controls transparency */
  z-index: -1; /* place behind text */
}

.card_vic {
  position: relative; /* needed for overlay positioning */
  border: 5px solid #45005a;
  border-radius: 1.75rem;
  width: 275px;
  height: 275px;
  overflow: hidden; /* keeps overlay inside the card */
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-weight: bold;
  font-size: 1.2rem;
  color: black;
  z-index: 1; /* text above overlay */
}

/* background overlay */
.card_vic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../pics/dvvic.png'); /* adjust path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4; /* controls transparency */
  z-index: -1; /* place behind text */
}


.card_vsp {
  position: relative; /* needed for overlay positioning */
  border: 5px solid #45005a;
  border-radius: 1.75rem;
  width: 275px;
  height: 275px;
  overflow: hidden; /* keeps overlay inside the card */
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-weight: bold;
  font-size: 1.2rem;
  color: black;
  z-index: 1; /* text above overlay */
}

/* background overlay */
.card_vsp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../pics/advocate.png'); /* adjust path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4; /* controls transparency */
  z-index: -1; /* place behind text */
}



.site-footer {
    border-top: 1px solid #58465e;
    background: #754983;
    color: #ffffff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.notice {
    padding: .75rem 1rem;
    border-radius: .5rem;
    margin: 1rem 0;
}

.notice.success {
    background: #e6ffed;
    border: 1px solid #abefc6;
}

.notice.error {
    background: #ffe6e6;
    border: 1px solid #ffb3b3;
}

.contact-form {
    display: grid;
    gap: .75rem;
    max-width: 720px;
}

.form-row {
    display: grid;
    gap: .25rem;
}

input,
select,
textarea,
button {
    font: inherit;
    padding: .6rem .7rem;
    border-radius: .5rem;
    border: 1px solid #d1d5db;
}

button {
    cursor: pointer;
}

.law-enforcement-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* leave space for header/footer */
  padding: 20px;
  box-sizing: border-box;
}

.video-container {
  max-width: 800px;
  max-height: 400px;
  width: 100%;
}

.video-container video {
  width: 100%;
  height: auto;
  border: 4px solid #45005a;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.page-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px); /* adjust 120px if header+footer are taller */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.video-wrapper {
  width: 90%;
  max-width: 800px;     /* shrink video to a reasonable size */
  max-height: 70vh;     /* don’t let it overlap footer */
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  max-height: 100%;     /* respects wrapper’s max-height */
  border: 5px solid #45005a;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

 .button {
   display: inline-block;
   background-color: #45005a;
   color: white;
   border: none;
   width: 200px;
   padding: 10px 20px;
   border-radius: 5px;
   cursor: pointer;
   font-size: 16px;
   margin-top: 10px;
   text-align: center;
   text-decoration: none;
   transition: background-color 0.3s ease;
 }

 .button:hover {
   background-color: #636363;
 }

 .image-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap; 
}
.image-row img {
  width: 180px;       
  height: auto;      
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}




