/* Top AI Hosting — force every WHMCS navigation item into one compact header row */
#header.tah-site-header{display:block!important;background:#080b10!important;color:#f8fafc!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-bottom:1px solid #263244!important;box-shadow:0 5px 18px rgba(0,0,0,.18)!important;position:relative;z-index:1000}
#header.tah-site-header .tah-header-row{width:100%;max-width:1500px;min-height:76px!important;height:auto!important;box-sizing:border-box;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;padding:9px 24px!important;margin:0 auto!important}
#header.tah-site-header .tah-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 0 auto!important;width:auto!important;max-width:220px!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important}
#header.tah-site-header .tah-brand-logo{display:flex!important;align-items:center!important;justify-content:flex-start!important;float:none!important;padding:0!important;margin:0!important;min-height:0!important;line-height:1!important;background:transparent!important}
#header.tah-site-header .tah-brand-logo img{display:block!important;width:auto!important;height:auto!important;max-width:210px!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
#header.tah-site-header .tah-brand-text{display:block!important;color:#fff!important;font-size:24px!important;font-weight:800!important;white-space:nowrap!important;padding:0!important;margin:0!important}
#header.tah-site-header .tah-mobile-menu-toggle{display:none!important}
#header.tah-site-header .tah-header-nav{display:flex!important;flex:1 1 auto!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:auto!important;min-width:0!important;max-width:none!important;float:none!important;position:static!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
#header.tah-site-header .tah-header-nav.collapse{height:auto!important;visibility:visible!important}
#header.tah-site-header .tah-header-nav .navbar-nav{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;float:none!important;position:static!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;gap:2px!important;background:transparent!important}
#header.tah-site-header .tah-header-nav .navbar-nav.tah-primary-links{flex:0 1 auto!important;min-width:0!important}
#header.tah-site-header .tah-header-nav .navbar-nav.tah-secondary-links{flex:0 0 auto!important;margin-left:auto!important;white-space:nowrap!important}
#header.tah-site-header .tah-header-nav .navbar-right{float:none!important;margin-left:auto!important;margin-right:0!important}
#header.tah-site-header .tah-header-nav .navbar-nav>li{display:block!important;float:none!important;flex:0 0 auto!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;white-space:nowrap!important}
#header.tah-site-header .tah-header-nav .navbar-nav>li>a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;box-sizing:border-box!important;padding:10px 9px!important;margin:0!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#f3f6fb!important;font-size:12.5px!important;font-weight:650!important;line-height:1.25!important;text-decoration:none!important;white-space:nowrap!important;text-shadow:none!important}
#header.tah-site-header .tah-header-nav .navbar-nav>li>a:after{display:none!important}
#header.tah-site-header .tah-header-nav .navbar-nav>li>a:hover,
#header.tah-site-header .tah-header-nav .navbar-nav>li.active>a,
#header.tah-site-header .tah-header-nav .navbar-nav>li.open>a,
#header.tah-site-header .tah-header-nav .navbar-nav>li>a:focus{background:#172335!important;border-color:#2a3d57!important;color:#fff!important}
/* Account greeting, language, notifications and logout must remain readable on the same dark row. */
#header.tah-site-header .tah-header-nav .navbar-nav>li>a .caret{border-top-color:#dce8f8!important;border-bottom-color:#dce8f8!important}
#header.tah-site-header .tah-header-nav .navbar-nav>li.dropdown.open>a,
#header.tah-site-header .tah-header-nav .navbar-nav>li.dropdown>a{color:#f8fafc!important}
#header.tah-site-header .tah-header-nav .navbar-nav>li.primary-action>a,
#header.tah-site-header .tah-header-nav .navbar-nav>li>a.btn{background:linear-gradient(110deg,#0878ff,#06a8df)!important;border:1px solid #2999ff!important;color:#fff!important;border-radius:9px!important;padding:10px 14px!important}
#header.tah-site-header .tah-header-nav .dropdown-menu{background:#111a27!important;border:1px solid #2a3a50!important;border-radius:10px!important;padding:6px!important;min-width:190px!important;box-shadow:0 16px 35px rgba(0,0,0,.35)!important}
#header.tah-site-header .tah-header-nav .dropdown-menu>li>a{display:block!important;padding:10px 12px!important;color:#edf4ff!important;white-space:normal!important;border-radius:6px!important;background:transparent!important}
#header.tah-site-header .tah-header-nav .dropdown-menu>li>a:hover{background:#1d304a!important;color:#69e7ff!important}
/* Hide old standalone navigation bars if an older WHMCS layout fragment is still present. */
#main-menu.tah-main-menu{display:none!important}
@media(max-width:1350px) and (min-width:992px){
 #header.tah-site-header .tah-header-row{gap:10px!important;padding-left:16px!important;padding-right:16px!important}
 #header.tah-site-header .tah-brand{max-width:180px!important}
 #header.tah-site-header .tah-brand-logo img{max-width:175px!important;max-height:42px!important}
 #header.tah-site-header .tah-header-nav{gap:4px!important}
 #header.tah-site-header .tah-header-nav .navbar-nav>li>a{font-size:11.5px!important;padding:9px 6px!important}
}
@media(max-width:991px){
 #header.tah-site-header .tah-header-row{min-height:66px!important;flex-flow:row wrap!important;gap:0!important;padding:10px 16px!important}
 #header.tah-site-header .tah-brand{max-width:calc(100% - 60px)!important}
 #header.tah-site-header .tah-brand-logo img{max-width:min(230px,65vw)!important;max-height:42px!important}
 #header.tah-site-header .tah-mobile-menu-toggle{display:block!important;float:none!important;margin:0 0 0 auto!important;padding:9px 11px!important;border:1px solid #34445b!important;border-radius:9px!important;background:#121a26!important}
 #header.tah-site-header .tah-mobile-menu-toggle .icon-bar{display:block!important;width:21px!important;height:2px!important;background:#fff!important;border-radius:3px!important}
 #header.tah-site-header .tah-mobile-menu-toggle .icon-bar+.icon-bar{margin-top:5px!important}
 #header.tah-site-header .tah-header-nav{display:none!important;flex:0 0 100%!important;flex-flow:column nowrap!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;margin:10px 0 0!important;padding:10px 0 0!important;border-top:1px solid #263244!important;max-height:72vh!important;overflow-y:auto!important}
 #header.tah-site-header .tah-header-nav.in{display:flex!important}
 #header.tah-site-header .tah-header-nav .navbar-nav,
 #header.tah-site-header .tah-header-nav .navbar-nav.tah-secondary-links{display:flex!important;flex-flow:column nowrap!important;align-items:stretch!important;width:100%!important;margin:0!important;gap:2px!important}
 #header.tah-site-header .tah-header-nav .navbar-nav.tah-secondary-links{margin-top:8px!important;padding-top:8px!important;border-top:1px solid #263244!important}
 #header.tah-site-header .tah-header-nav .navbar-nav>li{display:block!important;width:100%!important;white-space:normal!important;border:0!important}
 #header.tah-site-header .tah-header-nav .navbar-nav>li>a{display:flex!important;justify-content:space-between!important;width:100%!important;min-height:42px!important;padding:12px!important;font-size:14px!important;white-space:normal!important}
 #header.tah-site-header .tah-header-nav .navbar-right{margin-left:0!important}
 #header.tah-site-header .tah-header-nav .dropdown-menu{position:static!important;float:none!important;width:100%!important;margin:0 0 8px!important;box-shadow:none!important;background:#0b111b!important}
}

