/* Footer */
.footer {
  background: #ffffff;
}

.footer-top {
  padding: 20px 40px;
  background: #ffffff;
}

.language-selector {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.language-selector span {
  font-family: "Alef", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #3e3e3e;
}

.language-selector .lang-divider {
  color: #3e3e3e;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-img {
  height: 55px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.footer-icon {
  width: 48px;
  height: 48px;
}

.footer-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24.38px;
  color: #004785;
}

.footer-nav {
  padding: 15px 0 17px 0;
  background: #f9f9f9;
}

.footer-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.footer-navigation a {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20.45px;
  color: #545454;
}

.footer-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.footer-nav-icon {
  width: 48px;
  height: 48px;
}

.footer-nav-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20.45px;
  color: #545454;
}

.footer-bottom {
  padding: 31px 40px 32px 40px;
  background: #115b81;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17.07px;
  color: #ffffff;
}

.footer-contact {
  display: flex;
  gap: 48px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 17.07px;
  color: #ffffff;
}

.footer-logo {
  order: 1;
}

.footer-links {
  order: 2;
}

.language-selector {
  order: 3;
}

@media (max-width: 1024px) {
  .footer-nav-text {
    font-size: 14px;
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-icon {
    width: 32px;
    height: 32px;
  }

  .footer-nav-icon {
    width: 32px;
    height: 32px;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo lang"
      "links links";
    gap: 20px;
  }

  .footer-logo {
    grid-area: logo;
    justify-self: start;
  }

  .language-selector {
    grid-area: lang;
    justify-self: end;
  }

  .footer-links {
    grid-area: links;
    justify-self: center;
    text-align: center;
    flex-direction: column;
    gap: 20px;
  }
  .footer-navigation {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-navigation {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom-content {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
    gap: 30px;
  }

  .footer-bottom {
    padding: 22px 40px 20px 40px;
  }

  .footer-nav {
    padding: 20px 0;
  }

  .footer-navigation a {
    width: 250px;
  }
}
