
header{
  width: 100%;
  padding: 16px;
  margin: auto;
  max-width: 1280px;
  border-radius: 100px;
  box-shadow: $box-shadow-04;
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: $transition-01;
  @media screen and (max-width: 991px) {
    padding: 12px;
    border-radius: 0;
    top: 0;
  }
  &.no-fixed{
    position: relative;
    top: 0;
    left: 0;
    transform: unset;
  }
  &.is-sticky{
    top: 0;
    & ~ .mega-menu {
      top: 88px;
    }
  }
  &.is-search{
    .menu-wrapper{
      .search-wrapper{
        visibility: visible;
      }
      .back-wrapper{
        display: none;
      }
    }
  }
  &.is-back{
    .menu-wrapper{
      .search-wrapper{
        display: none;
      }
      .back-wrapper{
        display: block;
      }
      .hamburger-btn{
        display: none;
      }
    }
    ul.user-list{
      li{
        &:first-of-type{
          @media screen and (max-width: 991px) {
            margin: 0;
          }
        }
        &:last-of-type{
          @media screen and (max-width: 991px) {
            display: none;
          }
        }
      }
    }
  }
  .container-fluid{
    padding: 0;
  }
  .menu-wrapper{
    display: flex;
    align-items: center;
    gap: 48px;
    @media screen and (max-width: 1199px) and (min-width: 992px) {
      gap: 30px;
    }
    @media screen and (max-width: 991px) {
      column-gap: 16px;
    }
    .search-wrapper{
      visibility: hidden;
    }
    .back-wrapper{
      display: none;
    }
    .hamburger-btn{
      display: none;
      @media screen and (max-width: 991px) {
        display: block;
      }
      img{
        max-width: 24px;
      }
    }
    ul.navbar-menu{
      @media screen and (max-width: 991px) {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: auto;
        box-shadow: $box-shadow-05;
        background: $white;
        border-radius: 0 0 32px 32px;
        display: none;
        &.menu-open{
          overflow: auto;
          height: calc(100vh - 85px);
        }
      }
      >li{
        vertical-align: middle;
        @media screen and (max-width: 991px) {
          display: block;
        }
        &:first-of-type{
          @media screen and (max-width: 991px) {
            border-top: 1px solid $warm-gray-13;
          }
        }
        &:not(:last-of-type){
          @media screen and (max-width: 991px) {
            border-bottom: 1px solid $warm-gray-13;
          }
        }
        &.has-dropdown{
          a{
            &:after{
              display: block;
            }
          }
        }
        &:hover{
          a{
            &:before{
              opacity: 1;
              @media screen and (max-width: 991px) {
                display: none;
              }
            }
          }
        }
        &.active{
          @media screen and (max-width: 991px) {
            position: relative;
          }
          a{
            &:before{
              opacity: 1;
              @media screen and (max-width: 991px) {
                display: none;
              }
            }
            &:after{
              transform: rotate(-180deg);
            }
          }
        }
        >a{
          font-size: 18px;
          line-height: 24px;
          font-weight: 500;
          color: $cool-gray-12;
          position: relative;
          padding: 0 16px;
          display: flex;
          align-items: center;
          gap: 13px;
          @media screen and (max-width: 1199px) and (min-width: 992px) {
            padding: 0 12px;
          }
          @media screen and (max-width: 991px) {
            justify-content: space-between;
            padding: 24px 33px 24px 28px;
          }
          &:before{
            content: "";
            background: $primary-01;
            height: 3px;
            width: 100%;
            position: absolute;
            left: 0;
            bottom: -27px;
            opacity: 0;
            transition: $transition-01;
            z-index: 1;
          }
          &:after{
            content: "";
            background: url("../../assets/icons/arrows/down-stroke-angle-arrow-black-icon.svg") no-repeat center;
            background-size: cover;
            width: 10px;
            height: 6px;
            position: relative;
            display: none;
            transition: $transition-01;
          }
        }
      }
    }
  }

  ul.user-list{
    text-align: right;
    li{
      vertical-align: middle;
      &:not(:last-of-type){
        margin: 0 24px 0 0;
        @media screen and (max-width: 1199px) {
          margin: 0 20px 0 0;
        }
      }
      a.logo{
        display: inline-block;
        img{
          max-width: 156px;
          @media screen and (max-width: 1199px) and (min-width: 992px) {
            max-width: 140px;
          }
        }
      }
      a.user-img{
        display: inline-block;
        img{
          width: 48px;
          height: 48px;
          object-fit: cover;
          border-radius: 50%;
          object-position: top;
        }
      }
    }
  }
}

