/* =========================
   1. Variables
========================= */
:root {
  --ntm-deep-green: #0A5A2A;
  --ntm-green: #28B463;
  --ntm-blue: #0E4D9C;
  --ntm-off-white: #F6F8F6;
  --ntm-charcoal: #1F2933;
  --ntm-white: #FFFFFF;
  --ntm-light-green: #E8F6ED;
  --ntm-pale-blue: #EAF2FC;
  --ntm-muted: #667085;
  --ntm-border: #DDE7E1;
  --ntm-footer: #0B2D1C;
  --ntm-shadow: 0 18px 48px rgba(31, 41, 51, 0.12);
  --ntm-soft-shadow: 0 10px 28px rgba(31, 41, 51, 0.08);
  --ntm-radius: 8px;
  --ntm-header-height: 68px;
}

/* =========================
   2. Base / Reset
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ntm-charcoal);
  background: var(--ntm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ntm-blue);
  text-decoration: none;
}

a:hover {
  color: var(--ntm-deep-green);
}

:focus-visible {
  outline: 3px solid rgba(40, 180, 99, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 10000;
  padding: 0.7rem 1rem;
  color: var(--ntm-white);
  background: var(--ntm-deep-green);
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================
   3. Typography
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ntm-charcoal);
  line-height: 1.16;
  margin: 0 0 1rem;
}

h1 {
  font-size: 3.7rem;
  font-weight: 800;
}

h2 {
  font-size: 2.45rem;
  font-weight: 800;
}

h3 {
  font-size: 1.16rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

.section-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--ntm-deep-green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

/* =========================
   4. Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ntm-primary {
  color: var(--ntm-white);
  background: var(--ntm-deep-green);
  border-color: var(--ntm-deep-green);
  box-shadow: 0 12px 24px rgba(10, 90, 42, 0.2);
}

.btn-ntm-primary:hover,
.btn-ntm-primary:focus {
  color: var(--ntm-white);
  background: #08491F;
  border-color: #08491F;
}

.btn-ntm-outline {
  color: var(--ntm-charcoal);
  background: var(--ntm-white);
  border-color: rgba(14, 77, 156, 0.35);
}

.btn-ntm-outline:hover,
.btn-ntm-outline:focus {
  color: var(--ntm-white);
  background: var(--ntm-blue);
  border-color: var(--ntm-blue);
}

.btn-ntm-light {
  color: var(--ntm-deep-green);
  background: var(--ntm-white);
  border-color: var(--ntm-white);
}

.btn-ntm-light:hover,
.btn-ntm-light:focus {
  color: var(--ntm-deep-green);
  background: var(--ntm-light-green);
  border-color: var(--ntm-light-green);
}

.btn-ntm-blue {
  color: var(--ntm-white);
  background: var(--ntm-blue);
  border-color: var(--ntm-blue);
}

.btn-ntm-blue:hover,
.btn-ntm-blue:focus {
  color: var(--ntm-white);
  background: #0A3F82;
  border-color: #0A3F82;
}

/* =========================
   5. Navigation
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 231, 225, 0.72);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
  border-color: transparent;
}

.navbar {
  min-height: var(--ntm-header-height);
  padding: 0.35rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 72%;
  margin: 0;
}

.brand-logo {
  width: auto;
  height: 54px;
  max-width: 100%;
  object-fit: contain;
}

.brand-text-fallback {
  display: none;
  flex-direction: column;
  color: var(--ntm-deep-green);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.brand-text-fallback small {
  color: var(--ntm-blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.nav-link {
  position: relative;
  color: var(--ntm-charcoal);
  font-weight: 700;
  padding: 0.65rem 0.85rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--ntm-deep-green);
}

.nav-link.active::after {
  position: absolute;
  right: 0.85rem;
  bottom: 0.35rem;
  left: 0.85rem;
  height: 2px;
  content: "";
  background: var(--ntm-green);
  border-radius: 2px;
}

.nav-cta {
  min-height: 42px;
  padding-right: 1.05rem;
  padding-left: 1.05rem;
}

.navbar-toggler {
  border-color: rgba(10, 90, 42, 0.25);
  border-radius: 6px;
}

/* =========================
   6. Hero
========================= */
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 690px;
  padding: 7.5rem 0 6rem;
  color: var(--ntm-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 53, 27, 0.9), rgba(8, 53, 27, 0.72) 42%, rgba(14, 77, 156, 0.48)),
    url("../assets/images/hero/hero-image.jpg") center/cover no-repeat;
}

