* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
}

header {
  z-index: 150;
}

.container {
  max-width: 1360px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.navList {
  justify-content: center;
  align-items: center;
  color: white;
  transition: color 0.3s ease;
}

.navList > li {
  margin-left: 30px;
  transition: color 0.3s ease;
}

.langBtn {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: end;
  width: 33px;
  height: 33px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  height: 100vh;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.burgerBtn {
  z-index: 195;
}

/* Yon menyu */
.side-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  z-index: 195;
  padding: 80px 25px;
  transition: all 0.4s ease;
  margin-top: 0;
}

/* Menyu ochilganda */
.side-menu.active {
  left: 0;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Menyu ichidagi havolalar */
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.side-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navList a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}

.navList a:hover {
  border-bottom: 2px solid white;
  transition: color 0.3s ease;
}

/* Dropdown asosiy joy */

.mobile-dropdown {
  position: relative;
}

.mobile-dropdownMenu {
  display: none;
  position: relative;
  /* background: rgba(255, 255, 255, 0.1); */
  padding-left: 20px;
  margin-top: 5px;
  left: 25px;
  border-radius: 5px;
}

.mobile-dropdown.active .mobile-dropdownMenu {
  display: block;
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.mobile-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menyu */
.dropdown {
  position: relative;
}

.dropdownMenu {
  position: absolute;
  top: 120%;
  left: 0;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  min-width: 135px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  z-index: 10;
}

.dropdownMenu li a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
}

.dropdownMenu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid transparent;
}

/* 🔥 Hover bo'lganda ochiladi */
.dropdown:hover .dropdownMenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav > ul > li > a.active {
  border-bottom: 2px solid white;
}

nav > ul > li > a.active2 {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgb(255, 255, 255);
}

/*        -------------------         hero section     ---------- */

.hero {
  width: 100%;
  height: 30vh;
}

.test-after {
  position: relative;
  padding-left: 60px;
}

.test-after::after {
  position: absolute;
  content: "";
  top: 16px;
  left: 0;
  height: 3px;
  width: 50px;
  background-color: #fff;
}

/* -------------  Factory -------- */

.logo-line {
  position: relative;
  z-index: 50;
}

.logo-line::after {
  position: absolute;
  content: "";
  width: 375px;
  height: 2px;
  background: rgba(20, 102, 153, 1);
  top: 123px;
  right: 0;
  z-index: 40;
}

@media (max-width: 768px) {
  .logo-line::after {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 956px) {
  .logo-line::after {
    width: 305px;
  }
}

.right-line {
  position: relative;
}

.right-line::after {
  position: absolute;
  content: "";
  width: 100%;
  max-width: 660px;
  height: 2px;
  background: rgba(255, 255, 255, 1);
  top: 123px;
  left: 0;
}

@media (max-width: 768px) {
  .right-line::after {
    display: none;
  }

  .sectionGaler::after {
    display: none;
  }
}

/*         imag     */

.sectionGaler {
  background: white;
  /* padding: 40px 0; */
  position: relative;
  z-index: 50;
}

.sectionGaler::after {
  content: "";
  position: absolute;
  top: 116px;
  right: 400px;
  width: 600px;
  height: 2px;
  z-index: -1;
  background-color: rgba(20, 102, 153, 1);
}

.photo-line {
  background: white;
  position: relative;
  z-index: 50;
}

.photo-line::after {
  content: "";
  position: absolute;
  top: 56px;
  right: 00px;
  width: calc(100% - 200px);
  height: 2px;
  z-index: -1;
  background-color: rgba(20, 102, 153, 1);
}

@media (max-width: 768px) {
  .photo-line::after {
    top: 32px;
    width: calc(100% - 150px);
  }
}

@media (max-width: 640px) {
  .photo-line::after {
    display: none;
  }
}

.video-line {
  background: white;
  position: relative;
  z-index: 50;
}

.video-line::after {
  content: "";
  position: absolute;
  top: 56px;
  right: 00px;
  width: calc(100% - 220px);
  height: 2px;
  z-index: -1;
  background-color: rgba(20, 102, 153, 1);
}

@media (max-width: 768px) {
  .video-line::after {
    top: 32px;
    width: calc(100% - 170px);
  }
}

@media (max-width: 640px) {
  .video-line::after {
    display: none;
  }
}

@media (max-width: 1336px) {
  .sectionGaler::after {
    width: 700px;
    right: calc(50% - 340px);
  }
}

@media (min-width: 1336px) {
  .sectionGaler::after {
    width: 756px;
    right: calc(50% - 380px);
  }
}

.galer {
  color: #146699;
  background: white;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  font-size: 50px;
}

.galer_link {
  display: inline-block;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.video-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.video-container:hover {
  transform: scale(1.02);
}

.video-thumbnail {
  width: 100%;
  height: 420px;
  display: block;
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------        prod    ---------- */
.sectionProd {
  background: #f4f9fb;

}

.prod {
  color: #146699;
  background: #f4f9fb;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 50px;
  padding: 40px 50px 40px 0px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: white;
}

.card {
  flex: 1;
  min-width: 280px;
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card h2 {
  font-size: 19px;
  font-weight: 600;
}

.card p {
  padding: 14px 0 12px 0;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 400;
}

.more {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.more img {
  margin-left: 6px;
}

.productCard {
  position: relative;
  z-index: 50;
}
.productCard::after {
  content: "";
  position: absolute;
  top: 76px;
  right: 0px;
  width: 737px;
  height: 2px;
  z-index: -1;
  background-color: rgba(20, 102, 153, 1);
}

/* ----------------  banka line   ------------- */

.banka_after {
  position: relative;
  z-index: 50;
}

.banka_after::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 0px;
  width: 606px;
  height: 2px;
  z-index: -1;
  background-color: #146699;
}

/*      form     */

.form_line {
  position: relative;
  z-index: 50;
}

.form_line::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 0px;
  width: 772px;
  height: 2px;
  z-index: -1;
  background-color: #146699;
}

input::placeholder {
  color: #323232;
  font-weight: 400;
  font-size: 16px;
}

textarea::placeholder {
  color: #323232;
  font-weight: 400;
  font-size: 16px;
}

/*     Carousel Photos page uchun Imagelar  */

/* Video active border transition */
.video-active-border {
  transition: background-color 0.3s ease;
}

/* Video thumbnail hover */
.video-thumbnail-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 640px) {
  input::placeholder {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  textarea::placeholder {
    font-size: 14px;
  }
}

/* 📱 Responsivlik */

@media (max-width: 640px) {
  .banka_after::after {
    top: 35px;
  }
}

@media (max-width: 768px) {
  .prod {
    font-size: 25px;
    padding: 20px 0;
  }

  .galer {
    font-size: 25px;
  }

  .card {
    min-width: 100%;
  }

  .productCard::after {
    display: none;
  }

  .banka_after::after {
    display: none;
  }

  .form_line::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .productCard::after {
    width: 680px;
  }

  .form_line::after {
    width: 580px;
  }

  .form_line::after {
    top: 30px;
  }
}

@media (min-width: 1281px) {
  .banka_after::after {
    top: 36px;
  }

   .productCard::after {
    width: 937px;
  }
}

@media (max-width: 1281px) {
  .banka_after::after {
    top: 30px;
  }
}

/*       footer       */

footer {
  background-color: #083957;
  color: white;
  padding: 40px 0;
}

.footer_top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: start;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer_top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: start;
  }

  .footer-list {
    align-items: start;
    text-align: start;
  }
}

.footer-list li {
  margin-bottom: 30px;
}

@media (max-width: 640px) {
  .footer-list li {
    margin-bottom: 10px;
  }
}

.footer-item {
  display: flex;
  align-items: center;
}

.footer-item p {
  margin-left: 10px;
  max-width: 234px;
  font-weight: 500;
}

.callback {
  margin: 0 0 0 20px;
  font-weight: 600;
}

@media (min-width: 640px) {
  .callback {
    margin: 0;
  }

  .callback :hover {
    background-color: white;
    color: #083957;
  }
}

.callback-link {
  display: inline-block;
  border: 1px solid white;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
}

.footer-logo {
  margin: 25px 0;
}

@media (min-width: 640px) {
  .footer-logo {
    margin: 0 25px 0 0;
  }
}

.fooNav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fooNav li {
  margin-bottom: 18px;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.6);
}

