.header {
  position: relative;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: auto;
}
.navbar {
  width: 100%;
  height: 4.25rem;
  margin-inline: auto;

  &-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: 100%;
  }

  &-block {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100vh - 4rem);
    opacity: 0;
    overflow: auto;
    pointer-events: none;
    transition: opacity 0.4s ease;

    &.is-active {
      opacity: 1;
      pointer-events: initial;
    }
  }
}

@media screen and (min-width: 62rem) {
  .navbar {
    display: flex;
    justify-content: space-between;

    &-block {
      position: initial;
      height: initial;
      opacity: 1;
      overflow: auto;
      pointer-events: visible;
      background: none;
      transition: none;
    }
  }
}

.menu {
  padding-block: 1rem;
  padding-inline: auto;

  &-link {
    font-weight: 500;
    line-height: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.5rem;
    padding-inline: 1.5rem;
    transition: color 0.3s ease;
  }
}


@media screen and (min-width: 62rem) {
  .menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    column-gap: 1rem;
    height: 100%;
    padding: unset;

    &-item {
      display: flex;
      cursor: pointer;
      padding-inline: 0.5rem;
    }

    &-link {
      padding: unset;
    }
  }
}

.dropdown {
  &-toggle {
    cursor: pointer;
    outline: none;
    user-select: none;

    i.bx {
      line-height: inherit;
      transition: rotate 0.4s ease;
    }
  }

  &-content {
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;
  }

  &-column,
  &-group,
  &-items {
    display: grid;
  }

  &-group {
    padding-bottom: 1rem;
    padding-inline: 1.5rem;
  }

  &-title {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    padding-inline: 1rem;
  }

  &-icon {
    i.bx {
      line-height: 1.5;
    }
  }

  &-items {
    row-gap: 0.5rem;
    padding-inline: 3.5rem;
    padding-top: 0.35rem;
  }

  &-link {
    font-weight: 400;
    line-height: inherit;
    transition: color 0.3s ease;
  }

  &-show > .dropdown-toggle i.bx {
    rotate: 180deg;
  }

  &-block {
    display: flex;
    align-items: flex-start;
    column-gap: 1rem;
    padding-top: 1rem;
    padding-inline: 1rem;
  }
}
.dropdown-content {box-shadow: 0 4px 6px rgb(0 0 0 / 27%);}
.single-dropdown{
  position: relative;
}
.single-dropdown.dropdown:hover > .dropdown-content { width:100%; min-width:200px}
/* Focus mode and hover mode css */
.menu-item.dropdown:hover .dropdown-content,
.menu-item.dropdown:focus .dropdown-content,
.menu-item.dropdown.focus .dropdown-content {
  display: block;
}

.dropdown:hover > .dropdown-content,
.dropdown:focus > .dropdown-content,
.dropdown.focus > .dropdown-content {
  cursor: initial;
  top: 4.25rem;
  opacity: 1;
  pointer-events: initial;
}

.dropdown:hover > .dropdown-toggle i.bx,
.dropdown:focus > .dropdown-toggle i.bx,
.dropdown.focus > .dropdown-toggle i.bx {
  rotate: 180deg;
}

@media screen and (min-width: 62rem) {
  .dropdown {
    &-toggle {
      column-gap: 0.35rem;
      pointer-events: none;
    }

    &-content {
      position: absolute;
      left: 0;
      right: 0;
      top: 6rem;
      opacity: 0;
      height: max-content;
      pointer-events: none;
      transition: top 0.4s, opacity 0.3s ease;
    }

    &-column {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      column-gap: 2rem;
      max-width: 75rem;
      margin-inline: auto;
    }

    &-group {
      align-content: baseline;
      row-gap: 1.25rem;
      padding-block: 2rem;

      &:first-child,
      &:last-child {
        margin: unset;
      }
    }

    &-items {
      padding-top: unset;
    }

    &-block {
      padding-top: unset;
      padding-inline: unset;
    }

    &:hover > .dropdown-content, &:focus > .dropdown-content {
      cursor: initial;
      top: 4.25rem;
      opacity: 1;
      pointer-events: initial;
    }

    &:hover > .dropdown-toggle i.bx {
      rotate: 180deg;
    }
  }
}
.burger {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
  width: 1.5rem;
  height: 1rem;
  border: none;
  outline: none;
  visibility: visible;

  &-line {
    position: absolute;
    display: block;
    right: 0;
    width: 100%;
    height: 2.15px;
    opacity: 1;
    rotate: 0deg;
    border-radius: 0.15rem;
    transition: all 0.3s ease;

    &:nth-child(1) {
      top: 0px;
    }
    &:nth-child(2) {
      top: 0.5rem;
      width: 70%;
    }
    &:nth-child(3) {
      top: 1rem;
    }
  }

  &.is-active > .burger-line {
    &:nth-child(1) {
      top: 0.5rem;
      rotate: 135deg;
    }
    &:nth-child(2) {
      opacity: 0;
    }
    &:nth-child(3) {
      top: 0.5rem;
      rotate: -135deg;
    }
  }
}

