@charset "UTF-8";
html, body {
  margin: 0;
  padding: 0;
}

@view-transition {
  navigation: auto;
}
@media (min-width: 992px) { /* lg breakpoint */
  .position-lg-absolute {
    position: absolute !important;
  }
}
@media (max-width: 991.98px) {
  .position-lg-absolute {
    position: relative !important;
  }
}
.montserrat-extralight {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: "200";
  font-style: normal;
}

.montserrat-light {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: "300";
  font-style: normal;
}

.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: "400";
  font-style: normal;
}

.montserrat-medium {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: "500";
  font-style: normal;
}

.montserrat-semibold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: "600";
  font-style: normal;
}

.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: "700";
  font-style: normal;
}

.montserrat-extrabold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: "800";
  font-style: normal;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  /*    background-color: black;
      background: radial-gradient(circle at 50% 30%, #666666 0%, #000 100%);
      background-attachment: fixed;
      height: 100vh;
      width: 100vw;*/
  background: linear-gradient(30deg, rgba(36, 130, 154, 0) 0%, rgba(36, 130, 154, 0) 55%, rgba(36, 130, 154, 0.1) 55%, rgba(36, 130, 154, 0.1) 65%, rgba(36, 130, 154, 0) 65%, rgba(36, 130, 154, 0) 100%), radial-gradient(circle at center, #444 0%, #000 100%);
}

h1, h2, h4, .display-1, .display-5 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  position: relative;
}

h3 {
  font-size: 1.4em !important;
}

.container {
  max-width: 1600px !important;
}

.container-frame {
  max-width: 1920px !important;
  margin-right: auto;
  margin-left: auto;
}

.bigFatTitle {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #24829a;
  position: relative;
}

.smallTitle {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #24829a;
  position: relative;
}

.smallTitleWhite {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
}

.smallTitleUnderline {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #24829a;
  position: relative;
  margin-bottom: 1.5rem;
}
.smallTitleUnderline::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 20%;
  height: 2px;
  background-color: #24829a;
}

.midTitle {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #24829a;
  position: relative;
}

.midTitleUnderlineFull {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #24829a;
  position: relative;
  margin-bottom: 2rem;
}
.midTitleUnderlineFull::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #24829a;
}

.smallTitleUnderlineWhite {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  margin-bottom: 1.5rem;
}
.smallTitleUnderlineWhite::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 20%;
  height: 2px;
  background-color: #ffffff;
}

.bigHeadline {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.megaTitle {
  font-size: 7rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.8;
  transform: translateY(-0.1em);
}

#navbar-top {
  z-index: 2000;
}

#header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background-image: url("../img/bgtop.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-color: #fc8b8b;
  z-index: 1;
  height: 70vh;
  min-height: 800px !important;
}

#header {
  display: flex;
  align-items: center;
}

/* Mobile: center logo horizontally, keep burger on the right */
@media (max-width: 991.98px) {
  .navbar > .container-fluid {
    position: relative;
    justify-content: center; /* keeps logo centered */
    align-items: center; /* keeps vertical alignment tidy in closed state */
  }
  .navbar-brand {
    margin-right: 10px;
    margin-left: 0;
  }
  .navbar-toggler {
    position: absolute;
    right: 2rem; /* or 1rem, tweak as you like */
    top: 2rem; /* fixed distance from top */
    transform: none; /* IMPORTANT: remove translateY */
    border: none !important;
    outline: none !important;
    box-shadow: none !important; /* removes focus ring */
    padding: 0.25rem; /* optional: adjust spacing around the icon */
  }
}
.hero {
  max-width: 1200px !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center; /* vertically center hero children */
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.hero {
  /* keep hero content above the overlay */
}
.hero > * {
  position: relative;
  z-index: 6;
}
@media (max-width: 768px) {
  .hero {
    /* revert to normal flow on small screens */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
}

#logo-div {
  transition: padding-top 0.4s;
}

#contacts-banner {
  position: relative;
  float: right;
  padding: 0.8rem;
  padding-left: 5rem;
  color: #ffffff;
}
#contacts-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cd171d;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
  z-index: -1;
}

