@font-face {
  font-family: "Roboto";
  src: url(/Roboto/Roboto-Regular.ttf);
  src: url(/Roboto/Roboto-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(/Roboto/Roboto-Bold.ttf);
  src: url(/Roboto/Roboto-Bold.ttf);
  font-weight: bold;
}

* {
  box-sizing: border-box;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.main-header {
  padding-top: 70px;
  background: linear-gradient(
      rgba(52, 58, 64, 0.5),
      rgba(52, 58, 64, 0.2),
      rgba(52, 58, 64, 0)
    ),
    url(/img/main-cover.jpg);
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header-text {
  display: inline-block;
  font-size: 72px;
  font-weight: bold;
  color: #e9ecef;
  width: 70%;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-top: 4%;
  margin-left: 3.5%;
}

/*Nav bar*/
.logo {
  margin-top: 10px;
  width: auto;
  height: 60px;
  cursor: pointer;
}

.nav {
  position: absolute;
  height: 70px;
  display: flex;
  justify-content: space-between;
  padding: 20px 10px;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.nav_links {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 0;
}

.nav_link {
  transition: all 0.3s ease 0s;
  text-decoration: none;
  color: #e9ecef;
}

.nav_link:hover {
  transition: all 0.3s ease 0s;
  color: #339af0;
}

.contact-link {
  background: #1864ab;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #e9ecef;
  padding: 9px 25px;
}

.contact-link:hover {
  background-color: #339af0;
  color: #e9ecef;
}

.nav-sticky {
  position: fixed;
  background: rgba(52, 58, 64, 0.8);
  z-index: 5;
}

.hamburger {
  position: absolute;
  right: 10px;
  display: none;
  color: #e9ecef;
  font-size: 32px;
}

.hide {
  display: none;
}
.center {
  margin: auto;
  width: 50%;
  padding: 10px;
  text-align: center;
   justify-content: center;
}

@media only screen and (max-width: 700px) {
  .hamburger {
    display: block;
  }
  .nav_links {
    display: none;
  }

  .nav_links-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
  }

  .nav-active {
    flex-direction: column;
    align-items: flex-start;
    background: rgba(52, 58, 64, 0.8);
    height: auto;
  }
}

@media only screen and (max-width: 700px) {
  .header-text {
    font-size: 39px;
  }

  .main-header {
    background-size: cover;
    background-position: 36%;
    height: 100vh;
  }

  .logo {
    margin-top: 0;
    width: auto;
    height: 42px;
  }
}
@media only screen and (max-height: 500px) {
  .header-text {
    font-size: 31px;
    margin-top: 1.5%;
  }
}

/* START MAIN CONTENT*/

.main-container {
  position: relative;
  max-width: 1300px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 200px;
  margin: 200px 10px 0 10px;
}

/*About us section*/

.about-us-container {
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  display: flex;
  gap: 40px;
  /* padding: 30px; */
}

.about-img {
  max-width: 450px;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.25);
}

.about-content h2 {
  color: #1864ab;
  font-size: 48px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.about-content p {
  color: #1864ab;
  font-size: 24px;
  line-height: 1.6;
}

@media only screen and (max-width: 980px) {
  .about-us-container {
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }
  .about-content {
    max-width: 70%;
  }

  .about-img {
    max-width: 1000px;
    width: 70%;
  }
}

/*Servises main*/

.services {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* padding: 30px; */
}

.services-name {
  color: #1864ab;
  font-size: 48px;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.services-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  gap: 20px;
}

.service {
  background-color: #1864ab;
  width: 30%;
  border-radius: 30px;
  min-height: 750px;
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.25);
}

.services-img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 30px;
}

.service h2 {
  color: #e9ecef;
  font-size: 31px;
  letter-spacing: -1px;
  margin: 0 0 15px 15px;
}

.service ul {
  margin-top: 20px;
  margin: 0 15px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  margin-bottom: 15px;
}

.service li {
  display: flex;
}

.service span {
  color: #dee2e6;
  font-size: 18px;
  letter-spacing: 2px;
  margin-left: 8px;
}

.service-icon {
  color: #dee2e6;
  width: 25px;
  height: 25px;
}

@media only screen and (max-width: 980px) {
  .services {
    width: 70%;
    justify-content: center;
    align-items: center;
  }

  .services-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .service {
    width: 100%;
    min-height: 0;
  }
}

/*why us main*/

.why-us-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

.why-us-name {
  color: #1864ab;
  font-size: 48px;
  letter-spacing: -1px;
  display: inline-block;
}

.Why-us-main-container {
  width: 70%;
  display: flex;
  justify-content: space-between;
}

.why-us-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  width: 200px;
}

.why-us-icon {
  padding: 15px;
  font-size: 70px;
  background-color: #1864ab;
  color: #e9ecef;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.25);
}

.why-us-text {
  color: #1864ab;
  font-size: 24px;
  line-height: 1.2;
}

@media only screen and (max-width: 980px) {
  .Why-us-main-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .why-us-section {
    width: 70%;
  }
  .cooperation-section {
  width: 70%;
  }
}
/*cooperation main*/

.cooperation-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}


/* Start footer  */

.footer {
  margin-top: 100px;
  padding-top: 30px;
  height: 100%;
  width: 100%;
  background-color: #1864ab;
  border-top: solid 5px rgba(52, 58, 64);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contacts-container {
  padding: 10px;
  width: 100%;
  max-width: 552px;
  display: flex;
  justify-content: space-between;
}

.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  font-size: 72px;
  color: #e9ecef;
}

.contact-name {
  font-size: 48px;
  color: #e9ecef;
}

.contact-text {
  color: #dee2e6;
  font-size: 18px;
}

.copywright {
  margin-bottom: 20px;
  justify-self: flex-end;
  color: #5783ac;
  font-size: 12px;
}

@media only screen and (max-width: 290px) {
  .contact-text {
    font-size: 16px;
  }
}
