:root {
    --brand: #1B4F8A;
    --brand-dark: #133A6B;
    --brand-light: #E8EFF8;
    --brand-mid: #A8BFD9;
    --text: #0f1117;
    --text-secondary: #5c6070;
    --border: #e4e7ef;
    --bg-surface: #f7f9fc;
}

html,
body {
    margin: 0;
    padding: 0;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

a {
    text-decoration: none;
    color: inherit;
}

.nav-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/* ── MEGA DROPDOWN ── */
.nav-item {
    position: static;
}


.nav-item.has-dropdown {
    position: static;
}

.nav-item.has-dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-item.has-dropdown>a .chevron {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.nav-item.has-dropdown:hover>a .chevron {
    transform: rotate(180deg);
}

/* Full-width dropdown panel */
.mega-dropdown {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.10);
    animation: dropFade 0.18s ease forwards;
    margin-top: 0;
    padding-top: 0;
}

/* ADD THESE TWO RIGHT HERE — after .mega-dropdown */
.mega-dropdown.open {
    display: block;
}

/* .nav-item.has-dropdown:hover .mega-dropdown {
    display: none;
} */

@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.manu {
    color: #000000;
}


.mega-inner {
    max-width: 1200px;
    max-height: 1000px;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 32px 5%;
    display: grid;
    grid-template-columns: 200px 1fr 280px;
    gap: 40px;
}

.mega-left {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 700px;
    scrollbar-width: none;

    /* IE/Edge legacy */
    -ms-overflow-style: none;
}


/* ── LEFT: All Features list ── */
.mega-left h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.mega-left ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-left ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.mega-left ul li a:hover,
.mega-left ul li a.active {
    background: var(--brand-light);
    color: var(--brand);
}

.mega-left ul li a svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ── MIDDLE: By Industry + By Size ── */
.mega-mid {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 0 20px;
    margin: 15px;
}

.mega-mid-section {
    margin-bottom: 24px;
}

.mega-mid-section:last-child {
    margin-bottom: 0;
}

.mega-mid-section h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.mega-mid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
}

.mega-mid-grid a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 7px 10px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.mega-mid-grid a:hover {
    background: var(--brand-light);
    color: var(--brand);
}

.mega-mid-grid a svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.mega-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.mega-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--brand-light);
    transition: background 0.15s;
    margin-top: 8px;
}

.mega-all-link:hover {
    background: var(--brand-mid);
    color: var(--brand-dark);
}

.mega-all-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── RIGHT: Preview card ── */
.mega-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mega-preview-card {
    background: var(--brand-light);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--brand-mid);
}

.mega-preview-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #dce9f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--brand-mid);
    position: relative;
    overflow: hidden;
}

/* Replace this placeholder with your <img> tag */
.mega-preview-img svg {
    width: 52px;
    height: 52px;
    stroke: var(--brand-mid);
    fill: none;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mega-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mega-preview-body {
    padding: 16px;
}

.mega-preview-body h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.mega-preview-body p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Integration logos row */
.mega-logos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.15s, background 0.15s;
}

.mega-logo-item:hover {
    border-color: var(--brand-mid);
    background: var(--brand-light);
}

.mega-logo-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--brand);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark img {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}


.cta-btn {
    background: #15658d;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #0f4d6b;
}

.nav-links a {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 7px 13px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
    white-space: nowrap;
}

.nav-links a:hover {
    background: var(--bg-surface);
    color: var(--text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-ghost {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-ghost:hover {
    background: var(--bg-surface);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding:  15px;

    border: none;
    background: var(--brand, #15658d);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn-primary:hover {
    background: var(--brand-dark, #0f4d6b);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Arrow icon inside button */
.btn-primary .arrow-icon {
    width: 16px;
    height: 16px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    transition: transform 0.2s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(3px);
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid #e4e7ef;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    background: #1B4F8A;
    border-radius: 2px;
    transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU DRAWER ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid #e4e7ef;
}
.mobile-menu.open { display: block; }

.mob-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ab0c4;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 16px 20px 6px;
}
.mob-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #0f1117;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
}
.mob-item a {
    color: inherit;
    text-decoration: none;
    width: 100%;
    display: block;
}
.mob-item svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    stroke: #b0bbc8;
}
.mob-item.expanded svg { transform: rotate(90deg); }

.mob-sub {
    display: none;
    background: #f7f9fc;
    border-bottom: 1px solid #e4e7ef;
}
.mob-sub.open { display: block; }
.mob-sub a {
    display: block;
    padding: 11px 20px 11px 36px;
    font-size: 14px;
    color: #5c6070;
    border-bottom: 1px solid #eef0f4;
    text-decoration: none;
}
.mob-sub a:hover {
    color: #1B4F8A;
    background: #eef4fb;
}

.mob-bottom {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #e4e7ef;
    margin-top: 8px;
}
.mob-btn-ghost {
    display: block;
    padding: 12px;
    border: 1.5px solid #1B4F8A;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #1B4F8A;
    text-decoration: none;
}
.mob-btn-primary {
    display: block;
    padding: 12px;
    background: #1B4F8A;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

/* ── SHOW HAMBURGER ON MOBILE, HIDE DESKTOP NAV ── */
@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    nav{
        height: auto !important;
        padding: 10px;
    }
}