/* Default hidden */
.has-submenu .dropdown-menu-sub {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Open states */
.has-submenu.active .dropdown-menu-sub,
.has-submenu:hover .dropdown-menu-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.has-submenu.active .arrow-icon {
    transform: rotate(180deg);
}

/* Beautiful submenu items */
.dropdown-menu-sub a {
    display: block;
    padding: 1rem 0;
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    transition: color 0.3s ease;
}
.dropdown-menu-sub a:hover {
    color: #2B4DA5 !important;
}

@media (max-width: 767px) {
  .custom-mobile-hover {
    transition: all 0.5s ease-in-out;
    border-radius:10px;
  }

  .custom-mobile-hover:hover,
  .custom-mobile-hover:focus,
  .custom-mobile-hover:active {
    transform: translateY(-16px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  }

  .custom-mobile-hover:nth-child(1):hover {
    background-color: #2B4CA1 !important;
  }

  .custom-mobile-hover:nth-child(2):hover {
    background-color: #FFC9F3 !important;
  }

  .custom-mobile-hover:nth-child(3):hover {
    background-color: #C9FFD3 !important;
  }

  .custom-mobile-hover:nth-child(4):hover {
    background-color: #FFEAC9 !important;
  }

  .custom-mobile-hover:nth-child(5):hover {
    background-color: #DDC9FF !important;
  }
  .custom-mobile-hover:nth-child(6):hover {
    background-color: #FFD7C9 !important;
  }


  .custom-mobile-hover:hover .icon-wrapper {
    background:white !important;      
    color: black !important;      
  }

.custom-mobile-hover:nth-child(1):hover h3,
.custom-mobile-hover:nth-child(1):hover p {
    color: white !important;
}
.custom-mobile-hover:not(:nth-child(1)):hover h3,
.custom-mobile-hover:not(:nth-child(1)):hover p {
    color: black !important;
}

}


.reviews-arrow-hover:hover{
    background:white;
      color:#2B4CA1;
}

.reviews-arrow-hover:hover svg {
   color:black;
}


