.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  list-style-type: none;
}

.dropdown-toggle {
  /*     background-color: #007bff; /* Bootstrap primary color */
  color: #fff;
  /* color: #fff; */
  /*     padding: 10px 20px; */
  border: none;
  /*     border-radius: 5px; */
  cursor: pointer;
  /*     font-size: 16px; */
  text-align: center;
  /*     transition: background-color 0.3s, transform 0.2s; */
  /*     width: 150px; /* Fixed width */
  text-transform: uppercase; /* Uppercase text for uniformity */
}

.dropdown-menus {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: #222222;
  /*     border: 1px solid #ced4da; /* Bootstrap border color */
  /*     border-radius: 5px; */
  /*     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  z-index: 1000;
  margin-top: 5px;
  width: 150px; /* Fixed width for consistency */
  clear: both;
  margin: 0;
  text-align: left !important;
  padding: 5px 20px 5px 20px;
  box-sizing: border-box;
}
.dropdown-toggles .emoji {
  padding-right: 4px !important;
}
.language-switch-items .emoji {
  padding-right: 4px !important;
}
.dropdown-menus.show {
  display: block; /* Show dropdown when active */
}

.dropdowns .dropdown-toggle .LanguageDropdown-menu .language-switch-item {
  padding: 10px 15px;
  color: #000000 !important ; /* Bootstrap text color */
  text-decoration: none;
  display: block;
  text-align: left; /* Center-align text */
  transition: background-color 0.2s;
}

.dropdown-items:hover {
  /*     background-color: #f8f9fa; /* Light gray on hover */
  text-decoration: underline;
}

.dropdown-items:focus {
  outline: none; /* Remove outline on focus */
  /*     background-color: #e2e6ea; /* Slightly darker gray on focus */
}

@media (max-width: 768px) {
  .dropdown-toggle,
  .dropdown-item {
    width: 100%; /* Full width on smaller screens */
  }
}
@media (min-width: 767px) and (max-width: 768px) {
  .slider_parallax_slides {
    width: 767px; /* Full width on smaller screens */
  }
}
#perspective {
  overflow-x: hidden !important;
}
@media (min-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
  body {
    overflow-y: overlay;
    background-color: transparent;
    transition: 0.3s background-color;
  }

  ::-webkit-scrollbar {
    background-color: transparent;
    width: 12px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    background-clip: content-box;
    border: 2px solid transparent;
  }
}

/* Language dropdown styles */
.languageMenu {
  display: inline-block; /* Align with other nav items */
  position: relative; /* For positioning the dropdown */
}

.LanguageDropdown-menu {
  width: 120px;
  background: #222222;
  position: absolute; /* Position below the toggle */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px); /* Move slightly up */
  transition: visibility 0s linear 0.1s, opacity 0.3s ease, transform 0.3s ease; /* Animate opacity and transform */
  z-index: 1000; /* Ensure it appears above other elements */
}

.languageMenu:hover .LanguageDropdown-menu,
.languageMenu.active .LanguageDropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0); /* Move back to original position */
  transition-delay: 0s;
}

.LanguageDropdown-menu li {
  list-style: none;
  text-align: left;
  font-family: Jost;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  text-transform: none;
  height: 35px;
  align-content: center;
}

.header_call_wrapper .LanguageDropdown-menu a {
  padding: 0px 20px; /* Same padding as other links */
  color: inherit; /* Inherit color from parent */
  text-decoration: none; /* Remove underline */
  transition: background 0.3s; /* Smooth hover effect */
  font-family: Jost;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  text-transform: none;
  margin: 10px 0px 0px;
}

.LanguageDropdown-menu a:hover {
  /* background: #b23738; /* Hover effect for dropdown links */
}

/* Optional: Adjusting styles for nested dropdowns */
.LanguageDropdown-menu ul {
  left: 100%; /* For nested dropdowns */
  top: 0;
  box-shadow: -1px 0 4px rgba(0, 0, 0, 0.2);
}
.LanguageDropdown-menu li {
  padding: 5px 0px;
}
.dropdown-toggle .emoji {
  padding-right: 8px !important;
}
.language-switch-item .emoji {
  padding-right: 8px !important;
}
