/* Blackbox FDS visual refresh. Loaded after the original Jetly theme. */
:root {
  --jetly-base: #eb602f;
  --jetly-base-rgb: 235, 96, 47;
  --jetly-black: #111820;
  --jetly-black-rgb: 17, 24, 32;
  --jetly-gray: #5c6873;
  --jetly-gray-rgb: 92, 104, 115;
  --jetly-primary: #f3f5f6;
  --jetly-primary-rgb: 243, 245, 246;
  --jetly-letter-spacing: 0;
  --blackbox-border: #dfe4e8;
  --blackbox-ink: #111820;
  --blackbox-muted: #5c6873;
}

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

body {
  background: #fff;
  color: var(--blackbox-muted);
  line-height: 1.75;
  overflow-x: hidden;
}

.custom-cursor__cursor,
.custom-cursor__cursor-two {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(var(--jetly-base-rgb), .35);
  outline-offset: 3px;
}

::selection {
  background: rgba(var(--jetly-base-rgb), .2);
  color: var(--blackbox-ink);
}

/* Persistent, compact navigation */
.site-header,
.main-header.site-header,
.main-header-three.site-header {
  position: fixed;
  top: 0;
  left: auto;
  right: auto;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(17, 24, 32, .08);
  box-shadow: 0 10px 35px rgba(17, 24, 32, .07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.inner-page .page-wrapper {
  padding-top: 76px;
}

.site-header--home .main-header-three__top {
  background: #111820;
  border-bottom-color: rgba(255, 255, 255, .08);
}

.site-header--home .main-header-three__contact-list .text p,
.site-header--home .main-header-three__contact-list .text p a,
.site-header--home .main-header-three__social a {
  color: rgba(255, 255, 255, .76);
}

.site-header--home .main-header-three__social a:hover {
  color: var(--jetly-base);
}

.site-header .main-menu__wrapper,
.site-header .main-menu-three__wrapper-inner {
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}

.site-header .main-menu__wrapper-inner,
.site-header .main-menu-three__wrapper-inner {
  min-height: 76px;
  flex-wrap: nowrap;
}

.site-header .main-menu__logo,
.site-header .main-menu-three__logo {
  padding: 8px 0;
}

.site-header .main-menu__logo img,
.site-header .main-menu-three__logo img {
  display: block;
  width: 108px !important;
  max-width: 108px;
  max-height: 58px;
  object-fit: contain;
}

.site-header .main-menu__list > li,
.site-header .stricky-header .main-menu__list > li {
  padding-top: 24px;
  padding-bottom: 24px;
}

.site-header .main-menu__list > li + li {
  margin-left: clamp(24px, 3vw, 54px);
}

.site-header .main-menu__list > li > a,
.site-header--solid .main-menu__list > li > a {
  color: #2a343d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.site-header .main-menu__list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--jetly-base);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.site-header .main-menu__list > li.current > a::after,
.site-header .main-menu__list > li:hover > a::after {
  transform: scaleX(1);
}

.site-header .main-menu__list > li > ul {
  border-top: 3px solid var(--jetly-base);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 20px 45px rgba(17, 24, 32, .14);
}

.site-header .mobile-nav__toggler {
  position: absolute;
  top: 50%;
  right: clamp(18px, 4vw, 60px);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--blackbox-border);
  border-radius: 4px;
  color: var(--blackbox-ink);
  background: #fff;
}

@media (min-width: 1200px) {
  .site-header .mobile-nav__toggler {
    display: none !important;
  }
}

.stricky-header {
  display: none !important;
}

.blackbox-menu-toggle {
  display: none;
}

/* Inner-page hero: technical and compact, with the content visible sooner. */
.inner-page .page-header {
  min-height: 320px;
  margin: 0 !important;
  border: 0;
  overflow: hidden;
  background-color: #111820;
}

.inner-page .page-header-bg {
  opacity: .48;
  background-position: center 42%;
  mix-blend-mode: normal;
  transform: scale(1.01);
}

.inner-page .page-header-bg::before {
  background: linear-gradient(90deg, rgba(17, 24, 32, .92), rgba(17, 24, 32, .5) 60%, rgba(17, 24, 32, .75));
}

.inner-page .page-header__inner {
  min-height: 320px;
  padding: 82px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.inner-page .page-header__inner h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 700;
}

.inner-page .thm-breadcrumb {
  justify-content: flex-start;
}

.inner-page .thm-breadcrumb li,
.inner-page .thm-breadcrumb li a {
  color: rgba(255, 255, 255, .76);
}

/* Content surfaces */
.service-details,
.news-details,
.news-page,
.contact-page,
.contact-one {
  background: #fff;
}

.service-details,
.news-details,
.news-page,
.contact-page {
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(70px, 8vw, 110px);
}

.service-details__content,
.news-details__content {
  color: #4e5a64;
  font-size: 17px;
  line-height: 1.8;
}

.service-details__content > img,
.news-details__img img,
.blog-one__img img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.service-details__content > img,
.news-details__img img {
  box-shadow: 0 24px 55px rgba(17, 24, 32, .12);
}

.service-details__title,
.news-details__title {
  color: var(--blackbox-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  margin-bottom: 22px;
}

.service-details__content p + p,
.news-details__content p + p {
  margin-top: 18px;
}

.service-details__sidebar,
.sidebar__single {
  border: 1px solid var(--blackbox-border);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(17, 24, 32, .06);
  overflow: hidden;
}

.service-details__catagories-list li a,
.sidebar__post-list li {
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.service-details__catagories-list li a:hover,
.service-details__catagories-list li.current a {
  background: rgba(var(--jetly-base-rgb), .1);
  color: var(--jetly-base);
}

.blog-one__single,
.contact-page__single {
  height: calc(100% - 30px);
  border: 1px solid var(--blackbox-border);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(17, 24, 32, .07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.blog-one__single:hover,
.contact-page__single:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--jetly-base-rgb), .45);
  box-shadow: 0 24px 50px rgba(17, 24, 32, .12);
}

.contact-form__input-box input,
.contact-form__input-box textarea {
  border: 1px solid var(--blackbox-border);
  border-radius: 4px;
  background: #f7f8f9;
  color: var(--blackbox-ink);
}

.contact-form__input-box input:focus,
.contact-form__input-box textarea:focus {
  border-color: var(--jetly-base);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--jetly-base-rgb), .1);
}

.thm-btn {
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(var(--jetly-base-rgb), .2);
}

.section-title__tagline {
  letter-spacing: .08em;
}

.section-title__title {
  line-height: 1.14;
}

.site-footer {
  background: #0c1218;
  border-top: 4px solid var(--jetly-base);
}

.site-footer__shape-1 {
  opacity: .12;
}

.mobile-nav__content {
  background: #111820;
  border-right: 3px solid var(--jetly-base);
}

@media (max-width: 1199px) {
  .site-header--home .main-header-three__top {
    display: none;
  }

  .site-header .mobile-nav__toggler {
    position: fixed;
    top: 13px;
    right: 18px;
    z-index: 1002;
    display: inline-flex !important;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-header .mobile-nav__toggler::before {
    content: none;
  }

  .site-header .mobile-nav__toggler i {
    display: none;
  }

  .blackbox-menu-toggle,
  .site-header .blackbox-menu-toggle {
    position: fixed;
    top: 13px;
    right: 18px;
    z-index: 1003;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--blackbox-border);
    border-radius: 4px;
    background: #fff;
    color: var(--blackbox-ink);
    box-shadow: 0 8px 20px rgba(17, 24, 32, .08);
  }

  .inner-page .page-wrapper {
    padding-top: 70px;
  }

  .site-header .main-menu__wrapper-inner,
  .site-header .main-menu-three__wrapper-inner {
    min-height: 70px;
  }

  .site-header .main-menu__logo img,
  .site-header .main-menu-three__logo img {
    max-width: 98px;
    max-height: 52px;
  }

  .site-header .main-menu-three__main-menu-box {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .site-header .main-menu__wrapper,
  .site-header .main-menu-three__wrapper-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .inner-page .page-header,
  .inner-page .page-header__inner {
    min-height: 260px;
  }

  .inner-page .page-header__inner {
    padding: 58px 0 52px;
  }

  .inner-page .page-header__inner h2 {
    font-size: 36px;
    line-height: 1.12;
  }

  .service-details__content,
  .news-details__content {
    font-size: 16px;
  }

  .contact-page__single {
    padding: 30px 24px;
  }
}

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