body {
  padding-top: var(--headerHeight) !important;
  background-image: unset !important;
}

.main__justco {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 9999;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: 0.35s;

  .light_header_asset {
    display: none;
  }

  /* for container */
  .container {
    @media (max-width: 1199.98px) {
      max-width: 1000px;
    }
  }

  /* for mobile menu */
  &.active {
    .inner .menu_wrap {
      @media (max-width: 991.98px) {
        opacity: 1;
        transform: translateX(0%);
        z-index: 1;
      }
    }
  }

  &.first_level {
    @media (max-width: 991.98px) {
      .prev {
        opacity: 0;
      }
    }
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  a {
    text-decoration: none;
    display: inline-flex;
  }

  .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .left,
    .right {
      display: flex;
      align-items: center;
    }

    .left {
      gap: 50px;
    }

    .right {
      gap: 30px;

      @media (max-width: 1199.98px) {
        gap: 20px;
        padding-right: 20px;
      }

      @media (max-width: 991.98px) {
        padding-right: 0;
      }

      @media (max-width: 479.98px) {
        gap: 10px;
      }

      .cta_btns {
        @media (max-width: 991.98px) {
          display: none;
        }
      }
    }

    .logo_wrap {
      img {
        width: 90px;
        height: 90px;
        object-fit: contain;
      }
    }

    .menu_wrap {
      position: relative;

      @media (max-width: 991.98px) {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        background-color: var(--white);
        transform: translateX(-100%);
        opacity: 0;
        transition: 0.5s;
      }

      .a_wrap {
        display: flex;
        align-items: center;
      }

      .menu_body {
        @media (max-width: 991.98px) {
          padding: 30px 0;
          overflow-x: hidden;
        }

        .first_level_menu {
          display: flex;
          gap: 40px;

          @media (max-width: 991.98px) {
            flex-direction: column;
            gap: 10px;
          }

          > li {
            &:hover {
              > .mega_menu {
                display: block;

                @media (max-width: 991.98px) {
                  /* display: none; */
                }
              }
            }

            &.active {
              > .mega_menu {
                @media (max-width: 991.98px) {
                  opacity: 1;
                  visibility: visible;
                  pointer-events: all;
                }
              }
            }

            > .a_wrap {
              > a {
                font-size: 14px;
                font-weight: 700;
                color: var(--secondary);
                padding: 35px 0;
                transition: color 0.3s;
                flex-grow: 1;
                text-transform: uppercase;

                @media (max-width: 991.98px) {
                  padding: 15px 0;
                  font-size: 24px;
                }

                &:hover {
                  color: var(--neublue);
                }
              }

              > .submenu_toggle {
                display: none;

                @media (max-width: 991.98px) {
                  opacity: 1;
                  display: flex;
                }
              }
            }

            .mega_menu {
              position: fixed;
              /* top: calc(var(--headerHeight) - 2px); */
              top: 91px;
              left: 0;
              width: 100%;
              height: auto;
              padding: 50px 0;
              height: 355px;
              overflow-y: auto;
              background: var(--white);
              transition: 0.35s;
              display: none;
              box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
              z-index: 1;

              @media (max-width: 991.98px) {
                top: 80px;
                height: calc(100vh - 80px);
                display: block;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                padding-bottom: 100px;
              }

              &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 12px;
                background: linear-gradient(
                  180deg,
                  var(--darkgrey),
                  transparent
                );
                opacity: 0.1;
                pointer-events: none;
                z-index: 9;
              }

              .outline_btn {
                text-transform: uppercase;
                margin-top: 40px;
                justify-content: center;
              }

              .inner_row {
                display: flex;

                @media (max-width: 991.98px) {
                  flex-direction: column-reverse;
                }

                .text_wrap {
                  width: 25%;
                  padding-right: 10px;

                  @media (max-width: 991.98px) {
                    width: 100%;
                    padding-right: 0px;
                  }

                  .h3 {
                    font-size: 24px;
                    font-weight: 700;
                    color: var(--secondary);
                    margin-bottom: 10px;

                    @media (max-width: 991.98px) {
                      display: none;
                    }
                  }

                  &.mobile {
                    display: none;
                    /* padding: 7px 10px; */
                    padding: 0;

                    @media (max-width: 991.98px) {
                      display: block;
                    }

                    .h3 {
                      display: block;
                      margin-bottom: 25px;
                    }
                  }

                  p {
                    max-width: 220px;
                    font-size: 16px;
                    color: var(--secondary);

                    @media (max-width: 991.98px) {
                      display: none;
                    }
                  }
                }

                .right_part {
                  position: relative;
                  width: 75%;

                  @media (max-width: 991.98px) {
                    width: 100%;
                  }

                  &.sticky_cards {
                    display: flex;
                    justify-content: space-between;

                    @media (max-width: 991.98px) {
                      display: block;
                    }
                  }

                  &::before {
                    display: none;
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 300px;
                    height: 70px;
                    background: linear-gradient(
                      to bottom,
                      rgba(255, 255, 255, 0) 10%,
                      rgba(255, 255, 255, 1) 100%
                    );

                    pointer-events: none;
                  }

                  .right_part_wrap {
                    margin-bottom: 30px;

                    .brands_hdng {
                      font-size: 16px;
                      font-weight: 700;
                      color: #003a5c;
                      margin-bottom: 15px;
                    }
                  }
                }
              }

              .brand_logos {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;

                @media (max-width: 991.98px) {
                  flex-direction: column;
                  align-items: center;
                }

                .brand_logo {
                  width: 230px;
                  height: 95px;
                  background-color: var(--white);
                  transition: 0.5s;
                  border-radius: 10px;
                  display: flex;
                  align-items: center;
                  justify-content: center;

                  &:hover,
                  &.active {
                    background-color: var(--lightblue);
                  }

                  img {
                    height: 50px;
                    object-fit: contain;
                  }
                }
              }

              .locations {
                /* column-count: 3;
              width: 550px; */
                /* > li {
                margin-bottom: 10px;
              } */
              }

              .sub_mega_menu {
                position: fixed;
                /* top: calc(var(--headerHeight) + 0px); */
                top: 91px;
                right: 0;
                width: 100%;
                height: 355px;
                background-color: transparent;
                pointer-events: none;
                transform: translateX(100%);
                opacity: 0;
                /* transition: 0.35s ease-in-out; */
                transition: 0s ease-in-out;

                @media (max-width: 991.98px) {
                  top: 80px;
                  height: calc(100vh - 80px);
                  overflow-y: auto;
                  transform: translateX(0);
                  visibility: hidden;
                  pointer-events: none;
                  opacity: 0;
                  background-color: var(--white);
                }

                .container,
                .sub_mega_menu_flex {
                  height: 100%;
                  pointer-events: none;
                }

                .sub_mega_menu_flex {
                  position: relative;
                  padding: 50px 0;
                  display: flex;
                  gap: 20px;
                  justify-content: space-between;
                  max-width: 665px;
                  padding-left: 20px;
                  margin-left: auto;
                  background-color: var(--white);
                  pointer-events: all;
                  border-left: 1px solid var(--lightgrey);

                  @media (max-width: 1399.98px) {
                    max-width: 610px;
                  }

                  @media (max-width: 1199.98px) {
                    max-width: 520px;
                  }

                  @media (max-width: 991.98px) {
                    max-width: 100%;
                    padding-left: 0;
                    border: unset;
                    justify-content: flex-start;
                    overflow-y: auto;
                    gap: 0;
                    flex-wrap: wrap;
                    flex-direction: column;

                    &:has(.cards_wrap) {
                      flex-direction: row;
                    }

                    &::-webkit-scrollbar {
                      display: none;
                    }
                  }

                  &::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    width: 10px;
                    height: 100%;
                    left: 0;
                    background-color: transparent;
                    transform: translateX(-100%);

                    @media (max-width: 1399.98px) {
                      width: 25px;
                    }

                    @media (max-width: 1199.98px) {
                      display: none;
                    }
                  }

                  .outline_btn {
                    @media (max-width: 1199.98px) {
                      margin: 15px 0 25px;
                    }
                  }
                }
              }

              .third_level_menu {
                width: 300px;
                overflow-y: auto;

                @media (max-width: 991.98px) {
                  width: 100%;
                }

                &::-webkit-scrollbar {
                  width: 6px;
                  background-color: transparent;
                }

                &::-webkit-scrollbar-thumb {
                  background-color: var(--lightgrey);
                }

                &::-webkit-scrollbar-track {
                  -webkit-box-shadow: unset;
                  background-color: transparent;
                }

                > li:hover,
                > li.active {
                  .nested_sub_mega_menu {
                    pointer-events: none;
                    opacity: 1;
                    transform: translateX(0);
                    transition: 0.5s ease-in-out;
                  }
                }

                > li.active {
                  .nested_sub_mega_menu {
                    @media (max-width: 991.98px) {
                      visibility: visible;
                      pointer-events: all;
                      opacity: 1;
                    }
                  }
                }

                > li:hover,
                > li.active {
                  > .a_wrap {
                    .submenu_toggle {
                      opacity: 1 !important;
                    }
                  }
                }

                .nested_sub_mega_menu {
                  position: fixed;
                  /* top: calc(var(--headerHeight) + 0px); */
                  top: 0;
                  right: 0;
                  width: 100%;
                  height: 355px;
                  background-color: transparent;
                  pointer-events: none;
                  transform: translateX(100%);
                  opacity: 0;
                  /* transition: 0.35s ease-in-out; */
                  transition: 0s ease-in-out;

                  @media (max-width: 991.98px) {
                    top: 0;
                    height: calc(100vh - 80px);
                    overflow-y: auto;
                    transform: translateX(0);
                    visibility: hidden;
                    pointer-events: none;
                    opacity: 0;
                    background-color: var(--white);
                  }

                  .container,
                  .nested_sub_mega_menu_flex {
                    height: 100%;
                    pointer-events: none;
                  }

                  .nested_sub_mega_menu_flex {
                    position: relative;
                    padding: 50px 0;
                    display: flex;
                    gap: 20px;
                    justify-content: space-between;
                    max-width: 330px;
                    padding-left: 20px;
                    margin-left: auto;
                    background-color: var(--white);
                    pointer-events: all;
                    border-left: 1px solid var(--lightgrey);

                    @media (max-width: 1399.98px) {
                      max-width: 280px;
                    }

                    @media (max-width: 1199.98px) {
                      max-width: 200px;
                    }

                    @media (max-width: 991.98px) {
                      max-width: 100%;
                      padding-left: 0;
                      border: unset;
                      flex-direction: column;
                      justify-content: flex-start;
                      overflow-y: auto;
                      gap: 0;

                      &::-webkit-scrollbar {
                        display: none;
                      }
                    }

                    &::before {
                      content: "";
                      position: absolute;
                      top: 0;
                      width: 10px;
                      height: 100%;
                      left: 0;
                      background-color: transparent;
                      transform: translateX(-100%);

                      @media (max-width: 1399.98px) {
                        width: 25px;
                      }

                      @media (max-width: 1199.98px) {
                        display: none;
                      }
                    }

                    .outline_btn {
                      @media (max-width: 1199.98px) {
                        margin: 15px 0 25px;
                      }
                    }

                    .fourth_level_menu {
                      width: 100%;
                    }
                  }
                }
              }

              .second_level_menu {
                width: 300px;
                height: 250px;
                overflow-y: auto;

                @media (max-width: 1399.98px) {
                  width: 210px;
                }

                @media (max-width: 991.98px) {
                  width: 100%;
                  height: auto;
                }

                li:hover,
                li.active {
                  .sub_mega_menu {
                    pointer-events: none;
                    opacity: 1;
                    transform: translateX(0);
                    transition: 0.5s ease-in-out;
                  }
                }

                li.active {
                  .sub_mega_menu {
                    @media (max-width: 991.98px) {
                      visibility: visible;
                      pointer-events: all;
                      opacity: 1;
                    }
                  }
                }

                li:hover,
                li.active {
                  > .a_wrap {
                    .submenu_toggle {
                      opacity: 1 !important;
                    }
                  }
                }

                &::-webkit-scrollbar {
                  /* width: 5; */
                  /* background-color: transparent; */
                }

                &::-webkit-scrollbar-thumb {
                  /* background-color: #21b5ff; */
                }

                &::-webkit-scrollbar-track {
                  /* -webkit-box-shadow: unset;
                  background-color: transparent; */
                }

                &::-webkit-scrollbar {
                  width: 8px !important;
                }

                &::-webkit-scrollbar-thumb {
                  background-color: #003a5c !important;
                }

                &::-webkit-scrollbar-track {
                  border: 1px solid #003a5c78 !important;
                  background-color: #f5f5f5 !important;
                }
              }

              ul {
                li {
                  background-color: var(--white);
                  border-radius: 7px;
                  transition: 0.5s;
                  margin-bottom: 10px;

                  a {
                    font-size: 16px;
                    font-weight: 700;
                    padding: 10px 15px;
                    color: var(--secondary);
                    flex-grow: 1;

                    @media (max-width: 1199.98px) {
                      padding: 7px 17px;
                      padding-left: 0;
                    }
                  }

                  &.active,
                  &:hover {
                    @media (min-width: 1199.99px) {
                      background-color: var(--lightblue);

                      a {
                        color: var(--secondary);
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }

      .menu_head {
        display: none;

        @media (max-width: 991.98px) {
          position: sticky;
          top: 0;
          background-color: var(--white);
          display: block;
          padding: 20px 0;
          box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

          .menu_head_part {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 40px;

            button {
              background-color: transparent;
              border: none;
              outline: none;
              display: flex;
              align-items: center;
              gap: 10px;

              &.prev {
                padding: 10px;
                padding-left: 0;
              }

              &.menu_close {
                padding: 10px;
              }

              img {
                height: 16px;
              }

              .menu_heading {
                font-size: 16px;
                font-weight: 700;
                color: var(--lightgrey2);
                text-transform: uppercase;
              }
            }
          }
        }
      }
    }

    .justco_switcher {
      position: relative;
      display: flex;
      align-items: center;
      gap: 0px;

      button {
        background-color: transparent;
        border: none;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;

        @media only screen and (max-width: 575.98px) {
          height: 20px;
        }
      }

      .language_trigger {
        position: relative;
        display: flex;
        align-items: center;
        gap: 5px;
        padding-right: 15px;
        margin-right: 15px;

        .icon {
          width: 25px;

          @media (max-width: 991.98px) {
            width: 30px;
          }
        }

        .text {
          font-size: 14px;
          font-weight: 700;
          color: var(--secondary);
        }

        &::before {
          content: "";
          position: absolute;
          width: 2px;
          height: 20px;
          top: 50%;
          right: 0px;
          transform: translateY(-50%);
          border-radius: 50px;
          background-color: var(--secondary);
          appearance: none;
          pointer-events: none;

          @media only screen and (max-width: 575.98px) {
            height: 15px;
          }
        }
      }
    }
  }

  .submenu_toggle {
    width: 25px;
    height: 25px;
    background-color: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;

    @media (max-width: 991.98px) {
      width: 45px;
      height: 45px;
      opacity: 1;
      /* box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
        rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; */
      pointer-events: all;
      margin-right: 5px;
    }
  }

  /* menu_toggle css */
  .menu_toggle {
    position: relative;
    width: 40px;
    height: 40px;
    /* background-color: var(--neublue); */
    background: transparent
      url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/menu_hamburger.svg")
      no-repeat center / 29px;
    /* display: flex;
    align-items: center; */
    /* justify-content: center; */
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: none;

    @media (max-width: 991.98px) {
      display: flex;
    }
  }

  /* .menu_toggle::before,
  .menu_toggle::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: 0.5s;
  }

  .menu_toggle::before {
    transform: translateY(-9.5px);
    box-shadow: 0px 9.5px 0 0 var(--secondary);
    transition: transform 0.5s;
  }

  .menu_toggle::after {
    transform: translateY(9.5px);
    width: 65%;
  }

  &.active .menu_toggle::before {
    transform: translateY(0px) rotate(-225deg);
    box-shadow: 0px 0px 0 0 var(--secondary);
  }

  &.active .menu_toggle::after {
    transform: translateY(0px) rotate(45deg);
  } */

  .cta_btns {
    display: none;
    gap: 20px;

    @media (max-width: 991.98px) {
      flex-direction: column;
    }

    a {
      background: var(--neublue);
      color: var(--white);
      padding: 12px 20px !important;
      border-radius: 30px;
      box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
      line-height: 1.3;
      font-size: 14px;
      font-weight: 600;
      transition: 0.5s;
      align-items: center;
      justify-content: center;
      text-transform: uppercase;

      &:hover {
        border-color: var(--secondary);
        background: var(--secondary);
        color: #fff !important;
      }
    }

    .outline_btn {
      gap: 5px;
    }
  }

  .search_box_wrap {
    position: relative;
    width: 310px;
    max-width: 100%;
    cursor: pointer;
    /* display: none !important; */

    @media (max-width: 1199.98px) {
      display: none;
    }

    &.mobile {
      display: none;

      @media (max-width: 1199.98px) {
        display: block;
        /* width: 40px; */
        width: 170px;
        height: auto;
      }

      @media (max-width: 479.98px) {
        width: 120px;
      }

      .search_input {
        /* display: none; */
      }

      .search_btn {
        /* position: relative;
        top: initial;
        right: initial;
        transform: initial;
        width: 40px;
        height: 40px;
        border: 1px solid var(--lightgrey);
        border-radius: 5px; */
      }
    }

    .search_input {
      padding: 8px 40px 8px 15px;
      border: 1px solid var(--lightgrey);
      border-radius: 20px;
      outline: none;
      width: 100%;
      pointer-events: none;
      font-size: 14px;
      color: var(--secondary);

      @media (max-width: 479.98px) {
        font-size: 12px;
        padding-right: 25px;
      }

      &::placeholder {
        font-size: 14px;
        color: var(--secondary);

        @media (max-width: 479.98px) {
          font-size: 12px;
        }
      }
    }

    .search_btn {
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      width: 30px;
      height: 30px;
      cursor: pointer;
      border: none;
      background-color: transparent;
      padding: 0;
      pointer-events: none;

      @media (max-width: 479.98px) {
        right: 0;
      }
    }
  }

  &.transparent {
    background-color: transparent;

    .inner .menu_wrap {
      .menu_body {
        .container > ul {
          > li {
            > .a_wrap {
              > a {
                @media (min-width: 991.98px) {
                  color: var(--white);
                }
              }
            }
          }
        }
      }
    }

    .dark_header_asset {
      display: none;
    }

    .light_header_asset {
      display: block;
    }

    .inner {
      @media (min-width: 991.98px) {
        .menu_wrap > ul > li a {
          color: var(--white);

          &:hover {
            color: var(--neublue);
          }
        }
      }

      .justco_switcher {
        .language_trigger {
          &::before {
            background-color: var(--white);
          }
        }
      }

      .language_trigger .text {
        color: var(--white);
      }

      .menu_toggle {
        background: transparent
          url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/menu_hamburger_white.svg")
          no-repeat center / 29px;
      }

      /* .menu_toggle::before,
      .menu_toggle::after {
        background-color: var(--white);
      }
      .menu_toggle::before {
        box-shadow: 0px 9.5px 0 0 var(--white);
      } */
    }
  }

  &.sticky {
    background-color: var(--white);

    .inner .menu_wrap {
      .menu_body {
        .container > ul {
          > li {
            > .a_wrap {
              > a {
                color: var(--secondary);
              }
            }
          }
        }
      }
    }

    .dark_header_asset {
      display: block;
    }

    .light_header_asset {
      display: none;
    }

    .inner {
      .menu_wrap > ul > li a {
        color: var(--secondary);

        &:hover {
          color: var(--neublue);
        }
      }

      .justco_switcher {
        .language_trigger {
          &::before {
            background-color: var(--secondary);
          }
        }
      }

      .language_trigger .text {
        color: var(--secondary);
      }

      .menu_toggle {
        background: transparent
          url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/menu_hamburger.svg")
          no-repeat center / 29px;
      }

      /* .menu_toggle::before,
      .menu_toggle::after {
        background-color: var(--secondary);
      }
      .menu_toggle::before {
        box-shadow: 0px 9.5px 0 0 var(--secondary);
      } */
    }
  }

  .cards_wrap {
    max-width: 400px;
    display: flex;
    /* display: none; */
    gap: 20px;
    transition: 0.5s;
    /* opacity: 0;
    pointer-events: none;
    transform: translateX(20px); */

    /* &.active {
      pointer-events: all;
      opacity: 1;
      transform: translateX(0);
    } */

    @media (max-width: 991.98px) {
      flex-direction: column;
      width: 100%;
      max-width: 100%;
      pointer-events: all;
      opacity: 1;
      transform: translateX(0);
    }

    .centre_card {
      position: relative;
      width: 190px;
      display: flex;
      align-items: flex-end;
      border-radius: 10px;
      overflow: hidden;
      padding: 22px;

      @media (max-width: 1399.98px) {
        width: 170px;
      }

      @media (max-width: 1199.98px) {
        width: 100%;
        height: 240px;
        padding: 15px;
      }

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--black);
        opacity: 0.5;
        z-index: 1;
      }

      img {
      }

      .card_text {
        position: relative;
        z-index: 2;

        .h4 {
          font-size: 16px;
          font-weight: 700;
          color: var(--white);
          line-height: 1.4;
        }

        p {
          font-size: 12px;
          color: var(--white);
          margin-top: 7px;
        }
      }
    }
  }
}

.popup_tm {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 100px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow-y: auto;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.popup_tm.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.popup_tm .popup_box {
  position: relative;
  background-color: #fff;
  padding: 40px;
  max-width: 700px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.popup_tm .popup_box .close {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  width: 40px;
  height: 40px;
}

/* header_language_popup */
.header_popup {
  .popup_box {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    padding: 30px;

    @media (max-width: 479.98px) {
      padding: 20px;
    }

    .popup_head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--lightgrey);
      margin-bottom: 20px;
    }

    h4 {
      font-size: 14px;
      font-weight: 700;
      color: var(--secondary);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    ul {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;

      li {
        width: calc(50% - 7.5px);

        @media (max-width: 479.98px) {
          width: 100%;
        }

        .icon {
          img {
            width: 15px;
            height: auto;
            object-fit: contain;
          }
        }

        a {
          font-size: 16px;
          font-weight: 400;
          color: var(--secondary);
          padding: 10px 15px;
          border-radius: 5px;
          display: flex;
          gap: 10px;
          transition:
            background-color 0.3s,
            color 0.3s;

          &.active {
            background-image: url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/tick_green.svg");
            background-repeat: no-repeat;
            background-position: right 10px center;
          }

          &.active,
          &:hover {
            background-color: var(--lightblue);
          }
        }
      }

      &.header_countries {
        /* li {
          pointer-events: none;
          opacity: 0.6;
          cursor: not-allowed;
          &:nth-child(1),
          &:nth-child(2) {
            pointer-events: all;
            opacity: 1;
            cursor: pointer;
          }
        } */
      }
    }

    .close {
      position: relative;
      background: var(--white)
        url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/cross.svg")
        no-repeat center / 15px;
      width: 30px;
      height: 30px;
      box-shadow: unset;
    }
  }
}

.outline_btn {
  position: relative;
  padding: 10px 20px !important;
  background-color: var(--white) !important;
  color: var(--neublue) !important;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--neublue) !important;
  border-radius: 40px;
  transition: 0.5s;
  text-align: center;

  @media (max-width: 1199.98px) {
    padding: 10px 10px !important;
    font-size: 14px;
  }

  @media (max-width: 991.98px) {
    width: 100%;
  }

  &:hover {
    background-color: var(--neublue) !important;
    color: var(--white) !important;
  }
}

.abs_link,
.abs_cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.abs_link {
  z-index: 9;
}

.abs_cover {
  object-fit: cover;
}

.header_search_filter {
  position: fixed;
  top: 91px;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 50px 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.66);
  /* height: 350px; */
  /* display: flex;
  align-items: center; */
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: 0.5s;

  @media (max-width: 991.98px) {
    padding: 30px 0;
    top: 90px;
    /* background-color: var(--white); */
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
  }

  &.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
  }
}

/* 
Due to multiple omni search implementations, hide the header search box on specific pages and show only when needed by adding 'enable_search' class to body.
.page-id-132932 = home page = EN
.page-id-142859 = home page = JA
.page-id-142863 = home page = KO
.page-id-142876 = home page = TH
.page-id-142870 = home page = VI
.page-id-142881 = home page = ZH-HANT
*/

.page-id-132932 .main__justco .search_box_wrap,
.page-id-142859 .main__justco .search_box_wrap,
.page-id-142863 .main__justco .search_box_wrap,
.page-id-142876 .main__justco .search_box_wrap,
.page-id-142870 .main__justco .search_box_wrap,
.page-id-142881 .main__justco .search_box_wrap {
  visibility: hidden;
}

.page-id-132932.enable_search .main__justco .search_box_wrap,
.page-id-142859.enable_search .main__justco .search_box_wrap,
.page-id-142863.enable_search .main__justco .search_box_wrap,
.page-id-142876.enable_search .main__justco .search_box_wrap,
.page-id-142870.enable_search .main__justco .search_box_wrap,
.page-id-142881.enable_search .main__justco .search_box_wrap {
  visibility: visible;
}

/* 
Due to multiple omni search implementations, hide the header search box on specific pages and show only when needed by adding 'enable_search' class to body.
.page-id-131740 = search results page 
*/
.page-id-137402 .main__justco .search_box_wrap,
.page-id-131740 .main__justco .search_box_wrap {
  visibility: hidden;
}

.page-id-137402.enable_search .main__justco .search_box_wrap,
.page-id-131740.enable_search .main__justco .search_box_wrap {
  visibility: visible;
}

/* scroll snap css start:- */
/* @media only screen and (min-width: 1000px) and (max-width: 1920px) {
  #scroll-container,
  #scroll-container,
  #scroll-container {
    height: calc(100vh - var(--headerHeight)) !important;
  }

  .scroll_snap_on {
    scroll-snap-align: start;
    min-height: calc(100vh - var(--headerHeight)) !important;

    @media (max-width: 999.98px) {
      min-height: auto !important;
    }
  }

  .scroll_snap_on .scroll_snap_inner {
    width: 100%;
    overflow-y: auto;
    max-height: 100%;
  }

  body:has(.scroll_snap_on) .elementor-location-footer {
    min-height: auto;
    scroll-snap-align: end;
  }
} */

/* scroll snap css end:- */

.solutions_dropdown_area {
  .solutions_dropdown {
    .solutions_dropdown_inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
            flex-wrap: wrap;

      @media (max-width: 575.98px) {
        gap: 10px;
      }

      label {
        font-size: 21px;
        color: var(--darkgrey);
        font-weight: 700;

        @media (max-width: 575.98px) {
          font-size: 18px;
          width: 100%;
          text-align: center;
        }
      }

      .select2-container {
        /* flex-grow: 1; */ 
                min-width: 360px;
                max-width: 500px;

                @media (max-width: 767.98px) {
            min-width: 100%;
          }

        .select2-selection {
          height: auto;
          border: none !important;
        }

        .select2-selection__rendered {
          padding: 8px 15px;
          font-size: 16px;
          border: 1px solid transparent;
          border-radius: 8px;
          background-color: var(--white);
          color: var(--lightgrey);

          @media (max-width: 991.98px) {
            font-size: 14px;
          }
        }

        .select2-selection__arrow {
          top: 6px !important;

          b {
            background-image: unset;
            border: none;
            left: 0 !important;
            width: 10px;
            height: 10px;
            border: unset;
            border-bottom: 2px solid var(--darkgrey) !important;
            border-right: 2px solid var(--darkgrey);
            transform: rotate(45deg);
          }
        }

        &.select2-container--default {
          .select2-selection__rendered {
            color: var(--lightgrey2);
          }
        }

        &.select2-container--default {
          &.select2-container--below {
            .select2-selection__rendered {
              color: #003a5c;
            }
          }
        }

        .select2-results__option{
          font-size: 15px !important;
        }
      }

      .select2-dropdown {
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        border: none !important;
        border-radius: 7px;
        overflow: hidden;
      }
    }
  }
}

.thankyou_msg {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;

  h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;

    @media (max-width: 991.98px) {
      font-size: 22px;
    }

    @media (max-width: 767.98px) {
      font-size: 20px;
    }

    @media (max-width: 575.98px) {
      font-size: 18px;
    }
  }

  p {
    font-size: 16px;
    color: var(--lightgrey3);
    margin-bottom: 10px;
  }
}

