@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");
@import url("./hero.css");
@import url("./companies.css");
@import url("./projects.css");
@import url("./partners.css");
@import url("./footer.css");

/* ---------RESPONSIVE--------- */
@import url("./responsiveHero.css");
@import url("./responsiveCompanies.css");
@import url("./responsiveProjects.css");
@import url("./responsiveVacancy.css");

:root {
  --fontColor: #003049;
  --orangeColor: #f5831f;
  --bgColor: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat";
  color: var(--fontColor);
}

body {
  background-color: #f5f5f5;
}

li {
  list-style: none;
}
a {
  text-decoration: none;
  color: var(--fontColor);
}

nav {
  width: 100%;
  height: 70px;
}

nav .navbar {
  height: 100%;
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

#nav .navbar .nav-links,
#nav .navbar .contact-lang {
  height: 100%;
  line-height: 70px;
}

nav .navbar .links {
  display: flex;
}

nav .navbar .links .arrow{
  height: 100%;
  width: 22px;
  text-align: center;
  line-height: 70px;
  transition: all 0.3s ease;
}

nav .navbar .nav-links .links li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

nav .navbar .nav-links .links .contactBtn,
nav .navbar .nav-links .links .lang {
  display: none;
}

nav .navbar .contact-lang .links li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

nav .navbar .contact-lang .links li a,
nav .navbar .nav-links .links li a {
  height: 100%;
  white-space: nowrap;
}

nav .navbar .contact-lang .links li.contactBtn a {

  color: #f5831f;
  font-weight: 600;
} 

nav .navbar .nav-links .links li:hover .arrow,
nav .navbar .contact-lang .links li:hover .arrow {
  transform: rotate(180deg);
  text-decoration: none;
}

nav .navbar .nav-links .links .subMenu {
  position: absolute;
  z-index: 100;
  top: 60px;
  left: 0;
  line-height: 40px;
  box-shadow: 0 0 5px var(--fontColor);
  border-radius: 10px;
  display: none;
  background: var(--bgColor);
}

nav .navbar .contact-lang .links .subMenu {
  position: absolute;
  top: 50px;
  left: 10px;
  line-height: 40px;
  box-shadow: 0 0 5px var(--fontColor);
  border-radius: 10px;
  display: none;
}

/* /////////////////////////////////////////// */
nav .navbar .nav-links .links .subMenu li:hover,
nav .navbar .contact-lang .links .contactLangSubmenu li:hover {
  background: #eae2b7;
  border-radius: 10px;
}
/* /////////////////////////////////////////// */

nav .navbar .nav-links .links .subMenu li {
  padding: 0 15px;
  line-height: 50px;
}

nav .navbar .nav-links .links .subMenu li a {
  color: var(--fontColor);
}

nav .navbar .nav-links .links li:hover .enterprisesSubmenu,
nav .navbar .contact-lang .links li:hover .contactLangSubmenu {
  display: block;
  z-index: 100;
}

.navbar .bx-menu,
nav .navbar .nav-links .sidebar-logo,
.nav-links .sidebar-logo .bx-x {
  display: none;
}

@media (max-width: 955px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 25px;
  }
  nav .navbar .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    right: -100%;
    background: var(--orangeColor);
    height: inherit;
    max-width: 270px;
    width: 100%;
    line-height: 40px;
    transition: all 0.5s ease;
    z-index: 100;
  }
  nav .navbar .contact-lang {
    display: none;
  }

  nav .navbar .nav-links .links .contactBtn,
  nav .navbar .nav-links .links .lang {
    display: block;
  }

  nav .navbar .nav-links .sidebar-logo {
    text-align: center;
  }
  .navbar .bx-menu {
    color: var(--fontColor);
    font-size: 35px;
    font-weight: 800;
  }

  .nav-links .sidebar-logo .bx-x {
    text-align: center;
    color: var(--fontColor);
    font-size: 25px;
    font-weight: 800;
    margin-top: 10px;
  }

  .navbar .bx-menu,
  nav .navbar .nav-links .sidebar-logo,
  .nav-links .sidebar-logo .bx-x {
    display: block;
  }

  nav .navbar .nav-links .links {
    display: block;
    margin-top: 20px;
  }

  nav .navbar .nav-links .links li {
    display: block;
    font-size: 14px;
  }
  nav .navbar .nav-links .links .subMenu {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    background: none;
  }
  nav .navbar .nav-links .links .subMenu li {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    line-height: 30px;
  }
  nav .navbar .nav-links .links .subMenu li a {
    white-space: wrap;
  }
  nav .navbar .nav-links .links li:hover .enterprisesSubmenu,
  nav .navbar .contact-lang .links li:hover .contactLangSubmenu {
    display: none;
  }
  nav .navbar .nav-links .links .arrow {
    line-height: 40px;
  }

  nav .navbar .nav-links .links li:hover .enterprisesArrow {
    transform: rotate(0deg);
  }
  nav .navbar .nav-links.show1 .links li .enterprisesArrow {
    transform: rotate(180deg);
  }

  nav .navbar .nav-links.show1 .links .subMenu.enterprisesSubmenu {
    display: block;
  }
  nav .navbar .nav-links .links .subMenu li:hover,
  nav .navbar .contact-lang .links .contactLangSubmenu li:hover {
    background: none;
    border-radius: 0;
  }

  nav .navbar .nav-links .links .lang:hover .langArrow {
    transform: rotate(0deg);
  }
  nav .navbar .nav-links.show2 .links .lang .langArrow {
    transform: rotate(180deg);
  }

  nav .navbar .nav-links.show2 .links .lang .contactLangSubmenu {
    display: block;
    z-index: 99;
  }
}

@media (max-width: 370px) {
  nav .navbar .logo {
    width: 50%;
  }
  nav .navbar .logo img {
    width: 100%;
  }
  nav .navbar .nav-links {
    max-width: 100%;
  }
  nav .navbar .nav-links .links {
    text-align: center;
  }
}
