@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid; */
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth !important;
}

html {
  scroll-behavior: smooth;
  scroll-margin-top: 0px;
}

ul li a {
  color: #878787;
  text-decoration: none;
  transition: 0.3s;
}
.form-control {
  width: 0;
}

ul li a:hover {
  color: #1571ff;
}

.carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.carousel .box {
  min-width: 430px;
  transition: transform 0.5s ease;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  margin-top: 50px;
}
.container {
  padding-left: 15px;
  padding-right: 10px;
  margin: 0 auto;
  max-height: 100%;
  max-width: 1440px;
  width: 100%;
  padding-bottom: 2px;
  border: 1px solid;
}
header {
  position: fixed;
  top: 0;
  height: 90px;
  left: 0;
  width: 100%;
  background-color: #ffffff; /* oq fon */
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 18px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* soyali effekt */
  z-index: 1000; /* har doim tepada tursin */
  transition: all 0.3s ease;
}
header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
}
.left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  max-width: 100%;
}
.photo_logo {
  width: 100px;
  height: 80px;
  border-radius: 16px;
}
.logp_text {
  font-weight: 700;
  font-style: Bold;
  font-size: 80px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #131217;
}
.right {
  max-width: 948px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
ul {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-radius: 16px;
  padding: 0 10px;
  list-style: none;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #878787;
  align-items: center;
  border: none;
  cursor: pointer;
  margin-bottom: 0 !important;
}
li {
  border-radius: 16px;
  border: none;
}
li:hover {
  border-radius: 16px;
  background-color: #ffffff;
  color: #1571ff;
  padding: 18px 32px 18px 30px;
}
a.btn {
  background-color: #1571ff;
  color: #ffffff;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  width: 195px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
}

a.btn:hover {
  background-color: #51d9c5;
}

i {
  font-size: 30px;
  border: none;
}
.btn2 {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  color: white;
  background-color: #1571ff;
  display: none;
  border: none;
}

.contact-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.btn-makro {
  width: 60px !important;
}

menu {
  margin: 0 auto;
  display: flex;
  padding: 0 15px;
  max-width: 1308px;
  width: 100%;
  border: 1px solid;
  border-radius: 16px;
  margin-top: 32px;
  background-color: rgb(236, 240, 243);
  margin-top: 90px;
}
.left1 {
  max-width: 950px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 44px;
  background-color: #ecf0f3;
}
.theme {
  max-width: 100%;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 51px;
  letter-spacing: 0%;
  color: #131217;
  white-space: normal;
  word-wrap: break-word;
}
span {
  color: #1571ff;
}
.text1 {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  max-width: 100%;
  color: #131217;
  margin-top: 16px;
}
.zk-btn {
  width: 270px;
  height: 70px;
  border-radius: 16px;
  background-color: #1571ff;
  color: #ffffff;
  border: 0;
  font-weight: 500;
  font-style: Medium;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 32px;
  margin-bottom: 44px;
  --clr-font-main: hsla(0 0% 20% / 100);
  --btn-bg-1: hsla(194 100% 69% / 1);
  --btn-bg-2: hsla(217 100% 56% / 1);
  --btn-bg-color: hsla(360 100% 100% / 1);
  --radii: 0.5em;
  cursor: pointer;
  padding: 0.9em 1.4em;
  transition: 0.8s;
  background-size: 280% auto;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  border: none;
  border-radius: var(--radii);
  color: var(--btn-bg-color);
  box-shadow: 0px 0px 20px rgba(71, 184, 255, 0.5),
    0px 5px 5px -1px rgba(58, 125, 233, 0.25),
    inset 4px 4px 8px rgba(175, 230, 255, 0.5),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.zk-btn:hover {
  background-position: right top;
}

.zk-btn:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow: 0 0 0 3px var(--btn-bg-color), 0 0 0 6px var(--btn-bg-2);
}

@media (prefers-reduced-motion: reduce) {
  .zk-btn {
    transition: linear;
  }
}

.non {
  max-width: 250px;
  width: 100%;
  height: 56px;
  border-radius: 16px;
  background-color: #1571ff;
  color: #ffffff;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 32px;
  margin-bottom: 44px;
  display: none;
}

.rasm {
  max-width: 450px;
  width: 100%;
  height: auto;
}
.right1 {
  max-width: 450px;
  width: 100%;
}
nav {
  margin: 0 auto;
  max-width: 1308px;
  border-radius: 16px;
  width: 100%;
  border: 1px solid;
  display: flex;
}
.left2 {
  max-width: 648px;
  width: 100%;
}

.two_1 {
  display: flex;
  flex-direction: column;

  max-width: 648px;
  width: 100%;
}
.okompani {
  background-color: white;
  border-radius: 16px;
  max-width: 648px;
  width: 100%;
  border: 1px solid;
  border-radius: 16px;
}
.logo {
  max-width: 648px;
  width: 100%;
  background-color: #1571ff;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  rotate: -4deg;
  overflow: hidden;
}
.logo_1 {
  margin-top: 10px;
  margin-bottom: 10px;
}
.okompani_text {
  font-weight: 700;
  font-style: Bold;
  font-size: 38px;
  letter-spacing: 0%;
  color: #1571ff;
  padding-left: 16px;
  margin-top: 23px;
  margin-bottom: 23px;
}
.text_matn {
  max-width: 648px;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 50px;
  flex-direction: column;
}
.desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  max-width: 548px;
  width: 100%;
}
.right2 {
  max-width: 658px;
  width: 100%;
}
.img_gril {
  max-width: 658px;
  width: 100%;
  min-height: 400px;
  height: 100%;
  border-radius: 16px;
}
.btn-knopku {
  max-width: 384px;
  width: 100%;
  height: 80px;
  background-color: #1571ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  border: 0;
  border-radius: 16px;
  position: relative;
  top: -100px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
section {
  margin: 0 auto;
  max-width: 1308px;
  border: 1px solid;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

/* ВИД УСЛУГИ */

.section3 {
  max-width: 1308px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
}
.vid_btn {
  font-weight: 700;
  font-style: Bold;
  font-size: 38px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 16px;
  margin-bottom: 16px;
  margin-left: 32px;
}
.vid1 {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  padding: 16px;
  gap: 10px;
  opacity: 1;
  background-color: #f3f4f5;
  border: 0;
  color: #878787;
}
.btnlar {
  margin: 5px;
}
.vid2 {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  padding: 16px;
  gap: 10px;
  opacity: 1;
  background-color: #f3f4f5;
  color: #878787;
  border: 0;
}

.vid:hover {
  background-color: #1571ff;
  color: #ffffff;
  scale: 1.05;
}
.photos {
  max-width: 1315px;
  width: 100%;
  display: flex;
}
.sarlavha {
  display: flex;
  max-width: 1308px;
  border: 1px solid;
}
.res {
  max-width: 430px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid;
}

.box {
  max-width: 435px;
  width: 100%;
  background-color: #ffffff;
  color: #1571ff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.new_pic {
  display: none;
}
.box_text {
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  padding: 20px;
  color: #1571ff;
  border: 1px solid;
  border-radius: 16px;
}

article {
  max-width: 1308px;
  width: 100%;
  border: 1px solid;
  margin: 0 auto;
  background-image: url("img.fy/tochnost2.png");
  background-size: 1310px;
  background-repeat: no-repeat;
  background-position: 0px;
  min-height: 490px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

/* Наши преимущества */

.nashi_4 {
  max-width: 470px;
  width: 100%;
  height: 78px;
  font-weight: 700;
  font-style: Bold;
  font-size: 38px;
  line-height: 100%;
  letter-spacing: 0%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1571ff;
  border-radius: 16px;
  margin-left: 48px;
  margin-top: 48px;
}

.btnlar6 {
  max-width: 1250px;
  display: flex;
  justify-content: space-between;
  margin-left: 32px;
  margin-top: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.btn-right {
  max-width: 384px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: flex-end;
}
.btn_left {
  display: flex;
  flex-direction: column;

  max-width: 384px;
  width: 100%;
  gap: 2px;
  justify-content: flex-end;
}
.knopku2 {
  position: relative;
  background-color: #ffffff; /* default oq fon */
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 18px;
  color: #1571ff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(40px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  transition: all 0.35s ease;
}

.knopku2 img {
  width: 28px;
  height: 28px;
  transition: transform 0.4s ease;
}

/* Hover effekti */
.knopku2:hover {
  background-color: #1571ff;
  color: #ffffff;
  transform: scale(2);
  box-shadow: 0 6px 18px rgba(21, 113, 255, 0.3);
}

.knopku2:hover img {
  transform: rotate(10deg) scale(1.8);
  filter: brightness(1.3) saturate(180%) hue-rotate(210deg);
  transition: 0.4s ease;
}

/* Chapdan o‘ngga chiqish uchun delay */
.btn_left .knopku2:nth-child(1) {
  animation-delay: 0.1s;
}
.btn_left .knopku2:nth-child(2) {
  animation-delay: 0.3s;
}
.btn_left .knopku2:nth-child(3) {
  animation-delay: 0.5s;
}

.btn-right .knopku2:nth-child(1) {
  animation-delay: 0.7s;
}
.btn-right .knopku2:nth-child(2) {
  animation-delay: 0.9s;
}
.btn-right .knopku2:nth-child(3) {
  animation-delay: 1.1s;
}

/* Animatsiya ta’rifi */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------- */

.knk-text {
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  padding-left: 5px;
}

.deg1 {
  rotate: -4deg;
  margin-bottom: 20px;
  overflow: hidden;
}
.deg2 {
  rotate: 4deg;
  overflow: hidden;
  margin-bottom: 10px;
}
.deg_img2 {
  rotate: -4deg;
}
.deg_img1 {
  rotate: 4deg;
}
aside {
  max-width: 1308px;
  width: 100%;
  border: 1px solid;
  display: flex;
  margin: 0 auto;
  min-height: 584px;
  border-radius: 16px;
  width: 100%;
}
.left_box {
  max-width: 648px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 584px;
}
.right_box {
  max-width: 658px;
  width: 100%;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: end;
  background-image: url("./img.fy/map.png");
  cursor: pointer;
}
.two_2 {
  display: flex;
  flex-direction: column;
  border: 1px solid;
  max-width: 648px;
  width: 100%;
  background-color: white;
  border-radius: 16px;
  rotate: 4deg;
  margin-top: 20px;
}
.two_text {
  color: #1571ff;
  font-weight: 700;
  font-style: Bold;
  font-size: 38px;
  line-height: 100%;
  letter-spacing: 0%;
  padding-left: 18px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.logotip {
  max-width: 648px;
  width: 100%;
  background-color: #1571ff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-top: 22px;
}

.logotip.h1 {
  width: 100%;
  height: 100%;
  text-align: center;
}

.text_box {
  max-width: 648px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 32px;
  padding-bottom: 12px;
  border-radius: 16px;
}
.texth4 {
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  margin-top: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #1571ff;
}
.textp {
  font-family: Inter;
  font-weight: 400;
  font-size: 18px;
  color: #131217;
  line-height: 120%;
  letter-spacing: 0%;
  margin-top: 16px;
  text-decoration: none;
}
.carta_img {
  max-width: 658px;
  width: 100%;
  height: 584px;
  border-radius: 16px;
}
.yandex_btn {
  max-width: 626px;
  width: 100%;
  display: flex;
  color: #ffffff;
  background-color: #1571ff;
  border: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 16px;
  margin-right: 10px;
  margin-left: 10px;
}
.yandex_txt {
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 25px;
  margin-left: 10px;
}
footer {
  max-width: 1312px;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 32px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fbutton {
  color: #1571ff;
  font-weight: 500;
  font-style: Medium;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  max-width: 195px;
  width: 100%;
  height: 56px;
  background-color: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.ftext {
  color: black;
  font-size: 22px;
}

/* Mobile menu styles */
ul.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px 0;
  z-index: 999;
}

ul.open li {
  width: 100%;
  text-align: center;
  padding: 10px 0;
}

ul.open li a {
  display: block;
  padding: 10px 20px;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .theme {
    font-size: 36px;
    line-height: 110%;
  }
  .text1,
  .desc,
  .textp {
    font-size: 16px;
    line-height: 140%;
  }
  .vid_btn,
  .okompani_text,
  .two_text,
  .nashi_4 {
    font-size: 28px;
  }
  .box_text,
  .knk-text,
  .texth4 {
    font-size: 16px;
  }
  .zk-btn,
  .non,
  .btn,
  .yandex_txt,
  .fbutton {
    font-size: 14px;
  }

  .btn-knopku {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    height: 60px;
    max-width: 300px;
  }
  ul {
    display: none;
  }
  .btn {
    display: none;
  }
  .btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .right {
    display: flex;
    justify-content: flex-end;
  }
  menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .btnlar {
    display: none;
  }
  .photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .btn-knopku {
    position: relative;
    left: 0;
    bottom: 0;
    margin: 0 auto;
  }
  .btnlar6 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-top: 10px;
    background-color: transparent;
    gap: 15px;
  }
  article {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    padding: 20px;
  }
  .nashi_4 {
    max-width: 308px;
    width: 100%;
    height: 80px;
    font-size: 24px;
    margin: 0;
    margin-top: 10px;
    padding: 15px;
  }
  .btn_left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  .btn-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  article {
    max-width: 700px;
    width: 100%;
  }
  aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .right_box {
    height: 500px;
    width: 100%;
  }
  .right2 {
    height: 400px;
    width: 100%;
  }
  .desc {
    padding: 10px;
    max-width: 100%;
  }
  footer {
    margin: 0 auto;
    margin-top: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .knopku2 {
    font-size: 16px;
    padding: 12px 16px;
    min-width: 200px;
    width: 100%;
  }
  .knopku2:hover {
    transform: scale(1.05);
  }

  .yandex_btn {
    display: flex;
    align-items: center;

    margin-bottom: 16px;
    margin-right: 10px;
    margin-left: 10px;
  }
  .yandex_txt {
    text-align: center;
  }

  a.btn {
    display: none;
  }
}

/* @media (max-width: 800px) {
  .theme {
    font-size: 28px;
  }
  .text1, .desc, .textp {
    font-size: 15px;
  }
  .vid_btn, .okompani_text, .two_text, .nashi_4 {
    font-size: 24px;
  }
  .box_text, .knk-text, .texth4 {
    font-size: 15px;
  }
  .zk-btn, .non, .btn, .yandex_txt, .fbutton {
    font-size: 14px;
  }
  .btn-knopku {
    font-size: 16px;
  }
} */

@media (max-width: 375px) {
  .theme {
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 120%;
  }
  .zk-btn {
    max-width: 100%;
  }
  .non {
    display: block;
    border: 0;
    max-width: 200px;
  }
  .text_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .textp {
    padding: 9px;
    text-align: center;
  }
  .right2 {
    display: flex;
    flex-direction: column;
  }
  .btn-knopku {
    max-width: 100%;
    margin: 0 auto;
  }
  .img_gril {
    height: 100%;
    width: 100%;
  }
  .ftext {
    padding: 5px;
  }
  footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }
  .knopku2 {
    width: 100px;
  }
}

@media (max-width: 505px) {
  .ftext {
    padding: 5px;
    text-align: center;
  }
  footer {
    display: flex;
    justify-content: center;

    gap: 10px;
  }
}
@media (max-width: 700px) {
  footer {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
}
.logo_foto {
  width: 120px;
  height: 100px;
  border: 0;
}

.language-switcher {
  /* Style your dropdown or buttons */
}

/* Hide elements for languages that are not currently selected */
[data-lang-key]:not([data-active-lang="true"]) {
  display: none;
}
html {
  scroll-behavior: smooth;
}
menu,
section,
article,
aside {
  scroll-margin-top: 100px; /* header balandligiga teng bo‘lsin */
}
