
    
    /* ═══════════════════════════════════════════════════
   ROOT VARIABLES
═══════════════════════════════════════════════════ */
:root {
    --green:       #007031;
    --green-lite:  #1aa64b;
    --green-soft:  #eaf7ef;
    --navy:        #1a2b49;
    --footer-bg:   #1a3a6d;
    --ease:        cubic-bezier(.4,0,.2,1); 
}
/* ═══════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════ */
.top-bar {
    background: rgba(247,247,247,.97);
    font-size: 13px;
    padding: 6px 0;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1060;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.marquee { width: 70%; overflow: hidden; display: flex; align-items: center; }
.marquee-inner {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    font-weight: 500;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Globe button */
.globe-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #cbd5e1;
    background: #fff !important;
    color: var(--navy) !important;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all .25s var(--ease);
}


.globe-btn::after { display: none !important; }
.globe-btn:hover  { background: var(--green-soft) !important; border-color: var(--green-lite); color: var(--green) !important; }

/* top-bar dropdown */
.top-bar .dropdown-menu {
    margin-top: 8px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.10) !important;
    z-index: 1070 !important;
    min-width: 150px;
    padding: 6px !important;
}
.top-bar .dropdown-item {
    font-size: 13px; font-weight: 600;
    padding: 7px 12px;
    border-radius: 8px;
    transition: all .2s;
}
.top-bar .dropdown-item:hover { background: var(--green-soft); color: var(--green-lite); }
.login-link {
    color: var(--green-lite) !important;
    font-weight: 700; font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
}
.login-link:hover { color: var(--green) !important; text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   STICKY HEADER WRAPPER
═══════════════════════════════════════════════════ */
.header-wrap {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: all .25s var(--ease);
}
.main-header {
    background: #fff;
    border-radius: 50px;
    padding: 6px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    position: relative;
}

/* Logo — never squeeze, never hide */
.logo-img {
    max-height: 40px;
    width: auto;
    min-width: 80px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* ═══════════════════════════════════════════════════
   NAV LINKS  (shared base)
═══════════════════════════════════════════════════ */
.navbar-nav .nav-link {
    color: var(--navy) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all .22s var(--ease);
    position: relative;
}
.navbar-nav .nav-link:hover { color: var(--green-lite) !important; background: var(--green-soft); }

/* Chevron */
.nav-caret {
    font-size: 10px;
    color: #94a3b8;
    transition: transform .25s var(--ease), color .2s;
    flex-shrink: 0;
    margin-left: auto;
}

.partner-lnk { color: var(--green-lite) !important; }
.hardware-lnk { color: #d97706 !important; }

/* ── CTA buttons (shared base) ── */
.call-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--green-soft) !important;
    color: var(--green-lite) !important;
    border: none;
    text-decoration: none;
    flex-shrink: 0;
    transition: all .22s var(--ease);
}
.call-btn:hover { background: var(--green-lite) !important; color: #fff !important; transform: scale(1.05); }

.demo-btn {
    background: var(--green) !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border: 1px solid transparent;
    transition: all .22s var(--ease);
}
.demo-btn:hover {
    background: #fff !important;
    color: var(--green) !important;
    border-color: var(--green);
    box-shadow: 0 4px 12px rgba(0,112,49,.2);
}

/* ═══════════════════════════════════════════════════════════════════
   DESKTOP  ≥ 1200px  (navbar-expand-xl breakpoint)
   No jumping, no squeezing at any width above 1200px.
═══════════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {

    .navbar-nav .nav-item { position: relative; }
    .navbar-nav .nav-item.has-mega { position: static; }

    /* Rotate chevron + colour nav link on hover */
    .navbar-nav .nav-item:hover > .nav-link .nav-caret,
    .navbar-nav .nav-item.company-item:hover > .nav-link .nav-caret {
        transform: rotate(180deg);
        color: var(--green-lite);
    }
    .navbar-nav .nav-item:hover > .nav-link,
    .navbar-nav .nav-item.company-item:hover > .nav-link {
        color: var(--green-lite) !important;
        background: var(--green-soft);
    }

    /* ──── Desktop megamenu ──── */
    .dropdown-menu.megamenu {
        position:  absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(12px);
        width: 92vw;
        max-width: 1100px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 14px 40px rgba(0,0,0,.10);
        border-radius: 20px;
        padding: 0;
        overflow: hidden;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        display:block !important;
        pointer-events: auto;
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
        z-index: 99999;
    }
    .navbar-nav .nav-item.has-mega:hover .dropdown-menu.megamenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .mega-wrap {
        display: grid;
        grid-template-columns: 250px 1fr;
        min-height: 400px;
    }
    .mega-sidebar {
        background: #f8fafc;
        border-right: 1px solid #e2e8f0;
        padding: 20px 12px;
        display: flex; flex-direction: column; gap: 8px;
    }
    .mega-tab-btn {
        width: 100%; text-align: left;
        padding: 11px 13px;
        border-radius: 12px;
        border: 1px solid transparent;
        background: transparent;
        cursor: pointer;
        transition: all .2s;
    }
    .mega-tab-btn:hover { background: #fff; border-color: #e2e8f0; }
    .mega-tab-btn.active { background: #fff; border-color: #e2e8f0; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
    .mega-tab-btn h5 { font-size: 13.5px; font-weight: 700; margin: 0 0 2px; color: var(--navy); }
    .mega-tab-btn.active h5 { color: var(--green-lite); }
    .mega-tab-btn p { font-size: 11px; color: #64748b; margin: 0; line-height: 1.35; }

    .mega-body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; }
    .mega-panel { display: none; animation: fadeUp .18s ease; }
    .mega-panel.active { display: block; }
    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(5px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .sol-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .sol-card {
        display: flex; align-items: center; gap: 11px;
        padding: 9px 12px;
        border-radius: 10px;
        text-decoration: none;
        color: var(--navy);
        transition: all .2s;
    }
    .sol-card:hover { background: var(--green-soft); transform: translateY(-1px); }
    .sol-icon {
        width: 36px; height: 36px; border-radius: 8px;
        background: #f1f5f9; color: var(--green-lite);
        display: flex; align-items: center; justify-content: center;
        font-size: 15px; flex-shrink: 0;
        transition: all .2s;
    }
    .sol-card:hover .sol-icon { background: var(--green-lite); color: #fff; }
    .sol-title { font-size: 12.5px; font-weight: 600; line-height: 1.3; }

    .subtabs-bar { display: flex; gap: 8px; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; margin-bottom: 14px; }
    .subtab-btn {
        background: #f1f5f9; border: none;
        padding: 5px 13px; border-radius: 14px;
        font-size: 12px; font-weight: 600;
        color: #64748b; cursor: pointer;
        transition: all .2s;
    }
    .subtab-btn.active, .subtab-btn:hover { background: var(--green); color: #fff; }
    .subtab-pane { display: none; }
    .subtab-pane.active { display: block; }

    .mega-footer {
        margin-top: 18px;
        border-top: 1px solid #f1f5f9;
        padding-top: 14px;
        display: flex; justify-content: space-between; align-items: center;
    }
    .sales-note { font-size: 12px; color: #64748b; display: flex; align-items: center; gap: 6px; }
    .sales-note strong { color: var(--navy); }
    .sales-note a { color: var(--green-lite); text-decoration: none; font-weight: 600; }
    .outline-btn {
        border: 1px solid #e2e8f0; color: var(--navy);
        padding: 6px 14px; border-radius: 14px;
        font-size: 12px; font-weight: 600;
        text-decoration: none;
        display: flex; align-items: center; gap: 5px;
        background: #fff; transition: all .2s;
        white-space: nowrap;
    }
    .outline-btn:hover { border-color: var(--green-lite); background: var(--green-soft); color: var(--green-lite); }

    /* ──── Desktop Company hover dropdown ──── */
    .navbar-nav .nav-item.company-item { position: relative; }
    .navbar-nav .nav-item.company-item .co-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0; left: auto;
        min-width: 200px;
        border: 1px solid #e8f0e8;
        box-shadow: 0 10px 30px rgba(0,0,0,.10);
        border-radius: 14px;
        padding: 8px;
        background: #fff;
        opacity: 0; visibility: hidden;
        transform: translateY(10px);
        display: block !important;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
        z-index: 1050;
    }
    .navbar-nav .nav-item.company-item:hover .co-menu {
        opacity: 1; visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .co-menu .co-item {
        display: flex; align-items: center; gap: 9px;
        padding: 9px 13px;
        border-radius: 9px;
        text-decoration: none;
        color: var(--navy);
        font-size: 13px; font-weight: 600;
        transition: all .2s;
    }
    
    .co-menu .co-item i { color: var(--green-lite); width: 16px; text-align: center; }
    .co-menu .co-item:hover { background: var(--green-soft); color: var(--green-lite); }

    /* Hide mobile-only elements on desktop */
    .mob-panel, .mob-co-panel { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   MID-RANGE  1200px – 1380px  — keep desktop nav but scale it down
   so nothing jumps or squeezes at narrower laptop screens.
═══════════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) and (max-width: 1380px) {

    .main-header { padding: 6px 12px; }

    .navbar-nav .nav-link {
        font-size: 13px;
        padding: 7px 9px !important;
        gap: 4px;
    }

    .call-btn { width: 36px; height: 36px; font-size: 14px; }

    .demo-btn {
        font-size: 12px;
        padding: 8px 14px;
        gap: 6px;
    }

    .logo-img { max-height: 36px; }
}

/* ═══════════════════════════════════════════════════
   MOBILE / TABLET  ≤ 1199px
═══════════════════════════════════════════════════ */
@media (max-width: 1199px) {

    .top-bar { padding: 7px 0; }
    .top-bar .container { padding-left: 12px !important; padding-right: 12px !important; }
    .marquee { width: 55% !important; }

    .main-header { border-radius: 18px; padding: 8px 14px; }
    .logo-img { max-height: 34px; min-width: 70px; }

    .navbar-toggler {
        border: none; padding: 0;
        width: 36px; height: 36px;
        display: inline-flex; align-items: center; justify-content: center;
        background: var(--green-soft);
        color: var(--green-lite);
        border-radius: 8px;
        flex-shrink: 0;
    }
    .navbar-toggler:focus { box-shadow: none; }

    /* ── Offcanvas ── */
    .offcanvas.offcanvas-start {
        width: min(90vw, 320px) !important;
        border-right: 0;
        box-shadow: 15px 0 40px rgba(0,0,0,.14);
    }
    .offcanvas-header {
        background: #fff;
        border-bottom: 1px solid #f1f5f9;
        padding: 14px 16px;
        flex-shrink: 0;
    }
    .offcanvas-body {
        padding: 10px 12px !important;
        background: #f5f7fa;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1 1 auto;
        min-height: 0;
    }

    /* nav list */
    .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding-bottom: 16px;
    }

    /* Every nav-link is a white card on mobile */
    .navbar-nav .nav-link {
        padding: 12px 14px !important;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #eef1f5;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        white-space: normal;
    }
    .navbar-nav .nav-link:hover {
        background: var(--green-soft);
        border-color: rgba(26,166,75,.25);
        color: var(--green-lite) !important;
    }

    /* Chevron for dropdown triggers */
    .mob-trigger .nav-caret {
        font-size: 11px;
        transition: transform .25s var(--ease), color .2s;
        color: #94a3b8;
    }
    .mob-trigger.is-open > .nav-link .nav-caret {
        transform: rotate(180deg);
        color: var(--green-lite);
    }
    .mob-trigger.is-open > .nav-link {
        color: var(--green-lite) !important;
        background: var(--green-soft);
        border-color: rgba(26,166,75,.25);
    }

    /* Hide desktop megamenu panel on mobile */
    .dropdown-menu.megamenu { display: none !important; }

    /* ── Mobile accordion panel ── */
    .mob-panel {
        display: none;
        margin-top: 4px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid #e5eaf0;
        box-shadow: 0 2px 10px rgba(0,0,0,.04);
        overflow: hidden;
    }
    .mob-panel.is-open { display: block; }

    .mob-section {
        padding: 12px;
        border-bottom: 1px solid #f0f3f7;
    }
    .mob-section:last-child { border-bottom: none; }

    .mob-section-head {
        font-size: 9.5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .07em;
        color: #94a3b8;
        margin-bottom: 9px;
        padding-left: 8px;
        border-left: 3px solid var(--green-lite);
        line-height: 1;
        display: block;
    }

    .mob-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .mob-item {
        display: flex;
        align-items: center;
        gap: 7px;
        background: #f8fafc;
        border: 1px solid #eef1f5;
        border-radius: 9px;
        padding: 8px 8px;
        text-decoration: none;
        color: var(--navy);
        min-width: 0;
        overflow: hidden;
        transition: all .2s;
    }
    .mob-item:hover { background: var(--green-soft); border-color: rgba(26,166,75,.3); color: var(--green-lite); }
    .mob-icon {
        width: 28px; height: 28px; min-width: 28px;
        border-radius: 7px;
        background: var(--green-soft); color: var(--green-lite);
        display: flex; align-items: center; justify-content: center;
        font-size: 12px;
        flex-shrink: 0;
        transition: all .2s;
    }
    .mob-item:hover .mob-icon { background: var(--green-lite); color: #fff; }
    .mob-label {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    /* ── Mobile Company panel ── */
    .mob-co-panel {
        display: none;
        margin-top: 4px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid #e5eaf0;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,.04);
    }
    .mob-co-panel.is-open { display: block; }
    .mob-co-panel a {
        display: flex; align-items: center; gap: 9px;
        padding: 11px 14px;
        font-size: 13px; font-weight: 600;
        color: var(--navy);
        text-decoration: none;
        border-bottom: 1px solid #f0f3f7;
        transition: all .2s;
    }
    .mob-co-panel a:last-child { border-bottom: none; }
    .mob-co-panel a:hover { background: var(--green-soft); color: var(--green-lite); }
    .mob-co-panel a i { color: var(--green-lite); width: 16px; text-align: center; }

    /* Mobile header action buttons */
    .mob-actions {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        flex-shrink: 0;
    }
    .mob-actions .call-btn { width: 36px; height: 36px; }
    /* On very small screens keep demo btn as icon only */
    .mob-actions .demo-btn {
        padding: 0 12px;
        height: 36px;
        border-radius: 20px;
        font-size: 12px;
        gap: 5px;
    }

    /* Company hover menu hidden on mobile */
    .co-menu { display: none !important; }
}

/* Tiny phones: collapse "Book Demo" text to icon-only */
@media (max-width: 480px) {
    .mob-actions .demo-btn span { display: none !important; }
    .mob-actions .demo-btn {
        width: 36px;
        padding: 0 !important;
        justify-content: center;
        border-radius: 50% !important;
    }
    .mob-actions .demo-btn i { margin: 0 !important; font-size: 15px; }
    .marquee { width: 40% !important; }
}
.rs-tut-mega-wrap,
.rs-tut-mega-panel,
.rs-tut-mega-tab-btn {
    pointer-events: auto !important;
}


   