/*------ landing start ------*/
@media (min-width: 992px) {
  [data-nav-style="menu-click"][data-nav-layout="horizontal"] {
    &[data-theme-mode="dark"] {
      .landing-body .app-sidebar .slide.has-sub.open .slide-menu.child1::before {
        border-block-start-color: rgba(0, 0, 0, 0.1);
        border-inline-start-color: rgba(0, 0, 0, 0.1);
      }

      &[dir="rtl"] {
        .slide.has-sub.open .slide-menu.child1 {
          &::before {
            border-inline-end-color: var(--border);
            border-inline-start-color: transparent !important;
          }
        }
      }
    }

    .landing-body {
      .app-sidebar {
        .side-menu__item .side-menu__angle {
          color: #fff;
        }

        .slide.has-sub.open {
          .slide-menu {

            &.child1,
            &.child2,
            &.child3 {
              .slide .side-menu__item {
                .side-menu__angle {
                  color: $menu-prime-color !important;
                }

                &:hover,
                &.active {
                  color: $primary;

                  .side-menu__angle {
                    color: $primary !important;
                  }

                  &:before {
                    border-color: $primary !important;
                  }
                }
              }
            }
          }
        }

        .side-menu__item {
          border-radius: 0.25rem;
          padding: 0.3rem;
        }

        .slide-menu.child1 {
          border-radius: 0.25rem;
          padding: 0.55rem 0.3rem;
        }

        .slide-menu.child1 .side-menu__item {
          padding: 0.33rem 1.6rem;
        }

        .slide.has-sub.open .slide-menu.child1 {
          overflow: visible !important;

          &::before {
            content: "";
            position: inherit !important;
            inset-block-start: -7px;
            inset-inline-start: 10%;
            width: 13px;
            height: 13px;
            z-index: 99999;
            border: 1px solid transparent;
            border-block-start-color: var(--border);
            border-inline-start-color: var(--border);
            transform: rotate(45deg);
            background-color: $custom-white;
          }
        }

        .side-menu__item {
          padding-inline-end: 1.3rem;
          padding-inline-start: 1.3rem;
        }

        .side-menu__item.active,
        .side-menu__item:hover {
          background-color: transparent !important;
        }

        .slide-menu.child1 .slide .side-menu__item:before {
          inset-block-start: 0.838rem;
          inset-inline-start: 0.65rem;
        }

        .side-menu__item:hover .side-menu__angle {
          color: $primary !important;
        }
      }

      .app-sidebar {
        .side-menu__label {
          color: #fff;
          opacity: 0.8;
        }

        .side-menu__item {

          &.active,
          &:hover {
            background-color: $primary;
            color: $primary;

            .side-menu__label,
            .side-menu__angle {
              color: #fff !important;
            }
          }
        }
      }
    }
  }

  .flex-none {
    flex: none;
  }
}

.svg-container {
  position: relative;

  svg {
    position: relative;
    width: 4rem;
    height: 4rem;
  }

  &:before {
    position: absolute;
    content: "";
    width: 60px;
    height: 60px;
    inset-inline-end: -1rem;
    inset-block-end: -2rem;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 40% 60% 60% 40%/70% 30% 70% 30%;
    z-index: 1;
  }
}

.testimonialSwiperService {
  padding: 0 0 3.375rem 0 !important;
}

.workflow-bottom-design:before {
  content: "";
  position: absolute;
  width: 3px;
  top: -48px;
  height: 48px;
  background-color: rgba(var(--primary-rgb), 0.1);
  opacity: 1;
}

.workflow-top-design:before {
  content: "";
  position: absolute;
  width: 3px;
  bottom: -48px;
  height: 48px;
  background-color: rgba(var(--primary-rgb), 0.1);
  opacity: 1;
}

