
/* ===== HIDE ELEMENTOR DROPDOWN ===== */
.elementor-nav-menu--dropdown {
    display: none !important;
}

/* HIDE OLD ASTRA MENU */
#ast-mobile-popup-wrapper {
    display: none !important;
}

/* ===== CUSTOM MOBILE MENU ===== */

/* HAMBURGER BUTTON */
.custom-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 999;
    position: relative;
}

.custom-hamburger .hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: #08284A;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.custom-hamburger:hover .hamburger-line {
    background: #58B947;
}

/* Hamburger animation when active (turns into X) */
.custom-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.custom-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.custom-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MENU PANEL ===== */

/* Full screen wrapper - hidden by default */
#customMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

/* Show menu when active */
#customMenu.active {
    display: block;
}

/* Dark overlay */
#customMenu .menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

/* White panel that slides in */
#customMenu .menu-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Slide panel in when active */
#customMenu.active .menu-panel {
    right: 0;
}

/* Menu header with close button */
.menu-header {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #08284A;
    padding: 5px 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-menu:hover {
    color: #58B947;
    transform: rotate(90deg);
}

/* Navigation links */
.menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-nav ul li {
    margin: 0;
    padding: 0;
}

.menu-nav ul li a {
    display: block;
    padding: 15px 0;
    color: #10375F;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.menu-nav ul li a:hover {
    color: #58B947;
    padding-left: 10px;
}

/* CTA Button */
.menu-cta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.menu-cta a {
    display: block;
    padding: 15px 30px;
    background: #58B947;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.menu-cta a:hover {
    background: #2F8F3D;
}

/* Hide on desktop */
@media (min-width: 922px) {
    .custom-hamburger {
        display: none !important;
    }
    #customMenu {
        display: none !important;
    }
}
