* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body{
  font-family: "Exo 2", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
main{
  width: 100%;
}
button {
  font-family: "Exo 2", sans-serif;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
a {
  color: #000;
  text-decoration: none;
  /* gap: 50px; */
  cursor: pointer;
}
a:hover {
  color: #802a34;
}

/* HEADER START */
.header {
  background: url(img/sun-clouds-1\ 1.png);
  background-size: cover;
  position: relative;
  width: 100%;
  max-width: 1920px;
  z-index: 3;
}
.container {
  max-width: 1920px;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
}
.inner_image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 20;
  position: absolute;
  bottom: 5px;
  right: 5px;
  z-index: 0;
}
.burger {
  display: none;
}
.info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-style: regular;
  color: #000;
  margin-bottom: 150px;
  position: relative;
  z-index: 2;
}
.info_left {
  display: flex;
  align-items: center;
  margin-top: 76px;
  margin-left: 70px;
  gap: 100px;
  width: 403px;
  height: 24px;
  color: #000;
}
.burger_search_input,
.header_search_input {
  display: none;
}
.burger_search_input.active,
.header_search_input.active {
  display: inline-block;
  width: 200px;
  opacity: 1;
  padding-left: 10px;
  font-size: 18px;
  transition: width 0.3s ease, opacity 0.3s ease;
  border: 2px solid #c5c5c5;
  border-radius: 2px;
}

/* Burger icons bottom container - main page */
.burger_icons_bottom {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 50px;
  transition: margin-top 0.3s ease;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Burger icons - ensure they are always visible - main page */
.burger_tg_btn,
.burger_change_language,
.burger_theme_btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override search-active styles to keep icons visible - main page */
.burger_icons.search-active .burger_icons_bottom {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 5px !important;
}

.burger_icons.search-active .burger_tg_btn,
.burger_icons.search-active .burger_change_language,
.burger_icons.search-active .burger_theme_btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.info_left button {
  font-size: 20px;
}
.info_left button:hover {
  color: #802a34;
}
.info_left button:active {
  border-bottom: 2px solid #802a34;
  color: #802a34;
}

/* Dropdown menu for desktop */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: white;
  min-width: 350px;
  box-shadow: 0px 8px 20px 0px rgba(0,0,0,0.15);
  z-index: 100;
  padding: 10px 0;
  margin-top: 5px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.dropdown-menu.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Специальное правило для about-company-dropdown */
.about-company-dropdown {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.about-company-dropdown.show {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  min-width: 500px !important;
  padding: 15px 20px !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.dropdown-menu a {
  color: black;
  padding: 14px 18px;
  text-decoration: none;
  display: block;
  font-size: 18px;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  border-bottom: none !important;
}

.dropdown-menu a:hover {
  background-color: #f8f8f8;
  color: #802a34;
  padding-left: 24px;
}
  .info_right .dropdown-container .about-company-dropdown .dropdown-column a:hover {
    background-color: #f8f8f8 !important;
    color: #802a34 !important;
    padding-left: 20px !important;
  }
.info_right {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 76px;
  margin-right: 70px;
  color: #000;
  margin-left: auto;
  transition: none;
  transform: none;
}
.header_right_icons {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-right: 70px;
  color: #000;
  margin-left: auto;
}
.header_search_input {
  display: none;
  opacity: 0;
  transform: translateX(-20px);
  transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.info_right.search-mode .header_search_input {
  display: inline-block;
  width: 200px;
  padding: 5px 15px;
  font-size: 16px;
  border: 2px solid #c5c5c5;
  border-radius: 5px;
  opacity: 1;
  transform: translateX(0);
  /* margin-left: 10px; */
}
.info_right.search-mode {
  gap: 30px;
}
.info_right.search-mode .header_right_icons {
  display: none;
}
.info_right button {
  font-size: 20px;
}
.info_right button:hover {
  color: #802a34;
}
.info_right a:active {
  border-bottom: 2px solid #802a34;
  color: #802a34;
}
.change_language:active {
  border-bottom: 2px solid #802a34;
  color: #802a34;
}
.info_right img:hover {
  filter: brightness(0) saturate(100%) invert(19%) sepia(25%) saturate(3513%)
    hue-rotate(321deg) brightness(95%) contrast(91%);
}
.change_language {
  border: none;
  background-color: transparent;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.header_logo {
  margin-left: auto;
  margin-right: auto;
  max-width: 808px;
  padding-right: 20px;
  padding-bottom: 120px;
}
.header_text {
  display: flex;
  flex-direction: column;
  margin-left: 602px;
  margin-right: 602px;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.header_p1 {
  line-height: 120%;
  display: flex;
  min-width: 992px;
  font-weight: 400;
  font-size: 50px;
  margin-bottom: 226px;
}
.mouse-scroll {
  display: flex;
  background: transparent;
}
.mouse {
  width: 28px;
  height: 46px;
  border: 2px solid #505050;
  border-radius: 20px;
  position: relative;
  bottom: 20px;
}
.line {
  position: absolute;
  top: 0px;
  bottom: 15px;
  left: 50%;
  width: 2px;
  background: #505050;
  transform: translateX(-50%);
  opacity: 0.5;
  border-radius: 1px;
}
.wheel {
  width: 6px;
  height: 6px;
  background: #505050;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel-move 2.5s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
@keyframes wheel-move {
  0% {
    top: 0px;
  }
  50% {
    top: 22px;
  }
  100% {
    top: 0px;
  }
}
.inner-image {
  position: absolute;
  top: 50px;
  left: 100px;
  width: 200px;
  height: 150px;
}
.main_menu {
  position: absolute;
  left: 1000px;
  display: flex;
  color: #c5c5c5;
  font-size: 20px;
  gap: 25px;
  vertical-align: auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 104px;
}
.main_menu button {
  color: #c5c5c5;
  font-family: "Exo 2", sans-serif;
}
/* HEADER END */

/* PRODUCTION START */
.production {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 141px;
}
.slider {
  display: none;
}
.slides {
  display: none;
}
.controls {
  display: none;
}
.production_text {
  display: flex;
  flex-direction: column;
  margin: 95px 1200px 88px 270px;
}

.up_text {
  font-weight: 400;
  font-size: 50px;
  line-height: 120%;
  margin-bottom: 10px;
}
.down_text {
  color: #505050;
  font-size: 27px;
  font-weight: 300;
  width: 420px;
}
.production_cards {
  display: flex;
  flex-direction: column;
  margin: 0 auto 0px auto;
}
#s1 {
  display: none;
}
#s2 {
  display: none;
}
#s3 {
  display: none;
}
#r1 {
  display: none;
}
#r2 {
  display: none;
}
#r3 {
  display: none;
}
#r4 {
  display: none;
}
#r5 {
  display: none;
}
#r6 {
  display: none;
}
#r7 {
  display: none;
}
#r8 {
  display: none;
}
.card_1 {
  margin-bottom: 70px;
  position: relative;
  display: flex;
  width: 1442px;
  /* cursor: pointer; */
  /* margin: 0 233px 70px 265px; */
}
.vert_img_1 {
  width: 817px;
  height: 408px;
}
.card_1_text {
  margin: 51px 0px 51px 0px;
  background-color: #e5f1ffcc;
  backdrop-filter: blur(3px);
  width: 696px;
  height: 306px;
  position: absolute;
  right: 40px;
  transition: transform 0.5s ease;
}

body.dark-theme .card_2_text {
  background-color: #161b22cc !important;
}

body.dark-theme .card_1_text {
  background-color: #161b22cc !important;
}
.card_1_text:hover {
  background-color: #802a34;
  transform: scale(1.1);
}
.card_1_text:hover h1 {
  color: white;
}
.card_1_text:hover h2 {
  color: #c5c5c5;
}
.card_1_text h1 {
  margin-top: 60px;
  margin-left: 30px;
  font-weight: 300;
  font-size: 35px;
  line-height: 120%;
  width: 576px;
  margin-bottom: 23px;
}
.card_1_text h2 {
  margin-left: 30px;
  font-weight: 300;
  font-size: 27px;
  color: #505050;
  margin-bottom: 23px;
}
.card1_btn {
  margin-left: 471px;
  margin-bottom: 60px;
  display: flex;
  font-family: "Exo 2", sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}
.card1_btn img {
  width: 30px;
}
.more_text {
  color: #47bbc2;
  font-size: 20px;
  font-weight: 700;
  margin-right: 12px;
  cursor: pointer;
}
.more img {
  width: 30px;
  height: 25px;
}
.card_2 {
  margin-bottom: 70px;
  position: relative;
  display: flex;
  width: 1480px;
  /* margin: 0 233px 70px 265px; */
}
.vert_img_2 {
  object-fit: cover;
  width: 775px;
  height: 408px;
  right: 75px;
  position: absolute;
  order: 2;
}
.card_2_text {
  background-color: #802a34;
  margin: 51px 0px 51px 0px;
  position: relative;
  /* padding-right: 60px; */
  width: 705px;
  height: 306px;
  order: 1;
  transition: transform 0.5s ease;
}

.card_2_text:hover {
  transform: scale(1.1);
}
.card_2_text h1 {
  color: white;
  margin-top: 60px;
  margin-left: 30px;
  font-weight: 300;
  font-size: 35px;
  line-height: 120%;
  width: 576px;
  margin-bottom: 23px;
}
.card_2_text h2 {
  color: #c5c5c5;
  margin-left: 30px;
  font-weight: 300;
  font-size: 27px;
  margin-bottom: 23px;
}
.card2_btn {
  margin-left: 471px;
  margin-bottom: 30px;
  display: flex;
  font-family: "Exo 2", sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}
.card2_btn img {
  width: 30px;
}
.card_2_cursor {
  padding-left: 248px;
}
.card_2_cursor img {
  width: 47px;
  height: 58px;
}
.card_3 {
  position: relative;
  /* margin: 0 233px 70px 265px; */
  display: flex;
  width: 1442px;
}
.card_3_text:hover {
  background-color: #802a34;
  transform: scale(1.1);
}
.card_3_text:hover h1 {
  color: white;
}
.card_3_text:hover h2 {
  color: #c5c5c5;
}
.vert_img_3 {
  object-fit: cover;
  width: 817px;
  height: 408px;
}
.card_3_text {
  margin: 51px 0px 51px 0px;
  background-color: #e5f1ffcc;
  backdrop-filter: blur(3px);
  width: 696px;
  height: 306px;
  position: absolute;
  right: 25px;
  transition: transform 0.5s ease;
}
.card_3_text h1 {
  margin-top: 60px;
  margin-left: 30px;
  font-weight: 300;
  font-size: 35px;
  line-height: 120%;
  width: 576px;
  margin-bottom: 23px;
}
.card_3_text h2 {
  margin-left: 30px;
  font-weight: 300;
  font-size: 27px;
  color: #505050;
  margin-bottom: 23px;
}
.card3_btn {
  margin-left: 471px;
  margin-bottom: 60px;
  display: flex;
  font-family: "Exo 2", sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}
.card3_btn img {
  width: 30px;
}
/* PRODUCTION END */

/* ABOUT US START */
.about_us {
  background-color: #fbfbfb;
  /* width: 1920px; */
  height: 959px;
  display: flex;
  align-items: center;
  /* text-align: center; */
  justify-content: center;
  /* padding-top: 140px; */
}