#main-values {
  position: relative;
  top: -150px;
  z-index: 10;
}
@media (max-width: 768px) {
  #main-values {
    top: 20px;
  }
}

#optimalizacia {
  background: url("../img/ts-tec-005.webp") no-repeat center/cover;
  position: relative;
  overflow: hidden;
}

/* FULL-HEIGHT overlay for the right 50% */
#optimalizacia .right-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%; /* EXACTLY your right col */
}
@media (max-width: 768px) {
  #optimalizacia .right-overlay {
    width: 100%; /* full width on small screens */
  }
}
#optimalizacia .right-overlay {
  background: #24829a;
  opacity: 0.7; /* your desired opacity */
  pointer-events: none;
  z-index: 1; /* sits ABOVE image */
}

/* Bootstrap content stays ABOVE the overlay */
#optimalizacia .blendContent {
  position: relative;
  z-index: 2;
}

#usedMachinesSection {
  background: url("../img/ts-tec-023.webp") no-repeat center/cover;
  position: relative;
  overflow: hidden;
}

/* FULL-HEIGHT overlay for the right 50% */
#usedMachinesSection .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%; /* EXACTLY your right col */
  background: #24829a;
  opacity: 0.7; /* your desired opacity */
  pointer-events: none;
  z-index: 1; /* sits ABOVE image */
}

/* Bootstrap content stays ABOVE the overlay */
#usedMachinesSection .content {
  position: relative;
  z-index: 2;
}

.two-lines {
  position: relative;
  width: 40px; /* adjust to taste */
  height: 100%; /* adjust to taste */
  display: inline-block;
}

.two-lines::before,
.two-lines::after {
  content: "";
  position: absolute;
  width: 5px; /* line thickness */
  height: 80px; /* line length */
  background: #1e8aa5; /* teal color */
  border-radius: 3px;
  transform: rotate(45deg);
}

.two-lines::after {
  top: 20px; /* distance between lines */
}

/*slideshow*/
/* Full-width band */
.machine-slider {
  width: 100%;
}

/* Viewport: full width, clips peeks */
.slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Horizontal strip of slides */
.machine-track {
  display: flex;
}

/* Each slide: 40% of viewport ⇒ 2 full slides (80%) + 20% shared peeks */
.machine-slide {
  flex: 0 0 40%;
  padding: 0 1.5rem;
}

/* Card styling */
.machine-card {
  background: #fff;
  padding: 2rem;
  height: 100%;
}

.machine-card h3 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.machine-line {
  height: 4px;
  width: 100%;
  background: #e30613;
}

/* Buttons above everything */
.slider-prev,
.slider-next {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  z-index: 10; /* <–– fixes the click problem */
}

/* Mobile: show 1 big slide with small peeks */
@media (max-width: 768px) {
  .machine-slide {
    flex: 0 0 80%;
  }
}
/*slideshow end*/
.contact-card {
  border: 2px solid rgb(255, 255, 255);
  padding: 1.5rem;
  background: transparent;
}

.contact-card a {
  color: #fff;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/*
.mask1 {

  -webkit-mask-image: url('../img/vector_turn.svg');
  mask-image: url('../img/vector_turn.svg');
  mask-repeat: no-repeat;
  mask-size: cover;
  mask-position: center center;

}
*/
.masked-bg {
  position: relative;
  overflow: hidden;
}

/* solid color, clipped by the mask */
.masked-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #24829a;
  -webkit-mask: url("../img/vector_turn.svg") center top/cover no-repeat;
  mask: url("../img/vector_turn.svg") center top/cover no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* image on top of the color, also clipped, with controllable opacity */
.masked-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/ts-tec-047.webp") center top/cover no-repeat;
  opacity: 0.1; /* your 10% image opacity */
  -webkit-mask: url("../img/vector_turn.svg") center top/cover no-repeat;
  mask: url("../img/vector_turn.svg") center top/cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* keep your content above both layers */
.masked-bg > * {
  position: relative;
  z-index: 1;
}

#services {
  position: relative;
  top: -120px;
}

