/* ==== 
 --------- (4.03) footer styles start ---------
 ==== */
.footer {
  padding-top: 100px;
  background-color: #0b1312;
  position: relative;
  &::before {
    content: "";
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      104deg,
      rgba(12, 26, 23, 0) 1.9%,
      rgba(9, 31, 27, 0.08) 37.31%,
      rgba(9, 31, 27, 0.17) 40.18%,
      rgba(9, 31, 27, 0.37) 47.05%,
      rgba(9, 31, 27, 0.67) 56.36%,
      #091f1b 73.4%,
      #091f1b 95.2%,
      rgba(9, 31, 27, 0.91) 103.44%
    );
  }

  .footer__inner {
    position: relative;
    z-index: 2;
  }

  .footer__intro {
    margin-bottom: 80px;
  }

  .footer__content {
    text-align: center;
    h3 {
      font-weight: 800;
      color: var(--white);
      margin-top: -8px;
      span {
        color: var(--base-color);
      }
    }
  }

  .footer__support {
    text-align: center;

    a {
      border-radius: 66px;
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(12.5px);
      padding: 37px 24px 37px 24px;
      max-width: 426px;
      font-size: 14px;
      color: var(--white);
      font-weight: 700;
      overflow: hidden;
      display: inline-flex;
      transition: color 0.5s ease 0.5s;
      &::before {
        content: "";
        position: absolute;
        inset-inline-start: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 85px;
        height: 85px;
        background-color: rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        transition: inset-inline-start 0.5s ease 0.5s, transform 0.5s ease,
          background-color 0.9s ease 0.5s;
        z-index: -1;
      }
      span {
        color: var(--base-color);
        font-weight: 700;
        transition: color 0.5s ease 0.5s;
      }
      &:hover {
        &::before {
          inset-inline-start: 40%;
          transform: scale(20);
          transition: inset-inline-start 0.5s ease, transform 0.9s ease 0.5s,
            background-color 0.9s ease 0.5s;
          background-color: var(--base-color);
        }
        color: var(--secondary-color);
        span {
          color: var(--secondary-color);
        }
      }
    }
  }

  .footer__newsletter {
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    padding: 50px 20px;
  }

  .footer__newsletter-info {
    h4 {
      font-weight: 800;
      color: var(--white);
      margin-top: -8px;
      margin-bottom: 6px;
    }

    p {
      color: #93989c;
    }
  }

  .footer__newsletter-check {
    margin-top: 24px;
    input {
      padding: 0;
      height: initial;
      width: initial;
      margin-bottom: 0px;
      display: none;
      cursor: pointer;
    }

    label {
      position: relative;
      cursor: pointer;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.55);

      a {
        color: var(--white);
        text-decoration: underline;
        &:hover {
          color: var(--base-color);
        }
      }
    }

    label:before {
      content: "";
      -webkit-appearance: none;
      appearance: none;
      background-color: transparent;
      border: 1px solid #4e545f;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
      padding: 10px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: inline-block;
      position: relative;
      vertical-align: middle;
      cursor: pointer;
      margin-inline-end: 12px;
      margin-top: -2px;
    }

    input:checked + label:after {
      content: "";
      display: block;
      position: absolute;
      top: 8px;
      inset-inline-start: 9px;
      width: 6px;
      height: 10px;
      border: solid var(--base-color);
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }

    input:checked + label::before {
      border-color: var(--base-color);
    }
  }

  .footer__list-intro {
    margin-bottom: 30px;
    h5 {
      font-weight: 700;
      color: var(--white);
      margin-top: -8px;
    }
  }

  .footer__list-items {
    li {
      margin-bottom: 12px;
      &:nth-last-of-type(1) {
        margin-bottom: 0px;
      }
    }
    a {
      font-weight: 700;
      font-size: 16px;
      color: #93989c;
      overflow: hidden;
      position: relative;
      width: 100%;
      i {
        position: absolute;
        inset-inline-start: 0px;
        transform: translateX(-20px);
        transition: var(--transition);
      }
      &:hover {
        color: var(--base-color);
        padding-inline-start: 25px;
        i {
          transform: translateX(0px);
        }
      }
    }
  }

  .footer__list-group {
    margin-bottom: 40px;
    &:nth-last-of-type(1) {
      margin-bottom: 0px;
      p {
        &:nth-last-of-type(1) {
          a {
            font-size: 18px;
            color: var(--base-color);
          }
        }
      }
    }
    .footer__list-intro {
      margin-bottom: 20px;
    }

    p {
      margin-bottom: 14px;
      &:nth-last-of-type(1) {
        margin-bottom: 0px;
      }
    }

    a {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.55);
      text-transform: lowercase;
      &:hover {
        color: var(--base-color);
      }
    }
  }

  .footer__copyright-inner {
    padding: 30px 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
  }

  .footer__copyright {
    p {
      color: var(--white);
      a {
        &:hover {
          color: var(--white);
        }
      }
    }
  }

  .footer__copyright-logo {
    margin: 6px 0px;
  }

  .footer__bottom-left {
    li {
      span {
        height: 16px;
        width: 1px;
        background-color: var(--white);
        margin-bottom: -3px;
      }
    }
  }

  .footer__bottom-right {
    direction: ltr;
    a {
      color: var(--base-color);
      &:hover {
        color: var(--white);
      }
    }
  }

  .footer__bottom-list {
    display: flex;
    align-items: center;
    gap: 16px;
    row-gap: 6px;
    flex-wrap: wrap;
    a {
      color: var(--white);
      position: relative;
      &::after {
        content: "";
        position: absolute;
        width: 0px;
        height: 1px;
        bottom: 2px;
        inset-inline-start: 50%;
        transform: translateX(-50%);
        background-color: var(--base-color);
        transition: var(--transition);
      }
      &:hover {
        color: var(--base-color);
        &::after {
          width: 100%;
        }
      }
    }
  }
}

