html.menu-open,
body.menu-open {
    overflow: hidden;
}

.mega-nav-item{
    position:static;
}


/* dropdown */

.mega-dropdown-wrap{
    position:fixed;

    left:0;
    top:72px;

    width:100%;

    background:#fff;

    border-top:1px solid rgba(0,0,0,0.04);
    border-bottom:1px solid rgba(0,0,0,0.06);

    box-shadow:0 20px 40px rgba(0,0,0,0.04);

    opacity:0;
    visibility:hidden;

    pointer-events:none;

    transform:translateY(0);
    clip-path:inset(0 0 100% 0);

    transition:
        opacity .25s ease,
        clip-path .3s cubic-bezier(0.16, 1, 0.3, 1),
        visibility .25s ease;

    z-index:1000;
}

.mega-dropdown-wrap.active{
    opacity:1;
    visibility:visible;

    pointer-events:auto;

    clip-path:inset(0 0 0 0);
}

.mega-dropdown-inner{
    max-width:1280px;
    margin:auto;
    display:flex;

    min-height:430px;

    contain:layout paint;
}
/* LEFT */

.mega-left{
    width:30%;
    border-right:1px solid #ececec;
    padding:34px;
    background:#fcfcfc;
}

.mega-left-title{
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    color:#8a8a8a;

    margin-bottom:24px;
}

.mega-menu-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.mega-menu-item{
    padding:16px;
    border-radius:12px;
    transition:.2s ease;
    cursor:pointer;
}

.mega-menu-item:hover{
    background:#f4fdf1;
}

.mega-menu-item h6{
    font-size:15px;
    font-weight:700;
    margin-bottom:6px;
    color:#111;
}

.mega-menu-item p{
    margin:0;
    font-size:13px;
    line-height:1.6;
    color:#6b7280;
}

/* RIGHT */

.mega-right{
    width:70%;
    padding:34px;
}

.mega-right-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

.mega-card{
    border:1px solid #ececec;
    border-radius:18px;
    overflow:hidden;
    transition:.2s ease;
    background:#fff;
}

.mega-card:hover{
    transform:translateY(-2px);
    border-color:#d9d9d9;
}

.mega-card img{
    width:100%;
    height:210px;
    object-fit:cover;
}

.mega-card-body{
    padding:20px;
}

.mega-card-sub{
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    color:#19B84A;
    margin-bottom:10px;
}

.mega-card h5{
    font-size:18px;
    font-weight:700;
    margin-bottom:10px;
    color:#111;
}

.mega-card p{
    margin:0;
    font-size:14px;
    line-height:1.7;
    color:#6b7280;
}

.mega-overlay{
    position:fixed;
    inset:0;

    background:rgba(15,15,15,0.38);
    backdrop-filter:blur(2px);

    opacity:0;
    visibility:hidden;

    transition:
        opacity .18s ease,
        visibility .18s ease;

    pointer-events:none;

    z-index:998;
}

.mega-overlay.active{
    opacity:1;
    visibility:visible;

    pointer-events:auto;
}

@media(max-width:991px){

    .mega-dropdown-wrap{
        position: static;
        transform: none !important;
        clip-path: none !important;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 10px;
        background: transparent;
        
        display: none; /* Hide when not active */
    }

    .mega-dropdown-wrap.active{
        display: block;
    }

    .mega-dropdown-inner{
        flex-direction: column;
        min-height: auto;
    }

    .mega-left{
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ececec;
        padding: 20px 0;
        background: transparent;
    }

    .mega-right{
        width: 100%;
        padding: 20px 0;
    }

    .mega-right-grid{
        grid-template-columns: 1fr;
    }
}