.nav-link {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* .nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 90%;
  height: 0;
  background-color: black;
  transition: height 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%);
} */

/* .nav-link:hover:not(.show) {
  transform: translateY(-3px);
} */
.nav-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: var(--color-shadded-black) !important;
  transition: width 0.3s ease-in-out;
}
.nav-head:hover::after {
  width: 100%;
}
.nav-head::before,
.nav-head-active::before {
  display: none;
}
.nav-head-active:hover {
  color: var(--color-dark-perple);
}

.nav-link:hover:not(.show)::before {
  height: 2px;
}

.bg-gray {
  background-color: #f4f5f7;
}

:focus-visible {
  box-shadow: none;
  outline: none;
}
.nav-link:focus-visible {
  box-shadow: none;
}
nav p,
nav a,
nav button {
  font-size: 14px !important;
}

.nav-link:hover,
.nav-link:focus {
  text-decoration: none !important;
}

.dropdown-toggle.show::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 5px;
  width: 90%;
  height: 5px;
  background-color: #fcaf1b;
}
.dropdown-menu {
  width: max-content;
}
.dropdown-menu[data-bs-popper] {
  top: 112%;
}

#download-dropdown + .dropdown-menu[data-bs-popper] {
  left: -200%;
  top: 112%;
}

.nav-slider-img {
  width: 100px;
}

@media (min-width: 1000px) and (max-width: 1200px) {
}
@media (min-width: 1200px) and (max-width: 1300px) {
}
@media (min-width: 1200px) {
}

@media (min-width: 1400px) {
}

/* mobile navbar css start */

@media (max-width: 1000px) {
  .offcanvas-menu {
    position: fixed;
    top: 55px;
    left: -100vw;
    width: 0vw;
    height: calc(100% - 55px);
    background-color: #f8f9fa !important;
    z-index: -1050;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    /* display: none; */
  }

  .offcanvas-menu.active {
    left: 0vw;
    width: 100vw;
  }

  .menu-panel {
    position: absolute;
    top: 0px;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    transition: transform 0.3s ease-in-out;
  }

  .menu-panel.active {
    left: 0;
    transform: translateX(0);
  }

  .menu-panel.exit-right {
    transform: translateX(100%);
  }

  .menu-panel.exit-left {
    transform: translateX(-100%);
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }

  .menu-overlay.active {
    display: block;
  }

  #mainMenu {
    height: calc(100vh - 10px);
  }
  .progress {
    top: 55px !important;
  }
  .modal.show .modal-dialog {
    margin-top: 58px;
  }
  .modal {
    z-index: 99999;
  }
}
.positon-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}
/* Hide scrollbar for all browsers */
.hide-scrollbar {
  overflow: auto;
  /* Enables scrolling */
  scrollbar-width: none;
  /* Hides scrollbar for Firefox */
  -ms-overflow-style: none;
  /* Hides scrollbar for Internet Explorer */
}

/* Hides scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.dropdown-max-height {
  max-height: calc(100vh - 115px) !important;
}
.shadow-top {
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

nav .list-unstyled li:hover {
  background-color: #fffbe5;
}

nav .aboutUsSection li:hover{
  background-color: inherit!important;
}

.mobile-nav-logo img {
  width: 45px;
  height: auto;
}

.tally-logo img {
  width: 150px;
  margin: 10px 0 30px -20px;
}

.tally-edge-logo img {
  width: 138px;
}
.tally-capital-logo img {
  width: 162px;
}
.tally-prime-logo img {
  width: 150px;
}

.tally-edu-logo img {
  width: 200px;
}
.fixed-nav {
  position: fixed !important;
  top: 0;
  z-index: 99;
}
/* .menu-panel-icon img{
    width: 20px;
  }
  #menu-items img{
    width: 25px;
  } */