// footer two styles
.footer-two {
  padding-top: 100px;
  background-color: var(--secondary-color);
  position: relative;
  z-index: 1;
  &::after {
    content: "";
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      -104deg,
      rgba(12, 26, 23, 0) 1.9%,
      rgba(9, 31, 27, 0.08) 37.31%,
      rgba(9, 31, 27, 0.17) 40.18%,
      rgba(9, 31, 27, 0.37) 47.05%,
      rgba(9, 31, 27, 0.67) 56.36%,
      #091f1b 73.4%,
      #091f1b 95.2%,
      rgba(9, 31, 27, 0.91) 103.44%
    );
    z-index: -2;
  }

  .footer-two__newsletter-content {
    h3 {
      font-weight: 800;
      color: var(--white);
      margin: -8px 0px 8px;
    }

    p {
      font-weight: 600;
      font-size: 18px;
      color: #949d9c;
    }
  }

  .divider {
    margin: 80px 0px;
    width: 100%;
    opacity: 0.5;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .footer-two__widget {
    .footer-two__widget-logo {
      margin-bottom: 30px;
    }

    p {
      color: #949d9c;
      font-weight: 500;
    }

    .social {
      gap: 14px;
      margin-top: 35px;
      a {
        @include box(46px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: var(--white);
        font-size: 14px;
        &:hover {
          background-color: var(--base-color);
          color: var(--secondary-color);
          border-color: var(--base-color);
        }
      }
    }

    h5 {
      font-weight: 800;
      color: var(--white);
      margin-top: -8px;
    }

    .line {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 16px;
    }

    span {
      background-color: var(--base-color);
      height: 2px;
      width: 10px;
    }

    .large-line {
      width: 50px;
    }
    .footer-two__widget-intro {
      margin-bottom: 30px;
    }

    li {
      margin-bottom: 12px;
      &:nth-last-of-type(1) {
        margin-bottom: 0px;
      }
      a {
        color: #949d9c;
        position: relative;
        &::after {
          content: "";
          position: absolute;
          width: 0px;
          height: 1px;
          bottom: 2px;
          inset-inline-start: 50%;
          transform: translateX(-50%);
          background-color: var(--base-color);
          transition: var(--transition);
        }
        i {
          transform: rotate(-45deg);
        }
        &:hover {
          color: var(--base-color);
          &::after {
            width: 100%;
          }
        }
      }
    }

    .footer-two__widget-content--contact {
      li {
        margin-bottom: 16px;
        &:nth-last-of-type(1) {
          margin-bottom: 0px;
        }
      }
      a {
        gap: 16px;
        text-transform: lowercase;
        align-items: flex-start;
        i {
          color: var(--base-color);
          transform: rotate(0deg);
          font-size: 18px;
          margin-top: 6px;
        }
      }
    }
  }

  .footer-two__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
    padding: 30px 0px;
  }

  .footer-two__copyright-inner {
    direction: ltr;
    p {
      font-weight: 600;
      color: var(--white);

      a {
        color: var(--base-color);
        &:hover {
          color: var(--white);
        }
      }
    }
  }

  .footer__bottom-list {
    display: flex;
    align-items: center;
    gap: 30px;
    row-gap: 6px;
    flex-wrap: wrap;
    a {
      color: var(--white);
      position: relative;
      &::after {
        content: "";
        position: absolute;
        width: 0px;
        height: 1px;
        bottom: 2px;
        inset-inline-start: 50%;
        transform: translateX(-50%);
        background-color: var(--base-color);
        transition: var(--transition);
      }
      &:hover {
        color: var(--base-color);
        &::after {
          width: 100%;
        }
      }
    }
  }

  .sprade,
  .sprade-light {
    position: absolute;
    z-index: -1;
    top: 27%;
    inset-inline-start: 4%;
    img {
      max-width: 5vw;
      min-width: 30px;
      animation: pulse 4s infinite ease-in-out;
    }
  }

  .sprade-light {
    bottom: 30%;
    top: unset;
    inset-inline-start: unset;
    inset-inline-end: 8%;
    img {
      animation-delay: 1s;
    }
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1) translate(-50%, -50%);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) translate(-50%, -50%);
    opacity: 1;
  }
}

