/* Set smooth transition for all objects with the class */
.rotate-object {
  transition: transform 0.5s ease;
}

/* Rotate objects inside a column on column hover */
.rotate-column:hover .rotate-object {
  transform: rotate(90deg);
}

/* Underline for active menu item in Theme Builder menu */
.et-menu li.current-menu-item > a,
.et-menu li.current_page_item > a {
  position: relative;
}

.et-menu li.current-menu-item > a::after,
.et-menu li.current_page_item > a::after {
  content: "";
  position: absolute;
  bottom: -5px; /* Adjust based on spacing */
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #0073e6; /* Change to match your brand */
  transition: all 0.3s ease;
}

/* Hover underline for all menu items */
.et-menu li > a {
  position: relative;
}

.et-menu li > a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: #0073e6;
  transition: all 0.3s ease;
}

.et-menu li > a:hover::after {
  width: 100%;
}

/* Keep underline for active menu item */
.et-menu li.current-menu-item > a::after,
.et-menu li.current_page_item > a::after {
  width: 100%;
}

/* Lock the horizontal overflow sitewide */
body {
  overflow-x: hidden;
}