:root {
  --nm-blue: #0d3b66;
  --nm-blue-dark: #082a49;
  --nm-gold: #c79a3b;
  --nm-sand: #f4efe6;
  --nm-light: #f7fafc;
  --nm-text: #24323f;
  --nm-muted: #5f6f7c;
  --nm-border: #dbe4ea;
}

html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  color: var(--nm-text);
  background-color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--nm-blue);
}

a:hover {
  color: var(--nm-blue-dark);
}

.topbar {
  background: var(--nm-blue-dark);
  color: #fff;
  font-size: 0.95rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  width: 100%;
}

.site-header .topbar,
.site-header .navbar {
  width: 100%;
}

.site-header .navbar {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.navbar {
  background: var(--nm-blue);
}

.navbar-nav {
  gap: 0.25rem;
}

.navbar-brand {
  color: #fff !important;
}

.navbar-brand small {
  display: block;
  font-size: 0.78rem;
  color: #d7e4ef;
  letter-spacing: 0.03em;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffd98a !important;
}

.hero {
  background:
    linear-gradient(rgba(8, 42, 73, 0.78), rgba(8, 42, 73, 0.78)),
    url("/assets/images/MDNM_OSE_ISC_TorC_20260318_006.JPG") center/cover
      no-repeat;
  color: white;
  padding: 5rem 0;
}

.hero-small {
  background:
    linear-gradient(rgba(8, 42, 73, 0.82), rgba(8, 42, 73, 0.82)),
    url("/assets/images/MDNM_OSE_ISC_TorC_20260318_006.JPG") center/cover
      no-repeat;
  color: white;
  padding: 3.5rem 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.status-box {
  background: white;
  color: var(--nm-text);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  height: 100%;
}

.status-number {
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: var(--nm-blue);
}

.section-space {
  padding: 4rem 0;
}

.soft-section {
  background: var(--nm-light);
}

.section-title {
  color: var(--nm-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--nm-muted);
  max-width: 780px;
}

.card-clean,
.card-hover,
.stat-card,
.link-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.card-hover {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  height: 100%;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--nm-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-panel {
  background: #fff;
  border-left: 5px solid var(--nm-gold);
  border-radius: 0.75rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.info-list li {
  margin-bottom: 0.65rem;
}

.callout {
  background: #fff8e8;
  border: 1px solid #f0dfb0;
  border-radius: 1rem;
  padding: 1.25rem;
}

.data-source {
  font-size: 0.92rem;
  color: var(--nm-muted);
}

.placeholder-panel {
  min-height: 260px;
  background: linear-gradient(135deg, #eef4f8, #e3edf3);
  border: 2px dashed #bfd1de;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--nm-muted);
}

.quick-facts {
  background: var(--nm-blue-dark);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
}

.quick-facts h3 {
  color: #fff;
}

.quick-facts .list-group-item {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.footer {
  background: var(--nm-blue-dark);
  color: #d9e5ef;
  padding: 2rem 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: center;
}

.footer-nav a {
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-nav a:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.7);
  content: "|";
  display: inline-block;
  margin: 0 1rem;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

#global-footer {
  margin-top: auto;
}

.resource-group .card-body {
  padding: 1.5rem;
}

.resource-group h3,
.impact-block h3,
.indicator-card h3 {
  color: var(--nm-blue);
}

.border-soft {
  border: 1px solid var(--nm-border);
}

.table-custom th {
  background: #eef4f8;
  color: var(--nm-blue-dark);
}

.breadcrumb-wrap {
  background: #f4f8fb;
  border-bottom: 1px solid var(--nm-border);
}

.breadcrumb {
  margin-bottom: 0;
}

.note-box {
  background: #f7fbff;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
}

.partner-pill {
  display: inline-block;
  background: #eef4f8;
  color: var(--nm-blue-dark);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  margin: 0.25rem 0.25rem 0 0;
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .hero,
  .hero-small {
    padding: 3rem 0;
  }

  .status-number {
    font-size: 2.5rem;
  }
}
