/* Dropdown menu */
.dropdown-menu-services {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
  border-radius: 6px;
  min-width: 500px;
  max-width: 90vw;
  z-index: 1000;
}

/* Show dropdown when hovering parent */
.dropdown:hover .dropdown-menu-services {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s; /* show immediately */
}

/* Keep menu visible for 5s after mouse leaves */
.dropdown-menu-services {
  transition: opacity 0.3s ease 5s, transform 0.3s ease 5s;
}


/* Each dropdown item */
.dropdown-menu-services li {
  list-style: none;
}

.dropdown-item-service {
  height: 120px;
  width: 400px;
  position: center;
  display: block;
  background: #444;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  transition: background 0.3s, transform 0.2s;

}


.dropdown-item-service h4 {
  text-align: center; /* this will center the text horizontally */
  margin: 0 0 5px;
  font-size: 20px;
  color: #f39c12;
}

.dropdown-item-service p {
  text-align: center; /* this will center the text horizontally */
  margin: 0;
  font-size: 14px;
  line-height: 1.0;
  color: #ddd;
}

.dropdown-item-service :hover {
  background: #555;
  transform: translateY(-3px);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu-services,
.dropdown .dropdown-menu-services {
  display: grid;
}

