:root {
    --qhb-primary: #2D9389;
    --qhb-teal: #39BAAE;
    --qhb-mint: #A8E4DF;
    --qhb-bg: #F6FCFC;
    --qhb-cta: #FF6B4A;
    --qhb-dark: #0F2A38;
    --qhb-text: #1E293B;
    --qhb-muted: #64748B;
}

header.qias-hb-header, section.qias-hb-hero-wrap, section.qias-hb-section, .qias-hb-modal-overlay,
header.qias-hb-header *, section.qias-hb-hero-wrap *, section.qias-hb-section *, .qias-hb-modal-overlay * {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    box-sizing: border-box;
}
.qias-hb-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* === WOODMART FULL-WIDTH & OVERLAY HERO (Cross-browser: JS host classes + :has fallback) === */
.whb-header .qias-hb-whb-col,
.whb-header .qias-hb-whb-text {
    width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important;
}.whb-header.qias-hb-whb-host,
.whb-header.qias-hb-whb-host .whb-main-header,
.whb-header.qias-hb-whb-host .whb-general-header {
    background: transparent !important; box-shadow: none !important; border: none !important;
}body.home .whb-header.qias-hb-whb-overlay {
    position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 9999 !important;
    background: transparent !important; box-shadow: none !important; border: none !important;
}body.home .whb-header.qias-hb-whb-overlay .whb-main-header,
body.home .whb-header.qias-hb-whb-overlay .whb-general-header {
    background: transparent !important; box-shadow: none !important; border: none !important;
}body.home.admin-bar .whb-header.qias-hb-whb-overlay { top: 32px !important; }

/* === COMBINED ELEMENTOR TOP SHELL (Zero WoodMart interference) === */
.qias-hb-top-shell { position: relative; width: 100%; }
.qias-hb-top-shell > header.qias-hb-header.qias-hb-overlay-hero {
    position: absolute; top: 0; left: 0; right: 0; z-index: 9999;
}

/* === HEADER === */
header.qias-hb-header { width: 100% !important; position: relative; z-index: 9999; transition: all 0.28s ease; }
header.qias-hb-header.qias-hb-sticky { position: sticky; top: 0; }
header.qias-hb-header.qias-hb-overlay-hero.qias-hb-sticky { position: fixed; top: 0; left: 0; right: 0; }
.admin-bar header.qias-hb-header.qias-hb-sticky.is-scrolled,
.admin-bar header.qias-hb-header.qias-hb-overlay-hero.qias-hb-sticky { top: 32px; }

.qias-hb-header-shell { max-width: 1280px; margin: 0 auto; padding: 0 16px; transition: all 0.25s ease; }
.qias-hb-hdr-full .qias-hb-header-shell { max-width: 100%; padding: 0 24px; }

.qias-hb-header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: var(--qhb-hdr-h-desk, 68px); transition: all 0.25s ease;
}

.qias-hb-tpl-glass_pill { padding: 10px 0; background: transparent !important; }

/* === GLOBAL SITE HEADER MOUNT (Fixed freeze + zero white band) === */
#qias-hb-global-mount { background: transparent !important; }
#qias-hb-global-mount.qias-hb-global-fixed {
    position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important;
    width: 100% !important; z-index: 99999 !important; background: transparent !important;
    pointer-events: none;
}
#qias-hb-global-mount.qias-hb-global-fixed > header.qias-hb-header {
    position: relative !important; top: auto !important; pointer-events: auto; background: transparent;
}
#qias-hb-global-mount.qias-hb-global-fixed > header.qias-hb-header.qias-hb-tpl-classic_clean { background: #FFFFFF; }
#qias-hb-global-mount.qias-hb-global-fixed > header.qias-hb-header.qias-hb-tpl-topbar_modern { background: #FFFFFF; }
#qias-hb-global-mount.qias-hb-global-fixed > header.qias-hb-header.qias-hb-tpl-minimal_dark { background: linear-gradient(90deg, #0F2A38, #134E4A); }
body.admin-bar #qias-hb-global-mount.qias-hb-global-fixed { top: 32px !important; }
@media (max-width: 782px) {
    body.admin-bar #qias-hb-global-mount.qias-hb-global-fixed { top: 46px !important; }
}

.qias-hb-tpl-glass_pill .qias-hb-header-inner {
    background: rgba(240, 253, 250, 0.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(168, 228, 223, 0.92); border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15, 118, 110, 0.12); padding: 6px 20px;
}
.qias-hb-tpl-classic_clean { background: #FFFFFF; border-bottom: 1px solid #E2E8F0; box-shadow: 0 4px 16px rgba(15,23,42,0.04); }
.qias-hb-tpl-classic_clean .qias-hb-header-inner { padding: 6px 8px; }
.qias-hb-tpl-topbar_modern { background: #FFFFFF; box-shadow: 0 6px 20px rgba(15,23,42,0.06); }
.qias-hb-topbar { background: linear-gradient(90deg, #0F766E, #2D9389); color: #FFFFFF; font-size: 12.5px; font-weight: 700; padding: 6px 0; }
.qias-hb-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qias-hb-topbar-phone { color: #FFFFFF; text-decoration: none; background: rgba(255,255,255,0.16); padding: 2px 10px; border-radius: 99px; }
.qias-hb-tpl-minimal_dark { background: linear-gradient(90deg, #0F2A38, #134E4A); color: #FFFFFF; }
.qias-hb-tpl-minimal_dark .qias-hb-brand, .qias-hb-tpl-minimal_dark .qias-hb-nav-link { color: #FFFFFF; }

header.qias-hb-header.is-scrolled.qias-hb-sticky-glass_shrink { padding: 6px 0; }
header.qias-hb-header.is-scrolled.qias-hb-sticky-glass_shrink .qias-hb-header-inner {
    min-height: 56px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(18px);
    border-radius: 16px; box-shadow: 0 12px 32px rgba(15,23,42,0.14); border: 1px solid #CCFBF1; padding: 4px 18px;
}
header.qias-hb-header.is-scrolled.qias-hb-sticky-solid_white { background: #FFFFFF !important; box-shadow: 0 8px 24px rgba(15,23,42,0.1) !important; border-bottom: 1px solid #E2E8F0 !important; padding: 0 !important; }
header.qias-hb-header.is-scrolled.qias-hb-sticky-solid_white .qias-hb-header-inner { background: transparent !important; box-shadow: none !important; border: none !important; border-radius: 0 !important; min-height: 58px; }
header.qias-hb-header.is-scrolled.qias-hb-sticky-teal_bar { background: linear-gradient(90deg, #0F766E, #2D9389) !important; box-shadow: 0 10px 26px rgba(15,118,110,0.25) !important; padding: 0 !important; }
header.qias-hb-header.is-scrolled.qias-hb-sticky-teal_bar .qias-hb-header-inner { background: transparent !important; box-shadow: none !important; border: none !important; min-height: 56px; }
header.qias-hb-header.is-scrolled.qias-hb-sticky-teal_bar .qias-hb-brand,
header.qias-hb-header.is-scrolled.qias-hb-sticky-teal_bar .qias-hb-nav-link { color: #FFFFFF !important; }

.qias-hb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--qhb-dark); font-weight: 900; font-size: 15px; flex-shrink: 0; white-space: nowrap; }
.qias-hb-logo-img { height: var(--qhb-logo-h-desk, 48px) !important; width: auto !important; max-width: none !important; object-fit: contain; }
.qias-hb-logo-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--qhb-primary), var(--qhb-teal)); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }

header.qias-hb-header .qias-hb-nav { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; margin: 0 !important; padding: 0 !important; }
header.qias-hb-header ul.qias-hb-nav-list {
    display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 6px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; flex-wrap: nowrap !important;
}
header.qias-hb-header li.qias-hb-nav-item {
    position: relative !important; margin: 0 !important; padding: 0 !important;
    display: flex !important; align-items: center !important; list-style: none !important;
}
header.qias-hb-header a.qias-hb-nav-link {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    gap: 5px !important; padding: 8px 13px !important; margin: 0 !important; border-radius: 99px !important;
    color: var(--qhb-dark) !important; text-decoration: none !important;
    font-size: 13.5px !important; font-weight: 700 !important; line-height: 1.4 !important;
    letter-spacing: 0 !important; white-space: nowrap !important; height: auto !important;
    vertical-align: middle !important; transition: all 0.2s !important;
}
header.qias-hb-header a.qias-hb-nav-link > span {
    font-size: 13.5px !important; font-weight: 700 !important; line-height: 1.4 !important;
    margin: 0 !important; padding: 0 !important; display: inline-block !important;
}
.qias-hb-nav-link:hover,
.qias-hb-nav-link:focus-visible { background: rgba(255,255,255,0.85); color: var(--qhb-primary); }
.qias-hb-submenu {
    display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(153, 246, 228, 0.9);
    border-radius: 18px; padding: 8px;
    list-style: none;
    box-shadow: 0 18px 42px rgba(15, 118, 110, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
    z-index: 99999;
    margin: 0;
}
/* Invisible hover bridge between header menu pill and level-2 dropdown */
.qias-hb-nav-item.has-sub > .qias-hb-submenu::before {
    content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 20px; background: transparent;
}
.qias-hb-nav-item.has-sub:hover > .qias-hb-submenu,
.qias-hb-nav-item.has-sub.is-open > .qias-hb-submenu,
.qias-hb-nav-item.has-sub:focus-within > .qias-hb-submenu { display: block; }
.qias-hb-submenu li { margin: 0 0 2px; list-style: none; }
.qias-hb-submenu li:last-child { margin-bottom: 0; }
.qias-hb-submenu li a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 14px; border-radius: 12px; color: #0F2A38;
    text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap;
    transition: all 0.16s ease;
}
.qias-hb-submenu li:hover > a,
.qias-hb-submenu li.is-open > a,
.qias-hb-submenu li a:hover {
    background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
    color: #0F766E;
    transform: translateX(-2px);
}

.qias-hb-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qias-hb-svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.qias-hb-acc-ico { display: inline-flex; align-items: center; justify-content: center; }

.qias-hb-phone-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px;
    background: rgba(255,255,255,0.9); color: #0F766E; text-decoration: none; font-size: 12.5px; font-weight: 800; border: 1px solid #CCFBF1; white-space: nowrap; transition: all 0.2s;
}
.qias-hb-cart-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.9); color: #0F766E; border: 1px solid #CCFBF1; text-decoration: none; transition: all 0.2s;
}
.qias-hb-cart-badge {
    position: absolute; top: -5px; left: -5px; background: var(--qhb-cta); color: #FFFFFF;
    font-size: 10px; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.qias-hb-cta-btn {
    background: var(--qhb-cta); color: #FFFFFF; text-decoration: none; padding: 8px 16px;
    border-radius: 99px; font-size: 13px; font-weight: 800; box-shadow: 0 6px 16px rgba(255,107,74,0.28); white-space: nowrap;
}

/* Unified Header Action Tokens (high specificity so WoodMart/Elementor buttons never override) */
header.qias-hb-header {
    --qhb-btn-bg: rgba(255,255,255,0.92);
    --qhb-btn-fg: #0F766E;
    --qhb-btn-border: #CCFBF1;
    --qhb-btn-hover-bg: #FFFFFF;
}
header.qias-hb-header.qias-hb-tpl-classic_clean {
    --qhb-btn-bg: #F8FAFC;
    --qhb-btn-fg: #0F2A38;
    --qhb-btn-border: #E2E8F0;
    --qhb-btn-hover-bg: #F0FDFA;
}
header.qias-hb-header.qias-hb-tpl-topbar_modern {
    --qhb-btn-bg: #F0FDFA;
    --qhb-btn-fg: #0F766E;
    --qhb-btn-border: #99F6E4;
    --qhb-btn-hover-bg: #CCFBF1;
}
header.qias-hb-header.qias-hb-tpl-minimal_dark,
header.qias-hb-header.is-scrolled.qias-hb-sticky-teal_bar {
    --qhb-btn-bg: rgba(255,255,255,0.16);
    --qhb-btn-fg: #FFFFFF;
    --qhb-btn-border: rgba(255,255,255,0.32);
    --qhb-btn-hover-bg: rgba(255,255,255,0.26);
}
header.qias-hb-header.is-scrolled.qias-hb-sticky-solid_white {
    --qhb-btn-bg: #F8FAFC;
    --qhb-btn-fg: #0F2A38;
    --qhb-btn-border: #E2E8F0;
    --qhb-btn-hover-bg: #F0FDFA;
}

.qias-hb-account-wrap { position: relative; }
header.qias-hb-header .qias-hb-phone-pill,
header.qias-hb-header .qias-hb-cart-btn,
header.qias-hb-header button.qias-hb-account-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--qhb-btn-bg) !important;
    border: 1px solid var(--qhb-btn-border) !important;
    color: var(--qhb-btn-fg) !important;
    font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap;
    box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important;
    min-height: 38px; line-height: 1.2; transition: all 0.2s;
}
header.qias-hb-header button.qias-hb-account-btn { padding: 7px 14px; border-radius: 99px; }
header.qias-hb-header button.qias-hb-account-btn.qias-hb-acc-mode-icon_only { padding: 7px 11px; border-radius: 12px; }
header.qias-hb-header .qias-hb-phone-pill:hover,
header.qias-hb-header .qias-hb-cart-btn:hover,
header.qias-hb-header button.qias-hb-account-btn:hover {
    background: var(--qhb-btn-hover-bg) !important;
    border-color: var(--qhb-primary) !important;
    transform: translateY(-1px);
}
.qias-hb-account-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 16px; padding: 8px;
    list-style: none; box-shadow: 0 16px 36px rgba(15,23,42,0.16); z-index: 99999; margin: 0;
}
.qias-hb-account-wrap.is-open .qias-hb-account-dropdown { display: block; }
.qias-hb-account-dropdown li a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--qhb-text); text-decoration: none; font-size: 13px; font-weight: 700; }
.qias-hb-account-dropdown li a:hover { background: #F0FDFA; color: var(--qhb-primary); }
.qias-hb-account-dropdown li.is-logout a { color: #DC2626; border-top: 1px solid #F1F5F9; margin-top: 4px; }

/* Mobile Menu Modes */
header.qias-hb-header .qias-hb-mobile-toggle {
    display: none !important; background: #FFFFFF; border: 1px solid #CBD5E1; border-radius: 10px;
    width: 38px; height: 38px; font-size: 18px; cursor: pointer; color: #0F2A38;
}
.qias-hb-mobile-inline-nav { display: none; }
.qias-hb-mobile-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.55); backdrop-filter: blur(3px); z-index: 99998; }
.qias-hb-mobile-drawer.qias-hb-drawer-dropdown {
    position: absolute; top: 100%; left: 12px; right: 12px; background: #FFFFFF;
    border: 1px solid #E2E8F0; border-radius: 18px; padding: 14px 18px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.2); z-index: 99999; max-height: 75vh; overflow-y: auto;
}
.qias-hb-mobile-drawer.qias-hb-drawer-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0; width: 290px; max-width: 85vw;
    background: #FFFFFF; padding: 18px; box-shadow: -10px 0 35px rgba(15,23,42,0.25);
    z-index: 99999; overflow-y: auto;
}
.qias-hb-mobile-drawer-hdr { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid #E2E8F0; color: #0F766E; }
.qias-hb-mobile-close { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; width: 32px; height: 32px; border-radius: 8px; font-size: 20px; line-height: 1; cursor: pointer; }
.qias-hb-mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.qias-hb-mob-parent-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed #F1F5F9; }
.qias-hb-mob-parent-row a { flex: 1; display: block; padding: 10px 0; color: var(--qhb-text); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.qias-hb-mob-sub-toggle { background: #F0FDFA; border: 1px solid #CCFBF1; color: #0F766E; border-radius: 6px; padding: 2px 8px; cursor: pointer; font-weight: 800; }
.qias-hb-mobile-sub { padding-right: 14px !important; background: #F8FAFC; border-radius: 8px; }
.qias-hb-mobile-sub li a { display: block; padding: 7px 10px; font-size: 12.5px; color: #475569; text-decoration: none; }
.qias-hb-mobile-acc-sep { margin-top: 12px; padding: 6px 10px; background: #F0FDFA; color: #0F766E; border-radius: 8px; font-size: 12px; font-weight: 800; }

/* === HERO STAGE (1:1 CANVAS) === */
.qias-hb-hero-wrap { position: relative; }
.qias-hb-hero-fullbleed { width: 100%; max-width: 100%; margin: 0; overflow: visible; }
.qias-hb-hero-boxed { max-width: 1280px; margin: 12px auto; padding: 0 16px; }
.qias-hb-hero-stage {
    position: relative; height: var(--qhb-hero-h-desk, 540px);
    background: linear-gradient(125deg, #B5ECE6 0%, #86DCD3 55%, #59C8BC 100%);
    overflow: visible;
}
.qias-hb-hero-boxed .qias-hb-hero-stage,
.qias-hb-hero-boxed .qias-hb-hero-bg-wrap { border-radius: 26px; }
.qias-hb-hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.qias-hb-hero-bg-media, .qias-hb-hero-slider { position: absolute; inset: 0; width: 100%; height: 100%; }
.qias-hb-bg-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.qias-hb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.qias-hb-slide.is-active { opacity: 1; z-index: 2; }
.qias-hb-sl-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; background: rgba(255,255,255,0.75); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.qias-hb-sl-prev { right: 16px; }
.qias-hb-sl-next { left: 16px; }
.qias-hb-sl-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 6px; }
.qias-hb-sl-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; }
.qias-hb-sl-dot.is-active { background: #FFFFFF; width: 22px; border-radius: 99px; }

.qias-hb-hero-tint-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.qias-hb-tint-light_teal .qias-hb-hero-tint-layer { background: linear-gradient(90deg, rgba(181,236,230,0.15) 0%, rgba(181,236,230,0.72) 55%, rgba(181,236,230,0.88) 100%); }
.qias-hb-tint-dark_teal .qias-hb-hero-tint-layer { background: linear-gradient(90deg, rgba(15,42,56,0.2) 0%, rgba(15,42,56,0.68) 60%, rgba(15,42,56,0.82) 100%); }
.qias-hb-tint-none .qias-hb-hero-tint-layer { display: none; }

.qias-hb-hero-canvas {
    position: relative; z-index: 3; max-width: 1280px; width: 100%; height: 100%; margin: 0 auto;
    pointer-events: none;
}

/* Draggable Layers */
.qias-hb-hero-layer {
    position: absolute;
    left: var(--lx-d, 5%);
    width: var(--lw-d, 35%);
    z-index: 3;
    pointer-events: auto;
}
.qias-hb-hero-layer.qias-hb-anchor-top { top: var(--ly-d, 15%); bottom: auto; }
.qias-hb-hero-layer.qias-hb-anchor-bottom { bottom: var(--ly-d, 0%); top: auto; }
@keyframes qhbFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-9px); } }
@keyframes qhbBounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-12px); } 60% { transform: translateY(-4px); } }
@keyframes qhbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes qhbSwing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes qhbSpinSlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.qias-hb-motion-float { animation: qhbFloat 3.6s ease-in-out infinite; }
.qias-hb-motion-bounce { animation: qhbBounce 2.2s ease-in-out infinite; }
.qias-hb-motion-pulse { animation: qhbPulse 2.4s ease-in-out infinite; }
.qias-hb-motion-swing { animation: qhbSwing 3.2s ease-in-out infinite; }
.qias-hb-motion-spin_slow { animation: qhbSpinSlow 14s linear infinite; }
.qias-hb-motion-none { animation: none; }

