/* Ensure the dropdown content is hidden initially */
.gk_dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background: rgba(159, 226, 191, 0.9);
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1000;
    list-style: none;
    padding-left: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease-in-out;
}

/* Active dropdown (when opened) */
.gk_dropdown-content.show {
    max-height: 300px; /* Adjust based on submenu height */
    opacity: 1;
    transform: translateY(0);
	background: rgba(159, 226, 191, 0.9);
}

/* Styling for dropdown items */
.gk_dropdown-content li {
    padding: 12px;
    font-size: 10px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
.burger-menu .gk_dropdown-content li a {
    color: #6495ED;
	text-decoration: none;
	font-size: 14px;
}

/* Hide other main menu items when a submenu is opened */
.burger-menu.hide-main > ul > li:not(.dropdown.active) {
    display: none;
}

/* Styling the toggle button */
.gk_toggle-btn {
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Rotate the toggle button when active */
.gk_toggle-btn.open {
    transform: rotate(45deg);
}

.gk_dropdown-content {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.gk_dropdown-content.show {
    display: block;
    opacity: 1;
    max-height: 500px; /* Adjust based on submenu size */
}

.hide-main > ul > li:not(.active) {
    display: none;
}