body.dark-theme .about_us {
  background-color: #0d1117 !important;
}
.about_us_left {
  display: flex;
  flex-direction: column;
  padding-left: 233px;
  margin-right: 0px;
  width: 805px;
}
.about_us_text {
  display: flex;
  margin: 0px 0px 123px 0px;
  font-size: 50px;
  font-weight: 100;
  color: #c5c5c5;
}
.about_us_digits {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.about_us_digits h1 {
  font-size: 50px;
  font-weight: 400;
}
.about_us_digits h2 {
  font-weight: 300;
  font-size: 27px;
  color: #505050;
  /* width: 574px; */
}
.digit_1 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.digit_2 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.digit_3 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.digit_4 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.about_us_photos {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 696px;
  height: 679px;
  color: #c5c5c5;
}
/* .about_us_photos h1 {
  display: flex;
} */
.about_us_photos_text {
  /* position: relative; */
  /* top: 280px;
  left: 120px; */
  display: flex;
  gap: 25px;
  align-items: flex-end;
  /* align-items: end; */
}
.about_us_photos_text h1 {
  font-weight: 300;
  font-size: 50px;
}
.about_us_photos_text h2 {
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
}
.about_us_photos p {
  font-size: 37.5px;
  font-weight: 400;
  text-align: right;
  padding-right: 105px;
}
.first_vert {
  transform: translateX(-50%) scaleX(0);
  transform-origin: center center;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.2s ease-in-out;
  position: relative;
  left: 420px;
  width: 340px;
  height: 250px;
}
.about_us:hover .first_vert {
  transform: translateX(-50%) scaleX(1);
}
.second_vert {
  width: 410px;
  height: 325px;
  bottom: 40px;
  right: 120px;
  top: 314px;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center center;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.2s ease-in-out;
  /* z-index: 0; */
}
.about_us:hover .second_vert {
  transform: translateX(-50%) scaleX(1);
}

/* ABOUT US END */

/* SERVICES START */
.services {
  /* cursor: pointer; */
  align-items: center;
  padding: 140px 250px 0px 250px;
  display: flex;
  flex-direction: column;
}
.modifications {
  display: flex;
  /* flex-direction: column; */
  margin-bottom: 106px;
  gap: 150px;
}
.modifications_text {
  width: 500px;
  display: flex;
  flex-direction: column;
}
.upper_text {
  font-weight: 400;
  font-size: 50px;
  margin-bottom: 20px;
}
.lover_text {
  font-weight: 300;
  font-size: 27px;
  margin-bottom: 143px;
  color: #505050;
}
.modifications_text_image {
  display: flex;
  flex-direction: column;
  align-items: end;
  text-decoration: none;
  color: inherit;
  position: relative;
  left: 120px;
}
.modifications_text_image img {
  margin-bottom: 17px;
  width: 333px;
  height: 253px;
  border-top-left-radius: 50px;
}
.modifications_text_image p {
  font-weight: 600;
  font-size: 27px;
  padding-right: 90px;
}
.modifications_images {
  /* cursor: pointer; */
  width: 697px;
}

/* Новый блок с 8 элементами в 2 колонках */
.new_modifications_grid{
  display: none;
}
.small_image {
  padding-left: 151px;
  display: flex;
  margin-bottom: 35px;
  gap: 29px;
  text-decoration: none;
  color: inherit;
}
.small_image p {
  display: flex;
  align-items: end;
  font-weight: 600;
  font-size: 27px;
}
.small_image img {
  width: 333px;
  height: 253px;
}
.big_image {
  text-decoration: none;
  color: inherit;
  display: block;
}
.big_image img {
  border-top-left-radius: 50px;
  margin-bottom: 30px;
}
.big_image p {
  font-weight: 600;
  font-size: 27px;
}
.first_card {
  /* cursor: pointer; */
  display: flex;
  gap: 30px;
  margin-bottom: 105px;
}
.first_card p {
  font-weight: 600;
  font-size: 27px;
  margin-bottom: 30px;
}
.first_card img {
  margin-bottom: 30px;
}
.upper_img img {
  width: 334px;
  height: 253px;
  margin-bottom: 20px;
}
.left_img {
  text-decoration: none;
  color: inherit;
  display: block;
}
.right_img {
  text-decoration: none;
  color: inherit;
  display: block;
}
.lower_img {
  text-decoration: none;
  color: inherit;
  display: block;
}
.right_img img {
  border-top-right-radius: 50px;
}
.second_card_left_img {
  text-decoration: none;
  color: inherit;
  display: block;
}
.second_card_lower_img {
  text-decoration: none;
  color: inherit;
  display: block;
}
.second_card {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
.second_card p {
  font-weight: 600;
  font-size: 27px;
  margin-bottom: 30px;
}
.second_card img {
  margin-bottom: 30px;
}
.second_card_upper_img {
  margin-bottom: -10px;
}
.second_card_text {
  background-color: #802a34;
  border-top-right-radius: 50px;
  height: 529px;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
}
.second_card_text h1 {
  padding: 50px 68px 30px 50px;
  /* margin-bottom: 30px; */
  font-weight: 300;
  font-size: 35px;
  color: white;
}
.second_card_text h2 {
  padding: 0px 68px 130px 50px;
  color: #c5c5c5;
  font-weight: 300;
  font-size: 27px;
  width: 700px;
}
.second_card_more {
  cursor: pointer;
  display: flex;
  padding-left: 50px;
}
.second_card_btn {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.second_card_btn p {
  font-size: 20px;
  color: #47bbc2;
  font-weight: 700;
  font-family: "Exo 2", sans-serif;
}
.more_cursor {
  width: 47px;
  position: relative;
  top: -25px;
  left: 530px;
}
.services_slider {
  display: none;
}
/* SERVICES END */

/* FOOTER START */
.footer {
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(img/Rectangle\ 745.svg);
  background-size: cover;
  background-position: top center; /* или center top, если нужно */
  height: auto;  /* высота футера будет зависеть от контента, как на 2 скрине */
  margin-top: -100px;  /* поднимаем границу футера на 100px */
  padding: 0;  /* если есть лишние отступы, убираем */
}
.footer_news {
  display: none;
}

.footer_news h1 {
  font-size: 50px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
}
.footer_cards {
  padding-top: 270px;
  justify-content: space-between;
  display: flex;
  width: 1400px;
  gap: 16px;
  margin-bottom: 70.5px;
}
.footer_cards h1 {
  justify-content: space-around;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}
.footer_cards h2 {
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 8px;
}
.footer_cards p {
  text-align: end;
  padding-right: 35px;
}
.first_footer_card {
  width: 300px;
  height: 220px;
}
.second_footer_card {
  width: 300px;
  height: 240px;
}
/* .second_footer_card h2 {
  margin-bottom: 22px;
} */
.third_footer_card {
  width: 300px;
  height: 220px;
}
.fourth_footer_card {
  width: 300px;
  height: 220px;
}

.first_footer_card:hover {
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0px 15px 35px 3px rgba(34, 60, 80, 0.2);
  transition: all 0.3s ease;
}
.second_footer_card:hover {
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0px 15px 35px 3px rgba(34, 60, 80, 0.2);
  transition: all 0.3s ease;
}
.third_footer_card:hover {
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0px 15px 35px 3px rgba(34, 60, 80, 0.2);
  transition: all 0.3s ease;
}
.fourth_footer_card:hover {
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  transform: scale(1.05);
  cursor: pointer;
  box-shadow: 0px 15px 35px 3px rgba(34, 60, 80, 0.2);
  transition: all 0.3s ease;
}
.footer_slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.footer_slider_track {
  justify-content: center;
  gap: 6px;
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
}
.footer_slider img {
  max-width: 320px;
  max-height: 214px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.footer_slider img:hover {
  transform: scale(1.2);
}
.new-footer-bottom {
  background-color: #2b2d42;
  color: #ffffff;
  width: 100%;
  padding: 40px 250px;
}

body.dark-theme .new-footer-bottom {
  background-color: #0d1117 !important;
  border-top: 1px solid #4a4d63;
}

.footer-links-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #4a4d63;
}

.footer-links-row a {
  color: #47bbc2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  border-bottom: none;
  transition: color 0.3s ease;
}

.footer-links-row a:hover {
  color: #5fcdd4;
}

.footer-info {
  text-align: left;
}

.footer-copyright {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-address {
  font-size: 14px;
  margin-bottom: 20px;
  color: #d1d1d1;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #b8b8b8;
}

.footer-policy {
  font-size: 12px;
  margin: 0;
}

.footer-policy a {
  color: #47bbc2;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease;
}

.footer-policy a:hover {
  color: #5fcdd4;
}
/* SCROLL TO TOP BUTTON */
.scroll-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #34cbd3;
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0.7;;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top:hover {
  background-color: #34cbd3;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 1750px) {
  main {
    width: 100%;
  }
  .info_left {
    gap: 30px;
  }
  .info_right {
    margin-right: 0px;
    gap: 30px;
  }
  .header_right_icons {
    gap: 30px;
  }
  .footer_cards{
    padding-top: 270px;
  }
  /* .about_us_left {
    margin-right: 80px;
  } */
}
@media (max-width: 1520px) {
  main {
    width: 100%;
  }
  .production_text {
    margin-right: auto;
  }
  .info_right button {
    font-size: 19px;
  }
  .card_1,
  .card_2,
  .card_3 {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-bottom: 250px;
  }
  .vert_img_1,
  .vert_img_2,
  .vert_img_3 {
    position: unset;
    margin-left: -15px;
    object-fit: cover;
    min-width: 817px;
  }
   .about_us br {
    display: none;
  }
  .about_us {
    display: flex;
    flex-direction: column;
    height: 1150px;
  }
  .about_us_text p {
    padding-top: 100px;
  }
  .about_us_left {
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 140px;
    margin-bottom: 50px;
  }
  .about_us_photos {
    display: flex;
    align-items: center;
    padding-right: 15px;
    width: 100%;
    height: auto;
  }
  .second_vert {
    display: none;
  }
  .first_vert {
    position: relative;
    top: 23px;
    left: 300px;
    width: 374px;
    height: 250px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center center;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.2s ease-in-out;
  }
  .about_us:hover .first_vert {
    transform: translateX(-50%) scaleX(1);
  }
  .about_us_photos_text h1 {
    position: relative;
    font-size: 65px;
    bottom: 45px;
    padding-left: 15px;
    width: 181px;
  }
  .about_us_digits {
    gap: 40px;
  }
  .about_us_text {
    margin-bottom: 80px;
    margin-right: 440px;
  }
  .about_us_photos_text h2 {
    position: relative;
    bottom: 50px;
    left: 60px;
    padding-left: 65px;
    width: 100%;
    margin-bottom: 0px;
  }
  .about_us_photos p {
    font-size: 50px;
    left: 85px;
  }
  .about_us_photos p {
    position: relative;
    bottom: 45px;
    padding-left: 160px;
    padding-right: 0;
    margin-bottom: 60px;
  }
  .card_1_text {
    position: absolute;
    width: 720px;
    height: 280px;
    top: 280px;
    left: 33px;
    right: auto;
  }
  .card_2_text {
    background-color: #e5f1ffcc;
    backdrop-filter: blur(3px);
    position: absolute;
    transition: transform 0.5s ease;
    width: 720px;
    height: 280px;
    top: 280px;
    left: 35px;
    right: auto;
  }
  .card_2_text:hover {
    background-color: #802a34;
  }
  .card_2_text:hover h1 {
    color: white;
  }
  .card_2_text:hover h2 {
    color: #c5c5c5;
  }
  .card_3_text {
    position: absolute;
    width: 720px;
    height: 280px;
    top: 280px;
    left: 30px;
  }
  .card_1_text h1,
  .card_2_text h1,
  .card_3_text h1 {
    margin-top: 25px;
    margin-left: 15px;
    margin-bottom: 15px;
    color: black;
  }
  .card_1_text h2,
  .card_2_text h2,
  .card_3_text h2 {
    margin-bottom: 50px;
    margin-left: 15px;
    color: #505050;
  }
  .footer_cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-bottom: 20px;
    padding-left: 200px;
    max-width: 1100px;
  }
  .services img {
    width: 400px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  .services {
    max-height: 2050px;
    padding-left: 30px;
    padding-right: 0;
  }
  .upper_img,
  .second_card_upper_img,
  .second_card_text {
    display: none;
  }
  .services br {
    display: none;
  }
  .modifications {
    flex-direction: column;
    margin-bottom: 0px;
    /* width: 100%; */
    gap: 80px; 
  }
  .modifications_text{
    width: 100%;
  }
  .lover_text {
    margin-bottom: 0px;
  }
  .modifications_text_image {
    /* align-items: normal;
    max-width: 350px; */
    display: none;
  }
  .modifications_images {
    /* display: flex;
    flex-direction: column-reverse; */
    display: none;
  }
  .upper_text {
    width: 100%;
  }
  .big_image {
    margin-bottom: 17px;
    position: relative;
    left: 122px;
    bottom: 100px;
  }
  .small_image {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    bottom: 891px;
    left: 561px;
    gap: 20px;
    padding-left: 60px;
    max-width: 418px;

  }
  .first_card {
    /* margin-bottom: 0px;
    position: relative;
    flex-direction: column;
    display: flex;
    padding-bottom: 0px;
    left: 196px;
    bottom: 876px; */
    display: none;
  }
  .first_card p{
    width: 350px;
  }
  .left_img {
    max-width: 526px;
  }
  .left_img img,
  .big_image img,
  .first_card img,
  .second_card img {
    margin-bottom: 17px;
  }
  .second_card {
    /* flex-direction: column;
    position: relative;
    margin-bottom: 0px;
    bottom: 1675px;
    right: 300px;
    gap: 0px; */
    display: none;
  }
  .second_card p {
    max-width: 399px;
    margin-bottom: 27px;
  }
  .footer_cards{
    padding-top: 350px;
  }
  .new_modifications_grid {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 100%;
  }
  
  .grid_column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 400px;
  }
  
   .grid_item {
     max-width: 400px;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     text-decoration: none;
     color: inherit;
     transition: transform 0.3s ease;
   }
   
   .grid_item:hover {
     transform: translateY(-5px);
   }
   .grid_item:hover p {
     color: #802a34;
   }
   .grid_item img {
     width: 100%;
     height: 280px;
     object-fit: cover;
     border-radius: 10px;
     margin-bottom: 10px;
   }
   .grid_item p {
     font-size: 18px;
     font-weight: 500;
     color: #333;
     margin: 0;
     line-height: 1.4;
     max-width: 100%;
     transition: color 0.3s ease;
   }
}
@media (max-width: 1460px) {
  main {
    width: 100%;
  }
  .info_right.search-mode .header_search_input {
    width: 120px;
  }
  .info_left {
    margin-left: 30px;
    gap: 10px;
  }
  .info_right {
    margin-right: 0px;
    gap: 20px;
  }
  .header_right_icons {
    gap: 20px;
  }
  .number_btn {
    min-width: 180px;
  }
  .about_company_btn {
    min-width: 120px;
  }
  .footer_documentation{
    width: 80%;
  }
  .footer_contacts{
    width: 40%;
  }
  .footer_directory{
    width: 60%;
  }
  .dropdown-menu a {
    font-size: 18px;
    padding: 10px 14px;
  }
  .footer-links-row {
    gap: 35px;
  }
  
  .footer-links-row a {
    white-space: nowrap;
    font-size: 16px;
  }
  
  .new-footer-bottom {
    padding: 40px 80px;
  }
  
  /* Footer styles for mobile */
  .new-footer-bottom {
    padding: 40px 50px;
  }
  
  .footer-links-row {
    gap: 20px;
  }
  
  .footer-links-row a {
    font-size: 16px;
  }
  
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1200px) {
  main {
    width: 100%;
  }
  .header_right_icons {
    display: none;
  }
  .info_left {
    margin-left: 50px;
  }
  .search_btn {
    display: none;
  }
  .header_text {
    margin-left: auto;
    margin-right: auto;
    max-width: 992px;
  }
  .header_p1 {
    font-size: 43px;
  }
  .search_btn {
    display: none !important;
  }
  
  .header_search_input {
    display: none !important;
  }
  
  /* Footer styles for tablets */
  .new-footer-bottom {
    padding: 40px 100px;
  }
}
@media (max-width: 992px) {
  main {
    width: 100%;
  }
  .new_modifications_grid {
    display: none;
  }
  
  /* Hide dropdown container in mobile version */
  .info_right .dropdown-container {
    display: none !important;
  }
  
  .burger_img {
    width: 33px;
  }
  
  /* Scroll to top button styles */
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .scroll-to-top svg {
    width: 18px;
    height: 18px;
  }
  
  /* Dark theme for burger menu icon */
  body.dark-theme .burger_img {
    filter: brightness(0) saturate(100%) invert(100%) !important;
  }
  
  .header {
    background-image: url(img/Видео\ первого\ экрана.svg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    height: 1450px;
  }
  
  body.dark-theme .header {
    position: relative;
    box-shadow: inset 0 0 0 1000px rgba(13, 17, 23, 0.8);
  }
  
  .inner_image {
    display: none;
  }
  .info {
    margin-top: 20px;
    margin-left: auto;
    margin-right: 0px;
    z-index: 1;
    align-items: baseline;
  }
  .container {
    width: 100%;
    height: 1444px;
  }
  .info_left {
    margin-top: 0px;
    gap: 30px;
  }
  .info_left button {
    font-size: 25px;
  }
  .info_left a:active,
  .info_left a:focus,
  .info_left a:hover{
    border-bottom: none !important;
    color: black !important;
  }
  .info_left .dropdown-trigger:active,
  .info_left .dropdown-trigger:focus {
  border-bottom: none !important;
}
  .info_right {
    display: flex;
    /* gap: 30px; */
    padding-left: 50px;
    margin-right: 0;
    margin-top: 10px;
  }
  .header_logo {
    margin: auto;
    padding-top: 0px;
    margin-bottom: 0px;
    width: 100%;
    height: 100%;
  }
  .header_logo img {
    padding-left: 16px;
    width: 100%;
    height: auto;
    position: relative;
    top: 75px;
  }
  .header_text {
    margin: auto;
  }
  .header_p1 {
    font-size: 66px;
    font-weight: 400;
    /* width: 290px; */
    max-width: min-content;
    min-width: unset;
    height: 580px;
    padding: 0px 10px 0px 10px;
    margin-bottom: 116px;
  }
  .about_company_btn {
    display: none;
  }
  .header_news_btn {
    display: none;
  }
  .contacts_btn {
    display: none;
  }
  .number_btn {
    position: relative;
    font-size: 23px;
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    border: none;
    background: transparent;
    line-height: 1;
    vertical-align: middle;
  }
  .number_btn:hover {
    color: #802a34;
  }
  .search_btn {
    display: none;
  }
  .tg_btn img {
    display: flex;
    position: relative;
    top: -10px;
    width: 22px;
    height: 18px;
  }
  .theme_btn {
    display: none;
  }
  .change_language {
    display: none;
  }
  .burger {
    position: relative;
    top: 57px;
    right: 0px;
    display: flex;
    flex-direction: column;
    width: 126px;
    z-index: 20;
  }
  .burger nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: white;
    width: 243px;
    padding-left: 10px;
    gap: 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    padding-bottom: 20px;
    margin-bottom: 0;
  }
    .burger nav.add {
      transform: translateX(0);
      opacity: 1;
      pointer-events: auto;
      height: 100vh;
    }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 2; /* ниже меню */
  }

  .overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .burger_close {
    width: auto !important;
    align-self: flex-start;
    margin-top: 10px !important;
    margin-left: -10px !important;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    border-bottom: none !important;
    height: 10px;
    padding-bottom: 0px !important;
    margin-bottom: 30px;
  }
  .burger a,
  .burger button,
  .burger p {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    margin: 0;
    text-align: left;
    border: none;
    color: black;
    border-bottom: 1px solid #c5c5c5;
    width: 100%;
    box-sizing: border-box;
  }
  .burger_production {
    padding-top: 10px;
  }
 
  .burger_number a{
    border-bottom: none;
  }
  .burger_production,
  .burger_services,
  .burger_manufacture,
  .burger_about {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid #c5c5c5;
    margin-left: -10px;
    padding-left: 10px;
    box-sizing: border-box;
  }
  .burger_production.open,
  .burger_services.open,
  .burger_manufacture.open,
  .burger_about.open {
    border-bottom: none;
  }
  .burger_production.open .submenu,
  .burger_services.open .submenu,
  .burger_manufacture.open .submenu,
  .burger_about.open .submenu {
    display: flex;
    align-items: flex-start;
  }

  .burger_production.open .toggle-btn img,
  .burger_services.open .toggle-btn img,
  .burger_manufacture.open .toggle-btn img,
  .burger_about.open .toggle-btn img {
    transform: rotate(180deg);
  }
  .header-row {
    display: flex;
    cursor: pointer;
    gap: 10px;
    margin: 0; 
  }
  .header-row p {
    font-weight: 700;
    font-size: 20px;
  }
  .header-row.open p {
    /* font-weight: 700; */
    /* font-size: 14px; */
    padding-bottom: 0;
  }
  .header-row button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
  }
  .dropdown-menu a:hover {
    color: black;
    padding-left: 14px;
  }
  .submenu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .submenu a {
    width: calc(100% + 20px);
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
    margin-left: -10px;
    align-items: flex-start;
    font-weight: 400; /* чтобы ссылки отличались от заголовка */
    font-size: 14px;
    border-bottom: 1px solid #c5c5c5 !important;
    line-height: 1.4;
    word-wrap: break-word;
    box-sizing: border-box;
    white-space: normal;
    display: block;
  }
  .burger_production button,
  .burger_services button,
  .burger_manufacture button,
  .burger_about button {
    width: 20px;
    border-bottom: none;
  }
  .burger_production p,
  .burger_services p,
  .burger_manufacture p,
  .burger_about p {
    border-bottom: none !important;
  }
  
  .burger_production .header-row,
  .burger_services .header-row,
  .burger_manufacture .header-row,
  .burger_about .header-row {
    border-bottom: none !important;
  }
  .burger_number {
    margin-top: auto;
    margin-bottom: 0;
    border-bottom: none !important;
  }
  
  .burger button:not(.burger_production button):not(.burger_services button):not(.burger_manufacture button):not(.burger_about button):not(.burger_close):not(.burger_search):not(.burger_tg_btn):not(.burger_change_language):not(.burger_theme_btn) {
    margin-left: -10px;
    padding-left: 10px;
    width: calc(100% + 10px);
    box-sizing: border-box;
  }
  .about-company-dropdown {
    display: flex !important;
    gap: 20px;
    min-width: 500px !important;
    padding: 15px 20px !important;
  }

  .dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .dropdown-column a {
    padding: 12px 15px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 16px !important;
    transition: all 0.2s ease;
    display: block !important;
  }

  .dropdown-column a:last-child {
    border-bottom: none !important;
  }

  .dropdown-column a:hover {
    background-color: #f8f8f8 !important;
    color: #802a34 !important;
    padding-left: 20px !important;
  }

  .dropdown-container .about-company-dropdown {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
  }
  
  .dropdown-container .about-company-dropdown .dropdown-column {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .info_right .dropdown-container .about-company-dropdown {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    min-width: 500px !important;
    padding: 15px 20px !important;
  }
  
  .info_right .dropdown-container .about-company-dropdown .dropdown-column {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .info_right .dropdown-container .about-company-dropdown .dropdown-column a {
    padding: 12px 15px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 16px !important;
    display: block !important;
  }
  
  .info_right .dropdown-container .about-company-dropdown .dropdown-column a:last-child {
    border-bottom: none !important;
  }
.about-company-dropdown .dropdown-column a:last-child {
  border-bottom: none !important;
}
  .burger_number a {
    padding-left: 5px;
    font-weight: 400;
    font-size: 22px;
    color: #802a34;
  }
  .burger_icons {
    display: flex;
    gap: 37px;
    width: 200px;
    padding-left: 10px;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: space-between;
    align-items: baseline;
  }
  .burger_icons_bottom {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 50px;
    height: 18px;
    transition: transform 0.3s ease;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .burger_icons.search-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .burger_icons.search-active .burger_search {
    display: none;
  }
  .burger_icons.search-active .burger_search_input {
    opacity: 1;
    transform: translateY(0);
  }
  .burger_icons button,
  .burger_icons a {
    border-bottom: none !important;
    padding-bottom: 0px;
  }
  .burger_search_input {
    display: none;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #999;
    border-radius: 15px;
    outline: none;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .burger_search img {
    height: 14px;
    width: 14px;
  }
  .burger_tg_btn img {
    height: 19px;
    width: 16px;
  }
  .burger_change_language {
    font-size: 14px;
    font-weight: 700;
  }
  .burger_theme_btn img {
    width: 21px;
    height: 21px;
  }

  .burger nav:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .burger_icons:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .burger nav > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .mouse {
    left: 10px;
    bottom: 35px;
  }
  .production {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 60px;
    margin-bottom: 60px;
  }
  .production_cards {
    width: 100%;
  }
  .production_text {
    margin: 0px 0px 30px 0px;
  }
  .up_text {
    font-size: 50px;
    font-weight: 400;
  }
  .down_text {
    font-weight: 300;
    font-size: 30px;
    width: auto;
  }
  .card_1 {
    display: flex;
    display: none;
    width: 100%;
    flex-direction: column;
    height: 290px;
    margin-bottom: 20px;
  }
  .vert_img_1 {
    position: unset;
    margin-left: -15px;
    object-fit: cover;
    width: 320px;
    height: 160px;
  }
  .card_1_text {
    position: absolute;
    top: 200px;
    width: 290px;
    height: 140px;
    top: 130px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .card_1_text h1 {
    max-width: 260px;
    font-size: 18px;
    font-weight: 300;
    margin-top: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
  }
  .card_1_text h2 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0px;
    margin-left: 15px;
  }
  .card_2 {
    display: flex;
    display: none;
    width: 100%;
    flex-direction: column;
    height: 290px;
    margin-bottom: 40px;
  }
  .vert_img_2 {
    position: unset;
    margin-left: -15px;
    object-fit: cover;
    width: 320px;
    height: 160px;
  }
  .card_2_text {
    position: absolute;
    top: 200px;
    width: 290px;
    height: 160px;
    top: 130px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0px;
    margin-bottom: 15px;
    background-color: #e5f1ffcc;
    backdrop-filter: blur(3px);
    transition: transform 0.5s ease;
    z-index: 2;
  }
  .card_2_text h1 {
    max-width: 260px;
    font-size: 18px;
    font-weight: 300;
    margin-top: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
    color: #000;
  }
  .card_2_text h2 {
    color: #505050;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0px;
    margin-left: 15px;
  }
  .card_2_cursor {
    display: none;
  }
  .card_2_text:hover {
    background-color: #802a34;
    transform: scale(1.1);
    order: 1;
  }
  .card_2_text:hover h1 {
    color: white;
  }
  .card_2_text:hover h2 {
    color: #c5c5c5;
  }
  .card_3 {
    display: flex;
    display: none;
    width: 100%;
    flex-direction: column;
  }
  .vert_img_3 {
    margin-left: -15px;
    object-fit: cover;
    width: 320px;
    height: 160px;
  }
  .card_3_text {
    position: absolute;
    top: 200px;
    width: 290px;
    height: 140px;
    top: 130px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0px;
  }
  .card_3_text h1 {
    max-width: 260px;
    font-size: 18px;
    font-weight: 300;
    margin-top: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
  }
  .card_3_text h2 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0px;
    margin-left: 15px;
  }
  .slider {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 60vw;
    margin: 0 auto;
  }
  .slides {
    display: flex;
    width: calc(60vw * 3);
    transition: transform 0.6s ease;
  }

  input[type="radio"] :checked + .slides + .controls label {
    background: #aaa; /* сброс для всех */
  }

  #s1:checked ~ .slides {
    transform: translateX(0%);
  }
  #s2:checked ~ .slides {
    transform: translateX(-33.3%);
  }
  #s3:checked ~ .slides {
    transform: translateX(-66.7%);
  }

  .controls {
    display: flex;
    /* text-align: center; */
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  .controls label {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #aaa;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
  }
  #s1:checked ~ .controls label[for="s1"],
  #s2:checked ~ .controls label[for="s2"],
  #s3:checked ~ .controls label[for="s3"] {
    background-color: #34cbd3;
  }
  .slider .arrow {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 40px;
  color:#c5c5c5;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.slider .arrow.prev {
  left: 5px;  
  z-index: 2;
}

.slider .arrow.next {
  right: 5px;
  z-index: 2;
}

.slider .arrow:hover {
  color: white;
  opacity: 1;
}
  .card {
    flex: 0 0 60vw;
    max-width: 60vw;
    height: auto;
    background-color: #e5f1ffcc;
  }

  .card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  .card h1 {
    padding: 15px 15px 0 15px;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    margin: 0;
  }
  
  .card h2 {
    padding: 0 15px 15px 15px;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    margin: 0;
  }

  .more {
    padding: 0 15px 15px 15px;
    display: flex;
    align-items: center;
    height: 40px;
  }
  .more_text {
    color: #34cbd3;
    font-size: 20px;
    font-weight: 700;
    margin-right: 12px;
    height: 20px;
    cursor: unset;
  }
  .more p {
    font-weight: 700;
    font-size: 14px;
  }
  .card1_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    height: 20px;
    font-family: "Exo 2", sans-serif;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    color: #34cbd3;
  }
  .card1_btn img {
    cursor: pointer;
    width: 35px;
    height: 20px;
    object-fit: none;
  }
  .card2_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    height: 20px;
    font-family: "Exo 2", sans-serif;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    color: #34cbd3;
  }
  .card2_btn img {
    cursor: pointer;
    height: 20px;
    width: 35px;
    object-fit: none;
  }
  .card3_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    height: 20px;
    font-family: "Exo 2", sans-serif;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    color: #34cbd3;
  }
  .card3_btn img {
    cursor: pointer;
    width: 35px;
    height: 20px;
    object-fit: none;
  }
  .about_us {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }
  .about_us_left {
    width: 100%;
    padding: auto;
    margin: auto;
    display: flex;
    align-items: center;
    padding-left: 15px;
    margin-bottom: 50px;
  }
  .about_us_left p {
    display: none;
  }
  .about_us_digits {
    gap: 20px;
  }
  .digit_1 {
    width: 290px;
  }
  .about_us_left h1 {
    font-size: 33px;
  }
  .about_us_left h2 {
    font-size: 26px;
  }
  .about_us_photos {
    display: flex;
    align-items: center;
    padding-right: 15px;
    width: 100%;
    height: auto;
  }
  .second_vert {
    display: none;
  }
  .about_us_photos_text {
    gap: 0px;
    height: 101px;
  }
  .first_vert {
    position: relative;
    top: -14px;
    left: 85px;
    bottom: 14px;
    width: 332px;
    height: 217px;
    transform: none;
    transition: none;
  }
  .about_us:hover .first_vert {
    transform: none;
  }
  .about_us_photos_text h1 {
    position: relative;
    bottom: 45px;
    padding-left: 15px;
    width: 181px;
    font-weight: 300;
    font-size: 50px;
  }

  .about_us_photos_text h2 {
    position: relative;
    bottom: 45px;
    left: 49px;
    font-weight: 400;
    padding-left: 38px;
    width: 100%;
    min-width: 85px;
    font-size: 30px;
  }

  .about_us_photos p {
    position: relative;
    bottom: 45px;
    font-weight: 400;
    padding-left: 116px;
    font-size: 40px;
    padding-left: 120px;
    padding-right: 0;
    margin-bottom: 60px;
  }
  .services {
    padding-left: 15px;
    padding-right: 0;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    height: auto;
  }
  .modifications {
    width: 100%;
    margin-bottom: 20px;
    padding-left: 5px;
  }
  .upper_text {
    font-weight: 400;
    font-size: 45px;
    padding-right: 70px;
  }
  .lover_text {
    font-weight: 300;
    font-size: 28px;
    margin-bottom: 40px;
  }
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-200%);
    }
  }
  .modifications_text_image {
    display: none;
  }
  .modifications_images {
    display: none;
  }
  .first_card {
    display: none;
  }
  .second_card {
    display: none;
  }
  .services_slider {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    width: 100%;
    max-width: 85vw;
    margin-left: auto;
    margin-right: auto;
  }
  .services_slides {
    display: flex;
    width: calc(85vw * 8);
    transition: transform 0.6s ease;
  }
  .services_card {
    flex: 0 0 85vw;
    height: auto;
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .services_controls {
    display: flex;
    padding-top: 30px;
    padding-bottom: 30px;
    /* text-align: center; */
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .services_controls label {
    display: inline-block;
    width: 14px;
    height: 14px;
    /* margin: 0 5px; */
    background: #aaa;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1;
  }
  .services_card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
  }

  .services_card h1 {
    padding: 15px 10px 0px 10px;
    width: 100%;
    max-width: 100%;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
  }
  input[type="radio"] :checked + .services_slides + .services_controls label {
    background: #aaa; /* сброс для всех */
  }

  #r1:checked ~ .services_slides {
    transform: translateX(0%);
  }
  #r2:checked ~ .services_slides {
    transform: translateX(-12.5%);
  }
  #r3:checked ~ .services_slides {
    transform: translateX(-25%);
  }
  #r4:checked ~ .services_slides {
    transform: translateX(-37.5%);
  }
  #r5:checked ~ .services_slides {
    transform: translateX(-50%);
  }
  #r6:checked ~ .services_slides {
    transform: translateX(-62.5%);
  }
  #r7:checked ~ .services_slides {
    transform: translateX(-75%);
  }
  #r8:checked ~ .services_slides {
    transform: translateX(-87.5%);
  }

  #r1:checked ~ .services_controls label[for="r1"],
  #r2:checked ~ .services_controls label[for="r2"],
  #r3:checked ~ .services_controls label[for="r3"],
  #r4:checked ~ .services_controls label[for="r4"],
  #r5:checked ~ .services_controls label[for="r5"],
  #r6:checked ~ .services_controls label[for="r6"],
  #r7:checked ~ .services_controls label[for="r7"],
  #r8:checked ~ .services_controls label[for="r8"] {
    background-color: #34cbd3;
  }
  .services_slider .arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 43px;
  color: gray;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;
  z-index: 5;
}