.hero-bg::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(0deg, rgba(10, 90, 42, 0.45), rgba(10, 90, 42, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.hero-content h1 {
  max-width: 850px;
  color: var(--ntm-white);
}

.hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.page-hero {
  position: relative;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(232, 246, 237, 0.98), rgba(234, 242, 252, 0.9)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero p {
  max-width: 820px;
}

.page-hero p:not(.section-eyebrow) {
  color: var(--ntm-muted);
  font-size: 1.12rem;
}

/* =========================
   7. Sections
========================= */
.section-padding {
  padding: 5.6rem 0;
}

.bg-soft {
  background: var(--ntm-off-white);
}

.intro-section p,
.corporate-section p {
  color: var(--ntm-muted);
  font-size: 1.05rem;
}

.credential-strip {
  position: relative;
  z-index: 2;
  padding: 1.25rem 0;
  background: var(--ntm-white);
  box-shadow: 0 16px 34px rgba(31, 41, 51, 0.08);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 58px;
  padding: 0.85rem 1rem;
  color: var(--ntm-charcoal);
  background: var(--ntm-off-white);
  border: 1px solid var(--ntm-border);
  border-radius: var(--ntm-radius);
  font-weight: 800;
}

.credential-item i {
  color: var(--ntm-green);
  font-size: 1.25rem;
}

.philosophy-band,
.cta-band {
  padding: 5.2rem 0;
  color: var(--ntm-white);
  background:
    linear-gradient(135deg, rgba(10, 90, 42, 0.98), rgba(14, 77, 156, 0.92));
}

.philosophy-band h2,
.philosophy-band p,
.cta-band h2,
.cta-band p {
  color: var(--ntm-white);
}

.philosophy-band p,
.cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.cta-inner {
  max-width: 820px;
}

.quick-nav-section {
  padding: 1.5rem 0;
  background: var(--ntm-white);
  border-bottom: 1px solid var(--ntm-border);
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.quick-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem;
  color: var(--ntm-charcoal);
  background: var(--ntm-off-white);
  border: 1px solid var(--ntm-border);
  border-radius: var(--ntm-radius);
  font-weight: 800;
  text-align: center;
}

.quick-nav a:hover,
.quick-nav a:focus {
  color: var(--ntm-white);
  background: var(--ntm-deep-green);
  border-color: var(--ntm-deep-green);
}

.service-detail {
  padding: 5.8rem 0;
}

.service-featured {
  background:
    linear-gradient(180deg, var(--ntm-white), rgba(232, 246, 237, 0.55));
}

.statement {
  color: var(--ntm-deep-green);
  font-size: 1.2rem;
  font-weight: 800;
}

.service-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--ntm-radius);
  box-shadow: var(--ntm-shadow);
}

.service-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-points article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ntm-border);
}

.service-points i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ntm-deep-green);
  background: var(--ntm-light-green);
  border-radius: 8px;
}

.service-points h3 {
  margin-bottom: 0.35rem;
}

.service-points p {
  margin-bottom: 0;
  color: var(--ntm-muted);
}

/* =========================
   8. Cards
========================= */
.service-card,
.strength-card,
.value-item,
.contact-panel,
.contact-form {
  background: var(--ntm-white);
  border: 1px solid var(--ntm-border);
  border-radius: var(--ntm-radius);
  box-shadow: var(--ntm-soft-shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(40, 180, 99, 0.42);
  box-shadow: var(--ntm-shadow);
}

.service-card p {
  color: var(--ntm-muted);
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--ntm-deep-green);
  font-weight: 800;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  color: var(--ntm-deep-green);
  background: var(--ntm-light-green);
  border-radius: 8px;
  font-size: 1.35rem;
}

.icon-box-blue {
  color: var(--ntm-blue);
  background: var(--ntm-pale-blue);
}

.strength-card,
.value-item {
  padding: 1.35rem;
}

.strength-card i,
.value-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--ntm-white);
  background: var(--ntm-deep-green);
  border-radius: 8px;
}

.strength-card p,
.value-item p {
  margin-bottom: 0;
  color: var(--ntm-muted);
}

