:root {
  --tt-font: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --tt-header-height: 80px;

  --tt-dark: #0f172a;
  --tt-ink: #1f2937;
  --tt-muted: #64748b;
  --tt-border: #e2e8f0;
  --tt-bg-soft: #f8fafc;

  /* Turbine Techs brand colours */
  --tt-blue: #1388d7;
  --tt-green: #1cbfaa;
  --tt-accent: var(--tt-blue);
  --tt-accent-rgb: var(--tt-blue-rgb);
  --tt-accent-rgb: 19, 136, 215;
  --tt-green-rgb: 28, 191, 170;
}

html,
body {
  font-family: var(--tt-font);
  color: var(--tt-ink);
  background-color: #fff;
}

body.tt-menu-open {
  overflow: hidden;
}

.tt-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  background: #ffffff;
  color: var(--tt-dark);
  border: 1px solid var(--tt-border);
  font-weight: 700;
  text-decoration: none;
  -webkit-transform: translateY(-140%);
  transform: translateY(-140%);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
}

.tt-skip-link:focus {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

#content {
  min-height: 60vh;
}

#content > section:first-child,
#content > .tt-page-hero:first-child,
#content > .page-title-section:first-child,
#content > .tt-page-title:first-child {
  padding-top: calc(var(--tt-header-height) + 1.5rem);
}

.tt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(15, 23, 42, 0.82)),
    color-stop(65%, rgba(15, 23, 42, 0.2)),
    to(rgba(15, 23, 42, 0))
  );
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.2) 65%,
    rgba(15, 23, 42, 0) 100%
  );
  -webkit-transition:
    background-color 0.25s ease,
    -webkit-box-shadow 0.25s ease;
  transition:
    background-color 0.25s ease,
    -webkit-box-shadow 0.25s ease;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    -webkit-box-shadow 0.25s ease;
}

.tt-header.tt-scrolled {
  background-color: #fff;
  -webkit-box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.tt-header-inner {
  min-height: var(--tt-header-height);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 1rem;
}

.tt-logo {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.tt-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.tt-logo-dark {
  display: none;
}

.tt-header.tt-scrolled .tt-logo-light {
  display: none;
}

.tt-header.tt-scrolled .tt-logo-dark {
  display: block;
}

.tt-menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}

.tt-header.tt-scrolled .tt-menu-toggle {
  border-color: var(--tt-border);
  background: #fff;
}

.tt-menu-line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
}

.tt-header.tt-scrolled .tt-menu-line {
  background: var(--tt-dark);
}

.tt-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0.75rem;
  right: 0.75rem;
  background: #fff;
  border: 1px solid var(--tt-border);
  border-radius: 0.8rem;
  -webkit-box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  -webkit-transition:
    opacity 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    opacity 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    -webkit-transform 0.2s ease;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.tt-nav.tt-open {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.tt-nav-list,
.tt-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tt-nav-item {
  border-bottom: 1px solid var(--tt-border);
}

.tt-nav-item:last-child {
  border-bottom: 0;
}

.tt-nav-link {
  color: var(--tt-dark);
  text-decoration: none;
  display: block;
  font-weight: 700;
  padding: 0.9rem 1rem;
}

.tt-has-submenu {
  position: relative;
}

.tt-submenu-toggle {
  position: absolute;
  right: 0.65rem;
  top: 0.55rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--tt-border);
  border-radius: 0.45rem;
  background: #fff;
}

.tt-submenu-toggle::before {
  content: "\2b";
  font-weight: 700;
  color: var(--tt-dark);
}

.tt-has-submenu.tt-open > .tt-submenu-toggle::before {
  content: "\2212";
}

.tt-submenu {
  display: none;
  background: var(--tt-bg-soft);
  border-top: 1px solid var(--tt-border);
}

.tt-has-submenu.tt-open > .tt-submenu {
  display: block;
}

.tt-submenu-link {
  display: block;
  text-decoration: none;
  color: var(--tt-ink);
  padding: 0.7rem 1rem 0.7rem 1.8rem;
  font-weight: 600;
}

.tt-footer {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#0f172a),
    to(#111827)
  );
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 3rem;
}

.tt-footer-title,
.tt-footer-heading {
  color: #fff;
}

