:root{
  overflow-x: hidden;
}
.navbar-nav {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}



.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  z-index: 1000;
}

.dropdown-item {
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0 !important;
  left: 100%;
  margin-left: 0;
}

.dropdown-submenu .dropdown-menu .dropdown-item {
  white-space: nowrap;
}

/* 

.dropdown-submenu:has(.dropdown-toggle)  .dropdown-toggle::after {
  content: "\f078";
  font-family: FontAwesome;
}

.nav-item.dropdown.active > .nav-link::after {
  content: "\f077"; 
} */

.dropdown-submenu>.dropdown-menu .dropdown-submenu>a:before {
  content: "\F231" !important;
  color: var(--black);
  font-family: bootstrap-icons;
  font-weight: 400;
  font-size: 23px;
  position: absolute;
  right: 6px;
  opacity: 1 !important;
  -webkit-transition: all .3s cubic-bezier(.61, 1, .88, 1);
  transition: all .3s cubic-bezier(.61, 1, .88, 1);
}

.nav-item.dropdown>.dropdown-menu .dropdown-submenu>a:before {
  content: "\F231" !important;
  color: var(--black);
  font-family: bootstrap-icons;
  font-weight: 400;
  font-size: 23px;
  position: absolute;
  right: 6px;
  opacity: 1 !important;
  -webkit-transition: all .3s cubic-bezier(.61, 1, .88, 1);
  transition: all .3s cubic-bezier(.61, 1, .88, 1);
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a {
  padding: 10px !important;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
  padding: 0px 12px;
  background-color: #cc9301;
  border-radius: 10px;
}

.navbar .navbar-nav .dropdown .dropdown-menu li.active>a {
  color: #FFFFFF;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
  color: #FFFFFF;
}

.navbar .navbar-nav .dropdown .dropdown-menu a:hover {
  color: #FFFFFF;
  background-color: transparent;
}

.navbar .navbar-nav .dropdown .dropdown-menu a {
  color: #FFFFFF;
  background-color: transparent;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a {
  border-top-color: #D4B157;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
  color: #FFFFFF;
}

.card-main-body {
  background-color: #FFFFFF !important;
  display: flex;
  flex-direction: row;
  width: 80%;
  position: absolute !important;
  margin-top: -120px;
  z-index: 3;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
}

.card.no-shadow {
  box-shadow: none;
}

.card-body {
  position: relative;
  /* padding-left: 20px;
  padding-right: 20px; */
}

.card-title {
  font-weight: bold;
  font-size: 24px;
  color: #19191C;
  margin-bottom: 0;
}

.card-text {
  font-size: 16px;
  color: #CFCFD1;
}

.card.card.no-shadow .card-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 50px;
  width: 3px;
  background-color: #f39c12;
  transform: translateY(-50%);
  border-radius: 2px;
}

@media (max-width: 767.98px) {
  .card {
    margin-bottom: 20px;
  }

  .card::before {
    height: 40px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-text {
    font-size: 12px;
  }
}


.project-card-main {
  position: relative;
  overflow: visible !important;
  /* border-radius: 10px; */
}

.card-overflow-title {
  z-index: 100;
  transform: translate(-50%, 125%);
  width: 90%;
  border: none;
  background-color: #D4B157;
  color: var(--base-color);
  font-size: 1rem;
  padding: .5rem 1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transition: 0.3s ease-in;
  text-align: center;

  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.project-card-main:hover .card-overflow-title {
  transform: translate(-50%, 100%);
  opacity: 1;
}

.d-flex.flex-column.justify-content-center.row-gap-2.bg-gradient-violet-black-50{
  width: 100%;
}