
:root{
  --yellow:#FFD400;
  --navy:#14213D;
  --white:#FFFFFF;
  --soft:#F5F6F8;
  --muted:#6B7280;
  --ink:#111827;
  --line:#E5E7EB;
  --max:1440px;
  --shadow:0 16px 36px rgba(20,33,61,.14);
}

.ks-global-shell-active,
.ks-global-shell-active *{
  box-sizing:border-box;
}

.ks-global-shell-active .ks-global-site-header,
.ks-global-shell-active .ks-global-site-header *,
.ks-global-shell-active .ks-global-footer,
.ks-global-shell-active .ks-global-footer *{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}

.ks-global-shell-active .wrap{
  width:min(var(--max),calc(100% - 64px));
  margin:auto;
}

/* Hide Hello Elementor / theme header and footer only.
   The plugin's own header and footer are restored below. */
.ks-global-shell-active #masthead:not(#ksGlobalHeader),
.ks-global-shell-active header.site-header:not(#ksGlobalHeader),
.ks-global-shell-active .elementor-location-header,
.ks-global-shell-active #colophon:not(#ksGlobalFooter),
.ks-global-shell-active footer.site-footer:not(#ksGlobalFooter),
.ks-global-shell-active .elementor-location-footer{
  display:none !important;
}

/* Hide old header/footer blocks embedded inside page content, if present. */
.ks-global-shell-active .entry-content .site-header:not(#ksGlobalHeader),
.ks-global-shell-active .entry-content .footer:not(#ksGlobalFooter),
.ks-global-shell-active .elementor .site-header:not(#ksGlobalHeader),
.ks-global-shell-active .elementor .footer:not(#ksGlobalFooter),
.ks-global-shell-active .wp-block-post-content .site-header:not(#ksGlobalHeader),
.ks-global-shell-active .wp-block-post-content .footer:not(#ksGlobalFooter){
  display:none !important;
}

/* Restore plugin shell if a theme rule targets the generic classes. */
.ks-global-shell-active #ksGlobalHeader,
.ks-global-shell-active #ksGlobalFooter{
  display:block !important;
}

/* HEADER */
.ks-global-site-header{
  position:sticky;
  top:0;
  z-index:99999;
  width:100%;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  overflow:visible;
  isolation:isolate;
}

.ks-global-site-header::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:var(--white);
  border-bottom:1px solid var(--line);
  box-shadow:0 4px 14px rgba(20,33,61,.08);
  pointer-events:none;
}

.admin-bar .ks-global-site-header{
  top:32px;
}

.ks-global-site-header .nav{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:22px;
}

.ks-global-site-header .logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  color:var(--ink) !important;
  text-decoration:none !important;
  font-size:22px;
  font-weight:950;
  letter-spacing:-.04em;
  white-space:nowrap;
}

.ks-global-site-header .logo .ks{
  padding:6px 0;
}

.ks-global-site-header .logo .rehan{
  margin-left:3px;
  padding:6px 10px;
  border-radius:5px;
  background:var(--yellow);
  color:#000;
}

.ks-global-site-header .nav-links{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:2px;
}

.ks-global-site-header .nav-link,
.ks-global-site-header .nav-trigger{
  min-height:0;
  padding:12px 11px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--ink) !important;
  text-decoration:none !important;
  font-size:16px;
  line-height:1.2;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
}

.ks-global-site-header .nav-trigger{
  display:flex;
  align-items:center;
  gap:7px;
}

.ks-global-site-header .nav-link:hover,
.ks-global-site-header .nav-trigger:hover,
.ks-global-site-header .nav-trigger.is-active{
  background:var(--yellow);
  color:var(--navy) !important;
}

.ks-global-site-header .has-mega{
  position:relative;
}

.ks-global-site-header .chev{
  width:9px;
  height:9px;
  flex:0 0 9px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transform-origin:center;
  transition:transform .18s ease;
}

.ks-global-site-header .has-mega:hover .chev,
.ks-global-site-header .has-mega.open .chev{
  transform:rotate(225deg) translate(-1px,-1px);
}

.ks-global-site-header .mega{
  position:absolute;
  top:100%;
  left:50%;
  width:min(760px,90vw);
  margin:0;
  padding:20px;
  transform:translate(-50%,10px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  background:var(--white);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
}

.ks-global-site-header .has-mega:hover .mega{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%,0);
}

.ks-global-site-header .mega.narrow{
  width:min(620px,90vw);
}

.ks-global-site-header .mega-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid var(--line);
}

.ks-global-site-header .mega-head strong{
  display:block;
  font-size:16px;
}

.ks-global-site-header .mega-head span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:13px;
}

.ks-global-site-header .mega-head a{
  color:var(--navy) !important;
  text-decoration:none !important;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}

.ks-global-site-header .mega-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.ks-global-site-header .mega-grid.two{
  grid-template-columns:repeat(2,1fr);
}

.ks-global-site-header .mega-col h4{
  margin:0 0 9px;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.ks-global-site-header .mega-item{
  display:block;
  padding:9px 0;
  color:var(--ink) !important;
  text-decoration:none !important;
  border-bottom:1px solid #F0F1F3;
}

.ks-global-site-header .mega-item:last-child{
  border-bottom:0;
}

.ks-global-site-header .mega-item strong{
  display:block;
  font-size:14px;
  line-height:1.25;
}

.ks-global-site-header .mega-item span{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
}

.ks-global-site-header .mega-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-top:16px;
  padding-top:15px;
  border-top:1px solid var(--line);
}

.ks-global-site-header .mega-foot p{
  margin:0;
  max-width:470px;
  color:var(--muted);
  font-size:12px;
}

.ks-global-site-header .mega-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border:1px solid #000;
  border-radius:8px;
  background:var(--yellow);
  color:#000 !important;
  text-decoration:none !important;
  font-weight:900;
  white-space:nowrap;
  box-shadow:4px 4px 0 #000;
  transition:transform .14s ease,box-shadow .14s ease;
}

