/* Header y navegación */

.section {
  background: url('../images/gradient.svg') no-repeat;
  background-size: cover;
  animation: olas 9s ease-in-out infinite;
  height: 722px;
  position: relative;
  z-index: 1;
}

.container-header {
  display: flex;
  height: 100%;
  align-items: flex-start;
  padding-top: 120px;
}
.mega-menu {
    background: white;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
}
.mega-menu > li {
    list-style: none;
}
.mega-menu h6 {
    margin-bottom: 0.5rem;c
    color: black;
}
.navbar-nav .dropdown-menu{
  margin-top: 0px;
}

/* Mega menú oculto inicialmente */
.menu-item-has-children {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); /* Centra horizontalmente */
  min-width: 300px;
  padding: 2rem;
  background-color: #fff;
  display: none;
  z-index: 999;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.mega-menu .dropdown-item{
  padding-left: 0px !important;
  font-size: 14px;
}
.card-icon-menu-mega{
  display: flex;
  justify-content: center;
  align-items: center;
  height: inherit;
  background-color: #E5E7FF;
  min-height: 24px;
  min-width: 24px;
  margin-right: 5px;
}
.icon-menu-mega{
  max-height: 20px;
  max-width: 20px;
}

/* Mostrar al hacer hover sobre el ítem padre */
.nav-item.dropdown:hover .mega-menu {
  display: flex;
}

/* Columnas internas */
.mega-menu .column {
  flex: 1;
  padding: 0 1rem;
}

/* Contenedor de columnas */
.mega-menu {
  display: none;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.dropdown-toggle{
  color: white;
}