.qias-hb-hero-layer-inner { width: 100%; height: 100%; }
.qias-hb-3d-icon-box { display: block; width: 100%; aspect-ratio: 1 / 1; filter: drop-shadow(0 10px 16px rgba(15,23,42,0.18)); }
.qias-hb-3d-icon-box svg { width: 100%; height: 100%; display: block; }
.qias-hb-layer-img { width: 100%; height: auto; display: block; object-fit: contain; }
.qias-hb-layer-img.is-flush { border-radius: 0; box-shadow: none; }
.qias-hb-layer-img.is-soft-fade {
    border-radius: 24px;
    -webkit-mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, #000 70%, transparent 100%);
    mask-image: radial-gradient(ellipse 92% 92% at 50% 50%, #000 70%, transparent 100%);
}
.qias-hb-layer-img.is-card-rounded {
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(15,23,42,0.16);
}
.qias-hb-layer-badge {
    display: inline-block; background: #FEF9C3; border: 1.5px solid #FDE047; color: #854D0E;
    font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 99px; box-shadow: 0 8px 20px rgba(15,23,42,0.12);
    white-space: nowrap;
}

/* Draggable Text Block */
.qias-hb-hero-text-block {
    position: absolute;
    right: var(--tx-d, 6%);
    top: var(--ty-d, 22%);
    width: var(--tw-d, 48%);
    z-index: 4;
    pointer-events: auto;
}
.qias-hb-align-right { text-align: right; }
.qias-hb-align-center { text-align: center; }
.qias-hb-align-center .qias-hb-hero-btns { justify-content: center; }
.qias-hb-align-left { text-align: left; }
.qias-hb-align-left .qias-hb-hero-btns { justify-content: flex-end; }

.qias-hb-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255,255,255,0.95);
    color: #0F766E; padding: 6px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 800; margin-bottom: 12px;
}
.qias-hb-hero-title { margin: 0 0 12px; line-height: 1.35; font-weight: 900; }
.qias-hb-hero-sub { margin: 0 0 22px; font-size: 15px; line-height: 1.85; font-weight: 600; }
.qias-hb-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.qias-hb-btn-primary {
    display: inline-flex; align-items: center; gap: 8px; background: var(--qhb-cta); color: #FFFFFF;
    text-decoration: none; padding: 12px 24px; border-radius: 14px; font-size: 14px; font-weight: 800;
    box-shadow: 0 10px 24px rgba(255,107,74,0.35);
}
.qias-hb-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(15,118,110,0.25); color: #0F2A38; text-decoration: none;
    padding: 12px 22px; border-radius: 14px; font-size: 14px; font-weight: 800;
}