.services_slider .arrow.prev {
  left: 5px;
  z-index: 2;
}

.services_slider .arrow.next {
  right: 5px;
  z-index: 2;
}

.services_slider .arrow:hover {
  color: #c5c5c5;
  opacity: 1;
}
  .footer {
    background-image: url("img/Rectangle\ 745-1.svg");
    background-position: top center;
    background-size: cover;
    width: 100%;
    margin-top: -80px;
  }
  .footer_cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
    margin-bottom: 0px;
    padding-left: 80px;
  }
  .footer_news {
    display: block;
    align-self: normal;
    padding-left: 80px;
    padding-bottom: 20px;
    margin-top: 190px;
  }
  
  .footer_news h1 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0 5px;
  }
  .first_footer_card {
    width: 250px;
    height: 100px;
  }
  .first_footer_card:hover,
  .second_footer_card:hover,
  .third_footer_card:hover,
  .fourth_footer_card:hover {
    cursor: pointer;
    padding: 0px !important;
    transform: none;
    background-color: unset;
    box-shadow: none;
  }
  .second_footer_card {
    width: 250px;
    height: 120px;
  }
  .third_footer_card {
    width: 250px;
    height: 110px;
  }
  .fourth_footer_card {
    width: 250px;
    height: 100px;
  }
  .footer_cards h1 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .footer_cards h2 {
    font-size: 12px;
    font-weight: 300;
  }
  .footer_cards p {
    text-align: right;
    padding-right: 0px;
    font-weight: 300;
    font-size: 10px;
  }
  .footer_slider_track {
    padding-top: 50px;
    justify-content: center;
    gap: 6px;
    display: flex;
    width: max-content;
    animation: scroll 400s linear infinite;
  }
  .footer_slider img {
    max-width: 320px;
    height: 214px;
    object-fit: cover;
    transform: none !important;
  }
   .footer_documentation{
     width: 90%;
   }
   
   .services_slider {
     max-width: 70vw;
   }
   .services_slides {
     width: calc(70vw * 8);
   }
   .services_card {
     flex: 0 0 70vw;
   }
   .services_controls {
     padding-top: 25px;
     padding-bottom: 25px;
   }
   .services_controls label {
     width: 14px;
     height: 14px;
   }
   .services_card h1 {
     font-size: clamp(20px, 2.8vw, 26px);
   }
   
   .slider {
     max-width: 70vw;
   }
   .slides {
     width: calc(70vw * 3);
   }
   .card {
     flex: 0 0 70vw;
     max-width: 70vw;
     background-color: #E5F1FFCC;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   }
   
   .card h1 {
     padding: 20px 20px 15px 20px;
     font-size: clamp(20px, 2.8vw, 26px);
     font-weight: 300;
     margin: 0;
     color: black;
   }
   
   .card h2 {
     padding: 0 20px 15px 20px;
     font-size: clamp(16px, 2vw, 20px);
     font-weight: 300;
     margin: 0;
     color: #666;
   }
   
   .more {
    padding: 0px 50px 0px 20px;
    display: flex;
    justify-content: flex-end;
    height: 50px;
   }
   
   .more_text {
     color: #34cbd3;
     font-size: 18px;
     font-weight: 700;
     margin-right: 12px;
     height: 20px;
     cursor: unset;
   }
   
   .more p {
     font-weight: 700;
     font-size: 14px;
     color: #34cbd3;
   }
   
   .card1_btn,
   .card2_btn,
   .card3_btn {
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 0;
     padding: 0;
     height: 20px;
     font-family: "Exo 2", sans-serif;
     cursor: pointer;
     text-decoration: none;
     border: none;
     background: none;
     color: #34cbd3;
   }
   
   .controls {
     margin-top: 20px;
   }
   
   .controls label {
     width: 14px;
     height: 14px;
   }
 }