.post_grid_section_mv {
  padding: 80px 0;

  @media (max-width: 991.98px) {
    padding: 60px 0;
  }

  @media (max-width: 575.98px) {
    padding: 40px 0;
  }

  .section_head {
    text-align: center;
    margin-bottom: 50px;

    @media (max-width: 991.98px) {
      margin-bottom: 30px;
    }

    @media (max-width: 575.98px) {
      margin-bottom: 20px;
    }

    h3 {
      font-size: 48px;
      font-weight: 700;
      color: var(--secondary);

      @media (max-width: 991.98px) {
        font-size: 36px;
      }

      @media (max-width: 767.98px) {
        font-size: 30px;
      }

      @media (max-width: 575.98px) {
        font-size: 24px;
      }
    }
  }

  .post_grid_area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 180px);
    gap: 30px;

    @media (max-width: 1199.98px) {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(4, 180px);
    }

    @media (max-width: 991.98px) {
      grid-template-columns: repeat(1, 1fr);
      grid-template-rows: repeat(5, 200px);
    }

    @media (max-width: 575.98px) {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .post_Wrap {
      position: relative;
      background-color: var(--white);
      box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
      display: flex;
      align-items: center;
      border-radius: 20px;
      overflow: hidden;

      .img_wrap {
        width: 170px;
        min-width: 170px;
        min-height: 250px;
        height: 100%;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: 0.5s;
        }
      }

      .content {
        padding: 20px;

        .post_meta {
          .meta_top {
            display: flex;
            justify-content: space-between;
            align-items: center;

            time {
              font-size: 14px;
              color: var(--darkgrey);
            }

            .reading_time {
              font-size: 14px;
              color: var(--darkgrey);
              display: flex;
              gap: 15px;
              white-space: nowrap;

              svg {
                width: 15px;

                path {
                  fill: var(--neublue);
                }
              }

              display: none;
            }
          }

          .category {
            font-size: 12px;
            font-weight: 700;
            color: var(--darkgrey);
          }
        }

        .post_title {
          font-size: 16px;
          font-weight: 700;
          color: var(--secondary);
          line-height: 1.3;
          margin-top: 10px;

          @media (max-width: 575.98px) {
            font-size: 15px;
          }
        }
      }

      &:nth-child(1) {
        align-items: unset;
        flex-direction: column;
        grid-row: 1 / 4;
        grid-column: 1 / 3;

        @media (max-width: 1199.98px) {
          grid-row: 1 / 3;
        }

        @media (max-width: 991.98px) {
          grid-column: unset;
        }

        .img_wrap {
          width: 100%;
          min-width: 170px;
        }

        .post_title {
          font-size: 24px;

          @media (max-width: 575.98px) {
            font-size: 18px;
          }
        }
      }
    }
  }
}

/* body.page-global-page,
body.page-sg,
body.center-sg,
body.blog-singapore,
body.newsroom-singapore {
  .main__justco {
    .search_box_wrap {
      &.desktop {
        display: block !important;

        @media only screen and (max-width: 1199.98px) {
          display: none !important;
        }
      }

      &.mobile {
        display: none !important;

        @media only screen and (max-width: 1199.98px) {
          display: block !important;
        }
      }
    }
  }
} */

.disable_search {
  .right .cta_btns {
    display: flex;
  }

  .cta_btns {
    @media (max-width: 991.98px) {
      display: flex;
    }
  }
}

.disable_search .search_box_wrap {
  display: none !important;
}

#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #21b5ff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(0, 164, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
  opacity: 0;
  display: none;

  @media (max-width: 991.98px) {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }

  img {
    width: 30px;
    filter: invert(1);
  }

  &:hover {
    transform: scale(1.05);
    background-color: #00a4ff;
  }
}
