/* ============================================================
   HostGuru WHMCS theme overrides (nexus-hostguru)
   Mirrors https://hostguru.co.ke header/footer design.
   Loaded after theme.min.css + custom.css in includes/head.tpl
   ============================================================ */

:root {
    --orange: #f57200;
    --od: #d96000;
    --navy: #07101f;
    --navy2: #0f172a;
    --muted: #6b7280;
    --bd: #e5e7eb;
    --gr: #f9fafb;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0d1117;
    background: #fff;
}

a { text-decoration: none; }

.container-hg {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   TOPBAR (36px navy bar)
   ============================================================ */
.hg-topbar {
    background: #07101f;
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    overflow: visible !important;
}
.hg-topbar .hg-topbar-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 36px !important;
    gap: 12px !important;
    overflow: visible !important;
}
.hg-topbar .hg-topbar-inner > span {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 36px !important;
}
.hg-tb-promo,
.hg-tb-promo a,
.hg-tb-item,
.hg-topbar-right > a:not(.hg-topbar-btn) {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, .80) !important;
    text-decoration: none;
    white-space: nowrap;
}
.hg-tb-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.hg-tb-item svg { flex-shrink: 0; }
.hg-tb-promo a:hover,
.hg-tb-item:hover,
.hg-topbar-right > a:not(.hg-topbar-btn):hover { color: #fff !important; }
.hg-tb-promo b, .hg-tb-promo strong { font-weight: 700 !important; color: #fff !important; }
.hg-sep {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .25);
    padding: 0 4px;
}
.hg-topbar-right {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    margin-left: auto;
    position: relative;
    overflow: visible !important;
}
.hg-topbar-btn {
    display: inline-flex;
    align-items: center;
    background: #f57200;
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 4px;
}
.hg-topbar-btn:hover { background: #d96000; color: #fff !important; }

/* --- Help Center dropdown (topbar) --- */
.hg-tb-help {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.hg-tb-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0 8px;
    font-family: inherit;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, .80);
    cursor: pointer;
    letter-spacing: 0;
    line-height: 1;
    transition: color .15s;
    min-height: 0;
}
.hg-tb-help-btn:hover,
.hg-tb-help:hover .hg-tb-help-btn { color: #f57200; }
.hg-tb-chev { transition: transform .2s; flex-shrink: 0; }
.hg-tb-help:hover .hg-tb-chev { transform: rotate(180deg); }
.hg-tb-help-dd {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    transform: none;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .08);
    border: 1px solid #e5e7eb;
    min-width: 520px;
    max-width: calc(100vw - 32px);
    z-index: 9999;
    overflow: hidden;
    padding-top: 8px;
    margin-top: 0;
}
.hg-tb-help-dd::before {
    content: '';
    position: absolute;
    top: -12px; left: 0; right: 0;
    height: 12px;
    background: transparent;
}
.hg-tb-help-dd::after {
    content: '';
    position: absolute;
    top: -6px; right: 22px;
    left: auto;
    width: 12px; height: 12px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    transform: rotate(45deg);
    pointer-events: none;
}
.hg-tb-help:hover .hg-tb-help-dd,
.hg-tb-help-dd:hover,
.hg-tb-help.open .hg-tb-help-dd { display: block; }
.hg-tb-help-cols { display: grid; grid-template-columns: 1fr 1fr; }
.hg-tb-help-col { padding: 20px 20px 22px; }
.hg-tb-help-col:first-child { border-right: 1px solid #f1f5f9; }
.hg-tb-head {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af !important;
    margin: 0 0 12px;
    padding: 0 8px;
}
.hg-tb-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 7px;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #374151 !important;
    text-decoration: none;
    line-height: 1.3;
    transition: background .12s, color .12s;
    white-space: nowrap;
    letter-spacing: 0;
}
.hg-tb-link svg {
    flex-shrink: 0;
    width: 15px; height: 15px;
    color: #94a3b8 !important;
    transition: color .12s;
}
.hg-tb-link:hover { background: #fff7ed; color: #f57200 !important; }
.hg-tb-link:hover svg { color: #f57200 !important; }
.hg-tb-help-dd, .hg-tb-help-dd * { color: #1e293b; }

/* ============================================================
   HEADER (sticky, white)
   ============================================================ */
.hg-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    transition: box-shadow .25s, border-color .25s;
}
.hg-header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
    border-bottom-color: transparent;
}
.hg-navbar {
    display: flex;
    align-items: stretch;
    height: 60px;
    min-height: 60px;
    width: 100%;
    flex-wrap: nowrap;
}
.hg-nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 0;
    min-width: 0;
    flex-wrap: nowrap;
    box-sizing: border-box;
}
.hg-nav-inner .navbar-brand {
    margin-right: 18px;
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}
.hg-nav-inner .navbar-brand img {
    height: 38px;
    width: auto;
    display: block;
}

/* --- Primary mega menu --- */
.navbar-nav {
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 60px;
}
#hg-menubar {
    flex: 1;
    right: auto !important;
    box-shadow: none;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}
