/* Modern Mega Menu Styles */
.mega-menu-dropdown a,
.mega-menu-dropdown a:hover,
.mega-menu-dropdown a:focus,
.mega-menu-dropdown a:active {
    text-decoration: none !important;
}

/* Remove underline from HOSTING button when menu is open */
.nav-drop-holder .main-list-item-headingbtn::after,
.nav-drop-holder.active .main-list-item-headingbtn::after,
.nav-drop-holder:hover .main-list-item-headingbtn::after {
    display: none !important;
}

.main-list-item-headingbtn {
    border-bottom: none !important;
}

.mega-menu-dropdown {
    position: absolute;
    top: 170%;
    left: 150%;
    transform: translateX(-50%);
    width: 1256px;
    max-width: calc(100vw - 40px);
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 40px;
    display: none;
    z-index: 999;
    border-radius: 8px;
    margin-top: 10px;
}

.mega-menu-dropdown.show {
    display: block;
}

.mega-menu-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Add backdrop overlay - optional */
.mega-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    display: none;
}

.mega-menu-backdrop.show {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mega-menu-column h3 {
    font-size: 14px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #212529;
    transition: all 0.2s ease;
}

.mega-menu-item:hover {
    background: #cbf0d4;
    transform: translateX(4px);
    text-decoration: none !important;
}

.mega-menu-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.mega-menu-icon svg,
.mega-menu-icon img {
    width: 24px;
    height: 24px;
}

.mega-menu-content {
    flex: 1;
}

.mega-menu-title {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    text-decoration: none !important;
    margin-bottom: 4px;
    display: block;
}

.mega-menu-desc {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
}

.mega-menu-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #e5ffe3;
    color: #1b7430;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
}

.mega-menu-badge.new {
    background: #d1fae5;
    color: #059669;
}

.mega-menu-badge.popular {
    background: #fef3c7;
    color: #d97706;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .mega-menu-dropdown {
        position: static;
        width: 100%;
        padding: 20px;
        box-shadow: none;
        border-top: 1px solid #e9ecef;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mega-menu-item {
        padding: 12px;
    }
    
    .mega-menu-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
}

@media (max-width: 576px) {
    .mega-menu-item {
        flex-direction: row;
        align-items: center;
    }
    
    .mega-menu-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        margin-right: 12px;
    }
    
    .mega-menu-title {
        font-size: 14px;
    }
    
    .mega-menu-desc {
        font-size: 12px;
    }
}
