/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: #002147;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background-color: #002147;
  color: #fff;
  padding: 20px 0;
}

header h1 {
  margin: 0;
  text-align: center;
}

header nav {
  text-align: center;
  margin-top: 10px;
}

header nav a {
  color: #fff;
  margin: 0 15px;
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: url('images/justice.jpg') no-repeat center top; /* align image to top */
  background-size: cover; /* fill container, crop bottom if needed */
  background-position: center 36%; /* shift image slightly down */
  color: #fff;
  text-align: center;
  padding: 80px 20px; /* space inside hero */
  height: 500px; /* adjust as needed */
}

@media (max-width: 768px) {
  .hero {
    height: 300px; /* reduce height on mobile */
    background-position: center 25%; /* adjust vertical crop for smaller screens */
  }
}


.hero h2 {
  font-size: 2.5em;
}

.hero p {
  font-size: 1.2em;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  text-align: center;
  color: #002147;
  margin-bottom: 40px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 50%;
}

/* Footer */
footer {
  background-color: #002147;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    padding-top: 25px;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

