/* Tekmaks premium public theme — loaded after the legacy theme. */
:root {
  --tm-navy-950: #031725;
  --tm-navy-900: #06263a;
  --tm-navy-800: #08364f;
  --tm-blue: #086ba5;
  --tm-cyan: #24a6dc;
  --tm-ink: #16232c;
  --tm-muted: #60707a;
  --tm-cloud: #f3f6f8;
  --tm-line: #dbe3e8;
  --tm-white: #fff;
  --tm-head: "Montserrat", Arial, sans-serif;
  --tm-body: "Poppins", Arial, sans-serif;
  --tm-ease: 360ms cubic-bezier(.22,.68,.25,1);
}

/* One document scrollbar. The legacy theme forced a second scroll track. */
html {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-padding-top: 92px;
  scrollbar-gutter: auto;
}

body.tm-site {
  background: var(--tm-white);
  color: var(--tm-muted);
  font-family: var(--tm-body);
  font-size: 15px;
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

body.tm-site .mobile-nav {
  overflow-y: hidden;
  visibility: hidden;
}

body.tm-site .mobile-nav.show {
  overflow-y: auto;
  visibility: visible;
}

.tm-site h1,
.tm-site h2,
.tm-site h3,
.tm-site h4,
.tm-site h5,
.tm-site h6 {
  color: var(--tm-ink);
  font-family: var(--tm-head);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.16;
}

.tm-site p,
.tm-site li,
.tm-site a,
.tm-site button,
.tm-site input,
.tm-site textarea,
.tm-site select {
  font-family: var(--tm-body);
}

.tm-site a,
.tm-site button,
.tm-site input,
.tm-site textarea,
.tm-site select {
  transition: color var(--tm-ease), background-color var(--tm-ease), border-color var(--tm-ease), opacity var(--tm-ease), transform var(--tm-ease), box-shadow var(--tm-ease);
}

.tm-site a:focus-visible,
.tm-site button:focus-visible,
.tm-site input:focus-visible,
.tm-site textarea:focus-visible,
.tm-site select:focus-visible {
  outline: 3px solid rgba(36, 166, 220, .42) !important;
  outline-offset: 3px;
}

.tm-site ::selection {
  background: var(--tm-cyan);
  color: var(--tm-navy-950);
}

.tm-site .container {
  max-width: 1280px;
}

.tm-site .section-padding {
  padding-bottom: clamp(78px, 8vw, 118px);
  padding-top: clamp(78px, 8vw, 118px);
}

.tm-site .section-bg {
  background: var(--tm-cloud);
}

/* Buttons */
.tm-site .theme-btn,
.tm-site .submit-btn,
.tm-site button.submit-btn {
  align-items: center;
  background: var(--tm-blue) !important;
  border: 1px solid var(--tm-blue) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  color: var(--tm-white) !important;
  display: inline-flex;
  font-family: var(--tm-head);
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 50px;
  padding: 12px 24px;
  text-transform: uppercase;
}

.tm-site .theme-btn::before,
.tm-site .submit-btn::before,
.tm-site button.submit-btn::before {
  display: none !important;
}

.tm-site .theme-btn:hover,
.tm-site .submit-btn:hover,
.tm-site button.submit-btn:hover {
  background: var(--tm-navy-900) !important;
  border-color: var(--tm-navy-900) !important;
  color: var(--tm-white) !important;
  transform: translateY(-2px);
}

/* Transparent home header; contained inner-page header. */
.tm-site .top-bar-wrapper {
  align-items: center;
  background: var(--tm-navy-950);
  min-height: 42px;
  padding: 7px 0;
  z-index: 120;
}

.tm-site .top-bar-wrapper::before {
  display: none;
}

.tm-site .top-bar-wrapper .top-left {
  align-items: center;
  display: flex;
  gap: 8px 24px;
}

.tm-site .top-bar-wrapper .top-left a,
.tm-site .top-bar-wrapper .social-pages a {
  color: rgba(255,255,255,.78) !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .045em;
}

.tm-site .top-bar-wrapper .top-left a i {
  color: var(--tm-cyan);
  margin-right: 8px;
}

.tm-site .top-bar-wrapper .social-pages {
  display: flex;
}

.tm-site .top-bar-wrapper .social-pages a {
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.16);
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 34px;
}

.tm-home .top-bar-wrapper {
  background: rgba(3, 23, 37, .54);
  border-bottom: 1px solid rgba(255,255,255,.13);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.tm-site header.header-1,
.tm-site header.header-1.transparent-menu {
  background: var(--tm-white);
  border-bottom: 1px solid var(--tm-line);
  box-shadow: none;
  min-height: 88px;
  position: relative !important;
  width: 100%;
  z-index: 110;
}

.tm-home header.header-1.transparent-menu {
  background: rgba(3, 23, 37, .42);
  border-bottom-color: rgba(255,255,255,.18);
  left: 0;
  position: absolute !important;
  right: 0;
  top: 42px;
}

.tm-site header.header-1 > .container > .row {
  min-height: 88px;
}

.tm-site header.header-1.sticky,
.tm-site header.header-1.transparent-menu.sticky {
  animation: none;
  background: rgba(3, 23, 37, .97);
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 32px rgba(3,23,37,.2);
  left: 0;
  min-height: 76px;
  position: fixed !important;
  right: 0;
  top: 0;
}

.tm-site header.header-1.sticky > .container > .row {
  min-height: 76px;
}

.tm-site header.header-1 .logo a {
  align-items: center;
  display: flex;
  min-height: 70px;
}

.tm-site header.header-1 .logo img {
  height: auto !important;
  max-height: 64px;
  max-width: 235px;
  object-fit: contain;
  width: auto;
}

.tm-home header.header-1:not(.sticky) .logo img,
.tm-site header.header-1.sticky .logo img {
  filter: drop-shadow(0 1px 7px rgba(255,255,255,.32));
}

.tm-site header.header-1 .menu-wrap {
  margin-left: 0 !important;
}

.tm-site header.header-1 .main-menu > ul {
  align-items: center;
  display: flex;
  gap: 3px;
}

.tm-site header.header-1 .main-menu > ul > li > a {
  color: var(--tm-ink) !important;
  font-family: var(--tm-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .065em;
  padding: 34px 12px;
  text-transform: uppercase;
}

.tm-home header.header-1:not(.sticky) .main-menu > ul > li > a,
.tm-site header.header-1.sticky .main-menu > ul > li > a {
  color: rgba(255,255,255,.92) !important;
}

.tm-site header.header-1 .main-menu > ul > li > a::after {
  background: currentColor;
  bottom: 25px;
  content: "";
  height: 1px;
  left: 12px;
  position: absolute;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--tm-ease);
  width: calc(100% - 24px);
}

.tm-site header.header-1 .main-menu > ul > li:hover > a::after {
  transform: scaleX(1);
}

.tm-site header.header-1 .main-menu ul li .sub-menu {
  background: var(--tm-white);
  border: 1px solid var(--tm-line);
  border-radius: 2px;
  box-shadow: 0 24px 45px rgba(3,23,37,.18);
  padding: 8px 0;
  width: 245px;
}

.tm-site header.header-1 .main-menu ul li .sub-menu li a {
  border-bottom: 1px solid var(--tm-line);
  color: var(--tm-ink);
  font-size: 13px;
  padding: 11px 18px;
}

.tm-site header.header-1 .main-menu ul li .sub-menu li:last-child a {
  border-bottom: 0;
}

.tm-site header.header-1 .main-menu ul li .sub-menu li a:hover {
  background: var(--tm-cloud);
  color: var(--tm-blue);
  padding-left: 23px;
}

.tm-site header .header-right-element .theme-btn {
  min-height: 44px;
  padding: 10px 19px;
}

.tm-home header:not(.sticky) .header-right-element .theme-btn,
.tm-site header.sticky .header-right-element .theme-btn {
  background: transparent !important;
  border-color: rgba(255,255,255,.58) !important;
}

.tm-home header:not(.sticky) .header-right-element .theme-btn:hover,
.tm-site header.sticky .header-right-element .theme-btn:hover {
  background: var(--tm-white) !important;
  border-color: var(--tm-white) !important;
  color: var(--tm-navy-950) !important;
}

.tm-site .mobile-nav-wrap #hamburger {
  align-items: center;
  background: var(--tm-navy-900);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  color: var(--tm-white);
  display: flex;
  height: 46px;
  justify-content: center;
  margin-left: auto;
  width: 46px;
}

