﻿/*.mega-menu-wrapper {
    position: relative;*/
    /* width:1000px; */
/*}

.mega-menu {
    position: absolute;
    left: -132px;
    min-width: 1200px;
    background: #fff;
    top: 45px;
    padding: 40px;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mega-menu-wrapper:hover .mega-menu {
    display: block;
}

.mega-container {
    display: flex;
}

.mega-main-tabs {
    width: 20%;
    border-right: 1px solid #eee;
}

.main-tab {
    padding: 12px;
    cursor: pointer;
}

    .main-tab.active {
        background: #f4f4f4;
        font-weight: bold;
    }

.mega-sub-tabs {
    width: 80%;
    padding-left: 20px;
}

.sub-tab-content {
    display: none;
}

    .sub-tab-content.active {
        display: flex;
    }

.sub-tab-list {
    width: 30%;
    max-height: 300px;
    overflow: auto;
}

.sub-tab {
    padding: 10px;
    cursor: pointer;
}

    .sub-tab.active {
        background: #f0f0f0;
    }

.sub-tab-details {
    width: 70%;
    padding-left: 20px;
}

.content-box {
    display: none;
}

    .content-box.active {
        display: block;
    }*/


.mega-menu-wrapper {
    position: relative;
}

/* ✅ UPDATED MEGA MENU */
.mega-menu {
    position: absolute;
    top: 45px;
    left: 280%;
    transform: translateX(-50%);
    width: 100vw;
    background: #fff;
    padding: 40px 0;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.mega-menu-wrapper:hover .mega-menu {
    display: block;
}

/* ✅ ADD THIS (CENTER CONTENT 1424px) */
.mega-container {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 74px;
}

.mega-main-tabs {
    width: 20%;
    border-right: 1px solid #eee;
}

.main-tab {
    padding: 12px;
    cursor: pointer;
}

    .main-tab.active {
        background: #f4f4f4;
        font-weight: bold;
    }

.mega-sub-tabs {
    width: 80%;
    padding-left: 20px;
}

.sub-tab-content {
    display: none;
}

    .sub-tab-content.active {
        display: flex;
    }

.sub-tab-list {
    width: 30%;
    max-height: 300px;
    overflow: auto;
}

.sub-tab {
    padding: 10px;
    cursor: pointer;
}

    .sub-tab.active {
        background: #f0f0f0;
    }

.sub-tab-details {
    width: 70%;
    padding-left: 20px;
}

.content-box {
    display: none;
}

    .content-box.active {
        display: block;
    }

/* Click Active State */
.mega-menu-wrapper.active .mega-menu {
    display: block;
}