.landing-body {
  background-color: $custom-white;

  .app-sidebar {
    border-bottom: 0;

    .side-menu__item {
      padding: 0.8rem 1rem;

      &.active,
      &:hover {
        color: $primary !important;
      }
    }
  }

  .app-sidebar.sticky.sticky-pin {
    .side-menu__item.active {
      font-weight: normal;

      .side-menu__label {
        color: $primary !important;
      }

      .side-menu__angle {
        color: $primary !important;
      }
    }
  }

  .accordion.accordion-primary .accordion-button.collapsed:after {
    background-color: $primary-01;
    color: $primary;
  }

  .featur-icon {
    width: 75px;
    height: 75px;
    padding: 14px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
  }

  .feature-logos {
    display: flex;
    justify-content: center;
  }

  .landing-Features {
    position: relative;
    width: 100%;
    height: 100%;
    inset-block-start: 0;
    background: rgba(var(--primary-rgb), 0.5);
    z-index: 1;

    &:before {
      background-image: url("../images/media/media-80.svg");
      background-repeat: repeat;
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0px;
      z-index: -1;
      opacity: 0.075;
    }
  }

  @media (min-width: 992px) {
    .app-sidebar {
      inset-block-start: 0;
      padding: 0.5rem 0;
      height: auto !important;
      background-color: rgba(0, 0, 0, 0.1);
      background-image: none;
      box-shadow: none;
      border-inline-end: 0;

      .main-sidebar {
        height: auto !important;
        width: 100%;
      }

      &.sticky.sticky-pin {
        background-color: $custom-white;
        box-shadow: 0 0.25rem 1rem $black-1;

        .side-menu__item {
          .side-menu__angle {
            color: $menu-prime-color;
          }

          &:hover {
            .side-menu__angle {
              color: $primary !important;
            }
          }
        }

        &.app-sidebar .side-menu__label {
          color: $custom-black;
        }

        .landing-logo-container .horizontal-logo {
          .desktop-dark {
            display: none;
          }

          .desktop-logo {
            display: block;
          }
        }

        &.app-sidebar .side-menu__item:hover {
          .side-menu__label {
            color: $primary !important;
          }
        }
      }

      &.app-sidebar .slide.has-sub.open .slide-menu.child1::before {
        border-block-start-color: $default-border !important;
        border-inline-start-color: $default-border !important;
      }
    }

    .app-header {
      display: none;
    }

    .main-sidebar-header {
      display: block !important;
    }

    .main-menu-container {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .slide-left,
      .slide-right {
        display: none;
      }
    }

    .main-content {
      padding: 0;
    }

    .landing-logo-container {
      .horizontal-logo .header-logo {
        .desktop-logo {
          display: none;
        }

        .desktop-dark {
          display: block;
        }
      }
    }
  }

  @media (max-width: 991.98px) {

    .app-sidebar .side-menu__item.active,
    .app-sidebar .side-menu__item:hover {
      background-color: transparent;
    }

    .app-sidebar .container-xl {
      padding-inline: 0;
    }

    .main-menu-container .main-menu {
      padding-inline: 20px !important;
      width: 100%;
    }

    .app-sidebar .slide-menu {
      padding-inline-start: 1rem;
    }

    .app-sidebar {
      .slide {
        padding: 0;
      }
    }

    .landing-logo-container {
      .horizontal-logo .header-logo {
        .desktop-logo {
          display: none !important;
        }

        .desktop-dark {
          display: none !important;
        }
      }
    }
  }

  .main-menu-container .main-menu {
    padding-inline-start: 0;
  }

  .app-content {
    margin-block-start: 4rem;
  }

  .section {
    padding: 3.375rem 0;
    background-size: cover;
    position: relative;
  }

  .landing-banner {
    position: relative;
    width: 100%;
    inset-block-start: 0;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.18) 0%, rgba(var(--primary-rgb), 0.08) 40%, rgba(0, 0, 0, 0.08) 100%);
    z-index: 1;

    &:before {
      content: "";
      position: absolute;
      width: 100%;
      background-image: url("../images/media/svg/pattern-2.svg");
      background-repeat: repeat;
      height: 100%;
      z-index: -1;
      opacity: 0.025;
    }

    .main-banner-container {
      padding: 4rem 0;
    }

    .landing-banner-heading {
      line-height: 1.25;
      text-shadow: 1px 1px $black-1;
      font-size: 3rem;
      font-weight: 500;
      color: $white;
    }
  }

  @media (max-width: 767.98px) {
    .landing-main-image {
      display: none;
    }

    .landing-banner {
      .main-banner-container {
        padding: 1rem;
      }
    }

    .landing-footer {
      background-color: rgb(0, 0, 0);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);

      .landing-footer-list {
        li {

          &:last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }

  @media (max-width: 1115.98px) {
    .landing-main-image {

      &::before,
      &::after {
        display: none;
      }
    }
  }

  @media (max-width: 480px) {
    .landing-banner {
      .section {
        padding: 2.375rem 0;
      }
    }
  }

  .landing-main-image {
    position: relative;
    z-index: 10;

    img {
      z-index: 11;
      position: relative;
      margin-block-start: -10px;
      background-color: rgba(0, 0, 0, 0.1);
      border-radius: 0;
    }

    &::before {
      content: "";
      position: absolute;
      inset-inline-start: 6rem;
      inset-block-start: -3rem;
      width: 100px;
      height: 100px;
      border: 6px dashed rgba(255, 255, 255, 0.05);
    }

    &::after {
      content: "";
      position: absolute;
      inset-inline-end: -1rem;
      inset-block-end: -3rem;
      width: 100px;
      height: 100px;
      border: 6px dashed rgba(255, 255, 255, 0.03);
    }
  }

  .landing-page-wrapper {
    position: relative;
    min-height: calc(100vh - 3.4rem);
  }

  .main-landing-image {
    width: 37.5rem;
    padding: 0.5rem;
    border-radius: $default-radius;
    background-color: $primary-01;
  }

  .brand-img-white {
    display: block;
  }

  .brand-img-light {
    display: block;
  }

  .app-sidebar .side-menu__label {
    font-family: 600;
  }

  .landing-section-heading {
    position: relative;
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .landing-missions,
  .landing-missions-dark {
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.05) !important;

    &:before {
      content: "";
      position: absolute;
      width: 100%;
      height: 0.15rem;
      inset-block-start: 0;
      inset-inline-start: 0;
      border-radius: 3.125rem;
    }

    svg {
      width: 1.5rem;
      height: 1.5rem;
    }
  }

  .customize-image img {
    width: 30.5rem;
    height: 20rem;
    margin-block-start: 20px;
    padding: 15px;
    position: relative;
  }

  .landing-footer {
    background-color: rgb(0, 0, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    .landing-footer-list {
      li {
        margin-bottom: 0.5rem;
      }
    }
  }

  .landing-main-footer {
    background-color: rgb(0, 0, 0);
  }

  .landing-testimonials .swiper-pagination-bullet {
    background: $primary !important;

    &:active {
      background: $primary !important;
    }
  }

  .team-card {
    transition: box-shadow 0.2s ease-in;

    &:hover {
      box-shadow: 0 0.25rem 1rem 0 rgba(0, 0, 0, 0.05);
      transition: box-shadow 0.2s ease-in;
    }

    .team-avatar {
      box-shadow: 0 0 0 0.5rem rgba(0, 0, 0, 0.05);
    }
  }

  .btn-close {
    padding: 1.5rem;
    right: -0.875rem;
  }

  .section-bg {
    background-color: $primary-01;
  }

  .icon-shadow-warning {
    box-shadow: 0 0 11px rgba(var(--warning-rgb), 0.55);
  }

  .icon-shadow-info {
    box-shadow: 0 0 11px rgba(var(--info-rgb), 0.55);
  }

  .icon-shadow-primary {
    box-shadow: 0 0 11px rgba(var(--primary-rgb), 0.55);
  }

  .landing-team-img {
    box-shadow: 5px 5px rgba(var(--primary-rgb), 0.35);
  }
}

.card.custom-card.landing-card .card-body {
  padding: 2rem;
}

.sub-card-companies img {
  background: rgba(0, 0, 0, 0.15);
  height: 77px;
  border-inline-start: 1px solid rgba(0, 0, 0, 0.15);
  padding: 15px 18px;
}

[data-theme-mode="dark"] {
  .landing-body {
    @media (min-width: 992px) {
      .main-menu-container {
        .landing-logo-container {
          .horizontal-logo .header-logo {
            .desktop-logo {
              display: none !important;
            }
          }
        }
      }
    }

    @media (max-width: 991.98px) {
      .app-header {
        .main-header-container {
          .horizontal-logo .header-logo {
            .toggle-logo {
              display: none;
            }

            .toggle-dark {
              display: block;
            }
          }
        }
      }
    }

    .landing-trusted-companies {
      img {
        filter: imvert(1);
      }
    }

    .team-card {
      &:hover {
        box-shadow: 0 0.25rem 1rem 0 rgba(255, 255, 255, 0.05);
      }

      .team-avatar {
        box-shadow: 0 0 0 0.5rem rgba(255, 255, 255, 0.05);
      }
    }

    .app-sidebar.sticky.sticky-pin {
      .landing-logo-container .horizontal-logo {
        .desktop-dark {
          display: block;
        }
      }
    }
  }

  .brand-img-light {
    display: block;
  }

  .brand-img-white {
    display: none;
  }

  // .section-bg {
  //   background-color: $black-1;
  // }
}

@media (max-width: 420px) {
  .landing-body .landing-banner {

    .main-banner-container {
      padding: 1rem;
    }

    .landing-banner-heading {
      font-size: 2rem;
    }
  }
}

@media (max-width: 992px) {
  .landing-body {

    .app-sidebar .slide-menu.child1 li,
    .app-sidebar .slide-menu.child2 li,
    .app-sidebar .slide-menu.child3 li {
      padding: 0;
      -webkit-padding-start: 1.5rem;
      padding-inline-start: 0;
      position: relative;
    }
  }
}

[dir="rtl"] {
  .landing-body {

    .testimonial-card,
    .featured-card-1 {
      direction: rtl;
    }
  }

  .landing-body .landing-main-image img {
    transform: scaleX(-1);
  }
}

/* Jobs Landing  */
.landing-body.jobs-landing .landing-banner .landing-banner-heading {
  line-height: 1.25;
  font-size: 2.5rem;
  font-weight: 500;
}

.landing-body.jobs-landing .landing-banner {
  height: auto;
}

.custom-form-group {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-form-group .form-control {
  padding-inline-end: 8.75rem;
  padding-inline-start: 1.25rem;
  line-height: 2.25;
}

.custom-form-group .form-control-lg~.custom-form-btn {
  inset-inline-end: 0.7rem;
}

.custom-form-group .custom-form-btn {
  position: absolute;
  inset-inline-end: 0.5rem;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: $custom-white;
}

.custom-form-group .custom-form-btn .gps-location {
  color: var(--text-muted);
  opacity: 0.6;
  font-size: 1.0625rem;
  line-height: 0;
  margin-inline-end: 10px;
}

.border-end.border-white3 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-banner {
  background-color: $primary-06;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;

  &::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    inset-block-start: 0;
    background-image: url(../images/media/backgrounds/2.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    opacity: 0.1;
    transition: transform ease 0.3s;
    z-index: -1;
  }
}

.bg-banner-1 {
  position: relative;
  inset-block-start: 0;
  height: 100%;
  border-radius: 0 0.3rem 0.3rem 0;
  z-index: 0;
}

.bg-banner-2 {
  position: relative;
  inset-block-start: 0;
  background-image: url(../images/media/backgrounds/1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0.3rem 0.3rem 0;
  z-index: 0;

  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary06);
    inset-inline: 0;
    inset-block: 0;
    z-index: -1;
  }
}

.landing-body.jobs-landing {
  .featured-jobs {
    overflow: hidden;
    border: 1px solid $default-border;
  }
}

.featured-card-4 svg {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-style {
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px dashed rgba(var(--warning-rgb), 0.35);

  &::before {
    content: "";
    position: absolute;
    width: 4rem;
    height: 4rem;
    inset-inline-end: -1.5rem;
    inset-block-end: -1.5rem;
    background-color: $primary-01;
    border-radius: 50%;
  }

  .feature-style-icon {
    position: relative;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    // border-radius: 50%;
    color: $white;
    font-weight: 500;
    // margin-block-end: 0.5rem;
  }

  .feature-style-icon img,
  .feature-style-icon svg {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.landing-body.jobs-landing .landing-main-footer .landing-footer-list li {
  display: inline-block;
  padding: 0 12px;
}

.landing-body .landing-main-footer .landing-footer-list li:not(:first-child)::before {
  position: absolute;
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border: 1px solid var(--white-5);
  border-radius: 50%;
  background-color: transparent;
  inset-inline-start: -0.2rem;
  inset-block-start: 0.5rem;
}

.landing-body .landing-main-footer .landing-footer-list li:not(:first-child) {
  position: relative;
}

.review-quote {
  position: absolute;
  inset-inline-end: 0.8rem;
  inset-block-start: 6rem;
  font-size: 4.875rem;
  line-height: 0;
  color: white;
  background-color: transparent;
  padding: 0.625rem;
  opacity: 0.05;
}

.blog-badge {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
}

.job-icon-shadow {
  text-shadow: 5px 6px $primary-01;
}

.job-category-icon {
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--primary-rgb), 0.02);
}

.landing-steps {
  position: relative;

  &::before {
    position: absolute;
    border: 1px dashed $default-border;
    content: "";
    inset-inline-end: 1rem;
    inset-block-start: 1.5rem;
    width: 3rem;
  }

  &::after {
    position: absolute;
    content: "\ea6e";
    font-family: "remixicon" !important;
    inset-inline-end: 0;
    inset-block-start: 0.85rem;
    opacity: 0.5;
  }
}

.faq-icon {
  font-size: 14rem;
}

.job-faqs-section {
  .accordion.accordion-primary .accordion-button.collapsed {
    background-color: $primary-01;
  }
}

/* Jobs Landing  */

@media (max-width: 480px) {
  .jobs-landing {
    .landing-banner {
      .section {
        padding: 4.375rem 0;

        .main-banner-container {
          .custom-form-group {
            .form-control-lg {
              padding: 0.5rem 0.5rem;
            }
          }

          .custom-form-btn {
            .btn {
              span {
                display: none;
              }
            }
          }
        }
      }
    }
  }
}

.landing-contact-info {
  background-color: $primary-01;
}

.card.custom-card.job-category-card {
  background: none;
}

.landing-footer-logo {
  height: 1.5rem;
  line-height: 1.5rem;
}

@media (min-width: 992px) and (max-width: 1024px) {
  [data-nav-layout="horizontal"] {
    .landing-body {
      .app-sidebar .main-menu>.slide {
        margin: 0;
      }

      .app-sidebar {
        padding-inline: 8px;
      }
    }

    &[data-nav-style="menu-click"] .landing-body .app-sidebar .side-menu__item {
      padding-inline-end: 1rem;
      padding-inline-start: 1rem;
    }
  }

}

/*------ landing end ------*/