@font-face {
  font-family: 'Pe-icon-7-stroke';
  src: url('/assets/Pe-icon-7-stroke.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.65;
  color: #5f5f5f;
  background-color: #f6f6f6;
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body > .nk-main { flex: 1 0 auto; }
body > .nk-footer { flex: 0 0 auto; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #171717;
}

h1 { font-size: 60px; }
h2 { font-size: 30px; }
h3 { font-size: 25.35px; }
h4 { font-size: 21px; }

p { margin: 0 0 1rem; }

a {
  color: #bbbbbb;
  text-decoration: none;
  transition: 0.2s color;
}

a:hover, a:focus { color: #a2a2a2; }

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

::selection { color: #fff; background-color: #bbbbbb; }

.container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.nk-main {
  position: relative;
  overflow: hidden;
  background-color: #f6f6f6;
  z-index: 1;
}

.nk-gap { height: 20px; }
.nk-gap-1 { height: 30px; }
.nk-gap-2 { height: 40px; }
.text-center { text-align: center; }

/* ---------- Header / Navbar ---------- */

.nk-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
}

.nk-header.nk-header-opaque { position: relative; }

.nk-navbar {
  position: relative;
  padding: 33px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background-color: transparent;
  transition: 0.3s background-color;
  will-change: background-color;
  z-index: 1000;
}

/* Transparent header overlays the hero and stays pinned while scrolling */
.nk-header:not(.nk-header-opaque) .nk-navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

/* Opaque header keeps its place in the flow and sticks on scroll */
.nk-header-opaque .nk-navbar {
  position: sticky;
  top: 0;
}

.nk-navbar.nk-navbar-solid { background-color: #fff; }
.nk-navbar.nk-navbar-dark { background-color: #252525; }

.nk-nav-table {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.nk-nav-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.nk-nav-logo img { width: 218px; height: auto; }

.nk-nav {
  position: relative;
  padding: 0;
  margin: 0;
  margin-left: auto;
  list-style: none;
  text-align: right;
}

.nk-nav > li {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.nk-nav > li > a {
  position: relative;
  display: block;
  padding: 6px 14.6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: inherit;
}

.nk-nav > li:last-of-type > a { padding-right: 0; }

/* Transparent state (white text on top of the hero) */
.nk-navbar-white-text-on-top .nk-nav > li > a { color: #bfbfbf; }
.nk-navbar-white-text-on-top .nk-nav > li > a:hover,
.nk-navbar-white-text-on-top .nk-nav > li.active > a,
.nk-navbar-white-text-on-top .nk-icon-burger { color: #fff; }

/* Solid state (white bar, dark text) */
.nk-navbar-white-text-on-top.nk-navbar-solid .nk-nav > li > a { color: #5f5f5f; }
.nk-navbar-white-text-on-top.nk-navbar-solid .nk-nav > li > a:hover,
.nk-navbar-white-text-on-top.nk-navbar-solid .nk-nav > li.active > a,
.nk-navbar-white-text-on-top.nk-navbar-solid .nk-icon-burger { color: #0e0e0e; }

/* Dark bar (contact) */
.nk-navbar-dark .nk-nav > li > a { color: #bcbcbc; }
.nk-navbar-dark .nk-nav > li > a:hover,
.nk-navbar-dark .nk-nav > li.active > a { color: #fff; }

/* Logo swap */
.nk-nav-logo .nk-nav-logo-onscroll { display: block; }
.nk-nav-logo .nk-nav-logo-onscroll + img { display: none; }
.nk-navbar-solid .nk-nav-logo .nk-nav-logo-onscroll { display: none; }
.nk-navbar-solid .nk-nav-logo .nk-nav-logo-onscroll + img { display: block; }

/* Burger */
.nk-nav-icons {
  display: none;
  margin-left: auto;
  padding: 0;
  list-style: none;
}

.nk-icon-burger {
  display: block;
  width: 22px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 0;
}

.nk-icon-burger span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background-color: currentColor;
}

@media (max-width: 991px) {
  .nk-navbar .nk-nav-main { display: none; }
  .nk-nav-icons { display: flex; align-items: center; }
  .nk-nav-logo img { width: 170px; }
}

/* ---------- Fullscreen mobile navbar ---------- */

.nk-navbar-full {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #252525;
  z-index: 1002;
}

.nk-navbar-full.open { display: flex; }

.nk-navbar-full .nk-nav-header {
  display: flex;
  align-items: center;
  padding: 33px 0;
}

.nk-navbar-full .nk-nav-header .nk-nav-logo img { width: 170px; }

.nk-navbar-full .nk-nav-close {
  margin-left: auto;
  padding: 6px 0;
  font-size: 1.8rem;
  line-height: 1;
  color: #d8d8d8;
  cursor: pointer;
  background: none;
  border: none;
}

.nk-navbar-full .nk-nav-close:hover { color: #fff; }

.nk-navbar-full .nk-nav-full-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.nk-navbar-full .nk-nav-full-list > li > a {
  display: block;
  padding: 11px 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
  color: #d8d8d8;
}

.nk-navbar-full .nk-nav-full-list > li > a:hover,
.nk-navbar-full .nk-nav-full-list > li.active > a { color: #fff; }

.nk-navbar-full .nk-nav-social { padding: 51px 20px; text-align: center; }
.nk-navbar-full .nk-nav-social ul { padding: 0; margin: 0; list-style: none; }
.nk-navbar-full .nk-nav-social li { display: inline-block; }

.nk-navbar-full .nk-nav-social a {
  display: block;
  margin: 3px 6px;
  font-size: 1.13rem;
  color: #d8d8d8;
}

.nk-navbar-full .nk-nav-social a:hover { color: #fff; }

/* ---------- Header title (hero) ---------- */

.nk-header-title {
  position: relative;
  display: flex;
  overflow: hidden;
  text-align: center;
  z-index: 0;
}

.nk-header-title .bg-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: 50% 50%;
  background-size: cover;
  z-index: -1;
}

.nk-header-title .bg-image video,
.nk-header-title .bg-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nk-header-title .bg-image-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(12, 12, 12, 0.6);
}

.nk-header-table {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 470px;
  padding-top: 75px;
}

.nk-header-title-md .nk-header-table { min-height: 460px; }
.nk-header-title-full .nk-header-table { min-height: 100vh; }

.nk-header-table-cell {
  flex: 1;
  width: 100%;
  padding: 80px 0;
}

.nk-subtitle {
  margin-bottom: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
}

.nk-header-title h1.nk-title {
  margin-bottom: 0;
  line-height: 1.18;
  color: #fff;
}

.lead-sm {
  font-size: 1.25rem;
  font-weight: 300;
  color: #fff;
}

/* ---------- Video play icon ---------- */

.nk-video-fullscreen-toggle {
  display: inline-block;
  cursor: pointer;
}

.nk-video-icon {
  position: relative;
  display: inline-block;
  width: 85px;
  height: 85px;
  color: #fff;
  text-decoration: none;
}

.nk-video-icon::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #bbbbbb;
  border-radius: 42.5px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.08);
  transition: 0.3s transform;
  transform-style: preserve-3d;
}

.nk-video-icon > span {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  margin-left: -25px;
  font-size: 1.5rem;
  line-height: 51px;
  color: inherit;
  text-align: center;
  transition: 0.3s transform;
  transform-style: preserve-3d;
}

.nk-video-icon:hover::before { transform: scale(0.95); }
.nk-video-icon:hover > span { transform: scale(1.05); }

.nk-play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid;
}

/* ---------- Fullscreen video overlay ---------- */

.nk-video-fullscreen {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background-color: rgba(37, 37, 37, 0.9);
  z-index: 1200;
}

.nk-video-fullscreen.open { display: block; }

.nk-video-fullscreen .nk-video-fullscreen-cont {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100vw - 60px), calc((100vh - 60px) * 16 / 9));
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
}

.nk-video-fullscreen .nk-video-fullscreen-cont > iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nk-video-fullscreen .nk-video-fullscreen-close {
  position: absolute;
  top: 18px;
  right: 24px;
  padding: 10px;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: 0.2s opacity;
  z-index: 2;
}

.nk-video-fullscreen .nk-video-fullscreen-close:hover { opacity: 1; }

/* ---------- Rows / sections ---------- */

.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; width: 100%; }
.col-3 { padding: 0 15px; width: 25%; }
.col-4 { padding: 0 15px; width: 33.333333%; }
.col-5 { padding: 0 15px; width: 41.666667%; }
.col-6 { padding: 0 15px; width: 50%; }
.col-7 { padding: 0 15px; width: 58.333333%; }
.col-8 { padding: 0 15px; width: 66.666667%; }

.offset-2 { margin-left: 16.666667%; }
.offset-3 { margin-left: 25%; }

@media (max-width: 991px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { width: 100%; }
  .offset-2, .offset-3 { margin-left: 0; }
}

.section-cta {
  padding-top: 88px;
  padding-bottom: 88px;
  text-align: center;
}

.section-cta h2 { margin-bottom: 30px; }
.section-cta .cta-text { margin-bottom: 35px; }

/* ---------- Buttons ---------- */

.nk-btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background-color: #252525;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.2s background-color, 0.2s color;
}

.nk-btn:hover { color: #fff; background-color: #bbbbbb; }

/* ---------- Tabs ---------- */

.nk-tabs { text-align: center; }

.nk-tabs .nav-tabs {
  display: block;
  padding: 0;
  margin-top: -10px;
  margin-bottom: 27px;
  list-style: none;
  border-bottom: none;
}

.nk-tabs .nav-item { display: inline-block; color: #171717; }

.nk-tabs .nav-link {
  position: relative;
  display: block;
  padding: 10px 17px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: inherit;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.5s opacity;
}

.nk-tabs .nav-link:hover { opacity: 1; }
.nk-tabs .nav-link.active { opacity: 1; }

.nk-tabs .nav-link::after {
  content: "";
  position: absolute;
  display: block;
  right: 10px;
  bottom: 6px;
  left: 10px;
  border-bottom: 1px solid transparent;
  transition: 0.5s border-bottom;
}

.nk-tabs .nav-link.active::after { border-bottom: 1px solid; }

.nk-tabs .tab-content { font-size: 1.05rem; }
.nk-tabs .tab-pane { display: none; }
.nk-tabs .tab-pane.active { display: block; }

/* ---------- About ---------- */

.about-tabs-row {
  padding-top: 100px;
  padding-bottom: 100px;
}

.about-bio-row {
  background-color: #f6f6f6;
  align-items: center;
  padding-bottom: 70px;
}

.about-photo {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.about-photo img { width: 100%; }

.about-signature { width: 89px; margin-top: 1rem; }

@media (max-width: 991px) {
  .about-bio-row .col-6:first-child { margin-bottom: 40px; }
}

/* Feature boxes band */

.nk-features {
  padding-top: 0;
  padding-bottom: 30px;
  color: #fff;
  background-color: #252525;
}

.nk-features h1, .nk-features h2, .nk-features h3 { color: #fff; }

.nk-ibox-1 {
  position: relative;
  min-height: 50px;
  padding-top: 30px;
}

.nk-ibox-1 .nk-ibox-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  margin-top: 3px;
  font-size: 3.3rem;
  line-height: 50px;
  text-align: center;
}

.nk-ibox-1 .nk-ibox-cont { margin-left: 72px; }

.nk-ibox-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.nk-ibox-1 .nk-ibox-text {
  margin-top: -1px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .nk-features .col-3 { width: 50%; }
}

@media (max-width: 575px) {
  .nk-features .col-3 { width: 100%; }
}

[class^="pe-7s-"], [class*=" pe-7s-"] {
  display: inline-block;
  font-family: 'Pe-icon-7-stroke';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pe-7s-vector:before { content: "\e6c8"; }
.pe-7s-video:before { content: "\e604"; }
.pe-7s-world:before { content: "\e691"; }
.pe-7s-like:before { content: "\e642"; }

/* Client logos */

.nk-clients { padding-top: 30px; }

/* ---------- Contact ---------- */

.nk-map {
  width: 100%;
  height: 250px;
  background-color: #e8e8e8;
}

/* Desaturated tiles to match the original map styling; the pin keeps its colour */
.nk-map .leaflet-tile-pane {
  filter: grayscale(1) brightness(1.06) contrast(0.9);
}

.nk-map .nk-map-pin svg { width: 24px; height: 34px; }
.nk-map.leaflet-container { font-family: 'Nunito Sans', sans-serif; }
.nk-map .leaflet-control-attribution { font-size: 10px; }

.contact-row {
  margin-top: 60px;
  margin-bottom: 76px;
}

/* Matches the left column's h2 line box + margin so both text blocks start level */
.contact-row .contact-col-right {
  padding-top: 64.5px;
  padding-left: 75px;
}

@media (max-width: 991px) {
  .contact-row .contact-col-right { padding-top: 30px; padding-left: 15px; }
}

.nk-contact-info {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.nk-contact-info > li + li { margin-top: 12px; }
.nk-contact-info > li > strong { padding-right: 5px; color: #171717; }

/* ---------- Footer ---------- */

.nk-footer {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  color: #bcbcbc;
  background-color: #141414;
  z-index: 1;
}

.nk-footer a { color: inherit; }
.nk-footer a:hover { color: #fff; }
.nk-footer p { margin: 0; }

.nk-footer .row { align-items: flex-start; }

.nk-social-links {
  display: flex;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nk-social-links a { display: block; line-height: 0; color: #bcbcbc; }
.nk-social-links a:hover { color: #fff; }
.nk-social-links svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 991px) {
  .nk-footer .col-5, .nk-footer .col-3, .nk-footer .col-4 { width: 100%; margin-bottom: 25px; }
}

.nk-footer .col-4 { padding: 0 15px; width: 33.333333%; }

/* ---------- Responsive typography ---------- */

@media (max-width: 767px) {
  h1 { font-size: 38px; }
  h2 { font-size: 26px; }
  .nk-header-title-full .nk-header-table { min-height: 100vh; }
}