.fooNav li a {
  text-decoration: none;
  font-weight: 600;
}

.fooNav li:hover {
  color: rgba(255, 255, 255, 1);
}

@media (max-width: 640px) {
  .fooNav li {
    margin-bottom: 5px;
  }
}

.footer_bottom {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 14px;
}

.footer_bottom p {
  margin: 5px 0;
  font-size: 14px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .footer_bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

/*        ----------------------  { Breakpoints  } --------------------            */

@media (max-width: 650px) {
  .test-after::after {
    width: 25px;
   top: 12px;
  }

  .test-after {
    padding-left: 30px;
  }
}

/* sm  */
@media (min-width: 640px) {
  .navList > li {
    margin-left: 15px;
  }

  .hero {
    height: 40vh;
  }

  .card h2 {
    font-size: 21px;
    font-weight: 600;
  }

  .card p {
    padding: 16px 0 14px 0;
    font-size: 14px;
  }

  .card {
    padding: 40px 30px;
  }
}

/* md  */
@media (min-width: 768px) {
  .navList > li {
    margin-left: 10px;
  }

  .langBtn {
    width: 50px;
    height: 50px;
  }

  .hero {
    height: 50vh;
  }

  .card h2 {
    font-size: 23px;
    font-weight: 600;
  }

  .card p {
    padding: 16px 0 14px 0;
    font-size: 14px;
  }
}

/* lg  */
@media (min-width: 1024px) {
  .navList > li {
    margin-left: 22px;
  }

  .hero {
    height: 60vh;
  }

  .card {
    padding-top: 100px;
  }

  .swiper-slide {
    margin-right: 48px !important;
  }
}

/* xl  */
@media (min-width: 1280px) {
  .navList > li {
    margin-left: 57px;
  }

  .hero {
    height: 80vh;
  }

  .card {
    padding-top: 208px;
    padding-bottom: 44px;
  }

  .card h2 {
    font-size: 24px;
    font-weight: 600;
  }

  .card p {
    padding: 18px 0 16px 0;
    font-size: 16px;
  }

  .more {
    font-size: 12px;
  }
}

/* 2xl  */
@media (min-width: 1536px) {
  .navList > li {
    margin-left: 65px;
  }

  .hero {
    height: 100vh;
  }
}


/* Modal animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease;
}

/* Input focus effect */
input:focus {
  outline: none;
}

/* Modal responsive */
@media (max-width: 768px) {
  #requestModal .bg-white {
    margin: 10px;
  }
}



.swiper-wrapper {

    height: max-content !important;
}

.swiper-slide {
    max-width: 180px !important;
    width: 100%;
}

@media (max-width: 1024px) {
   .swiper-slide {
    max-width: 120px !important;
    width: 100%;
}

}

@media (max-width: 640px) {
   .swiper-slide {
    max-width: 70px !important;
    width: 100%;

}

}

/* .swiper-slide > .thumbnail :hover {
    border-bottom:  rgba(20, 102, 153, 1);
} */


.hero_family {
  font-family: Arial, sans-serif !important;

}