@media (min-width: 320px) and (max-width: 768px) {
  body {
    width: 100%;
    height: 100%;
    display: unset;
    flex-direction: unset;
    align-items: unset;
  }
  .header {
    background-image: url(img/Видео\ первого\ экрана.svg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    box-sizing: border-box;
    height: 100%;
  }
  
  body.dark-theme .header {
    position: relative;
    box-shadow: inset 0 0 0 1000px rgba(13, 17, 23, 0.8);
  }
  
  .container {
    height: 100%;
  }
  .inner_image {
    display: none;
  }
  .info {
    font-size: 14px;
    font-weight: 400;
    margin-right: 0px;  
    margin-top: 0;
    z-index: 1;
    align-items: center;
    width: 100%;
  }
  .info_left {
    display: none;
  }
  .info_right {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    margin-right: 0px;
    margin-top: 10px;
    justify-content: flex-end;
  }
  .header_logo {
  position: relative;      
  width: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
  bottom: 100px;
  right: 0px;
  }
  .header_logo img {
    width: 100%;
    height: auto;
    top: 0px;
  }
  .header_text {
    margin: auto;
  }
  .header_p1 {
    font-size: clamp(22px, 6vw, 40px);
    width: 100%;
    margin-bottom: 115px;
    position: relative;
    bottom: 60px;
    font-weight: 400;
    width: auto;
    height: 104px;
    padding: 0px 10px 0px 10px;
    margin-bottom: 116px;
  }
  .mouse {
    z-index: 1;
    margin-bottom: 6px;
    border: 1px solid #505050;
    border-radius: 8px;
    width: 14px;
    height: 23px;
    bottom: auto;
  }
  .line {
    position: absolute;
    top: 0px;
    bottom: 8px;
    left: 50%;
    width: 1px;
    background: #505050;
    transform: translateX(-50%);
    border-radius: 1px;
  }
  .wheel {
    width: 4px;
    height: 4px;
    background: #505050;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-move 2.5s cubic-bezier(0.7, 0, 0.3, 1) infinite;
  }
  @keyframes wheel-move {
    0% {
      top: 0px;
    }
    50% {
      top: 10px;
    }
    100% {
      top: 0px;
    }
  }
  .about_company_btn {
    display: none;
  }
  .header_news_btn {
    display: none;
  }
  .contacts_btn {
    display: none;
  }
  .number_btn {
    top: 0px;
    font-size: 14px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    border: none;
    background: transparent;
    line-height: 1;
    vertical-align: middle;
    margin-left: auto;
    text-align: right;
    min-width: 140px;
  }
  .number_btn:hover {
    color: #802a34;
  }
  .search_btn {
    display: none;
  }
  .header_right_icons {
    display: flex;
    margin: 0;
  }
  .tg_btn img {
    position: relative;
    top: 2px;
    width: 22px;
    height: 18px;
  }
  .theme_btn {
    display: none;
  }
  .change_language {
    display: none;
  }
  .burger {
    position: relative;
    top: 30px;
    display: flex;
    flex-direction: column;
    width: 22px;
    z-index: 20;
  }

  .burger nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: white;
    width: 243px;
    padding-left: 10px;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    padding-bottom: 0;
    margin-bottom: 15px;
  }
    .burger nav.add {
      transform: translateX(0);
      opacity: 1;
      pointer-events: auto;
      height: 100vh;
    }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 2; /* ниже меню */
  }

  .overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .burger_img {
    width: 22px;
    /* height: 15px; */
    cursor: pointer;
  }
  .burger_close {
    width: auto !important;
    align-self: flex-start;
    margin-top: 10px !important;
    margin-left: -10px !important;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    border-bottom: none !important;
    height: 10px;
    padding-bottom: 0px !important;
  }
  .burger a,
  .burger button,
  .burger p {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    margin: 0;
    text-align: left;
    border: none;
    color: black;
    border-bottom: 1px solid #c5c5c5;
    width: 100%;
    box-sizing: border-box;
  }
  .burger_production,
  .burger_services,
  .burger_manufacture,
  .burger_about {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 104%;
    border-bottom: 1px solid #c5c5c5;
    margin-left: -10px;
    padding-left: 10px;
    box-sizing: border-box;
  }
  .burger_production.open,
  .burger_services.open,
  .burger_manufacture.open,
  .burger_about.open {
    border-bottom: none;
  }
  .burger_production.open .submenu,
  .burger_services.open .submenu,
  .burger_manufacture.open .submenu,
  .burger_about.open .submenu {
    display: flex;
    align-items: flex-start;
  }

  .burger_production.open .toggle-btn img,
  .burger_services.open .toggle-btn img,
  .burger_manufacture.open .toggle-btn img,
  .burger_about.open .toggle-btn img {
    transform: rotate(180deg);
  }
  .header-row {
    display: flex;
    cursor: pointer;
    gap: 10px;
    margin: 0;
  }
  .header-row p {
    font-weight: 700;
    font-size: 20px;
  }
  .header-row.open p {
    /* font-weight: 700; */
    /* font-size: 14px; */
    padding-bottom: 0;
  }
  .header-row button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
  }
  .submenu {
    display: none;
    flex-direction: column;
  }
  .submenu a {
    width: calc(100% + 10px);
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
    margin-left: -10px;
    align-items: flex-start;
    font-weight: 400; /* чтобы ссылки отличались от заголовка */
    font-size: 14px;
    border-bottom: 1px solid #c5c5c5 !important;
    line-height: 1.4;
    word-wrap: break-word;
    box-sizing: border-box;
    white-space: normal;
    display: block;
  }
  .burger_production button,
  .burger_services button,
  .burger_manufacture button,
  .burger_about button {
    width: 20px;
    border-bottom: none;
  }
  .burger_production p,
  .burger_services p,
  .burger_manufacture p,
  .burger_about p {
    border-bottom: none !important;
  }
  
  .burger_production .header-row,
  .burger_services .header-row,
  .burger_manufacture .header-row,
  .burger_about .header-row {
    border-bottom: none !important;
  }
  .burger_number {
    border-bottom: none !important;
  }
  
  .burger button:not(.burger_production button):not(.burger_services button):not(.burger_manufacture button):not(.burger_about button):not(.burger_close):not(.burger_search):not(.burger_tg_btn):not(.burger_change_language):not(.burger_theme_btn) {
    margin-left: -10px;
    padding-left: 10px;
    width: calc(100% + 10px);
    box-sizing: border-box;
  }
  .burger_number a {
    padding-left: 5px;
    font-weight: 400;
    font-size: 22px;
    color: #802a34;
  }
  .burger_icons {
    display: flex;
    gap: 37px;
    width: 200px;
    padding-left: 10px;
    padding-bottom: 0;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: baseline;
  }
  .burger_icons_bottom {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 50px;
    height: 18px;
    transition: transform 0.3s ease;
    padding-bottom: 0;
    margin-bottom: 15px;
  }
  .burger_icons.search-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .burger_icons.search-active .burger_search {
    display: none;
  }
  .burger_icons.search-active .burger_search_input {
    opacity: 1;
    transform: translateY(0);
  }
  .burger_icons button,
  a {
    border-bottom: none !important;
    padding-bottom: 0px;
  }
  .burger_search_input {
    display: none;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border: 1px solid #999;
    border-radius: 15px;
    outline: none;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .burger_search img {
    height: 14px;
    width: 14px;
  }
  .burger_tg_btn img {
    height: 19px;
    width: 16px;
  }
  .burger_change_language {
    font-size: 14px;
    font-weight: 700;
  }
  .burger_theme_btn img {
    width: 21px;
    height: 21px;
  }

  .production {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 60px;
    margin-bottom: 60px;
  }
  .production_cards {
    width: 100%;
  }
  .production_text {
    margin: 0px 0px 30px 0px;
    width: 290px;
    height: 50px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .up_text {
    font-size: 22px;
    font-weight: 400;
  }
  .down_text {
    font-weight: 300;
    font-size: 16px;
  }
  .card_1 {
    display: flex;
    display: none;
    width: 100%;
    flex-direction: column;
    height: 290px;
    margin-bottom: 20px;
  }
  .vert_img_1 {
    position: unset;
    margin-left: -15px;
    object-fit: cover;
    width: 320px;
    height: 160px;
  }
  .card_2 {
    display: flex;
    display: none;
    width: 100%;
    flex-direction: column;
    height: 290px;
    margin-bottom: 40px;
  }
  .vert_img_2 {
    position: unset;
    margin-left: -15px;
    object-fit: cover;
    width: 320px;
    height: 160px;
  }
  .card_3 {
    display: flex;
    display: none;
    width: 100%;
    flex-direction: column;
  }
  .vert_img_3 {
    margin-left: -15px;
    object-fit: cover;
    width: 320px;
    height: 160px;
  }
  .card_3_text {
    position: absolute;
    top: 200px;
    width: 290px;
    height: 140px;
    top: 130px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0px;
  }
  .card_3_text h1 {
    max-width: 260px;
    font-size: 18px;
    font-weight: 300;
    margin-top: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
  }
  .slider {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 70vw;
    margin: 0 auto;
  }
  .slides {
    display: flex;
    width: calc(70vw * 3); /* 3 слайда */
    transition: transform 0.6s ease;
  }

  input[type="radio"] :checked + .slides + .controls label {
    background: #aaa; /* сброс для всех */
  }

  #s1:checked ~ .slides {
    transform: translateX(0%);
  }
  #s2:checked ~ .slides {
    transform: translateX(-33.3%);
  }
  #s3:checked ~ .slides {
    transform: translateX(-66.7%);
  }
  .services_slider .arrow {
    top: 31%;
  }
  .controls {
    display: flex;
    /* text-align: center; */
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  .controls label {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #aaa;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
  }
  #s1:checked ~ .controls label[for="s1"],
  #s2:checked ~ .controls label[for="s2"],
  #s3:checked ~ .controls label[for="s3"] {
    background-color: #34cbd3;
  }
  .card {
    flex: 0 0 70vw;
    max-width: 70vw;
    height: auto;
    background-color: #e5f1ffcc;
  }

  .card img {
    width: 100%;
    height: 175px; /* увеличили на 50px с 125px */
    object-fit: cover;
  }

  .card h1 {
    padding: 15px 15px 8px 15px;
    font-size: 18px;
    font-weight: 300;
    margin: 0;
    line-height: 1.3; /* улучшаем читаемость */
    word-wrap: break-word; /* предотвращаем некрасивые переносы */
  }

  .card h2 {
    padding: 0 15px 10px 15px;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    line-height: 1.4; /* улучшаем читаемость */
    word-wrap: break-word; /* предотвращаем некрасивые переносы */
  }
  
  .more {
    padding: 0 15px 15px 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 50px;
  }
  .more_text {
    color: #34cbd3;
    font-size: 18px;
    font-weight: 700;
    margin-right: 12px;
    height: 20px;
    cursor: unset;
  }
  
  .more p {
    font-weight: 700;
    font-size: 14px;
    color: #34cbd3;
  }
  
  .card1_btn,
  .card2_btn,
  .card3_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    height: 20px;
    font-family: "Exo 2", sans-serif;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    color: #34cbd3;
  }
  .card1_btn img,
  .card2_btn img,
  .card3_btn img {
    cursor: pointer;
    width: 35px;
    height: 20px;
    object-fit: none;
  }
  .about_us {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 612px;
  }
  .about_us_left {
    width: 100%;
    padding: auto;
    margin: auto;
    display: flex;
    align-items: center;
    padding-left: 15px;
    margin-bottom: 50px;
  }
  .about_us_left p {
    display: none;
  }
  .about_us_digits {
    gap: 20px;
  }
  .digit_1,
  .digit_2,
  .digit_3,
  .digit_4 {
    width: 100%;
    gap: 10px;
  }
  .digit_3 h1,
  .digit_4 h1 {
    min-width: 70px;
  }
  .about_us_left h1 {
    font-size: 22px;
  }
  .about_us_left h2 {
    font-size: 16px;
  }
  .about_us_photos {
    display: flex;
    align-items: center;
    padding-right: 60px;
    width: 100%;
    height: auto;
  }
  .second_vert {
    display: none;
  }
  .about_us_photos_text {
    gap: 0px;
  }
  .first_vert {
    position: relative;
    top: 2px;
    left: 70px;
    width: 202px;
    height: 160px;
    transform: none;
    transition: none;
  }
  .about_us:hover .first_vert {
    transform: none;
  }
  .about_us_photos_text h1 {
    position: relative;
    bottom: 45px;
    padding-left: 15px;
    width: 181px;
    font-weight: 300;
    font-size: 38px;
  }

  .about_us_photos_text h2 {
    position: relative;
    bottom: 45px;
    left: 40px;
    font-weight: 400;
    padding-left: 0px;
    width: 100%;
    font-size: 13px;
  }

  .about_us_photos p {
    position: relative;
    bottom: 45px;
    font-weight: 400;
    font-size: 24px;
    padding-left: 40px;
    padding-right: 0;
    margin-bottom: 60px;
  }
  .services {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
  }
  .modifications {
    width: 100%;
    margin-bottom: 30px;
    height: auto;
  }
  .modifications_text {
    align-items: center;
    width: 100%;
  }
  .upper_text {
    font-weight: 400;
    font-size: 22px;
    padding-right: 70px;
    width: 100%;
  }
  .lover_text {
    font-weight: 300;
    font-size: 16px;
  }
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-200%);
    }
  }
  .modifications_text_image {
    display: none;
  }
  .modifications_images {
    display: none;
  }
  .first_card {
    display: none;
  }
  .second_card {
    display: none;
  }
  .services {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .services_slider {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    width: 100%;
    max-width: 70vw;
    margin-left: auto;
    margin-right: auto;
  }
  .services_slides {
    display: flex;
    width: calc(70vw * 8);
    transition: transform 0.6s ease;
  }
  .services_card {
    flex: 0 0 70vw;
    height: auto;
    max-width: 70vw;
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .services_card h1 {
    max-width: 70vw;
    font-size: 20px;
    padding: 15px 0px 0px 0px;
  }
  .services_controls {
    display: flex;
    /* text-align: center; */
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
  }
  .services_controls label {
    display: inline-block;
    width: 12px;
    height: 12px;
    /* margin: 0 5px; */
    background: #aaa;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1;
  }
  .services_card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
  }
  .controls {
    margin-top: 15px;
  }
  .controls label {
    width: 14px;
    height: 14px;
  }
  input[type="radio"] :checked + .services_slides + .services_controls label {
    background: #aaa; /* сброс для всех */
  }

  #r1:checked ~ .services_slides {
    transform: translateX(0%);
  }
  #r2:checked ~ .services_slides {
    transform: translateX(-12.5%);
  }
  #r3:checked ~ .services_slides {
    transform: translateX(-25%);
  }
  #r4:checked ~ .services_slides {
    transform: translateX(-37.5%);
  }
  #r5:checked ~ .services_slides {
    transform: translateX(-50%);
  }
  #r6:checked ~ .services_slides {
    transform: translateX(-62.5%);
  }
  #r7:checked ~ .services_slides {
    transform: translateX(-75%);
  }
  #r8:checked ~ .services_slides {
    transform: translateX(-87.5%);
  }

  #r1:checked ~ .services_controls label[for="r1"],
  #r2:checked ~ .services_controls label[for="r2"],
  #r3:checked ~ .services_controls label[for="r3"],
  #r4:checked ~ .services_controls label[for="r4"],
  #r5:checked ~ .services_controls label[for="r5"],
  #r6:checked ~ .services_controls label[for="r6"],
  #r7:checked ~ .services_controls label[for="r7"],
  #r8:checked ~ .services_controls label[for="r8"] {
    background-color: #34cbd3;
  }
  .footer {
    background-image: url("img/Rectangle\ 745-1.svg");
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    bottom: 0px;
  }
  .footer_cards {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    margin-bottom: 0px;
    padding-top: 20px;
    padding-right: 0;
    padding-left: 0;
  }
  .footer_news {
    padding-left: 0px;
    align-self: center;
    padding-right: 155px;
    padding-bottom: 15px;
  }
  .new-footer-bottom {
    padding: 30px 20px;
  }
  
  .footer-links-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    text-align: center;
  }
  
  .footer-links-row a {
    font-size: 16px;
  }
  
  .footer-info {
    text-align: center;
  }
  
  .footer-copyright {
    font-size: 14px;
  }
  
  .footer-address {
    font-size: 12px;
  }
  
  .footer-disclaimer {
    font-size: 11px;
  }
  
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .scroll-to-top svg {
    width: 18px;
    height: 18px;
  }
  .footer_news h1 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0 5px;
  }
  .first_footer_card {
    width: 250px;
    height: 100px;
  }
  .first_footer_card:hover,
  .second_footer_card:hover,
  .third_footer_card:hover,
  .fourth_footer_card:hover {
    cursor: pointer;
    padding: 0px !important;
    transform: none;
    background-color: unset;
    box-shadow: none;
  }
  .second_footer_card {
    width: 250px;
    height: 120px;
  }
  .third_footer_card {
    width: 250px;
    height: 110px;
  }
  .fourth_footer_card {
    width: 250px;
    height: 100px;
    /* background-color: #F4F4F4; */
  }
  .footer_cards h1 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .footer_cards h2 {
    font-size: 12px;
    font-weight: 300;
  }
  .footer_cards p {
    text-align: right;
    padding-right: 0px;
    font-weight: 300;
    font-size: 10px;
  }
  .footer_slider_track {
    padding-top: 50px;
    justify-content: center;
    gap: 6px;
    display: flex;
    width: max-content;
    animation: scroll 400s linear infinite;
  }
  .footer_slider img {
    max-width: 320px;
    height: 214px;
    object-fit: cover;
    transform: none !important;
  }
  .footer_documentation {
  display: flex;;
    padding-top: 50px;
    width: 100%;
    gap: 30px;
    padding-left: 15px;
    justify-content: flex-start;
    margin-bottom: 30px;
}
.documentation_contacts,
.documentation_directory{
  width: 50%;
}
.footer_contacts,
.footer_directory {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 20px;
}
.documentation_addres,
.documentation_number,
.documentation_mail {
  font-size: clamp(9px, 3.2vw, 14px);
  padding-bottom: 10px;
}
.general_director,
.technical_director, 
.comm_director {
  font-size: clamp(9px, 3.2vw, 14px);
  padding-bottom: 10px;
}
}

