
/* MDC v2.1.8 FINAL — Brand Consistency Pass */

:root {
  --mdc-navy: #062f53;
  --mdc-navy-deep: #05233c;
  --mdc-green: #2f8b31;
  --mdc-green-dark: #236f28;
  --mdc-green-light: #76b82a;
  --mdc-gold: #d3aa38;
  --mdc-ink: #12364f;
  --mdc-muted: #5c6b77;
  --mdc-surface: #ffffff;
  --mdc-surface-soft: #f4f8f5;
  --mdc-border: rgba(6, 47, 83, .12);
}

/* Official logo treatment */
.brand-logo-full,
.site-header .brand img {
  display: block;
  width: auto;
  max-width: min(310px, 48vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: none !important;
}

.footer-2 .footer-brand a {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1rem;
  border-radius: .85rem;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}

.footer-2 .footer-brand img {
  display: block;
  width: min(100%, 300px);
  max-width: 300px;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: none !important;
}

/* Unified brand colours */
body {
  color: var(--mdc-ink);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--mdc-navy);
}

.eyebrow,
.section-heading .eyebrow {
  color: var(--mdc-green-dark) !important;
}

.btn-primary,
.button-primary,
a.btn-primary {
  background: linear-gradient(135deg, var(--mdc-green-dark), var(--mdc-green)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.btn-primary:hover,
.button-primary:hover,
a.btn-primary:hover {
  background: linear-gradient(135deg, #1d5f25, var(--mdc-green-dark)) !important;
}

.btn-secondary,
.button-secondary,
a.btn-secondary {
  color: var(--mdc-navy) !important;
  background: #fff !important;
  border-color: rgba(6,47,83,.18) !important;
}

.tag, .badge, .pill, .chip, .project-tag, .meta-chip {
  background: #eaf5eb !important;
  color: var(--mdc-green-dark) !important;
}

/* Consistent cards and borders */
.card,
.service-card,
.research-card,
.project-card,
.expert-card,
.course-card,
.publication-card,
.insight-card,
.executive-pillar,
.executive-insight,
.executive-project-card,
.visual-story-card,
.research-practice-card,
.project-evidence-card {
  border-color: var(--mdc-border) !important;
}

/* Consistent active navigation */
.primary-nav a[aria-current="page"],
.primary-nav .active,
.nav-dropdown-toggle.active {
  color: var(--mdc-green-dark) !important;
}

/* Consistent footer identity */
.site-footer.footer-2 {
  background:
    radial-gradient(circle at 85% 12%, rgba(47,139,49,.22), transparent 30%),
    radial-gradient(circle at 12% 85%, rgba(211,170,56,.12), transparent 26%),
    var(--mdc-navy-deep) !important;
}

.footer-2 .footer-column h3,
.footer-2 .footer-topline h2 {
  color: #fff !important;
}

.footer-2 .eyebrow {
  color: #b9df9f !important;
}

/* Mobile logo consistency */
@media (max-width: 1024px) {
  .brand-logo-full,
  .site-header .brand img {
    max-width: min(255px, 66vw);
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .brand-logo-full,
  .site-header .brand img {
    max-width: min(220px, 65vw);
    max-height: 46px;
  }

  .footer-2 .footer-brand a {
    width: 100%;
    justify-content: center;
  }

  .footer-2 .footer-brand img {
    width: min(100%, 270px);
  }
}
