/* HexaCore overrides; retain the original template stylesheet. */
.hexacore-header .hexacore-brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--tg-heading-color);
  line-height: 1;
  white-space: nowrap;
}

.hexacore-brand span {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hexacore-brand small {
  margin-top: 6px;
  color: var(--tg-theme-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
}

.hexacore-header .tgmenu__navbar-wrap > ul {
  margin-left: 28px;
}

.hexacore-header .tgmenu__navbar-wrap .sub-menu {
  min-width: 285px;
}

.hexacore-header .navigation a {
  text-transform: none;
}

/* The downloaded icon font is empty; use a CSS chevron in the header. */
.hexacore-header .tgmenu__main-menu li.menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.hexacore-header .tgmenu__navbar-wrap ul li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hexacore-header .mobile-nav-toggler,
.hexacore-header .tgmobile__menu .close-btn {
  border: 0;
  background: transparent;
}

.hexacore-header .hexacore-mobile-cta {
  padding: 25px;
}

.hexacore-header a:focus-visible,
.hexacore-header button:focus-visible {
  outline: 2px solid var(--tg-theme-primary);
  outline-offset: 4px;
}

#contact,
#about,
#services {
  scroll-margin-top: 110px;
}

/* Keep product names and sentence casing as written in the hero copy. */
#heroSlider .swiper-slide {
  height: auto;
}

#heroSlider .slider__bg {
  height: 100%;
}

#heroSlider .slider__content .title,
#heroSlider .slider__content .sub-title {
  text-transform: none;
}

#about .title,
#about .about__content p {
  text-transform: none;
}

#about .about__img .main-img {
  height: auto;
}

#about .experience__wrap {
  width: auto;
  max-width: 100%;
  min-height: 0;
  padding: 18px 22px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  writing-mode: horizontal-tb;
  transform: none;
  border-radius: 0 20px 0 24px;
}

#about .hexacore-about__badge-title {
  color: var(--tg-color-white-default);
  font-size: 24px;
  line-height: 1.2;
}

#about .experience__wrap .text {
  font-size: 14px;
  line-height: 1.4;
  text-transform: none;
}

#portfolio .title,
#portfolio .project__content span {
  text-transform: none;
}

#portfolio .overlay__text {
  font-family: var(--tg-heading-font-family);
  font-weight: 800;
}

#portfolio .project__content span {
  line-height: 1.5;
}

#portfolio .project__item:focus-within .project__content {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

#portfolio .project__item:focus-within .project__thumb::after {
  opacity: 0.9;
}

#portfolio a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (hover: none), (max-width: 767.98px) {
  #portfolio .project__content {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
  }

  #portfolio .project__thumb::after {
    opacity: 0.8;
  }
}

#why-hexacore .title,
#why-hexacore .choose__content p,
#why-hexacore .choose__list li {
  text-transform: none;
}

#why-hexacore .choose__list li {
  align-items: center;
}

#why-hexacore .tg-btn:focus-visible {
  outline: 2px solid var(--tg-color-white-default);
  outline-offset: 4px;
}

#services .title,
#services .services__content p {
  text-transform: none;
}

#services .services__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#services .services__content p {
  flex-grow: 1;
}

#services .services__content .title {
  min-height: 2.4em;
}

#services .tg-text-btn {
  align-self: flex-start;
}

#services .services__item {
  scroll-margin-top: 110px;
}

#services .tg-text-btn:focus-visible {
  outline: 2px solid var(--tg-theme-primary);
  outline-offset: 4px;
}

/* Service highlights replace the template's unverified percentages. */
.hexacore-service-highlights .counter__item-wrap .row .counter__item {
  width: 100%;
  max-width: 340px;
  height: 100%;
  margin-left: 0;
  padding-bottom: 26px;
}

.hexacore-service-highlights .counter__item::before {
  height: 6px;
}

.hexacore-service-highlights__title {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.25;
  text-transform: none;
}

.hexacore-service-highlights .counter__item p {
  color: var(--tg-body-color);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

@media (max-width: 991.98px) {
  .hexacore-service-highlights__title {
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  .hexacore-service-highlights .counter__item-wrap .row .counter__item {
    max-width: none;
  }
}

.hexacore-technologies .hexacore-technologies__heading {
  margin: 0 15px 24px;
  color: var(--tg-body-color);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
}

.hexacore-technologies .brand__item {
  min-height: 54px;
  padding: 0 12px;
  text-align: center;
}

.hexacore-technologies__name {
  max-width: 210px;
  color: var(--tg-heading-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .hexacore-technologies__name {
    font-size: 17px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hexacore-header .tgmenu__navbar-wrap > ul {
    margin-left: 18px;
  }

  .hexacore-header .tgmenu__navbar-wrap > ul > li > a {
    padding-inline: 8px;
    font-size: 14px;
  }
}


/* =====================================================================
   Nested "Microsoft Dynamics 365" submenu (desktop + mobile)
   ===================================================================== */
.hexacore-header .tgmenu__navbar-wrap .sub-menu li.menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hexacore-header .tgmenu__main-menu .sub-menu li.menu-item-has-children > a::after {
  transform: rotate(-45deg);
}

.hexacore-header .tgmenu__navbar-wrap ul li .sub-menu .sub-menu {
  top: -19px;
  min-width: 270px;
  border-radius: 8px;
}

.hexacore-header .tgmenu__navbar-wrap ul li .sub-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.tgmobile__menu .navigation li li li > a {
  padding-left: 45px;
}

/* =====================================================================
   Inner pages
   ===================================================================== */
.hx-main .title,
.hx-main p,
.hx-main li,
.hx-main .sub-title,
.hx-main .tg-btn,
.hx-main .tg-text-btn {
  text-transform: none;
}

.hx-main .breadcrumb__content .title {
  text-transform: none;
}

.hx-main .breadcrumb__content .breadcrumb {
  flex-wrap: wrap;
  row-gap: 4px;
}

.hx-section {
  padding: 90px 0;
}

@media (max-width: 767.98px) {
  .hx-section {
    padding: 60px 0;
  }
}

.hx-section .section__title.text-center + p,
.hx-section p.text-center {
  max-width: 760px;
  margin: 0 auto;
}

.hx-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.hx-service .title,
.hx-article h2.title {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.25;
}

.hx-service p,
.hx-article p {
  margin-bottom: 18px;
}

.hx-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 22px 0 18px;
  border-radius: 16px;
  background: var(--tg-color-gray-2);
  color: var(--tg-theme-primary);
}

.hx-service .hx-service__icon {
  margin-top: 0;
}

.hx-service .tg-btn {
  margin-top: 8px;
}

/* check list */
.hx-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hx-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 32px;
  line-height: 1.5;
  color: var(--tg-heading-color);
  font-weight: 500;
}

.hx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tg-theme-primary);
}

.hx-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0.8);
}

/* step cards */
.hx-step {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid #e6e9f5;
  border-radius: 16px;
  background: #fff;
}

.hx-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--tg-theme-primary);
  color: #fff;
  font-weight: 800;
}

.hx-step .title {
  margin-bottom: 10px;
  font-size: 21px;
}

.hx-step p {
  margin-bottom: 0;
  font-size: 15px;
}

.hx-article .hx-step {
  padding: 22px 20px;
}

.hx-article h3.title {
  margin: 34px 0 18px;
  font-size: 26px;
}

.hx-article .hx-img {
  height: 380px;
  margin-bottom: 8px;
}

@media (max-width: 767.98px) {
  .hx-article .hx-img {
    height: 240px;
  }
}

.hx-service .hx-img {
  height: 420px;
}

@media (max-width: 767.98px) {
  .hx-service .hx-img {
    height: 260px;
  }
}

.hx-article .hx-article__h1 {
  margin: 14px 0 22px;
  font-size: 36px;
  line-height: 1.25;
}

.hx-article .blog-post__meta {
  margin-top: 18px;
}

/* link cards (About page) */
.hx-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #e6e9f5;
  border-radius: 14px;
  background: #fff;
  color: var(--tg-heading-color);
  font-weight: 700;
  transition: all 0.3s ease;
}

.hx-link-card:hover {
  border-color: var(--tg-theme-primary);
  color: var(--tg-theme-primary);
  transform: translateY(-3px);
}

.hx-link-card__icon {
  display: inline-flex;
  color: var(--tg-theme-primary);
}

.hx-link-card__title {
  flex: 1;
}

/* sidebar */
.hx-side__box {
  margin-bottom: 28px;
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--tg-color-gray-2);
}

.hx-side__box .title {
  margin-bottom: 18px;
  font-size: 22px;
}

.hx-side__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--tg-heading-color);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.hx-side__list a:last-child {
  margin-bottom: 0;
}

.hx-side__list a:hover,
.hx-side__list a.active {
  background: var(--tg-theme-primary);
  color: #fff;
}

.hx-side__box--cta {
  background: #0a165e;
  color: #fff;
}

.hx-side__box--cta .title,
.hx-side__box--cta p {
  color: #fff;
}

/* CTA banner */
.hx-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  padding: 48px 50px;
  border-radius: 24px;
  background: linear-gradient(90deg, #0a165e 0%, var(--tg-theme-primary) 100%);
  color: #fff;
}

.hx-cta .title {
  margin-bottom: 10px;
  color: #fff;
  font-size: 32px;
}

.hx-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
}

@media (max-width: 767.98px) {
  .hx-cta {
    padding: 34px 26px;
  }

  .hx-cta .title {
    font-size: 26px;
  }
}

/* industries */
.hx-industry .services__content .hx-list {
  margin: 18px 0 0;
}

.hx-industry .services__content .hx-list li {
  font-size: 15px;
}

/* blog cards */
.hx-post {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e6e9f5;
  border-radius: 18px;
  background: #fff;
}

.hx-post__thumb {
  display: block;
  overflow: hidden;
}

.hx-post__thumb img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hx-post:hover .hx-post__thumb img {
  transform: scale(1.05);
}

.hx-post__body {
  padding: 24px;
}

