/* WizBrand global chrome — shared navbar + footer (loaded once via master layout) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    --wb-primary: #2563eb;
    --wb-accent: #3b82f6;
    --wb-navy: #0b1f44;
    --wb-navy-2: #0d2552;
    --wb-ink: #0f1b34;
    --wb-muted: #6b7894;
    --wb-line: #e6ecf5;
    --wb-navline: rgba(255,255,255,.1);
    --wb-navtext: #cfdaee;
}

/* "X" (formerly Twitter) brand mark — Font Awesome 4 has no x-twitter glyph,
   so render a bold X letter. Use class "icon-x" anywhere an <i> icon is expected. */
.icon-x { font-family: 'Plus Jakarta Sans','Inter','Segoe UI',Arial,sans-serif !important; font-weight: 800; font-style: normal; line-height: 1; }
.icon-x::before { content: "X"; }

/* Prevent the off-canvas mobile menu (fixed, slid off-screen right) from making the
   document wider than the screen (which shifted content right / cut it off). */
/* overflow-x: clip stops horizontal scroll WITHOUT breaking position:sticky (hidden would). */
html, body { overflow-x: clip; width: 100%; max-width: 100%; }

/* ---------------- Navbar ---------------- */
#navbar.navbar { position: sticky; top: 0; z-index: 1000; background: linear-gradient(180deg, var(--wb-navy-2), var(--wb-navy)); border-bottom: 1px solid var(--wb-navline); width: 100%; display: block !important; padding: 0 !important; margin: 0 !important; flex-wrap: nowrap; font-family: 'Inter','Segoe UI',Arial,sans-serif; }
#navbar .container { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; max-width: 1200px !important; width: 100% !important; margin: 0 auto !important; padding: .7rem 1.1rem !important; position: relative; }
#navbar .logo { display: inline-flex !important; align-items: center; flex: 0 0 auto; }
#navbar .logo img, #navbar .logos { height: 42px !important; width: auto !important; max-width: none !important; display: block !important; }

