footer {
  background: var(--Gray-G10, #2b2b2b);
  padding-top: 88px;
  margin-top: 140px;
  z-index: 1;
}

.footer_Top_Row {
  direction: ltr;
}

.footer_Logo {
  display: flex;
  align-items: center;
  justify-content: start;
  a {
    width: 212px;
    img {
      width: 100%;
    }
  }
}

.footer_Socials_Wrapper {
  justify-content: space-between !important;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .footer_Socials_Wrapper {
    margin-top: 32px;
  }
  .footer_Logo {
    a {
      width: 136px;
    }
  }
  footer {
    margin-top: 100px !important;
  }
}

.footer_Socials_Wrapper .ezIcon {
  transition: 0.3s;
}

.footer_Social_Item:hover .ezIcon {
  --icon-color: var(--Secondary-S50) !important;
}

.footer_Links {
  position: relative;
  margin-inline-start: 40px;
  z-index: 1;
}

.dropDown {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 0;
  border-bottom: 1px solid var(--Secondary-S50, #ef4f23);
  background: var(--Gray-G20, #3d3d3d);
  padding: 12px;
  transform: translateX(-10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  width: max-content;
  max-width: 100%;
  min-width: 270px;
  inset-inline-start: 45%;
  z-index: 2;
  &.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 10;
  }

  ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 !important;
    position: relative;
    padding: 0 !important;
    height: 200px;

    li::before {
      display: none !important;
    }

    a {
      display: flex;
      width: 100%;
      transition: 0.3s;
      justify-content: space-between;
      gap: 12px;

      &:hover {
        padding-inline-start: 6px;
      }
    }

    body.rtl li {
      span {
        margin-inline-start: auto;
      }
    }
  }
}

@media (max-width: 992px) {
  .dropDown {
    inset-inline-end: 12px !important;
    top: -224px !important;
    inset-inline-start: unset !important;
    inset-inline-end: 0 !important;
  }
  .footer_Links {
    margin-inline-start: 0 !important;
    margin-top: 40px;
  }
  .footer_Links .footer_Links_Main > p {
    border-bottom: 1px solid #d1d1d183;
    width: 90vw;
    padding-bottom: 12px;
    position: relative;
  }
  .footer_Links .footer_Links_Main > p::before {
    content: "";
    mask: url(../assets/icons/chevron.svg) no-repeat center / contain;
    background-color: var(--Gray-G100);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 8px;
    position: absolute;
    inset-inline-end: 0;
    bottom: 10px;
    transition: 0.4s ease-in-out;
  }
  body.ltr .footer_Links .footer_Links_Main > p::before {
    rotate: -180deg;
  }
  body.ltr .footer_Links .footer_Links_Main > p.active::before {
    rotate: -90deg !important;
  }
  .footer_Links .footer_Links_Main > p.active::before {
    rotate: -90deg;
  }
  .footer_Links_Main > ul {
    margin-top: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    width: 90vw;
  }
  .footer_Links_Main:has(> p.active) > ul {
    margin-top: 24px !important;
    max-height: 500px;
  }
  .footer_Contact {
    margin-top: 40px !important;
  }
  .footer_Contact > p {
    border-bottom: 1px solid #d1d1d183;
    width: 90vw;
    padding-bottom: 12px;
    position: relative;
  }
  .footer_Contact > p::before {
    content: "";
    mask: url(../assets/icons/chevron.svg) no-repeat center / contain;
    background-color: var(--Gray-G100);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 8px;
    position: absolute;
    inset-inline-end: 0;
    bottom: 10px;
    transition: 0.4s ease-in-out;
  }
  .footer_Contact > p.active::before {
    rotate: -90deg;
  }
  body.ltr .footer_Contact > p::before {
    rotate: -180deg;
  }
  body.ltr .footer_Contact > p.active::before {
    rotate: -90deg !important;
  }
  .footer_Contact .footer_Contact_List {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    margin-top: 0 !important;
  }
  .footer_Contact:has(> p.active) .footer_Contact_List {
    max-height: 500px;
    margin-top: 24px !important;
  }
  .footer_Bottom {
    border: unset !important;
  }
}

.footer_Links_Main > ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0;
  margin-top: 80px;
}

.footer_Links_Main > ul > li {
  transition: 0.3s;
  position: relative;
  padding-inline-start: 24px;
}

.footer_Links_Main > ul > li:hover {
  color: var(--Secondary-S50);
  transform: translateX(-4px);
}

body:not(.rtl) .footer_Links_Main > ul > li:hover {
  transform: translateX(4px);
}

.footer_Links_Main > ul > li::before {
  content: "";
  mask: url(../assets/icons/chevron.svg) no-repeat center / contain;
  background-color: var(--Secondary-S50);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 8px;
  position: absolute;
  inset-inline-start: -12px;
}

body:not(.rtl) .footer_Links_Main > ul > li::before {
  transform: rotate(180deg);
}

.footer_Contact {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}
.footer_Contact .footer_Contact_List {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer_Contact_Item {
  display: flex;
  align-items: start;
  gap: 16px;
}

.footer_Contact_Info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.9;
}

.phones {
  display: flex;
  align-items: center;
  gap: 24px;
  a {
    direction: ltr !important;
  }
}

.footer_Bottom {
  padding-block: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #d1d1d183;
  margin-top: 40px;
}

.footer_Bottom_CopyRight {
  text-align: center;
  color: var(--Gray-G60, #959595);
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
}
