.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
  display: none !important;
}

footer {
  background-color: var(--black);
  color: var(--white);
  width: 100%;

  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Footer upper */

.footer-upper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.footer-upper-l div ul {
  display: flex;
  flex-direction: row;
  text-transform: uppercase;
  gap: 40px;
}

.footer-upper-l div ul li {
  transition: 0.3s ease;
}

.footer-upper-l div ul li:hover {
  color: var(--grey);
}

.footer-upper-r {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 200px;
  gap: 10px;
}
.footer-upper-r a div {
  width: 30px;
  height: 30px;
}

/* Common styles for all social icons */
.footer-fb div,
.footer-insta div,
.footer-youtube div {
  position: relative;
  width: 40px; /* Adjust size */
  height: 40px; /* Adjust size */
}

/* Facebook Icon */
.footer-fb div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/aistesite/assets/icons/facebook.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

.footer-fb div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/aistesite/assets/icons/facebook-grey.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease;
}

.footer-fb div:hover::before {
  opacity: 0; /* Hide original Facebook icon */
}

.footer-fb div:hover::after {
  opacity: 1; /* Show grey Facebook icon */
}

/* Instagram Icon */
.footer-insta div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/aistesite/assets/icons/instagram.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

.footer-insta div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/aistesite/assets/icons/instagram-grey.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease;
}

.footer-insta div:hover::before {
  opacity: 0; /* Hide original Instagram icon */
}

.footer-insta div:hover::after {
  opacity: 1; /* Show grey Instagram icon */
}

/* YouTube Icon */
.footer-youtube div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/aistesite/assets/icons/youtube.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

.footer-youtube div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/aistesite/assets/icons/youtube-grey.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease;
}

.footer-youtube div:hover::before {
  opacity: 0; /* Hide original YouTube icon */
}

.footer-youtube div:hover::after {
  opacity: 1; /* Show grey YouTube icon */
}

/* Footer lower */

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

.footer-lower-r {
  width: fit-content;
  display: flex;
  gap: 24px;
}

.footer-lower-r div ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 24px;
}

.footer-lower-r div ul li a {
  flex-wrap: nowrap;
}

.footer-lower-r div ul li,
.footer-lower-l p{
  color: var(--grey);
  transition: 0.3s ease;
}

.footer-lower-r div ul li:hover {
  color: var(--white);
}

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

.copyright {
  color: var(--grey);
  transition: 0.3s ease;
}

@media screen and (max-width: 1100px) {
  .footer-upper {
    flex-direction: column;
    gap: 40px;
  }

  footer .container {
    gap: 40px;
  }

  .footer-upper-l div ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 567px) {
  footer {
    padding-top: 32px;
    padding-bottom: 26px;
  }

  footer .container {
    gap: 36px;
  }
  .footer-upper {
    flex-direction: column;
    gap: 44px;
  }
  .footer-upper-l div ul {
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: 20px;
  }

  .footer-upper-l div ul li {
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: 20px;
  }

  .footer-lower {
    width: 100%;
    gap: 24px;
    display: flex;
    justify-content: space-between;
  }

  .footer-lower-l {
    text-align: right;
  }

  .footer-lower-r {
    width: fit-content;
  }

  .footer-lower-r div ul {
    display: flex;
    flex-direction: column;

    gap: 24px;
  }
  .footer-lower-l p {
    margin: unset;
  }

  footer {
    margin-bottom: 34px;
  }

  .footer-logo {
    display: flex;
    width: 100%;
    max-width: 200px;
  }
}