.ks-global-site-header .mega-cta:hover{
  transform:scale(1.035);
}

.ks-global-site-header .mega-cta:active{
  transform:scale(.965);
  box-shadow:1px 1px 0 rgba(0,0,0,.85);
}

.ks-global-site-header .client-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border:1px solid var(--navy);
  border-radius:999px;
  background:var(--white);
  color:var(--navy) !important;
  text-decoration:none !important;
  font-size:16px;
  font-weight:900;
  white-space:nowrap;
  box-shadow:3px 3px 0 rgba(20,33,61,.18);
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease,color .14s ease;
}

.ks-global-site-header .client-link:hover{
  background:var(--yellow);
  transform:scale(1.045);
  box-shadow:5px 5px 0 var(--navy);
}

.ks-global-site-header .client-link:active{
  transform:scale(.965);
  box-shadow:1px 1px 0 var(--navy);
}

.ks-global-site-header .mobile-toggle{
  display:none;
  margin-left:auto;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid #000;
  border-radius:8px;
  background:var(--yellow);
  color:#000;
  font-weight:900;
  cursor:pointer;
}





/* Keep the original NAV placement. Only the background stretches. */
.ks-global-site-header > .wrap.nav{
  width:min(var(--max),calc(100% - 64px));
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
}

/* FOOTER */
.ks-global-footer{
  width:100%;
  padding:34px 0 20px;
  background:#0C1425;
  color:#D7DFEA;
}

.ks-global-footer .footer-grid{
  display:grid;
  grid-template-columns:1.1fr .8fr .8fr 1.15fr;
  gap:38px;
}

.ks-global-footer .footer-brand{
  color:#fff;
  font-size:28px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:-.05em;
}

.ks-global-footer .footer-brand .rank{
  color:var(--yellow);
}

.ks-global-footer p{
  color:#9EADBD;
  font-size:14px;
}

.ks-global-footer h3{
  margin:0 0 15px;
  color:#fff;
  font-size:14px;
}

.ks-global-footer .footer-links{
  display:grid;
  gap:10px;
}

.ks-global-footer .footer-links a{
  color:#D7DFEA !important;
  text-decoration:none !important;
  font-size:14px;
}


.ks-global-footer .footer-note{
  margin-top:0;
}

.ks-global-footer .footer-note span{
  display:block;
  color:#D7DFEA;
  font-size:14px;
  line-height:1.6;
}

.ks-global-footer .newsletter{
  display:flex;
  gap:8px;
  margin-top:14px;
}

.ks-global-footer .newsletter input{
  flex:1;
  min-width:0;
  height:44px;
  padding:0 12px;
  border:1px solid #31405A;
  border-radius:7px;
  background:#172136;
  color:#fff;
}

.ks-global-footer .newsletter input::placeholder{
  color:#9EADBD;
}

.ks-global-footer .newsletter button{
  width:46px;
  height:44px;
  border:1px solid #000;
  border-radius:7px;
  background:var(--yellow);
  color:#000;
  font-weight:950;
  cursor:pointer;
  box-shadow:3px 3px 0 #000;
}

.ks-global-footer .footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#8796A8;
  font-size:12px;
}

