.dropdown {
    .dropdown-menu {
        border: none;
        border-radius: 0;
        padding: 10px;
        li {
            margin-bottom: 10px;

            a {
                height: auto;
                font-weight: 500;
                font-size: 16px;
                color: #000000;
                line-height: 22px;
                text-transform: none;
                background: none;
                border-radius: 0;
                overflow: inherit;
                position: relative;
                z-index: 1;
                padding: 3px 22px;
                margin: -3px 0;
                font-family: "Raleway", sans-serif;
                font-weight: 700;
                font-size: 1rem;
                letter-spacing: 0.9px;
                @include media-breakpoint-down(xl) {
                    padding: 0 8px;
                }
                &:hover {
                    color: #ffffff;
                    text-decoration: none;

                    &:before {
                        width: 100%;
                        height: 100%;
                    }
                }

                &:before {
                    content: "";
                    width: 12px;
                    height: 12px;
                    background: $quaternary-color;
                    border-radius: 360px;
                    -webkit-transition: all 0.25s ease-out;
                    -moz-transition: all 0.25s ease-out;
                    -o-transition: all 0.25s ease-out;
                    transition: all 0.25s ease-out;
                    position: absolute;
                    top: 50%;
                    left: 0;
                    transform: translate(0, -50%);
                    z-index: -1;
                    @include media-breakpoint-down(xl) {
                        display: none;
                    }
                }
            }
        }

        .dropdown-item:hover,
        .dropdown-item:focus,
        .dropdown-item:active {
            background: none;
        }
    }
    @include media-breakpoint-up(xl) {
        .dropdown-menu {
            transition: all 250ms ease-in-out 0ms;
            transform-origin: left top;
            transform: scaleY(0);
            visibility: hidden;
            overflow: hidden;
            opacity: 0;
            display: block !important;
        }

        &:hover {
            .dropdown-menu {
                transform: scaleY(1);
                visibility: visible;
                opacity: 1;

                &.mega-menu-custom {
                    transform: translateX(-50%) scaleY(1);
                }
            }
        }
    }
}

.dropdown-menu[data-bs-popper] {
    margin-top: unset;
}
