footer {
  background-color: #242832;
  position: relative;
}
footer .layout {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px;
  color: var(--white-color);
}

@media screen and (max-width: 576px) {
  footer .layout {
    padding: 40px 20px;
  }
}
footer .layout .category {
  display: flex;
  justify-content: space-between;
  /* padding: 0 40px; */
}
@media screen and (max-width: 1024px) {
  footer .layout .category {
    flex-direction: column;
    padding: unset;
  }
}

footer .layout .category .left {
  display: flex;
  gap: 60px;
}
@media screen and (max-width: 799px) {
  footer .layout .category .left {
    flex-direction: column;
    gap: 20px;
  }
}
footer .layout .category .left .item {
}
footer .layout .category .left .item .title {
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  padding: 8px 0;
  height: 36px;
  color: #858c94;
}

@media screen and (max-width: 576px) {
  footer .layout .category .left .item .title {
    height: 36px;
  }
}
footer .layout .category .left .item .contain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (max-width: 1024px) {
  footer .layout .category .left .item .contain {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
footer .layout .category .left .item .contain .text {
  display: flex;
  line-height: 22px;
  color: var(--white-color);
  border-bottom: solid 1px transparent;
  transition: border 0.3s ease, color 0.3s ease;
  font-size: 16px;
  height: 30px;
  align-items: center;
}
footer .layout .category .left .item .contain .text:hover {
  border-bottom-color: var(--white-color);
  width: fit-content;
}
footer .layout .category .left .item .contain .text:active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}
footer .layout .category .left .item .contain .text:active {
  border-bottom-color: var(--primary-color);
}
footer .layout .category .left .item .contain .item2 {
  font-size: 14px;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
  height: 50px;
}

/* footer .layout .category .left .item .contain .item2 div:hover {
  border-bottom-color: var(--white-color);
  cursor: pointer;
} */

footer .layout .category .left .item .contain .item2 .title2 {
  border-bottom: solid 1px transparent;
  transition: border 0.3s ease, color 0.3s ease;
}

footer .layout .category .left .item .contain .item2 .title2.active {
  border-bottom-color: var(--white-color);
}

footer .layout .category .left .item .contain .item2 .title2:hover {
  border-bottom-color: var(--white-color);
  cursor: pointer;
}

footer .layout .category .left .item .contain .item2 .text2:hover {
  border-bottom-color: var(--white-color);
  cursor: pointer;
}

footer .layout .category .left .item .contain .item2 .title2:active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

/* footer .layout .category .left .item .contain .item2 .title2:hover + .text2 {
  border-bottom-color: var(--white-color);
}
footer .layout .category .left .item .contain .item2 .title2:active + .text2 {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
} */

@media screen and (max-width: 576px) {
  footer .layout .category .left .item .contain .text {
    padding: 0;
    line-height: 28px;
  }
  footer .layout .category .left .item .contain .item2 {
    height: 48px;
  }
  footer .layout hr {
    margin: 30px 0px;
  }
  footer .layout .information .about .right .item .text {
    line-height: 20px;
  }
}
footer .layout .category .left .item .contain .item2 .title2 {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
footer .layout .category .left .item .contain .item2 .text2 {
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  line-height: 22px;
  height: 22px;
}

footer .layout .category .right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  footer .layout .category .right {
    display: block;
  }
}
footer .layout .category .right .language .server_language {
  text-transform: uppercase;
}
footer .layout .category .right .phone {
  font-size: 16px;
  line-height: 20px;
  padding: 2px 0;
}
@media screen and (max-width: 1024px) {
  footer .layout .category .right .phone {
    margin-top: 30px;
  }
}
footer .layout .category .right .language {
  display: flex;
  justify-content: flex-end;
  padding: 4px 0;
  gap: 14px;
  position: relative;
  align-items: center;
}
footer .layout .category .right .language:hover {
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  footer .layout .category .right .language {
    display: inline-flex;
    margin-top: 30px;
  }
}
footer .layout .category .right .language svg path {
  fill: #858c94;
}
footer .layout .category .right .language:hover svg path {
  fill: var(--white-color);
}
footer .layout .category .right .language:active svg path {
  fill: var(--primary-color);
}
footer .layout .category .right .language span {
  align-self: flex-end;
  font-size: 16px;
  color: #858c94;
}
footer .layout .category .right .language:hover span {
  color: var(--white-color);
}
footer .layout .category .right .language:active span {
  color: var(--primary-color);
}

footer .layout hr {
  margin: 30px 0px;
  height: 1px;
  background-color: #858c94;
}
@media screen and (max-width: 799px) {
  footer .layout hr {
    margin: 20px 0;
  }
}

footer .layout .information {
  /* padding: 0 40px; */
}

@media screen and (max-width: 1024px) {
  footer .layout .information {
    padding: unset;
  }
}

footer .layout .information .about {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media screen and (max-width: 799px) {
  footer .layout .information .about {
    gap: 20px;
    flex-direction: column-reverse;
  }
}

footer .layout .information .about .left {
  flex-basis: 340px;
}

@media screen and (max-width: 1024px) {
  footer .layout .information .about .left {
    flex-basis: unset;
  }
}

footer .layout .information .about .left img {
  width: 160px;
  height: 40px;
}

footer .layout .information .about .left .text {
  padding: 4px 0;
  font-size: 16px;
  line-height: 22px;
  margin-top: 16px;
  max-width: 360px;
  width: 360px;
}
@media screen and (max-width: 1024px) {
  footer .layout .information .about .left .text {
    width: 340px;
  }
}
@media screen and (max-width: 799px) {
  footer .layout .information .about .left .text {
    max-width: 340px;
    width: 360px;
  }
}

@media screen and (max-width: 576px) {
  footer .layout .information .about .left .text {
    max-width: unset;
    width: unset;
  }
}

footer .layout .information .about .right {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: end;
}

@media screen and (max-width: 1024px) {
  footer .layout .information .about .right {
    gap: 20px;
    width: unset;
  }
}

@media screen and (max-width: 799px) {
  footer .layout .information .about .right {
    flex-direction: column;
  }
}

footer .layout .information .about .right .item {
  width: 220px;
}

footer .layout .information .about .right .item .title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #858c94;
  line-height: 20px;
  padding: 4px 0;
}

footer .layout .information .about .right .item .text {
  padding: 2px 0;
  font-size: 16px;
  line-height: 22px;
  word-break: break-word;
  font-weight: 400;
}

footer .layout .information .space {
  flex-basis: 240px;
}
@media screen and (max-width: 1024px) {
  footer .layout .information .space {
    display: none;
  }
}

footer .layout .information .policy {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  margin-top: 24px;
}

@media screen and (max-width: 799px) {
  footer .layout .information .policy {
    margin-top: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
  }
}

footer .layout .information .policy .text {
  line-height: 20px;
  font-size: 14px;
  padding: 4px 0;
  border-bottom: solid 1px transparent;
  transition: border 0.4s ease;
  height: 28px;
  color: var(--white-color);
}

footer .layout .information .policy .text:last-child {
  width: 112px;
  text-align: left;
}

footer .layout .information .policy a.text:hover {
  border-bottom-color: var(--white-color);
}

footer .layout .information .policy a.text:active {
  border-bottom-color: var(--primary-color);
}

.footer__right--popup__language {
  position: absolute;
  right: 0;
  top: calc(100% - 270px);
  background-color: #242832;
  display: none;
  padding: 8px;
  box-shadow: 0px 6px 10px rgb(0 0 0 / 15%);
  border-radius: 8px;
  width: 264px;
  box-sizing: border-box;
  border: 1px solid var(--light-grey-color);
}

.footer__right--popup__language .language__name {
  height: 32px;
  width: 120px;
  border-radius: 8px;
}

.footer__right--popup__language .language__name {
  width: 120px;
  border-radius: 8px;
  color: #8a8a8a;
  display: inline-block;
  cursor: pointer;
  padding: 7px 12px;
  transition: all 0.2s linear;
}

.footer__right--popup__language .language__name:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}
