@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat";
  color: var(--fontColor);
}

:root {
  --fontColor: #003049;
  --orangeColor: #f5831f;
  --bgColor: #f5f5f5;
}

body {
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

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 {
  font-weight: 700;
  color: var(--orangeColor);
}

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: 70px;
  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;
}

.lineDots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 80%;
  margin: 5rem auto;
}

.lineDot {
  position: relative;
  text-align: center;
}

.companyLogo {
  position: relative;
  transition: transform 0.3s ease;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(245, 131, 31, 0.2);
  border-radius: 50%;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.lineDot a {
  text-decoration: none;
}

.lineDot a img {
  width: 100%;
  margin-bottom: 20px;
}

/* Animation classes */
.lineDot .dot.enlarge {
  transform: scale(2) translateX(-50%);
  background-color: #f5831f;
}

.lineDot .companyLogo.move-up {
  transform: translateY(-20px);
}

.sideDecor {
  display: flex;
  justify-content: space-between;
}

.sideDecor .leftDecor,
.sideDecor .rightDecor {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sideDecor .rightDecor {
  align-items: flex-end;
}
.sideDecor .leftDecor {
  align-items: flex-start;
}

#content {
  width: 100%;
  margin: 10rem 0;
  position: absolute;
  top: 10%;
  z-index: 5;
  flex: 1;
}

#content .container {
  width: 80%;
  margin: auto;
}
.container .rows {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.rows .aboutCompany {
  width: 80%;
  margin: auto;
}
.aboutCompany .header {
  margin-bottom: 20px;
}
.aboutCompany .header h1 {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(to top, #439a4a, #7cff6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.paragrph {
  margin-bottom: 80px;
}
.paragrph p {
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  font-weight: 500;
}

.paragrph p span {
  font-weight: 600;
}

.button {
  display: flex;
  justify-content: center;
}

.button a {
  text-align: center;
  padding: 10px 20px;
  background: #439a4a;
  border-radius: 6px;
  color: var(--bgColor);
  transition: all 0.5s ease;
}

.button a:hover {
  cursor: pointer;
  background: #7cff6b;
  color: var(--fontColor);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.servElement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform ease 0.8s;
}
.picture {
  width: 100%;
  height: 50%;
}

.picture img {
  width: 100%;
  height: 100%;
  transition: transform ease 0.8s;
}

.nameServ {
  height: 50%;
  margin-top: 2rem;
  padding: 1rem;
  font-weight: 500;
  font-size: 16px;
}

.servElement:hover .picture img {
  transform: scale(1.1);
}

#footer {
  width: 100%;
  padding: 20px;
  background: #f5f5f5;
  border-top: 5px solid #003049;
}

#footer .footerWrapper {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-top: 30px;
  font-weight: 500;
  background: #f5f5f5;
}

#footer a:hover {
  color: #f5831f;
  transition: all 0.3s ease;
}

#footer .footerWrapper .footerMain {
  display: flex;
  justify-content: space-evenly;
  line-height: 30px;
}

#footer .footerWrapper .footerMain .footerAdress {
  max-width: 200px;
}

#footer .footerWrapper .footerMain .footerContacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#footer .footerWrapper .footerMain .footerMedia {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

#footer .footerWrapper .footerRights {
  width: 70%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: auto;
  padding-bottom: 30px;
}

#footer .footerWrapper .footerRights a {
  text-decoration: none;
}