.burger nav > *:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

/* Scroll to top button styles */
.scroll-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  background: #47bbc2;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(71, 187, 194, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #3a9ca3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(71, 187, 194, 0.4);
}

.scroll-to-top:active {
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }
  
  .scroll-to-top svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
  }
  .scroll-to-top svg {
    width: 12px;
    height: 12px;
  }
}

/* ===========================================
   DARK THEME STYLES
   =========================================== */
   
/* Dark theme base styles */
body.dark-theme {
  background-color: #0d1117;
  color: #c9d1d9;
}

/* Dark theme for header */
body.dark-theme .header {
  background-color: #0d1117 !important;
  border-bottom: 1px solid #30363d;
  position: relative;
  box-shadow: inset 0 0 0 1000px rgba(13, 17, 23, 0.8);
}

body.dark-theme .header .inner_image {
  opacity: 0.3;
}

body.dark-theme .header_text p {
  color: #c9d1d9;
}

body.dark-theme .info_left button,
body.dark-theme .info_right button {
  color: #c9d1d9;
}

body.dark-theme .info_left button:hover,
body.dark-theme .info_right button:hover {
  color: #ff6b7a;
}

/* Make all navigation links same color as phone number */
body.dark-theme .info_left button,
body.dark-theme .info_right button,
body.dark-theme .info_right a {
  color: #c9d1d9 !important;
}