.hx-post .post-title {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.hx-post .post-title a {
  color: var(--tg-heading-color);
}

.hx-post .post-title a:hover {
  color: var(--tg-theme-primary);
}

/* contact page */
.hx-contact {
  padding: 90px 0 0;
}

/* footer on all pages */
.footer__logo .hexacore-brand {
  display: inline-flex;
  flex-direction: column;
}

.footer__logo .hexacore-brand span {
  color: #fff;
}

.footer__logo .hexacore-brand small {
  color: #7fa2ff;
}

.footer__content p {
  width: 100%;
  text-transform: none;
}

.footer__link li a,
.footer__contact p,
.footer__contact a {
  text-transform: none;
}

.footer__cta-wrap .title {
  text-transform: none;
}

.footer__bottom .copyright__text {
  text-align: center;
}

/* =====================================================================
   Logo (icon only)
   ===================================================================== */
.hexacore-header .hexacore-brand { flex-direction: row; align-items: center; }
.hexacore-header .hexacore-brand img { display: block; height: 46px; width: auto; max-height: none; }
.tgmenu__nav .logo img { max-height: none; }
.tg-header__area.sticky-menu .hexacore-brand img { height: 40px; }
.footer__logo .hexacore-brand img { height: 56px; width: auto; display: block; }
.tgmobile__menu .nav-logo .hexacore-brand img,
.offCanvas__logo .hexacore-brand img { height: 48px; width: auto; }

/* =====================================================================
   Services mega menu (desktop)
   ===================================================================== */
.hexacore-header .tgmenu__nav { position: relative; }
.hexacore-header .tgmenu__navbar-wrap > ul > li.hx-has-mega { position: static; }
.hexacore-header .tgmenu__navbar-wrap .hx-mobile-sub { display: none; }

.hx-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: min(1020px, 100%);
  margin: 0 auto;
  padding-top: 14px;               /* invisible hover bridge */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.985);
  transform-origin: top center;
  transition: opacity .28s ease, transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s;
  z-index: 99;
  pointer-events: none;
}
.hexacore-header li.hx-has-mega:hover > .hx-mega,
.hexacore-header li.hx-has-mega:focus-within > .hx-mega,
.hexacore-header li.hx-has-mega.hx-open > .hx-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
  pointer-events: auto;
}
.hx-mega__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 1fr auto;
  background: #fff;
  border: 1px solid #e8edfb;
  border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(10,22,94,.28);
  overflow: hidden;
}
.hx-mega__cats { margin: 0; padding: 14px; background: #f5f8ff; border-right: 1px solid #e8edfb; display: block !important; }
.hx-mega__cats li { display: block; }
.hexacore-header .hx-mega a { text-transform: none; }
.hexacore-header .tgmenu__navbar-wrap .hx-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 2px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600; line-height: 1.25;
  color: var(--tg-heading-color);
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hx-cat__num { font-size: 11px; font-weight: 700; color: #8a96c8; letter-spacing: .5px; transition: color .25s ease; }
.hx-cat__name { flex: 1; }
.hx-cat__arrow {
  width: 7px; height: 7px; flex: none;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg) translate(-4px,4px); opacity: 0;
  transition: opacity .25s ease, transform .3s ease;
}
.hexacore-header .tgmenu__navbar-wrap .hx-cat:hover,
.hexacore-header .tgmenu__navbar-wrap .hx-cat.is-active,
.hexacore-header .tgmenu__navbar-wrap .hx-cat:focus-visible {
  background: #fff; color: var(--tg-theme-primary);
  box-shadow: 0 8px 22px -10px rgba(1,67,235,.35);
  transform: translateX(4px);
}
.hx-cat.is-active .hx-cat__num, .hx-cat:hover .hx-cat__num { color: var(--tg-theme-primary); }
.hx-cat.is-active .hx-cat__arrow, .hx-cat:hover .hx-cat__arrow { opacity: 1; transform: rotate(45deg); }

.hx-mega__panes { position: relative; padding: 26px 30px; min-height: 330px; }
.hx-pane { position: absolute; inset: 26px 30px; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
.hx-pane.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hx-pane__title { font-size: 22px; margin: 0 0 6px; color: var(--tg-heading-color); text-transform: none; }
.hx-pane__desc { margin: 0 0 18px; color: #5b6488; font-size: 14.5px; line-height: 1.5; }
.hx-pane__links { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin: 0; padding: 0; }
.hx-pane__links li { display: block; opacity: 0; transform: translateY(10px); }
.hx-pane.is-active .hx-pane__links li { animation: hxLinkIn .4s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes hxLinkIn { to { opacity: 1; transform: none; } }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__links a {
  padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--tg-heading-color);
  position: relative; transition: background .2s ease, color .2s ease, padding-left .25s ease;
}
.hexacore-header .tgmenu__navbar-wrap .hx-pane__links a::before {
  content: ""; width: 0; height: 2px; background: var(--tg-theme-primary); border-radius: 2px; transition: width .25s ease; margin-right: 0;
}
.hexacore-header .tgmenu__navbar-wrap .hx-pane__links a:hover { background: #f0f5ff; color: var(--tg-theme-primary); }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__links a:hover::before { width: 12px; margin-right: 8px; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__more {
  display: inline-flex; margin-top: 18px; padding: 0 !important; font-size: 14px; font-weight: 700; color: var(--tg-theme-primary); gap: 8px;
}
.hx-pane__more i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.hx-pane__more:hover i { transform: translateX(4px) rotate(45deg); }

.hx-mega__promo {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 28px; background: linear-gradient(90deg, #0A165E, #0143EB); color: #fff;
}
.hx-mega__promo strong { font-size: 15px; }
.hx-mega__promo span { flex: 1; font-size: 13.5px; opacity: .85; min-width: 200px; }
.hx-mega__promo .tg-btn { padding: 10px 22px; font-size: 14px; }

@media (min-width: 1200px) and (max-width: 1399.98px) { .hx-mega { width: min(960px, 100%); } }
@media (prefers-reduced-motion: reduce) {
  .hx-mega, .hx-pane, .hx-pane__links li, .hx-cat { transition: none !important; animation: none !important; }
  .hx-pane__links li { opacity: 1; transform: none; }
}

/* Mobile: use the accordion built from .hx-mobile-sub */
.tgmobile__menu .hx-mega { display: none; }
.tgmobile__menu .hx-mobile-sub { display: none; }

/* Mega menu: neutralise the template's generic nav-list rules */
.hexacore-header .tgmenu__navbar-wrap .hx-mega ul { margin: 0; padding: 0; }
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-mega__cats { padding: 14px; }
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-pane__links { display: grid; flex-direction: unset; }
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-mega__promo .tg-btn {
  background: #fff; color: var(--tg-theme-primary); padding: 12px 24px; border-radius: 100px; display: inline-flex; line-height: 1; font-weight: 700; z-index: 1;
}
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-mega__promo .tg-btn:hover { background: #eaf0ff; color: var(--tg-theme-primary); }
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-pane__links a { padding: 10px 12px; display: flex; }
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-pane__more { padding: 0; color: var(--tg-theme-primary); }


/* =====================================================================
   v2 refinements
   ===================================================================== */
:root { --hx-duo: linear-gradient(90deg, #0A165E 0%, #0143EB 100%); }

/* 1. Two-tone (navy -> blue) strips everywhere, same as the menu promo strip */
.hx-cta,
.hx-mega__promo { background: var(--hx-duo); }
.footer__cta-wrap {
  padding: 40px 50px;
  border: 0;
  border-radius: 24px;
  background: var(--hx-duo);
  margin-bottom: 70px;
}
.footer__cta-wrap .title { margin: 0; }
.footer__cta-wrap .tg-btn,
.hx-cta .tg-btn {
  background: #fff; color: var(--tg-theme-primary);
  border-radius: 100px; font-weight: 700;
}
.footer__cta-wrap .tg-btn:hover,
.hx-cta .tg-btn:hover { background: #eaf0ff; color: var(--tg-theme-primary); }
.marquee__area { background: var(--hx-duo); }
@media (max-width: 767.98px) { .footer__cta-wrap { padding: 30px 24px; } }

/* 2. Calmer, smaller mega-menu motion */
.hx-mega {
  transform: translateY(6px);
  transition: opacity .18s ease, transform .2s ease-out, visibility 0s linear .2s;
}
.hx-pane { transform: translateX(8px); transition: opacity .16s ease, transform .2s ease-out, visibility 0s linear .2s; }
.hx-pane__links li { transform: translateY(4px); }
.hx-pane.is-active .hx-pane__links li { animation-duration: .22s; animation-delay: calc(var(--i) * 25ms + 30ms); }
.hexacore-header .tgmenu__navbar-wrap .hx-cat:hover,
.hexacore-header .tgmenu__navbar-wrap .hx-cat.is-active,
.hexacore-header .tgmenu__navbar-wrap .hx-cat:focus-visible { transform: translateX(2px); }
.hx-mega__panes { min-height: 0; }

/* 3. Topic icons in the Services menu (replace numbers) */
.hx-cat__icon {
  flex: none; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: #e4ecff; color: var(--tg-theme-primary);
  transition: background .2s ease, color .2s ease;
}
.hx-cat:hover .hx-cat__icon,
.hx-cat.is-active .hx-cat__icon { background: var(--tg-theme-primary); color: #fff; }
.hexacore-header .tgmenu__navbar-wrap .hx-cat { gap: 12px; padding: 9px 12px; }

/* 4. Footer logo + name lockup */
.footer__logo .hx-lockup { display: inline-flex; flex-direction: row; align-items: center; gap: 14px; }
.footer__logo .hx-lockup img { height: 58px; width: auto; display: block; }
.footer__logo .hx-lockup__text { display: flex; flex-direction: column; line-height: 1; }
.footer__logo .hx-lockup__text b { font-size: 30px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.footer__logo .hx-lockup__text em { margin-top: 7px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 6px; color: #9db8ff; }
.footer__logo { margin-bottom: 22px; }
.footer__cta-wrap { margin-bottom: 0; }
.footer__cta-wrap { margin-bottom: 50px; }


/* =====================================================================
   v3: header logo centring, compact Services mega menu, web sub-service
   ===================================================================== */
.tgmenu__nav .logo { display: flex; align-items: center; align-self: stretch; padding: 0; line-height: 0; }
.tgmenu__nav .logo .hexacore-brand { display: flex; align-items: center; line-height: 0; }

/* compact mega menu */
.hx-mega { width: min(840px, 100%); padding-top: 10px; }
.hx-mega__inner { grid-template-columns: 262px 1fr; border-radius: 16px; }
.hx-mega__cats, .hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-mega__cats { padding: 10px; }
.hexacore-header .tgmenu__navbar-wrap .hx-cat { padding: 7px 10px; gap: 10px; font-size: 14px; margin-bottom: 1px; }
.hx-cat__icon { width: 30px; height: 30px; border-radius: 9px; }
.hx-cat__icon svg { width: 16px; height: 16px; }
.hx-mega__panes { padding: 18px 24px; }
.hx-pane { inset: 18px 24px; }
.hx-pane__title { font-size: 18px; margin-bottom: 4px; }
.hx-pane__desc { font-size: 13.5px; margin-bottom: 12px; }
.hx-pane__links { gap: 0 14px; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__links a,
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-pane__links a { padding: 7px 10px; font-size: 13.5px; }
.hx-pane__sub {
  margin: 12px 0 4px; padding-top: 12px; border-top: 1px solid #e8edfb;
  font-size: 13px; font-weight: 700; letter-spacing: .4px; color: var(--tg-theme-primary); text-transform: none;
}
.hx-mega__promo { padding: 11px 22px; gap: 14px; }
.hx-mega__promo strong { font-size: 14px; }
.hx-mega__promo span { font-size: 13px; }
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-mega__promo .tg-btn { padding: 9px 20px; font-size: 13.5px; }

/* Web Development inside Custom Software (services page) */
.hx-subservice { margin: 24px 0 28px; padding: 22px 24px; border-radius: 18px; background: #f3f6ff; border-left: 4px solid var(--tg-theme-primary); }
.hx-subservice__title { margin: 0 0 8px; font-size: 22px; color: var(--tg-heading-color); text-transform: none; }
.hx-subservice p { margin-bottom: 12px; }
.hx-subservice .hx-list { margin: 0; }


/* =====================================================================
   v4: menu opens directly under "Services", squarer box, tinted active row
   ===================================================================== */
.hexacore-header .tgmenu__navbar-wrap > ul > li.hx-has-mega { position: relative; }
.hx-mega { left: -16px; right: auto; margin: 0; width: 640px; max-width: calc(100vw - 40px); }
.hx-mega__inner { grid-template-columns: 224px 1fr; background: #fff; }
.hx-mega__cats, .hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-mega__cats { background: #fff; padding: 12px 10px; }
.hexacore-header .tgmenu__navbar-wrap .hx-cat { position: relative; padding: 8px 10px; border-radius: 12px; }
.hx-cat__arrow { display: none; }
.hexacore-header .tgmenu__navbar-wrap .hx-cat:hover { background: #f2f6ff; color: var(--tg-theme-primary); box-shadow: none; transform: none; }
.hexacore-header .tgmenu__navbar-wrap .hx-cat.is-active,
.hexacore-header .tgmenu__navbar-wrap .hx-cat.is-active:hover,
.hexacore-header .tgmenu__navbar-wrap .hx-cat:focus-visible {
  background: #e6edff; color: var(--tg-theme-primary); box-shadow: none; transform: none;
}
.hx-cat.is-active::before {
  content: ""; position: absolute; left: -10px; top: 6px; bottom: 6px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--tg-theme-primary);
}
.hx-mega__panes { padding: 18px 20px; min-height: 352px; }
.hx-pane { inset: 18px 20px; }
.hx-pane__links { gap: 0 6px; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__links a,
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-pane__links a { padding: 7px 8px; font-size: 13px; }
.hx-pane__title--sub { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e8edfb; }
.hx-mega__promo { padding: 10px 18px; gap: 6px 12px; }
.hx-mega__promo span { flex-basis: 100%; order: 3; font-size: 12.5px; min-width: 0; display: none; }
.hx-mega__promo strong { flex: 1; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .hx-mega { width: 640px; } }


/* v5: tinted blue boxes with a blue left bar (as on the services page) */
.hexacore-header .tgmenu__navbar-wrap .hx-cat.is-active,
.hexacore-header .tgmenu__navbar-wrap .hx-cat.is-active:hover,
.hexacore-header .tgmenu__navbar-wrap .hx-cat:focus-visible {
  background: #f3f6ff; border-left: 4px solid var(--tg-theme-primary); border-radius: 14px; padding-left: 8px;
}
.hx-cat.is-active::before { display: none; }
.hx-pane__box {
  margin-top: 14px; padding: 12px 16px 8px; border-radius: 16px;
  background: #f3f6ff; border-left: 4px solid var(--tg-theme-primary);
}
.hx-pane__box .hx-pane__title--sub { margin: 0 0 4px; padding: 0; border: 0; }
.hx-pane__box .hx-pane__desc { margin-bottom: 8px; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__box .hx-pane__links a:hover { background: #e6edff; }
.hx-mega__panes { min-height: 372px; }
.hx-pane__box .hx-pane__links { gap: 0; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__box .hx-pane__links a,
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-pane__box .hx-pane__links a { padding: 6px 6px; white-space: nowrap; }


/* =====================================================================
   v6: brand name beside the logo (mobile/tablet) + mobile services list
   ===================================================================== */
.hexacore-brand.hx-lockup { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; }
.hexacore-brand .hx-lockup__text { display: flex; flex-direction: column; line-height: 1; }
.hexacore-brand .hx-lockup__text b { font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--tg-heading-color); }
.hexacore-brand .hx-lockup__text em { margin-top: 5px; font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: 4.5px; color: var(--tg-theme-primary); }
@media (min-width: 1200px) { .tgmenu__nav .logo .hx-lockup__text { display: none; } }  /* desktop header stays icon-only */
.tgmobile__menu .nav-logo .hx-lockup__text b,
.offCanvas__logo .hx-lockup__text b { font-size: 26px; }
.tgmobile__menu .nav-logo .hx-lockup__text em,
.offCanvas__logo .hx-lockup__text em { font-size: 10px; letter-spacing: 5px; }
.tgmobile__menu .nav-logo .hexacore-brand { gap: 12px; }
@media (max-width: 400px) { .tgmenu__nav .logo .hx-lockup__text b { font-size: 19px; } }

/* services list in the mobile menu: icon tiles + tinted open row */
.tgmobile__menu .hx-mobile-sub > li > a { display: flex; align-items: center; gap: 12px; }
.tgmobile__menu .hx-mobile-sub > li > a .hx-cat__icon { flex: none; width: 32px; height: 32px; border-radius: 10px; }
.tgmobile__menu .hx-mobile-sub > li:has(> .dropdown-btn.open) > a {
  background: #f3f6ff; border-left: 4px solid var(--tg-theme-primary); border-radius: 14px;
}
.tgmobile__menu .hx-mobile-sub > li:has(> .dropdown-btn.open) > a .hx-cat__icon { background: var(--tg-theme-primary); color: #fff; }

/* mobile services list: smaller type so every item stays on one line */
.tgmobile__menu .navigation .hx-mobile-sub > li > a {
  display: flex; align-items: center; padding-left: 22px; font-size: 13.5px; line-height: 1.3; white-space: nowrap; letter-spacing: -.1px; gap: 10px; padding-right: 8px;
}
.tgmobile__menu .navigation .hx-mobile-sub > li > ul > li > a { font-size: 13px; }
.tgmobile__menu .navigation .hx-mobile-sub > li > a { padding-left: 14px; padding-right: 46px; gap: 8px; font-size: 12.5px; letter-spacing: -.15px; }
.tgmobile__menu .navigation .hx-mobile-sub > li > a .hx-cat__icon { width: 28px; height: 28px; border-radius: 9px; }
.tgmobile__menu .navigation .hx-mobile-sub > li > a .hx-cat__icon svg { width: 15px; height: 15px; }


/* Technologies We Work With: continuous scrolling strip */
.hx-tech { overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hx-tech__track { display: flex; width: max-content; animation: hxTech 32s linear infinite; }
.hx-tech:hover .hx-tech__track { animation-play-state: paused; }
.hx-tech__list { display: flex; flex: none; align-items: center; margin: 0; padding: 0; }
.hx-tech__item { flex: none; display: flex; align-items: center; list-style: none; }
.hx-tech__item::after { content: ""; width: 7px; height: 7px; margin: 0 38px; border-radius: 50%; background: var(--tg-theme-primary); opacity: .35; }
.hx-tech .hexacore-technologies__name { max-width: none; white-space: nowrap; }
@keyframes hxTech { to { transform: translateX(-50%); } }
@media (max-width: 575.98px) { .hx-tech__item::after { margin: 0 24px; } .hx-tech__track { animation-duration: 26s; } }
@media (prefers-reduced-motion: reduce) { .hx-tech__track { animation: none; } .hx-tech { overflow-x: auto; } }


/* =====================================================================
   v7: plain Web Development block, one-line menu items, tile background,
   tighter technologies strip, footer logo colours
   ===================================================================== */

/* 1. Web Development inside the Services menu: plain, same look as the title above */
.hx-pane__box { margin-top: 12px; padding: 0; background: none; border: 0; border-radius: 0; }
.hx-pane__box .hx-pane__title--sub { font-size: 18px; margin: 0 0 4px; padding: 0; border: 0; }
.hx-pane__box .hx-pane__desc { margin-bottom: 12px; }
.hx-pane__box .hx-pane__links { gap: 0 6px; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__box .hx-pane__links a,
.hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-pane__box .hx-pane__links a { padding: 7px 8px; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__box .hx-pane__links a:hover { background: #f0f5ff; }

/* 2. Services menu: every category on a single line */
.hx-mega { width: 720px; }
.hx-mega__inner { grid-template-columns: 274px 1fr; }
.hexacore-header .tgmenu__navbar-wrap .hx-cat { font-size: 13px; letter-spacing: -.1px; gap: 9px; }
.hx-cat__name { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .hx-mega { width: 720px; } }

/* 3. Service tiles: no blank gap under the title, tinted background */
#services .services__content .title { min-height: 0; margin-bottom: 12px; }
#services .services__item { background: #eaf0ff; border: 0; }
#services .services__icon-wrap::before { box-shadow: 0 22px 0 0 #eaf0ff; }
#services .services__content p { padding-bottom: 18px; margin-bottom: 18px; border-bottom-color: #d6e0fa; }

/* 4. Technologies strip: remove the extra space above and below */
.hexacore-technologies { padding-top: 18px !important; padding-bottom: 18px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.hexacore-technologies .hexacore-technologies__heading { margin: 0 15px 10px; }
.hx-tech { padding: 0; }

/* 5. Footer logo: keep the white / light-blue colours */
.footer__logo .hexacore-brand.hx-lockup .hx-lockup__text b { color: #fff; }
.footer__logo .hexacore-brand.hx-lockup .hx-lockup__text em { color: #9db8ff; }


/* =====================================================================
   v8: compact mega menu, tinted + smaller tiles on every page,
   plain Web Development block on the services page
   ===================================================================== */

/* 1. Mega menu: panes stack in one grid cell, so the box is only as tall as its content */
.hx-mega__panes { display: grid; min-height: 0; padding: 18px 20px; }
.hx-pane { position: relative; inset: auto; grid-area: 1 / 1; }

/* 2. Web Development block on services page: no background, no bar */
.hx-subservice { margin: 22px 0 24px; padding: 0; background: none; border: 0; border-radius: 0; }
.hx-subservice__title { font-size: 22px; }

/* 3. Tiles: tinted background + slightly smaller, on every page */
#services .services__item,
.hx-main .services__item { background: #eaf0ff; border: 0; padding: 26px 28px; }
#services .services__icon-wrap::before,
.hx-main .services__icon-wrap::before { box-shadow: 0 22px 0 0 #eaf0ff; }
#services .services__content .title,
.hx-main .services__content .title { font-size: 20px; line-height: 1.3; margin-bottom: 22px; min-height: 0; }
#services .services__content p,
.hx-main .services__content p { font-size: 15px; line-height: 1.6; margin-bottom: 16px; padding-bottom: 16px; border-bottom-color: #d6e0fa; }
@media (max-width: 767.98px) {
  #services .services__item, .hx-main .services__item { padding: 24px 22px; }
}


/* v9: topic points inside the home page service tiles */
#services .services__content p { flex-grow: 0; border-bottom: 0; margin-bottom: 14px; padding-bottom: 0; }
#services .hx-tile-list { flex-grow: 1; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid #d6e0fa; }
#services .hx-tile-list li { list-style: none; margin: 0; padding: 4px 0; }
#services .hx-tile-list a { display: inline-flex; gap: 10px; font-size: 15px; font-weight: 600; color: var(--tg-heading-color); line-height: 1.4; }
#services .hx-tile-list a::before { content: "\2192"; color: var(--tg-theme-primary); font-weight: 700; }
#services .hx-tile-list a:hover { color: var(--tg-theme-primary); }


/* v10: square service tiles with short content (home page) */
#services .services__item { height: auto; aspect-ratio: 1 / 1; display: flex; }
#services .services__content { flex: 1; height: auto; }
#services .services__content p { margin-bottom: 12px; }
#services .hx-tile-list { margin-bottom: 14px; padding-bottom: 14px; }


/* v11: compact home tiles - no blank gap, smaller type */
#services .services__item { aspect-ratio: auto; height: 100%; padding: 22px 24px; }
#services .services__content .title { font-size: 18px; width: calc(100% - 84px); margin-bottom: 22px; }
#services .services__content p { font-size: 14px; line-height: 1.55; margin-bottom: 10px; }
#services .hx-tile-list { margin-bottom: 12px; padding-bottom: 12px; }
#services .hx-tile-list li { padding: 3px 0; }
#services .hx-tile-list a { font-size: 14px; gap: 8px; }
#services .tg-text-btn { font-size: 14px; }
@media (max-width: 767.98px) { #services .services__item { padding: 22px 20px; } }


/* v12: tile points - smaller than the tile title, line gap halved */
#services .hx-tile-list li { padding: 1px 0; line-height: 1.3; }
#services .hx-tile-list a { font-size: 13px; font-weight: 500; line-height: 1.3; gap: 8px; }
#services .hx-tile-list a::before { font-size: 12px; }
#services .hx-tile-list { margin-bottom: 10px; padding-bottom: 10px; }

/* tile points: bold on hover */
#services .hx-tile-list a { transition: color .15s ease, font-weight .15s ease; }
#services .hx-tile-list a:hover,
#services .hx-tile-list a:focus-visible { font-weight: 700; color: var(--tg-theme-primary); }


/* =====================================================================
   v13: tighter vertical spacing site-wide, left-aligned tile rows,
   smaller footer "Let's Talk" band, blue footer-link hover
   ===================================================================== */
.section-pt-140 { padding-top: 70px; }
.section-pb-140 { padding-bottom: 70px; }
.section-py-140 { padding: 70px 0; }
.section-pb-110 { padding-bottom: 50px; }
.hexacore-service-highlights.counter__area, .counter__area.hexacore-service-highlights { padding-bottom: 50px !important; }
.choose__area { padding: 80px 0; }
.hx-section { padding: 56px 0; }
.about__area.section-pt-140 { padding-top: 60px; }
.section__title.mb-60, .section__title.mb-50, .section__title.mb-45 { margin-bottom: 32px !important; }
.slider__area .slider__single-slide, .slider__area .slider__content { padding-bottom: 0; }
.blog-post__area, .testimonial__area, .project__area, .services__area { padding-top: 70px !important; padding-bottom: 70px !important; }
.footer__bg { padding-top: 130px; }
.footer__top { padding: 40px 0 50px; }

@media (max-width: 767.98px) {
  .section-py-140, .blog-post__area, .testimonial__area, .project__area, .services__area { padding-top: 50px !important; padding-bottom: 50px !important; }
  .choose__area { padding: 50px 0; }
  .hx-section { padding: 40px 0; }
}

/* tile rows: extra tiles start on the next row at the left, not centred */
.row.gutter-y-30.justify-content-center { justify-content: flex-start !important; }

/* footer "Let's Talk With Us" band: smaller */
.footer__cta-wrap { padding: 26px 40px; margin-bottom: 36px; }
.footer__cta-wrap .title { font-size: 40px; line-height: 1.15; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__cta-wrap .title .arrow { display: inline-flex; width: 78px; height: 36px; padding: 0; border-width: 2px; align-items: center; justify-content: center; }
.footer__cta-wrap .title .arrow svg { width: 44px; height: auto; }
.footer__cta-wrap .tg-btn { padding: 12px 26px; font-size: 15px; }
@media (max-width: 767.98px) { .footer__cta-wrap .title { font-size: 28px; } .footer__cta-wrap { padding: 22px 22px; } }

/* footer link hover: blue instead of white */
.footer__link li a:hover,
.footer__link li a:focus-visible { color: #4d86ff; background-image: linear-gradient(transparent calc(100% - 1px), #4d86ff 1px); }
.footer__contact a:hover { color: #4d86ff; }
.footer__cta-wrap .tg-btn { flex: 0 0 auto; width: auto; }
.breadcrumb__area.breadcrumb__bg { padding-bottom: 50px; }


/* =====================================================================
   v14: final spacing pass - hero, inner pages, photos
   ===================================================================== */
/* hero (home): less blank space above the text and below the buttons */
.slider__bg { padding: 150px 0 70px; min-height: 0; }
@media (max-width: 991.98px) { .slider__bg { padding: 110px 0 60px; } }
@media (max-width: 575.98px) { .slider__bg { padding: 100px 0 50px; } }
.slider__content p { margin-bottom: 24px; }
.slider__content .title { margin-bottom: 10px; }

/* inner pages: photos shorter and cropped neatly */
.hx-img { height: 340px; }
.hx-article > .hx-img { height: 320px; margin-bottom: 4px; }
@media (max-width: 767.98px) { .hx-img, .hx-article > .hx-img { height: 240px; } }
.hx-service .hx-service__icon { margin-bottom: 10px; }
.hx-service .title, .hx-article h2.title { margin-bottom: 12px; font-size: 30px; }
.hx-service p, .hx-article p { margin-bottom: 12px; }
.hx-article h3.title { margin: 22px 0 10px; font-size: 22px; }
.hx-list { margin-bottom: 14px; }
.hx-service .tg-btn { margin-top: 4px; }
.hx-service.hx-section { padding: 44px 0; }
.hx-section .row.gutter-y-40 { --bs-gutter-y: 24px; }
.hx-section .section__title { margin-bottom: 28px !important; }
.hx-cta { padding: 34px 40px; }
.hx-cta .title { font-size: 28px; margin-bottom: 6px; }

/* about / home content blocks */
.about__area .about__img, .about__area .row { --bs-gutter-y: 24px; }
.about__area .section__title { margin-bottom: 18px; }
.contact__area { padding: 0; }
.contact__wrap { padding-top: 50px; padding-bottom: 50px; }
.blog-post__area .row { --bs-gutter-y: 24px; }
.footer__bg { margin-top: -90px; }


/* =====================================================================
   v15: final tidy - photo heights, equal tiles, no overlap with footer
   ===================================================================== */
/* hero: a little breathing room under the header */
.slider__bg { padding-top: 170px; }
@media (max-width: 991.98px) { .slider__bg { padding-top: 120px; } }

/* photos: shorter, cropped neatly */
#about .about__img .main-img, .about__area .about__img .main-img { height: 440px; object-fit: cover; width: 100%; }
.project__thumb img { height: 300px; }
@media (max-width: 767.98px) { #about .about__img .main-img { height: 320px; } .project__thumb img { height: 260px; } }
.hx-project .project__thumb img { height: 250px; }
.hx-service .hx-img { height: 320px; }
@media (max-width: 767.98px) { .hx-service .hx-img { height: 240px; } }

/* step / tile rows: equal-height cards */
.row:has(> [class*="col-"] > .hx-step) > [class*="col-"],
.row:has(> [class*="col-"] > .services__item) > [class*="col-"],
.row:has(> [class*="col-"] > .hx-link-card) > [class*="col-"] { display: flex; }
.hx-step, .services__item, .hx-link-card { width: 100%; }

/* last block on inner pages must clear the footer overlap */
main > section.hx-section:last-child { padding-bottom: 120px; }


/* =====================================================================
   v16: journey banner above footer, wider nav, Industries mega menu,
   white footer-link hover
   ===================================================================== */

/* 1. "Start your Dynamics 365 journey" banner (replaces the old CTA bands) */
.hx-journey {
  position: relative; z-index: 2; text-align: center; padding: 56px 0 60px;
  background: url("../img/bg/network.svg") center / cover no-repeat, var(--hx-duo);
}
.hx-journey__title { margin: 0; font-size: 44px; line-height: 1.2; font-weight: 400; color: #fff; text-transform: none; }
.hx-journey__line { display: block; width: 68px; height: 5px; margin: 24px auto 22px; border-radius: 4px; background: #7fa2ff; }
.hx-journey__text { max-width: 1180px; margin: 0 auto 26px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.88); text-transform: none; }
.hx-journey__btn {
  display: inline-block; padding: 16px 30px; border-radius: 100px; background: #fff; color: var(--tg-theme-primary);
  font-size: 17px; font-weight: 700; line-height: 1.3; transition: background .2s ease, transform .2s ease;
}
.hx-journey__btn:hover, .hx-journey__btn:focus-visible { background: #eaf0ff; color: var(--tg-theme-primary); transform: translateY(-2px); }
@media (max-width: 991.98px) { .hx-journey__title { font-size: 34px; } }
@media (max-width: 575.98px) {
  .hx-journey { padding: 44px 0 48px; }
  .hx-journey__title { font-size: 27px; }
  .hx-journey__text { font-size: 16px; }
  .hx-journey__btn { padding: 14px 22px; font-size: 15px; }
}

/* footer no longer overlaps a CTA band */
.footer__bg { margin-top: 0; padding-top: 60px; }
main > section.hx-section:last-child { padding-bottom: 56px; }
.contact__wrap { padding-bottom: 56px; }

/* 2. Footer link hover: white (was blue) */
.footer__link li a:hover,
.footer__link li a:focus-visible { color: #fff; background-image: linear-gradient(transparent calc(100% - 1px), #fff 1px); }
.footer__contact a:hover,
.footer__contact a.phone:hover,
.footer__contact a.mail:hover { color: #fff; }

/* 3. Wider header: nav items spread across most of the bar */
@media (min-width: 1200px) {
  .hexacore-header .tg-header__area > .container,
  .hexacore-header .tg-header__area .custom-container { max-width: 100%; padding-left: 32px; padding-right: 32px; }
  .hexacore-header .tgmenu__nav { padding: 0 16px 0 36px; }
  .hexacore-header .tgmenu__navbar-wrap { flex: 1 1 auto; }
  .hexacore-header .tgmenu__navbar-wrap > ul {
    flex: 1 1 auto; flex-wrap: nowrap; justify-content: center; gap: 14px; margin-left: 20px; margin-right: 20px;
  }
  .hexacore-header .tgmenu__navbar-wrap > ul > li > a { padding-inline: 16px; font-size: 16px; white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hexacore-header .tgmenu__navbar-wrap > ul { margin-left: 12px; margin-right: 8px; gap: 4px; }
  .hexacore-header .tgmenu__navbar-wrap > ul > li > a { padding-inline: 10px; font-size: 15px; }
}

/* 4. Industries mega menu (same look as Services, a little narrower) */
.hx-mega--ind { width: 700px; }
.hx-mega--ind .hx-mega__inner { grid-template-columns: 250px 1fr; grid-template-rows: auto; }
.hx-mega--ind .hx-cat__name { white-space: nowrap; }
.hx-mega--ind .hx-pane__links { grid-template-columns: 1fr 1fr; }
.hexacore-header .tgmenu__navbar-wrap .hx-mega--ind .hx-pane__links a { white-space: normal; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .hx-mega--ind { width: 700px; } }
.hx-mega--ind .hx-pane__more { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
html { scroll-behavior: smooth; }
.hx-industry { scroll-margin-top: 130px; }


/* v17: FAQ accordion */
.hx-faq__list { display: grid; gap: 12px; }
.hx-faq__item { border: 1px solid #d6e0fa; border-radius: 14px; background: #f3f6ff; overflow: hidden; }
.hx-faq__item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; font-size: 17px; color: var(--tg-heading-color); }
.hx-faq__item summary::-webkit-details-marker { display: none; }
.hx-faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--tg-theme-primary); }
.hx-faq__item[open] summary::after { content: "\2212"; }
.hx-faq__item[open] { background: #fff; border-color: var(--tg-theme-primary); }
.hx-faq__item p { margin: 0; padding: 0 22px 20px; font-size: 15.5px; line-height: 1.65; }


/* v18: HSO-style nav (items next to the logo), banner separated from footer, no gap at footer top */
@media (min-width: 1200px) {
  .hexacore-header .tgmenu__navbar-wrap > ul { justify-content: flex-start; gap: 22px; margin-left: 44px; margin-right: 0; }
  .hexacore-header .tgmenu__navbar-wrap > ul > li > a { padding-inline: 12px; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hexacore-header .tgmenu__navbar-wrap > ul { gap: 8px; margin-left: 24px; }
}
.hx-journey { background: url("../img/bg/network.svg") center / cover no-repeat, var(--hx-duo); margin-bottom: 44px; }
.footer__bg { padding-top: 0; }
.footer__top { padding-top: 44px; }


/* v19: Industries dropdown same size as Services, page loader, animated banner */
.hx-mega--ind { width: 720px; }
.hx-mega--ind .hx-mega__inner { grid-template-columns: 274px 1fr; grid-template-rows: 1fr auto; min-height: 360px; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .hx-mega--ind { width: 720px; } }

/* page loader */
#preloader { background: #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; opacity: 1; transition: opacity .4s ease, visibility .4s ease; z-index: 99999; }
#preloader.is-done { opacity: 0; visibility: hidden; }
#preloader.is-leaving { transition-duration: .3s; }
.hx-loader { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hx-loader__logo { position: relative; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center; }
.hx-loader__logo img { position: relative; z-index: 2; width: 64px; height: auto; animation: hxLogoIn .8s cubic-bezier(.2,.9,.3,1.2) both, hxFloat 2.4s ease-in-out .8s infinite; }
.hx-loader__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--tg-theme-primary); border-right-color: rgba(1,67,235,.25); animation: hxSpin 1.3s linear infinite; }
.hx-loader__ring--2 { inset: 14px; border-top-color: #7fa2ff; border-right-color: transparent; animation-duration: 1.9s; animation-direction: reverse; }
.hx-loader__logo::after { content: ""; position: absolute; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, rgba(1,67,235,.18), transparent 70%); animation: hxPulse 1.8s ease-in-out infinite; }
.hx-loader__name { display: flex; flex-direction: column; align-items: center; line-height: 1; animation: hxUp .7s ease .35s both; }
.hx-loader__name b { font-size: 28px; font-weight: 800; letter-spacing: -.4px; color: var(--tg-heading-color); }
.hx-loader__name em { margin-top: 7px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 6px; color: var(--tg-theme-primary); }
.hx-loader__bar { width: 150px; height: 3px; border-radius: 3px; background: #e3eaff; overflow: hidden; animation: hxUp .7s ease .5s both; }
.hx-loader__bar span { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--hx-duo); animation: hxBar 1.2s ease-in-out infinite; }
@keyframes hxSpin { to { transform: rotate(360deg); } }
@keyframes hxPulse { 0%,100% { transform: scale(.85); opacity: .6; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes hxFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes hxLogoIn { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes hxUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hxBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(300%); } }

/* animated network behind the home banner */
.hx-journey { overflow: hidden; }
.hx-journey::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 200%; opacity: .55; pointer-events: none;
  background: url("../img/bg/network.svg") 0 0 / 50% 100% repeat-x; animation: hxDrift 70s linear infinite;
}
.hx-journey > .container { position: relative; z-index: 1; }
@keyframes hxDrift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hx-journey::before { animation: none; }
  .hx-loader *, .hx-loader__logo::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; }
}


/* v20: mobile hero - keep slider dots below the buttons */
@media (max-width: 991.98px) {
  .slider__bg { padding-bottom: 100px; }
  .slider-pagination { bottom: 38px !important; }
}


/* v21: sticky header appears right away, contact map */
.sticky-menu { -webkit-animation-duration: 1000ms; animation-duration: 1000ms; }
.hx-map { padding: 0 0 90px; }
.hx-map__card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(8,23,100,.14); background: #eef2ff; }
.hx-map__card iframe { display: block; width: 100%; height: 460px; border: 0; }
.hx-map__info { position: absolute; left: 28px; top: 28px; max-width: 320px; padding: 22px 24px; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(8,23,100,.18); }
.hx-map__info h3 { margin: 0 0 8px; font-size: 20px; }
.hx-map__info p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; }
.hx-map__info .tg-btn { padding: 11px 24px; font-size: 14px; }
@media (max-width: 767.98px) {
  .hx-map { padding-bottom: 60px; }
  .hx-map__card iframe { height: 340px; }
  .hx-map__info { position: static; max-width: none; border-radius: 0; box-shadow: none; padding: 20px; }
}


/* v22: contact map with description (two columns) */
.hx-map__card { display: grid; grid-template-columns: 5fr 7fr; background: #fff; }
.hx-map__info { position: static; max-width: none; border-radius: 0; box-shadow: none; padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; background: #f3f6ff; }
.hx-map__info .title { margin: 0 0 14px; font-size: 30px; line-height: 1.25; }
.hx-map__desc { margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
.hx-map__points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.hx-map__points li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 600; color: var(--tg-heading-color); }
.hx-map__points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--tg-theme-primary); }
.hx-map__points li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hx-map__address { margin: 0 0 24px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid #d6e0fa; display: grid; gap: 4px; }
.hx-map__address strong { font-size: 14px; color: var(--tg-theme-primary); }
.hx-map__address span { font-size: 15px; line-height: 1.5; }
.hx-map__info .tg-btn { align-self: flex-start; }
.hx-map__frame { min-height: 460px; }
.hx-map__frame iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
@media (max-width: 991.98px) {
  .hx-map__card { grid-template-columns: 1fr; }
  .hx-map__info { padding: 32px 26px; }
  .hx-map__frame, .hx-map__frame iframe { min-height: 340px; }
}


/* v23: contact page - full-width map with a small address card (reference style) */
.hx-map--full { padding: 0 0 110px; }
.hx-map--full .hx-map__frame { position: relative; min-height: 0; }
.hx-map--full .hx-map__frame iframe { display: block; width: 100%; height: 460px; min-height: 0; border: 0; }
.hx-map__pin {
  position: absolute; left: max(24px, calc((100% - 1290px) / 2)); top: 28px; max-width: 340px;
  padding: 18px 22px; border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(8,23,100,.2);
  display: grid; gap: 6px;
}
.hx-map__pin strong { font-size: 17px; color: var(--tg-heading-color); }
.hx-map__pin span { font-size: 14.5px; line-height: 1.55; color: var(--tg-body-color); }
.hx-map__pin a { font-size: 14px; font-weight: 700; color: var(--tg-theme-primary); }
@media (max-width: 767.98px) {
  .hx-map--full { padding-bottom: 70px; }
  .hx-map--full .hx-map__frame iframe { height: 340px; }
  .hx-map__pin { position: static; max-width: none; border-radius: 0; box-shadow: none; background: #f3f6ff; }
}
.hx-contact .content p, .contact__area .content p, .contact-info .content p { max-width: 360px; }


/* v24: contact location card (map on top, details below) */
.hx-map--card { padding: 10px 0 110px; }
.hx-loc { max-width: 680px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 22px 60px rgba(8,23,100,.16); }
.hx-loc__map { position: relative; height: 270px; background: #e8eefc; }
.hx-loc__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.hx-loc__open { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); font-size: 14px; font-weight: 700; color: #1a73e8; }
.hx-loc__body { padding: 28px 30px 32px; }
.hx-loc__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hx-loc__flag { flex: none; border-radius: 3px; box-shadow: 0 0 0 1px #e6e9f5; }
.hx-loc__name { margin: 0; font-size: 22px; line-height: 1.2; }
.hx-loc__badge { padding: 6px 14px; border-radius: 999px; background: var(--tg-theme-primary); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.hx-loc__place { margin: 18px 0 14px; font-size: 16px; font-weight: 700; color: var(--tg-theme-primary); }
.hx-loc__list { margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.hx-loc__list li { display: flex; align-items: flex-start; gap: 14px; list-style: none; font-size: 16px; line-height: 1.55; color: var(--tg-heading-color); }
.hx-loc__list svg { flex: none; margin-top: 2px; color: var(--tg-theme-primary); }
.hx-loc__list a:hover { color: var(--tg-theme-primary); }
.hx-loc__btn { display: inline-flex; padding: 15px 34px; border-radius: 999px; background: var(--tg-theme-primary); color: #fff; font-size: 17px; font-weight: 700; transition: transform .15s, box-shadow .15s; }
.hx-loc__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1,67,235,.35); }
@media (max-width: 575.98px) { .hx-loc__body { padding: 22px 20px 26px; } .hx-loc__map { height: 220px; } .hx-map--card { padding-bottom: 70px; } }
.hx-loc__list a { color: var(--tg-heading-color); }


/* v25: contact page in the reference layout (hero, office card, message + talk cards) */
.hx-chero { padding: 190px 0 90px; text-align: center; }
.hx-chero__inner { max-width: 760px; margin: 0 auto; }
.hx-chero .title { font-size: 52px; line-height: 1.15; color: #fff; margin-bottom: 18px; }
.hx-chero .title span { color: #7fa8ff; display: block; }
.hx-chero p { color: rgba(255,255,255,.82); font-size: 18px; margin: 0 auto 28px; max-width: 620px; }
.hx-chero__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hx-chero__ghost { display: inline-flex; align-items: center; padding: 14px 30px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55); color: #fff; font-weight: 700; transition: background .2s; }
.hx-chero__ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 767.98px) { .hx-chero { padding: 130px 0 60px; } .hx-chero .title { font-size: 32px; } .hx-chero p { font-size: 16px; } }

.hx-sechead { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.hx-sechead__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--tg-theme-primary); }
.hx-sechead__eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hx-sechead .title { margin: 10px 0 8px; font-size: 38px; }
.hx-sechead p { margin: 0; color: var(--tg-body-color); }
.hx-map--card { padding: 70px 0 60px; }

.hx-msg { padding: 10px 0 120px; }
.hx-msg__card { height: 100%; padding: 36px 36px 40px; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(8,23,100,.1); border: 1px solid #e6e9f5; }
.hx-msg__card .title { margin: 0 0 6px; font-size: 28px; }
.hx-msg__sub { margin: 0 0 22px; font-size: 15px; }
.hx-msg__label { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--tg-heading-color); }
.hx-msg__card .form-grp { margin-bottom: 16px; }
.hx-msg__card .form-grp input, .hx-msg__card .form-grp select, .hx-msg__card .form-grp textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #d9deef; border-radius: 12px; background: #f7f9ff; font-size: 15px; color: var(--tg-heading-color);
}
.hx-msg__card .form-grp textarea { height: 110px; resize: vertical; }
.hx-msg__card .form-grp input:focus, .hx-msg__card .form-grp select:focus, .hx-msg__card .form-grp textarea:focus { outline: 0; border-color: var(--tg-theme-primary); background: #fff; }
.hx-msg__consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: 13.5px; }
.hx-msg__consent input { margin-top: 3px; }
.hx-msg__card .tg-btn { width: 100%; justify-content: center; border-radius: 12px; }

.hx-msg__talk { height: 100%; padding: 34px 32px; border-radius: 24px; color: #fff; background: linear-gradient(150deg, #0A165E 0%, #0a3ba8 100%); display: flex; flex-direction: column; }
.hx-msg__talk .title { color: #fff; margin: 0 0 22px; font-size: 24px; }
.hx-msg__talk ul { margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.hx-msg__talk li { display: flex; gap: 14px; align-items: flex-start; list-style: none; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.9); }
.hx-msg__talk li svg { flex: none; margin-top: 3px; color: #7fa8ff; }
.hx-msg__talk a { color: #fff; }
.hx-msg__call { margin-top: auto; display: block; text-align: center; padding: 14px 20px; border-radius: 12px; background: #fff; color: var(--tg-theme-primary) !important; font-weight: 700; }
.hx-msg__call:hover { background: #eaf0ff; }
@media (max-width: 575.98px) { .hx-msg__card { padding: 26px 20px 30px; } .hx-sechead .title { font-size: 30px; } }


/* v26: Industries Served (home) */
.hx-ind { padding: 80px 0 90px; background: radial-gradient(900px 420px at 88% 10%, rgba(1,67,235,.28), transparent 70%), #08123f; }
.hx-sechead--light .title { color: #fff; }
.hx-sechead--light p { color: rgba(255,255,255,.7); }
.hx-sechead--light .hx-sechead__eyebrow { color: #7fa8ff; }
.hx-ind__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin: 0; padding: 0; max-width: 1330px; margin-inline: auto; }
.hx-ind__card { list-style: none; }
.hx-ind__card a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; height: 164px; padding: 20px 12px; text-align: center; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); transition: transform .2s, background .2s, border-color .2s; }
.hx-ind__card a:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); border-color: #4d86ff; }
.hx-ind__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #7fa8ff; }
.hx-ind__name { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.3; }
@media (max-width: 1199.98px) { .hx-ind__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .hx-ind { padding: 56px 0 60px; } .hx-ind__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .hx-ind__card a { height: 140px; } }
.hx-ind { margin-bottom: 56px; }
.hx-ind__lead { margin: 0 0 36px; text-align: center; color: rgba(255,255,255,.72); }
.hx-ind .section__title .title { color: #fff; }


/* v24: no blue highlight line under section sub-titles */
.section__title .sub-title::before,
.section__title.white-title .sub-title::before,
.slider__content .sub-title::before,
.banner__content .sub-title::before,
.team__details-content .sub-title::before,
.hx-main .sub-title::before,
.sub-title::before { content: none !important; display: none !important; }


/* v25: Industries Served - honeycomb design (replaces the dark card grid) */
.hx-ind { background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%); padding: 90px 0 100px; margin-bottom: 0; overflow: hidden; }
.hx-ind__intro { max-width: 420px; }
.hx-ind__eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 16px; border-radius: 100px; background: #e3ebff; color: var(--tg-theme-primary); font-size: 14px; font-weight: 700; }
.hx-ind__title { margin: 0 0 16px; font-size: 40px; line-height: 1.15; text-transform: none; color: var(--tg-heading-color); }
.hx-ind .hx-ind__lead { margin: 0 0 28px; text-align: left; color: var(--tg-body-color); font-size: 17px; line-height: 1.7; }

.hx-ind__hive { display: flex; flex-direction: column; align-items: center; }
.hx-ind__row { display: flex; justify-content: center; gap: 10px; margin: 0; padding: 0; }
.hx-ind__row + .hx-ind__row { margin-top: -44px; }
.hx-ind__card { list-style: none; filter: drop-shadow(0 10px 16px rgba(8,23,100,.12)); transition: transform .3s ease; }
.hx-ind__card:hover { transform: translateY(-6px) scale(1.04); position: relative; z-index: 2; }
.hx-ind__card a {
  position: relative; width: 160px; height: 184px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; text-align: center; height: 184px; border: 0; border-radius: 0; transform: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(145deg, #b9cdff, #e6edff);
}
.hx-ind__card a::before {
  content: ""; position: absolute; inset: 2px; z-index: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #fff; transition: background .3s ease;
}
.hx-ind__card a:hover { transform: none; border: 0; background: linear-gradient(145deg, #0143eb, #0a165e); }
.hx-ind__card a:hover::before { background: var(--hx-duo); }
.hx-ind__icon { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 14px; background: #eaf0ff; color: var(--tg-theme-primary); transition: background .3s, color .3s; }
.hx-ind__name { position: relative; z-index: 1; font-size: 14px; line-height: 1.25; font-weight: 700; color: var(--tg-heading-color); transition: color .3s; }
.hx-ind__card a:hover .hx-ind__icon { background: rgba(255,255,255,.18); color: #fff; }
.hx-ind__card a:hover .hx-ind__name { color: #fff; }

@media (max-width: 1199.98px) {
  .hx-ind__card a { width: 138px; height: 159px; padding: 0 16px; gap: 8px; }
  .hx-ind__row + .hx-ind__row { margin-top: -38px; }
  .hx-ind__name { font-size: 13px; }
  .hx-ind__icon { width: 40px; height: 40px; }
}
@media (max-width: 991.98px) {
  .hx-ind__intro { max-width: none; text-align: center; }
  .hx-ind .hx-ind__lead { text-align: center; }
  .hx-ind__title { font-size: 32px; }
}
@media (max-width: 767.98px) {
  .hx-ind { padding: 60px 0 64px; }
  .hx-ind__hive { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hx-ind__row { display: contents; }
  .hx-ind__row + .hx-ind__row { margin-top: 0; }
  .hx-ind__card { filter: none; }
  .hx-ind__card a { width: auto; height: 120px; clip-path: none; border-radius: 18px; background: #fff; border: 1px solid #d6e0fa; }
  .hx-ind__card a::before { display: none; }
  .hx-ind__card a:hover { background: var(--hx-duo); border: 1px solid transparent; }
}


/* =====================================================================
   v20: first hero slide - "Dynamics 365 & ERP" stays on one line
   ===================================================================== */
@media (min-width: 992px) {
  .hx-hero-wide .title .hx-ln { display: block; white-space: nowrap; }
  .hx-hero-wide p { max-width: 480px; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hx-hero-wide .title { font-size: 46px; }
}
@media (min-width: 1400px) {
  .hx-hero-wide .title { font-size: 52px; }
}


/* =====================================================================
   v20: one hover for every tile (same as the Industries hexagons):
   lifts up, turns blue gradient, text + icon turn white
   ===================================================================== */
.services__item,
.hx-step,
.hx-link-card {
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.services__content .title,
.services__content p,
.services__content .hx-list li,
.services__content .tg-text-btn,
.hx-tile-list,
.hx-tile-list a,
.hx-step .title,
.hx-step p,
.hx-step span,
.hx-link-card__icon { transition: color .3s ease, background .3s ease, border-color .3s ease; }

@media (hover: hover) {
  /* the tile itself */
  :is(#services, body) .services__item:hover,
  .hx-step:hover,
  .hx-link-card:hover {
    transform: translateY(-6px) scale(1.03);
    background: linear-gradient(145deg, #0143eb, #0a165e);
    border-color: transparent;
    box-shadow: 0 18px 32px rgba(8, 23, 100, .25);
    color: #fff;
    z-index: 2;
  }

  /* Services / Industries tiles */
  :is(#services, body) .services__item:hover .services__icon-wrap::before { box-shadow: 0 22px 0 0 #0431b2; }
  :is(#services, body) .services__item:hover .services__content .title { color: #fff; }
  :is(#services, body) .services__item:hover .services__content p { color: rgba(255, 255, 255, .88); border-bottom-color: rgba(255, 255, 255, .28); }
  :is(#services, body) .services__item:hover .hx-tile-list { border-bottom-color: rgba(255, 255, 255, .28); }
  :is(#services, body) .services__item:hover .hx-tile-list a { color: #fff; }
  :is(#services, body) .services__item:hover .hx-tile-list a::before { color: #9dbbff; }
  :is(#services, body) .services__item:hover .hx-tile-list a:hover { color: #cfe0ff; }
  :is(#services, body) .services__item:hover .tg-text-btn { color: #fff; }
  :is(#services, body) .services__item:hover .hx-list li { color: rgba(255, 255, 255, .92); }
  :is(#services, body) .services__item:hover .hx-list li::before { background: rgba(255, 255, 255, .22); }

  /* Step tiles ("Your needs first" etc.) */
  .hx-step:hover span { background: rgba(255, 255, 255, .18); color: #fff; }
  .hx-step:hover .title { color: #fff; }
  .hx-step:hover p { color: rgba(255, 255, 255, .88); }

  /* Link cards (About page) */
  .hx-link-card:hover .hx-link-card__icon,
  .hx-link-card:hover .hx-link-card__title,
  .hx-link-card:hover .hx-link-card__arrow { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .services__item:hover, .hx-step:hover, .hx-link-card:hover { transform: none !important; }
}


/* =====================================================================
   v28: hero title - "Dynamics 365 & ERP" never breaks, 3 lines from tablet up
   and the same blue hover on the remaining tiles (counters, contact cards, list tiles)
   ===================================================================== */
.hx-hero-wide .title .hx-ln { white-space: nowrap; }
@media (min-width: 576px) and (max-width: 991.98px) {
  .hx-hero-wide .title .hx-ln { display: block; }
}



/* =====================================================================
   v29: "How we work" steps - full-width stacked chevron blocks
   ===================================================================== */
.row:has(> [class*="col-"] > .hx-step) { --bs-gutter-y: 0; row-gap: 0; margin-top: 0; }
.row:has(> [class*="col-"] > .hx-step) > [class*="col-"] {
  flex: 0 0 100%; max-width: 100%; margin-top: 0; filter: drop-shadow(0 6px 12px rgba(8, 23, 100, .10));
}
.row:has(> [class*="col-"] > .hx-step) > [class*="col-"] + [class*="col-"] { margin-top: -32px; }
.hx-step, .hx-article .hx-step {
  --pk: 44px;
  display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; align-items: start; text-align: left;
  width: 100%; height: auto; min-height: 0; margin: 0; border: 0 !important; border-radius: 0;
  padding: calc(var(--pk) + 16px) 44px calc(var(--pk) + 12px) 44px;
  background: linear-gradient(135deg, #f3f6ff, #e1eaff);
  clip-path: polygon(0 var(--pk), 50% 0, 100% var(--pk), 100% 100%, 50% calc(100% - var(--pk)), 0 100%);
}
.hx-step span:first-child { grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; }
.hx-step .title { grid-column: 2; margin: 0 0 6px; }
.hx-step p { grid-column: 2; margin: 0; }
@media (max-width: 575.98px) {
  .hx-step, .hx-article .hx-step { --pk: 28px; grid-template-columns: 44px 1fr; column-gap: 14px; padding: calc(var(--pk) + 12px) 22px calc(var(--pk) + 10px) 22px; }
  .hx-step span:first-child { width: 42px; height: 42px; }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] + [class*="col-"] { margin-top: -18px; }
}
@media (hover: hover) { .hx-step:hover { transform: translateY(-3px) scale(1.01); } }


/* =====================================================================
   v30: dropdown links on a single line; "How we work" as horizontal arrow boxes
   ===================================================================== */
.hx-mega .hx-pane__links, .hx-mega--ind .hx-pane__links { grid-template-columns: 1fr !important; }
.hexacore-header .tgmenu__navbar-wrap .hx-pane__links a,
.hexacore-header .tgmenu__navbar-wrap .hx-mega--ind .hx-pane__links a { white-space: nowrap !important; }

@media (min-width: 1200px) {
  .row:has(> [class*="col-"] > .hx-step) { display: flex; flex-wrap: nowrap; align-items: stretch; }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] { flex: 1 1 0; min-width: 0; max-width: none; margin-top: 0; }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] + [class*="col-"] { margin-top: 0; margin-left: -18px; }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] > .hx-step,
  .hx-article .hx-step {
    display: block; height: 100%; min-height: 250px; text-align: left;
    padding: 26px 40px 26px 46px;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%);
  }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"]:first-child > .hx-step {
    padding-left: 30px;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
  }
  .hx-step span:first-child { width: 44px; height: 44px; margin: 0 0 14px; }
  .hx-step .title { font-size: 19px; margin: 0 0 8px; }
  .hx-step p { font-size: 14.5px; line-height: 1.6; }
}
.hx-mega--ind .hx-mega__inner { min-height: 433px; }


/* =====================================================================
   v31: "How we work" - full-width arrow boxes with a working blue hover;
   honeycomb background on the home page
   ===================================================================== */
.hx-steps-wide { padding: 0 0 70px; }
.hx-steps-wide .container > .title { margin: 0 0 28px; font-size: 30px; }

/* crisp flat boxes (no blur) */
.row:has(> [class*="col-"] > .hx-step) > [class*="col-"] { filter: none; }
.hx-step, .hx-article .hx-step, .hx-steps-wide .hx-step {
  background: #e7eeff;
  transition: background .3s ease, transform .3s ease;
}
@media (min-width: 1200px) {
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] + [class*="col-"] { margin-left: -20px; }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] > .hx-step,
  .hx-article .hx-step, .hx-steps-wide .hx-step {
    min-height: 230px; padding: 30px 52px 30px 58px;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%, 30px 50%);
  }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"]:first-child > .hx-step {
    padding-left: 34px;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, 0 100%);
  }
}
/* hover: same blue gradient as every other tile (was turning white) */
@media (hover: hover) {
  .hx-step:hover, .hx-article .hx-step:hover, .hx-steps-wide .hx-step:hover {
    background: linear-gradient(145deg, #0143eb, #0a165e) !important;
    transform: translateY(-4px);
    box-shadow: none; z-index: 2;
  }
  .hx-step:hover .title, .hx-step:hover p { color: #fff !important; }
  .hx-step:hover span:first-child { background: rgba(255,255,255,.2) !important; color: #fff !important; }
}

/* honeycomb watermark across the whole home page */
body.hx-home::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%230143eb' stroke-opacity='.08' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 84px 150px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.3) 22%, rgba(0,0,0,.3) 78%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.3) 22%, rgba(0,0,0,.3) 78%, #000 100%);
}


/* =====================================================================
   v31: compact blog block, smaller "How we work" arrows, nav logo hover,
   dropdown close after click, home background, slow FAQ animation
   ===================================================================== */
.blog-post__area { padding-top: 56px !important; padding-bottom: 56px !important; }
.blog-post__area .section__title { margin-bottom: 26px !important; }
.blog-post__area .section__title .title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
.blog-post__area .row { --bs-gutter-y: 18px; }
.blog-post__thumb img { height: 380px; }
.blog-post__thumb-two { width: 150px; }
.blog-post__thumb-two img { height: 112px; width: 150px; object-fit: cover; }
.blog-post__item-wrap { display: flex; flex-direction: column; gap: 18px; }
.blog-post__item-wrap .blog-post__item-two { margin: 0; padding: 0; border: 0; gap: 20px; align-items: center; }
.blog-post__item-two .post-title { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.blog-post__content .post-title { font-size: 26px; }
@media (max-width: 767.98px) { .blog-post__thumb img { height: 300px; } }

/* blog: image heights balanced with the list */
.blog-post__thumb img { height: 386px; }

/* "How we work": smaller arrow boxes */
.hx-steps-wide { padding: 0 0 50px; }
.hx-steps-wide .container > .title { margin: 0 0 20px; font-size: 24px; }
@media (min-width: 1200px) {
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] > .hx-step,
  .hx-article .hx-step, .hx-steps-wide .hx-step {
    min-height: 170px; padding: 20px 40px 20px 44px;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
  }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"]:first-child > .hx-step {
    padding-left: 26px;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] + [class*="col-"] { margin-left: -14px; }
}
.hx-step span:first-child { width: 36px !important; height: 36px !important; font-size: 14px; margin-bottom: 10px !important; }
.hx-step .title { font-size: 17px !important; margin: 0 0 6px !important; }
.hx-step p { font-size: 13.5px !important; line-height: 1.55 !important; }

/* header logo hover: spin + glow ring */
.tgmenu__nav .logo a { position: relative; display: inline-flex; align-items: center; }
.tgmenu__nav .logo img { transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s ease; transform-origin: 50% 50%; }
.tgmenu__nav .logo a::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1;
  border: 2px solid rgba(1,67,235,.45); border-radius: 50%;
  transform: translate(-50%,-50%) scale(.6); opacity: 0; pointer-events: none;
}
@media (hover: hover) {
  .tgmenu__nav .logo a:hover img { transform: rotate(360deg) scale(1.1); filter: drop-shadow(0 6px 14px rgba(1,67,235,.45)); }
  .tgmenu__nav .logo a:hover::after { animation: hx-logo-ring 1s ease-out; }
}
@keyframes hx-logo-ring { 0% { opacity: .9; transform: translate(-50%,-50%) scale(.7); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.9); } }

/* dropdown: closed right after a link was used */
.hexacore-header li.hx-has-mega.hx-suppress > .hx-mega,
.hx-nohover .hexacore-header li.hx-has-mega:hover > .hx-mega {
  opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
}
.hx-industry { scroll-margin-top: 150px; }

/* home background: floating logo marks + slowly drifting honeycomb */
body.hx-home::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .07;
  background-image: url("../img/logo/hexacore-icon.png"), url("../img/logo/hexacore-icon.png"), url("../img/logo/hexacore-icon.png"), url("../img/logo/hexacore-icon.png");
  background-repeat: no-repeat;
  background-size: 190px auto, 280px auto, 150px auto, 230px auto;
  background-position: 3% 14%, 96% 40%, 7% 74%, 90% 92%;
  animation: hx-bg-float 16s ease-in-out infinite alternate;
}
@keyframes hx-bg-float { from { transform: translateY(-14px) rotate(-1.5deg); } to { transform: translateY(16px) rotate(1.5deg); } }
body.hx-home::after { animation: hx-honey 40s linear infinite; }
@keyframes hx-honey { from { background-position: 0 0; } to { background-position: 84px 150px; } }
@media (prefers-reduced-motion: reduce) { body.hx-home::before, body.hx-home::after { animation: none; } }

/* FAQ: slow, smooth open */
.hx-faq__item { transition: background .6s ease, border-color .6s ease, box-shadow .6s ease, transform .6s ease; }
.hx-faq__item:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10,22,94,.08); }
.hx-faq__item summary { transition: color .5s ease, padding-left .5s ease; }
.hx-faq__item:hover summary { color: var(--tg-theme-primary); padding-left: 28px; }
.hx-faq__item summary::after { content: "+" !important; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hx-faq__item[open] summary::after { content: "+" !important; transform: translateY(-50%) rotate(135deg); }
.hx-faq__item::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .7s ease, opacity .7s ease, content-visibility .7s allow-discrete; }
.hx-faq__item[open]::details-content { block-size: auto; opacity: 1; }
:root { interpolate-size: allow-keywords; }
.hx-faq__item[open] p { animation: hx-faq-in .8s ease both; }
@keyframes hx-faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* v32: tighter dropdowns, smaller portfolio gap, slower logo animations */
.hx-mega__inner, .hx-mega--ind .hx-mega__inner { min-height: 0 !important; }
.hx-mega__panes { min-height: 0 !important; position: relative; }
.hx-pane:not(.is-active) { position: absolute !important; left: 20px; right: 20px; top: 18px; }
.hx-pane.is-active { position: relative !important; }
.hx-mega__cats, .hexacore-header .tgmenu__navbar-wrap .hx-mega .hx-mega__cats { padding: 8px 10px !important; align-self: stretch; }
.hx-mega .hx-cat { margin-bottom: 2px; }

.project__area { padding-bottom: 34px !important; }
.project__area .swiper-pagination, .project__area [class*="pagination"] { position: relative !important; margin-top: 18px; bottom: auto; }

.tgmenu__nav .logo img { transition: transform 1.7s cubic-bezier(.45,0,.25,1), filter .6s ease; }
@media (hover: hover) { .tgmenu__nav .logo a:hover::after { animation-duration: 1.8s; } }

@keyframes hxLogoIn { 0% { opacity: 0; transform: scale(.2) rotate(-360deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.hx-loader__logo img { animation: hxLogoIn 1.5s cubic-bezier(.25,.8,.3,1) both, hxFloat 2.4s ease-in-out 1.5s infinite !important; }


/* =====================================================================
   v33: Contact page redesign
   ===================================================================== */
.hx-chero { padding: 160px 0 70px; }
.hx-chero .title { font-size: 46px; margin-bottom: 14px; }
.hx-chero p { margin-bottom: 0; }

.hx-map--card { padding: 64px 0 40px; }
.hx-sechead { margin-bottom: 30px; }
.hx-loc { max-width: 1140px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; border-radius: 24px; }
.hx-loc__map { height: auto; min-height: 380px; }
.hx-loc__body { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; }
.hx-loc__list { margin-bottom: 22px; gap: 12px; }
.hx-loc__btn { align-self: flex-start; }
@media (max-width: 991.98px) {
  .hx-loc { grid-template-columns: 1fr; }
  .hx-loc__map { min-height: 260px; }
  .hx-loc__body { padding: 24px 22px 28px; }
}

.hx-msg { padding: 20px 0 90px; }
.hx-msg .row { align-items: flex-start; }
.hx-msg__card { height: auto; }
.hx-msg__talk { height: auto; padding: 32px 28px; background: linear-gradient(150deg, #0A165E 0%, #0143eb 100%); box-shadow: 0 18px 44px rgba(8,23,100,.22); }
.hx-msg__talk .title { margin: 0 0 8px; font-size: 24px; }
.hx-msg__talksub { margin: 0 0 22px; color: rgba(255,255,255,.78); font-size: 15px; }
.hx-talk__items { display: grid; gap: 12px; }
.hx-talk__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: transform .35s ease, background .35s ease, border-color .35s ease; }
.hx-talk__ic { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,255,255,.16); color: #fff; }
.hx-talk__tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.hx-talk__tx small { font-size: 12.5px; color: #9fbcff; letter-spacing: .3px; }
.hx-talk__tx b { font-size: 16px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
a.hx-talk__item:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); color: #fff; }
.hx-msg__talk:hover { transform: none; }

.hx-msg__card .form-grp input, .hx-msg__card .form-grp select, .hx-msg__card .form-grp textarea { background: #f7f9ff; transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.hx-msg__card .form-grp input:focus, .hx-msg__card .form-grp select:focus, .hx-msg__card .form-grp textarea:focus { background: #fff; box-shadow: 0 0 0 4px rgba(1,67,235,.12); }
@media (max-width: 767.98px) { .hx-chero { padding: 120px 0 50px; } .hx-chero .title { font-size: 30px; } }

.hx-talk__next { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.hx-talk__next h4 { margin: 0 0 14px; font-size: 17px; color: #fff; }
.hx-talk__next ol { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.hx-talk__next li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.5; }
.hx-talk__next li b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #0143eb; font-size: 13px; }


/* v34: compact contact boxes, no line before "Our Office" */
.hx-sechead__eyebrow::before, .hx-sechead__eyebrow::after { content: none; display: none; }
.hx-msg { padding: 10px 0 70px; }
.hx-msg__card { padding: 24px 28px 26px; }
.hx-msg__card .title { font-size: 24px; margin-bottom: 2px; }
.hx-msg__sub { margin-bottom: 14px; font-size: 14px; }
.hx-msg__label { margin-bottom: 4px; font-size: 13px; }
.hx-msg__card .form-grp { margin-bottom: 10px; }
.hx-msg__card .form-grp input, .hx-msg__card .form-grp select { height: 42px; padding-top: 0; padding-bottom: 0; font-size: 14.5px; }
.hx-msg__card .form-grp textarea { height: 74px; font-size: 14.5px; }
.hx-msg__consent { margin: 2px 0 12px; font-size: 13px; }
.hx-msg__card .tg-btn { padding-top: 13px; padding-bottom: 13px; }
.hx-msg__card .row { --bs-gutter-y: 0; }
.hx-msg__talk { padding: 24px 24px 22px; }
.hx-msg__talk .title { font-size: 22px; margin-bottom: 4px; }
.hx-msg__talksub { margin-bottom: 14px; font-size: 14px; }
.hx-talk__items { gap: 9px; }
.hx-talk__item { padding: 9px 14px; gap: 12px; border-radius: 14px; }
.hx-talk__ic { width: 38px; height: 38px; border-radius: 10px; }
.hx-talk__tx small { font-size: 12px; }
.hx-talk__tx b { font-size: 15px; }
.hx-talk__next { margin-top: 16px; padding-top: 14px; }
.hx-talk__next h4 { margin-bottom: 9px; font-size: 15.5px; }
.hx-talk__next ol { gap: 8px; }
.hx-talk__next li { font-size: 13.5px; line-height: 1.4; gap: 10px; }
.hx-talk__next li b { width: 22px; height: 22px; font-size: 12px; }


/* =====================================================================
   v35: custom service dropdown, smaller contact boxes, plain logo spin,
   smaller number-less step tiles, mobile "Let's Build Together" below list
   ===================================================================== */
.hx-sel { position: relative; }
.hx-sel__btn { width: 100%; height: 42px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #d6e0fa; border-radius: 12px; background: #f7f9ff; color: #6b7390; font-size: 14.5px; text-align: left; cursor: pointer; transition: border-color .3s, box-shadow .3s, background .3s; }
.hx-sel.has-value .hx-sel__btn { color: var(--tg-heading-color); font-weight: 600; }
.hx-sel__btn:hover, .hx-sel.is-open .hx-sel__btn, .hx-sel__btn:focus-visible { border-color: var(--tg-theme-primary); background: #fff; box-shadow: 0 0 0 4px rgba(1,67,235,.1); outline: 0; }
.hx-sel__chev { flex: none; transition: transform .35s ease; color: var(--tg-theme-primary); }
.hx-sel.is-open .hx-sel__chev { transform: rotate(180deg); }
.hx-sel__panel { position: absolute; z-index: 20; left: 0; top: calc(100% + 6px); width: 300px; max-width: 100%; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s ease, transform .3s ease, visibility 0s linear .3s; }
.hx-sel.is-open .hx-sel__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hx-sel__cats { margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #d6e0fa; border-radius: 14px; box-shadow: 0 16px 40px rgba(8,23,100,.16); }
.hx-sel__cat { position: relative; list-style: none; }
.hx-sel__catbtn, .hx-sel__opt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--tg-heading-color); font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.hx-sel__arr { flex: none; color: var(--tg-theme-primary); transition: transform .3s; }
.hx-sel__cat:hover > .hx-sel__catbtn, .hx-sel__cat:focus-within > .hx-sel__catbtn, .hx-sel__cat.is-open > .hx-sel__catbtn, .hx-sel__opt:hover { background: #eaf0ff; color: var(--tg-theme-primary); }
.hx-sel__subs { position: absolute; left: calc(100% + 4px); top: -7px; width: 290px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #d6e0fa; border-radius: 14px; box-shadow: 0 16px 40px rgba(8,23,100,.16); opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity .22s ease, transform .25s ease, visibility 0s linear .25s; }
.hx-sel__subs::before { content: ""; position: absolute; left: -8px; top: 0; width: 8px; height: 100%; }
.hx-sel__cat:hover > .hx-sel__subs, .hx-sel__cat:focus-within > .hx-sel__subs, .hx-sel__cat.is-open > .hx-sel__subs { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hx-sel__subs li { list-style: none; }
.hx-sel__subs .hx-sel__opt { font-weight: 600; font-size: 13.5px; }
@media (max-width: 767.98px) {
  .hx-sel__panel { width: 100%; }
  .hx-sel__subs { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 4px 12px; max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transform: none; transition: max-height .4s ease; }
  .hx-sel__subs::before { display: none; }
  .hx-sel__cat:hover > .hx-sel__subs, .hx-sel__cat:focus-within > .hx-sel__subs { max-height: 0; opacity: 1; }
  .hx-sel__cat.is-open > .hx-sel__subs { max-height: 420px; }
  .hx-sel__cat.is-open > .hx-sel__catbtn .hx-sel__arr { transform: rotate(90deg); }
}

/* contact: smaller boxes, bottom boxes equal height */
.hx-chero { padding: 140px 0 50px; }
.hx-map--card { padding: 44px 0 24px; }
.hx-sechead { margin-bottom: 20px; }
.hx-loc { max-width: 1060px; }
.hx-loc__map { min-height: 290px; }
.hx-loc__body { padding: 22px 26px; }
.hx-loc__name { font-size: 19px; }
.hx-loc__place { margin: 12px 0 10px; font-size: 15px; }
.hx-loc__list { gap: 9px; margin-bottom: 16px; }
.hx-loc__list li { font-size: 14.5px; line-height: 1.5; }
.hx-loc__btn { padding: 11px 26px; font-size: 14.5px; }
.hx-msg { padding: 8px 0 56px; }
.hx-msg .container { max-width: 1060px; }
.hx-msg .row { align-items: stretch; }
.hx-msg__card, .hx-msg__talk { height: 100%; }
.hx-msg__card { padding: 20px 24px 22px; }
.hx-msg__card .title { font-size: 21px; }
.hx-msg__sub { margin-bottom: 10px; font-size: 13.5px; }
.hx-msg__label { font-size: 12.5px; margin-bottom: 3px; }
.hx-msg__card .form-grp { margin-bottom: 8px; }
.hx-msg__card .form-grp input, .hx-sel__btn { height: 38px; font-size: 14px; }
.hx-msg__card .form-grp textarea { height: 62px; min-height: 62px; }
.hx-msg__consent { margin: 0 0 10px; font-size: 12.5px; }
.hx-msg__card .tg-btn { padding-top: 11px; padding-bottom: 11px; font-size: 14.5px; }
.hx-msg__talk { padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.hx-msg__talk .title { font-size: 20px; }
.hx-msg__talksub { font-size: 13.5px; margin-bottom: 10px; }
.hx-talk__item { padding: 8px 12px; }
.hx-talk__ic { width: 34px; height: 34px; }
.hx-talk__tx b { font-size: 14px; }
.hx-talk__next { margin-top: 12px; padding-top: 12px; }
.hx-talk__next h4 { font-size: 14.5px; margin-bottom: 7px; }
.hx-talk__next li { font-size: 13px; }

/* logo: spin only (no glow / ring) */
@media (hover: hover) {
  .tgmenu__nav .logo a:hover img { filter: none; }
  .tgmenu__nav .logo a:hover::after { animation: hx-logo-ring 1.8s ease-out; }
}
.tgmenu__nav .logo a::after { display: block; }

/* "How we work": smaller tiles, no numbers */
@media (min-width: 1200px) {
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] > .hx-step,
  .hx-article .hx-step, .hx-steps-wide .hx-step {
    min-height: 112px; padding: 16px 32px 16px 36px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"]:first-child > .hx-step { padding-left: 22px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
  .row:has(> [class*="col-"] > .hx-step) > [class*="col-"] + [class*="col-"] { margin-left: -10px; }
}
.hx-step { grid-template-columns: 1fr !important; }
.hx-step .title, .hx-step p { grid-column: 1 !important; }
.hx-step .title { font-size: 16px !important; margin-bottom: 4px !important; }
.hx-step p { font-size: 13px !important; line-height: 1.5 !important; }
.hx-steps-wide { padding-bottom: 36px; }

/* mobile: button sits under the topic list */
.hx-choose-btn-m { display: none; }
@media (max-width: 767.98px) {
  .choose__content > a.tg-btn { display: none; }
  .hx-choose-btn-m { display: inline-flex; margin-top: 18px; }
}

.hx-msg__card .form-grp select { height: 38px; font-size: 14px; padding-top: 0; padding-bottom: 0; }

/* v36: home ends with marquee, then a gap before the journey banner */
body.hx-home .marquee__area { margin-bottom: 56px; }

/* v37: home Industries hive shows the six industries (brick offset) */
@media (min-width: 768px) {
  .hx-ind__row:first-child { transform: translateX(-44px); }
  .hx-ind__row:last-child { transform: translateX(44px); }
}

/* v38: about label, social icons, legal links, portfolio one-row grid */
.experience__wrap .hexacore-about__badge-title, #about .hexacore-about__badge-title { color: #fff !important; }
.hx-social { display: flex; gap: 10px; margin: 18px 0 0; padding: 0; }
.hx-social li { list-style: none; }
.hx-social__link { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.06); transition: background .3s, transform .3s, border-color .3s; }
.hx-social__link:hover { background: var(--tg-theme-primary); border-color: transparent; transform: translateY(-3px); color: #fff; }
.copyright__text .hx-legal { margin: 8px 0 0; font-size: 14px; }
.copyright__text .hx-legal a { color: rgba(255,255,255,.75); }
.copyright__text .hx-legal a:hover { color: #fff; }
.copyright__text .hx-legal span { margin: 0 10px; opacity: .5; }
@media (min-width: 1200px) { .hx-project .project__thumb img { height: 230px; } }
.hx-legalpage .hx-list { margin-bottom: 18px; }
.hx-legalpage h3.title { margin-top: 28px; }

/* v39: legal links beside the copyright line */
.copyright__text { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; }
.copyright__text p, .copyright__text .hx-legal { margin: 0; }
.copyright__text .hx-legal-sep { color: rgba(255,255,255,.4); }
@media (max-width: 575.98px) { .copyright__text .hx-legal-sep { display: none; } }
#portfolio .project__item-wrap { display: none; }

/* v40: project tiles on phones / touch - photo stays visible, title sits on a bottom gradient */
@media (hover: none), (max-width: 767.98px) {
  #portfolio .project__thumb::after, .hx-project .project__thumb::after {
    opacity: 1; background: linear-gradient(180deg, rgba(8,23,100,0) 40%, rgba(8,23,100,.88) 100%);
  }
  #portfolio .project__content, .hx-project .project__content {
    top: auto; bottom: 18px; left: 20px; right: 92px; transform: none; margin: 0; text-align: left; opacity: 1; visibility: visible;
  }
  #portfolio .project__content .title, .hx-project .project__content .title { font-size: 20px; margin: 0 0 4px; line-height: 1.25; }
  #portfolio .project__content span, .hx-project .project__content span { font-size: 14px; font-weight: 600; opacity: .9; }
  #portfolio .project__thumb img, .hx-project .project__thumb img { height: 240px; }
}
