footer {
  background: rgba(245, 245, 245, 1);
}

.footer-btn {
  height: 76px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(90deg, rgba(0, 108, 191, 1) 0%, rgba(64, 179, 237, 1) 100%);
}
.footer-btn img {
  width: 25px;
  margin-left: 7px;
}
.footer-btn[aria-expanded="true"] img {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.footer-menus {
  max-width: 1320px;
  max-height: 0;
  overflow: hidden;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
  transform: translateY(100%);
}

footer .footer-menus.active {
  max-height: 470px;
  transform: translateY(0);
}

.footer-menus ul {
  height: 470px;
  padding: 28px 0 32px;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 18px 0;
}

.footer-menus ul li {
  width: calc(50% - 40px);
  display: flex;
  align-items: center;
}

.footer-menus ul li a {
  font-size: 18px;
  font-weight: 500;
  width: 80px;
  text-align: right;
}

.footer-menus ul li .sub-menus-wrap {
  margin-left: 17px;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

.footer-menus ul li .sub-menu a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(102, 102, 102, 1);
  padding: 0 10px;
}

.footer-menus ul li .sub-menu {
  position: relative;
}

.footer-menus ul li .sub-menu:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  height: 14px;
  width: 2px;
  background: rgba(102, 102, 102, 1);
}

.footer-infos {
  background: #ffffff;
  position: relative;
  height: fit-content;
  overflow: hidden;
}

.shadow-img {
  position: absolute;
  top: -26px;
  left: 114px;
  width: 472px;
}

.footer-infos > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1246px;
  margin: 0 auto;
  padding: 25px 0 18px;
  position: relative;
  z-index: 9;
}

.footer-logo-link {
  border-bottom: 2px solid rgba(222, 222, 222, 1);
}

.footer-log {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: rgba(51, 51, 51, 1);
}

.footer-log img {
  width: 87px;
  margin-right: 12px;
}

.footer-link {
  display: flex;
  gap: 23px;
}

.footer-link>a {
  font-size: 16px;
  line-height: 22px;
  padding: 2px 15px 3px;;
  border-radius: 2px;
  background: rgba(224, 224, 224, 1);
}

.footer-copyright {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: rgba(51, 51, 51, 1);
}

.footer-infos .footer-address-contact {
  padding-bottom: 45px;
}

.footer-address {
  display: flex;
  justify-content: space-between;
  font-weight: normal;
}

.footer-contact {
  display: flex;
  gap: 30px;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: rgba(51, 51, 51, 1);
}

@media(max-width: 1200px) {
  .footer-infos > div,
  .footer-menus {
    max-width: 779px;
  }

  .footer-btn {
    height: 48px;
    font-size: 16px;
  }

  .footer-menus ul li a {
    font-size: 16px;
    width: 52px;
  }

  .footer-log {
    font-size: 18px;
  }

  .footer-log img {
    width: 54px;
  }

  .footer-link>a,
  .footer-copyright {
    font-size: 14px;
    line-height: 22px;
  }

  .footer-address-contact {
    flex-direction: column;
    gap: 15px;
  }

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

@media(max-width: 992px) {
  .footer-infos > div,
  .footer-menus {
    max-width: 664px;
  }
}

@media(max-width: 768px) {
  .footer-menus ul li {
    width: 50%;
  }
  .footer-infos > div,
  .footer-menus {
    max-width: 498px;
  }

  .footer-copyright {
    display: flex;
    flex-direction: column;
  }

  .footer-address {
    gap: 15px;
  }
}

@media(max-width: 576px) {
  .footer-menus ul li {
    width: 100%;
  }
  .footer-infos > div,
  .footer-menus {
    max-width: 550px;
  }

  footer .footer-menus.active {
    padding: 0 56px;
    height: fit-content;
    max-height: unset;
  }

  .footer-menus ul {
    height: unset;
  }

  .footer-infos {
    padding: 0 13px;
  }

  .footer-logo-link {
    flex-direction: column;
    gap: 15px;
  }

  .footer-address {
    flex-direction: column;
    gap: 0;
    margin-top: 15px;
  }

  .shadow-img {
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
}