/* ====== Mega Menu ====== */
.header-main .main-menu ul li .submenu.mega-menu {
    min-width: 860px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.header-main .main-menu ul li:hover > .submenu.mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mega-menu > li.mega-row {
    display: block;
    width: 100%;
    border-bottom: none !important;
    padding: 0;
    margin: 0;
    background: transparent !important;
}

.mega-menu > li.mega-row:hover {
    background: transparent !important;
}

.mega-menu > li.mega-row > a {
    display: none !important;
}

/* Grid */
.mega-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 200px;
}

.mega-col {
    padding: 26px 22px;
    border-right: 1px solid #f0f0f0;
    background: #fff;
}

.mega-col:last-child {
    border-right: none;
}

/* Column heading */
.mega-col-head {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #3C72FC;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef2ff;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Service links */
.mega-col a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #444 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    border-radius: 6px;
    transition: all 0.22s ease !important;
    background: transparent !important;
    width: 100%;
    text-decoration: none;
}

.mega-col a:last-of-type {
    border-bottom: none !important;
}

.mega-col a:hover {
    background: #3C72FC !important;
    color: #fff !important;
    padding-left: 12px !important;
    border-color: transparent !important;
}

/* Icon badge */
.mega-icon {
    width: 30px;
    height: 30px;
    background: #eef2ff;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3C72FC;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.22s ease;
}

.mega-col a:hover .mega-icon {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

/* Featured CTA column */
.mega-col.mega-featured {
    background: linear-gradient(145deg, #1a1a2e 0%, #291a55 100%) !important;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-feature-box {
    text-align: center;
    color: #fff;
    width: 100%;
}

.mega-feature-box > p {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-feature-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.55;
}

.mega-feature-box .mega-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #3C72FC !important;
    border-radius: 7px;
    color: #fff !important;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.2s !important;
    border-bottom: none !important;
    width: 100%;
}

.mega-feature-box .mega-cta-btn:hover {
    background: #2a5ee0 !important;
    color: #fff !important;
    padding-left: 16px !important;
    border-color: transparent !important;
}

.mega-all-link {
    display: block !important;
    font-size: 12px !important;
    color: rgba(255,255,255,0.65) !important;
    text-align: center;
    padding: 7px 8px !important;
    border-bottom: none !important;
    background: transparent !important;
    border-radius: 5px;
    transition: all 0.2s !important;
    text-decoration: none;
}

.mega-all-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
    padding-left: 8px !important;
}

/* Hide on mobile — meanmenu handles mobile nav */
@media (max-width: 1199px) {
    .submenu.mega-menu {
        display: none !important;
    }
}
