@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);
}

.contentWrapper {
  width: 100%;
  height: auto;
}

#content {
  width: 80%;
  margin: auto;
}

#content .textServices {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10rem;
  margin: 5rem 0;
}

.textServices .text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.textServices .services {
  width: 50%;
}

.text h1 {
  text-align: center;
  font-size: 40px;
  background: linear-gradient(to top, #7982b8, #263173);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text .explanation {
  line-height: 30px;
  font-size: 18px;
  font-weight: 500;
  text-align: justify;
}

.text .explanation span {
  font-weight: bold;
}

.ctaButton a {
  padding: 10px 20px;
  border-radius: 6px;
  background: #263173;
  color: var(--bgColor);
  transition: all ease 0.5s;
}

.ctaButton a:hover {
  background: #7982b8;
  color: var(--fontColor);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
}

.servElement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  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;
}

.servElement:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.servElement:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

.servElement:nth-child(3) {
  grid-column: 1;
  grid-row: 3;
}

.image {
  width: 100%;
}

.image img {
  width: 100%;
  height: auto;
  transition: transform ease 0.8s;
}

.name {
  margin: 2rem 0;
  font-weight: 500;
  font-size: 16px;
}

.servElement:hover .image img {
  transform: scale(1.1);
}

.carsWrapper {
  width: 100%;
  height: auto;
}

.cars {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.cars .carsLeft {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 100px;

}

.cars .carsLeft .images {
  display: flex;
  justify-content: space-between;
}

.cars .carsLeft .images img {
  width: 15.1vw;
  height: 7.3vw;
  cursor: pointer;
}

.cars .carsLeft .header h1 {
  font-size: 30px;
  background: linear-gradient(to top, #7982b8, #263173);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.cars .carsLeft .text {
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
  text-align: justify;
  color: var(--fontColor);
}

.cars .carsLeft .text span {
  font-weight: 700;
}

.cars .carsRight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 10%;
}

.cars .carsRight .nameImage {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.carsRight .nameImage .carImage img#coolrayEnlarged,
.carsRight .nameImage .carImage img#changanEnlarged {
  display: none;
}

.cars .carsRight .nameImage .carName h2#coolrayName,
.cars .carsRight .nameImage .carName h2#changanName {
  display: none;
}

.cars .carsLeft .images div#monjaroOriginal {
  display: none;
}

.cars .carsRight div#coolrayParameter,
.cars .carsRight div#changanParameter {
  display: none;
}

.carsRight .nameImage .carName h2 {
  color: rgba(0, 48, 73, 0.2);
  font-size: 30px;
  line-height: 90px;
}

.carsRight .nameImage img {
  width: 30vw;
  height: 15vw;
}

.cars .carsRight .parameters {
  width: 80%;
  margin: auto;
  display: inline-block;
}

.carsRight .parameters .element {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--fontColor);
}

.parameters .element .value {
  font-weight: 500;
  font-size: 14px;
  color: var(--fontColor);
}

.other {
  width: 80%;
  margin: 50px auto;
  display: flex;
  gap: 50px;
}

.other .chemical,
.other .bosch {
  width: 50%;
}

.other .bosch{
  background: url('../image/bosch-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.other .chemical{
  background: url('../image/drilling.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: contain;
}

.other .header h2 {
  font-size: 30px;
  background: linear-gradient(to top, #7982b8, #263173);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 50px;
  line-height: 40px;
}

.other .text {
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
  text-align: justify;
  color: var(--fontColor);
}

.other span {
  font-weight: 700;
}

.partners {
  margin-top: 100px;
  display: flex;
  width: 80%;
  margin: 100px auto;
  gap: 30px;
}

.partners .oil{
  display: flex;
  flex-direction: column;
  gap: 40px;  
} 

.partners .oil{
  background: url('../image/gazprom-neft-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.partners .header h2 {
  font-size: 30px;
  text-align: center;
  background: linear-gradient(to top, #7982b8, #263173);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.partners .text {
  font-weight: 500;
  font-size: 18px;
  line-height: 35px;
  text-align: justify;
}

.partners .text span{
  font-weight: bold;
}

.partners .text span a{
  font-weight: 600;
  color: blue;
  text-decoration: underline;
}

#footer {
  width: 100%;
  padding: 20px;
  background: #f5f5f5;
  border-top: 5px solid var(--fontColor);
}

#footer .footerWrapper {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-weight: 500;
}

#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;
}
