.new-nav .nav-link.active {
  font-weight: 600;
}

.new-nav .navbar-nav {
  margin-right: calc(100% - 66%);
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.new-nav .nav-link {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.new-nav .nav-link:hover {
  font-weight: 600;
}

.new-nav .contact-button {
  background-color: transparent;
  border-radius: 500px;
  color: rgba(47, 131, 197, 1);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(47, 131, 197, 1);
  transition: background-color 0.3s ease;
}

.new-nav .contact-button:hover {
  background-color: rgba(47, 131, 197, 1);
  color: #fff;
}

.new-nav {
  border-radius: 0;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

/* Box */
.nav-box {
  display: flex;
  height: calc(100% - 15%);
  position: fixed;
  left: 0;
  width: 100%;
  background: white;
  z-index: 20;
}

.nav-box .box-item {
  width: calc(100% / 3);
}

/* Left Box */
.nav-box .left {
  border-right: 1px solid rgba(221, 221, 221, 1);
}

.nav-box .left > ul {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  overflow-y: auto;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Chrome, Edge, Safari */
.nav-box .left > ul::-webkit-scrollbar {
  width: 4px;
}

.nav-box .left > ul::-webkit-scrollbar-track {
  background: transparent;
}

.nav-box .left > ul::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
}

/* Show scrollbar only on hover */
.nav-box .left > ul:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
}

/* Optional: smoother look */
.nav-box .left > ul::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Remove arrows */
.nav-box .left > ul::-webkit-scrollbar-button {
  display: none;
}

/* Firefox hover effect */
.nav-box .left > ul:hover {
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.nav-box .left > ul > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  opacity: 1;
  padding: 10px 16px;
  border-radius: 8px;
}

.nav-box.industries-box .left > ul > a > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  opacity: 1;
  padding: 10px 16px;
  border-radius: 8px;
}

.nav-box .left > ul > li.active,
.nav-box .left > ul > li:hover {
  background: rgba(220, 240, 255, 1);
}

.nav-box.industries-box .left > ul > a > li.active,
.nav-box.industries-box .left > ul > a > li:hover {
  background: rgba(220, 240, 255, 1);
}

.nav-box .left > ul > li:hover {
  cursor: pointer;
}

/* Middle Box */
.nav-box .middle li:not(.active) {
  display: none;
}

.nav-box .middle {
  border-right: 1px solid rgba(221, 221, 221, 1);
}

.nav-box .middle > ul {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  overflow-y: auto;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Chrome, Edge, Safari */
.nav-box .middle > ul::-webkit-scrollbar {
  width: 4px;
}

.nav-box .middle > ul::-webkit-scrollbar-track {
  background: transparent;
}

.nav-box .middle > ul::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
}

/* Show scrollbar only on hover */
.nav-box .middle > ul:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
}

/* Optional: smoother look */
.nav-box .middle > ul::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Remove arrows */
.nav-box .middle > ul::-webkit-scrollbar-button {
  display: none;
}