/* Draggable Glass Pills Bar */
.qias-hb-pills-anchor {
    position: absolute;
    left: var(--px-d, 24%);
    top: var(--py-d, 82%);
    z-index: 6;
    pointer-events: auto;
}
.qias-hb-pills-dock {
    border-radius: 99px; padding: 7px 10px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.qias-hb-pills-glass {
    background: rgba(255, 255, 255, 0.56); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 28px rgba(15, 118, 110, 0.14);
}
.qias-hb-pills-solid { background: #FFFFFF; border: 1px solid #CCFBF1; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); }
.qias-hb-pill-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 99px;
    background: transparent; color: #0F2A38; text-decoration: none; font-size: 13.5px; font-weight: 800; transition: all 0.2s; white-space: nowrap;
}
.qias-hb-pill-btn:first-child, .qias-hb-pill-btn:hover { background: #FFFFFF; color: #0F766E; box-shadow: 0 4px 12px rgba(15,23,42,0.08); }

/* === CENTERS, STATS, FEATURES === */
.qias-hb-section { width: 100%; padding: 28px 0; }
.qias-hb-sec-hdr { text-align: center; margin-bottom: 22px; }
.qias-hb-sec-hdr h2 { margin: 0 0 6px; font-size: 24px; font-weight: 900; color: var(--qhb-dark); }
.qias-hb-sec-hdr p { margin: 0; font-size: 14px; color: var(--qhb-muted); }

.qias-hb-centers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.qias-hb-center-card { min-width: 0; overflow: hidden; overflow-wrap: anywhere; }
.qias-hb-center-card.qias-hb-center-card { background: var(--center-bg_color, #fff); }
section.qias-hb-section .qias-hb-center-image { display: block; width: calc(100% + 36px) !important; max-width: none !important; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background: #E6F8F5; flex-shrink: 0; margin: -22px -18px 18px !important; }
.qias-hb-center-card .qias-hb-center-badge { z-index: 1; max-width: calc(100% - 24px); background: var(--center-badge_bg, #f0fdfa); color: var(--center-badge_color, var(--card-accent)); }
.qias-hb-center-card h3 { color: var(--center-title_color, #102d3a) !important; }
.qias-hb-center-card p { color: var(--center-desc_color, #64748b) !important; }
.qias-hb-center-card {
    position: relative; background: #FFFFFF; border: 1.5px solid #E2E8F0; border-radius: 20px;
    padding: 22px 18px; text-align: center; text-decoration: none; color: var(--qhb-text);
    box-shadow: 0 8px 24px rgba(15,23,42,0.04); transition: all 0.25s ease; display: flex; flex-direction: column; align-items: center;
}
.qias-hb-center-card:hover { transform: translateY(-5px); border-color: var(--card-accent, #2D9389); }
.qias-hb-center-badge { position: absolute; top: 12px; left: 12px; background: #F0FDFA; color: var(--card-accent, #0F766E); font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
.qias-hb-center-icon { width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(135deg, #F0FDFA, #CCFBF1); display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 14px; }
.qias-hb-center-card h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 800; color: var(--qhb-dark); }
.qias-hb-center-card p { margin: 0 0 14px; font-size: 12.5px; color: var(--qhb-muted); line-height: 1.6; }
.qias-hb-center-more { margin-top: auto; font-size: 12.5px; font-weight: 800; color: var(--card-accent, #2D9389); }

.qias-hb-stats-banner {
    width: 100%;
    background: linear-gradient(90deg, #F9FFFE 0%, #EAF9F6 50%, #D0F2EB 100%);
    border: 1.5px solid #CBECE5; border-radius: 28px; padding: 24px 28px;
    color: var(--qhb-dark); display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 0.85fr); gap: 28px; align-items: center;
    box-shadow: 0 12px 32px rgba(15,118,110,0.08);
    overflow: visible;
}
.qias-hb-stats-hdr-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.qias-hb-stats-hdr-row h3 { margin: 0; font-size: 24px; font-weight: 900; color: var(--qhb-dark); }
.qias-hb-stats-hdr-row p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.75; color: #475569; }

.qias-hb-winding-road { position: relative; margin-top: 6px; width: 100%; max-width: 100%; }
.qias-hb-road-svg { width: 100%; height: auto; display: block; }

@keyframes qhbRoadFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -32; }
}
.qias-hb-stats-quote:hover .qias-hb-road-dash,
.qias-hb-winding-road:hover .qias-hb-road-dash {
    animation: qhbRoadFlow 0.85s linear infinite;
}

.qias-hb-road-node {
    position: absolute; transform: translate(-50%, -50%);
    z-index: 5; cursor: pointer; outline: none;
}
.qias-hb-node-hit {
    display: block; width: 34px; height: 46px; border-radius: 50%;
    background: transparent; transition: transform 0.2s ease;
}
.qias-hb-road-node:hover .qias-hb-node-hit,
.qias-hb-road-node:focus-visible .qias-hb-node-hit {
    transform: scale(1.15);
}

/* Trophy Node + Shine Flash */
.qias-hb-road-node.is-trophy-node { width: 48px; height: 56px; z-index: 6; transform: translate(-50%, -92%); }
.qias-hb-trophy-wrap {
    position: relative; display: block; width: 100%; height: 100%;
    overflow: hidden; border-radius: 12px;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.qias-hb-trophy-img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 6px 12px rgba(180,83,9,0.28)); }
.qias-hb-trophy-shine {
    position: absolute; top: -20%; left: -120%; width: 60%; height: 140%;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.88) 50%, transparent 80%);
    transform: skewX(-20deg); pointer-events: none; opacity: 0;
}
.qias-hb-trophy-spark {
    position: absolute; color: #FACC15; font-size: 16px; font-weight: 900;
    text-shadow: 0 0 8px rgba(250,204,21,0.9); pointer-events: none; opacity: 0;
}
.qias-hb-trophy-spark.s1 { top: 6px; right: 6px; }
.qias-hb-trophy-spark.s2 { top: 18px; left: 6px; font-size: 13px; }

@keyframes qhbTrophyFlash {
    0% { left: -120%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 150%; opacity: 0; }
}
@keyframes qhbSparkPop {
    0%, 100% { transform: scale(0.4) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.25) rotate(25deg); opacity: 1; }
}
.qias-hb-road-node.is-trophy-node:hover .qias-hb-trophy-wrap,
.qias-hb-road-node.is-trophy-node:focus-visible .qias-hb-trophy-wrap {
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.72));
}
.qias-hb-road-node.is-trophy-node:hover .qias-hb-trophy-shine,
.qias-hb-road-node.is-trophy-node:focus-visible .qias-hb-trophy-shine {
    animation: qhbTrophyFlash 0.8s ease-out 1;
}
.qias-hb-road-node.is-trophy-node:hover .qias-hb-trophy-spark,
.qias-hb-road-node.is-trophy-node:focus-visible .qias-hb-trophy-spark {
    animation: qhbSparkPop 0.75s ease-in-out 2;
}

/* Cloud Thought-Bubble Popover (inspired by attached cloud graphic) */
.qias-hb-thought-bubble {
    position: absolute; bottom: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.88);
    opacity: 0; visibility: hidden; pointer-events: none;
    min-width: 170px; max-width: 230px; z-index: 40;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.22,1.28,.36,1), visibility 0.22s;
}
.qias-hb-road-node:hover .qias-hb-thought-bubble,
.qias-hb-road-node:focus-visible .qias-hb-thought-bubble {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}
.qias-hb-thought-body {
    display: block; background: #FFFFFF; color: #0F2A38;
    border: 2.5px solid #0F2A38; border-radius: 26px;
    padding: 10px 14px; font-size: 12px; font-weight: 800; line-height: 1.55;
    text-align: center; box-shadow: 0 5px 0 #0F2A38, 0 12px 24px rgba(15,23,42,0.16);
}
.qias-hb-thought-d1, .qias-hb-thought-d2 {
    position: absolute; left: 50%; transform: translateX(-50%);
    background: #FFFFFF; border: 2px solid #0F2A38; border-radius: 50%;
    box-shadow: 0 2px 0 #0F2A38;
}
.qias-hb-thought-d1 { bottom: -10px; width: 12px; height: 12px; }
.qias-hb-thought-d2 { bottom: -19px; left: calc(50% - 8px); width: 7px; height: 7px; }

/* 2x2 Grid for 4 Stat Cards */
.qias-hb-stats-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qias-hb-stat-pill {
    min-width: 0;
    background: rgba(255,255,255,0.95); border: 1px solid #DFF2EE; border-radius: 99px;
    padding: 12px 16px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 20px rgba(15,42,56,0.06); transition: transform 0.2s ease;
}
.qias-hb-stat-pill:hover { transform: translateY(-2px); }
.qias-hb-stat-icon {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--stat-c, #2D9389), #0F766E);
    color: #FFFFFF; font-size: 20px; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(15,118,110,0.18);
}
.qias-hb-stat-meta { text-align: right; min-width: 0; flex: 1; }
.qias-hb-stat-meta strong { display: block; font-size: 22px; font-weight: 900; color: var(--qhb-dark); line-height: 1.15; white-space: nowrap; }
.qias-hb-stat-meta small { display: block; font-size: 12px; font-weight: 700; color: var(--qhb-muted); white-space: normal; line-height: 1.35; }

.qias-hb-features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.qias-hb-feature-card {
    background: var(--feat-accent, #0F766E);
    border: 0;
    border-radius: 20px;
    padding: 0 !important;
    overflow: hidden;
    text-decoration: none;
    color: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15,42,56,0.09);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    display: flex; flex-direction: column;
}
.qias-hb-feature-card.is-linked { cursor: pointer; }
.qias-hb-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,42,56,0.16);
}
.qias-hb-feature-media {
    position: relative; width: 100%; aspect-ratio: 4 / 3;
    background: var(--feat-bg, #F0FDFA); overflow: hidden; flex-shrink: 0;
}
.qias-hb-feature-img {
    width: 100% !important; max-width: none !important; height: 100% !important;
    object-fit: cover; object-position: center; display: block;
}
.qias-hb-feature-step {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: rgba(255,255,255,0.94); backdrop-filter: blur(6px);
    color: var(--feat-accent, #0F766E); border: 1px solid rgba(15,23,42,0.08);
    font-size: 11.5px; font-weight: 900; padding: 4px 11px; border-radius: 99px;
    box-shadow: 0 4px 10px rgba(15,23,42,0.12);
}
.qias-hb-feature-band {
    width: 100%; flex: 1;
    background: var(--feat-accent, #0F766E);
    padding: 16px 18px 18px;
    display: flex; flex-direction: column; gap: 6px;
}
.qias-hb-feature-band h3 { margin: 0; font-size: 16.5px; font-weight: 900; color: #FFFFFF; }
.qias-hb-feature-band p { margin: 0; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.93); line-height: 1.8; }
.qias-hb-feature-link-hint {
    margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 800; color: #FFFFFF; opacity: 0.95;
}

.qias-hb-modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.68); backdrop-filter: blur(4px); z-index: 999999; padding: 20px; overflow-y: auto; }
.qias-hb-modal-box { background: #FFFFFF; max-width: 920px; width: 100%; margin: 40px auto; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,0.3); direction: rtl; }
.qias-hb-modal-hdr { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #F0FDFA; border-bottom: 1px solid #CCFBF1; color: #0F766E; }
.qias-hb-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #64748B; }
.qias-hb-modal-body { padding: 20px; }

@media (max-width: 1024px) {
    .qias-hb-nav, .qias-hb-phone-pill { display: none !important; }
    header.qias-hb-header .qias-hb-mobile-toggle { display: inline-flex !important; align-items: center; justify-content: center; }
    .qias-hb-header-inner { min-height: var(--qhb-hdr-h-mob, 58px); }
    .qias-hb-logo-img { height: var(--qhb-logo-h-mob, 38px) !important; }
    .qias-hb-mobile-inline-nav {
        display: flex; overflow-x: auto; gap: 8px; padding: 6px 4px 10px;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .qias-hb-mobile-inline-nav a {
        flex-shrink: 0; background: #FFFFFF; border: 1px solid #CCFBF1; color: #0F766E;
        padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; text-decoration: none;
    }
    .qias-hb-mobile-inline-nav a.qias-hb-inline-sub {
        background: #F0FDFA; font-size: 11.5px; color: #115E59;
    }
    /* Mobile is content-driven: saved desktop coordinates remain untouched. */
    .qias-hb-top-shell > header.qias-hb-header,
    header.qias-hb-header.qias-hb-overlay-hero.qias-hb-sticky {
        position: relative !important; top: auto !important; left: auto; right: auto;
    }
    .qias-hb-hero-stage { height: auto; min-height: 0; }
    .qias-hb-hero-canvas {
        height: auto; padding: 24px 16px 0; display: flex;
        flex-direction: column; align-items: center; gap: 20px;
    }
    .qias-hb-hero-canvas > .qias-hb-hero-text-block,
    .qias-hb-hero-canvas > .qias-hb-hero-layer,
    .qias-hb-hero-canvas > .qias-hb-pills-anchor {
        position: relative; top: auto; bottom: auto; left: auto; right: auto;
        max-width: 100%; margin: 0; flex: 0 0 auto;
        transform: none; animation: none;
    }
    .qias-hb-hero-canvas > .qias-hb-hero-text-block { order: 0; width: 100%; overflow-wrap: anywhere; }
    .qias-hb-hero-canvas > .qias-hb-hero-layer { order: 1; width: auto; }
    .qias-hb-hero-canvas > .qias-hb-layer-image { order: 2; width: var(--lw-m, 70%); }
    .qias-hb-hero-canvas > .qias-hb-pills-anchor { order: 3; width: 100%; padding-bottom: 16px; }
    .qias-hb-hero-layer-inner { height: auto; transform: none !important; }
    .qias-hb-layer-badge { white-space: normal; overflow-wrap: anywhere; }
    .qias-hb-hero-btns { flex-direction: column; align-items: stretch; }
    .qias-hb-hero-btns > a { justify-content: center; text-align: center; max-width: 100%; white-space: normal; }
    .qias-hb-pills-dock { display: flex; justify-content: center; width: 100%; border-radius: 20px; }
    .qias-hb-pill-btn { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
    .qias-hb-hero-badge { max-width: 100%; white-space: normal; }

    .qias-hb-centers-grid, .qias-hb-features-grid { grid-template-columns: repeat(2, 1fr); }
    .qias-hb-stats-banner { grid-template-columns: 1fr; }
    .qias-hb-stats-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .qias-hb-centers-grid, .qias-hb-features-grid { grid-template-columns: 1fr; }
    .qias-hb-hero-title { font-size: 22px !important; }
    .qias-hb-pill-btn { padding: 6px 11px; font-size: 12px; }
}

/* 2.1: guided, content-driven hero; free canvas remains available. */
.qias-hb-guided .qias-hb-hero-stage { height: auto; min-height: 0; background: radial-gradient(ellipse at 12% 30%, #c5eee6, transparent 60%), linear-gradient(120deg, #f6fcfa, #e4f5ef); }
.qias-hb-guided { margin-bottom: 26px; }
.qias-hb-guided .qias-hb-hero-canvas { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: 'text visual'; gap: 28px 48px; height: auto; padding: 94px 32px 36px; align-items: center; }
.qias-hb-guided.qias-hb-g-valign-bottom .qias-hb-hero-canvas { padding-bottom: 0; }
.qias-hb-guided .qias-hb-hero-text-block { grid-area: text; position: relative; inset: auto; width: 100%; min-width: 0; overflow-wrap: anywhere; padding: 24px; border-radius: 24px; background: rgba(255,255,255,.9); }
.qias-hb-guided .qias-hb-hero-title { line-height: 1.55; letter-spacing: -.6px; text-wrap: balance; }
.qias-hb-guided .qias-hb-hero-sub { line-height: 2; font-weight: 400; margin-bottom: 26px; }
.qias-hb-guided .qias-hb-hero-badge { background: #e7f6f0; border-color: #d1eae1; box-shadow: none; }
.qias-hb-guided .qias-hb-hero-visual { grid-area: visual; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; min-width: 0; pointer-events: auto; }
.qias-hb-guided .qias-hb-hero-visual > .qias-hb-hero-layer { position: relative; inset: auto; width: auto; max-width: 100%; animation: none; transform: none; }
.qias-hb-guided .qias-hb-hero-visual > .qias-hb-layer-icon { width: 72px; }
.qias-hb-guided .qias-hb-hero-visual > .qias-hb-layer-image { width: 100%; }
.qias-hb-guided .qias-hb-hero-layer-inner { transform: none !important; height: auto; }
.qias-hb-guided .qias-hb-layer-img { max-height: 440px; object-fit: contain; }
.qias-hb-guided .qias-hb-layer-badge { white-space: normal; background: #fff; border: 1px solid #d6e9e1; color: #14594f; box-shadow: 0 4px 12px rgba(15,42,56,.04); }
.qias-hb-guided .qias-hb-pills-anchor { position: absolute; bottom: -26px; top: auto; left: 32px; right: 32px; width: auto; padding: 0; display: flex; justify-content: center; margin: 0; z-index: 6; pointer-events: none; }
.qias-hb-guided .qias-hb-pills-dock { pointer-events: auto; }
.qias-hb-guided .qias-hb-pills-dock { display: inline-flex; justify-content: center; width: auto; max-width: 100%; border-radius: 99px; background: rgba(255,255,255,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1.5px solid rgba(255,255,255,0.95); box-shadow: 0 10px 28px rgba(15,118,110,0.14); padding: 7px 10px; }
.qias-hb-guided .qias-hb-pill-btn { white-space: normal; }
.qias-hb-guided .qias-hb-btn-primary { box-shadow: 0 6px 16px rgba(15,42,56,.1); }
.qias-hb-guided .qias-hb-hero-btns a { min-height: 48px; justify-content: center; }
header.qias-hb-header .qias-hb-header-inner { gap: 16px; }
header.qias-hb-header .qias-hb-nav-link { line-height: 1.8; }
section.qias-hb-section { padding: 40px 0; }
section.qias-hb-section .qias-hb-sec-hdr { margin-bottom: 28px; }
section.qias-hb-section .qias-hb-sec-hdr h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.6; }
section.qias-hb-section .qias-hb-sec-hdr p { line-height: 1.9; }
section.qias-hb-section .qias-hb-center-card { text-align: right; align-items: stretch; border-width: 1px; box-shadow: 0 6px 22px rgba(15,42,56,.045); }
section.qias-hb-section .qias-hb-center-card h3 { font-size: 18px; line-height: 1.7; }
section.qias-hb-section .qias-hb-center-card p { font-size: 14px; line-height: 1.9; }
section.qias-hb-section .qias-hb-center-more { padding-top: 12px; border-top: 1px solid rgba(100,116,139,.15); font-size: 13px; }
section.qias-hb-section .qias-hb-center-card:hover { transform: translateY(-3px); }
section.qias-hb-section .qias-hb-stats-banner { box-shadow: none; gap: 28px; }
section.qias-hb-section .qias-hb-feature-card { min-width: 0; padding: 0 !important; }
section.qias-hb-section .qias-hb-feature-card p { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
header.qias-hb-header :is(a,button):focus-visible, section.qias-hb-hero-wrap :is(a,button):focus-visible, section.qias-hb-section :is(a,button):focus-visible { outline: 3px solid #0f766e; outline-offset: 4px; }

/* Guided Layout Variations (Desktop) */
.qias-hb-g-order-text_left .qias-hb-hero-canvas { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: 'visual text'; }
.qias-hb-g-order-stacked .qias-hb-hero-canvas { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'text' 'visual'; text-align: center; }
.qias-hb-g-order-stacked .qias-hb-hero-text-block { text-align: center; }
.qias-hb-g-order-stacked .qias-hb-hero-btns { justify-content: center; }

.qias-hb-g-pills-right .qias-hb-pills-anchor { justify-content: flex-start; }
.qias-hb-g-pills-center .qias-hb-pills-anchor { justify-content: center; }
.qias-hb-g-pills-left .qias-hb-pills-anchor { justify-content: flex-end; }

.qias-hb-g-tcard-clean .qias-hb-hero-text-block { background: transparent; padding: 12px 0; border-radius: 0; }
.qias-hb-g-valign-bottom .qias-hb-hero-visual { align-self: end; }

@media (max-width: 1024px) {
    .qias-hb-guided { margin-bottom: 0; }
    .qias-hb-guided .qias-hb-pills-anchor { position: relative; bottom: auto; left: auto; right: auto; width: 100%; margin-top: 0; margin-bottom: 0; }
    .qias-hb-guided .qias-hb-pills-dock { width: 100%; border-radius: 20px; }
    .qias-hb-guided .qias-hb-hero-canvas { grid-template-columns: minmax(0,1fr); grid-template-areas: 'text' 'visual' 'links'; padding: 28px 20px 20px; gap: 24px; }
    .qias-hb-guided .qias-hb-hero-visual { width: 100%; max-width: 560px; justify-self: center; }
    .qias-hb-guided .qias-hb-hero-text-block { padding: 24px; }
    .qias-hb-guided .qias-hb-hero-btns { flex-direction: row; }
    .qias-hb-guided .qias-hb-hero-btns a { flex: 1 1 180px; }
}
@media (max-width: 600px) {
    .qias-hb-guided .qias-hb-hero-canvas { padding: 20px 16px; gap: 20px; }
    .qias-hb-guided .qias-hb-hero-text-block { padding: 20px 16px; }
    .qias-hb-guided .qias-hb-hero-title { font-size: 28px !important; }
    .qias-hb-guided .qias-hb-layer-img { max-height: 320px; }
    section.qias-hb-section { padding: 28px 0; }
    header.qias-hb-header .qias-hb-header-inner { flex-wrap: wrap; gap: 8px; }
    header.qias-hb-header .qias-hb-brand { white-space: normal; min-width: 0; }
    header.qias-hb-header .qias-hb-header-actions { flex-wrap: wrap; max-width: 100%; }
}
/* Respect accessibility preferences without changing saved animation choices. */
@media (prefers-reduced-motion: reduce) {
    .qias-hb-hero-layer { animation: none !important; }
}


/* === 2.4.9 MOBILE POLISH (Hero bottom-align, Stats 1-col, Vertical Relay Features) === */
@media (max-width: 1024px) {
    .qias-hb-guided .qias-hb-hero-canvas { padding: 88px 18px 20px; gap: 20px; }
    .qias-hb-guided.qias-hb-g-valign-bottom .qias-hb-hero-canvas { padding-bottom: 18px; }
    .qias-hb-guided.qias-hb-g-valign-bottom .qias-hb-hero-visual { margin-bottom: -20px; line-height: 0; }
    .qias-hb-guided.qias-hb-g-valign-bottom .qias-hb-layer-img { display: block; margin: 0 auto; }
}
@media (max-width: 600px) {
    .qias-hb-stats-banner { padding: 20px 16px; border-radius: 22px; gap: 20px; }
    .qias-hb-stats-hdr-row h3 { font-size: 20px; }
    .qias-hb-stats-hdr-row p { font-size: 13px; margin-bottom: 18px; }
    .qias-hb-stats-items { grid-template-columns: 1fr !important; gap: 10px; }
    .qias-hb-stat-pill { padding: 11px 16px; border-radius: 20px; }
    .qias-hb-feature-media { aspect-ratio: 1 / 1; }
    .qias-hb-feature-media picture { width: 100%; height: 100%; display: block; }
}


/* === 2.5.2: Photorealistic Center Cards + Interactive Hover Micro-Animations === */
.qias-hb-center-media {
    position: relative; width: calc(100% + 36px); margin: -22px -18px 18px;
    aspect-ratio: 16 / 9; overflow: hidden; flex-shrink: 0; background: #E6F8F5;
}
.qias-hb-center-media::after {
    content: ""; position: absolute; inset: 0; left: -120%; width: 65%;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.42) 50%, transparent 80%);
    transform: skewX(-18deg); pointer-events: none; opacity: 0; transition: opacity 0.2s;
}
.qias-hb-center-card:hover .qias-hb-center-media::after {
    opacity: 1; animation: qhbCenterSheen 0.85s ease-out forwards;
}
@keyframes qhbCenterSheen { 0% { left: -90%; } 100% { left: 150%; } }

section.qias-hb-section .qias-hb-center-media .qias-hb-center-image {
    width: 100% !important; height: 100% !important; margin: 0 !important;
    object-fit: cover; object-position: center;
    transition: transform 0.55s cubic-bezier(.22,1,.36,1), filter 0.35s ease;
}
.qias-hb-center-card:hover .qias-hb-center-media .qias-hb-center-image {
    transform: scale(1.07); filter: saturate(1.08) brightness(1.03);
}

.qias-hb-center-fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.qias-hb-center-fx > span {
    position: absolute; opacity: 0; transform: translateY(10px) scale(0.7);
    transition: opacity 0.3s ease, transform 0.45s cubic-bezier(.22,1.28,.36,1);
    filter: drop-shadow(0 4px 8px rgba(15,23,42,0.28));
}
.qias-hb-center-card:hover .qias-hb-center-fx > span { opacity: 1; }

.qhb-fx-item { font-size: 22px; }
.qhb-fx-check {
    width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #FEF08A, #F59E0B); color: #78350F; font-size: 14px; font-weight: 900;
    border: 1.5px solid #FFFBEB; box-shadow: 0 0 14px rgba(250,204,21,0.85);
}
.qhb-fx-star {
    font-size: 24px; color: #FACC15; text-shadow: 0 0 14px rgba(250,204,21,0.95);
}
.qhb-fx-spark {
    font-size: 16px; color: #FDE047; font-weight: 900; text-shadow: 0 0 10px rgba(250,204,21,0.9);
}

.qias-hb-center-fx .qhb-fx-1 { bottom: 12px; right: 14px; }
.qias-hb-center-fx .qhb-fx-2 { top: 14px; right: 16px; }
.qias-hb-center-fx .qhb-fx-3 { bottom: 16px; left: 16px; }
.qias-hb-center-fx .qhb-fx-4 { top: 46%; left: 18px; }

@keyframes qhbBookFloat {
    0%, 100% { transform: translateY(0) rotate(-6deg) scale(1); }
    50% { transform: translateY(-9px) rotate(8deg) scale(1.12); }
}
@keyframes qhbCheckGlow {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 12px rgba(250,204,21,0.75); }
    50% { transform: translateY(-7px) scale(1.16); box-shadow: 0 0 22px rgba(250,204,21,1); }
}
@keyframes qhbSparkTwinkle {
    0%, 100% { transform: translateY(0) scale(0.85) rotate(0deg); opacity: 0.75; }
    50% { transform: translateY(-8px) scale(1.25) rotate(22deg); opacity: 1; }
}

.qias-hb-center-card:hover .qias-hb-cfx-books .qhb-fx-1 { animation: qhbBookFloat 1.6s ease-in-out infinite; }
.qias-hb-center-card:hover .qias-hb-cfx-books .qhb-fx-2 { animation: qhbBookFloat 1.9s ease-in-out 0.2s infinite; }
.qias-hb-center-card:hover .qias-hb-cfx-books .qhb-fx-3 { animation: qhbSparkTwinkle 1.3s ease-in-out infinite; }

.qias-hb-center-card:hover .qias-hb-cfx-exams .qhb-fx-1 { animation: qhbCheckGlow 1.3s ease-in-out infinite; }
.qias-hb-center-card:hover .qias-hb-cfx-exams .qhb-fx-2 { animation: qhbCheckGlow 1.5s ease-in-out 0.25s infinite; }
.qias-hb-center-card:hover .qias-hb-cfx-exams .qhb-fx-3,
.qias-hb-center-card:hover .qias-hb-cfx-exams .qhb-fx-4 { animation: qhbSparkTwinkle 1.1s ease-in-out infinite; }

.qias-hb-center-card:hover .qias-hb-cfx-tizhooshan .qhb-fx-1 { animation: qhbSparkTwinkle 1.4s ease-in-out infinite; }
.qias-hb-center-card:hover .qias-hb-cfx-tizhooshan .qhb-fx-2 { animation: qhbBookFloat 1.7s ease-in-out 0.15s infinite; }
.qias-hb-center-card:hover .qias-hb-cfx-tizhooshan .qhb-fx-3 { animation: qhbSparkTwinkle 1.2s ease-in-out 0.3s infinite; }

.qias-hb-center-card:hover .qias-hb-cfx-schools .qhb-fx-1 { animation: qhbBookFloat 1.7s ease-in-out infinite; }
.qias-hb-center-card:hover .qias-hb-cfx-schools .qhb-fx-2,
.qias-hb-center-card:hover .qias-hb-cfx-schools .qhb-fx-3 { animation: qhbSparkTwinkle 1.4s ease-in-out 0.2s infinite; }

/* v2.6.0 Variable Text Slider, Multi-Banner Carousel & Stat Button Cards */
.qias-hb-text-slider { position: relative; width: 100%; }
.qias-hb-ts-slide { display: none; animation: qhbFadeIn .45s ease; }
.qias-hb-ts-slide.is-active { display: block; }
@keyframes qhbFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.qias-hb-ts-dots { display: flex; gap: 6px; margin-top: 14px; justify-content: flex-start; }
.qias-hb-ts-dot { width: 8px; height: 8px; border-radius: 99px; border: none; background: rgba(15,118,110,0.22); cursor: pointer; padding: 0; transition: .2s; }
.qias-hb-ts-dot.is-active { width: 22px; background: #0F766E; }
.qias-hb-banner-carousel { position: relative; width: 100%; }
.qias-hb-banner-slide { display: none; }
.qias-hb-banner-slide.is-active { display: block; animation: qhbFadeIn .45s ease; }
.qias-hb-banner-img-link { display: block; width: 100%; height: var(--qhb-hero-h-desk, 540px); overflow: hidden; }
.qias-hb-banner-img-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qias-hb-stat-btn-card { text-decoration: none !important; transition: transform .2s, box-shadow .2s; cursor: pointer; justify-content: center; }
.qias-hb-stat-btn-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,118,110,0.2); }
a.qias-hb-stat-pill { text-decoration: none !important; }
@media (max-width: 768px) {
    .qias-hb-banner-img-link { height: var(--qhb-hero-h-mob, 380px); }
}

/* v2.6.2 Text Slider Nav Styles & Theme Button Reset */
.qias-hb-ts-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; align-items: center; }
.qias-hb-ts-dot {
    min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;
    box-shadow: none !important; line-height: 1 !important; border: none !important;
    cursor: pointer !important; transition: all .22s ease !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    font-size: 11px !important; font-weight: 800 !important;
}
.qias-hb-ts-nav-dots_circle .qias-hb-ts-dot { width: 9px !important; height: 9px !important; border-radius: 99px !important; background: rgba(15,118,110,0.22) !important; color: transparent !important; }
.qias-hb-ts-nav-dots_circle .qias-hb-ts-dot.is-active { width: 24px !important; background: #0F766E !important; }
.qias-hb-ts-nav-dots_circle_num .qias-hb-ts-dot { width: 24px !important; height: 24px !important; border-radius: 99px !important; background: #E2E8F0 !important; color: #334155 !important; }
.qias-hb-ts-nav-dots_circle_num .qias-hb-ts-dot.is-active { background: #0F766E !important; color: #FFFFFF !important; }
.qias-hb-ts-nav-dots_square .qias-hb-ts-dot { width: 10px !important; height: 10px !important; border-radius: 3px !important; background: rgba(15,118,110,0.22) !important; color: transparent !important; }
.qias-hb-ts-nav-dots_square .qias-hb-ts-dot.is-active { width: 24px !important; background: #0F766E !important; }
.qias-hb-ts-nav-dots_square_num .qias-hb-ts-dot { width: 24px !important; height: 24px !important; border-radius: 6px !important; background: #E2E8F0 !important; color: #334155 !important; }
.qias-hb-ts-nav-dots_square_num .qias-hb-ts-dot.is-active { background: #0F766E !important; color: #FFFFFF !important; }
.qias-hb-ts-nav-numbers_only .qias-hb-ts-dot { width: auto !important; height: auto !important; padding: 2px 6px !important; background: transparent !important; color: #64748B !important; font-size: 13px !important; }
.qias-hb-ts-nav-numbers_only .qias-hb-ts-dot.is-active { color: #0F766E !important; text-decoration: underline !important; }
.qias-hb-ts-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 28px !important; height: 28px !important; min-width: 0 !important; min-height: 0 !important;
    padding: 0 !important; border-radius: 99px !important; border: 1px solid #CBD5E1 !important;
    background: rgba(255,255,255,0.92) !important; color: #0F766E !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    font-size: 13px !important; cursor: pointer !important; box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.qias-hb-ts-prev { right: -14px; }
.qias-hb-ts-next { left: -14px; }

/* v2.6.3 Bottom Text-Slider Nav Bar */
.qias-hb-ts-nav-bar { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 10px; border-top: 1px dashed rgba(15,118,110,0.14); }
.qias-hb-ts-nav-bar .qias-hb-ts-dots { margin-top: 0 !important; }
.qias-hb-ts-nav-bar .qias-hb-ts-arrow {
    position: static !important; transform: none !important;
    width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important;
    padding: 0 !important; border-radius: 99px !important; border: 1px solid #CBD5E1 !important;
    background: #FFFFFF !important; color: #0F766E !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    font-size: 12px !important; cursor: pointer !important; box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}
.qias-hb-ts-nav-bar .qias-hb-ts-arrow:hover { background: #0F766E !important; color: #FFFFFF !important; border-color: #0F766E !important; }

/* v2.6.5 Header Top Clearance Fix & Visual Slider */
.qias-hb-guided .qias-hb-hero-canvas { padding-top: 118px !important; }
.qias-hb-ts-nav-bar { margin-top: 10px !important; padding-top: 6px !important; }
.qias-hb-visual-slider { position: relative; width: 100%; }
.qias-hb-vs-slide { display: none; animation: qhbFadeIn .45s ease; }
.qias-hb-vs-slide.is-active { display: block; }
.qias-hb-vs-slide img { width: 100%; height: auto; display: block; border-radius: 16px; }

/* v2.7.1 Embedded [qias_packages_home] 4 Tabs inside Journey Box & Tight Spacing */
.qias-hb-pkg-tabs-slot {
    display: block !important; min-width: 0 !important; width: 100% !important;
    max-width: 380px !important; flex: 0 1 380px !important; box-sizing: border-box !important;
}
.qias-hb-pkg-tabs-slot .qias-tabs-nav {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; width: 100% !important;
}
.qias-hb-pkg-tabs-slot .qias-tab-item { margin: 0 !important; padding: 0 !important; width: 100% !important; min-width: 0 !important; }
.qias-hb-pkg-tabs-slot .qias-tab-item button {
    width: 100% !important; min-width: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
    padding: 11px 10px !important; border-radius: 14px !important; font-size: 11.8px !important; font-weight: 800 !important;
    background: rgba(255,255,255,0.92) !important; color: #0F2A38 !important; border: 1.5px solid #99F6E4 !important;
    box-shadow: 0 4px 12px rgba(45,147,137,0.08) !important; cursor: pointer !important; transition: all .2s ease !important;
    text-align: center !important; line-height: 1.3 !important;
}
.qias-hb-pkg-tabs-slot .qias-tab-item.active button,
.qias-hb-pkg-tabs-slot .qias-tab-item button:hover {
    background: linear-gradient(135deg, #2D9389, #39BAAE) !important; color: #FFFFFF !important; border-color: #2D9389 !important;
    box-shadow: 0 6px 18px rgba(45,147,137,0.24) !important; transform: translateY(-1px);
}
.qias-hb-embedded-packages { padding: 0 !important; margin: -14px 0 0 !important; }
.qias-hb-embedded-packages .qias-packages-wrapper { padding-top: 0 !important; padding-bottom: 8px !important; margin-bottom: 0 !important; }
.qias-hb-embedded-packages .qias-slider-wrapper { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.qias-hb-stats-section:has(+ .qias-hb-embedded-packages) { padding-bottom: 12px !important; }
.qias-hb-embedded-packages + .qias-hb-features-section,
.qias-hb-features-section { padding-top: 28px !important; }
@media (max-width: 960px) {
    .qias-hb-pkg-tabs-slot { max-width: 100% !important; flex: 1 1 100% !important; }
}
@media (max-width: 480px) {
    .qias-hb-pkg-tabs-slot .qias-tabs-nav { grid-template-columns: 1fr !important; }
}

/* v2.7.2 Tighter Gap & Combined Success Triangle Horizontal Bottom Bar */
.qias-hb-stats-has-pkgs { padding-bottom: 4px !important; }
.qias-hb-embedded-packages { padding-top: 0 !important; margin-top: 0 !important; }
.qias-hb-embedded-packages .qias-packages-wrapper { padding-top: 4px !important; margin-top: 0 !important; }
.qias-hb-embedded-packages .qias-slider-wrapper { margin-top: 0 !important; }
.qias-hb-stats-banner.is-combined-triangle { flex-wrap: wrap !important; }
.qias-hb-pkg-tabs-bottom {
    flex: 0 0 100% !important; width: 100% !important;
    margin-top: 14px !important; padding-top: 14px !important;
    border-top: 1px dashed rgba(45,147,137,0.22) !important;
    display: flex !important; justify-content: center !important;
}
.qias-hb-pkg-tabs-slot.is-inline-row { max-width: 100% !important; flex: 0 1 auto !important; width: auto !important; }
.qias-hb-pkg-tabs-slot.is-inline-row .qias-tabs-nav {
    display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; gap: 10px !important;
}
.qias-hb-pkg-tabs-slot.is-inline-row .qias-tab-item { width: auto !important; }
.qias-hb-pkg-tabs-slot.is-inline-row .qias-tab-item button {
    width: auto !important; padding: 10px 20px !important; border-radius: 99px !important; font-size: 12.5px !important;
}

/* v2.7.3 Full-Span Bottom Tabs, Alignment (Center/Right/Left) & Compact Height */
.qias-hb-stats-banner.is-combined-triangle {
    padding: 20px 28px 16px !important;
    row-gap: 10px !important;
}
.qias-hb-pkg-tabs-bottom {
    grid-column: 1 / -1 !important;
    flex: 0 0 100% !important; width: 100% !important;
    margin-top: 6px !important; padding-top: 10px !important;
    border-top: 1px dashed rgba(45,147,137,0.24) !important;
    display: flex !important; justify-content: center !important;
}
.qias-hb-pkg-tabs-bottom.align-right { justify-content: flex-start !important; }
.qias-hb-pkg-tabs-bottom.align-center { justify-content: center !important; }
.qias-hb-pkg-tabs-bottom.align-left { justify-content: flex-end !important; }
.qias-hb-pkg-tabs-slot.is-inline-row .qias-tabs-nav { gap: 8px !important; }
.qias-hb-pkg-tabs-slot.is-inline-row .qias-tab-item button {
    padding: 8px 16px !important; font-size: 12px !important;
}

/* v2.7.5 Professional Mobile Header (Safe Area + Zero Overflow) & Uniform 2x2 Stats/Tabs */
header.qias-hb-header {
    padding-top: max(8px, env(safe-area-inset-top)) !important;
    box-sizing: border-box !important;
}
@media (max-width: 1024px) {
    header.qias-hb-header,
    header.qias-hb-header * { box-sizing: border-box !important; }
    header.qias-hb-header {
        width: 100% !important; max-width: 100vw !important;
        padding-top: max(10px, env(safe-area-inset-top)) !important;
        padding-bottom: 6px !important;
    }
    header.qias-hb-header .qias-hb-header-shell {
        width: 100% !important; max-width: 100% !important;
        padding: 0 10px !important; margin: 0 auto !important;
    }
    header.qias-hb-header .qias-hb-nav { display: none !important; }
    header.qias-hb-header .qias-hb-header-inner {
        display: flex !important; flex-wrap: nowrap !important;
        justify-content: space-between !important; align-items: center !important;
        gap: 6px !important; padding: 6px 10px !important; min-height: 54px !important;
        width: 100% !important; max-width: 100% !important; overflow: visible !important;
    }
    header.qias-hb-header .qias-hb-brand {
        font-size: 12.5px !important; gap: 6px !important; min-width: 0 !important;
        flex: 1 1 auto !important; overflow: hidden !important;
    }
    header.qias-hb-header .qias-hb-brand > span {
        overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important;
    }
    header.qias-hb-header .qias-hb-logo-img {
        height: var(--qhb-logo-h-mob, 36px) !important; flex-shrink: 0 !important;
    }
    header.qias-hb-header .qias-hb-actions {
        display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
        gap: 5px !important; flex-shrink: 0 !important;
    }
    header.qias-hb-header .qias-hb-phone-btn { display: none !important; }
    header.qias-hb-header .qias-hb-cart-btn {
        width: 36px !important; height: 36px !important; padding: 0 !important; flex-shrink: 0 !important;
    }
    header.qias-hb-header .qias-hb-account-btn,
    header.qias-hb-header .qias-hb-cta-btn {
        padding: 6px 10px !important; font-size: 11px !important; white-space: nowrap !important;
        max-width: 122px !important; overflow: hidden !important; text-overflow: ellipsis !important;
        height: 36px !important; flex-shrink: 0 !important;
    }
    header.qias-hb-header .qias-hb-mobile-toggle {
        display: inline-flex !important; align-items: center !important; justify-content: center !important;
        width: 36px !important; height: 36px !important; padding: 0 !important; flex-shrink: 0 !important;
    }
}
@media (max-width: 460px) {
    header.qias-hb-header .qias-hb-brand > span { display: none !important; }
    header.qias-hb-header .qias-hb-brand { flex: 0 0 auto !important; }
}
@media (max-width: 768px) {
    .qias-hb-stats-banner { padding: 16px 14px !important; }
    .qias-hb-stats-items:not(.qias-hb-pkg-tabs-slot) {
        display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important; width: 100% !important; align-items: stretch !important;
    }
    .qias-hb-stats-items:not(.qias-hb-pkg-tabs-slot) .qias-hb-stat-pill {
        padding: 10px 8px !important; gap: 7px !important; min-width: 0 !important;
        height: 100% !important; min-height: 62px !important; align-items: center !important;
        border-radius: 16px !important; box-sizing: border-box !important;
    }
    .qias-hb-stats-items:not(.qias-hb-pkg-tabs-slot) .qias-hb-stat-icon {
        width: 32px !important; height: 32px !important; font-size: 14px !important; flex-shrink: 0 !important;
    }
    .qias-hb-stats-items:not(.qias-hb-pkg-tabs-slot) .qias-hb-stat-meta { min-width: 0 !important; }
    .qias-hb-stats-items:not(.qias-hb-pkg-tabs-slot) .qias-hb-stat-meta strong { font-size: 13.5px !important; line-height: 1.2 !important; }
    .qias-hb-stats-items:not(.qias-hb-pkg-tabs-slot) .qias-hb-stat-meta small { font-size: 10.5px !important; line-height: 1.3 !important; display: block !important; }

    .qias-hb-pkg-tabs-slot.is-inline-row { width: 100% !important; max-width: 100% !important; }
    .qias-hb-pkg-tabs-slot.is-inline-row .qias-tabs-nav {
        display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important; width: 100% !important; align-items: stretch !important;
    }
    .qias-hb-pkg-tabs-slot.is-inline-row .qias-tab-item {
        width: 100% !important; min-width: 0 !important; display: flex !important;
    }
    .qias-hb-pkg-tabs-slot.is-inline-row .qias-tab-item button {
        width: 100% !important; min-height: 44px !important; height: 100% !important;
        padding: 7px 6px !important; font-size: 11px !important; line-height: 1.35 !important;
        white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
        display: flex !important; align-items: center !important; justify-content: center !important;
        border-radius: 14px !important; box-sizing: border-box !important;
    }
}

/* v2.7.6 Mobile Drawer Top/Safe-Area Fix & Scrollable Account Dropdown */
.qias-hb-mobile-drawer {
    z-index: 999999 !important;
    padding-top: max(16px, env(safe-area-inset-top)) !important;
    box-sizing: border-box !important;
}
.admin-bar .qias-hb-mobile-drawer {
    top: 46px !important;
    height: calc(100vh - 46px) !important;
}
@media (min-width: 783px) {
    .admin-bar .qias-hb-mobile-drawer {
        top: 32px !important;
        height: calc(100vh - 32px) !important;
    }
}
.qias-hb-account-menu {
    max-height: 70vh !important;
    overflow-y: auto !important;
}

/* v2.8.0 Footer Menu Shortcode Styling */
.qias-hb-footer-menu { text-align: right; font-family: inherit; }
.qias-hb-fm-title {
    margin: 0 0 14px !important; font-size: 16px !important; font-weight: 800 !important;
    color: #FFFFFF !important;
}
.qias-hb-footer-menu.is-light .qias-hb-fm-title { color: #0F2A38 !important; }
.qias-hb-fm-list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.qias-hb-fm-item { margin: 0 !important; padding: 0 !important; }
.qias-hb-fm-link {
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
    text-decoration: none !important; font-size: 13.5px !important; font-weight: 500 !important;
    color: rgba(255,255,255,0.85) !important; transition: all .2s ease !important;
}
.qias-hb-footer-menu.is-light .qias-hb-fm-link { color: #334155 !important; }
.qias-hb-fm-dot { color: #2DD4BF !important; font-size: 16px !important; line-height: 1 !important; }
.qias-hb-fm-link:hover { color: #5ACCC1 !important; transform: translateX(-3px); }

/* v2.9.1 Tabbed Pages (Centers & Honors — 4 Templates + WoodMart-Proof + 2x2 Mobile Grid) */
.qias-hb-tp-wrap { padding: 32px 0 54px; font-family: 'Vazirmatn', Tahoma, sans-serif; }
.qias-hb-tp-hdr { text-align: center; margin-bottom: 26px; }
.qias-hb-tp-title { font-size: clamp(22px, 3vw, 31px) !important; font-weight: 900 !important; color: #0B2533 !important; margin: 0 0 8px !important; line-height: 1.4 !important; }
.qias-hb-tp-sub { font-size: 14.5px; color: #475569; margin: 0 auto; max-width: 680px; line-height: 1.85; }

.qias-hb-tp-tabs-shell { display: flex; justify-content: center; margin-bottom: 20px; }
.qias-hb-tp-wrap .qias-hb-tp-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; width: 100%; }

/* Base Reset against Theme Button Overrides */
.qias-hb-tp-wrap button.qias-hb-tp-tab-btn,
.qias-hb-tp-wrap button.qias-hb-tp-sub-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    outline: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    line-height: 1.4 !important;
    transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.qias-hb-tp-wrap .qias-hb-tp-ico {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(45, 147, 137, 0.12);
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.24s ease;
}
.qias-hb-tp-wrap .qias-hb-tp-tab-btn.is-active .qias-hb-tp-ico,
.qias-hb-tp-wrap .qias-hb-tp-sub-btn.is-active .qias-hb-tp-ico {
    background: rgba(255, 255, 255, 0.22) !important;
}

/* Template 1: Glass Cards (Default) */
.qias-hb-tp-wrap.qias-tp-style-glass_cards button.qias-hb-tp-tab-btn {
    padding: 12px 20px !important;
    border-radius: 18px !important;
    border: 1.5px solid #CCFBF1 !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FEFC 100%) !important;
    color: #0F172A !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.08) !important;
}
.qias-hb-tp-wrap.qias-tp-style-glass_cards button.qias-hb-tp-tab-btn:hover {
    border-color: #2D9389 !important;
    color: #0F766E !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.14) !important;
}
.qias-hb-tp-wrap.qias-tp-style-glass_cards button.qias-hb-tp-tab-btn.is-active {
    background: linear-gradient(135deg, #39BAAE 0%, #0F766E 100%) !important;
    color: #FFFFFF !important;
    border-color: #0F766E !important;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.28) !important;
}

/* Template 2: Pill Dock (Header Style) */
.qias-hb-tp-wrap.qias-tp-style-pill_dock .qias-hb-tp-tabs {
    width: auto;
    max-width: 100%;
    padding: 7px;
    border-radius: 999px;
    background: rgba(240, 253, 250, 0.92);
    border: 1.5px solid #99F6E4;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
    gap: 6px;
}
.qias-hb-tp-wrap.qias-tp-style-pill_dock button.qias-hb-tp-tab-btn {
    padding: 10px 18px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #1E3A4C !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
.qias-hb-tp-wrap.qias-tp-style-pill_dock button.qias-hb-tp-tab-btn:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    color: #0F766E !important;
}
.qias-hb-tp-wrap.qias-tp-style-pill_dock button.qias-hb-tp-tab-btn.is-active {
    background: linear-gradient(135deg, #2D9389, #0F766E) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.26) !important;
}

/* Template 3: Underline Modern */
.qias-hb-tp-wrap.qias-tp-style-underline_modern .qias-hb-tp-tabs {
    border-bottom: 2px solid #E2E8F0;
    gap: 8px;
    padding-bottom: 0;
}
.qias-hb-tp-wrap.qias-tp-style-underline_modern button.qias-hb-tp-tab-btn {
    padding: 12px 18px !important;
    border-radius: 14px 14px 0 0 !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -2px !important;
    background: transparent !important;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
.qias-hb-tp-wrap.qias-tp-style-underline_modern button.qias-hb-tp-tab-btn:hover {
    background: #F8FAFC !important;
    color: #0F766E !important;
}
.qias-hb-tp-wrap.qias-tp-style-underline_modern button.qias-hb-tp-tab-btn.is-active {
    background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%) !important;
    color: #0F766E !important;
    border-bottom: 3px solid #0F766E !important;
}
.qias-hb-tp-wrap.qias-tp-style-underline_modern button.qias-hb-tp-tab-btn.is-active .qias-hb-tp-ico {
    background: #0F766E !important;
    color: #FFFFFF !important;
}

/* Template 4: Gradient Tiles */
.qias-hb-tp-wrap.qias-tp-style-gradient_tiles button.qias-hb-tp-tab-btn {
    padding: 13px 20px !important;
    border-radius: 16px !important;
    border: 1.5px solid #E2E8F0 !important;
    border-top: 4px solid #39BAAE !important;
    background: #FFFFFF !important;
    color: #0B2533 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}
.qias-hb-tp-wrap.qias-tp-style-gradient_tiles button.qias-hb-tp-tab-btn:hover {
    transform: translateY(-2px) !important;
    border-color: #2D9389 !important;
}
.qias-hb-tp-wrap.qias-tp-style-gradient_tiles button.qias-hb-tp-tab-btn.is-active {
    background: linear-gradient(135deg, #0F766E 0%, #115E59 100%) !important;
    border-color: #0F766E !important;
    border-top-color: #5EEAD4 !important;
    color: #FFFFFF !important;
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.3) !important;
}

/* Outer & Inner Subtabs Bar */
.qias-hb-tp-subbars-outer { margin-bottom: 22px; }
.qias-hb-tp-subbar-outer {
    background: linear-gradient(180deg, #F4FCFB 0%, #FFFFFF 100%);
    border: 1.5px solid #CCFBF1;
    border-radius: 20px;
    padding: 14px 18px;
    box-shadow: 0 8px 22px rgba(15, 118, 110, 0.06);
}
.qias-hb-tp-subbox-title { font-size: 14.5px; font-weight: 900; color: #0F766E; margin: 0 0 12px; text-align: center; }
.qias-hb-tp-wrap .qias-hb-tp-subtabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: safe center;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 6px;
    scrollbar-width: thin;
    scrollbar-color: #99F6E4 transparent;
    -webkit-overflow-scrolling: touch;
}
.qias-hb-tp-wrap .qias-hb-tp-subtabs::-webkit-scrollbar { height: 5px; }
.qias-hb-tp-wrap .qias-hb-tp-subtabs::-webkit-scrollbar-thumb { background: #99F6E4; border-radius: 999px; }
.qias-hb-tp-wrap button.qias-hb-tp-sub-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    border: 1.5px solid #D5ECE9 !important;
    background: #FFFFFF !important;
    color: #1E3A4C !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.05) !important;
}
.qias-hb-tp-wrap button.qias-hb-tp-sub-btn .qias-hb-tp-ico {
    width: 24px;
    height: 24px;
    font-size: 13px;
}
.qias-hb-tp-wrap button.qias-hb-tp-sub-btn:hover {
    border-color: #2D9389 !important;
    background: #F0FDFA !important;
    color: #0F766E !important;
    transform: translateY(-1px) !important;
}
.qias-hb-tp-wrap button.qias-hb-tp-sub-btn.is-active {
    background: linear-gradient(135deg, #2D9389 0%, #0F766E 100%) !important;
    color: #FFFFFF !important;
    border-color: #0F766E !important;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.24) !important;
}

/* Content Card */
.qias-hb-tp-panel {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.qias-hb-tp-content { font-size: 15px; line-height: 1.9; color: #1E293B; margin-bottom: 16px; }
.qias-hb-tp-content img { max-width: 100%; height: auto; border-radius: 14px; }
.qias-hb-tp-parent-intro { padding-bottom: 12px; border-bottom: 1px dashed #E2E8F0; margin-bottom: 18px; }
.qias-hb-tp-sc-top { margin-bottom: 18px; }
.qias-hb-tp-sc-bot { margin-top: 20px; }
.qias-hb-tp-subbox.is-inside-mode { margin-top: 16px; padding-top: 18px; border-top: 1.5px dashed #CCFBF1; }
.qias-hb-tp-subbox.is-inside-mode .qias-hb-tp-subtabs { margin-bottom: 18px; }
.qias-hb-tp-subbox.is-inside-mode .qias-hb-tp-subpanel { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 16px; padding: 20px; }
.qias-hb-tp-subbox.is-outside-mode .qias-hb-tp-subpanel { padding: 4px 0; }

/* Mobile 2-Column Clean Grid for Both Main Tabs & Subtabs */
@media (max-width: 768px) {
    .qias-hb-tp-wrap { padding: 20px 0 36px; }
    .qias-hb-tp-hdr { margin-bottom: 16px; }
    .qias-hb-tp-wrap .qias-hb-tp-tabs,
    .qias-hb-tp-wrap.qias-tp-style-pill_dock .qias-hb-tp-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        border-radius: 18px !important;
    }
    .qias-hb-tp-wrap .qias-hb-tp-subtabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .qias-hb-tp-wrap button.qias-hb-tp-tab-btn {
        width: 100% !important;
        padding: 10px 8px !important;
        font-size: 12.5px !important;
        border-radius: 14px !important;
        min-height: 48px !important;
        text-align: center !important;
        justify-content: flex-start !important;
    }
    .qias-hb-tp-wrap button.qias-hb-tp-sub-btn {
        width: 100% !important;
        white-space: normal !important;
        flex: initial !important;
        padding: 9px 8px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
        min-height: 44px !important;
        justify-content: flex-start !important;
    }
    .qias-hb-tp-wrap .qias-hb-tp-lbl {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-align: right;
    }
    .qias-hb-tp-wrap .qias-hb-tp-ico {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
    .qias-hb-tp-subbar-outer { padding: 12px 10px; border-radius: 16px; }
    .qias-hb-tp-panel { padding: 16px 14px; border-radius: 18px; }
    .qias-hb-tp-subbox.is-inside-mode .qias-hb-tp-subpanel { padding: 14px 12px; }
}

/* v3.0.0 Unit Image Slider (Non-deforming), News, Pre-reg CTA, & Staff Gallery */
.qias-hb-unit-slider {
    position: relative; width: 100%; overflow: hidden; border-radius: 20px;
    background: #F1F5F9; margin-bottom: 22px; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    aspect-ratio: 16 / 7;
}
.qias-hb-unit-slider.qias-us-ratio-16_9 { aspect-ratio: 16 / 9; }
.qias-hb-unit-slider.qias-us-ratio-21_9 { aspect-ratio: 21 / 9; }
.qias-hb-unit-slider.qias-us-ratio-4_3 { aspect-ratio: 4 / 3; }
.qias-hb-unit-slider.qias-us-ratio-natural { aspect-ratio: auto; }

.qias-hb-us-track { position: relative; width: 100%; height: 100%; }
.qias-hb-us-slide {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    transition: opacity 0.45s ease; display: flex; align-items: center; justify-content: center;
}
.qias-hb-us-slide.is-active { opacity: 1; pointer-events: auto; position: relative; height: 100%; }
.qias-hb-unit-slider.qias-us-ratio-natural .qias-hb-us-slide { position: absolute; inset: 0; }
.qias-hb-unit-slider.qias-us-ratio-natural .qias-hb-us-slide.is-active { position: relative; }

.qias-hb-us-slide img {
    width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
}
.qias-hb-unit-slider.qias-us-fit-contain .qias-hb-us-slide img {
    object-fit: contain; background: #F8FAFC;
}
.qias-hb-unit-slider.qias-us-ratio-natural .qias-hb-us-slide img {
    width: 100%; height: auto; max-height: 540px; object-fit: contain;
}

.qias-hb-unit-slider button.qias-hb-us-nav {
    position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 4 !important;
    width: 36px !important; height: 36px !important; min-width: 0 !important; min-height: 0 !important;
    padding: 0 !important; border-radius: 50% !important; border: none !important;
    background: rgba(255, 255, 255, 0.88) !important; color: #0F766E !important;
    font-size: 15px !important; font-weight: 900 !important; line-height: 1 !important;
    cursor: pointer !important; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
}
.qias-hb-unit-slider button.qias-hb-us-nav:hover { background: #0F766E !important; color: #FFFFFF !important; }
.qias-hb-us-prev { right: 14px !important; }
.qias-hb-us-next { left: 14px !important; }

.qias-hb-unit-slider .qias-hb-us-dots {
    position: absolute !important; bottom: 12px !important; left: 50% !important; transform: translateX(-50%) !important; z-index: 4 !important;
    display: inline-flex !important; align-items: center !important; gap: 6px !important;
    padding: 5px 10px !important; border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.45) !important; backdrop-filter: blur(4px) !important;
}
.qias-hb-unit-slider button.qias-hb-us-dot {
    width: 9px !important; height: 9px !important; min-width: 0 !important; min-height: 0 !important;
    padding: 0 !important; margin: 0 !important; border-radius: 999px !important; border: none !important;
    background: rgba(255, 255, 255, 0.55) !important; color: #FFFFFF !important;
    font-size: 0 !important; line-height: 1 !important; box-shadow: none !important;
    cursor: pointer !important; transition: all 0.2s ease !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
}
.qias-hb-unit-slider button.qias-hb-us-dot.is-active {
    width: 22px !important; background: #39BAAE !important; color: #FFFFFF !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-dots_circle_num button.qias-hb-us-dot,
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-dots_square_num button.qias-hb-us-dot {
    width: 22px !important; height: 22px !important; font-size: 11px !important; font-weight: 800 !important;
    background: rgba(255, 255, 255, 0.25) !important; color: #FFFFFF !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-dots_circle_num button.qias-hb-us-dot.is-active {
    width: 22px !important; background: #39BAAE !important; color: #FFFFFF !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-dots_square button.qias-hb-us-dot {
    width: 9px !important; height: 9px !important; border-radius: 3px !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-dots_square button.qias-hb-us-dot.is-active {
    width: 20px !important; border-radius: 4px !important; background: #39BAAE !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-dots_square_num button.qias-hb-us-dot {
    border-radius: 6px !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-dots_square_num button.qias-hb-us-dot.is-active {
    width: 22px !important; background: #39BAAE !important; color: #FFFFFF !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-numbers_only {
    background: rgba(15, 23, 42, 0.55) !important; padding: 4px 10px !important; gap: 6px !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-numbers_only button.qias-hb-us-dot {
    width: auto !important; height: 22px !important; padding: 0 7px !important;
    border-radius: 6px !important; background: transparent !important;
    color: rgba(255, 255, 255, 0.78) !important; font-size: 12px !important; font-weight: 800 !important;
}
.qias-hb-unit-slider .qias-hb-us-dots.qias-hb-us-nav-numbers_only button.qias-hb-us-dot.is-active {
    width: auto !important; background: #39BAAE !important; color: #FFFFFF !important;
}

.qias-hb-unit-news { margin: 24px 0; }

.qias-hb-prereg-wrap {
    margin: 26px 0; display: flex; justify-content: center;
}
.qias-hb-prereg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px; border-radius: 14px; border: none; cursor: pointer;
    background: linear-gradient(135deg, #39BAAE 0%, #0F766E 100%);
    color: #FFFFFF !important; font-size: 15.5px; font-weight: 800; text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28); transition: transform 0.18s, box-shadow 0.18s;
}
.qias-hb-prereg-btn:hover {
    transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 118, 110, 0.36); color: #FFFFFF !important;
}

.qias-hb-staff-section {
    margin-top: 28px; padding-top: 22px; border-top: 1.5px dashed #CCFBF1;
}
.qias-hb-staff-heading {
    margin: 0 0 18px; font-size: 18px; font-weight: 900; color: #0F766E; text-align: center;
}
.qias-hb-staff-grid {
    display: grid;
    grid-template-columns: repeat(var(--qias-staff-cols, 3), minmax(0, 1fr));
    gap: 18px;
}
.qias-hb-staff-card {
    background: #FFFFFF; border: 1.5px solid #E2E8F0; border-radius: 18px;
    overflow: hidden; text-align: center;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05); transition: transform 0.18s ease;
}
.qias-hb-staff-card:hover { transform: translateY(-3px); border-color: #5EEAD4; }
.qias-hb-staff-photo {
    width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #F0FDFA;
}
.qias-hb-staff-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.qias-hb-staff-info { padding: 12px 14px; }
.qias-hb-staff-name { font-size: 14.5px; font-weight: 800; color: #0F172A; margin-bottom: 4px; }
.qias-hb-staff-role { font-size: 12.5px; font-weight: 600; color: #0F766E; }

@media (max-width: 768px) {
    .qias-hb-unit-slider { aspect-ratio: 16 / 9; border-radius: 14px; }
    .qias-hb-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .qias-hb-staff-info { padding: 10px 8px; }
    .qias-hb-staff-name { font-size: 13px; }
    .qias-hb-staff-role { font-size: 11.5px; }
}


/* v3.3.0 Bottom Extra Content Spacing */
.qias-hb-tp-bottom-content {
    margin-top: 24px; padding-top: 20px; border-top: 1.5px dashed #E2E8F0;
}

/* v3.4.0 Multi-level Nested Flyout Submenus (Up to 4 Levels) & Single Unit Wrapper */
.qias-hb-submenu li { position: relative; }
.qias-hb-submenu li.has-sub > a {
    display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important;
}
.qias-hb-sub-caret {
    display: inline-flex; align-items: center; justify-content: center;
    color: #0F766E; line-height: 1; flex-shrink: 0; opacity: 0.82;
    transition: transform 0.16s ease;
}
.qias-hb-submenu li.has-sub:hover > a .qias-hb-sub-caret,
.qias-hb-submenu li.has-sub.is-open > a .qias-hb-sub-caret {
    transform: translateX(-3px); opacity: 1;
}
.qias-hb-submenu .qias-hb-submenu-nested {
    display: none; position: absolute; top: -8px; right: calc(100% + 8px); left: auto;
    min-width: 225px;
}
/* Invisible horizontal hover bridge between parent submenu and nested flyout */
.qias-hb-submenu .qias-hb-submenu-nested::before {
    content: ""; position: absolute; top: 0; bottom: 0; right: -14px; width: 16px; background: transparent;
}
.qias-hb-submenu li.has-sub:hover > .qias-hb-submenu-nested,
.qias-hb-submenu li.has-sub.is-open > .qias-hb-submenu-nested,
.qias-hb-submenu li.has-sub:focus-within > .qias-hb-submenu-nested {
    display: block;
}
.qias-hb-mobile-sub .qias-hb-mobile-sub {
    padding-right: 16px !important;
    border-right: 2px solid #99F6E4;
    margin-top: 4px;
}
.qias-hb-single-unit-wrap { padding: 12px 0; }

/* v3.5.0 Image Slide inside Hero Text Slider Box */
.qias-hb-ts-img-slide {
    width: 100%;
    padding: 0;
}
.qias-hb-ts-img-link {
    display: block;
    width: 100%;
}
.qias-hb-ts-slide-img {
    width: 100%;
    max-height: 360px;
    border-radius: 14px;
    display: block;
    object-fit: contain;
}
.qias-hb-ts-slide-img.qias-hb-ts-fit-cover {
    object-fit: cover;
}


/* v3.6.0 Contact Us Page: Accordions, Responsive Table, Route Modal & Dynamic Form */
.qias-hb-contact-section {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    padding: 36px 0 48px;
}
.qias-hb-contact-accordions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}
.qias-hb-acc-item {
    background: #FFFFFF;
    border: 1.5px solid #CCFBF1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(15, 118, 110, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.qias-hb-acc-item.is-open {
    border-color: #39BAAE;
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.11);
}
.qias-hb-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #F6FCFC 0%, #ECFEFF 100%);
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    transition: background 0.2s ease;
}
.qias-hb-acc-item.is-open .qias-hb-acc-trigger {
    background: linear-gradient(135deg, #0F766E 0%, #2D9389 100%);
    color: #FFFFFF;
}
.qias-hb-acc-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.qias-hb-acc-ico {
    font-size: 22px;
    line-height: 1;
}
.qias-hb-acc-title {
    font-size: 17px;
    font-weight: 900;
    color: #0F172A;
}
.qias-hb-acc-item.is-open .qias-hb-acc-title {
    color: #FFFFFF;
}
.qias-hb-acc-count {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: #CCFBF1;
    color: #0F766E;
}
.qias-hb-acc-item.is-open .qias-hb-acc-count {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
}
.qias-hb-acc-chevron {
    display: inline-flex;
    color: #0F766E;
    transition: transform 0.22s ease;
}
.qias-hb-acc-item.is-open .qias-hb-acc-chevron {
    color: #FFFFFF;
    transform: rotate(180deg);
}
.qias-hb-acc-panel {
    padding: 18px 20px;
    background: #FFFFFF;
}
.qias-hb-contact-empty {
    text-align: center;
    padding: 24px;
    color: #64748B;
    font-size: 14px;
    background: #F8FAFC;
    border-radius: 12px;
}
.qias-hb-contact-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.qias-hb-contact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.qias-hb-contact-table thead th {
    background: #F0FDFA;
    color: #0F766E;
    font-weight: 800;
    padding: 12px 14px;
    border-bottom: 2px solid #99F6E4;
    text-align: right;
    white-space: nowrap;
}
.qias-hb-contact-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #E2E8F0;
    color: #1E293B;
    vertical-align: middle;
}
.qias-hb-contact-table tbody tr:hover {
    background: #F8FAFC;
}
.qias-hb-ct-num {
    font-weight: 800;
    color: #0F766E;
    width: 56px;
}
.qias-hb-ct-name {
    font-weight: 800;
    color: #0F172A;
}
.qias-hb-ct-phone a {
    color: #0F766E;
    font-weight: 700;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
}
.qias-hb-ct-phone a:hover {
    text-decoration: underline;
}
.qias-hb-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1.5px solid #39BAAE;
    background: #F0FDFA;
    color: #0F766E;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}
.qias-hb-route-btn:hover {
    background: #0F766E;
    color: #FFFFFF;
    border-color: #0F766E;
}

/* Routing Modal */
.qias-hb-route-modal-box {
    max-width: 560px !important;
}
.qias-hb-route-addr-box {
    background: #F0FDFA;
    border: 1.5px solid #99F6E4;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.qias-hb-route-addr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.qias-hb-route-addr-lbl {
    font-size: 13px;
    font-weight: 900;
    color: #0F766E;
}
.qias-hb-copy-addr-btn {
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #99F6E4;
    background: #FFFFFF;
    color: #0F766E;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}
.qias-hb-route-addr-text {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.75;
}
.qias-hb-route-role-text {
    margin-top: 6px;
    font-size: 12.5px;
    color: #475569;
}
.qias-hb-route-apps-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 12px;
}
.qias-hb-route-apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.qias-hb-route-app-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    text-decoration: none !important;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.qias-hb-route-app-card:hover {
    transform: translateY(-2px);
    border-color: #39BAAE;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.12);
}
.qias-hb-app-ico { font-size: 20px; }
.qias-hb-app-name { font-size: 13.5px; font-weight: 800; color: #0F172A; }
.qias-hb-app-sub { font-size: 11.5px; color: #64748B; }

/* Contact Form Card */
.qias-hb-contact-form-card {
    background: #FFFFFF;
    border: 1.5px solid #CCFBF1;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(15, 118, 110, 0.08);
}
.qias-hb-cf-hdr {
    margin-bottom: 20px;
}
.qias-hb-cf-hdr h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 900;
    color: #0F766E;
}
.qias-hb-cf-hdr p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}
.qias-hb-cf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.qias-hb-cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qias-hb-cf-field.is-full {
    grid-column: 1 / -1;
}
.qias-hb-cf-field label {
    font-size: 13px;
    font-weight: 800;
    color: #0F172A;
}
.qias-hb-cf-req {
    color: #DC2626;
    margin-right: 3px;
}
.qias-hb-cf-field input,
.qias-hb-cf-field select,
.qias-hb-cf-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    background: #F8FAFC;
    font-family: inherit;
    font-size: 13.5px;
    color: #0F172A;
    box-sizing: border-box;
    transition: border-color 0.18s, background 0.18s;
}
.qias-hb-cf-field input:focus,
.qias-hb-cf-field select:focus,
.qias-hb-cf-field textarea:focus {
    outline: none;
    border-color: #39BAAE;
    background: #FFFFFF;
}
.qias-hb-cf-field .is-invalid {
    border-color: #DC2626 !important;
    background: #FEF2F2 !important;
}
.qias-hb-cf-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}
.qias-hb-cf-submit {
    padding: 12px 28px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #39BAAE 0%, #0F766E 100%);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.qias-hb-cf-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.34);
}
.qias-hb-cf-status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 700;
}
.qias-hb-cf-status.is-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}
.qias-hb-cf-status.is-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

@media (max-width: 768px) {
    .qias-hb-acc-trigger { padding: 14px 16px; }
    .qias-hb-acc-title { font-size: 15px; }
    .qias-hb-acc-panel { padding: 12px; }
    .qias-hb-contact-table thead { display: none; }
    .qias-hb-contact-table,
    .qias-hb-contact-table tbody,
    .qias-hb-contact-table tr,
    .qias-hb-contact-table td {
        display: block;
        width: 100%;
    }
    .qias-hb-contact-table tr {
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    .qias-hb-contact-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 7px 0;
        border-bottom: 1px dashed #E2E8F0;
        text-align: left;
    }
    .qias-hb-contact-table tbody td:last-child { border-bottom: 0; }
    .qias-hb-contact-table tbody td::before {
        content: attr(data-label);
        font-weight: 800;
        color: #0F766E;
        font-size: 12px;
        text-align: right;
    }
    .qias-hb-ct-num { width: auto; }
    .qias-hb-cf-grid { grid-template-columns: 1fr; }
    .qias-hb-route-apps-grid { grid-template-columns: 1fr; }
    .qias-hb-contact-form-card { padding: 18px; }
}


/* Gallery Aspect Ratio & Fit Modes (v3.6.3) */
.qias-staff-ratio-natural .qias-hb-staff-photo {
    aspect-ratio: auto !important;
    height: auto !important;
}
.qias-staff-ratio-natural .qias-hb-staff-photo img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}
.qias-staff-ratio-1_1 .qias-hb-staff-photo { aspect-ratio: 1 / 1; }
.qias-staff-ratio-3_4 .qias-hb-staff-photo { aspect-ratio: 3 / 4; }
.qias-staff-ratio-4_5 .qias-hb-staff-photo { aspect-ratio: 4 / 5; }
.qias-staff-ratio-4_3 .qias-hb-staff-photo { aspect-ratio: 4 / 3; }
.qias-staff-ratio-16_9 .qias-hb-staff-photo { aspect-ratio: 16 / 9; }

.qias-staff-fit-contain .qias-hb-staff-photo {
    background: #FFFFFF;
}
.qias-staff-fit-contain .qias-hb-staff-photo img {
    object-fit: contain !important;
    object-position: center center !important;
}
.qias-staff-fit-cover .qias-hb-staff-photo img {
    object-fit: cover !important;
    object-position: top center !important;
}


/* Header Fit, Global Subpage Spacing & Scrollable Account Dropdown (v3.6.4) */
body.qias-hb-has-global,
body.qias-hb-has-global .website-wrapper {
    background-color: #F6FCFC;
}
body.qias-hb-has-global .main-page-wrapper {
    background-color: transparent !important;
}
body.qias-hb-has-global .main-page-wrapper {
    padding-top: 10px !important;
    margin-top: 0 !important;
}
#qias-hb-global-mount.qias-hb-global-fixed > header.qias-hb-header.qias-hb-tpl-glass_pill {
    padding: 6px 0 !important;
}
header.qias-hb-header .qias-hb-header-shell {
    max-width: 1320px;
    width: 100%;
    box-sizing: border-box;
}
header.qias-hb-header .qias-hb-header-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    gap: clamp(6px, 1vw, 14px);
}
header.qias-hb-header .qias-hb-nav {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}
@media (min-width: 1025px) {
    header.qias-hb-header ul.qias-hb-nav-list {
        gap: clamp(2px, 0.38vw, 6px) !important;
    }
    header.qias-hb-header a.qias-hb-nav-link {
        padding: 7px clamp(7px, 0.72vw, 13px) !important;
        font-size: clamp(12px, 0.92vw, 13.5px) !important;
    }
    header.qias-hb-header a.qias-hb-nav-link > span {
        font-size: clamp(12px, 0.92vw, 13.5px) !important;
    }
    header.qias-hb-header .qias-hb-header-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    header.qias-hb-header .qias-hb-phone-pill {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    header.qias-hb-header button.qias-hb-account-btn {
        padding: 6px 12px !important;
        font-size: 12.5px !important;
        max-width: 100%;
    }
    header.qias-hb-header.qias-hb-tpl-glass_pill .qias-hb-header-inner {
        padding: 6px 14px !important;
    }
}

/* Scrollable Account Dropdown inside Fixed/Frozen Header */
.qias-hb-account-dropdown {
    max-height: calc(100vh - 115px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin;
    scrollbar-color: #39BAAE #F1F5F9;
}
body.admin-bar .qias-hb-account-dropdown {
    max-height: calc(100vh - 150px) !important;
}
.qias-hb-account-dropdown::-webkit-scrollbar {
    width: 6px;
}
.qias-hb-account-dropdown::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 99px;
}
.qias-hb-account-dropdown::-webkit-scrollbar-thumb {
    background: #39BAAE;
    border-radius: 99px;
}
.qias-hb-account-dropdown li a {
    padding: 7px 12px !important;
    font-size: 12.5px !important;
}
