@media (max-width: 1440px) {
  .banner__section::after {
    max-width: 1000px;
  }
}
@media (max-width: 959px) {
  /* offcanvas */
  .offcanvas {
    min-height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100000;
    left: -100%;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    display: block;
  }
  .offcanvas.show {
    left: 0;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
  }
  .offcanvas::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000c;
    -webkit-backdrop-filter: saturate(180%) blur(5px);
    backdrop-filter: saturate(180%) blur(5px);
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    opacity: 0.6;
  }
  .offcanvas .offcanvas__bar {
    width: 100%;
    position: relative;
    z-index: 10;
    height: 100%;
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    position: absolute;
    top: 0;
    left: -100%;
    -webkit-transition: all 0.6s linear;
    -o-transition: all 0.6s linear;
    transition: all 0.6s linear;
  }
  .offcanvas .offcanvas__bar .offcanvas__sidebar {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    min-width: 300px;
    width: 100%;
    max-width: 400px;
    background: #fff;
    position: relative;
    z-index: 10;
    height: 100%;
    overflow-y: auto;
  }
  .offcanvas .offcanvas__bar.showbar {
    left: 0;
    max-width: 400px;
  }

  .offcanvas__logo {
    padding: 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    -webkit-box-shadow: inset 0 -1px 0 0 #eaeaea;
    box-shadow: inset 0 -1px 0 0 #eaeaea;
    -webkit-backdrop-filter: saturate(180%) blur(5px);
    backdrop-filter: saturate(180%) blur(5px);
    background: #fffc;
  }
  .offcanvas__logo .custom-logo-link {
    display: block;
    text-align: left;
  }
  .offcanvas__logo a img {
    max-width: 180px;
    margin: 0;
    -webkit-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
  }
  .offcanvas__close {
    position: absolute;
    top: 22px;
    background: var(--primary);
    width: 38px;
    height: 38px;
    z-index: 100;
    left: auto;
    right: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: all 1s linear;
    -o-transition: all 1s linear;
    transition: all 1s linear;
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }

  .offcanvas__close .offcanvas__icon {
    width: 20px;
    line-height: 0;
  }
  .offcanvas__close .offcanvas__icon span {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 2px;
    vertical-align: top;
    background: #fff;
  }
  .offcanvas__close .offcanvas__icon span + span {
    margin-top: 5px;
  }

  .offcanvas.show .offcanvas__close .offcanvas__icon span:nth-child(1) {
    -webkit-animation: ease 0.7s 0.6s icon1 forwards;
    animation: ease 0.7s 0.6s icon1 forwards;
  }

  .offcanvas.show .offcanvas__close .offcanvas__icon span:nth-child(2) {
    -webkit-animation: ease 0.7s 0.6s icon2 forwards;
    animation: ease 0.7s 0.6s icon2 forwards;
  }

  .offcanvas.show .offcanvas__close .offcanvas__icon span:nth-child(3) {
    -webkit-animation: ease 0.7s 0.6s icon3 forwards;
    animation: ease 0.7s 0.6s icon3 forwards;
  }
  @-webkit-keyframes icon1 {
    0% {
      top: 0;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    50% {
      top: 7px;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    100% {
      top: 7px;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
    }
  }
  @keyframes icon1 {
    0% {
      top: 0;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    50% {
      top: 7px;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    100% {
      top: 7px;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
    }
  }
  @-webkit-keyframes icon2 {
    50% {
      -webkit-transform: scale(0);
      transform: scale(0);
    }
    100% {
      -webkit-transform: scale(0);
      transform: scale(0);
    }
  }
  @keyframes icon2 {
    50% {
      -webkit-transform: scale(0);
      transform: scale(0);
    }
    100% {
      -webkit-transform: scale(0);
      transform: scale(0);
    }
  }
  @-webkit-keyframes icon3 {
    0% {
      bottom: 0;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    50% {
      bottom: 7px;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    100% {
      bottom: 7px;
      -webkit-transform: rotate(135deg);
      transform: rotate(135deg);
    }
  }
  @keyframes icon3 {
    0% {
      bottom: 0;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    50% {
      bottom: 7px;
      -webkit-transform: rotate(0);
      transform: rotate(0);
    }
    100% {
      bottom: 7px;
      -webkit-transform: rotate(135deg);
      transform: rotate(135deg);
    }
  }
  .offcanvas ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  #primary-menu1 {
    padding: 0;
  }
  #primary-menu1 > li > a {
    color: #666;
    text-transform: capitalize;
    font-size: 15px;
    padding: 12px 20px;
    display: block;
    font-weight: 500;
  }

  #primary-menu1 > li > ul,
  #primary-menu1 > li > ul > li > ul {
    display: none;
  }

  #primary-menu1 li {
    position: relative;
    cursor: pointer;
  }
  #primary-menu1 > li {
    border-bottom: 1px solid #eee;
  }

  #primary-menu1 > li > a:hover,
  #primary-menu1 > li a.show-active,
  #primary-menu1 > li.menu-item-has-children ul li a.show-active,
  #primary-menu1 > li:hover > a {
    background: #00000012;
  }

  #primary-menu1 > li > ul > li:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  #primary-menu1 li.menu-item-has-children span {
    color: var(--primary);
    position: absolute;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 20px;
    width: 40px;
    height: 40px;
    background: #fff;
    right: 3px;
  }
  #primary-menu1 li.menu-item-has-children span i {
    position: absolute;
    font-size: 14px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  #primary-menu1 li.menu-item-has-children > ul {
    background: var(--light);
  }

  #primary-menu1 li.menu-item-has-children > ul li.menu-item-has-children ul {
    background: #fff;
    margin: 0;
    margin-top: 5px;
    border-radius: 0;
    display: none;
    padding: 0;
    border-bottom: 1px solid transparent;
  }
  #primary-menu1 > li.menu-item-has-children > span {
    top: 21px;
  }

  #primary-menu1 > li.menu-item-has-children ul li a {
    font-size: 14px;
    color: #111;
    font-weight: 400;
    padding: 12px 30px;
    display: block;
    text-transform: capitalize;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  #primary-menu1 > li.menu-item-has-children ul li:last-child a {
    border-bottom: none;
  }

  #primary-menu1 > li ul li:hover > a {
    color: var(--primary);
    background: #0000000d;
  }
  #primary-menu1 > li.menu-item-has-children ul li:hover a {
    color: #fff;
  }

  #primary-menu1
    > li.menu-item-has-children
    ul
    li.menu-item-has-children
    ul
    li
    a {
    padding-left: 40px;
  }

  /* #primary-menu1
    > li.menu-item-has-children
    ul
    li.menu-item-has-children
    ul
    li.menu-item-has-children
    ul
    li
    a {
    padding-left: 60px;
  } */
  .newsletter__container .heading-wrap {
    text-align: center;
  }

  .heading-wrap h2 {
    font-size: 40px;
  }

  .why__bpo {
    text-align: center;
  }

  .banner__section {
    height: 100%;
    padding-top: 50px;
    text-align: center;
  }

  .banner__section--content h1 {
    font-size: 57px;
    line-height: 65px;
  }

  .banner__section--content p {
    width: 100%;
  }

  .banner__section--content {
    padding-bottom: 50px !important;
  }

  .banner__section::after {
    background-position: center;
  }
}