#navbar .nav-links { display: flex; align-items: center; gap: .12rem; list-style: none; margin: 0 !important; padding: 0 !important; }
#navbar .nav-links > li { margin: 0 !important; }
#navbar .nav-links > li > a { color: var(--wb-navtext) !important; font-family: 'Inter','Segoe UI',Arial,sans-serif !important; font-weight: 500 !important; font-size: .94rem !important; line-height: 1.2 !important; padding: .5rem .8rem; border-radius: 8px; transition: .18s; text-decoration: none; display: block; }
#navbar .nav-links > li > a:hover, #navbar .nav-links > li > a:focus { color: #fff !important; background: rgba(255,255,255,.09); text-decoration: none; }
.nav-links li a.btn-primary, .nav-links li button.btn-primary { display: inline-flex; align-items: center; gap: .4rem; background: linear-gradient(120deg, #3b82f6, #2563eb); color: #fff; font: inherit; font-weight: 600; border: none; cursor: pointer; padding: .55rem 1.3rem; margin-left: .5rem; border-radius: 8px; box-shadow: 0 8px 20px rgba(59,130,246,.45); text-decoration: none; }
.nav-links li a.btn-primary:hover, .nav-links li button.btn-primary:hover { filter: brightness(1.07); color: #fff; text-decoration: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; }

.nav-close { display: none; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(5,10,25,.6); z-index: 998; opacity: 0; transition: opacity .25s; }
.nav-backdrop.show { display: block; opacity: 1; }

.my_dropdown { position: relative; display: inline-block; }
.profile-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem .35rem .4rem; border-radius: 10px; cursor: pointer; background: rgba(255,255,255,.08); color: #fff; border: 1px solid var(--wb-navline); font: inherit; font-weight: 600; }
.nav-prof { display: inline-flex; align-items: center; gap: .45rem; }
.nav-avatar-btn { border: 0; background: transparent; padding: 0; margin: 0; line-height: 0; cursor: zoom-in; display: inline-flex; border-radius: 50%; }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.35); flex: 0 0 auto; }
.nav-avatar-btn:hover .nav-avatar { border-color: rgba(255,255,255,.7); }
.nav-lightbox { position: fixed; inset: 0; background: rgba(8,17,38,.78); display: none; align-items: center; justify-content: center; z-index: 3000; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.nav-lightbox.is-open { display: flex; }
.nav-lightbox__box { position: relative; max-width: 90vw; }
.nav-lightbox__box img { display: block; max-width: 340px; max-height: 80vh; border-radius: 18px; border: 4px solid #fff; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.nav-lightbox__close { position: absolute; top: -16px; right: -16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #0b2350; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.nav-lightbox__close:hover { transform: scale(1.08); }
.my_dropdown_content { display: none; position: absolute; right: 0; margin-top: .4rem; background: #0e2350; border: 1px solid var(--wb-navline); border-radius: 12px; min-width: 180px; box-shadow: 0 16px 36px rgba(0,0,0,.4); padding: 8px; z-index: 5; }
.my_dropdown_content a { display: block; color: var(--wb-navtext); padding: .55rem .7rem; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.my_dropdown_content a:hover { background: rgba(255,255,255,.08); color: #fff; }
.my_dropdown_content hr { border: none; border-top: 1px solid var(--wb-navline); margin: .3rem 0; }
.my_dropdown.open .my_dropdown_content { display: block; }

@media (max-width: 992px) {
    .nav-toggle { display: flex; }
    body.nav-open .nav-toggle { display: none; }

    /* Closed = removed from layout (display:none) so it can't widen the page.
       Open (.active) = shown + slides in from within the viewport (no off-screen overflow).
       NOTE: prefixed with #navbar to beat the desktop "#navbar .nav-links{display:flex}" specificity. */
    .nav-links {
        position: fixed; top: 0; right: 0; height: 100dvh; width: min(80vw, 300px);
        flex-direction: column; align-items: stretch; gap: 0; background: var(--wb-navy);
        border-left: 1px solid var(--wb-navline); box-shadow: -18px 0 55px rgba(0,0,0,.5);
        padding: 0 0 1.5rem; z-index: 1001; overflow-y: auto;
    }
    #navbar .nav-links { display: none; }
    #navbar .nav-links.active { display: flex; animation: wbNavIn .28s cubic-bezier(.4,0,.2,1); }
    @keyframes wbNavIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
    .nav-links::before { content: "Menu"; display: block; flex: 0 0 auto; font-family: 'Plus Jakarta Sans',sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--wb-navline); }
    .nav-close { display: grid; place-items: center; position: absolute; top: .95rem; right: 1rem; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid var(--wb-navline); color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; z-index: 1003; padding: 0; }
    .nav-close:hover { background: rgba(255,255,255,.16); }
    .nav-links > li { width: 100%; }
    #navbar .nav-links > li > a { display: block; font-size: 1rem !important; font-weight: 600 !important; color: #e7edf8 !important; padding: .95rem 1.4rem !important; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    #navbar .nav-links > li > a:hover { background: rgba(255,255,255,.06); color: #fff !important; }
    .nav-links li a.btn-primary, .nav-links li button.btn-primary { display: flex; justify-content: center; width: auto; margin: 1.2rem 1.4rem .4rem; padding: .9rem 1rem; border-radius: 11px; text-align: center; }
    .my_dropdown { width: 100%; }
    .profile-btn { width: 100%; border-radius: 0; border: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: .95rem 1.4rem; justify-content: space-between; background: rgba(255,255,255,.04); }
    .my_dropdown_content { display: block; position: static; border: none; box-shadow: none; background: rgba(255,255,255,.04); margin: 0; border-radius: 0; padding: 0; min-width: 0; }
    .my_dropdown_content a { padding: .8rem 2rem; }
    body.nav-open { overflow: hidden; }
}

.profile-btn .fa-angle-down { transition: transform .25s ease; }
.my_dropdown.open .profile-btn .fa-angle-down { transform: rotate(180deg); }

/* ---------------- Mega-menu ("Tools" dropdown) ---------------- */
.nav-mega { position: static; }
.nav-mega-trigger { background: none; border: none; cursor: pointer; color: var(--wb-navtext) !important; font: inherit; font-weight: 500; font-size: .94rem; line-height: 1.2; padding: .5rem .8rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .4rem; transition: .18s; }
.nav-mega-trigger:hover, .nav-mega.open .nav-mega-trigger { color: #fff !important; background: rgba(255,255,255,.09); }
.nav-mega-trigger i { font-size: .8rem; transition: transform .2s; }
.nav-mega.open .nav-mega-trigger i { transform: rotate(180deg); }
.nav-mega-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--wb-line); box-shadow: 0 30px 60px rgba(11,31,68,.22); padding: 28px 0; z-index: 1002; }
.nav-mega:hover .nav-mega-panel, .nav-mega.open .nav-mega-panel { display: block; }
.nav-mega-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 26px; }
.nav-mega-head { display: flex; align-items: center; gap: .5rem; font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-weight: 800; color: var(--wb-navy); font-size: .92rem; text-decoration: none; padding-bottom: .55rem; margin-bottom: .45rem; border-bottom: 2px solid #eef2f8; }
.nav-mega-head i { color: var(--wb-primary); }
.nav-mega-head:hover { color: var(--wb-primary); }
.nav-mega-item { display: flex; align-items: center; gap: .55rem; padding: .4rem .3rem; color: #41506b; text-decoration: none; font-size: .85rem; border-radius: 7px; }
.nav-mega-item:hover { color: var(--wb-primary); background: #f3f7ff; text-decoration: none; }
.nav-mega-item i { width: 22px; text-align: center; color: #8aa0c4; flex: 0 0 auto; }
.nav-mega-item:hover i { color: var(--wb-primary); }
.nav-mega-more { display: inline-block; margin-top: .35rem; font-size: .78rem; font-weight: 700; color: var(--wb-primary); text-decoration: none; padding: .2rem .3rem; }
.nav-mega-more:hover { text-decoration: underline; }
.nav-mega-foot { max-width: 1200px; margin: 20px auto 0; padding: 16px 24px 0; border-top: 1px solid #eef2f8; text-align: center; }
.nav-mega-foot a { font-weight: 800; color: var(--wb-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.nav-mega-foot a:hover { text-decoration: underline; }

@media (max-width: 992px) {
    .nav-mega-trigger { width: 100%; justify-content: space-between; color: #e7edf8 !important; font-size: 1rem !important; font-weight: 600 !important; padding: .95rem 1.4rem !important; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    .nav-mega-trigger:hover, .nav-mega.open .nav-mega-trigger { background: rgba(255,255,255,.06); }
    .nav-mega:hover .nav-mega-panel { display: none; }
    .nav-mega.open .nav-mega-panel { display: block; }
    .nav-mega-panel { position: static; box-shadow: none; border-top: none; padding: 0; background: rgba(255,255,255,.04); }
    .nav-mega-inner, .nav-mega-foot { max-width: none; padding: 0; }
    .nav-mega-grid { grid-template-columns: 1fr; gap: 0; }
    .nav-mega-col { padding: .7rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.06); }
    .nav-mega-head { color: #fff; border-bottom-color: rgba(255,255,255,.12); }
    .nav-mega-item { color: #cfdaee; }
    .nav-mega-item:hover { background: rgba(255,255,255,.06); color: #fff; }
    .nav-mega-foot { margin: 0; padding: 1rem 1.4rem; border-top-color: rgba(255,255,255,.12); }
    .nav-mega-foot a { color: #9ec2ff; }
}

/* ---------------- Footer ---------------- */
.wb-footer { background: #0b1f44; color: #fff; padding: 56px 0 0; font-size: 15px; font-family: 'Inter','Segoe UI',Arial,sans-serif; }
.wb-footer-container { max-width: 1300px; margin: 0 auto; padding: 0 16px; }
.wb-footer-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.wb-footer-col { min-width: 0; }
.wb-footer-heading { font-size: 1.02em; font-weight: 700; margin-bottom: 14px; background: none; border: none; color: #fff; width: 100%; text-align: left; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: space-between; font-family: 'Plus Jakarta Sans',sans-serif; -webkit-tap-highlight-color: transparent; }
/* Hide the focus box on tap/click; keep a clean ring only for keyboard users */
.wb-footer-heading:focus { outline: none; }
.wb-footer-heading:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; border-radius: 6px; }
.wb-footer-heading .wb-arrow { font-size: .8em; }
.wb-footer-panel { padding: 0; margin: 0; list-style: none; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.wb-footer-panel li { margin-bottom: 8px; }
.wb-footer-panel a { color: #9eaecb; text-decoration: none; transition: color .2s; }
.wb-footer-panel a:hover { color: #fff; text-decoration: underline; }
.wb-custom-button { display: inline-block; padding: 9px 20px; border: none; border-radius: 9px; background: #1d4ed8; color: #fff; font-weight: 700; cursor: pointer; margin-top: 10px; text-decoration: none; }
.wb-custom-button:hover,
.wb-custom-button:focus { background: #1741b6; color: #fff; text-decoration: none; }
.wb-footer-link { color: #9eaecb; display: block; margin-bottom: 6px; text-decoration: none; }
.wb-footer-link i { margin-right: 6px; }
.wb-footer-social a { color: #fff; font-size: 22px; margin-right: 12px; transition: color .2s; }
.wb-footer-social a:hover { color: #7eb0ff; }
.wb-footer-flags { display: flex; gap: 6px; margin-top: 8px; }
.wb-flag { width: 28px; height: 20px; border-radius: 3px; border: 1px solid #fff; background: url('https://www.wizbrand.com/assets/images/footer_all_icon.webp'); background-size: 117px; }
.wb-flag.india { background-position: -36.1px -6px; }
.wb-flag.us { background-position: -6px -28px; }
.wb-flag.gcc { background-position: -6px -6px; }
.wb-flag.uk { background-position: -3px 19px; }
.wb-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding: 20px 0; color: #9eaecb; font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wb-footer-bottom p { margin: 0; }
.wb-footer-bottom .legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.wb-footer-bottom .legal a { color: #9eaecb; text-decoration: none; }
.wb-footer-bottom .legal a:hover { color: #fff; text-decoration: underline; }
.wb-footer-heading .wb-arrow { display: none; }
@media (min-width: 901px) { .wb-footer-panel { max-height: none !important; overflow: visible; } }
@media (max-width: 1100px) { .wb-footer-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .wb-footer { padding-top: 40px; }
    .wb-footer-row { display: block; }
    .wb-footer-col { border-bottom: 1px solid rgba(255,255,255,.1); padding: 6px 0; }
    .wb-footer-heading { padding: 14px 2px; margin-bottom: 0; }
    .wb-footer-heading .wb-arrow { display: inline-block; transition: transform .3s; }
    .wb-footer-heading.active .wb-arrow { transform: rotate(180deg); }
    .wb-footer-panel { max-height: 0; padding: 0 2px; }
    .wb-footer-panel.open { max-height: 640px; padding-bottom: 12px; }
}
@media (max-width: 640px) { .wb-footer-bottom { flex-direction: column; text-align: center; gap: .7rem; } }

/* ---------------- Promo banner (above footer) — cream theme ---------------- */
.wz-promo { max-width: 1200px; margin: 60px auto; padding: 0 16px; font-family: 'Inter','Segoe UI',Arial,sans-serif; }
.wz-promo-card { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, #fdf2cf 0%, #fce4ad 100%); color: #16233f; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding: 54px; box-shadow: 0 26px 64px rgba(180,140,40,.20); }
.wz-promo-body { position: relative; z-index: 1; }
.wz-promo-head { display: flex; align-items: center; gap: .85rem; margin: 0 0 1rem; }
.wz-promo-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 12px 26px rgba(245,158,11,.45); }
.wz-promo-card h2 { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; color: #16233f; line-height: 1.06; letter-spacing: -.02em; }
.wz-promo-sub { color: #5b6577; font-size: 1.06rem; line-height: 1.5; margin: 0 0 1.9rem; max-width: 520px; }
.wz-promo-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.wz-promo-btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; border-radius: 13px; padding: .95rem 1.8rem; text-decoration: none; transition: .18s; border: 1px solid transparent; }
.wz-promo-btn.primary { background: linear-gradient(120deg, #fbbf24, #f59e0b); color: #3b2a06; box-shadow: 0 14px 30px rgba(245,158,11,.4); }
.wz-promo-btn.primary:hover { filter: brightness(1.05); transform: translateY(-2px); color: #3b2a06; }
.wz-promo-btn.ghost { background: #fff; color: #16233f; border-color: #ecdcab; box-shadow: 0 8px 20px rgba(180,140,40,.14); }
.wz-promo-btn.ghost:hover { background: #fffaf0; color: #16233f; transform: translateY(-2px); }

/* Right-side visual: white doc over a coral panel (iLovePDF-style), CSS only */
.wz-promo-visual { position: relative; min-height: 280px; z-index: 1; }
.wz-promo-visual::before { content: ""; position: absolute; right: 12%; top: 4%; bottom: 4%; width: 64%; border-radius: 28px; background: linear-gradient(180deg, #fb7a72, #ef4444); box-shadow: 0 20px 44px rgba(239,68,68,.35); }
.wz-doc { position: relative; z-index: 1; background: #fff; border-radius: 16px; box-shadow: 0 28px 60px rgba(0,0,0,.22); padding: 20px; max-width: min(300px, 100%); margin: 0 auto; transform: rotate(-2deg); }
.wz-doc .accent { width: 64px; height: 8px; border-radius: 5px; background: #ef4444; margin-bottom: 14px; }
.wz-doc .bar { height: 9px; border-radius: 6px; background: #e6ecf5; margin-bottom: 9px; }
.wz-doc .bar.title { width: 70%; height: 14px; background: #1f2d4d; }
.wz-doc .bar.w80 { width: 80%; } .wz-doc .bar.w60 { width: 60%; } .wz-doc .bar.w90 { width: 90%; }
.wz-doc .thumb { height: 92px; border-radius: 10px; background: linear-gradient(135deg, #dbe6fb, #aac4f0); margin: 14px 0; }
.wz-doc .row { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.wz-doc .sign { flex: 1; height: 40px; border-radius: 8px; border: 1px dashed #c3d4ef; background: #f7faff; display: grid; place-items: center; color: #9fb3d6; font-size: 1.2rem; }
.wz-doc .aa { width: 64px; height: 44px; border-radius: 8px; background: #eef4ff; display: grid; place-items: center; font-weight: 800; color: #2563eb; border-bottom: 3px solid #2563eb; }
.wz-crown { position: absolute; left: 2%; bottom: 6%; z-index: 2; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b); display: grid; place-items: center; color: #7c4a03; font-size: 1.5rem; box-shadow: 0 16px 32px rgba(245,158,11,.5); }
.wz-spark { position: absolute; right: 5%; top: 3%; z-index: 2; color: #f59e0b; font-size: 1.6rem; }

@media (max-width: 800px) {
    .wz-promo-card { grid-template-columns: 1fr; padding: 36px 26px; text-align: center; }
    .wz-promo-head { justify-content: center; }
    .wz-promo-sub { margin-left: auto; margin-right: auto; }
    .wz-promo-actions { justify-content: center; }
    .wz-promo-visual { margin-top: 30px; min-height: 220px; }
}
