.as_header_wrapper {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  z-index: 9;
}

.sticky-top{
  animation: fadeInDown 0.6s ease-in-out !important;
}

.as_header_wrapper .navbar {
  background-color: transparent;
}

.as_info_detail {
  background-color: #010027;
  border-bottom: 1px solid rgb(255 255 255 / 70%);
  padding: 6px 0;

}

.as_info_detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.as_info_detail ul li {
  display: inline-flex;
  padding: 0 15px;

}

.as_info_detail ul li a,
.as_info_detail ul li a:focus {
  text-decoration: none;
  color: inherit;
  font-weight: 400;
  font-size: 14px;
}

.as_infobox {
  display: flex;
  color: #fff;
}

.as_info_detail ul li .as_infobox>span {
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.as_info_detail .right-content {
  text-align: end;
}

.as_info_detail .right-content a {
  padding: 4px 12px;
  background-color: #ac000b;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: capitalize;
  border-radius: 20px;
  display: inline-block;
  transition: all 0.4s;
}

.as_info_detail .right-content a:hover {
  color: #ac000b;
  background-color: #fff;
}

.as_logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.as_right_info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}



.as_toggle {
  display: none;
}

.as_toggle svg {

  color: #fff;
  background-color: #000;
  width: 30px;
  height: 30px;
  padding: 10px;
  border-radius: 4px;
}

.as_logo a img {
  width: 280px;
}

img {
  max-width: 100%;
  height: auto;
}

.as_menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#navbar-top {
  transition: all 0.5s;
}

.as_menu>ul>li {
  display: inline-flex;
  text-transform: capitalize;
  margin: 0 10px;
  color: #ffffff;
  position: relative;
  text-transform: capitalize;
}

.as_menu ul li a:hover,
.as_menu ul li a.active {
  color: #ba2029 !important;
}

.as_menu>ul>li>a {
  padding: 30px 0;
  position: relative;
  transition: all 0.3s linear;
  color: #000;
  font-weight: 600;
  font-size: 16px !important;
}


.as_menu>ul>li>a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: #ba2029;
  top: -5px;
  left: 50%;
  transition: all 0.4s;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
}

.as_menu>ul>li>a:hover:before,
.as_menu>ul>li>a.active:before {
  width: 29px;
}



.as_menu>ul>li>.as_submenu {
  transform: translateY(-10px);
}

.as_menu>ul>li .as_submenu {
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #010027;
  padding: 10px 0;
  border-radius: 10px;
  width: 300px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.as_menu>ul>li:hover>.as_submenu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.as_menu>ul>li .as_submenu li{
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);

}
.as_menu>ul>li .as_submenu li a {
  padding: 7px 20px;
  display: block;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s;
}
.as_menu>ul>li .as_submenu li:last-child{
  border-bottom: none;
}
.as_menu>ul>li .as_submenu li a:hover{
  color: #fff!important;
  transform: translateX(10px);
}
.as_menu>ul>li .as_submenu>li>.as_submenu {
  right: 100%;
  top: 8px;
  left: auto;
  transform: translateX(-20px);
}

.as_menu>ul>li .as_submenu>li:hover>.as_submenu {
  transform: translateX(-10px);
  opacity: 1;
  visibility: visible;
}

.as_menu>ul>li .as_submenu>li {
  position: relative;
}



.as_menu>ul>li>.as_submenu>li>.as_submenu:before {
  bottom: auto;
  top: 10px;
  left: 100%;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  border-left: 7px solid #17384e;
}


header .offcanvas {
  padding: 0 !important;
  border-right: 1px solid #fff;
}

.offcanvas-header .canvas-logo {
  width: 220px;

}

.offcanvas.show svg {
  visibility: visible;
  opacity: 1;
  right: 0;

}

.offcanvas-header button svg {

  width: 36px;
  height: 36px;
  padding: 10px;
  color: #000000;
  position: absolute;
  transition: all 0.8s;
  right: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-50%);


}

header .offcanvas .offcanvas-body {
  background-color: #000;
  height: 100%;
}

header .offcanvas .nav-item {
  margin: 6px 15px;
}

header .offcanvas .offcanvas-body .nav-link {
  color: #fff;
  font-size: 18px;
  position: relative;
  display: block;
  width: 350px;
}

header .offcanvas .dropdown-menu {
  padding: 10px 20px;
  background-color: transparent;
  border-radius: 0;
}

header .offcanvas .dropdown-menu .dropdown-item {
  color: #fff;
  font-weight: 400 !important;
  font-size: 16px;
}

header .offcanvas .dropdown .dropdown-toggle::after {
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: 0.5em solid;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;

}





header .offcanvas .dropdown-menu {
  transition: all 0.4s;
  opacity: 0;
  display: block;
  visibility: hidden;
  height: 0;
  padding: 0;
}

header .offcanvas .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  height: auto;
}

header .offcanvas .dropdown-menu .dropdown-item {
  font-weight: 600;
  transition: all 0.4s;

}

header .offcanvas .dropdown-menu .dropdown-item::before {
  content: "\f061";
  /* Unicode character for the desired icon */
  font-family: "Font Awesome 5 Free";
  /* Correct font-family name */
  font-weight: 900;
  /* Adjust font-weight if needed */
  font-style: normal;
  /* Adjust font-style if needed */
  margin-right: 10px;
}

header .offcanvas .dropdown-menu .dropdown-item:hover {
  background-color: transparent;
  color: #ba2029;
}

/* header css end */




/* --------------------responsive css header -------------------------- */


@media (max-width:1400px) {
  .as_menu>ul>li {
    margin: 0 10px;
  }
}

@media (min-width: 992px) and (max-width:1200px) {

  .as_menu>ul>li {
    margin: 0 5px;
  }
.as_logo a img {
  width: 220px;
}

}

@media (min-width: 768px) and (max-width:992px) {


  .as_menu>ul>li {
    margin: 0 6px;
  }

  .as_menu>ul>li>a {
    font-size: 14px;
  }
}

@media (max-width:992px) {
  .as_toggle {
    display: inline-block;
  }

  .as_logo {
    width: 100%;

  }
  .as_header_wrapper .left-content {
    text-align: center;
    margin-bottom: 10px;
  }

  .as_header_wrapper .right-content {
    text-align: center;
  }
}

@media (max-width:768px) {
  .as_menu {
    display: none;
  }



  .as_logo {
    justify-content: space-between;
    align-items: center;
    gap: 20px;

  }

  .as_logo img {
    width: 300px;
  }
}

@media (max-width:460px) {
  .as_header_wrapper .left-content {
    text-align: center;
    margin-bottom: 10px;
    display: none;
  }

  .as_header_wrapper .right-content {
    text-align: center;
  }

  .as_logo a img {
    width: 190px;
    margin: 0px 0;
  }


  .as_toggle svg {
    width: 20px;
    height: 20px;
    border: none;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    border-radius: 50%;
  }

}

@media (max-width:400px) {
  header .offcanvas {
    width: 95%;
  }

  header .offcanvas .offcanvas-body .nav-link {
    color: #fff;
    font-size: 18px;
    position: relative;
    display: block;
    width: 100%;
  }

}