.top-header {
  background-image: linear-gradient(81deg, #de0a7c 0%, #de0a7c 75%, #ff53af 100%);
}

.top-header .top-bg-white {
  background-color: #fff !important;
  background: linear-gradient(45deg, transparent 85%, #de0a7c 85%);
  background-color: rgba(0, 0, 0, 0);
  /* clip-path: polygon(0 0, 28% 0, 100% 100%, 0% 100%); */
  padding: 20px 0;
  position: relative;
  left: -15px;
}

.top-bg-right {
  float: right;
  margin-right: 5%;
}

.top-bg-right ul {
  margin: 0;
}

.top-bg-right ul li {
  padding: 7px;
  color: #fff;
}

.top-bg-right ul li i {
  margin-right: 5px;
}

.top-bg-right ul li a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  font-family: "Lato", sans-serif;
}

.blinkss {
  animation: blinks 3s linear infinite;
}

@keyframes blinks {
  0% {
    background-color: #38358C;
  }

  25% {
    background-color: yellowgreen;
  }

  75% {
    background-color: green;
  }

  100% {
    background-color: #D91E2E;
  }
}

.top-bg-right ul li {
  display: inline-table;
}

.header h1,
.header h2,
.header h3,
.header h4,
.header h5,
.header h6,
.header p,
.header li,
.header a {
  font-family: 'Saira', sans-serif;
}

.header {
  display: block;
  width: 100%;
  position: relative;
  z-index: 99;
  padding: 0;
  transition: padding .3s ease;
  padding: 5px 0;
}

.header .menu {
  padding-bottom: 8px;
}

header.Sticky {
  background-color: #f3f3f3 !important;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 9999;
  box-shadow: .2rem 0 .8rem #333;
  padding: 5px;
}

header.Sticky ul li a {
  color: black;
}

header.Sticky .active a {
  color: black !important;
}

header.Sticky ul li a i {
  color: black !important;
}

.header .item-left {
  flex: 0 0 30%;
}

.header .logo a img {
  height: 75px;
  width: 75px;
  margin-right: 8px;
  float: left;
}

.header .logo a h2 {
  font-weight: 400;
  font-size: 30px;
  margin-top: 8px;
  margin-bottom: 0px;
  color: var(--primary-color);
}

.header .logo a h4 {
  font-weight: 400;
  font-size: 18px;
  margin-top: 0px;
  margin-bottom: 0px;
  color: var(--secondary-color);
}

.header .item-center {
  flex: 0 0 70%;
  display: grid;
  place-items: end;
}

.menu-main-heading {
  width: 100%;
}

.menu-main-heading h2 {
  font-weight: 550;
  font-size: 25px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.menu-contact-button {
  background: var(--secondary-color);
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 15px;
}

.menu-sub-heading h4 {
  font-weight: 500;
  font-size: 18px;
  color: var(--secondary-color);
}

.header .sub-menu h5 {
  font-weight: 450;
  font-size: 16px;
}

.menu-img {
  margin-top: 40px;
}

/* 
  .header .item-right {
    flex: 0 0 17%;
     display: flex; 
     justify-content: flex-end;
  } */

.header .item-right a {
  text-decoration: none;
  font-size: 16px;
  color: #555555;
  display: inline-block;
  margin-left: 10px;
  transition: color 0.3s ease;
}

.header .menu>ul>li {
  display: inline-block;
  margin-left: 25px;
}

.header .menu>ul>li>a {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  position: relative;
  text-transform: capitalize;
  transition: color 0.3s ease;
  position: relative;
}

.header .menu>ul>li>a::after {
  position: absolute;
  content: "";
  width: 4px;
  height: 0;
  /* background-color: var(--hover-color); */
  background-color: var(--primary-color);
  top: 100%;
  margin: 0 auto;
  transition: height 1s ease-in-out;
  left: 0;
  right: 0;
}


.header .menu>ul>li>a::before {
  position: absolute;
  content: "";
  width: 8px;
  height: 0;
  border-radius: 50%;
  /* background-color: var(--hover-color); */
  background-color: var(--primary-color);
  top: 100%;
  margin: 0 auto;
  transition: height 1s ease-in-out;
  left: 0;
  right: 0;
}

.header .menu>ul>li>a:hover::after {
  height: 16px;
}

.header .menu>ul>li>a:hover::before {
  height: 8px;
}

.header .menu>ul>li>a:hover {
  width: 90%;
}

.header .menu>ul>li .sub-menu {
  position: absolute;
  z-index: 500;
  background-color: #ffffff;
  box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
  padding: 20px 30px;
  transition: all 0.5s ease;
  margin-top: 25px;
  opacity: 0;
  visibility: hidden;
}

.header .menu .mobile-menu-head {
  display: none;
}

.header .sub-menu li {
  padding: 5px 0;
}



/* =================mobile menu================== */

@media(min-width: 992px) {
  .header .menu>ul>li.menu-item-has-children:hover .sub-menu {
    margin-top: 18px;
    visibility: visible;
    opacity: 1;
    border-top: 2px solid var(--primary-color);
  }
}

.header .menu>ul>li .sub-menu>ul>li {
  line-height: 1;
}

.header .menu>ul>li .sub-menu>ul>li>a {
  display: inline-block;
  padding: 10px 0;
  font-size: 15px;
  color: #333;
  transition: color 0.3s ease;
  text-decoration: none;
  text-transform: capitalize;
}

.header .menu>ul>li .single-column-menu {
  min-width: 280px;
  max-width: 350px;
}

.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li {
  line-height: 1;
  display: block;
}

.header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
  padding: 10px 0;
  display: inline-block;
  font-size: 15px;
  color: #333;
  transition: color 0.3s ease;
}

.header .menu>ul>li .sub-menu.mega-menu {
  left: 50%;
  transform: translateX(-50%);
}

.header .menu>ul>li .sub-menu.mega-menu-column-2 {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 15px;
}

.header .menu>ul>li .sub-menu.mega-menu-column-4 {
  max-width: 875px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 15px;
}

.header .menu>ul>li .sub-menu.mega-menu-column-4>.col-md-4 {
  padding: 0 15px;
}

.header .menu>ul>li .sub-menu.mega-menu>ul>li>a:hover,
.header .menu>ul>li .sub-menu>ul>li>a:hover,
.header .item-right a:hover,
.header .menu>ul>li:hover>a {
  /* color: var(--hover-color); */
  color: var(--primary-color);
  /* padding-left: 5px; */
}

.header .sub-menu.mega-menu ul li a {
  color: #333;
  transition: padding .3s ease-in-out;
}

.header .sub-menu.mega-menu ul li a:hover {
  /* color: var(--hover-color); */
  color: var(--primary-color);
  padding-left: 5px;
}

@media(max-width: 991px) {
  .header .item-center {
    order: 3;
    flex: 0 0 100%;
  }

  .header .item-left,
  .header .item-right {
    flex: 0 0 60%;
  }

  .v-center {
    justify-content: space-between;
  }

  .header .item-right {
    flex: 0 0 35%;
    display: flex;
    justify-content: flex-end;
  }

  .header .mobile-menu-trigger {
    display: flex;
    height: 40px;
    width: 40px;
    margin-left: 15px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .header .mobile-menu-trigger span {
    display: block;
    height: 2px;
    background-color: #333333;
    width: 35px;
    position: relative;
  }

  .header .mobile-menu-trigger span:before,
  .header .mobile-menu-trigger span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
  }

  .header .mobile-menu-trigger span:before {
    top: -6px;
  }

  .header .mobile-menu-trigger span:after {
    top: 6px;
  }

  .header .item-right {
    align-items: center;
  }

  .header .menu {
    position: fixed;
    width: 320px;
    background-color: #ffffff;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
    transform: translate(-100%);
    transition: all 0.5s ease;
    z-index: 1099;
  }

  .header .menu.active {
    transform: translate(0%);
  }

  .header .menu>ul>li {
    line-height: 1;
    margin: 0;
    display: block;
  }

  .header .menu>ul>li>a {
    line-height: 50px;
    height: 50px;
    padding: 0 50px 0 15px;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .header .menu>ul>li>a i {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 50px;
    transform: rotate(-90deg);
  }

  .header .menu .mobile-menu-head {
    display: flex;
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 501;
    position: sticky;
    background-color: #ffffff;
    top: 0;
  }

  .header .menu .mobile-menu-head .go-back {
    height: 50px;
    width: 50px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 16px;
    display: none;
  }

  .header .menu .mobile-menu-head.active .go-back {
    display: block;
  }

  .header .menu .mobile-menu-head .current-menu-title {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
  }

  .header .menu .mobile-menu-head .mobile-menu-close {
    height: 50px;
    width: 50px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 25px;
  }

  .header .menu .menu-main {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .header .menu>ul>li .sub-menu.mega-menu,
  .header .menu>ul>li .sub-menu {
    visibility: visible;
    opacity: 1;
    position: absolute;
    box-shadow: none;
    margin: 0;
    padding: 15px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 65px;
    max-width: none;
    min-width: auto;
    display: none;
    transform: translateX(0%);
    overflow-y: auto;
  }

  .header .menu>ul>li .sub-menu.active {
    display: block;
  }

  @keyframes slideLeft {
    0% {
      opacity: 0;
      transform: translateX(100%);
    }

    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }

  @keyframes slideRight {
    0% {
      opacity: 1;
      transform: translateX(0%);
    }

    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }

  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img {
    margin-top: 0;
  }

  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
    margin-bottom: 20px;
  }

  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center:last-child .title {
    margin-bottom: 0px;
  }

  .header .menu>ul>li .sub-menu.mega-menu-column-4>.list-item {
    flex: 0 0 100%;
    padding: 0px;
  }

  .header .menu>ul>li .sub-menu>ul>li>a,
  .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
    display: block;
  }

  .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul {
    margin-bottom: 15px;
  }

  .menu-overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1098;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }
}
