.custom-navbar {
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  padding: 0;
  border-bottom: 1px solid #f3f3f3;
  height: 100px;
}
.custom-navbar-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  gap: 2%;
  padding: 0;
}
.navbar-brand {
  max-width: 225px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-navbar-nav {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  max-width: 65%;
  margin: auto;
  position: relative;
}
.custom-navbar-nav .nav-item {
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.custom-navbar-nav .nav-item.active {
  border-bottom: 2px solid #4dc0ca;
}

.custom-navbar-nav .nav-item.active a.p-active {
  color: #4dc0ca;
}

.custom-navbar-nav .nav-item .nav-link {
  font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
  color: #000000de;
  display: flex;
  align-items: center;
  padding: 35px 0;
  transition: unset;
}
.custom-navbar-nav .nav-item:hover {
  border-bottom: 2px solid #4dc0ca;
}
.custom-navbar-nav .nav-item:nth-child(3):hover,
.custom-navbar-nav .nav-item:nth-child(4):hover {
  border-bottom: 2px solid transparent;
}
.custom-navbar-nav .nav-item:hover .nav-link {
  color: #4dc0ca;
}
.custom-navbar-nav .nav-item .nav-link.active {
  font-weight: 600;
  color: #4dc0ca;
}
.custom-navbar-nav .nav-item.dropdown-nav-item {
  position: relative;
}
.custom-navbar-nav .nav-link .dropdown-icon {
  margin: 5px 0 0 10px;
  font-size: 14px;
  transition: transform 0.3s ease;
  color: #5b5766;
}
.submenu {
  position: absolute;
  top: 99px;
  left: 0;
  background-color: #4dc0ca;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  z-index: 1000;
  display: none;
  list-style: none;
  padding: 15px 0;
  overflow: hidden;
  opacity: 0.9;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.submenu li .drop-nav-link {
  display: block;
  padding: 10px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}
.submenu li .drop-nav-link .fa-angle-right {
  margin-right: 10px;
  opacity: 0;
  font-size: 15px;
}
.submenu li .drop-nav-link.active .fa-angle-right,
.submenu li .drop-nav-link:hover .fa-angle-right {
  opacity: 1;
}
.toggler-container {
  display: none;
}
.navbar-toggler-icon {
  position: relative;
  width: 12px;
  height: 3px;
  background-color: #5b5766;
  display: block;
  transition: background-color 0.3s ease-in-out;
  background-image: none !important;
}
.navbar-toggler-icon::after,
.navbar-toggler-icon::before {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  background-color: #5b5766;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  width: 180%;
}
.navbar-toggler-icon::before {
  top: -8px;
}
.navbar-toggler-icon::after {
  top: 8px;
}
.navbar-toggler-icon.open {
  background-color: transparent !important;
}
.navbar-toggler-icon.open::before {
  transform: rotate(45deg);
  top: 0;
}
.navbar-toggler-icon.open::after {
  transform: rotate(-45deg);
  top: 0;
}
.hide-desktop {
  display: none;
}
@media (min-width: 992px) {
  .dropdown-nav-item:hover .submenu {
    display: block;
  }
  .nav-item.dropdown-nav-item:hover .nav-link .dropdown-icon {
    transform: rotate(180deg);
    color: #4dc0ca;
  }
}
@media (max-width: 1440px) {
  .img-logo {
    max-height: 60px;
  }
}
@media (max-width: 1366px) {
  #menu-outer-container .custom-navbar-nav {
    max-width: 70%;
  }
}
@media (max-width: 1280px) {
  .img-logo {
    max-height: 40px;
  }
  .custom-navbar-nav .nav-item .nav-link .fa-solid.fa-house {
    font-size: 20px;
  }
}
@media (max-width: 1180px) {
  .img-logo {
    max-height: 35px;
  }
  #menu-outer-container .custom-navbar-nav {
    max-width: 80%;
  }
}
@media (max-width: 1024px) {
  .custom-navbar-container {
    width: 95%;
  }
}
@media (max-width: 991px) {
  #header-container nav {
    padding: 0;
    height: unset;
  }

  .custom-navbar-nav .nav-item:last-child .nav-link {
    padding-bottom: 0;
  }

  .custom-navbar-nav .nav-item.active a.p-active {
    font-weight: 600;
  }
  .custom-navbar-nav .nav-item.active {
    border-bottom: 0;
  }
  .hide-desktop {
    display: block;
  }
  .custom-navbar {
    top: 0;
  }
  .custom-navbar-container {
    width: 100%;
    padding: 15px;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
  }
  .img-logo {
    max-height: 40px;
  }
  #menu-outer-container .custom-navbar-nav {
    width: 100%;
    max-width: 100%;
    height: auto;
    align-items: start;
    padding: 10px 0 0 0;
    margin: 0 !important;
  }
  .custom-navbar-nav .nav-item {
    width: 100%;
    display: block;
  }
  .custom-navbar-nav .nav-item .nav-link {
    display: block;
    padding: 10px;
    border-bottom: 2px solid #f2f3f5;
  }
  .custom-navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 2px solid #fff;
  }
  .custom-navbar-nav .nav-item .nav-link.active {
    border-top: none;
  }
  .custom-navbar-nav .nav-item .nav-link.active .dropdown-icon {
    color: #4dc0ca;
    font-weight: 700;
  }
  .toggler-container {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .toggler-container .nav-link {
    display: block;
    color: #5b5766;
  }
  .toggler-container .nav-link .fa-house {
    font-size: 20px;
  }
  .navbar-toggler,
  .navbar-toggler:focus {
    box-shadow: none;
    border: none;
  }
  .submenu {
    position: relative;
    background-color: #4dc0ca;
    box-shadow: none;
    max-height: 0;
    transition: max-height 0.3s ease;
    top: 0;
    width: auto;
    padding: 0;
  }
  .submenu li .drop-nav-link {
    border-bottom: 1px solid #eee;
    padding: 10px;
  }
  .submenu.show {
    display: block;
    transition: max-height 0.4s ease-in-out;
    border-radius: 0;
  }
  #menu-outer-container {
    overflow: hidden;
    height: 0;
    transition: max-height 0.4s ease;
  }
  .nav-link .dropdown-icon.rotate {
    transform: rotate(180deg);
    color: #4dc0ca;
  }
  .nav-link .dropdown-icon {
    font-size: 15px;
    float: right;
    margin: 7px 10px 0 0;
  }
}
@media (max-width: 580px) {
  .img-logo {
    max-height: unset;
    max-width: 150px;
  }
  .toggler-container {
    gap: 5px;
  }
  .navbar-toggler-icon {
    width: 10px;
  }
  .navbar-toggler-icon::after,
  .navbar-toggler-icon::before {
    width: 180%;
  }
}