/*not used
.textTwoColumns {
  column-count: 2;
  column-width: 200px;

  @media (min-width: 768px) {
    column-count: 1;
  }
}
*/
#intro-slideshow {
  height: 480px;
  overflow: visible;
}
@media (max-width: 500px) {
  #intro-slideshow {
    height: 300px;
    overflow: visible;
  }
}

#two-percent-block {
  overflow-x: clip;
  overflow-y: visible;
}

.img-perc {
  position: absolute !important;
  top: -10vh;
  right: -18vw;
  display: inline-block;
}
@media (max-width: 999px) {
  .img-perc {
    top: -280px;
    right: -140px;
    width: 80vw;
  }
}

@media (min-width: 1200px) {
  .shadow-solid-right {
    position: relative;
  }
  .shadow-solid-right::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    right: -6%;
    bottom: -10%;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    transform-origin: center center;
    box-shadow: 0 0 0px 15px rgba(0, 0, 0, 0.05);
    z-index: -1;
  }
  .shadow-solid-left {
    position: relative;
  }
  .shadow-solid-left::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -6%;
    right: 50%;
    bottom: 5%;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    transform-origin: center center;
    box-shadow: 0 0 0px 15px rgba(0, 0, 0, 0.05);
    z-index: -1;
  }
}
.underline-block-teal {
  position: relative;
  display: inline-flex;
}
.underline-block-teal::before {
  content: "";
  display: inline-flex;
  position: absolute;
  left: -10px;
  bottom: 20%;
  width: 0;
  height: 20px;
  background: #24829a;
  border-radius: 2px;
  z-index: 0;
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes underline-grow {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

.underline-block-teal.in-view {
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tstec-fill-teal {
  color: #24829a;
}

.tstec-bg-teal {
  background-color: #24829a;
}

.tstec-border-teal {
  border-color: #24829a;
  border-style: solid;
  border-width: 5px;
  border-radius: 15px;
  z-index: 5;
}

.tstec-border-bottom-teal {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}
.tstec-border-bottom-teal::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background-color: #24829a;
  border-radius: 2px;
  z-index: 5;
}

.tstec-button-teal {
  padding: 10px 30px !important;
  border-radius: 0px;
  border: 3px solid transparent;
  color: white;
  background-color: #24829a;
  text-transform: uppercase;
}
.tstec-button-teal:hover {
  background-color: white !important;
  border: 3px solid;
  color: #24829a;
  border-color: #24829a !important;
}

.readmore-button-teal {
  padding: 7px 20px !important;
  border-radius: 0px 50px 50px 50px;
  border: 2px solid transparent;
  color: black;
  background-color: #24829a;
  text-transform: uppercase;
}
.readmore-button-teal:hover {
  background-color: white !important;
  border: 2px solid;
  border-color: #24829a !important;
}

.list-bullet {
  /* Remove default list icon */
  list-style: none;
  padding: 0;
  padding-left: 1.5rem;
}
.list-bullet .li-teal::before {
  content: "● ";
  color: #24829a;
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 0;
  /* If you want some space between icon and text: */
  margin-right: 0.5rem;
  margin-left: -1rem;
}

.underline-block-red {
  position: relative;
  display: inline-flex;
}
.underline-block-red::before {
  content: "";
  display: inline-flex;
  position: absolute;
  left: -10px;
  bottom: 20%;
  width: 0;
  height: 20px;
  background: #cd171d;
  border-radius: 2px;
  z-index: 0;
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes underline-grow {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

.underline-block-red.in-view {
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tstec-fill-red {
  color: #cd171d;
}

.tstec-bg-red {
  background-color: #cd171d;
}

.tstec-border-red {
  border-color: #cd171d;
  border-style: solid;
  border-width: 5px;
  border-radius: 15px;
  z-index: 5;
}

.tstec-border-bottom-red {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}
.tstec-border-bottom-red::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background-color: #cd171d;
  border-radius: 2px;
  z-index: 5;
}

.tstec-button-red {
  padding: 10px 30px !important;
  border-radius: 0px;
  border: 3px solid transparent;
  color: white;
  background-color: #cd171d;
  text-transform: uppercase;
}
.tstec-button-red:hover {
  background-color: white !important;
  border: 3px solid;
  color: #cd171d;
  border-color: #cd171d !important;
}

.readmore-button-red {
  padding: 7px 20px !important;
  border-radius: 0px 50px 50px 50px;
  border: 2px solid transparent;
  color: black;
  background-color: #cd171d;
  text-transform: uppercase;
}
.readmore-button-red:hover {
  background-color: white !important;
  border: 2px solid;
  border-color: #cd171d !important;
}

.list-bullet {
  /* Remove default list icon */
  list-style: none;
  padding: 0;
  padding-left: 1.5rem;
}
.list-bullet .li-red::before {
  content: "● ";
  color: #cd171d;
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 0;
  /* If you want some space between icon and text: */
  margin-right: 0.5rem;
  margin-left: -1rem;
}

.underline-block-transparent {
  position: relative;
  display: inline-flex;
}
.underline-block-transparent::before {
  content: "";
  display: inline-flex;
  position: absolute;
  left: -10px;
  bottom: 20%;
  width: 0;
  height: 20px;
  background: rgba(255, 255, 255, 0);
  border-radius: 2px;
  z-index: 0;
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes underline-grow {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

.underline-block-transparent.in-view {
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tstec-fill-transparent {
  color: rgba(255, 255, 255, 0);
}

.tstec-bg-transparent {
  background-color: rgba(255, 255, 255, 0);
}

.tstec-border-transparent {
  border-color: rgba(255, 255, 255, 0);
  border-style: solid;
  border-width: 5px;
  border-radius: 15px;
  z-index: 5;
}

.tstec-border-bottom-transparent {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}
.tstec-border-bottom-transparent::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 2px;
  z-index: 5;
}

.tstec-button-transparent {
  padding: 10px 30px !important;
  border-radius: 0px;
  border: 3px solid transparent;
  color: white;
  background-color: rgba(255, 255, 255, 0);
  text-transform: uppercase;
}
.tstec-button-transparent:hover {
  background-color: white !important;
  border: 3px solid;
  color: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0) !important;
}

.readmore-button-transparent {
  padding: 7px 20px !important;
  border-radius: 0px 50px 50px 50px;
  border: 2px solid transparent;
  color: black;
  background-color: rgba(255, 255, 255, 0);
  text-transform: uppercase;
}
.readmore-button-transparent:hover {
  background-color: white !important;
  border: 2px solid;
  border-color: rgba(255, 255, 255, 0) !important;
}

.list-bullet {
  /* Remove default list icon */
  list-style: none;
  padding: 0;
  padding-left: 1.5rem;
}
.list-bullet .li-transparent::before {
  content: "● ";
  color: rgba(255, 255, 255, 0);
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 0;
  /* If you want some space between icon and text: */
  margin-right: 0.5rem;
  margin-left: -1rem;
}

.underline-block-inactive {
  position: relative;
  display: inline-flex;
}
.underline-block-inactive::before {
  content: "";
  display: inline-flex;
  position: absolute;
  left: -10px;
  bottom: 20%;
  width: 0;
  height: 20px;
  background: #d6d6d6;
  border-radius: 2px;
  z-index: 0;
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes underline-grow {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

.underline-block-inactive.in-view {
  animation: underline-grow 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tstec-fill-inactive {
  color: #d6d6d6;
}

.tstec-bg-inactive {
  background-color: #d6d6d6;
}

.tstec-border-inactive {
  border-color: #d6d6d6;
  border-style: solid;
  border-width: 5px;
  border-radius: 15px;
  z-index: 5;
}

.tstec-border-bottom-inactive {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}
.tstec-border-bottom-inactive::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background-color: #d6d6d6;
  border-radius: 2px;
  z-index: 5;
}

.tstec-button-inactive {
  padding: 10px 30px !important;
  border-radius: 0px;
  border: 3px solid transparent;
  color: white;
  background-color: #d6d6d6;
  text-transform: uppercase;
}
.tstec-button-inactive:hover {
  background-color: white !important;
  border: 3px solid;
  color: #d6d6d6;
  border-color: #d6d6d6 !important;
}

.readmore-button-inactive {
  padding: 7px 20px !important;
  border-radius: 0px 50px 50px 50px;
  border: 2px solid transparent;
  color: black;
  background-color: #d6d6d6;
  text-transform: uppercase;
}
.readmore-button-inactive:hover {
  background-color: white !important;
  border: 2px solid;
  border-color: #d6d6d6 !important;
}

.list-bullet {
  /* Remove default list icon */
  list-style: none;
  padding: 0;
  padding-left: 1.5rem;
}
.list-bullet .li-inactive::before {
  content: "● ";
  color: #d6d6d6;
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 0;
  /* If you want some space between icon and text: */
  margin-right: 0.5rem;
  margin-left: -1rem;
}

/*section background images*/
/* section background images */
/* base / desktop styles */
#od-myslienky-k-vyrobe {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-042.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #od-myslienky-k-vyrobe {
    background-image: url("../img/ts-tec-042m2.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#o-nas {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-021.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #o-nas {
    background-image: url("../img/ts-tec-021.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#konstrukcia {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-003.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #konstrukcia {
    background-image: url("../img/ts-tec-003.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#cnc-sustruzenie {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-054.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #cnc-sustruzenie {
    background-image: url("../img/ts-tec-054.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#cnc-frezovanie {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-014.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #cnc-frezovanie {
    background-image: url("../img/ts-tec-014.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#cnc-brusenie {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-055.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #cnc-brusenie {
    background-image: url("../img/ts-tec-055.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#optimalizacia-vyrobnych-procesov {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-026.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #optimalizacia-vyrobnych-procesov {
    background-image: url("../img/ts-tec-026.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#presne-cnc-sustruzenie {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-049.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #presne-cnc-sustruzenie {
    background-image: url("../img/ts-tec-049.webp");
    background-position: center center !important;
  }
}
/* base / desktop styles */
#meranie-3d {
  position: relative;
  height: 70vh;
  min-height: 800px !important;
  background-image: url("../img/ts-tec-056.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
}

/* mobile / tablet override – same breakpoint as navbar (lg) */
@media (max-width: 991.98px) {
  #meranie-3d {
    background-image: url("../img/ts-tec-056.webp");
    background-position: center center !important;
  }
}
.overlay {
  position: relative;
  aspect-ratio: 1/1.1;
}
.overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.overlay:hover::after {
  opacity: 1;
}

.square-text {
  position: absolute;
  width: 100%;
  min-height: 5em;
  display: flex;
  align-items: center;
  bottom: 30px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  z-index: 2;
  transition: background-color 0.3s ease, bottom 0.3s ease;
  padding-right: 2.5em !important;
}
.square-text::after {
  content: url("../img/arrow.svg");
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.square-text > * {
  opacity: 1;
}
.square-text:hover {
  background-color: red;
  bottom: 40px;
}

.button-napreduj {
  background-color: transparent;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 10px 30px;
  border-radius: 0px 50px 50px 50px;
  border: solid 2px #ffffff;
  transition: background-color 0.3s, color 0.3s;
  position: relative;
}
.button-napreduj::after {
  content: url("../img/arrow.svg");
  display: inline-block;
  position: absolute;
  left: 90%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.button-napreduj:hover::after {
  transform: translateX(15px);
}
.button-napreduj:hover {
  background-color: #fc8b8b;
}

.gall-photo {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.nav-link {
  font-weight: 500;
}

.nav-link:hover, .dropdown-item:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
  text-decoration-color: #24829a;
  background-color: transparent;
}

.nav-link-button:hover {
  text-decoration: none;
}

.circle-text-holder {
  position: absolute;
  height: 7em;
  width: 100%;
  bottom: 0;
  z-index: 1;
  transition: 0.4s ease-in-out;
}

.circle-text-holder-service {
  position: absolute;
  height: 5em;
  width: 100%;
  bottom: 0;
  z-index: 1;
  transition: 0.4s ease-in-out;
}

.circle-text {
  position: absolute;
  top: 55%;
  left: 5%;
  right: 5%;
  z-index: 2;
  transform: translateY(-50%);
  transition: 0.4s ease-in-out;
}

.circle-icons-holder {
  width: 100%;
  position: absolute;
  top: -65%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.circle-service-text {
  opacity: 0;
  position: absolute;
  top: 12.5em;
  left: 7%;
  right: 7%;
  z-index: 2;
  transition: 0.4s ease-in-out;
}

.circle-image {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.circle-cta {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.circle-teal {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-teal:hover {
  z-index: 100;
  background-color: #24829a;
}
.circle-teal:hover .circle-image {
  opacity: 0;
}
.circle-teal:hover .circle-text-holder {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-teal:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-teal:hover .circle-icons-holder {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.circle-teal:hover .circle-cta {
  opacity: 1;
}

.circle-service-teal {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-service-teal:hover {
  z-index: 100;
  background-color: #24829a;
}
.circle-service-teal:hover .circle-image {
  opacity: 0;
}
.circle-service-teal:hover .circle-text-holder-service {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-service-teal:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-service-teal:hover .circle-service-icons {
  opacity: 1;
}
.circle-service-teal:hover .circle-cta {
  opacity: 1;
}

.circle-red {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-red:hover {
  z-index: 100;
  background-color: #cd171d;
}
.circle-red:hover .circle-image {
  opacity: 0;
}
.circle-red:hover .circle-text-holder {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-red:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-red:hover .circle-icons-holder {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.circle-red:hover .circle-cta {
  opacity: 1;
}

.circle-service-red {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-service-red:hover {
  z-index: 100;
  background-color: #cd171d;
}
.circle-service-red:hover .circle-image {
  opacity: 0;
}
.circle-service-red:hover .circle-text-holder-service {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-service-red:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-service-red:hover .circle-service-icons {
  opacity: 1;
}
.circle-service-red:hover .circle-cta {
  opacity: 1;
}

.circle-transparent {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-transparent:hover {
  z-index: 100;
  background-color: rgba(255, 255, 255, 0);
}
.circle-transparent:hover .circle-image {
  opacity: 0;
}
.circle-transparent:hover .circle-text-holder {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-transparent:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-transparent:hover .circle-icons-holder {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.circle-transparent:hover .circle-cta {
  opacity: 1;
}

.circle-service-transparent {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-service-transparent:hover {
  z-index: 100;
  background-color: rgba(255, 255, 255, 0);
}
.circle-service-transparent:hover .circle-image {
  opacity: 0;
}
.circle-service-transparent:hover .circle-text-holder-service {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-service-transparent:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-service-transparent:hover .circle-service-icons {
  opacity: 1;
}
.circle-service-transparent:hover .circle-cta {
  opacity: 1;
}

.circle-inactive {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-inactive:hover {
  z-index: 100;
  background-color: #d6d6d6;
}
.circle-inactive:hover .circle-image {
  opacity: 0;
}
.circle-inactive:hover .circle-text-holder {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-inactive:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-inactive:hover .circle-icons-holder {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.circle-inactive:hover .circle-cta {
  opacity: 1;
}

.circle-service-inactive {
  display: block;
  max-width: 400px;
  position: relative;
  clip-path: circle(50% at 50% 50%);
}
.circle-service-inactive:hover {
  z-index: 100;
  background-color: #d6d6d6;
}
.circle-service-inactive:hover .circle-image {
  opacity: 0;
}
.circle-service-inactive:hover .circle-text-holder-service {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  z-index: 1;
}
.circle-service-inactive:hover .circle-text {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  z-index: 2;
  transform: translateY(-50%);
}
.circle-service-inactive:hover .circle-service-icons {
  opacity: 1;
}
.circle-service-inactive:hover .circle-cta {
  opacity: 1;
}

.circle-cats {
  max-width: 150px;
  clip-path: circle(40%);
}

.circle-service-section {
  clip-path: circle(50%);
}
@media (max-width: 992px) {
  .circle-service-section {
    max-width: 300px;
    padding: 0 !important;
  }
}

.circle-team {
  max-height: 350px !important;
  clip-path: circle(40%);
  padding: 30px;
}

.list-circled-white li {
  list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' fill='%23fff' class='bi bi-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3C/svg%3E");
}

.napreduj-bg-inactive > img {
  opacity: 0.2;
}

.main-top-wave {
  width: 100%;
  height: 690px;
  background: url("../img/napreduj-main-top-wave-wide.svg") no-repeat center -430px;
  background-size: fixed;
}
@media (max-width: 992px) {
  .main-top-wave {
    height: 920px;
    background-position: center -130px;
    z-index: -2;
  }
}

.main-top-wave-services {
  width: 100%;
  height: 720px;
  background: url("../img/napreduj-main-top-wave-wide.svg") no-repeat center -400px;
  background-size: fixed;
}
@media (max-width: 992px) {
  .main-top-wave-services {
    height: 950px;
    background-position: center -100px;
  }
}

.main-bottom-wave-rotated {
  width: 100%;
  height: 530px;
  background: url("../img/napreduj-main-top-wave-wide-rotated.svg") no-repeat center -100px;
  background-size: fixed;
}

.section-yellow-wave {
  width: 100%;
  height: 570px;
  background: url("../img/napreduj-main-top-wave-wide-yellow.svg") no-repeat center -550px;
  background-size: fixed;
}

.bg-wave-shadow {
  width: 100%;
  height: 100%;
  background: url("../img/bg-wave-shadow.svg") no-repeat center center;
  background-size: cover;
  z-index: -2;
}

.fade-long-text {
  display: block;
  max-height: 400px;
  -webkit-mask-image: linear-gradient(to bottom, white, transparent);
          mask-image: linear-gradient(to bottom, white, transparent);
}

.fade-long-text-bg {
  display: block;
  background: linear-gradient(to bottom, rgb(0, 0, 0), transparent);
  color: transparent;
  -webkit-background-clip: text;
          background-clip: text;
}

.circle-the-number {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.circle-the-number::before {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  content: var(--checkcircle);
}

.tooltip-bubble-right {
  position: absolute;
  top: 20px;
  right: 0px;
  width: 40%;
  transform: rotate(8deg);
  background: #fff;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.tooltip-bubble-right::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: -40px;
  transform: translateX(-50%);
  width: 40px;
  height: 42px;
  background-image: var(--comicstail);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
@media (max-width: 992px) {
  .tooltip-bubble-right {
    width: 100%;
    top: -40px;
    position: relative;
  }
}

.tooltip-bubble-left {
  position: absolute;
  top: 20px;
  left: 0px;
  width: 40%;
  transform: rotate(-8deg);
  background: #fff;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.tooltip-bubble-left::after {
  content: "";
  position: absolute;
  right: 15%;
  bottom: -40px;
  transform: translateX(-50%);
  width: 40px;
  height: 42px;
  background-image: var(--comicstail);
  transform: scaleX(-1);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
@media (max-width: 992px) {
  .tooltip-bubble-left {
    width: 100%;
    top: -40px;
    position: relative;
  }
}

.zoom-hover {
  transition: 0.5s ease-in-out;
}

.zoom-hover:hover {
  transform: scale(1.05);
}

#thankyouModal {
  z-index: 9999999 !important;
}

/* VIDEO START */
#video-bg video {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 60%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 576px) {
  #video-bg {
    height: 30vh;
    --bs-gutter-x: 0 !important;
  }
}
@media (min-width: 576px) {
  #video-bg {
    height: 80vh;
    --bs-gutter-x: 0 !important;
  }
}
@media (min-width: 1200px) {
  #video-bg {
    height: 70vh !important;
    min-height: 820px !important;
    --bs-gutter-x: 0 !important;
  }
}
/* Style the video: 100% width and height to cover the entire window */
#myVideo {
  position: relative;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1001; /* Lower z-index than the overlay */
}

/* VIDEO END */
/*map resposive*/
.map-responsive {
  overflow: hidden;
  padding-bottom: 100%; /*56.25%*/
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/** BACK TO TOP **/
#toTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 9999;
  padding: 15px;
  cursor: pointer;
} 
.grecaptcha-badge {
  visibility: hidden;
}

/*hide logo but adding a notice that the site is protected by reCAPTCHA.*/
/* Scroll margin for sections to account for fixed navbar */
section {
  scroll-margin-top: 70px; /* height of your navbar */
}/*# sourceMappingURL=styles.css.map */