:root {
  --brand: #0a2142;
  --brand-dark: #07172f;
  --accent: #0a2142;
  --muted: #5a6577;
  --surface: #f6f8fc;
  --border: #dbe2f1;
  --emerald: #0f6f54;
  --emerald-dark: #0b5a44;
  --emerald-soft: rgba(15, 111, 84, 0.12);
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--accent);
  background-color: #ffffff;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  display: block;
}

a {
  color: var(--emerald);
  text-decoration: none;
}

a:hover {
  color: var(--emerald-dark);
}

.navbar {
    /*padding: 1rem 0;*/
    background: #ffffff;
    padding-bottom: 0rem;
}

.navbar-brand {
    color: var(--emerald) !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--brand);
}
.btn btn-primary {
    color: var(--emerald) !important;
}

.nav-link {
    color: var(--emerald) !important;
    font-weight: 500;
}

.nav-link:hover {
  color: var(--brand);
}

.section {
  padding: 1rem 0;
}

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 700;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  object-fit: cover;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15rem;
  color: var(--emerald);
  font-weight: 600;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.info-card h2,
.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-media {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  margin-bottom: 1.5rem;
  display: block;
  object-fit: cover;
}

.section-media--wide {
  margin-bottom: 2rem;
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-check li {
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.accent {
  background: linear-gradient(120deg, var(--brand) 0%, #0c2e5f 60%, #0f6f54 120%);
  color: #ffffff;
}
.btn-primary {
  background-color: var(--emerald);
  border-color: var(--emerald);
  box-shadow: 0 8px 18px rgba(15, 111, 84, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--emerald-dark);
  border-color: var(--emerald-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #ffffff;
  color: var(--brand);
}

.form-control:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 0.2rem var(--emerald-soft);
}

.form-card {
  border-color: #dfe6f4;
}

.footer {
  background: #081a33;
}

.accent .lead,
.accent p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.form-card--narrow {
  max-width: 480px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.footer {
  background: var(--accent);
  color: #e2e8f0;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  position: static;
  clear: both;
}

.footer h3,
.footer h4 {
  color: #ffffff;
}

.footer a {
  color: #e2e8f0 !important;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-grid ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.7);
}

@media (min-width: 992px) {
  .hero {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-row {
    flex-direction: row;
    align-items: center;
  }

  .admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
}