/********** Template CSS **********/
:root {
  --primary: #0f5661;
  --secondary: #f6f6f6;
  --light: #ffffff;
  --dark: #0f5661;
}

.collect {
  padding: 0px 100px;
}
h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
  font-weight: 500 !important;
}

.pt-6 {
  padding-top: 90px;
}

.pb-6 {
  padding-bottom: 90px;
}

.py-6 {
  padding-top: 90px;
  padding-bottom: 90px;
}

.btn {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.top-shape::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 100%;
  top: 0;
  left: -17px;
  background: var(--primary);
  transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Barlow", sans-serif;
  padding: 35px 15px;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

.contact-menu img {
  width: 60px;
  height: 60px;
}

.contact-btn {
  align-items: center;
  display: flex;
  gap: 10px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #000;
  padding: 15px;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
}
.contact-btn .left {
  border-radius: 5px;
  background-color: #e5f6f8;
  padding: 5px 18px;
  margin-right: 60px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-btn ::after {
  content: "";
  position: absolute;
  right: 9px;
  margin-right: 59px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid #e5f6f8;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.contact-btn .right {
  border-radius: 50%;
  padding: 10px;
  background-color: #0f5661;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.contact-btn.hidden {
  opacity: 0;
  pointer-events: none;
}
.contact-btn:hover {
  transform: scale(1.1);
}
.icon-group {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  flex-direction: column;
  gap: 10px;
}
.icon {
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s;
}
.icon:hover {
  transform: scale(1.1);
}
.show {
  display: flex;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 36, 64, 0.7);
  z-index: 1;
}

@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 500 !important;
  }

  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 600 !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

.service-item {
  position: relative;
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.service-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 50px;
  bottom: -50px;
  left: 0;
  background: var(--light);
  border-radius: 100% 100% 0 0;
  box-shadow: 0px -10px 5px #eeeeee;
  transition: 0.5s;
}

.service-item:hover::after {
  bottom: -25px;
}

.service-item p {
  transition: 0.3s;
}

.service-item:hover p {
  margin-bottom: 25px !important;
}

.team-item img {
  transform: scale(1.15);
  margin-left: -30px;
  transition: 0.5s;
}

.team-item:hover img {
  margin-left: 0;
}

.team-item .team-text {
  left: -100%;
  transition: 0.5s;
}

.team-item .team-text::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: 50%;
  right: -60px;
  margin-top: -30px;
  border: 30px solid;
  border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
  left: 0;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  font-size: 22px;
  border-radius: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

.testimonial-carousel .owl-item img {
  width: 90px;
  height: 90px;
}

.blog-item img {
  transition: 0.5s;
}

.blog-item:hover img {
  transform: scale(1.1);
}
.navbar-nav {
  text-align: center;
}

@media (max-width: 992px) {
  .language-selector {
    margin: initial;
  }
}

@media (max-width: 560px) {
  .text-uppercase {
    font-size: 20px;
  }
  .navbar {
    margin-left: -2rem !important ;
  }
}

.slider {
  display: flex;
  overflow: hidden; /* Hide inactive slides */
  position: relative;
  width: 100%;
  height: auto;
}
body::-webkit-scrollbar {
  display: none;
}

