* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat";
}

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

.headerList > li {
  color: #2b2e61;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.headerList > li:hover {
  color: #0ac2ac;
  border-bottom: 2px solid #0ac2ac;
}

/* Burger Menu Styles */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  padding: 10px;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #0ac2ac;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

/* Desktop Navigation */

/* Mobile Styles */
@media (max-width: 767px) {
  .burger {
    display: flex;
    margin-left: auto;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    left: -200%;
    height: 100vh;
    width: 300px;
    background: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-x: auto;
  }

  .mobile-nav.active {
    left: 0;
  }

  .mobile-nav-content {
    padding: 80px 30px 30px;
  }

  .mobile-nav .navList {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
  }

  .mobile-nav .navList > li {
    width: 100%;
  }

  .mobile-nav .navList > li > a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid #e0e0e0;
  }

  .mobile-nav .navList > li:last-child > a {
    border-bottom: none;
  }

  /* Overlay */
  .overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #d8d9e2;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

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

@media (max-width: 640px) {
  .mobile-nav {
    width: 280px;
  }
}



.mySwiper .swiper-wrapper {
  transition-timing-function: linear !important;
  padding-bottom: 40px;
}

.swiper-pagination-bullet-active {
background-color: #0AC2AC;
}

/* modal  */
/* Modal o'chirilgan holat */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 46, 97, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal oynasi */
.modalBox {
  width: 500px;
  background-color: white;
  opacity: 100%;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  animation: scaleIn 0.3s ease;
}



/* Forma */
.modalForm input,
.modalForm textarea,
.modalForm select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #2b2e61;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 15px;
  outline: none;
}

.modalForm select {
    appearance: none;
}


.modalForm textarea {
  height: 100px;
  resize: none;
}

.sendBtn {
  background: #00a7a7;
  color: white;
  padding: 12px 35px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  float: right;
}

/* Animatsiya */
@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Open button */
/* .openModalBtn {
  padding: 12px 25px;
  background: #00a7a7;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
} */

/* Custom CSS yoki Tailwind ichiga kiritilgan stil */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50; /* Tailwind z-50 ga teng */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1); /* Tailwind shadow-md ga teng */
  /* Agar header rangi o'zgarishi kerak bo'lsa, bu yerga bg-white ni qo'shing */
  background-color: white;
}

.modalForm ::placeholder {
  color: #2b2e61;
}

.swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 180px;
  height: 90px;
  object-fit: contain;
}


section {
  scroll-margin-top: 80px;
}


@media (max-width:560px) {
    .sendBtn {
        width: 100%;
        float: none;
    }
}
