/* MAIN MENU CONTAINER */
.cssmenu {
  margin: 0;
  padding: 0;
  font-family: "Bierstadt", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
  width: 100%;
}

/* MAIN BAR */
.cssmenu ul {
  background: #3C1053;
  height: 45px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* TOP LEVEL ITEMS */
.cssmenu li {
  position: relative;
  margin-right: 2px;
}

/* LINKS */
.cssmenu li a {
  position: relative;
  color: #ffffff;
  display: block;
  padding: 0 18px;
  line-height: 45px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER (TOP MENU) */
.cssmenu li a:hover,
.cssmenu li:hover > a {
  background-color: #47D7AC;
  color: #3C1053;
}

/* ACTIVE ITEM */
.cssmenu li.active a {
  background-color: #47D7AC;
  color: #3C1053;
}

/* UNDERLINE ANIMATION */
.cssmenu li a::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: #47D7AC;
  transition: width 0.3s ease;
}

.cssmenu li a:hover::after {
  width: calc(100% - 20px);
}

/* DROPDOWN MENU */
.cssmenu li ul {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  background: #3C1053;
  min-width: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  z-index: 200;
}

/* SHOW DROPDOWN */
.cssmenu li:hover ul {
  display: block;
}

/* DROPDOWN ITEMS */
.cssmenu li li {
  width: 100%;
  margin: 0;
}

/* DROPDOWN LINKS */
.cssmenu li ul a {
  padding: 10px 15px;
  line-height: normal;
  color: #ffffff;
  font-size: 13px;
}

/* DROPDOWN HOVER */
.cssmenu li ul a:hover,
.cssmenu li ul li:hover a {
  background-color: #47D7AC;
  color: #3C1053;
}

/* CLEAR FLOATS (fallback safety) */
.cssmenu::after {
  content: "";
  display: block;
  clear: both;
}