.slide-box {
  width: 100%;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
  /* background-color: #ddd; */
  display: grid;
  grid-template-columns: 50% 40%;
  padding: 100px 140px;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.slide-box.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slider .slide-box img {
  width: 600px;
  border-radius: 20px;
}

.slider .slide-box h1 {
  padding-bottom: 40px;
  width: 100%;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.sliderbutton {
  cursor: pointer;
  position: absolute;
  color: white;
  font-size: 24px;
  border: none;
  padding: 10px;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(165, 165, 165);
  background-size: 24px;
  width: 58px;
  height: 58px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  border-radius: 50%;
}
.next {
  right: 30px;
}
.prev {
  left: 30px;
}

.modal-dialog {
  width: 100%;
  height: 80%;
  align-items: center;
  display: flex;
}

@media (max-width: 820px) {
  .slider .slide-box img {
    width: 400px;
  }
  .sliderbutton {
    transform: translateY(-250%);
  }
}
@media (max-width: 369px) {
  .navbar-brand img {
    display: none;
  }
}

.navbar-collapse .navbar-nav .langCollect {
  display: flex;
  align-items: center;
}

@media (max-width: 1117px) {
  .navbar-brand h1 {
    font-size: 22px;
  }

  .slider .slide-box img {
    width: 400px;
  }

  .navbar-brand p {
    font-size: 12px;
  }
}

@media (max-width: 750px) {
  .slider .slide-box {
    display: grid;
    grid-template-columns: 1fr;
  }
  .slider .slide-box {
    text-align: center;
  }
}

@media (max-width: 991px) {
  .navbar-collapse .langCollect img {
    margin-top: 10px !important;
  }
  .navbar-collapse .langCollect {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 500px) {
  .sliderbutton {
    transform: translateY(-180%);
  }
  .slider .slide-box img {
    width: 300px;
  }
  .slide-box {
    padding: 100px 140px 10px 140px;
  }
}

.location-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
  justify-content: center;
  margin: 100px 0px;
}

.zayavka_sending {
  margin: 80px 0px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.zayavka_sending .location-left {
  background: linear-gradient(180deg, #13636f 0%, #228593 100%);
  padding: 50px 35px;
  border-radius: 30px 0px 0px 30px;
  color: #fff;
}

.zayavka_sending .location-left .line {
  width: 100%;
  height: 1px;
  background-color: #ffffff;
}
.zayavka_sending .location-left .location-left-icons {
  padding-top: 20px;
}

.zayavka_sending .location-left .location-left-icons a {
  color: #0f5661;
  background-color: #fff;
}

nav {
  padding: 5px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 1;
}
nav .logo {
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 25px;
  width: auto;
  margin-right: 10px;
}
nav .logo h1 {
  font-size: 1.1rem;
  background: linear-gradient(to right, #0f5661 0%, #228594 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-backdrop {
  display: none;
}
nav ul {
  list-style: none;
  align-items: center;
  display: flex;
}
nav ul li {
  align-items: center;
  margin-left: 1.5rem;
  align-items: center;
  display: flex;
}

nav ul li .langCollect {
  display: flex;
  align-items: center;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 5px;
  text-align: center;
}
nav .logo a {
  display: flex;
  align-items: center;
}

nav .logo a img {
  width: 70px;
  height: 70px;
}

nav ul li a:hover {
  background-color: #f5f5f5;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 1px;
  background-color: #1f1f1f;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}
.hamburger-active {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
}

.hamburger-active .line:nth-child(2) {
  width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
  transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
  transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
}

.menubar {
  position: absolute;
  top: 0;
  left: -60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  height: 100vh;
  padding: 20% 0;
  background: rgba(255, 255, 255);
  transition: all 0.5s ease-in;
  z-index: 2;
}
.active {
  left: 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
  padding: 0;
  list-style: none;
  text-align: center;
  margin: auto 0px;
}
.menubar ul li {
  margin-bottom: 32px;
}

.menubar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
}

.menubar ul li a:hover {
  background-color: #f5f5f5;
}
@media screen and (max-width: 790px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
  }
}

.counter-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  background: linear-gradient(180deg, #13636f 0%, #228593 100%);
}

.counter-container .counter-block {
  text-align: center;

  padding: 20px;
  border-radius: 10px;
  width: 150px;
  transition: all 0.3s ease;
}

.counter-container .counter-block .counter {
  font-size: 60px;
  font-weight: bold;
  color: #ffffff;
}

.counter-container .counter-block .counter p {
  font-size: 16px;
  margin-top: 10px;
}

.counter-container .counter-block p {
  color: #ffffff;
}

.video-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #64b8cc;
}

.video-container #myVideo {
  margin: auto;
  height: 60vh;
  /* Make sure the video fits your design */
}

.mute-icon {
  position: absolute;
  top: 0px; /* Adjust to position the icon */
  left: 0px; /* Adjust to position the icon */
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 50px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  width: 600px;
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}
.modal-content img {
  width: 210px;
  margin: 0 auto;
}

#successModal .modal-content p {
  color: #000;
}
.fa-volume-mute {
  animation: pulse 2s infinite;
}
.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00c7b7;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 0 0 rgba(0, 199, 183, 0.7);
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.chat-icon img {
  width: 30px;
  height: 30px;
  animation: scaleAnim 2s infinite;
}

/* Keyframes for the box shadow */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 199, 183, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 199, 183, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 199, 183, 0);
  }
}

/* Keyframes for the size scaling */
@keyframes scaleAnim {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}

.successModal .modal-content h2 {
  padding: 20px 0px;
}
.successModal .modal-content .zayavka_yuborish {
  background-color: #0f5661;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#form {
  padding: 20px;
  border-radius: 0px 30px 30px 0px;
  background-color: #f6fafb;
  display: grid;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  gap: 20px;
}
#form input {
  padding-right: 6px;
  font-size: 18px;
  line-height: 21px;
  color: #383837;
  border-radius: 50px;
  border: 1px solid #b1b5c3;
  background-color: #fff;
  font-weight: 500;
  line-height: 100%;
  padding: 11px 18px;
  margin-top: 8px;
}
#form textarea {
  padding: 14px 10px;
  border: 1px solid #b1b5c3;
  color: #383837;
  border-radius: 25px;
}
.slider .slide-box .button-collect {
  display: flex;
  align-self: center;
  gap: 20px;
}
.forDown,
.blue-btn {
  background-color: #0f5661;
  padding: 12px 40px;
  border-radius: 20px;
  border: none;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

.block-container {
  padding: 0% 15%;
}
@media (max-width: 1300px) {
  .block-container {
    padding: 0% 5%;
  }
}

@media (max-width: 620px) {
  .modal-content {
    width: 300px;
  }
  .modal-content img {
    width: 120px;
  }
  .zayavka_sending {
    display: grid;
    grid-template-columns: 1fr;
  }
  .zayavka_sending .location-left {
    border-radius: 30px 30px 0px 0px;
  }
  .zayavka_sending #form {
    border-radius: 0px 0px 30px 30px;
  }
  .zayavka_sending #form input {
    width: 100%;
  }
  #form {
    grid-template-columns: 1fr;
  }
  .counter-container {
    display: grid;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .slider .slide-box .button-collect {
    flex-wrap: wrap;
    justify-content: center;
  }
}