.tt-footer-heading {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.tt-footer-list li {
  margin-bottom: 0.45rem;
}

.tt-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.tt-footer a:hover {
  color: #fff;
}

.tt-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.tt-newsletter .form-control {
  border-color: rgba(255, 255, 255, 0.28);
}

.tt-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

.tt-scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  background: conic-gradient(var(--tt-blue) 0%, rgba(255, 255, 255, 0.2) 0%);
  -webkit-box-shadow: 0 12px 25px rgba(var(--tt-accent-rgb), 0.25);
  box-shadow: 0 12px 25px rgba(var(--tt-accent-rgb), 0.25);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
  -webkit-transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    -webkit-transform 0.2s ease;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    -webkit-transform 0.2s ease;
}

.tt-scroll-top::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #0f172a;
  z-index: 0;
}

#ttScrollValue {
  position: relative;
  z-index: 1;
}

.tt-scroll-top.tt-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media (min-width: 992px) {
  body.tt-menu-open {
    overflow: auto;
  }

  .tt-nav {
    position: static;
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: none;
    transform: none;
    background: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .tt-nav-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.4rem;
  }

  .tt-nav-item {
    border-bottom: 0;
  }

  .tt-nav-link {
    color: #fff;
    border-radius: 999px;
    padding: 0.58rem 0.95rem;
    font-weight: 700;
  }

  .tt-header.tt-scrolled .tt-nav-link {
    color: var(--tt-dark);
  }

  .tt-nav-link:hover,
  .tt-nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }

  .tt-header.tt-scrolled .tt-nav-link:hover,
  .tt-header.tt-scrolled .tt-nav-link:focus-visible {
    background: rgba(15, 23, 42, 0.08);
    color: var(--tt-dark);
  }

  .tt-submenu-toggle {
    display: none;
  }

  .tt-submenu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 220px;
    border-radius: 0.7rem;
    border: 1px solid var(--tt-border);
    background: #fff;
    -webkit-box-shadow: 0 16px 34px rgba(15, 23, 42, 0.13);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.13);
    display: block;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
    -webkit-transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      -webkit-transform 0.2s ease;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      -webkit-transform 0.2s ease;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease,
      -webkit-transform 0.2s ease;
  }

  .tt-has-submenu:hover > .tt-submenu,
  .tt-has-submenu:focus-within > .tt-submenu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .tt-submenu-link {
    padding: 0.65rem 0.9rem;
  }

  .tt-submenu-link:hover,
  .tt-submenu-link:focus-visible {
    background: var(--tt-bg-soft);
  }

  .tt-scroll-top {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}
/* =========================================================
   Turbine Techs Brand Colour Overrides
========================================================= */

.tt-header,
.tt-footer,
.tt-scroll-top {
  --bs-primary: var(--tt-blue);
  --bs-primary-rgb: var(--tt-accent-rgb);
  --bs-success: var(--tt-green);
  --bs-success-rgb: var(--tt-green-rgb);
}

.btn-primary {
  --bs-btn-bg: var(--tt-blue);
  --bs-btn-border-color: var(--tt-blue);
  --bs-btn-hover-bg: #0f78bf;
  --bs-btn-hover-border-color: #0f78bf;
  --bs-btn-active-bg: #0d6daa;
  --bs-btn-active-border-color: #0d6daa;
  --bs-btn-disabled-bg: var(--tt-blue);
  --bs-btn-disabled-border-color: var(--tt-blue);
}

.btn-outline-primary {
  --bs-btn-color: var(--tt-blue);
  --bs-btn-border-color: var(--tt-blue);
  --bs-btn-hover-bg: var(--tt-blue);
  --bs-btn-hover-border-color: var(--tt-blue);
  --bs-btn-active-bg: var(--tt-blue);
  --bs-btn-active-border-color: var(--tt-blue);
}

.text-primary {
  color: var(--tt-blue) !important;
}

.bg-primary,
.text-bg-primary {
  background-color: var(--tt-blue) !important;
}

.border-primary {
  border-color: var(--tt-blue) !important;
}

.text-success {
  color: var(--tt-green) !important;
}

.bg-success,
.text-bg-success {
  background-color: var(--tt-green) !important;
}

.border-success {
  border-color: var(--tt-green) !important;
}

.tt-social:hover,
.tt-social:focus-visible {
  border-color: rgba(var(--tt-green-rgb), 0.75);
  background: rgba(var(--tt-green-rgb), 0.12);
}
