/* ===== Base ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #f4f4f4;
}

/* ===== Header & Nav ===== */
.site-header {
  background-color: #0d1e50;
  color: white;
  padding: 0.75em 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .logo {
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.site-header .logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.site-header nav {
  display: flex;
  gap: 0.25em;
}

.site-header nav a {
  color: white;
  text-decoration: none;
  padding: 0.5em 0.75em;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.2s;
}

.site-header nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.site-header nav a.active {
  background: rgba(255, 255, 255, 0.25);
  text-decoration: underline;
}

/* ===== SPA Router: pages hidden by default, shown when active ===== */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0d1e50, #1755cc);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.5em;
  font-size: 2.2em;
}

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

/* ===== Page content wrapper ===== */
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 2em 1.5em;
}

/* ===== Grid ===== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 1.5em 0;
}

/* ===== Cards (home preview) ===== */
.card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.25em;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0;
  color: #0d1e50;
}

/* ===== Service cards ===== */
.service-card {
  background: white;
  border: 1px solid #ddd;
  border-left: 4px solid #0d1e50;
  border-radius: 6px;
  padding: 1.25em;
  margin-bottom: 1em;
}

.service-card h2 {
  margin-top: 0;
  color: #0d1e50;
}

/* ===== Team members ===== */
.team-member {
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.25em;
}

.team-member h2 {
  margin: 0 0 0.25em;
  color: #0d1e50;
}

.team-member .role {
  font-weight: bold;
  color: #555;
  margin: 0 0 0.75em;
}

/* ===== CTA block ===== */
.cta-block {
  text-align: center;
  padding: 2em 0;
}

.btn {
  display: inline-block;
  background: #0d1e50;
  color: white;
  padding: 0.75em 2em;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: #0d3a8a;
}

/* ===== Contact ===== */
.contact-intro {
  max-width: 560px;
  color: #444;
  margin-bottom: 2em;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-bottom: 2em;
}

.contact-card {
  background: white;
  border: 1px solid #ddd;
  border-top: 4px solid #0d1e50;
  border-radius: 6px;
  padding: 1.25em 1.5em;
}

.contact-card-label {
  font-weight: bold;
  color: #0d1e50;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5em;
}

.contact-card p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

/* ===== Footer ===== */
.footer {
  background-color: #0d1e50;
  color: white;
  text-align: center;
  padding: 1em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 0.75em;
    text-align: center;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.75em;
  }

  .page-content {
    padding: 1.5em 1em;
  }
}
