h1 {
  color: #fff;
  font-size: 88px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  z-index: 100;
}


.custom-col{
  flex: 0 0 20%;
  max-width: 20%;
}
header {
  background-color: #ECEFF3;
  position: relative;
  padding-bottom: 12px;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.nav-pills .nav-link.active {
    background-color: #4F4C53;
}

.nav-pills .nav-link {

    border-radius: 0px;
}

.mobile-menu {
  display: none;
}


.hero-btn-col {
    width: 91%;
}

.hero-description-col {
    width: 39.666667%;
}


.custom-menu a {
  color: #232323;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

.custom-menu a:hover {
  padding: 10px 34px;
  color: #fff;
 
  transform: scale(0);
}



.custom-menu a.active {
  padding: 10px 34px;
  border-radius: 0;
  background-color: #bf1e2e;
  color: #fff;
}


.btn-close{
  color: #fff !important;
} 



/* Основные стили для неактивных ссылок */
.custom-menu-bottom-works a {
  color: #232323; /* Черный цвет для неактивных ссылок */
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}




/* Стили при наведении */
.custom-menu-bottom-works a.active {
  padding: 16px 36px;
  border-radius: 0;
  background-color: #bf1e2e;
  color: #fff; /* Цвет текста при наведении */
}

/* Стили для активных ссылок */
.custom-menu-bottom-works a:hover {
  background-color: #eceff300;
  border-radius: 0;
  color: #bf1e2e;
}


.cta-button {
  margin-right: 0 !important;
  align-self: stretch !important;
  border-radius: 34px !important;
  background-color: transparent !important;
  min-height: 39px !important;
  gap: 10px !important;
  padding: 10px 40px !important;
  border: 2px solid #bf1e2e !important;
  color: #000 !important;
}

.cta-button:hover {
  background-color: #bf1e2e !important;
  color: white !important;
  border: 2px solid #bf1e2e !important;
}




.red-line {
  background-color: #bf1e2e;
  height: 4px;
  margin-bottom: 12px;
}

.custom-menu-bottom {
  margin-bottom: 13px;
}

.custom-menu-bottom-tokar {
}
.hero-section {
    margin-bottom: 117px;
    height: 700px;
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

.hero-image {
  background-image: url(../img/hero.png);
  margin-bottom: 117px;
    height: 700px;
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
    background-attachment: fixed;

}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  
}

.hero-image .container {
  position: relative;
  z-index: 2;
  padding-left: 15px;
  padding-right: 15px;
}

.hero-title {
  position: relative;
  z-index: 3;
  color: #fff;
  margin-top: 205px;
  margin-bottom: 42px;

}

.hero-description {
  color: #fff;
  font-family: Inter;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 94px;
}

.cta-button-hero {
  width: 100%;
  color: #fff !important;
  max-width: 330px;
}

.button-arrow {
  transform: rotate(45deg);
  padding-left: 4px;
}

.cta-button-text {
  margin-right: 45px;
}

.hero-description-line {
  background-color: #bf1e2e;
  border: 3px solid #bf1e2e;
  height: 34px;
  width: 3px;
  margin-left: 0px;
}

.mail-icon {
  border: #bf1e2e solid 3px;
  border-radius: 34px;
  height: 39px;
  padding: 4px 20px;
}

.mail-icon {
  border: #bf1e2e solid 3px;
  border-radius: 34px;
  height: 39px;
  padding: 4px 20px;
  transition: background-color 0.3s ease;
}

.mail-icon:hover {
  background-color: #bf1e2e; 
}

.parent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  margin-bottom: 40px;
}

.div1 {
  grid-area: 1 / 1 / 2 / 2;
  background-image: url("../img/services_image_one.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.div2 {
  grid-area: 1 / 2 / 2 / 3;
  padding: 60px 20px;
}
.div3 {
  grid-area: 2 / 1 / 3 / 2;
  padding: 60px 20px;
}
.div4 {
  grid-area: 2 / 2 / 3 / 3;
  background-image: url("../img/services_image_two.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.info-title {
  color: #bf1e2e;
  font-family: Inter;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.info-span {
  color: #232323;
}

.info-img {
  width: 571px;
  height: 200px;
}

.info-description1 {
}

.info-description2 {
}

.company-info-button {
  margin-bottom: 120px;
  border-radius: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #000;
  text-transform: uppercase;
  padding: 8px 39px;
  font: 500 16px Inter, sans-serif;
  border: 2px solid #bf1e2e;
  cursor: pointer;
  width: 330px;
  height: 39px;
  box-sizing: border-box;
  margin-left: auto;
  transition: background-color 0.5s ease, color 0.5s ease; 
}

.company-info-button:hover {
  background-color: #bf1e2e; 
}

.info-img2 {
  margin-bottom: 40px;
}

.button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.button-text {
  flex: 1;
  white-space: nowrap;
}

.button-icon {
  width: 24px;
  height: 24px;
}

.services-section {
  background-color: #ECEFF3;
  padding-bottom: 60px;
}

h3 {
  width: 250px;
  color: #BF1E2E;
  font-family: Inter;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 60px;
  margin-bottom: 63px;
}

.services-description {
  margin-left: -3px;
  white-space: nowrap;
  margin-top: 60px;
}

.img-box-tokar{
  position: relative;
  background-image: url("../img/tokar.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 322px;
  cursor: pointer;
}

.img-box-frez{
  position: relative;
  background-image: url("../img/frezer.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 322px;
  cursor: pointer;
}

.img-box-laser{
  position: relative;
  background-image: url("../img/laser.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 322px;
  cursor: pointer;
}

.img-box-svar{
  position: relative;
  background-image: url("../img/svar.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 322px;
  cursor: pointer;
}

.img-box-plaz{
  position: relative;
  background-image: url("../img/plasma.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 322px;
  cursor: pointer;
}


.services-text {
  color: #ffffff;
  font-size: 20px;  
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.services-arrow {
  width: 24px; 
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 7L17 17' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17 7V17H7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  position: absolute;
  bottom: 12px;
  right: 12px;
}

.equipment-section {
  height: 1050px;
  background-color: #BF1E2E;
}

h4 {
  color: #BF1E2E;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.equipment-description-box {
  margin-top: 60px;
  padding-left: 40px;
  padding-top: 40px;

  height: 460px;
  background-color: #ffffff;
}

.equipment-description {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.equipment-image-one {
  margin-left: 10px;
  margin-top: 60px;
  background-image: url(../img/equipment_one.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  height: 460px;
}

.equipment-image-two {
  margin-top: 10px;
  background-image: url(../img/equipment_two.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  height: 460px;
}

.equipment-image-three {
  margin-left: 10px;
  margin-top: 10px;
  background-image: url(../img/equipment_three.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  height: 460px;
}

.contacts-section {
  height: 496px;
  background-color: #BF1E2E;
  
}

h5 {
  margin-top: 60px;
  margin-bottom: 60px;
  color: #FFF;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.contacts-company-name {
  margin-bottom: 49px;
  color:  #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
}

.col5-container {
  position: relative;
}

.phone-wrapper {
  display: flex;
  align-items: center; 
  margin-top: 15px; 
  margin-bottom: 30px;
}

.phone-icon {
  margin-right: 30px;
}

.contacts-numbers {
  margin-left: -45px;
  white-space: pre-wrap;
  color:  #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
}

.mail-wrapper {
  display: flex;
  align-items: center; 
  margin-top: 15px; 
  margin-bottom: 30px;
}

.mail-img {
  background-image: url(../img/mail.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 24px;
  height: 24px;
  margin-right: 40px; 
}

.contacts-email {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.location-img {
  background-image: url(../img/map-pin.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 24px;
  height: 24px;
  margin-right: 40px;
}

.contacts-location {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
}

.location-wrapper {
  display: flex;
  align-items: center;
}

.map-zaglushka {
  margin-top: 84px;
  background-image: url(../img/map-zaglushla.png);
  width: 100%;
  height: 336px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-bottom: 123px;
}



footer {
  height: 420px;
  background-color: #232323;
}

.footer-logo {
  background-image: url(../img/logo_white.png);
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  width: 160px;
  height: 85px;
  margin-top: 50px;
  margin-left: -12px;
  margin-bottom: 30px;
}

.footer-number {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 20px;
}

.footer-email {
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.footer-menu a {
  white-space: nowrap;
  text-decoration: none;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.footer-menu:not(:first-child) {
  margin-top: 20px;
}

.footer-menu-top a {
  margin-top: 165px;
  white-space: nowrap;
  text-decoration: none;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.footer-menu-top {
  margin-top: 165px;
}

.footer-menu-jobs a {
  white-space: nowrap;
  text-decoration: none;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.footer-menu-jobs:not(:first-child) {
  margin-top: 20px;
}

.footer-menu-top a {
  margin-top: 165px;
  white-space: nowrap;
  text-decoration: none;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.footer-menu-top {
  margin-top: 165px;
}



footer form {
  margin-top: 160px;
}

footer .form-control {
  color: #FFF;
  border-bottom: 0px;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid #FFF;
  background-color: transparent;
  border-radius: 0px;
}

footer .transparent-input {
  background-color: transparent !important;
  color: #fff !important;  
  border: none !important;
  border-bottom: 2px solid #fff !important;
}

footer .call-request-button {
  margin-top: 34px;
  align-self: stretch;
  border-radius: 34px;
  color: #fff;
  padding: 10px 40px;
  font: 500 16px Inter, sans-serif;
  border: 2px solid rgba(191, 30, 46, 1);
  cursor: pointer;
  background: none;
  width: 100%;
  transition: background-color #fff 0.3s ease
  
}

footer .transparent-input::placeholder {
  color: #ccc !important;  
}

footer .transparent-input:focus {
  outline: none !important;
  border-bottom: 2px solid #fff !important;
  box-shadow: none !important;
}

.question-title {
  margin-top: 60px;
  margin-bottom: 40px;
  color: #BF1E2E;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.question-title-span {
  color: #232323;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.question-box {
  position: relative;
  padding-top: 60px;
  padding-bottom: 43px;
  padding-left: 40px;
  padding-right: 40px;
  background-color: #ffffff;
  background-image: url(../img/string.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;

}

.form-control {

  border: 1px solid #8B8B8B;
  background-color: transparent;
  border-radius: 0px;
}

.question-section {
  background-color: #ECEFF3;
  padding-bottom: 120px;
}

.form-control-last {
  height: 144.634px;
  padding-bottom: 115px;
  line-height: 1;
}

.string-img {
  position: absolute;
  top: 0;
  left: 692px;
  z-index: 0;
  height: 280px;
  width: 376px;
}

.button-content-contacts {
  border-radius: 34px;
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 330px;
  height: 39px;
  background-color: #bf1e2e;
}

.button-text-contacts {
  color: #fff;
  border-radius: 34px;
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 330px;
  height: 39px;
  background-color: #bf1e2e;
  border-color: #bf1e2e;
}

.text-contacts {
  color: #232323;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  padding-bottom: 66px;
}

.form-check-input[type=checkbox] {
  border-radius: 0px;
  border: #8B8B8B solid 1px;
  width: 20px;
  height: 21px;
}


.form-check-label {
  font-size: 12px;
  white-space: nowrap;
}

.carousel-section {
  height: 402px;
  background-color: #FFF;
}

h6 {
  padding-bottom: 69px;
  padding-top: 128px;
  color: #BF1E2E;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.about-company-section {
  background-color: #FFF;
  display: flex;
  margin-top: 60px;
  margin-bottom: 120px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.parent-desktop {
  display: flex;
  justify-content: center;
}


.left-col {
  width: 73%;
}

.div1-page2 {
  position: relative;
  background-color: #474a51;
  height: 238px;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.div1-page2-title {
  position: absolute;
  top: 90px;
  color: rgb(255, 255, 255);
  font-family: Inter;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.div1-page2-description {
  position: absolute;
  top: 137px;
  color: #FFF;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: uppercase;
}

.div2-page2 {
  position: relative;
  background-color: #ffffff;
  height: 238px;
  border: 3px solid #474a51;
  border-bottom: 0px;
  width: 70%;
}

.div2-description-page2 {
  position: absolute;
  top: 64px;
  color: #232323;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
  margin-left: 53px;
}

.div3-page2{
  position: relative;
  background-color: #ffffff;
  height: 238px;
  width: 40%;
  border: 3px solid #474a51;
}

.div3-page2-description {
  position: absolute;
  top: 70px;
  color: #232323;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
  margin-left: 15px;
}

.div4-page2 {
  position: relative;
  background-color: #474a51;
  height: 238px;
  width: 28%;
}

.div4-page2-title {
  position: absolute;
  top: 89px;
  left: 78px;
  color: #FFF;
  font-family: Inter;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.div4-page2-description {
  position: absolute;
  top: 137px;
  left: 29px;
  color: #FFF;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: uppercase;
}

.div5-page2 {
  position: relative;
  background-color: #ffffff;
  height: 238px;
  width: 32%;
  border: 3px solid #474a51;
}

.div5-page2-description {
  position: absolute;
  top: 67px;
  left: 17px;
  color: #232323;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.div6-page2 {
  background-color: #474a51;
  width: 23.5%;
}

.div6-page2-title-box {
  padding-top: 51px;
  padding-left: 19px;
}

.div6-page2-title {
  color: #FFF;
  font-family: Inter;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
 }

 .tokar-button-container{
  margin: 0 auto;
  padding-top: 40px;
  max-width: 220px;
  border-radius: 29px;
  color: #fff;
  font: 500 16px Inter, sans-serif;
 }

 .tokar-button { 
  width: 220px;
  height: 34px;
  border-radius: 29px;
  border: 1px solid #fff;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
 }

 .frezer-button-container{
  margin: 0 auto;
  padding-top: 23px;
  max-width: 220px;
  border-radius: 29px;
  color: #fff;
  font: 500 16px Inter, sans-serif;
 }

 .frezer-button { 
  width: 220px;
  height: 34px;
  border-radius: 29px;
  border: 1px solid #fff;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
 }

 .laser-button-container{
  margin: 0 auto;
  padding-top: 23px;
  max-width: 220px;
  border-radius: 29px;
  color: #fff;
  font: 500 16px Inter, sans-serif;
 }

 .laser-button { 
  width: 220px;
  height: 34px;
  border-radius: 29px;
  border: 1px solid #fff;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
 }

 .plasma-button-container{
  margin: 0 auto;
  padding-top: 23px;
  max-width: 220px;
  border-radius: 29px;
  color: #fff;
  font: 500 16px Inter, sans-serif;
 }

 .plasma-button { 
  width: 220px;
  height: 34px;
  border-radius: 29px;
  border: 1px solid #fff;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
 }

 .svar-button-container{
  margin: 0 auto;
  padding-top: 23px;
  max-width: 220px;
  border-radius: 29px;
  color: #fff;
  font: 500 16px Inter, sans-serif;
 }

 .svar-button { 
  width: 220px;
  height: 34px;
  border-radius: 29px;
  border: 1px solid #fff;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
 }


.about-company-container {
  display: flex;
  width: 100%;
  flex-direction: column;
}



.about-company-header-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.about-company-column {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 50px;
}

.about-company-title {
  margin-right: 12px;
  color: #bf1e2e;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.about-company-description {
  color: #232323;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.tokar-button:hover, 
.frezer-button:hover, 
.laser-button:hover, 
.plasma-button:hover, 
.svar-button:hover {
  background-color: #BF1E2E; 
  color: #fff; 
  border-color: #BF1E2E; 
  transform: scale(1.1); 
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; 
}

.tokar-button, 
.frezer-button, 
.laser-button, 
.plasma-button, 
.svar-button {
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.advantages-section {
  background-color: #ECEFF3;
  height: 491px;
}

.advantages-title {
  padding-top: 66px;
  margin-bottom: 68px;
  color: #bf1e2e;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.advantage-buttons {
  display: flex;
  max-width: 360px;
  flex-direction: column;
  color: #000;
  text-transform: uppercase;
  font: 600 16px/1.4 Inter, sans-serif;
}

.advantage-button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  white-space: nowrap;
  text-align: center;
  border: 2px solid #4F4C53;
  background-color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: default;
}

.advantage-button-text {
  margin-bottom: 0px;
  color: #000;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; 
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.advantage-button:hover {
  background-color: #4F4C53;
}

.advantage-button:hover .advantage-button-text {
  color: #fff;
}

.advantage-button.active .advantage-button-text {
  color: #fff;
}


.advantage-button:hover {
background-color: #4F4C53;
transform: scale(1.05);
}

.advantage-button:hover .advantage-button-text {
color: #fff;
}

.advantages-description {
  font-size: 15px;
  padding-top: 238px;
  margin-bottom: 60px;
  text-align: justify;
}

.button-content-advantages {
    margin-left: auto;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 330px;
    height: 39px;
    background-color: transparent;
    border: #474a51 2px solid;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none; 
    -ms-user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease; /* Плавный переход */
}

.button-content-advantages:hover {
    background-color: #BF1E2E; /* Фон при наведении */
    color: white !important; /* Цвет текста при наведении (можно изменить) */
    border-color: #BF1E2E; /* Цвет рамки при наведении (можно изменить) */
}


.button-text-advantages {
  color: #4F4C53;
}

.contacts-section-page3 {
  height: 496px;
  background-color: #ffffff;
}

.contacts-title-page3 {
  margin-top: 60px;
  margin-bottom: 60px;
  color: #BF1E2E;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.contacts-company-name-page3 {
  color: #000000;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: uppercase;
}

.contacts-numbers-page3 {
  margin-left: -45px;
  white-space: pre-wrap;
  color: #000000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.contacts-email-page3 {
  color: #000000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.contacts-location-page3 {
  color: #000000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.mail-img-page3 {
  background-image: url(../img/mail-red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 24px;
  height: 24px;
  margin-right: 40px; 
}

.location-img-page3 {
  background-image: url(../img/map-pin-red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 24px;
  height: 24px;
  margin-right: 40px;
}

.work-types-section {
  background-color: #fff;
  height: 315px;
}

.work-types-title {
  color: #BF1E2E;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.68px;
  text-transform: uppercase;
}

.dot1-wrapper {
  margin-left: 20px;
  display: flex;
  align-items: center; 

}

.dot1-img {
  margin-right: 40px;
  background-image: url(../img/red-dot.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 12px;
  height: 12px;
 
}

.dot2-wrapper {
  margin-top: 47px;
  margin-left: 20px;
  display: flex;
  align-items: center; 

}

.dot2-img {
  margin-right: 40px;
  background-image: url(../img/red-dot.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 12px;
  height: 12px;
 
}

.dot3-wrapper {
  margin-top: 47px;
  margin-left: 20px;
  display: flex;
  align-items: center; 

}

.dot3-img {
  margin-right: 40px;
  background-image: url(../img/red-dot.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 12px;
  height: 12px;
 
}

/* .hero-tokar-image {
  margin-bottom: 117px;
  height: 700px;
  position: relative;
  background-image: url(../img/tokar-work-background.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
} */







/* Стили для кнопок и других элементов */
.cta-button {
    /* Ваши существующие стили для кнопок */
}





.modal-content {
  background-color: #BF1E2E;
  background-image: url(../img/string.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

.modal-header {
  padding-bottom: 0;
  border-bottom: none;
}

.modal-title {
  color: #FFF;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.48px;
  text-transform: uppercase;
}
.modal-title-thanks{
  color: #BF1E2E;     
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.48px;
  text-transform: uppercase;
}

.modal-instructions {
  margin-top: 18px;
  color: #FFF;
}

.name-input {
  border: #F2A4AC 1px solid;
}

.phone-input {
  border: #F2A4AC 1px solid;
}

.message-input {
  border: #F2A4AC 1px solid;
}

.file-input {
  border: #F2A4AC 1px solid;
}

.name-input::placeholder {
  color: #F2A4AC; 
}

.phone-input::placeholder {
  color: #F2A4AC;
}

.message-input::placeholder {
  color: #F2A4AC;

}

.file-input::placeholder {
  color: #F2A4AC;

}



.message-input {
  height: 120px;
  margin-top: 10px;
}

.form-check .form-check-input {
  float: left;
  margin-right: 20px;
}
#callBackModal .form-check .form-check-input{
    margin-left: -0.7em;
}



.window {
  margin-top: 10px;
  color: #F2A4AC;
}

.custom-checkbox {
  margin-top: 10px;
  background-color: none;
}

.file-input {
  width: 198px;
}

.upload-button  {
  font-weight: 500;
  color: #BF1E2E  ;
  border-radius: 0px;
  background-color: white;
  width: 198px;
  margin-left: 30px;
  border: none;
}

.send-order {
  margin: 0px;
  font-weight: 500;
  color: #BF1E2E  ;
  border-radius: 0px;
  background-color: white;
  border: none;
  width: 100%;
}

.send-order {
  font-weight: 500 !important;
  color: #BF1E2E !important;
  border-radius: 0px !important;
  background-color: white !important;
  border: none !important;
  width: 100% !important;
  transition: background-color 0.3s, color 0.3s !important;
}

.send-order:hover {
  background-color: white !important;
  color: #BF1E2E !important;
}

.send-order:active {
  background-color: #BF1E2E !important;
  color: white !important;
}



.btn-close {
  color: white;
}

.working-map {
    margin-top: 60px;
}

.thank-you-modal {
    background-color: white;
}

.modal-thank-you-title {
    margin-top: 0px !important;
     font-size: 55px;
    color: #BF1E2E !important;
}

.modal-thank-you-body {
    font-size: 35px;
}

.thank-you-span {
    color: #BF1E2E !important;
}

.thank-you-button {
    color: #000000; /* Основной цвет текста */
    background-color: transparent; /* Цвет фона по умолчанию */
    border: 1px solid transparent; /* Цвет рамки по умолчанию */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.thank-you-button:hover {
    color: #BF1E2E; /* Цвет текста при наведении */
    background-color: transparent; /* Фон при наведении */
    border-color: transparent; /* Цвет рамки при наведении */
}

.thank-you-button:active {
    color: #b10a0a; /* Цвет текста при нажатии */
    background-color: transparent; /* Фон при нажатии */
    border-color: #0a53be; /* Цвет рамки при нажатии */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Тень при нажатии */
}

.thank-you-button:disabled {
    color: #bf1313; /* Цвет текста для отключенной кнопки */
    background-color: transparent; /* Фон для отключенной кнопки */
    border-color: transparent; /* Рамка для отключенной кнопки */
}
















@media (min-width: 1200px) and (max-width: 1438px) {
    .equipment-description {
        font-size: 14px;
    }
      .equipment-description-box {
        width: 570px;
  }
  
    .equipment-image-two {
        width: 570px;
  }
        
    
}







@media (min-width: 1024px) and (max-width: 1200px) {
    .equipment-description {
        font-size: 14px;
    }
      .equipment-description-box {
         width: 480px;
  }
  
    .equipment-image-two {
         width: 480px;
  }
        
    
}


@media (min-width: 1440px) and (max-width: 2560px) {
  .equipment-image-one {
    width: 623px;
  }
  .equipment-image-two {
    width: 660px;
  }
  .equipment-image-three {
    width: 623px;
  }
  .equipment-description-box {
    width: 660px;;
  }
  
  .div4-page2-title {
      left: 88px;
  }
  
  .div4-page2-description {
      left: 36px;
  }
  
  
  
  
  
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .services-text {
    font-size: 17px;
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
  .hero-description-line {
    margin-left: 0; /* Убираем отрицательный отступ */
  }
}

/* Медиа-запросы для разных разрешений */

/* Для планшетов в альбомной ориентации и небольших ноутбуков (от 769px до 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  /* Дополнительные стили, если необходимо */
}

/* Для настольных компьютеров и больших экранов (от 993px и выше) */
@media (min-width: 993px) {
  /* Дополнительные стили, если необходимо */
}

/* Для планшетов в портретной ориентации (от 577px до 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
}

/* Для мобильных устройств (до 576px) */
@media (max-width: 576px) {

    header {
        padding-bottom: 0px;

    }

    h3, h5 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    h5 {
        font-size: 30px;
    }

    .info-title {
        font-size: 24px;
        margin-bottom: 20px;
        
    }
    .hero-image{
        height: 490px;
    }

    .hero-title {
        font-size: 30px;
        margin-top: 0px;
    }
    .hero-btn-col{
        width: 100%;
    }

    .hero-description,
    .mail-icon,
    .hero-description-line,
    .custom-menu,
    .cta-button-desktop,
    .red-line,
    .custom-menu-number,
    .services-description,
    .equipment-section, 
    .carousel-section, 
    .footer-form,
    .descktop-footer {
        display: none;
    }

    .mobile-menu {
        color: #ECEFF3;
        display: block;
        position: absolute;
        right: 0px;
        z-index: 9999;
        border: none;
        box-shadow: none;
        padding-left: 30px;
        padding-bottom: 30px;
    }
    .mobile-menu-footer{
        position: unset;
        margin-top: -64px;
    }
    .custom-col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .img-box-frez, .img-box-laser, .img-box-svar, .img-box-plaz, .img-box-tokar {
        height: 200px;
        margin-bottom: 10px;
    }

    .cta-button-hero {
        width: 100%; /* Изменяем ширину на 100% для адаптации к экрану */
    }

    .cta-button-text {
        margin-right: 0px;
    }

    .hero-image {
        margin-top: 100px;
        margin-bottom: 30px;
    }

    .top-menu-row {
        left: 0;
        right: 0; /* Центрируем меню */
    }

    .navbar-relative {
        position: relative;
    }

    .bg-body-tertiary {
        padding-top: 18px;
        background-color: #f5f5f500 !important;
    }

    .navbar .container {
        flex-direction: row-reverse;
    }

    .hero {
        margin-top: -100px;
    }

    .menu-open {
        background-color: #bf1e2e !important;
        width: 100%;
    }

    .navbar-toggler {
        border-color: #f5f5f500; 
        border: none; 
        outline: none; 
        box-shadow: none; 
        color: transparent;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(191, 30, 46, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .navbar-toggler.toggler-icon-open .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(191, 30, 46, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .navbar-toggler.toggler-icon-close .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cline x1='5' y1='5' x2='25' y2='25' stroke='white' stroke-width='3'/%3E%3Cline x1='5' y1='25' x2='25' y2='5' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
    }

    .question-section {
        padding-bottom: 0px;
        margin-top: -1px;
    }

    .parent {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        margin-bottom: 0px;
    }

    .div1 {
        grid-area: 2 / 1 / 3 / 2;
        background-image: url("../img/services_image_one.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 300px;
    }

    .div2 {
        grid-area: 1 / 1 / 2 / 2;
        padding: 20px 0px;
    }

    .div3 {
        grid-area: 3 / 1 / 4 / 2;
        padding: 20px 0px;
    }

    .div4 {
        display: none;
    }

    .company-info-button {
        margin: auto;
    }

    .info-container {
        padding-bottom: 40px;
    }

    .services-section {
        padding-bottom: 0px;
    }

    .text-contacts {
        padding-bottom: 0px;
    }

    .contacts-company-name {
        margin-bottom: 0px;
    }

    .phone-wrapper {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .contacts-numbers {
        margin-left: -70px;
    }

    footer {
        height: auto;
        padding-bottom: 20px;
    }

    .contacts-section {
        height: auto;
        padding-bottom: 20px;
    }

    .map-zaglushka {
        margin-top: 20px;
    }

    .footer-logo {
        margin-top: 10px;
        margin-bottom: 10px;
        width: auto;
    }

    .footer-menu-top {
        margin-top: 0px;
        text-align: center;
        
    }

    footer form {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    footer p, footer a,
    .footer-menu,
    .footer-menu-jobs,
    .footer-logo {
        text-align: center;
    }

    .location-img {
        width: 34px;
    }

    .mobile-menu .nav-link {
    
    color: white !important;
    text-align: right; 
    }

    .menu-phone::before {
        content: "\f095"; 
        font-family: "Font Awesome 5 Free"; 
        font-weight: 900; 
        color: white;
        margin-right: 8px; 
        display: inline-block; 
        transform: rotateY(180deg); 
    }

    .menu-phone {
        padding-top: 50px;
        padding-bottom: 50px;
        margin-left: -20px;
    }

    .div1-page2, .div2-page2, .div3-page2, .div4-page2, .div5-page2, .left-col {
        width: 100%;
        margin-right: 0px;
    }

    .about-company-header-container {
        display: block;
    }

    .about-company-column {
        margin-bottom: 6px;
    }

    .div2-description-page2, .div3-page2-description, .div5-page2-description {
        position: absolute;
        top: 10px;
        color: #232323;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        margin-left: 15px;
    }

    .div4-page2-description {
        left: 72px;
    }

    .div4-page2-title {
        left: 116px;
    }

    .div6-page2 {
        width: 100%;
    }

    .svar-button {
        margin-bottom: 47px;
    }

    .advantage-buttons {
        max-width: 391px;
    }

    .advantages-description {
        display: none;
    }

    .button-content-advantages {
        margin-top: 29px;
        margin-left: 30px;
        height: 34px;
    }

    .advantages-title {
        margin-top: -23px;
        margin-bottom: 28px;
    }

    .button-content-contacts {
        border-radius: 0px;
    }

    .button-text-contacts {
        width: 310px;
        border-radius: 0px;
    }

    .mail-img, .location-img {
        margin-right: 20px;
    }

    .about-company-section {
        margin-top: 20px;
        margin-bottom: 0px;
    }
    .advantages-section {
        display: none;
    }
    .question-title {
    margin-top: 40px;
    }
    .button-content-contacts{
        display:block;
        width: auto;
    }
   /*  .footer-menu-top, .footer-menu, .footer--desc-menu{
       display:none;
   }
   .footer--desc-menu .bg-body-tertiary{
       background-color: #bf1e2e00;
   } */
   
   

}

@media (min-width: 320px) and (max-width: 375px) {
    
        .hero-title {
        font-size: 25px;
    }
    
    .services-text {
        font-size: 15px;
    }
    
    .company-info-button {
        width: 290px;
    }
    
  
   .form-check .form-check-input  {
       margin-right: 0px;
   }
    
    .form-check-label {
        font-size: 9px;
    }
    
   .contacts-numbers {
       font-size: 15px;
   }
    
  .button-text-contacts {
      width: 240px;
  }
  
  .button-text-contacts {
      width: 240px;
  }
}