.tm-site .mobile-nav {
  background: var(--tm-navy-950);
  border-left: 1px solid rgba(255,255,255,.15);
}

.tm-site .mobile-nav .sidebar-nav ul li a,
.tm-site .mobile-nav .action-bar h5,
.tm-site .mobile-nav .action-bar span {
  color: var(--tm-white) !important;
}

.tm-site .mobile-nav .sidebar-nav ul li a {
  border-bottom-color: rgba(255,255,255,.14);
  font-family: var(--tm-head);
  font-size: 15px;
  letter-spacing: .04em;
  min-height: 48px;
  text-transform: uppercase;
}

/* Hero: copy sits directly on the photography, without a panel. */
.tm-home .hero-wrapper.hero-2 {
  background: var(--tm-navy-950);
  text-align: left !important;
}

.tm-home .hero-2 .single-slide {
  min-height: clamp(690px, 84vh, 890px);
  overflow: hidden;
  padding: 0 !important;
  position: relative;
}

.tm-home .hero-2 .single-slide .slide-bg {
  background-position: center;
  height: 100%;
  inset: 0;
  position: absolute;
  transform: scale(1.015);
  width: 100%;
}

.tm-home .hero-2 .single-slide .slide-bg::before {
  background: rgba(3, 20, 32, .53) !important;
  content: "";
  inset: 0;
  opacity: 1 !important;
  position: absolute;
}

.tm-home .hero-2 .single-slide .slide-bg::after,
.tm-home .hero-2 .layer1,
.tm-home .hero-2 .layer2 {
  display: none !important;
}

.tm-home .hero-2 .single-slide .container,
.tm-home .hero-2 .single-slide .row,
.tm-home .hero-2 .single-slide .col-12 {
  min-height: clamp(690px, 84vh, 890px);
}

.tm-home .hero-2 .single-slide .container {
  position: relative;
  z-index: 3;
}

.tm-home .hero-2 .single-slide .row,
.tm-home .hero-2 .single-slide .col-12 {
  align-items: flex-end;
  display: flex;
}

.tm-home .hero-2 .single-slide .hero-contents {
  background: transparent !important;
  border: 0 !important;
  margin: 0 0 clamp(90px, 12vh, 132px);
  max-width: 860px;
  padding: 0 !important;
  text-align: left;
}

.tm-home .hero-2 .single-slide .hero-contents::before,
.tm-home .hero-2 .single-slide .hero-contents::after {
  display: none !important;
}