body.dark-theme .info_left button:hover,
body.dark-theme .info_right button:hover,
body.dark-theme .info_right a:hover {
  color: #ff6b7a !important;
}

/* Dark theme for all header elements - same color as phone number */
body.dark-theme .info_left,
body.dark-theme .info_right,
body.dark-theme .header_right_icons {
  color: #c9d1d9;
}

body.dark-theme .info_left button,
body.dark-theme .info_right button,
body.dark-theme .info_right a,
body.dark-theme .info_left a,
body.dark-theme .change_language,
body.dark-theme .theme_btn,
body.dark-theme .tg_btn,
body.dark-theme .search_btn {
  color: #c9d1d9 !important;
}

body.dark-theme .info_left button:hover,
body.dark-theme .info_right button:hover,
body.dark-theme .info_right a:hover,
body.dark-theme .info_left a:hover,
body.dark-theme .change_language:hover,
body.dark-theme .theme_btn:hover,
body.dark-theme .tg_btn:hover,
body.dark-theme .search_btn:hover {
  color: #ff6b7a !important;
}

/* Dark theme for icons - make them same color as text */
body.dark-theme .info_right img,
body.dark-theme .header_right_icons img,
body.dark-theme .tg_btn img,
body.dark-theme .theme_btn img,
body.dark-theme .search_btn img {
  filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(750%) hue-rotate(169deg) brightness(95%) contrast(89%) !important;
}