.navbar-nav .nav-item {
    position: static;
    display: flex;
    align-items: center;
}
.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0 10px;
    height: 60px;
    font-weight: 400;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item:hover > .nav-link {
    color: #f57200;
    border-bottom-color: #f57200;
}
.navbar-nav .nav-item:has(> .hg-dd) > .nav-link::after {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    margin-left: 3px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23374151' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform .2s, filter .15s;
    vertical-align: middle;
}
.navbar-nav .nav-item:has(> .hg-dd):hover > .nav-link::after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23f57200' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* --- Mega dropdown panels --- */
.hg-dd {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
    z-index: 9999;
    padding: 28px 0 24px;
    animation: hg-dd-in .18s ease;
}
.navbar-nav .nav-item:hover > .hg-dd,
.navbar-nav .nav-item.hg-dd-open > .hg-dd,
.navbar-nav .nav-item:focus-within > .hg-dd { display: block; }
@keyframes hg-dd-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.navbar-nav .nav-item.hg-dd-open > .nav-link,
.navbar-nav .nav-item:focus-within > .nav-link {
    color: #f57200;
    border-bottom-color: #f57200;
}
.hg-dd-inner {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hg-dd-col {
    flex: 1;
    padding: 0 28px;
    border-right: 1px solid #f3f4f6;
}
.hg-dd-col:last-child { border-right: none; }
.hg-dd-head {
    font-size: 11px;
    font-weight: 800;
    color: #9ca3af;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.hg-dd a[href="#"], .hg-dd a[href=""] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}
.hg-dd a[href="#"] .t, .hg-dd a[href=""] .t {
    font-size: 11px;
    font-weight: 800;
    color: #9ca3af !important;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.hg-dd a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
}
.hg-dd a .t {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #f57200;
    margin-bottom: 2px;
    transition: color .15s;
}
.hg-dd a:hover .t { color: #d96000; }
.hg-dd a .m {
    display: block;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* --- Right icons: account / cart / hamburger --- */
.hg-nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    gap: 4px;
    flex-shrink: 0;
}
.hg-nav-right .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
.hg-nav-right .nav-link {
    border-bottom: none !important;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    height: auto;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    background: none;
    border: none;
    transition: color .15s, background .15s;
    cursor: pointer;
}
.hg-nav-right .nav-link:hover {
    color: #f57200;
    border-bottom: none !important;
}
.nav-item-acc { position: relative !important; }
.nav-item-acc .hg-dd {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: auto !important;
    right: 0 !important;
    width: 190px !important;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    border: 1px solid #f0f0f0;
}
.nav-item-acc:hover > .hg-dd,
.nav-item-acc.hg-acc-open > .hg-dd { display: block !important; }
.nav-item-acc .hg-dd a {
    padding: 8px 12px;
    border-radius: 8px;
    transition: background .15s;
    color: #374151;
    font-size: 13.5px;
    font-weight: 500;
}
.nav-item-acc .hg-dd a:hover { background: #fff7ed; color: #f57200; }
.nav-item-acc .hg-dd .hg-acc-head {
    font-size: 12px;
    font-weight: 700;
    color: #f57200;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.nav-item-acc .hg-dd .hg-acc-divider {
    border-top: 1px solid #f0f0f0;
    margin: 6px 4px;
}
#hg-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f57200;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    margin-left: 3px;
}
.hg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f57200;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    min-width: 17px;
    height: 17px;
    margin-left: 3px;
    padding: 0 4px;
}

/* ============================================================
   WHMCS NAVBAR MENUS (Menu Manager items)
   ============================================================ */
.hg-main-menu > li,
.hg-nav-right > li {
    position: relative;
    display: flex;
    align-items: center;
}
.hg-main-menu > li > a {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 10px;
    font-weight: 400;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.hg-main-menu > li > a:hover {
    color: #f57200;
    border-bottom-color: #f57200;
}
.hg-main-menu > li > a.dropdown-toggle::after {
    border-top-color: #9ca3af;
    transition: transform .2s, border-top-color .15s;
}
.hg-main-menu > li:hover > a.dropdown-toggle::after {
    transform: rotate(180deg);
    border-top-color: #f57200;
}
.hg-nav-right > li > a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s, background .15s;
}
.hg-nav-right > li > a:hover {
    color: #f57200;
    background: #fff7ed;
}
.hg-nav-right > li[menuItemName="Register"] > a {
    background: #f57200;
    color: #fff !important;
    padding: 7px 14px;
    font-weight: 700;
    margin-left: 4px;
}
.hg-nav-right > li[menuItemName="Register"] > a:hover {
    background: #d96000;
    color: #fff !important;
}
.hg-main-menu .dropdown-menu,
.hg-nav-right .dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    z-index: 9999;
}
.hg-nav-right .dropdown-menu {
    left: auto;
    right: 0;
    top: calc(100% + 4px);
}
.hg-main-menu > li:hover > .dropdown-menu,
.hg-nav-right > li:hover > .dropdown-menu {
    display: block;
}
.hg-main-menu .dropdown-menu .dropdown-item,
.hg-nav-right .dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.hg-main-menu .dropdown-menu .dropdown-item:hover,
.hg-nav-right .dropdown-menu .dropdown-item:hover {
    background: #fff7ed;
    color: #f57200;
}
.hg-main-menu > li.active > a,
.hg-main-menu > li.active > a:hover {
    color: #f57200;
    border-bottom-color: #f57200;
}
.hg-nav-right > li.active > a { color: #f57200; }
.hg-main-menu .dropdown-menu .dropdown-item.active,
.hg-nav-right .dropdown-menu .dropdown-item.active,
.hg-main-menu .dropdown-menu .dropdown-item:active,
.hg-nav-right .dropdown-menu .dropdown-item:active {
    background-color: #fff7ed;
    color: #f57200;
}
.hg-main-menu .dropdown-menu .dropdown-divider,
.hg-nav-right .dropdown-menu .dropdown-divider {
    border-top: 1px solid #f0f0f0;
    margin: 6px 4px;
}

/* Menu icons */
.hg-main-menu > li > a > i {
    color: #f57200;
    width: 18px;
    text-align: center;
    margin-right: 4px;
    font-size: 15px;
}
.hg-main-menu > li > a:hover > i { color: #f57200; }
.hg-main-menu .dropdown-menu .dropdown-item > i {
    width: 15px;
    text-align: center;
    margin-right: 5px;
    color: #9ca3af;
    font-size: 13px;
}
.hg-main-menu .dropdown-menu .dropdown-item:hover > i { color: #f57200; }

/* Logged-in "My Account" dropdown: icon + match the primary menu's font size */
.hg-nav-right > li.dropdown > a::before {
    content: '\f2bd';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 300;
    color: #f57200;
    font-size: 15px;
    margin-right: 4px;
}
@media (min-width: 992px) {
    .hg-nav-right > li.dropdown > a { font-size: 16px; }
}

/* Tablet / narrow desktop: stop the primary menu from overflowing */
@media (min-width: 992px) and (max-width: 1199px) {
    .hg-nav-inner .navbar-brand { margin-right: 16px; }
    .hg-nav-inner .navbar-brand img { width: 150px; height: auto; }
    .hg-main-menu > li > a { padding: 0 9px; }
    .hg-nav-right > li > a { padding: 8px 8px; font-size: 13px; }
}
@media (max-width: 991px) {
    .hg-nav-right > li > a { padding: 6px 8px; font-size: 12.5px; }
    .hg-nav-right > li[menuItemName="Register"] > a { padding: 5px 10px; font-size: 12px; }
}

/* Topbar responsive: keep it tidy on laptops/tablets */
@media (max-width: 1199px) {
    .hg-tb-promo { display: none !important; }
}
@media (max-width: 991px) {
    .hg-topbar-right > a[href^="mailto"] { display: none !important; }
    .hg-topbar-right > .hg-sep { display: none !important; }
}
@media (max-width: 900px) {
    .hg-tb-help-dd { min-width: 480px; }
}

/* ============================================================
   MOBILE PANEL
   ============================================================ */
#hg-mobile-panel {
    position: fixed;
    top: 0;
    right: -310px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    overflow-y: auto;
    transition: right .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -4px 0 28px rgba(0, 0, 0, .22);
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
}
#hg-mobile-panel.open { right: 0; }
.hgmp-head {
    background: #f57200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    flex-shrink: 0;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}
.hgmp-head button {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 4px;
    min-height: 0;
    display: flex;
    align-items: center;
}
.hgmp-body { flex: 1; overflow-y: auto; }
.hgmp-item { border-bottom: 1px solid #f0f0f0; }
.hgmp-row { display: flex; align-items: stretch; }
.hgmp-link {
    flex: 1;
    padding: 14px 20px;
    color: #222;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.hgmp-link:hover { color: #f57200; }
.hgmp-toggle {
    background: none;
    border: none;
    border-left: 1px solid #f0f0f0;
    padding: 0 16px;
    cursor: pointer;
    color: #9ca3af;
    min-height: 0;
    display: flex;
    align-items: center;
    transition: color .18s, background .18s;
    flex-shrink: 0;
}
.hgmp-toggle:hover { background: #fff7ed; color: #f57200; }
.hgmp-toggle svg { transition: transform .22s; }
.hgmp-item.open .hgmp-toggle { color: #f57200; }
.hgmp-item.open .hgmp-toggle svg { transform: rotate(180deg); }
.hgmp-sub {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1);
    background: #f9fafb;
    border-top: 1px solid #f0f0f0;
}
.hgmp-item.open .hgmp-sub { max-height: 900px; }
.hgmp-sub-link {
    display: block;
    padding: 10px 20px 10px 28px;
    color: #374151;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}
.hgmp-sub-link:last-child { border-bottom: none; }
.hgmp-sub-link:hover { color: #f57200; background: #fff7ed; }
.hgmp-sub-head {
    display: block;
    padding: 10px 20px 4px 28px;
    font-size: 10px;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.hgmp-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
}
.hgmp-cta-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.hgmp-cta-btn-primary { background: #f57200; color: #fff !important; }
.hgmp-cta-btn-outline { border: 1.5px solid #e5e7eb; color: #374151 !important; }
#hg-mob-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 99998;
}
#hg-mob-backdrop.show { display: block; }
body.hg-menu-open { overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.hgf {
    background: #07101f;
    border-top: none;
    font-family: "Open Sans", sans-serif;
    color: #8b95aa;
    font-size: 14px;
    margin-top: 48px;
}
.hgf-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hgf-nav { padding: 48px 0 40px; }
.hgf-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 48px;
}
.hgf-heading {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
    background: none;
    border: none;
    cursor: default;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hgf-chev { display: none; flex-shrink: 0; transition: transform .25s cubic-bezier(.4, 0, .2, 1); color: #4e5a70; }
.hgf-col ul { list-style: none; padding: 0; margin: 0; }
.hgf-col ul li { margin-bottom: 11px; }
.hgf-col ul li a {
    font-size: 14px;
    color: #8b95aa;
    text-decoration: none;
    transition: color .15s;
    line-height: 1.4;
}
.hgf-col ul li a:hover { color: #f57200; }
.hgf-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 20px 0;
}
.hgf-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.hgf-bottom-brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hgf-bottom-brand img { display: block; }
.hgf-tagline { font-size: 13px; color: #4e5a70; white-space: nowrap; }
.hgf-bottom-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hgf-bottom-social { display: flex; align-items: center; gap: 4px; }
.hgf-bottom-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    color: #8b95aa;
    transition: background .15s, color .15s;
    box-sizing: border-box;
    padding: 0;
    line-height: 1;
}
.hgf-bottom-social a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hgf-bottom-btns { display: flex; gap: 8px; }
.hgf-bbtn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 5px;
    font-size: 13.5px;
    font-weight: 600;
    color: #c5ccd8 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, .14);
    background: transparent;
    transition: border-color .15s, color .15s;
    white-space: nowrap;
}
.hgf-bbtn:hover { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.hgf-bbtn-primary { background: #f57200 !important; border-color: #f57200 !important; color: #fff !important; }
.hgf-bbtn-primary:hover { background: #d96400 !important; border-color: #d96400 !important; }
.hgf-copy {
    background: #040b14;
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 11px 0;
}
.hgf-copy-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #3a4459;
}
.hgf-copy-links { display: flex; gap: 18px; align-items: center; }
.hgf-copy-links a { color: #3a4459; text-decoration: none; transition: color .15s; }
.hgf-copy-links a:hover { color: #f57200; }
.hgf-copy-lang {
    background: none;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 5px;
    color: #8b95aa;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hgf-copy-lang:hover { color: #f57200; border-color: #f57200; }

/* ============================================================
   PAGE HERO + CONTENT AREA
   ============================================================ */
.hg-hero {
    position: relative;
    background: linear-gradient(135deg, #07101f 0%, #0c1c38 55%, #13284f 100%);
    color: #fff;
    padding: 38px 0 44px;
    overflow: hidden;
}
.hg-hero::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -100px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 114, 0, .3), transparent 70%);
    pointer-events: none;
}
.hg-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .45;
    pointer-events: none;
}
.hg-hero-inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
}
.hg-hero-crumb { margin-bottom: 14px; }
.hg-hero-crumb .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 12.5px;
}
.hg-hero-crumb .breadcrumb-item { color: #9fb0c9; }
.hg-hero-crumb .breadcrumb-item + .breadcrumb-item::before { color: #5a6a85; }
.hg-hero-crumb .breadcrumb a { color: #ffb066; text-decoration: none; }
.hg-hero-crumb .breadcrumb a:hover { color: #f57200; }
.hg-hero-crumb .breadcrumb-item.active { color: #e5ecf5; }
.hg-hero-title {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.2;
    color: #fff;
}
.hg-hero-sub {
    margin: 10px 0 0;
    max-width: 640px;
    font-size: 15px;
    color: #a7b6cd;
}
.hg-hero-side {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    padding-bottom: 4px;
}
.hg-hero-compact { padding: 22px 0 26px; }
.hg-hero-compact .hg-hero-title {
    font-size: 26px;
    position: relative;
    padding-left: 16px;
}
.hg-hero-compact .hg-hero-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffb066, #f57200);
}
.hg-hero-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}
.hg-hero-chip svg { color: #f57200; flex-shrink: 0; }
.hg-hero-chip b { display: block; color: #fff; font-size: 15px; line-height: 1.1; }
.hg-hero-chip span { font-size: 12px; color: #9fb0c9; }

section#main-body { padding-top: 28px; padding-bottom: 48px; min-height: 60vh; }
section#main-body > div.container { max-width: 1200px; }

@media (max-width: 991px) {
    .hg-hero-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
    .hg-hero-side { padding-bottom: 0; }
}
@media (max-width: 640px) {
    .hg-hero { padding: 28px 0 32px; }
    .hg-hero-title { font-size: 26px; }
    .hg-hero-side { flex-direction: column; gap: 10px; }
    .hg-hero-sub { font-size: 14px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    #hg-menubar { display: none !important; }
    #hg-mobile-toggle-li { display: flex !important; }
    .hg-navbar { height: 56px; min-height: 56px; }
    .hg-nav-inner { padding-left: 12px !important; padding-right: 12px !important; }
    .hg-nav-inner .navbar-brand { margin-right: 8px !important; min-width: 0 !important; }
    .hg-nav-inner .navbar-brand img { max-width: 128px !important; height: auto !important; }
    .hg-nav-right { flex: 0 0 auto !important; margin-left: auto !important; width: auto !important; justify-content: flex-end !important; gap: 0 !important; }
    .hg-nav-right .nav-link { padding: 8px 8px !important; min-height: 40px !important; }
    #hg-mobile-toggle-li > .nav-link { padding-right: 0 !important; }
    #hg-mobile-panel { width: min(86vw, 320px) !important; right: calc(-1 * min(86vw, 320px)) !important; }
    #hg-mobile-panel.open { right: 0 !important; }
}
@media (max-width: 767px) {
    .container-hg { padding: 0 12px !important; }
    .hg-tb-promo { display: none !important; }
    .hg-topbar-right > a[href^="mailto"] { display: none !important; }
    .hg-topbar-right { margin-left: auto !important; }
    .hg-topbar-right > .hg-sep { display: none !important; }
    .hg-topbar-right > a[href*="clientarea"] { display: none !important; }
    .hg-topbar-inner { justify-content: space-between !important; gap: 0 !important; }
    .hg-topbar-right { gap: 10px !important; }
    .hg-topbar-right > a[href^="tel"] { font-size: 12px !important; font-weight: 600 !important; color: #fff !important; }
    .hg-topbar-btn { font-size: 11px !important; padding: 3px 10px !important; }
    .hgmp-link { padding: 13px 12px !important; font-size: 13.5px !important; }
    .hgmp-toggle { padding: 0 12px !important; }
    .hgmp-sub-link { padding: 9px 12px 9px 20px !important; font-size: 13px !important; }
    .hgmp-sub-head { padding: 9px 12px 3px 20px !important; }
    .hgmp-cta { flex-direction: row !important; gap: 8px !important; padding: 14px 12px !important; }
    .hgmp-cta-btn { flex: 1 !important; padding: 10px 8px !important; font-size: 13px !important; border-radius: 7px !important; }
    .hgf-copy-links a[href*="serverstatus"] { display: none !important; }
    .hgf-bbtn { display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 10px 14px !important; font-size: 12.5px !important; line-height: 1 !important; }
    section#main-body > div.container { max-width: 100%; }
}
@media (max-width: 960px) {
    .hgf-cols { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
    .hgf-nav { padding: 36px 0 32px; }
}
@media (max-width: 768px) {
    .hg-tb-help { display: none; }
}
@media (max-width: 640px) {
    .hgf-container { padding: 0 20px; }
    .hgf-bottom-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hgf-bottom-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
    .hgf-tagline { display: none; }
    .hgf-bottom-right { width: 100%; justify-content: space-between; }
    .hgf-cols { grid-template-columns: 1fr; gap: 0; }
    .hgf-nav { padding: 0; }
    .hgf-col { border-bottom: 1px solid rgba(255, 255, 255, .07); }
    .hgf-col:first-child { border-top: 1px solid rgba(255, 255, 255, .07); }
    .hgf-heading { margin: 0 !important; padding: 16px 20px !important; cursor: pointer; }
    .hgf-chev { display: block; }
    .hgf-heading[aria-expanded="true"] .hgf-chev { transform: rotate(180deg); }
    .hgf-heading[aria-expanded="true"] { color: #f57200 !important; }
    .hgf-col ul {
        overflow: hidden;
        max-height: 0;
        transition: max-height .3s cubic-bezier(.4, 0, .2, 1), padding .3s;
        padding: 0 20px;
    }
    .hgf-col ul.open { max-height: 700px; padding: 0 20px 16px; }
}
@media (max-width: 480px) {
    .hgf-copy-inner { flex-direction: column; align-items: center; text-align: center; }
    .hgf-copy-links { justify-content: center; flex-wrap: wrap; }
}

/* ============================================================
   MODERN TOGGLE SWITCH (restyles WHMCS bootstrap-switch from the
   segmented YES | knob | NO control into a clean pill toggle)
   ============================================================ */
body .bootstrap-switch {
    position: relative;
    width: 48px !important;
    height: 26px !important;
    min-width: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #d1d5db;
    overflow: hidden !important;
    box-shadow: none !important;
    vertical-align: middle;
    cursor: pointer;
    transition: background .2s ease;
}
body .bootstrap-switch.bootstrap-switch-on { background: #f57200; }
body .bootstrap-switch.bootstrap-switch-off { background: #d1d5db; }
body .bootstrap-switch .bootstrap-switch-container {
    width: auto !important;
    transition: none !important;
}
body .bootstrap-switch .bootstrap-switch-handle-on,
body .bootstrap-switch .bootstrap-switch-handle-off {
    display: none !important;
}
body .bootstrap-switch .bootstrap-switch-label {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3) !important;
    overflow: hidden;
    font-size: 0;
    text-indent: -9999px;
    transition: left .2s ease;
    z-index: 2;
}
body .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label { left: 25px; }
body .bootstrap-switch input[type='checkbox'],
body .bootstrap-switch input[type='radio'] { z-index: 0; }