.tm-home .hero-2 .single-slide .hero-contents h2 {
  color: rgba(255,255,255,.84);
  font-family: var(--tm-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.tm-home .hero-2 .single-slide .hero-contents h3.fs-lg {
  color: var(--tm-white) !important;
  font-family: var(--tm-head);
  font-size: clamp(44px, 5.3vw, 76px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
  margin: 0;
  max-width: 850px;
  text-shadow: 0 3px 22px rgba(0,0,0,.3);
}

.tm-home .hero-2 .single-slide .hero-contents p {
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.75;
  margin: 24px 0 0;
  max-width: 650px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.tm-home .hero-2 .single-slide .hero-contents .theme-btn {
  background: var(--tm-white) !important;
  border-color: var(--tm-white) !important;
  color: var(--tm-navy-950) !important;
  margin-top: 30px !important;
}

.tm-home .hero-2 .single-slide .hero-contents .theme-btn:hover {
  background: var(--tm-cyan) !important;
  border-color: var(--tm-cyan) !important;
}

.tm-home .slide-right-dots {
  bottom: 54px;
  display: flex !important;
  gap: 9px;
  left: 50%;
  right: auto;
  top: auto;
  transform: translateX(-50%);
}

.tm-home .slide-right-dots li {
  height: auto;
  margin: 0;
}

.tm-home .slide-right-dots li button {
  background: rgba(255,255,255,.52);
  border: 0;
  height: 2px;
  padding: 0;
  width: 34px;
}

.tm-home .slide-right-dots li button::before {
  display: none;
}

.tm-home .slide-right-dots li.slick-active button {
  background: var(--tm-white);
  width: 62px;
}

/* Feature rail */
.tm-home .services-featured-box-wrapper {
  background: var(--tm-navy-950);
  position: relative;
}

.tm-home .services-featured-box-wrapper .services-container-wrapper {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0 !important;
}

.tm-home .services-featured-box-wrapper .row > div {
  border-right: 1px solid rgba(255,255,255,.13);
}

.tm-home .services-featured-box-wrapper .row > div:last-child {
  border-right: 0;
}

.tm-home .single-service-info-item {
  align-items: flex-start;
  background: transparent;
  border: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 42px 28px 36px;
  text-align: left;
}

.tm-home .single-service-info-item .icon {
  margin-bottom: 20px;
}

.tm-home .single-service-info-item .icon p,
.tm-home .single-service-info-item .icon i {
  color: var(--tm-cyan) !important;
  font-size: 32px !important;
  line-height: 1;
  margin: 0;
}

.tm-home .single-service-info-item h4,
.tm-home .single-service-info-item h4 a {
  color: var(--tm-white);
  font-size: 17px;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.tm-home .single-service-info-item > p {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

/* Shared section headings */
.tm-site .section-title > span {
  color: var(--tm-blue);
  display: block;
  font-family: var(--tm-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.tm-site .section-title h2 {
  font-size: clamp(34px, 4.1vw, 57px);
  letter-spacing: -.04em;
  margin-bottom: 23px;
}

.tm-site .section-title p {
  color: var(--tm-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* About */
.tm-home .about-wrapper {
  background: var(--tm-white);
}

.tm-home .about-img-funfact-content {
  margin: 0 !important;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.tm-home .about-img-funfact-content > img {
  border-radius: 2px !important;
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.tm-home .about-img-funfact-content::before,
.tm-home .about-img-funfact-content::after {
  display: none !important;
}

.tm-home .about-img-funfact-content .fun-fact-bar {
  align-items: center;
  background: rgba(3,23,37,.92);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  bottom: 24px;
  box-shadow: 0 18px 34px rgba(3,23,37,.22);
  color: var(--tm-white);
  display: flex;
  left: 24px;
  max-width: calc(100% - 48px);
  padding: 18px 23px;
  position: absolute;
}

.tm-home .about-img-funfact-content .fun-fact-bar h3,
.tm-home .about-img-funfact-content .fun-fact-bar p {
  color: var(--tm-white);
}

.tm-home .about-img-funfact-content .fun-fact-bar h3 {
  font-size: 27px;
  margin: 0 18px 0 0;
  white-space: nowrap;
}

.tm-home .about-img-funfact-content .fun-fact-bar p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

.tm-home .checked-list li {
  border-bottom: 1px solid var(--tm-line);
  color: var(--tm-ink);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 0 12px 32px;
}

.tm-home .checked-list li::before {
  color: var(--tm-blue);
}

/* Services: asymmetric editorial image grid, not three repeated cards. */
.tm-site .best-services-wrapper {
  background-color: var(--tm-cloud) !important;
  background-image: none !important;
}

.tm-site .best-services-wrapper > .container > .row {
  display: grid !important;
  gap: 18px;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, 286px);
  margin-left: 0;
  margin-right: 0;
  margin-top: 44px;
}

.tm-site .best-services-wrapper > .container > .row > [class*="col-"] {
  max-width: none;
  padding: 0;
  width: auto;
}

.tm-site .best-services-wrapper > .container > .row > [class*="col-"]:first-child {
  grid-row: 1 / 3;
}

.tm-site .service-style1 {
  background: var(--tm-navy-950) !important;
  border: 0 !important;
  border-radius: 2px !important;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
}

.tm-site .service-style1 > a {
  display: block;
  height: 100%;
}

.tm-site .service-style1 img {
  border-radius: 0 !important;
  height: 100% !important;
  object-fit: cover;
  transform: scale(1.002);
  width: 100%;
}

.tm-site .service-style1::after {
  background: rgba(3,23,37,.34);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: background-color var(--tm-ease);
  z-index: 1;
}

.tm-site .service-style1 .bottom-badge {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  bottom: 25px !important;
  box-shadow: none !important;
  color: var(--tm-white) !important;
  display: flex;
  gap: 12px;
  left: 26px !important;
  max-width: calc(100% - 52px) !important;
  padding: 0 !important;
  right: 26px;
  transform: none !important;
  white-space: normal !important;
  width: auto !important;
  z-index: 3;
}

.tm-site .service-style1 .bottom-badge i {
  color: var(--tm-cyan) !important;
  flex: 0 0 auto;
  font-size: 22px;
  margin: 0;
}

.tm-site .service-style1 .bottom-badge a {
  color: var(--tm-white) !important;
  font-family: var(--tm-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.24;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}

.tm-site .best-services-wrapper > .container > .row > div:first-child .bottom-badge a {
  font-size: 28px;
}

.tm-site .service-style1 .content-box {
  align-items: flex-start !important;
  background: rgba(3,23,37,.92) !important;
  color: var(--tm-white);
  display: flex;
  inset: 0;
  justify-content: flex-end !important;
  opacity: 0;
  padding: 30px !important;
  position: absolute;
  text-align: left !important;
  transform: none;
  visibility: hidden;
  z-index: 4;
}

.tm-site .service-style1 .content-box i {
  color: var(--tm-cyan) !important;
  font-size: 26px;
  margin-bottom: 15px;
}

.tm-site .service-style1 .content-box h4,
.tm-site .service-style1 .content-box h4 a {
  color: var(--tm-white) !important;
  font-size: 21px;
  margin-bottom: 10px;
}

.tm-site .service-style1 .content-box p {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.68;
  margin: 0;
}

.tm-site .service-style1:hover img {
  transform: scale(1.045);
}

.tm-site .service-style1:hover::after {
  background: rgba(3,23,37,.48);
}

.tm-site .service-style1:hover .bottom-badge {
  opacity: 0 !important;
  transform: none !important;
  visibility: hidden !important;
}

.tm-site .service-style1:hover .content-box {
  opacity: 1;
  visibility: visible;
}

/* Brand strip keeps the real site image and uses a restrained logo band. */
.tm-home .funfact-box-wrapper {
  background-color: var(--tm-navy-900);
  border: 0;
  isolation: isolate;
  padding: 36px 0 !important;
  position: relative;
}

.tm-home .funfact-box-wrapper::before {
  background: rgba(3,23,37,.72);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.tm-home .client-items {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 2px;
  padding: 4px 0;
}

.tm-home .client-items .client-item {
  align-items: center;
  border-right: 1px solid var(--tm-line);
  display: flex;
  height: 96px;
  justify-content: center;
  padding: 15px 24px;
}

.tm-home .client-items .client-item img {
  filter: grayscale(1);
  height: 66px !important;
  max-width: 155px;
  object-fit: contain;
  opacity: .66;
  width: 100%;
}

.tm-home .client-items .client-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Testimonials: compact editorial quote, no card and no decorative edge. */
.tm-home .testimnial-carousel-wrapper {
  background: var(--tm-navy-950);
  padding: clamp(84px, 9vw, 126px) 0;
}

.tm-home .testimnial-carousel-wrapper .row {
  align-items: center;
}

.tm-home .testimnial-carousel-wrapper .section-title > span {
  color: var(--tm-cyan);
}

.tm-home .testimnial-carousel-wrapper .section-title h2,
.tm-home .testimnial-carousel-wrapper .section-title p {
  color: var(--tm-white);
}

.tm-home .testimnial-carousel-wrapper .section-title p {
  color: rgba(255,255,255,.58);
  max-width: 420px;
}

.tm-home .customer-feedback-carousel-active {
  background: transparent !important;
  border: 0 !important;
  padding: 0 0 0 clamp(30px, 5vw, 70px) !important;
}

.tm-home .single-customer-review {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tm-home .single-customer-review > p {
  color: rgba(255,255,255,.88);
  font-family: var(--tm-body);
  font-size: 18px !important;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.85;
  margin: 0 0 30px;
  max-width: 690px;
}

.tm-home .single-customer-review .client-info-card {
  align-items: center;
  display: flex;
  margin-top: 0;
  padding: 0;
}

.tm-home .single-customer-review .client-info-card .img-wrapper {
  border: 0 !important;
  border-radius: 50%;
  height: 58px !important;
  line-height: 58px !important;
  width: 58px !important;
}

.tm-home .single-customer-review .client-info-card .client-img {
  border: 1px solid rgba(255,255,255,.24) !important;
  border-radius: 50% !important;
  height: 58px !important;
  width: 58px !important;
}

.tm-home .single-customer-review .client-details {
  margin-left: 16px;
}

.tm-home .single-customer-review .client-details h4 {
  color: var(--tm-white);
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.tm-home .single-customer-review .client-details span {
  color: var(--tm-cyan);
  font-family: var(--tm-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* CTA */
.tm-site .cta-wrapper {
  background-color: var(--tm-navy-900);
  isolation: isolate;
  position: relative;
}

.tm-site .cta-wrapper::before {
  background: rgba(3,23,37,.7) !important;
  content: "";
  inset: 0;
  opacity: 1 !important;
  position: absolute;
  z-index: -1;
}

.tm-site .cta-wrapper .container {
  position: relative;
  z-index: 2;
}

.tm-site .cta-wrapper h1 {
  color: var(--tm-white);
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -.045em;
}

.tm-site .cta-wrapper .theme-btn {
  background: var(--tm-white) !important;
  border-color: var(--tm-white) !important;
  color: var(--tm-navy-950) !important;
}

.tm-site .cta-wrapper .theme-btn:hover {
  background: var(--tm-cyan) !important;
  border-color: var(--tm-cyan) !important;
}

/* Contact */
.tm-home .contact-us-wrapper,
.tm-site .contact-page-wrap {
  background: var(--tm-cloud);
}

.tm-site .contact-form,
.tm-site .contact-form-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.tm-site .contact-form .row,
.tm-site .contact-form-wrap .row {
  row-gap: 14px;
}

.tm-site .single-personal-info {
  margin: 0;
}

.tm-site .single-personal-info input,
.tm-site .single-personal-info textarea,
.tm-site .contact-form input,
.tm-site .contact-form textarea,
.tm-site .contact-form select,
.tm-site .contact-form-wrap input,
.tm-site .contact-form-wrap textarea,
.tm-site .contact-form-wrap select {
  background: var(--tm-white) !important;
  border: 1px solid #cfd9df !important;
  border-radius: 2px !important;
  color: var(--tm-ink);
  min-height: 54px;
  padding: 13px 16px;
  width: 100%;
}

.tm-site .single-personal-info textarea,
.tm-site .contact-form textarea,
.tm-site .contact-form-wrap textarea {
  min-height: 150px;
  resize: vertical;
}

.tm-site .single-personal-info input:focus,
.tm-site .single-personal-info textarea:focus,
.tm-site .contact-form input:focus,
.tm-site .contact-form textarea:focus,
.tm-site .contact-form select:focus,
.tm-site .contact-form-wrap input:focus,
.tm-site .contact-form-wrap textarea:focus,
.tm-site .contact-form-wrap select:focus {
  border-color: var(--tm-blue) !important;
  box-shadow: 0 0 0 3px rgba(8,107,165,.1) !important;
}

.tm-home .contact-img-wrapper {
  border: 0 !important;
  height: 610px;
  overflow: hidden;
  padding: 0 !important;
}

.tm-home .contact-img-wrapper img {
  height: 100%;
  object-fit: cover;
  transform: none !important;
  width: 100%;
}

/* Blog cards */
.tm-site .blog-wrapper {
  background: var(--tm-white);
}

.tm-site .blog-wrapper > .container > .row:last-child {
  row-gap: 24px;
}

.tm-site .single-blog-item {
  background: var(--tm-white);
  border: 1px solid var(--tm-line);
  border-radius: 2px;
  box-shadow: none;
  height: 100%;
  overflow: hidden;
}

.tm-site .single-blog-item .post-featured-thumb {
  height: 265px;
  overflow: hidden;
}

.tm-site .single-blog-item .post-cat a {
  background: rgba(3,23,37,.9);
  border-radius: 2px;
  color: var(--tm-white);
  font-size: 11px;
}

.tm-site .single-blog-item .content {
  padding: 26px;
}

.tm-site .single-blog-item .content h3,
.tm-site .single-blog-item .content h3 a {
  color: var(--tm-ink);
  font-size: 20px;
  line-height: 1.35;
}

.tm-site .single-blog-item .content p {
  color: var(--tm-muted);
  font-size: 13px;
  line-height: 1.75;
}

/* Inner pages */
.tm-inner .page-banner-wrap,
.tm-inner .page-banner-wrap.bg-cover {
  background-color: var(--tm-navy-900);
  min-height: 300px;
  position: relative;
}

.tm-inner .page-banner-wrap::before {
  background: rgba(3,23,37,.68) !important;
  content: "";
  inset: 0;
  opacity: 1 !important;
  position: absolute;
}

.tm-inner .page-banner-wrap .container {
  position: relative;
  z-index: 2;
}

.tm-inner .page-banner-wrap h1,
.tm-inner .page-banner-wrap h2,
.tm-inner .page-banner-wrap .page-heading h1,
.tm-inner .page-banner-wrap .page-heading h2 {
  color: var(--tm-white);
  font-size: clamp(36px, 5vw, 60px);
}

.tm-inner .breadcrumb,
.tm-inner .breadcrumb a,
.tm-inner .breadcrumb-item {
  color: rgba(255,255,255,.76) !important;
  font-size: 12px;
}

.tm-inner .single-service-box,
.tm-inner .single-project-item,
.tm-inner .single-gallery-item,
.tm-inner .single-team-member,
.tm-inner .single-news-card,
.tm-inner .single-blog-post {
  border: 1px solid var(--tm-line);
  border-radius: 2px !important;
  box-shadow: none !important;
  overflow: hidden;
}

.tm-inner .main-sidebar .single-sidebar-widget {
  background: var(--tm-cloud);
  border: 1px solid var(--tm-line);
  border-radius: 2px;
  box-shadow: none;
}

.tm-inner .main-sidebar .single-sidebar-widget .wid-title h3,
.tm-inner .main-sidebar .single-sidebar-widget .wid-title h4 {
  color: var(--tm-ink);
  font-size: 22px;
}

.tm-inner .main-sidebar .tagcloud a,
.tm-inner .pagination li a,
.tm-inner .pagination a {
  background: var(--tm-white);
  border: 1px solid var(--tm-line);
  border-radius: 2px;
  color: var(--tm-ink);
}

.tm-inner .main-sidebar .tagcloud a:hover,
.tm-inner .pagination li.active a,
.tm-inner .pagination a:hover {
  background: var(--tm-blue);
  border-color: var(--tm-blue);
  color: var(--tm-white);
}

/* Footer: retain the real background artwork and deepen it with one overlay. */
.tm-site footer.footer-1 .footer-widgets-wrapper {
  background-color: var(--tm-navy-950) !important;
  background-position: center !important;
  background-size: cover !important;
  border: 0;
  isolation: isolate;
  padding: clamp(74px, 8vw, 108px) 0 66px;
  position: relative;
}

.tm-site footer.footer-1 .footer-widgets-wrapper::before {
  background: rgba(3,23,37,.84);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.tm-site footer.footer-1 .footer-widgets-wrapper .row {
  row-gap: 42px;
}

.tm-site footer.footer-1 .about-quantech img {
  height: auto;
  margin-bottom: 24px;
  max-height: 72px;
  max-width: 230px;
  width: auto;
}

.tm-site footer.footer-1 .wid-title h3,
.tm-site footer.footer-1 h3,
.tm-site footer.footer-1 h4,
.tm-site footer.footer-1 h5 {
  color: var(--tm-white);
}

.tm-site footer.footer-1 .wid-title h3 {
  font-size: 17px;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

.tm-site footer.footer-1 .wid-title h3::after,
.tm-site footer.footer-1 .wid-title h4::after {
  display: none !important;
}

.tm-site footer.footer-1 p,
.tm-site footer.footer-1 a,
.tm-site footer.footer-1 span {
  color: rgba(255,255,255,.64);
  font-size: 12px;
  line-height: 1.8;
}

.tm-site footer.footer-1 .single-footer-wid li {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 9px 0;
}

.tm-site footer.footer-1 a:hover {
  color: var(--tm-white);
}

.tm-site footer.footer-1 .single-contact-info {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 10px 0;
}

.tm-site footer.footer-1 .single-contact-info .icon {
  color: var(--tm-cyan);
}

.tm-site footer.footer-1 .newsletter_box input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 2px;
  color: var(--tm-white);
  min-height: 50px;
}

.tm-site footer.footer-1 .newsletter_box button {
  background: var(--tm-cyan);
  border-radius: 0 2px 2px 0;
  color: var(--tm-navy-950);
  min-height: 50px;
  min-width: 50px;
}

.tm-site footer.footer-1 .footer-bottom {
  background: var(--tm-navy-950);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 21px 0;
}

.tm-site footer.footer-1 .footer-bottom p {
  margin: 0;
}

.tm-site footer.footer-1 .footer-bottom .social-links a {
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 2px;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.tm-site #scrollUp {
  align-items: center;
  background: var(--tm-blue);
  border-radius: 2px;
  bottom: 20px;
  color: var(--tm-white);
  display: flex;
  height: 44px;
  justify-content: center;
  right: 20px;
  width: 44px;
}

/* Compact, static contact shortcuts: no pulsing rings. */
.tm-site .hotline-phone-ring-wrap {
  bottom: 20px !important;
  left: 20px !important;
  margin: 0 !important;
}

.tm-site .hotline-phone-ring {
  height: 48px !important;
  width: 48px !important;
}

.tm-site .hotline-phone-ring-circle,
.tm-site .hotline-phone-ring-circle-fill {
  animation: none !important;
  display: none !important;
}

.tm-site .hotline-phone-ring-img-circle {
  animation: none !important;
  background: var(--tm-blue) !important;
  border-radius: 2px !important;
  height: 48px !important;
  left: 0 !important;
  top: 0 !important;
  width: 48px !important;
}

.tm-site .hotline-bar {
  background: var(--tm-navy-900) !important;
  border-radius: 0 2px 2px 0 !important;
  bottom: 0 !important;
  box-shadow: none !important;
  height: 48px !important;
  left: 46px !important;
  line-height: 48px !important;
  width: 170px !important;
}

.tm-site .hotline-bar > a {
  font-family: var(--tm-head) !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  line-height: 48px !important;
  text-indent: 34px !important;
}

.tm-site .float,
.tm-site .float2 {
  bottom: 80px !important;
  left: 20px !important;
  z-index: 99998 !important;
}

@media (max-width: 1199px) {
  .tm-site header.header-1 .main-menu > ul > li > a {
    font-size: 11px;
    padding-left: 9px;
    padding-right: 9px;
  }

  .tm-site .best-services-wrapper > .container > .row {
    grid-template-columns: 1.1fr .9fr;
  }
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 80px;
  }

  .tm-home .top-bar-wrapper {
    position: absolute;
  }

  .tm-site header.header-1,
  .tm-site header.header-1.transparent-menu,
  .tm-site header.header-1 > .container > .row {
    min-height: 80px;
  }

  .tm-home header.header-1.transparent-menu {
    top: 42px;
  }

  .tm-inner header.header-1 {
    background: var(--tm-white);
  }

  .tm-site header.header-1 .logo img {
    max-height: 56px;
    max-width: 215px;
  }

  .tm-home .services-featured-box-wrapper .row > div:nth-child(2) {
    border-right: 0;
  }

  .tm-home .services-featured-box-wrapper .row > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  .tm-home .testimnial-carousel-wrapper .section-title {
    margin-bottom: 38px;
  }

  .tm-home .customer-feedback-carousel-active {
    padding-left: 0 !important;
  }

  .tm-home .contact-img-wrapper {
    height: 520px;
  }
}

@media (max-width: 767px) {
  body.tm-site {
    font-size: 14px;
  }

  .tm-site .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tm-site .section-padding {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .tm-home header.header-1.transparent-menu {
    top: 0;
  }

  .tm-home .hero-2 .single-slide,
  .tm-home .hero-2 .single-slide .container,
  .tm-home .hero-2 .single-slide .row,
  .tm-home .hero-2 .single-slide .col-12 {
    min-height: 650px;
  }

  .tm-home .hero-2 .single-slide .hero-contents {
    margin-bottom: 92px;
  }

  .tm-home .hero-2 .single-slide .hero-contents h2 {
    font-size: 10px;
    letter-spacing: .14em;
  }

  .tm-home .hero-2 .single-slide .hero-contents h3.fs-lg {
    font-size: clamp(36px, 11vw, 50px);
  }

  .tm-home .hero-2 .single-slide .hero-contents p {
    font-size: 14px;
    line-height: 1.7;
  }

  .tm-home .slide-right-dots {
    bottom: 40px;
  }

  .tm-home .slide-right-dots li button {
    width: 22px;
  }

  .tm-home .slide-right-dots li.slick-active button {
    width: 42px;
  }

  .tm-home .services-featured-box-wrapper .row > div {
    border-bottom: 1px solid rgba(255,255,255,.13);
    border-right: 0;
  }

  .tm-home .services-featured-box-wrapper .row > div:last-child {
    border-bottom: 0;
  }

  .tm-home .single-service-info-item {
    min-height: 0;
    padding: 32px 18px;
  }

  .tm-home .about-img-funfact-content,
  .tm-home .about-img-funfact-content > img {
    height: 430px;
    min-height: 430px;
  }

  .tm-home .about-img-funfact-content .fun-fact-bar {
    bottom: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 15px 17px;
  }

  .tm-site .best-services-wrapper > .container > .row {
    display: grid !important;
    gap: 14px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin-top: 30px;
  }

  .tm-site .best-services-wrapper > .container > .row > [class*="col-"] {
    grid-row: auto !important;
    height: 310px;
  }

  .tm-site .best-services-wrapper > .container > .row > [class*="col-"]:first-child {
    height: 410px;
  }

  .tm-site .best-services-wrapper > .container > .row > div:first-child .bottom-badge a,
  .tm-site .service-style1 .bottom-badge a {
    font-size: 18px;
  }

  .tm-home .client-items .client-item {
    height: 82px;
    padding: 10px 18px;
  }

  .tm-home .client-items .client-item img {
    height: 55px !important;
  }

  .tm-home .single-customer-review > p {
    font-size: 16px !important;
    line-height: 1.75;
  }

  .tm-home .single-customer-review .client-info-card {
    display: flex;
    text-align: left;
  }

  .tm-home .single-customer-review .client-info-card .img-wrapper {
    margin: 0;
  }

  .tm-home .single-customer-review .client-details {
    margin-left: 14px;
    margin-top: 0;
  }

  .tm-home .contact-img-wrapper {
    height: 420px;
    margin-top: 42px;
  }

  .tm-site .single-blog-item .post-featured-thumb {
    height: 235px;
  }

  .tm-inner .page-banner-wrap,
  .tm-inner .page-banner-wrap.bg-cover {
    min-height: 230px;
  }

  .tm-site footer.footer-1 .footer-bottom,
  .tm-site footer.footer-1 .footer-bottom .text-md-end {
    text-align: center !important;
  }

  .tm-site .hotline-phone-ring-wrap {
    left: 12px !important;
  }

  .tm-site .float,
  .tm-site .float2 {
    left: 12px !important;
  }
}

@media (max-width: 575px) {
  .tm-site header.header-1 .logo img {
    max-height: 50px;
    max-width: min(200px, 62vw);
  }

  .tm-home .hero-2 .single-slide .hero-contents p {
    max-width: 92%;
  }

  .tm-home .about-img-funfact-content,
  .tm-home .about-img-funfact-content > img {
    height: 380px;
    min-height: 380px;
  }

  .tm-site .section-title h2 {
    font-size: 32px;
  }

  .tm-site .hotline-bar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-site *,
  .tm-site *::before,
  .tm-site *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Refinement pass v3: alignment, proportions and inner-page identity. */
.tm-site .top-bar-wrapper .social-pages {
  align-items: center;
  gap: 0;
}

.tm-site .top-bar-wrapper .social-pages a {
  align-items: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  margin-left: 0 !important;
  padding: 0 !important;
  text-align: center;
}

.tm-site .top-bar-wrapper .social-pages a i {
  display: block;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
}

.tm-home header.header-1:not(.sticky) .logo img,
.tm-site header.header-1.sticky .logo img {
  filter: none !important;
}

/* Keep every slider copy below the transparent header, including long panel text. */
.tm-home .hero-2 .single-slide .container {
  padding-top: 170px;
}

.tm-home .hero-2 .single-slide .hero-contents {
  margin-bottom: 104px;
  max-width: 810px;
}

.tm-home .hero-2 .single-slide .hero-contents.tm-hero-copy--long {
  max-width: 760px;
}

.tm-home .hero-2 .single-slide .hero-contents.tm-hero-copy--long h3.fs-lg {
  font-size: clamp(38px, 4.25vw, 60px);
  line-height: 1.08;
}

.tm-home .hero-2 .single-slide .hero-contents.tm-hero-copy--long p {
  max-width: 590px;
}

/* Proportional technical feature rail. */
.tm-home .services-featured-box-wrapper .row > div {
  display: flex;
}

.tm-home .single-service-info-item {
  display: grid;
  gap: 7px 15px;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 166px;
  padding: 34px 23px 30px;
  width: 100%;
}

.tm-home .single-service-info-item .icon {
  align-items: flex-start;
  display: flex;
  grid-row: 1 / 3;
  justify-content: flex-start;
  margin: 2px 0 0;
}

.tm-home .single-service-info-item .icon p,
.tm-home .single-service-info-item .icon i {
  font-size: 28px !important;
}

.tm-home .single-service-info-item h4 {
  align-self: end;
  margin: 0;
}

.tm-home .single-service-info-item h4,
.tm-home .single-service-info-item h4 a {
  font-size: 15px;
  line-height: 1.35;
}

.tm-home .single-service-info-item > p {
  font-size: 11px;
  line-height: 1.65;
}

/* Keep the // marker beside its label instead of inheriting the old offset. */
.tm-site .section-title > span {
  align-items: center;
  background: none !important;
  color: var(--tm-blue) !important;
  display: inline-flex;
  padding-left: 0 !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.tm-site .section-title > span::before {
  background: none !important;
  bottom: auto !important;
  color: currentColor !important;
  display: inline-block;
  flex: 0 0 auto;
  line-height: 1;
  margin-right: 7px;
  position: static !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

/* The experience unit is a small label, not a full-height image panel. */
.tm-home .about-img-funfact-content .fun-fact-bar {
  align-items: center;
  bottom: 22px !important;
  display: flex;
  flex-direction: row;
  height: auto !important;
  left: 22px !important;
  max-width: calc(100% - 44px);
  min-height: 76px;
  padding: 14px 19px;
  right: auto !important;
  top: auto !important;
  width: auto !important;
}

.tm-home .about-img-funfact-content .fun-fact-bar .year-img {
  display: block;
  flex: 0 0 auto;
}

.tm-home .about-img-funfact-content .fun-fact-bar h3 {
  font-size: 27px;
  line-height: 1;
  margin: 0 15px 0 0;
}

.tm-home .about-img-funfact-content .fun-fact-bar p {
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
  max-width: 125px;
}

/* Align check icons and copy as one row at every width. */
.tm-home .checked-list {
  margin-top: 20px;
}

.tm-home .checked-list li {
  align-items: flex-start;
  display: flex;
  gap: 13px;
  margin-top: 0;
  padding: 13px 0;
}

.tm-home .checked-list li::before {
  flex: 0 0 18px;
  font-size: 13px;
  left: auto !important;
  line-height: 1.65;
  position: static !important;
  text-align: center;
  top: auto !important;
}

/* A compact unified phone shortcut; reset the legacy negative indentation. */
.tm-site .hotline-phone-ring-wrap {
  align-items: stretch;
  display: flex;
  height: 46px;
}

.tm-site .hotline-phone-ring {
  flex: 0 0 46px;
  height: 46px !important;
  position: relative !important;
  width: 46px !important;
}

.tm-site .hotline-phone-ring-img-circle {
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 3px 0 0 3px !important;
  height: 46px !important;
  left: 0 !important;
  position: relative !important;
  top: 0 !important;
  width: 46px !important;
}

.tm-site .hotline-bar {
  align-items: center;
  background: rgba(3,23,37,.96) !important;
  border: 1px solid rgba(255,255,255,.14);
  border-left: 0;
  border-radius: 0 3px 3px 0 !important;
  bottom: auto !important;
  display: flex;
  height: 46px !important;
  left: auto !important;
  line-height: 46px !important;
  padding: 0 !important;
  position: relative !important;
  width: 158px !important;
}

.tm-site .hotline-bar > a {
  align-items: center;
  display: flex !important;
  height: 100%;
  justify-content: center;
  line-height: 1 !important;
  margin-left: 0 !important;
  padding: 0 14px;
  text-indent: 0 !important;
  width: 100%;
}

.tm-site .hotline-bar .text-hotline {
  color: var(--tm-white);
  font-family: var(--tm-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .075em;
  white-space: nowrap;
}

/* Inner pages: real Tekmaks project photography and an editorial, left-aligned masthead. */
.tm-inner .page-banner-wrap,
.tm-inner .page-banner-wrap.bg-cover {
  background-image: url("../../images/slider/9363665996391-886-slider 1.jpg") !important;
  background-position: center 48% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 350px;
  padding: 0 !important;
  text-align: left !important;
}

.tm-inner .page-banner-wrap::before {
  background: rgba(3,23,37,.67) !important;
  height: 100% !important;
  opacity: 1 !important;
  width: 100% !important;
}

.tm-inner .page-banner-wrap::after {
  display: none !important;
}

.tm-inner .page-banner-wrap > .container {
  align-items: flex-start;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  min-height: 350px;
  padding-bottom: 56px;
  padding-top: 72px;
  text-align: left;
}

.tm-inner .page-banner-wrap .page-heading {
  max-width: 900px;
  text-align: left;
}

.tm-inner .page-banner-wrap .page-heading h1,
.tm-inner .page-banner-wrap .page-heading h2,
.tm-inner .page-banner-wrap h1,
.tm-inner .page-banner-wrap h2 {
  font-size: clamp(38px, 4.8vw, 62px);
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0;
  text-align: left;
  text-transform: none;
}

.tm-inner .page-banner-wrap nav {
  margin-bottom: 17px;
}

.tm-inner .page-banner-wrap .breadcrumb {
  justify-content: flex-start;
  margin: 0;
  text-align: left;
}

.tm-inner .page-banner-wrap .breadcrumb .breadcrumb-item,
.tm-inner .page-banner-wrap .breadcrumb .breadcrumb-item a {
  font-family: var(--tm-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .tm-site .top-bar-wrapper .top-left a:nth-child(3) {
    display: none;
  }

  .tm-home .hero-2 .single-slide .container {
    padding-top: 155px;
  }

  .tm-home .hero-2 .single-slide .hero-contents {
    max-width: 740px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .tm-home .services-featured-box-wrapper .row > div:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.13);
  }

  .tm-home .services-featured-box-wrapper .row > div:nth-child(even) {
    border-right: 0;
  }

  .tm-home .single-service-info-item {
    min-height: 154px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .tm-home header.header-1.transparent-menu {
    top: 42px;
  }

  .tm-home .hero-2 .single-slide .container {
    padding-top: 150px;
  }
}

@media (max-width: 767px) {
  .tm-home .hero-2 .single-slide .hero-contents {
    margin-bottom: 88px;
    max-width: 620px;
  }

  .tm-home .hero-2 .single-slide .hero-contents.tm-hero-copy--long h3.fs-lg {
    font-size: clamp(32px, 9.6vw, 46px);
  }

  .tm-home .single-service-info-item {
    min-height: 132px;
    padding: 28px 20px 25px;
  }

  .tm-home .about-img-funfact-content .fun-fact-bar {
    bottom: 15px !important;
    left: 15px !important;
    max-width: calc(100% - 30px);
    min-height: 68px;
    padding: 12px 15px;
  }

  .tm-home .about-img-funfact-content .fun-fact-bar h3 {
    font-size: 24px;
    margin-right: 12px;
  }

  .tm-home .checked-list li {
    gap: 10px;
    padding: 11px 0;
  }

  .tm-inner .page-banner-wrap,
  .tm-inner .page-banner-wrap.bg-cover,
  .tm-inner .page-banner-wrap > .container {
    min-height: 275px;
  }

  .tm-inner .page-banner-wrap > .container {
    padding-bottom: 38px;
    padding-top: 52px;
  }

  .tm-inner .page-banner-wrap .page-heading h1,
  .tm-inner .page-banner-wrap .page-heading h2,
  .tm-inner .page-banner-wrap h1,
  .tm-inner .page-banner-wrap h2 {
    font-size: clamp(30px, 9vw, 42px);
  }
}

@media (max-width: 575px) {
  .tm-home .hero-2 .single-slide .container {
    padding-top: 112px;
  }

  .tm-home .hero-2 .single-slide .hero-contents {
    margin-bottom: 82px;
  }

  .tm-home .single-service-info-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .tm-home .single-service-info-item .icon p,
  .tm-home .single-service-info-item .icon i {
    font-size: 25px !important;
  }

  .tm-site .hotline-phone-ring-wrap {
    height: 44px;
  }

  .tm-site .hotline-phone-ring,
  .tm-site .hotline-phone-ring-img-circle {
    height: 44px !important;
    width: 44px !important;
  }

  .tm-site .hotline-phone-ring {
    flex-basis: 44px;
  }

  .tm-inner .page-banner-wrap,
  .tm-inner .page-banner-wrap.bg-cover,
  .tm-inner .page-banner-wrap > .container {
    min-height: 235px;
  }

  .tm-inner .page-banner-wrap > .container {
    padding-bottom: 30px;
    padding-top: 42px;
  }

  .tm-inner .page-banner-wrap nav {
    margin-bottom: 12px;
  }
}

/* Composition pass v4: stronger distinction from the former theme. */
/* Transparent header keeps only first-level links light. Dropdowns stay readable. */
.tm-home header.header-1 .main-menu ul li .sub-menu,
.tm-home header.header-1.transparent-menu .main-menu ul li .sub-menu,
.tm-site header.header-1.sticky .main-menu ul li .sub-menu {
  background: var(--tm-white) !important;
  border-color: var(--tm-line) !important;
}

.tm-home header.header-1 .main-menu ul li .sub-menu li a,
.tm-home header.header-1.transparent-menu .main-menu ul li .sub-menu li a,
.tm-site header.header-1.sticky .main-menu ul li .sub-menu li a {
  background: var(--tm-white) !important;
  color: var(--tm-ink) !important;
  text-shadow: none !important;
}

.tm-home header.header-1 .main-menu ul li .sub-menu li a:hover,
.tm-home header.header-1.transparent-menu .main-menu ul li .sub-menu li a:hover,
.tm-site header.header-1.sticky .main-menu ul li .sub-menu li a:hover {
  background: var(--tm-cloud) !important;
  color: var(--tm-blue) !important;
}

/* About: copy first, photography second. */
@media (min-width: 992px) {
  .tm-home .about-wrapper .row > div:first-child {
    order: 2;
    padding-left: clamp(38px, 5vw, 76px);
  }

  .tm-home .about-wrapper .row > div:last-child {
    order: 1;
    padding-left: 12px !important;
    padding-right: clamp(32px, 4vw, 62px);
  }

  .tm-home .about-wrapper .about-img-funfact-content {
    margin-left: auto !important;
  }
}

/* Testimonial: quotation leads on desktop, section explanation closes the row. */
@media (min-width: 1200px) {
  .tm-home .testimnial-carousel-wrapper .row > .col-xl-5 {
    order: 2;
    padding-left: clamp(48px, 6vw, 88px);
  }

  .tm-home .testimnial-carousel-wrapper .row > .col-xl-7 {
    order: 1;
  }

  .tm-home .customer-feedback-carousel-active {
    padding: 0 clamp(38px, 5vw, 70px) 0 0 !important;
  }
}

/* CTA becomes an editorial statement instead of another centred block. */
.tm-home .cta-wrapper .container > [class*="col-"] {
  margin-left: 0 !important;
  max-width: 900px;
  text-align: left !important;
}

.tm-home .cta-wrapper .cta-contents {
  text-align: left !important;
}

.tm-home .cta-wrapper h1 {
  max-width: 850px;
}

/* Contact: project image on the left, working form on the right. */
@media (min-width: 768px) {
  .tm-home .contact-us-wrapper .row > .col-md-5 {
    margin-left: 0 !important;
    order: 1;
  }

  .tm-home .contact-us-wrapper .row > .col-md-7 {
    order: 2;
    padding-left: clamp(38px, 5vw, 72px);
  }
}

/* Blog: one lead story and two compact stories, with the same panel content. */
@media (min-width: 992px) {
  .tm-home .blog-wrapper > .container > .row:last-child {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-rows: repeat(2, minmax(250px, 1fr));
    margin-left: 0;
    margin-right: 0;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"] {
    max-width: none;
    padding: 0;
    width: auto;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:first-child {
    grid-row: 1 / 3;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:first-child .single-blog-item {
    display: block;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:first-child .post-featured-thumb {
    height: 345px;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:not(:first-child) .single-blog-item {
    display: grid;
    grid-template-columns: minmax(180px, 42%) minmax(0, 58%);
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:not(:first-child) .post-featured-thumb {
    height: 100%;
    min-height: 250px;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:not(:first-child) .content {
    align-content: center;
    display: grid;
    padding: 24px;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:not(:first-child) .content h3,
  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:not(:first-child) .content h3 a {
    font-size: 17px;
  }

  .tm-home .blog-wrapper > .container > .row:last-child > [class*="col-"]:not(:first-child) .content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 1199px) {
  .tm-home .testimnial-carousel-wrapper .row > .col-xl-5 {
    order: 1;
  }

  .tm-home .testimnial-carousel-wrapper .row > .col-xl-7 {
    order: 2;
  }
}

@media (max-width: 991px) {
  .tm-home .about-wrapper .row > div:first-child {
    margin-top: 38px;
    order: 2;
  }

  .tm-home .about-wrapper .row > div:last-child {
    margin-top: 0 !important;
    order: 1;
  }
}

@media (max-width: 767px) {
  .tm-home .contact-us-wrapper .row > .col-md-7 {
    order: 1;
  }

  .tm-home .contact-us-wrapper .row > .col-md-5 {
    margin-left: 0 !important;
    order: 2;
  }

  .tm-home .cta-wrapper .container > [class*="col-"],
  .tm-home .cta-wrapper .cta-contents {
    text-align: left !important;
  }
}

@media (max-width: 575px) {
  .tm-home .blog-wrapper > .container > .row:last-child {
    row-gap: 20px;
  }
}

/* Final composition pass v5: service heading and action share an editorial masthead. */
@media (min-width: 768px) {
  .tm-home .best-services-wrapper > .container {
    align-items: end;
    column-gap: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tm-home .best-services-wrapper > .container > .col-12:first-child {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-left: 0 !important;
    max-width: 680px;
    text-align: left !important;
    width: auto;
  }

  .tm-home .best-services-wrapper > .container > .col-12:first-child .section-title {
    margin-bottom: 0;
    text-align: left !important;
  }

  .tm-home .best-services-wrapper > .container > .row {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .tm-home .best-services-wrapper > .container > .col-12.mt-50 {
    align-self: end;
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    padding: 0;
    text-align: right !important;
    width: auto;
  }
}

@media (max-width: 767px) {
  .tm-home .best-services-wrapper > .container > .col-12:first-child,
  .tm-home .best-services-wrapper > .container > .col-12:first-child .section-title {
    margin-left: 0 !important;
    text-align: left !important;
  }

  .tm-home .best-services-wrapper > .container > .col-12.mt-50 {
    margin-top: 28px !important;
    text-align: left !important;
  }
}