body.dark-theme .info_right img:hover,
body.dark-theme .header_right_icons img:hover,
body.dark-theme .tg_btn img:hover,
body.dark-theme .theme_btn img:hover,
body.dark-theme .search_btn img:hover {
  filter: brightness(0) saturate(100%) invert(50%) sepia(95%) saturate(750%) hue-rotate(321deg) brightness(95%) contrast(89%) !important;
}


/* Dark theme for production section text */
body.dark-theme .production_text {
  color: #c9d1d9;
}

body.dark-theme .production_text .up_text,
body.dark-theme .production_text .down_text {
  color: #c9d1d9;
}

body.dark-theme .production_text h1,
body.dark-theme .production_text h2 {
  color: #c9d1d9;
}

/* Dark theme for card text in production section */
body.dark-theme .card h1,
body.dark-theme .card h2 {
  color: #c9d1d9 !important;
}

body.dark-theme .card .more {
  color: #58a6ff !important;
}

body.dark-theme .card .more:hover {
  color: #ff6b7a !important;
}

/* Dark theme for burger menu toggle buttons (arrows) */
body.dark-theme .toggle-btn {
  background: none !important;
  border: none !important;
  color: #c9d1d9 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.dark-theme .toggle-btn:hover {
  color: #ff6b7a !important;
}

body.dark-theme .toggle-btn img {
  filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(750%) hue-rotate(169deg) brightness(95%) contrast(89%) !important;
}

body.dark-theme .toggle-btn:hover img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(95%) saturate(750%) hue-rotate(321deg) brightness(95%) contrast(89%) !important;
}

/* Dark theme for burger menu bottom icons */
body.dark-theme .burger_search img,
body.dark-theme .burger_tg_btn img,
body.dark-theme .burger_theme_btn img {
  filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(750%) hue-rotate(169deg) brightness(95%) contrast(89%) !important;
}

body.dark-theme .burger_search:hover img,
body.dark-theme .burger_tg_btn:hover img,
body.dark-theme .burger_theme_btn:hover img {
  filter: brightness(0) saturate(100%) invert(50%) sepia(95%) saturate(750%) hue-rotate(321deg) brightness(95%) contrast(89%) !important;
}

body.dark-theme .burger_change_language {
  color: #c9d1d9 !important;
}

body.dark-theme .burger_change_language:hover {
  color: #ff6b7a !important;
}

body.dark-theme .number_btn {
  color: #c9d1d9;
  border-color: #30363d;
}

body.dark-theme .number_btn:hover {
  color: #ff6b7a;
  border-color: #ff6b7a;
}

body.dark-theme .header_search_input {
  background-color: #0d1117;
  border-color: #30363d;
  color: #c9d1d9;
}

body.dark-theme .header_search_input::placeholder {
  color: #8b949e;
}

/* Dark theme for main content */
body.dark-theme .main {
  background-color: #0d1117;
}

body.dark-theme .hero-overlay {
  background: rgba(0, 0, 0, 0.75);
}

body.dark-theme .hero-title {
  color: #c9d1d9;
}

body.dark-theme .breadcrumb {
  color: #8b949e;
}

body.dark-theme .breadcrumb a {
  color: #8b949e;
}

body.dark-theme .breadcrumb a:hover {
  color: #ff8694;
}

body.dark-theme .breadcrumb .separator {
  color: #8b949e;
}

/* Dark theme for sections */
body.dark-theme .section {
  background-color: #0d1117;
}

body.dark-theme .section h2,
body.dark-theme .section h3,
body.dark-theme .section h4 {
  color: #c9d1d9;
}

body.dark-theme .section p {
  color: #8b949e;
}

body.dark-theme .section a {
  color: #58a6ff;
}

body.dark-theme .section a:hover {
  color: #ff6b7a;
}

/* Dark theme for cards */
body.dark-theme .card {
  background-color: #161b22;
  border: 1px solid #30363d;
}

body.dark-theme .card h3 {
  color: #c9d1d9;
}

body.dark-theme .card p {
  color: #8b949e;
}

body.dark-theme .card:hover {
  border-color: #ff6b7a;
  box-shadow: 0 4px 20px rgba(255, 107, 122, 0.2);
}

/* Dark theme for buttons */
body.dark-theme .btn {
  background-color: #238636;
  color: #c9d1d9;
  border: 1px solid #238636;
}

body.dark-theme .btn:hover {
  background-color: #2ea043;
  border-color: #2ea043;
}

body.dark-theme .btn-secondary {
  background-color: transparent;
  color: #c9d1d9;
  border: 1px solid #30363d;
}

body.dark-theme .btn-secondary:hover {
  background-color: #30363d;
  border-color: #ff6b7a;
  color: #ff6b7a;
}

/* Dark theme for footer */
body.dark-theme .footer {
  background-color: #0d1117 !important;
  border-top: 1px solid #30363d;
}

body.dark-theme .footer h3,
body.dark-theme .footer h4 {
  color: #c9d1d9;
}

body.dark-theme .footer p,
body.dark-theme .footer a {
  color: #8b949e;
}

body.dark-theme .footer a:hover {
  color: #ff6b7a;
}

body.dark-theme .footer-address {
  color: #8b949e;
}

body.dark-theme .footer-copyright {
  color: #8b949e;
  border-top: 1px solid #30363d;
}

/* Dark theme for burger menu */
body.dark-theme .burger nav {
  background-color: #161b22;
}

body.dark-theme .burger a,
body.dark-theme .burger button,
body.dark-theme .burger p {
  color: #c9d1d9;
  border-bottom-color: #30363d;
}

body.dark-theme .burger button:hover {
  color: #ff6b7a;
}

body.dark-theme .submenu a {
  color: #8b949e;
  border-bottom-color: #30363d !important;
}

body.dark-theme .submenu a:hover {
  color: #ff6b7a;
}

body.dark-theme .burger_production,
body.dark-theme .burger_services,
body.dark-theme .burger_manufacture,
body.dark-theme .burger_about {
  border-bottom-color: #30363d;
}

body.dark-theme .burger_number a {
  color: #ff6b7a;
}

body.dark-theme .burger_search_input {
  background-color: #0d1117;
  border-color: #30363d;
  color: #c9d1d9;
}

body.dark-theme .overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* Dark theme for dropdown menus */
body.dark-theme .dropdown-menu {
  background-color: #161b22;
  border: 1px solid #30363d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.dark-theme .dropdown-menu a {
  color: #c9d1d9;
  border-bottom: 1px solid #30363d;
}

body.dark-theme .dropdown-menu a:hover {
  background-color: #21262d;
  color: #ff6b7a;
}

/* Dark theme for specific dropdown selectors */
body.dark-theme .info_right .dropdown-container .about-company-dropdown .dropdown-column a:hover {
  background-color: #21262d !important;
  color: #ff6b7a !important;
  padding-left: 20px !important;
}

body.dark-theme .dropdown-column a:hover {
  background-color: #21262d !important;
  color: #ff6b7a !important;
  padding-left: 20px !important;
}

body.dark-theme .info_right .dropdown-container .about-company-dropdown .dropdown-column a {
  color: #c9d1d9;
  border-bottom: 1px solid #30363d !important;
}

body.dark-theme .dropdown-column a {
  color: #c9d1d9;
  border-bottom: 1px solid #30363d !important;
}

body.dark-theme .dropdown-column a:last-child {
  border-bottom: none !important;
}

/* Dark theme for forms */
body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select {
  background-color: #0d1117;
  border: 1px solid #30363d;
  color: #c9d1d9;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
  color: #8b949e;
}

