/* custom-dropdown.css */

/* Reset list styles for custom dropdown */
nav .custom-dropdown {
  position: relative;
}

nav .custom-dropdown > a {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 1rem;
}

nav .custom-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff; /* dropdown background */
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  z-index: 999;
  width: 400px; /* adjust width as needed */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; /* space between columns */
}

nav .custom-dropdown-menu .column a {
  display: block;
  padding: 0.5rem 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

nav .custom-dropdown-menu .column a:hover {
  color: #007bff; /* highlight color on hover */
}

/* Show dropdown on hover */
nav .custom-dropdown:hover .custom-dropdown-menu {
  display: grid;
}

/* Optional: small screen adjustments */
@media (max-width: 991px) {
  nav .custom-dropdown-menu {
    position: static;
    width: 100%;
    display: block;
    grid-template-columns: 1fr;
  }

  nav .custom-dropdown-menu .column {
    margin-bottom: 1rem;
  }
}
