.contact-wrapper {
  width: 100%;

  .user__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .user__contact-title {
      color: var(--Primary-Main, #18171a);
      font-family: var(--font-primary-nexa);
      padding-top: 8px;
      font-size: 1rem;
      font-style: normal;
      font-weight: 500;
      line-height: var(--heading-lh-15-mob-sub-heading);
      margin: 0;

      @media (width >=768px) {
        font-family: var(--body-heading-font-family);
        font-size: var(--heading-font-4-mob);
        font-weight: var(--keplar-fw-700);
        line-height: var(--heading-lh-3--mob-heading);
        letter-spacing: 0.02em;
      }
    }

    .user__contact__icons {
      display: flex;
      align-items: baseline;
      gap: 2.5rem;

      .user__contact--icon-text {
        height: 1.5rem;
        width: 1.5rem;
        cursor: pointer;

        @media (width >=1024px)  {
          img {
            height: 1rem;
            width: 1rem;
          }
        }
      }

      .phone {
        border: none;
        background: none;
        padding: 0;
      }

      .primary-telephone,
      .secondary-telephone,
      .primary-whatsappno,
      .primary-email,
      .secondary-telephone-icon {
        display: none;
      }
    }

    .user__contact__icon-call_container {
      .primary-telephone,
      .secondary-telephone {
        display: block;
      }
      display: flex;
      justify-content: space-between;
      padding: 1.75rem 1rem 1rem;
      clip-path: polygon(72% 12px, 75% 0, 100% 0, 100% 100%, 0 100%, 0 12px);
      background: var(--Gradients-Gradient-1, linear-gradient(60deg, #c9d3d7 3.71%, #ebebeb 104.51%));

      a {
        color: #18171a;
        font-family: var(--font-primary-nexa);
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1.25rem;
        height: 1.25rem;
      }

      .separator {
        background-color: #000;
        height: 0.875rem;
        width: 0.0625rem;
        margin: 0;
      }
    }
  }
}

@media (width >=1024px) {
  .user__dropdown {
    .user__contact {
      .user__contact-title {
        padding-top: 1rem;
      }
    }
  }

  .contact-wrapper {
    .user__contact {
      gap: 1rem;

      .user__contact__icons {
        gap: 3rem;

        .user__contact--icon-text {
          img {
            width: 20px;
            height: 20px;
          }
        }

        .phone,
        .whatsapp,
        .email {
          display: flex;
          width: auto;
          height: auto;
          align-items: center;
          font-family: var(--font-primary-nexa);
          gap: 8px;
          color: var(--primary-main-color);
          font-size: 16px;
          font-weight: 400;
        }

        .btn-wrap {
          display: flex;
          gap: 3rem;
          flex-shrink: 0;

          .user__contact--icon-text {
            margin-right: inherit !important;

            &:first-child {
              margin-right: -1.5rem;
            }
          }
        }

        .primary-telephone,
        .secondary-telephone,
        .primary-whatsappno,
        .primary-email,
        .secondary-telephone-icon {
          display: flex;
        }
      }

      .user__contact__icon-call_container {
        display: none;

        a {
          font-size: 0.75rem;
          line-height: 1rem;
        }

        .separator {
          height: 1rem;
        }
      }
    }
  }
}

@media (width >=1200px) {
  .contact-wrapper {
    .user__contact {
      gap: 1.5rem;

      .user__contact-title {
        font-size: var(--heading-font-4-mob);
        line-height: var(--heading-lh-3--mob-heading);
      }

      .user__contact__icon-call_container {
        a {
          font-size: 0.875rem;
          line-height: 1.25rem;
        }
      }
    }
  }
}

/* static page contact section style */
.policy-terms-container,
.terms-of-use-container {
  .contact-wrapper {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 32px;

    @media (width >=768px) {
      padding-left: 3.5rem;
      padding-right: 3.5rem;
      padding-bottom: 0;
    }

    .contact {
      background: linear-gradient(60deg, #c9d3d7 3.71%, #ebebeb 104.51%);
      position: relative;
      padding: 24px 16px;

      @media (width >=768px) {
        padding: 32px 24px;
        padding-right: 5%;
      }

      &::after {
        position: absolute;
        content: '';
        height: 17px;
        background: linear-gradient(60deg, #c9d3d7 3.71%, #ebebeb 104.51%);
        display: block;
        inset: -16px 0 -1px 0;
        clip-path: polygon(calc(71% - 8px) 0, 100% 0, 100% 100%, calc(70% - 20px) 100%);

        @media (width >=768px) {
          height: 25px;
          top: -24px;
        }
      }

      .user__contact {
        gap: 24px;

        .user__contact-title {
          color: var(--primary-main);
          font-family: var(--body-heading-font-family);
          font-size: var(--heading-font-4-mob);
          font-style: normal;
          font-weight: var(--keplar-fw-700);
          line-height: 1.75rem;
          letter-spacing: 0.48px;
          padding: 0;
          margin: 0;

          @media (width >=768px) {
            font-size: var(--heading-font-4-mob);
            line-height: 36px;
            letter-spacing: 0.64px;
          }
        }

        .user__contact__icons {
          flex-direction: column;
          gap: 0;

          > div {
            width: 100%;
          }

          .label {
            color: var(--Primary-Main, #18171a);
            font-family: var(--font-primary-nexa);
            font-size: 12px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px;
            text-transform: uppercase;
            margin-top: 0;
            margin-bottom: 12px;
          }

          .user__contact--icon-text {
            width: auto;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary-main);
            font-family: var(--font-primary-nexa);
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px;
            height: auto;

            a {
              color: var(--primary-main);
            }

            img {
              height: 20px;
              width: 20px;
            }

            @media (width >=1024px) { 
              font-size: 16px;
            }
          }

          .btn-wrap {
            width: 100%;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-bottom: 32px;
            gap: 3rem;

            @media (width >=768px) {
              justify-content: space-between;
              width: auto;
              margin-bottom: 32px;
              gap: 1.5rem;
            }

            @media (width >=1024px) {
              justify-content: flex-start;
            }
          }

          .user__contact--icon-text.whatsapp,
          .user__contact--icon-text.email {
            margin-bottom: 32px;

            @media (width >=768px) {
              margin-bottom: 32px;
            }
          }

          @media (width >=768px) {
            display: grid;
            flex-direction: column;
            gap: 0;
          }

          @media (width >=1024px) {
            grid-auto-flow: column;
            column-gap: 4rem;
            column-gap: 4rem;
          }
        }
      }

      .primary-telephone,
      .secondary-telephone,
      .primary-whatsappno,
      .primary-email,
      .secondary-telephone-icon {
        display: block;
      }
    }
  }
}