body.dark-theme input:focus,
body.dark-theme textarea:focus,
body.dark-theme select:focus {
  border-color: #ff6b7a;
  box-shadow: 0 0 0 2px rgba(255, 107, 122, 0.2);
}

/* Dark theme for scroll to top button */
body.dark-theme .scroll-to-top {
  background-color: #161b22;
  border: 1px solid #30363d;
}

body.dark-theme .scroll-to-top:hover {
  background-color: #ff6b7a;
  border-color: #ff6b7a;
}

body.dark-theme .scroll-to-top svg {
  fill: #c9d1d9;
}

body.dark-theme .scroll-to-top:hover svg {
  fill: #ffffff;
}

/* Dark theme for specific page elements */
body.dark-theme .production-card,
body.dark-theme .service-card,
body.dark-theme .news-card {
  background-color: #161b22;
  border: 1px solid #30363d;
}

body.dark-theme .production-card h3,
body.dark-theme .service-card h3,
body.dark-theme .news-card h3 {
  color: #c9d1d9;
}

body.dark-theme .production-card p,
body.dark-theme .service-card p,
body.dark-theme .news-card p {
  color: #8b949e;
}

body.dark-theme .production-card:hover,
body.dark-theme .service-card:hover,
body.dark-theme .news-card:hover {
  border-color: #ff6b7a;
  box-shadow: 0 4px 20px rgba(255, 107, 122, 0.2);
}

/* Dark theme for contact info */
body.dark-theme .contact-item {
  color: #8b949e;
}

body.dark-theme .contact-item strong {
  color: #c9d1d9;
}

body.dark-theme .contact-item a {
  color: #58a6ff;
}

body.dark-theme .contact-item a:hover {
  color: #ff6b7a;
}

/* Dark theme for awards section */
body.dark-theme .awards-section {
  background-color: #161b22;
}

body.dark-theme .award-item {
  background-color: #0d1117;
  border: 1px solid #30363d;
}

body.dark-theme .award-item:hover {
  border-color: #ff6b7a;
  box-shadow: 0 4px 20px rgba(255, 107, 122, 0.2);
}

/* Dark theme for privacy policy content */
body.dark-theme .privacy-policy-main {
  background-color: #0d1117;
}

body.dark-theme .privacy-policy-content {
  background-color: #161b22;
  border: 1px solid #30363d;
}

body.dark-theme .privacy-policy-content h1 {
  color: #c9d1d9;
  border-bottom-color: #ff6b7a;
}

body.dark-theme .privacy-section h2 {
  color: #c9d1d9;
  border-left-color: #ff6b7a;
}

body.dark-theme .privacy-section h3,
body.dark-theme .privacy-section h4 {
  color: #c9d1d9;
}

body.dark-theme .privacy-section p,
body.dark-theme .privacy-section li {
  color: #8b949e;
}

body.dark-theme .privacy-section a {
  color: #58a6ff;
}

body.dark-theme .privacy-section a:hover {
  color: #ff6b7a;
}

body.dark-theme .privacy-section strong {
  color: #c9d1d9;
}

/* Dark theme for about_us section (О нас в цифрах) */
body.dark-theme .about_us {
  background-color: #0d1117 !important;
}

body.dark-theme .about_us_text {
  color: #c9d1d9;
}

body.dark-theme .about_us_digits h1 {
  color: #ff6b7a;
}

body.dark-theme .about_us_digits h2 {
  color: #8b949e;
}

body.dark-theme .about_us_photos {
  color: #8b949e;
}

body.dark-theme .about_us_photos_text h1 {
  color: #c9d1d9;
}

body.dark-theme .about_us_photos_text h2 {
  color: #8b949e;
}

body.dark-theme .about_us_photos p {
  color: #8b949e;
}

/* Dark theme for production cards with text */
body.dark-theme .card_1_text {
  background-color: #161b22 !important;
  border: 1px solid #30363d;
}

body.dark-theme .card_1_text h1 {
  color: #c9d1d9 !important;
}

body.dark-theme .card_1_text h2 {
  color: #8b949e !important;
}

body.dark-theme .card_1_text:hover {
  background-color: #21262d !important;
  border-color: #58a6ff;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.2);
}

body.dark-theme .card_1_text:hover h1,
body.dark-theme .card_1_text:hover h2 {
  color: #c9d1d9 !important;
}

body.dark-theme .card_2_text {
  background-color: #161b22 !important;
  border: 1px solid #30363d;
}

body.dark-theme .card_2_text h1 {
  color: #c9d1d9 !important;
}

body.dark-theme .card_2_text h2 {
  color: #8b949e !important;
}

body.dark-theme .card_2_text:hover {
  background-color: #21262d !important;
  border-color: #58a6ff;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.2);
}

body.dark-theme .card_2_text:hover h1,
body.dark-theme .card_2_text:hover h2 {
  color: #c9d1d9 !important;
}

body.dark-theme .card_3_text {
  background-color: #161b22 !important;
  border: 1px solid #30363d;
}

body.dark-theme .card_3_text h1 {
  color: #c9d1d9 !important;
}

body.dark-theme .card_3_text h2 {
  color: #8b949e !important;
}

body.dark-theme .card_3_text:hover {
  background-color: #21262d !important;
  border-color: #58a6ff;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.2);
}

body.dark-theme .card_3_text:hover h1,
body.dark-theme .card_3_text:hover h2 {
  color: #c9d1d9 !important;
}

body.dark-theme .second_card_text {
  background-color: #161b22 !important;
  border: 1px solid #30363d;
}

body.dark-theme .second_card_text h1 {
  color: #c9d1d9 !important;
}

body.dark-theme .second_card_text h2 {
  color: #8b949e !important;
}

body.dark-theme .second_card_text:hover {
  background-color: #21262d !important;
  border-color: #58a6ff;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.2);
}

body.dark-theme .second_card_text:hover h1,
body.dark-theme .second_card_text:hover h2 {
  color: #c9d1d9 !important;
}

/* Dark theme for card buttons */
body.dark-theme .card1_btn,
body.dark-theme .card2_btn,
body.dark-theme .card3_btn {
  color: #58a6ff !important;
}

body.dark-theme .card1_btn:hover,
body.dark-theme .card2_btn:hover,
body.dark-theme .card3_btn:hover {
  color: #79c0ff !important;
}

body.dark-theme .more_text {
  color: #58a6ff !important;
}

body.dark-theme .second_card_btn p {
  color: #58a6ff !important;
}

body.dark-theme .second_card_btn:hover p {
  color: #79c0ff !important;
}

/* Dark theme for statistics section (О нас в цифрах) */
body.dark-theme .statistics {
  background-color: #161b22;
}

body.dark-theme .statistics h2 {
  color: #c9d1d9;
}

body.dark-theme .statistics .stat-item {
  background-color: #0d1117;
  border: 1px solid #30363d;
}

body.dark-theme .statistics .stat-number {
  color: #ff6b7a;
  font-size: 3rem;
  font-weight: 700;
}

body.dark-theme .statistics .stat-text {
  color: #8b949e;
  font-size: 1.1rem;
}
body.dark-theme .grid_item p{
  color: #c9d1d9;
}
/* Dark theme for footer */
body.dark-theme .footer {
  background-color: #0d1117;
  border-top: none;
  position: relative;
  margin-top: 0;
  bottom: 32px;
}

body.dark-theme .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 17, 23, 0.8);
  z-index: 1;
  pointer-events: none;
}

body.dark-theme .footer > * {
  position: relative;
  z-index: 2;
}

body.dark-theme .footer h3,
body.dark-theme .footer h4 {
  color: #c9d1d9;
}

body.dark-theme .footer p,
body.dark-theme .footer a {
  color: #8b949e;
}

body.dark-theme .footer a:hover {
  color: #ff6b7a;
}

body.dark-theme .footer-address {
  color: #8b949e;
}

body.dark-theme .footer-copyright {
  color: #8b949e;
  border-top: none;
}

/* Dark theme for news section in footer */
body.dark-theme .footer-news {
  background-color: #161b22;
}

body.dark-theme .footer-news h3 {
  color: #c9d1d9;
}

body.dark-theme .footer-news .news-item {
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

body.dark-theme .footer-news .news-item h4 {
  color: #c9d1d9;
  margin-bottom: 8px;
}

body.dark-theme .footer-news .news-item p {
  color: #8b949e;
  font-size: 0.9rem;
  line-height: 1.4;
}

body.dark-theme .footer-news .news-item .news-date {
  color: #ff6b7a;
  font-size: 0.8rem;
  font-weight: 600;
}

body.dark-theme .footer-news .news-item:hover {
  border-color: #ff6b7a;
  box-shadow: 0 4px 20px rgba(255, 107, 122, 0.2);
}
body.dark-theme  .footer_news h1{
  color: white;
}
/* Dark theme for footer cards */
body.dark-theme .footer_cards h1,
body.dark-theme .footer_cards h2,
body.dark-theme .footer_cards p {
  color: #c9d1d9 !important;
}

body.dark-theme .first_footer_card,
body.dark-theme .second_footer_card,
body.dark-theme .third_footer_card,
body.dark-theme .fourth_footer_card {
  border-radius: 8px !important;
}

body.dark-theme .first_footer_card:hover,
body.dark-theme .second_footer_card:hover,
body.dark-theme .third_footer_card:hover,
body.dark-theme .fourth_footer_card:hover {
  background-color: #161b22 !important;
  border-color: #ff6b7a !important;
}

/* Dark theme for main sections */
body.dark-theme .production {
  background-color: #0d1117;
}

body.dark-theme .production h2 {
  color: #c9d1d9;
}

body.dark-theme .production p {
  color: #8b949e;
}

body.dark-theme .about {
  background-color: #0d1117;
}

body.dark-theme .about h2 {
  color: #c9d1d9;
}

body.dark-theme .about p {
  color: #8b949e;
}

body.dark-theme .news {
  background-color: #0d1117;
}

body.dark-theme .news h2 {
  color: #c9d1d9;
}

body.dark-theme .news p {
  color: #8b949e;
}

body.dark-theme .awards {
  background-color: #0d1117;
}

body.dark-theme .awards h2 {
  color: #c9d1d9;
}

body.dark-theme .awards p {
  color: #8b949e;
}

/* Dark theme for cards and content blocks */
body.dark-theme .content-card {
  background-color: #161b22;
  border: 1px solid #30363d;
}

body.dark-theme .content-card h3 {
  color: #c9d1d9;
}

body.dark-theme .content-card p {
  color: #8b949e;
}

body.dark-theme .content-card:hover {
  border-color: #ff6b7a;
  box-shadow: 0 4px 20px rgba(255, 107, 122, 0.2);
}

/* Dark theme for gallery */
body.dark-theme .gallery {
  background-color: #0d1117;
}

body.dark-theme .gallery img {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

body.dark-theme .gallery img:hover {
  opacity: 1;
}

/* Dark theme for all icons - same color as text */
body.dark-theme .search_btn img,
body.dark-theme .tg_btn img,
body.dark-theme .theme_btn img,
body.dark-theme .info_right img,
body.dark-theme .header_right_icons img,
body.dark-theme .burger_search img,
body.dark-theme .burger_tg_btn img,
body.dark-theme .burger_theme_btn img,
body.dark-theme .toggle-btn img {
  filter: brightness(0) saturate(100%) invert(100%) !important;
}