/* v3 readability + remove the white strip between header and homepage hero */
@media (min-width: 1351px){
  #header.tah-site-header .tah-header-row{gap:24px!important;padding-left:30px!important;padding-right:30px!important;min-height:82px!important}
  #header.tah-site-header .tah-brand{max-width:230px!important}
  #header.tah-site-header .tah-brand-logo img{max-width:220px!important;max-height:52px!important}
  #header.tah-site-header .tah-header-nav .navbar-nav.tah-primary-links{flex:1 1 auto!important;justify-content:space-evenly!important;gap:5px!important}
  #header.tah-site-header .tah-header-nav .navbar-nav>li>a{font-size:15px!important;font-weight:650!important;padding:12px 11px!important;min-height:46px!important}
  #header.tah-site-header .tah-header-nav .navbar-nav.tah-secondary-links{gap:5px!important}
}
@media (min-width: 992px) and (max-width: 1350px){
  #header.tah-site-header .tah-header-row{gap:12px!important;padding-left:18px!important;padding-right:18px!important}
  #header.tah-site-header .tah-header-nav .navbar-nav.tah-primary-links{flex:1 1 auto!important;justify-content:space-around!important;gap:1px!important}
  #header.tah-site-header .tah-header-nav .navbar-nav>li>a{font-size:14px!important;font-weight:650!important;padding:10px 7px!important;min-height:44px!important}
}
/* WHMCS can leave a container/row spacing strip above the homepage template. */
body.tah-page-homepage #main-body,
body.tah-page-homepage #main-body>.container,
body.tah-page-homepage #main-body>.container>.row,
body.tah-page-homepage #main-body .main-content,
body.tah-page-homepage #main-body .main-content>.tah-home{margin-top:0!important;padding-top:0!important;border-top:0!important}
body.tah-page-homepage #main-body{background:transparent!important}
body.tah-page-homepage #main-body>.container{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
body.tah-page-homepage #main-body>.container>.row{margin-left:0!important;margin-right:0!important}
body.tah-page-homepage #main-body .main-content{padding-left:0!important;padding-right:0!important}
body.tah-page-homepage .tah-home{margin-top:0!important;padding-top:0!important}
body.tah-page-homepage .tah-hero-home{margin-top:0!important;border-top:0!important}
@media(max-width:991px){
  body.tah-page-homepage #main-body>.container{padding-left:0!important;padding-right:0!important}
  body.tah-page-homepage #main-body .main-content{padding-left:0!important;padding-right:0!important}
  #header.tah-site-header .tah-header-nav .navbar-nav>li>a{font-size:15px!important;min-height:44px!important}
}
