/* ============================================================
   MEGA MENU — Services  (Verve-style card)
   /wp-content/themes/your-child-theme/mega-menu.css
   ============================================================ */

.mega-menu-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    width: 560px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 28px 24px;
    pointer-events: auto;
}

.mega-menu-overlay.is-open {
    display: block;
    animation: megaFadeUp 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes megaFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* ---------- Column heading ----------
   Single heading spans full width above the grid.
   One border line underneath — no duplicate.           */
.mega-menu-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #43727c;
    margin: 0 0 14px 0;
    padding-bottom: 8px;

}

/* ---------- Two-column grid inside card ---------- */
.mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

/* ---------- Column ---------- */
.mega-menu-col {
    display: flex;
    flex-direction: column;
}

/* ---------- Individual item ---------- */
.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    margin-bottom: 2px;
}

.mega-menu-item:last-child {
    margin-bottom: 0;
}

.mega-menu-item:hover {
    background: #f4f8f9;
}

/* ---------- Icon wrapper ---------- */
.mega-menu-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.mega-menu-item:hover .mega-menu-item__icon {
    background: #43727c;
}

.mega-menu-item__icon svg {
    width: 18px;
    height: 18px;
    stroke: #43727c;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.15s ease;
}

.mega-menu-item:hover .mega-menu-item__icon svg {
    stroke: #ffffff;
}

/* ---------- Text ---------- */
.mega-menu-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu-item__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1d1922;
    line-height: 1.3;
}

.mega-menu-item__desc {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* ---------- Backdrop ---------- */
.mega-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: transparent;
    cursor: default;
}

.mega-menu-backdrop.is-open {
    display: block;
}

/* ---------- Active nav item ---------- */
.menu-item--mega-active > .menu-link,
.menu-item--mega-active > a {
    color: #43727c !important;
}

/* ---------- Mobile: hide ---------- */
@media (max-width: 768px) {
    .mega-menu-overlay,
    .mega-menu-backdrop {
        display: none !important;
    }
}