/* Firefox hover effect */
.nav-box .middle > ul:hover {
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.nav-box .middle > ul > li {
  display: flex;
  align-items: center;
  padding: 10px 16px;
}

.nav-box .middle > ul > li a {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  opacity: 1;
}

.nav-box .middle > ul > li a:hover {
  opacity: 0.7;
}

.nav-box.industries-box .middle > ul > li a:hover {
  opacity: 1;
  cursor: default;
}

.about-box .middle .insights {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  opacity: 1;
  padding: 10px 16px;
}

.about-box .middle .insights:hover,
.about-box .middle .insights.active2 {
  background-color: rgba(220, 240, 255, 1);
  border-radius: 8px;
  cursor: pointer;
}

/* Blogs: keep "View More+" inline as part of the text */
.about-box .middle .blogs-text-inline {
  display: inline;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
}
.about-box .middle .blogs-text-inline .view-more-link {
  display: inline;
  color: #2196f3;
  font-weight: 500;
}

/* Right Box */
.nav-box .right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.nav-box .card {
  border-radius: 25px;
  background-color: rgba(0, 10, 43, 1);
  box-shadow: 0px 4px 142px 0px rgba(0, 0, 0, 0.15);
  padding: 16px;
}

.nav-box .card .card-img-top {
  border-radius: 25px;
  margin-bottom: 2rem;
}

.nav-box .card .card-title {
  font-family: "Open Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.nav-box .card .card-text {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}

.nav-box .card .btn {
  background: linear-gradient(
    270deg,
    #0074b7 -0.26%,
    #219aca 76.41%,
    #238caf 102.81%
  );
  border-radius: 70px;
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3rem;
  width: fit-content;
}

/*  */
.about-box .right > ul {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  overflow-y: auto;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.about-box .right > ul > li {
  display: flex;
  align-items: center;
  padding: 10px 16px;
}

.about-box .right > ul > li a {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  opacity: 1;
}

.about-box .right > ul > li a:hover {
  opacity: 0.7;
}

.about-box .right {
  justify-content: start;
  align-items: start;
  padding: 32px;
}

.about-box .middle ul li.portfolio:nth-last-child(2) a {
  color: #2196f3;
  font-weight: 500;
}

@media (min-width: 2702px) {
  .nav-box {
    height: fit-content;
  }
}

@media (min-width: 2023px) {
  .new-nav .navbar-nav {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 992px) {
  .navbar-brand {
    margin-right: auto !important;
  }

  .navbar-collapse.collapse.show {
    display: none !important;
  }

  #mobile-nav-box {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    z-index: 150;
    background-color: white;
    padding: 32px 24px;
    overflow: auto;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }

  /* Chrome, Edge, Safari */
  .mobile-nav-box::-webkit-scrollbar {
    width: 4px;
  }

  .mobile-nav-box::-webkit-scrollbar-track {
    background: transparent;
  }

  .mobile-nav-box::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
  }

  /* Show scrollbar only on hover */
  .mobile-nav-box:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
  }

  /* Optional: smoother look */
  .mobile-nav-box::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.6);
  }

  /* Remove arrows */
  .mobile-nav-box::-webkit-scrollbar-button {
    display: none;
  }

  /* Firefox hover effect */
  .mobile-nav-box:hover {
    scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
  }

  .close-icon {
    display: none;
  }

  .navbar-toggler.open .menu-icon {
    display: none;
  }

  .navbar-toggler.open .close-icon {
    display: block;
  }

  #mobile-nav-box #accordionPanelMain .accordion-button {
    background-color: transparent;
    box-shadow: none;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    padding: 10px 16px;
    color: #000;
  }

  #mobile-nav-box #accordionPanelMain .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
  }

  #mobile-nav-box #accordionPanelMain .accordion-button:not(.collapsed) {
    font-weight: 600;
    color: #000;
    background-color: rgba(220, 240, 255, 1);
    border-radius: 8px !important;
    font-size: 15px;
  }

  #mobile-nav-box #accordionPanelMain .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  }

  #mobile-nav-box #accordionPanelMain .accordion-item {
    border: none;
  }

  #mobile-nav-box .mob-contact-button {
    border: 1px solid rgba(0, 116, 183, 1);
    background-color: transparent;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: rgba(0, 116, 183, 1);
    padding: 8px;
    margin-top: 16px;
  }

  #mobile-nav-box .list-unstyled {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  #mobile-nav-box .list-unstyled li a {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000;
  }

  /* Blogs: keep "View More+" inline in mobile nav */
  #mobile-nav-box .blogs-text-inline {
    display: inline;
  }
  #mobile-nav-box .view-more-link {
    display: inline;
    font-weight: 400;
  }

  #mobile-nav-box a[href="http://localhost/our-work/"] {
    color: #2196f3 !important;
    font-weight: 500 !important;
  }

  #mobile-nav-box a[href="https://blockchain2.oodleslab.com/our-work/"] {
    color: #2196f3 !important;
    font-weight: 500 !important;
  }

  #mobile-nav-box a[href="https://blockchain.oodles.io/our-work/"] {
    color: #2196f3 !important;
    font-weight: 500 !important;
  }

  #mobile-nav-box a[href="https://blockchain.oodleslab.com/our-work/"] {
    color: #2196f3 !important;
    font-weight: 500 !important;
  }

  #mobile-nav-box .view-more-link {
    color: #2196f3 !important;
  }
}

.d-none {
  display: none;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.new-nav > .container-fluid {
  margin-left: 0;
  margin-right: 0;
  width: 100% !important;
  display: flex;
}

.mb-0 {
  margin-bottom: 0;
}

.nav-box {
  border-bottom: 0.5px solid #e6e3e3;
}

.bg-white {
  background-color: white !important;
}