@media (max-width: 768px) {
  .stats-data span {
    font-size: 40px;
  }
  .site-header .custom-logo {
    width: 120px;
    padding: 14px 0;
  }
  .banner__img {
    padding-bottom: 0;
  }
  .services__contact__form input,
  .services__contact__form select,
  .services__contact__form textarea {
    height: 40px;
  }
  .banner__section--content h1 {
    font-size: 45px;
    line-height: 50px;
    margin-bottom: 0;
  }
  .review__card--header {
    margin-top: 35px;
  }
  .testimonial__section .review__slider {
    padding: 25px;
  }
  .banner__section {
    padding-bottom: 50px;
  }

  .banner__section--content {
    padding: 0 !important;
  }

  .services__section .heading-wrap-text {
    flex: auto;
    width: 100%;
  }

  .services__section .heading-wrap-text p {
    width: 100%;
    font-size: 16px;
    line-height: 25px;
  }

  .heading-wrap h2 br {
    display: none;
  }

  .testimonial__stats {
    margin-top: 25px;
  }

  .testimonial__stats .stats-data {
    margin-left: 0;
    margin-right: 50px;
  }

  .review__card {
    padding: 30px;
  }

  .review__card--content p {
    font-size: 17px;
    line-height: 25px;
  }

  .owl-nav {
    position: static;
    text-align: center;
    margin-top: 15px;
  }

  .testimonial__section .owl-nav button {
    background: #fff !important;
  }

  .header-right .uk-search {
    display: none;
  }

  .heading-wrap h2 {
    font-size: 35px;
  }

  .blog__card--img > a img {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  .blog__author {
    bottom: -6px;
  }

  .content__area h1 {
    font-size: 30px;
    line-height: 37px;
  }

  .content__area h2 {
    font-size: 26px;
    line-height: 37px;
  }

  .newsletter__container {
    padding: 30px;
  }

  .newsletter__container .heading-wrap h2 {
    font-size: 25px;
  }

  .newsletter__form form input[type="text"] {
    margin-right: 10px;
  }

  .newsletter__footer p {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
  }

  .newsletter__btn {
    width: 100%;
  }

  .banner__section::after {
    display: none;
  }

  .banner__section--content p {
    margin-top: 10px;
  }

  /* .services__tabs--switcher {
    display: flex;
    justify-content: left;
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0;
  }

  .services__tabs--switcher li {
    display: block;
    min-width: 85%;
    width: 85%;
    max-width: 100%;
    padding: 0;
    padding-right: 15px;
  } */

  .section {
    padding: 40px 0;
  }

  .copyright__msg > div > div {
    justify-content: center;
    gap: 5px;
  }

  .provider__person img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: top;
  }

  .services__contact__form > div {
    padding: 20px;
    margin: 20px;
  }

  .services__contact__form .wpcf7-form {
    display: block;
  }

  .services__contact__form .wpcf7-form p,
  .services__contact__form .wpcf7-form p:nth-child(3),
  .services__contact__form .wpcf7-form p:nth-child(2) {
    margin-bottom: 15px;
  }

  .partnership__logo--img {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
  }

  .services__cta--container h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .services__cta--container {
    padding: 30px;
    padding-bottom: 50px;
  }

  .services__review .review__card--header img {
    height: auto;
    width: 100% !important;
  }
  .services__cta > a {
    width: 55px;
    height: 55px;
  }

  .services__cta > a svg {
    width: 20px;
  }

  .services__cta > a:first-child {
    right: 160px;
    top: -20px;
  }
  .services__cta > a:nth-child(2) {
    right: 202px;
    top: 40px;
  }
  .services__cta > a:last-child {
    right: 218px;
    top: 115px;
  }

  .services__cta--img img {
    width: 150px;
  }

  .services__review .owl-nav {
    padding-bottom: 50px;
  }

  .faq__accordion {
    margin-left: 0;
  }

  .accordion__title h3 {
    font-size: 20px;
  }

  .services__banner__section {
    padding: 50px 0;
  }

  .event__banner__section .services__banner__content p {
    width: 100%;
  }

  .blog__cat > a {
    font-size: 15px;
  }

  .blog__cat__listing ul li {
    width: 40%;
  }

  .services__banner__content h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .blog__title h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .event__img > a img {
    height: 100%;
  }
}

@media (max-width: 500px) {
  .header__login {
    display: none;
  }
}