.ks-global-footer .footer-socials{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.ks-global-footer .footer-socials a{
  color:#D7DFEA !important;
  text-decoration:none !important;
}

/* RESPONSIVE */
@media(max-width:1200px){
  .ks-global-shell-active .wrap{
    width:min(100% - 40px,var(--max));
  }
}

@media(max-width:1050px){
  .ks-global-footer .footer-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:900px){
  .ks-global-shell-active .wrap{
    width:min(100% - 28px,var(--max));
  }

  .ks-global-site-header .mobile-toggle{
    display:grid;
    place-items:center;
  }

  .ks-global-site-header .nav-links{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    width:100%;
    margin:0;
    padding:12px 18px 20px;
    background:var(--white);
    border-bottom:1px solid var(--line);
    box-shadow:0 8px 0 var(--navy);
    align-items:stretch;
  }

  .ks-global-site-header .nav-links.open{
    display:grid;
    gap:3px;
  }

  .ks-global-site-header .nav-link,
  .ks-global-site-header .nav-trigger,
  .ks-global-site-header .client-link{
    width:100%;
    justify-content:space-between;
    text-align:left;
  }

  .ks-global-site-header .client-link{
    justify-content:center;
    margin-top:5px;
  }

  .ks-global-site-header .has-mega{
    position:static;
  }

  .ks-global-site-header .mega,
  .ks-global-site-header .mega.narrow{
    position:static;
    width:100% !important;
    margin:6px 0 10px;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    display:none;
    box-shadow:none;
  }

  .ks-global-site-header .has-mega:hover .mega{
    display:none;
  }

  .ks-global-site-header .has-mega.open .mega,
  .ks-global-site-header .has-mega.open:hover .mega{
    display:block;
  }

  .ks-global-site-header .mega-grid,
  .ks-global-site-header .mega-grid.two{
    grid-template-columns:1fr;
  }

  .ks-global-site-header .mega-foot{
    align-items:flex-start;
    flex-direction:column;
  }
}


@media(max-width:900px){
  .ks-global-site-header .nav-trigger{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .ks-global-site-header .has-mega.open > .nav-trigger{
    background:var(--yellow);
    color:var(--navy) !important;
  }

  .ks-global-site-header .has-mega.open > .mega{
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .ks-global-site-header .has-mega.open > .nav-trigger .chev{
    transform:rotate(225deg);
  }
}

@media(max-width:680px){
  .ks-global-footer .footer-grid{
    grid-template-columns:1fr;
  }

  .ks-global-footer .newsletter{
    width:100%;
  }
}

@media(max-width:782px){
  .admin-bar .ks-global-site-header{
    top:46px;
  }
}

@media(prefers-reduced-motion:reduce){
  .ks-global-site-header *,
  .ks-global-footer *{
    scroll-behavior:auto !important;
    transition:none !important;
  }
}


/* v1.0.8 mobile navigation accordion fix */
@media(max-width:900px){
  html.ks-mobile-nav-open{
    overflow:hidden;
  }

  .ks-global-site-header .mobile-toggle{
    display:grid !important;
    place-items:center;
    touch-action:manipulation;
  }

  .ks-global-site-header .nav-links{
    display:none !important;
    position:absolute !important;
    top:100% !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-height:calc(100dvh - 76px);
    margin:0 !important;
    padding:12px 14px 22px !important;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    background:var(--white) !important;
    border-bottom:1px solid var(--line) !important;
    box-shadow:0 8px 0 var(--navy) !important;
  }

  .ks-global-site-header .nav-links.open{
    display:block !important;
  }

  .ks-global-site-header .nav-links > .nav-link,
  .ks-global-site-header .nav-links > .has-mega,
  .ks-global-site-header .nav-links > .client-link{
    width:100% !important;
    margin:0 0 4px !important;
  }

  .ks-global-site-header .nav-link,
  .ks-global-site-header .nav-trigger{
    width:100% !important;
    min-height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:12px 12px !important;
    border:0 !important;
    border-radius:9px !important;
    background:var(--white) !important;
    color:var(--navy) !important;
    text-align:left !important;
    touch-action:manipulation;
  }

  .ks-global-site-header .nav-link:hover,
  .ks-global-site-header .nav-trigger:hover{
    background:var(--white) !important;
    color:var(--navy) !important;
  }

  .ks-global-site-header .has-mega.open > .nav-trigger{
    background:var(--yellow) !important;
    color:var(--navy) !important;
  }

  .ks-global-site-header .has-mega{
    position:static !important;
  }

  /* On touch layouts the open class is the only thing that controls the accordion. */
  .ks-global-site-header .has-mega > .mega,
  .ks-global-site-header .has-mega:hover > .mega,
  .ks-global-site-header .has-mega:not(.open) > .mega{
    display:none !important;
  }

  .ks-global-site-header .has-mega.open > .mega,
  .ks-global-site-header .has-mega.open:hover > .mega{
    display:block !important;
    position:static !important;
    width:100% !important;
    max-width:none !important;
    margin:4px 0 10px !important;
    padding:14px !important;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    border:1px solid var(--line) !important;
    border-radius:12px !important;
    background:var(--white) !important;
    box-shadow:none !important;
  }

  .ks-global-site-header .has-mega.open > .nav-trigger .chev{
    transform:rotate(225deg) translate(-1px,-1px) !important;
  }

  .ks-global-site-header .mega-head{
    display:block !important;
    margin-bottom:10px !important;
    padding-bottom:10px !important;
  }

  .ks-global-site-header .mega-head > a{
    display:inline-block !important;
    margin-top:8px !important;
    white-space:normal !important;
  }

  .ks-global-site-header .mega-grid,
  .ks-global-site-header .mega-grid.two{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .ks-global-site-header .mega-col h4{
    margin-top:4px !important;
  }

  .ks-global-site-header .mega-item{
    padding:10px 0 !important;
  }

  .ks-global-site-header .mega-foot{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:10px !important;
  }

  .ks-global-site-header .mega-cta{
    width:100% !important;
    white-space:normal !important;
    text-align:center !important;
  }

  .ks-global-site-header .client-link{
    width:100% !important;
    min-height:48px !important;
    margin-top:8px !important;
    justify-content:center !important;
  }
}

@media(max-width:782px){
  .admin-bar .ks-global-site-header .nav-links{
    max-height:calc(100dvh - 122px);
  }
}


/* =========================================================
   v1.0.9 Separate mobile navigation
   Desktop keeps the existing mega menus.
   Mobile uses a clean, independent accordion menu.
   ========================================================= */

.ks-mobile-nav-panel{
  display:none;
}

@media(max-width:900px){
  html.ks-mobile-nav-open{
    overflow:hidden;
  }

  .ks-global-site-header .mobile-toggle{
    display:grid !important;
    place-items:center !important;
    margin-left:auto;
    width:44px !important;
    height:44px !important;
    padding:0 !important;
    touch-action:manipulation;
  }

  /* Desktop mega nav is completely removed from the mobile layout. */
  .ks-global-site-header .nav-links{
    display:none !important;
  }

  .ks-mobile-nav-panel{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
    max-height:calc(100dvh - 76px);
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:16px 20px 24px;
    background:var(--white);
    border-bottom:1px solid var(--line);
    box-shadow:0 8px 0 var(--navy);
  }

  .ks-mobile-nav-panel.open{
    display:block;
  }

  .ks-mobile-nav-link,
  .ks-mobile-group-trigger,
  .ks-mobile-client-link{
    width:100%;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:0;
    padding:12px 0;
    border:0 !important;
    background:transparent !important;
    color:var(--navy) !important;
    text-decoration:none !important;
    text-align:left;
    font-size:18px;
    line-height:1.25;
    font-weight:800;
    box-shadow:none !important;
    cursor:pointer;
    touch-action:manipulation;
  }

  .ks-mobile-nav-link.is-active{
    color:var(--navy) !important;
  }

  .ks-mobile-group{
    border-top:1px solid transparent;
  }

  .ks-mobile-group-trigger{
    border-radius:0 !important;
  }

  .ks-mobile-chevron{
    width:10px;
    height:10px;
    flex:0 0 10px;
    margin-right:4px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
    transform-origin:center;
    transition:transform .18s ease;
  }

  .ks-mobile-group.open > .ks-mobile-group-trigger .ks-mobile-chevron{
    transform:rotate(225deg) translate(-1px,-1px);
  }

  .ks-mobile-submenu{
    display:none;
    padding:2px 0 10px 20px;
  }

  .ks-mobile-group.open > .ks-mobile-submenu{
    display:block;
  }

  .ks-mobile-submenu a{
    display:block;
    padding:11px 0;
    color:var(--navy) !important;
    text-decoration:none !important;
    font-size:16px;
    line-height:1.35;
    font-weight:500;
  }

  .ks-mobile-submenu a:hover,
  .ks-mobile-submenu a:focus,
  .ks-mobile-submenu a.is-active{
    color:var(--navy) !important;
    text-decoration:none !important;
  }

  .ks-mobile-client-link{
    min-height:54px;
    justify-content:center;
    margin-top:10px;
    padding:11px 16px;
    border:1px solid var(--navy) !important;
    border-radius:999px !important;
    background:var(--white) !important;
    color:var(--navy) !important;
    box-shadow:4px 4px 0 rgba(20,33,61,.20) !important;
    text-align:center;
  }
}

@media(max-width:782px){
  .admin-bar .ks-mobile-nav-panel{
    max-height:calc(100dvh - 122px);
  }
}