.corporate-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 1.35rem;
  background: var(--ntm-white);
  border: 1px solid var(--ntm-border);
  border-radius: var(--ntm-radius);
  box-shadow: var(--ntm-soft-shadow);
}

.corporate-list div {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ntm-border);
}

.corporate-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.corporate-list dt {
  color: var(--ntm-muted);
  font-weight: 800;
}

.corporate-list dd {
  margin: 0;
  color: var(--ntm-charcoal);
  font-weight: 800;
}

/* =========================
   9. Forms
========================= */
.contact-form,
.contact-panel {
  padding: 1.6rem;
}

.form-label {
  color: var(--ntm-charcoal);
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 48px;
  color: var(--ntm-charcoal);
  border-color: var(--ntm-border);
  border-radius: 6px;
}

textarea.form-control {
  min-height: 160px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ntm-green);
  box-shadow: 0 0 0 0.25rem rgba(40, 180, 99, 0.18);
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--ntm-blue);
  font-weight: 700;
}

.contact-panel h2 {
  margin-bottom: 0.75rem;
}

.contact-panel p {
  color: var(--ntm-muted);
}

.contact-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.contact-list i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ntm-blue);
  background: var(--ntm-pale-blue);
  border-radius: 8px;
}

.contact-list span {
  display: block;
  color: var(--ntm-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-list strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ntm-charcoal);
}

.contact-list strong a {
  color: inherit;
}

.contact-list strong a:hover,
.contact-list strong a:focus {
  color: var(--ntm-blue);
}

.contact-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--ntm-off-white);
  border: 1px solid var(--ntm-border);
  border-radius: var(--ntm-radius);
}

.contact-note i {
  color: var(--ntm-green);
}

.contact-note p {
  margin: 0;
}

/* =========================
   10. Footer
========================= */
.site-footer {
  padding: 4.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  background: var(--ntm-footer);
}

.footer-brand {
  display: inline-block;
  padding: 0.55rem;
  margin-bottom: 1.25rem;
  background: var(--ntm-white);
  border-radius: var(--ntm-radius);
}

.footer-brand img {
  width: 260px;
  object-fit: contain;
}

.site-footer h2,
.site-footer h3 {
  color: var(--ntm-white);
}

.site-footer h2 {
  font-size: 1.4rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links,
.footer-facts,
.footer-contact {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-contact {
  margin-top: 1.25rem;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.55rem;
  align-items: start;
}

.footer-contact i {
  color: var(--ntm-green);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-contact a:hover,
.footer-contact a:focus {
  color: var(--ntm-white);
}

.footer-bottom {
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* =========================
   11. Motion and Responsive Overrides
========================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199.98px) {
  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .quick-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  :root {
    --ntm-header-height: 62px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .navbar-collapse {
    padding: 1rem 0 0.25rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }

  .brand-logo {
    height: 48px;
  }

  .home-hero {
    min-height: 620px;
    padding: 6rem 0 5rem;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(8, 53, 27, 0.92), rgba(8, 53, 27, 0.82)),
      url("../assets/images/hero/hero-image.jpg") center/cover no-repeat;
  }

  .section-padding,
  .service-detail {
    padding: 4.3rem 0;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-lead,
  .page-hero p:not(.section-eyebrow) {
    font-size: 1rem;
  }

  .home-hero {
    min-height: 560px;
    padding: 5rem 0 4rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1rem;
  }

  .page-hero {
    padding: 5rem 0 3.6rem;
  }

  .quick-nav {
    grid-template-columns: 1fr;
  }

  .corporate-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 575.98px) {
  body {
    line-height: 1.65;
  }

  h1 {
    font-size: 1.86rem;
  }

  h2 {
    font-size: 1.48rem;
  }

  h3 {
    font-size: 1.04rem;
  }

  .brand-lockup {
    max-width: 76%;
  }

  .brand-logo {
    height: 42px;
  }

  .credential-item {
    align-items: flex-start;
    min-height: 78px;
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  .service-card,
  .strength-card,
  .value-item,
  .contact-form,
  .contact-panel {
    padding: 1.15rem;
  }

  .service-points article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359.98px) {
  h1 {
    font-size: 1.68rem;
  }

  h2 {
    font-size: 1.34rem;
  }

  .brand-logo {
    height: 38px;
  }

  .credential-item {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