.mega-menu{
  width: 100%;
  margin: auto;
  max-width: 1280px;
  border-radius: 32px;
  padding: 64px 32px 32px;
  box-shadow: $box-shadow-05;
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  @media screen and (max-width: 991px) {
    position: relative;
    top: 0;
    left: 0;
    transform: unset;
    padding: 32px 0;
    border-radius: 0;
    box-shadow: inset 0 7px 8px -2px rgba(10, 13, 18, 0.1), 0px 4px 8px -2px rgba(10, 13, 18, 0.1);
  }
  .container-fluid{
    padding: 0;
  }
  .mega-menu-1{
    .mega-menu-wrapper{
      .insights-grid{
        display: grid;
        grid-template-columns: 1fr 436px;
        column-gap: 48px;
        @media screen and (max-width: 991px) {
          grid-template-columns: 1fr;
        }
        .finance-wrapper{
          .career-content{
            h2.title{
              margin-bottom: 48px;
              @media screen and (max-width: 991px) {
                padding: 0 24px;
                margin-bottom: 20px;
              }
            }

            .jobs-grid{
              display: grid;
              grid-template-columns: repeat(2, calc(50% - 8px));
              column-gap: 16px;
              @media screen and (max-width: $screen-xs) {
                grid-template-columns: 1fr;
              }
              .feature-list-box-01{
                padding: 30px 24px 21px;
                &:not(:last-of-type){
                  border-right: 1px solid $warm-gray-13;
                  @media screen and (max-width: $screen-xs) {
                    border-right: unset;
                    border-bottom: 1px solid $warm-gray-13;
                  }
                }
                &:first-of-type{
                  @media screen and (max-width: 991px) {
                    padding: 24px 24px 36px;
                  }
                }
                &:last-of-type{
                  @media screen and (max-width: 991px) {
                    padding: 28px 24px 28px;
                  }
                }
              }
            }

            .talent-pool-wrapper{
              margin: 32px 0 0;
              @media screen and (max-width: 991px) {
                margin: 32px 0 0;
                padding: 0 12px;
              }
            }
          }
        }
        .insights-wrapper-main{
          @media screen and (max-width: 991px) {
            padding: 0 12px;
            margin-top: 32px;
          }
          .insights-wrapper{
            @media screen and (max-width: 991px) {
              padding: 24px 16px;
              border-radius: 16px;
              background: $warm-gray-02;
            }
            .insights-header{
              margin-bottom: 56px;
              @media screen and (max-width: 991px) {
                margin-bottom: 46px;
              }
              >p{
                margin: 24px 0 0;
                @media screen and (max-width: 991px) {
                  @include font-size(17);
                  margin: 16px 0 0;
                }
              }
            }
            ul.insights-list{
              li{
                display: block;
                &:not(:last-of-type){
                  margin-bottom: 24px;
                  @media screen and (max-width: 991px) {
                    margin-bottom: 20px;
                  }
                }
                .insights-card{
                  max-width: 372px;
                }
              }
            }
          }
        }
      }
    }
  }
  .mega-menu-2{
    .mega-menu-wrapper{
      .finance-wrapper{
        .career-content{
          h2.title{
            margin-bottom: 48px;
            @media screen and (max-width: 991px) {
              padding: 0 24px;
              margin-bottom: 20px;
            }
          }
          .jobs-grid{
            display: grid;
            grid-template-columns: repeat(3, calc(33% - 12px));
            column-gap: 24px;
            @media screen and (max-width: 991px) and (min-width: 768px) {
              grid-template-columns: repeat(2, calc(50% - 12px));
            }
            @media screen and (max-width: $screen-xs) {
              //grid-template-columns: 1fr;
              display: block;
            }
            .feature-list-box-01{
              padding: 30px 24px 21px;
              &:first-of-type{
                border-right: 1px solid $warm-gray-13;
                @media screen and (max-width: $screen-xs) {
                  border-right: unset;
                  border-bottom: 1px solid $warm-gray-13;
                  padding: 24px 24px 36px;
                }
              }
              &:last-of-type{
                @media screen and (max-width: 991px) {
                  padding: 28px 24px 28px;
                }
              }
            }
          }

          .talent-pool-wrapper{
            @media screen and (max-width: 991px) and (min-width: 768px) {

            }
            @media screen and (max-width: 991px) {
              grid-column: span 2;
              margin: 32px 0 0;
              padding: 0 12px;
            }
          }
        }
      }
      .insights-wrapper-main{
        @media screen and (max-width: 991px) {
          padding: 0 12px;
          margin-top: 32px;
        }
        .insights-wrapper{
          display: grid;
          grid-template-columns: repeat(3, calc(33% - 12px));
          align-items: center;
          column-gap: 24px;
          padding-top: 32px;
          margin-top: 32px;
          border-top: 1px solid $warm-gray-13;
          @media screen and (max-width: 991px) {
            margin-top: 0;
            grid-template-columns: 1fr;
            padding: 24px 16px;
            border-radius: 16px;
            background: $warm-gray-02;
          }
          .insights-header{
            padding-left: 24px;
            @media screen and (max-width: 991px) {
              padding-left: 0;
              margin-bottom: 46px;
            }
            >p{
              margin: 24px 0 0;
              @media screen and (max-width: 991px) {
                @include font-size(17);
                margin: 16px 0 0;
              }
            }
          }
          .insights-card{
            &:not(:last-of-type){
              @media screen and (max-width: 991px) {
                margin-bottom: 20px;
              }
            }
          }
        }
      }
    }
  }
}


.request-header{
  width: 100%;
  padding: 28px 88px 28px 72px;
  margin: auto;
  max-width: 1280px;
  border-radius: 100px;
  box-shadow: $box-shadow-04;
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: $transition-01;
  @media screen and (max-width: 991px) {
    padding: 16px 0;
    border-radius: 0;
    top: 0;
  }
  .page-name{
    h4{
      margin-bottom: 0;
    }
  }
  .logo-wrapper{
    text-align: right;
    a.logo{
      display: inline-block;
      img{
        max-width: 156px;
        @media screen and (max-width: 1199px) and (min-width: 992px) {
          max-width: 140px;
        }
      }
    }
  }
}