@media screen and (min-width: 62rem) {
  .burger {
    display: none;
    visibility: hidden;
  }
}

.navbar {
    width: 100%;
    height: 4.25rem;
    margin-inline: auto;
  }
  .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: 100%;
  }
  .navbar-block {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100vh - 4rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .navbar-block.is-active {
    opacity: 1;
    pointer-events: initial;
  }
  
  @media screen and (min-width: 62rem) {
    .navbar {
      display: flex;
      justify-content: space-between;
    }
    .navbar-block {
      position: initial;
      height: initial;
      opacity: 1;
      pointer-events: visible;
      background: none;
      transition: none;
    }
  }
  .menu {
    padding-block: 1rem;
    padding-inline: auto;
  }
  .menu-link {
    font-weight: 500;
    line-height: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.5rem;
    padding-inline: 1.5rem;
    transition: color 0.3s ease;
  }
  
  @media screen and (min-width: 62rem) {
    .menu {
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      -moz-column-gap: 1rem;
           column-gap: 1rem;
      height: 100%;
      padding: unset;
    }
    .menu-item {
      display: flex;
      cursor: pointer;
      padding-inline: 0.5rem;
    }
    .menu-link {
      padding: unset;
    }
  }
  .dropdown-toggle {
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .dropdown-toggle i.bx {
    line-height: inherit;
    transition: rotate 0.4s ease;
  }
  .dropdown-content {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    background-color: #ffff;
    color: #000000;
  }
  .dropdown-column, .dropdown-group, .dropdown-items {
    display: grid;
  }
  .dropdown-group {
    padding-bottom: 1rem;
    padding-inline: 1.5rem;
  }
  .dropdown-title {
    display: flex;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
    align-items: center;
  }
  .dropdown-icon i.bx {
    line-height: 1.5;
  }
  .dropdown-items {
    row-gap: 0.5rem;
    padding-top: 0.35rem;
  }
  .dropdown-link {
    font-weight: 400;
    line-height: inherit;
    transition: color 0.3s ease;
  }
  .dropdown-show > .dropdown-toggle i.bx {
    rotate: 180deg;
  }
  .dropdown-block {
    display: flex;
    align-items: flex-start;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
    padding-top: 1rem;
    padding-inline: 1rem;
  }
  
  @media screen and (min-width: 62rem) {
    .dropdown-toggle {
      -moz-column-gap: 0.35rem;
           column-gap: 0.35rem;
      pointer-events: none;
    }
    .dropdown-content {
      position: absolute;
      left: 0;
      right: 0;
      top: 6rem;
      opacity: 0;
      height: -webkit-max-content;
      height: -moz-max-content;
      height: max-content;
      pointer-events: none;
      transition: top 0.4s, opacity 0.3s ease;
    }
    .dropdown-column {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      -moz-column-gap: 2rem;
           column-gap: 2rem;
           max-width: 1300px;
           width: 100%;
      margin-inline: auto;
    }
    .dropdown-group {
      align-content: baseline;
      row-gap: 1.25rem;
      padding-block: 2rem;
    }
    .dropdown-group:first-child, .dropdown-group:last-child {
      margin: unset;
    }
    .dropdown-items {
      padding-top: unset;
    }
    .dropdown-block {
      padding-top: unset;
      padding-inline: unset;
    }
    .dropdown:hover > .dropdown-content {
      cursor: initial;
      top: 4.25rem;
      opacity: 1;
      pointer-events: initial;
    }
    .dropdown:hover > .dropdown-toggle i.bx {
      rotate: 180deg;
    }
  }
  .burger {
    position: relative;
    display: block;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    width: 1.5rem;
    height: 1rem;
    border: none;
    outline: none;
    visibility: visible;
  }
  .burger-line {
    position: absolute;
    display: block;
    right: 0;
    width: 100%;
    height: 2.15px;
    opacity: 1;
    rotate: 0deg;
    border-radius: 0.15rem;
    transition: all 0.3s ease;
  }
  .burger-line:nth-child(1) {
    top: 0px;
  }
  .burger-line:nth-child(2) {
    top: 0.5rem;
    width: 70%;
  }
  .burger-line:nth-child(3) {
    top: 1rem;
  }
  .burger.is-active > .burger-line:nth-child(1) {
    top: 0.5rem;
    rotate: 135deg;
  }
  .burger.is-active > .burger-line:nth-child(2) {
    opacity: 0;
  }
  .burger.is-active > .burger-line:nth-child(3) {
    top: 0.5rem;
    rotate: -135deg;
  }
  
  @media screen and (min-width: 62rem) {
    .burger {
      display: none;
      visibility: hidden;
    }
  }

  @media screen and (min-width: 62rem) {
    .dropdown-toggle i.dashicons {
        transition: rotate 0.4s ease;
    }
    .dropdown:hover > .dropdown-toggle i.dashicons {
        rotate: 180deg;
    }
}