// footer three styles
.footer-three {
  background-color: #0c141f;
  padding-top: 100px;

  .divider {
    border: 0px;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 80px 0px;
  }

  .footer-two__widget-intro {
    margin-bottom: 30px;
    h5,
    h6 {
      font-weight: 700;
      color: var(--white);
      margin-top: -8px;
    }
  }

  .footer-three__widget-single {
    p {
      color: #8a8c94;
      margin-top: -8px;
      margin-bottom: 16px;
      max-width: 250px;
      &:nth-last-of-type(1) {
        margin-bottom: 0px;
      }
    }

    a {
      text-transform: lowercase;
      font-weight: 700;
      color: var(--base-color);
      &:hover {
        color: var(--white);
      }
    }
  }

  .footer-three__widget-alt {
    margin-top: 40px;
    .footer-two__widget-intro {
      margin-bottom: 20px;
    }

    p {
      margin-bottom: 12px;
      color: var(--white);
      font-weight: 500;
      &:nth-last-of-type(1) {
        margin-bottom: 0px;
      }
    }
  }

  .footer-three__logo {
    text-align: center;
  }

  .footer-three__inner {
    display: flex;
    gap: 60px;
    row-gap: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer__bottom-list {
    display: flex;
    align-items: center;
    gap: 30px;
    row-gap: 6px;
    flex-wrap: wrap;
    a {
      color: var(--white);
      position: relative;
      &::after {
        content: "";
        position: absolute;
        width: 0px;
        height: 1px;
        bottom: 2px;
        inset-inline-start: 50%;
        transform: translateX(-50%);
        background-color: var(--base-color);
        transition: var(--transition);
      }
      &:hover {
        color: var(--base-color);
        &::after {
          width: 100%;
        }
      }
    }
  }

  .social {
    a {
      @include box(40px);
      background-color: rgba(255, 255, 255, 0.08);
      color: var(--white);
      font-size: 14px;
      &:hover {
        background-color: var(--quaternary-color);
      }
    }
  }

  .footer-three__widget-news {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 30px;
    padding-top: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    &:nth-of-type(1) {
      padding-top: 0px;
    }
    &:nth-last-of-type(1) {
      border-bottom: 0px;
      padding-bottom: 0px;
    }
    .thumb {
      a {
        @include box(85px);
        overflow: hidden;
        img {
          width: 100%;
          height: 100%;
          border-radius: 50%;
          transition: var(--transition);
        }
        &:hover {
          img {
            transform: scale(1.1);
          }
        }
      }
    }

    .content {
      p {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        line-height: 1;
        margin-bottom: 16px;
        font-weight: 500;
        color: #929595;
        &:nth-last-of-type(1) {
          margin-bottom: 0px;
        }
        i {
          color: var(--quaternary-color);
        }
      }
      a {
        font-weight: 600;
        line-height: 20px;
        color: var(--white);
        &:hover {
          color: var(--base-color);
        }
      }
    }
  }

  .single-address {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    &:nth-last-of-type(1) {
      margin-bottom: 0px;
    }

    i {
      font-size: 24px;
      color: var(--quaternary-color);
    }
    p {
      font-size: 18px;
      line-height: 1;
      font-weight: 700;
      color: var(--white);
      max-width: 240px;
      margin-bottom: 12px;
      &:nth-last-of-type(1) {
        margin-bottom: 0px;
      }
      a {
        font-size: 15px;
        line-height: 20px;
        color: #929595;
        font-weight: 500;
        text-transform: lowercase;
        &:hover {
          color: var(--base-color);
        }
      }
    }
  }

  .footer-three__widget--newsletter {
    p {
      color: var(--white);
      margin-top: -8px;
      font-size: 14px;
    }

    form {
      padding: 30px 20px;
      background-color: rgba(255, 255, 255, 0.03);
      margin-top: 30px;
      border-radius: 5px;
    }

    .input-icon {
      display: flex;
      align-items: center;
      gap: 16px;
      justify-content: space-between;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      input {
        background-color: transparent;
        color: var(--white);
        flex-grow: 1;
        width: 100%;
        padding: 10px 0px !important;
      }

      button {
        font-size: 16px;
        min-width: 16px;
        color: var(--quaternary-color);
        &:hover {
          color: var(--base-color);
        }
      }

      i {
        position: static;
        transform: none;
      }
    }
  }

  .footer__newsletter-check {
    margin-top: 24px;
    input {
      padding: 0;
      height: initial;
      width: initial;
      margin-bottom: 0px;
      display: none;
      cursor: pointer;
    }

    label {
      position: relative;
      cursor: pointer;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.55);
      font-size: 14px;
      direction: ltr;

      a {
        color: var(--quaternary-color);
        font-size: 14px;
        font-weight: 500;
        &:hover {
          color: var(--base-color);
        }
      }
    }

    label:before {
      content: "";
      -webkit-appearance: none;
      appearance: none;
      background-color: transparent;
      border: 1px solid #4e545f;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
      padding: 10px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: inline-block;
      position: relative;
      vertical-align: middle;
      cursor: pointer;
      margin-inline-end: 12px;
      margin-top: -2px;
    }

    input:checked + label:after {
      content: "";
      display: block;
      position: absolute;
      top: 8px;
      inset-inline-start: 9px;
      width: 6px;
      height: 10px;
      border: solid var(--base-color);
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }

    input:checked + label::before {
      border-color: var(--base-color);
    }
  }

  .footer-two__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
    padding: 30px 0px;
    direction: ltr;
    p {
      font-weight: 600;
      color: var(--white);
      a {
        color: var(--base-color);
        &:hover {
          color: var(--white);
        }
      }
    }
  }
}

/* ==== 
 --------- (4.03) footer styles end ---------
 ==== */
