/* CodeBhavya global navigation — one scalable header for every course. */
:root{--cb-nav-navy:#081a2d;--cb-nav-navy-2:#102d4c;--cb-nav-gold:#f0c64a;--cb-nav-text:#e8eef6;--cb-nav-muted:#6b7b90;--cb-nav-line:#d8e2ed;--cb-nav-blue:#1767e8}
.top-header.cb-nav-ready{display:flex!important;position:sticky!important;top:0;z-index:5000!important;align-items:center!important;justify-content:space-between!important;min-height:72px!important;padding:0 clamp(1rem,2.6vw,2.4rem)!important;border-bottom:2px solid #d4af37!important;background:var(--cb-nav-navy)!important;box-shadow:0 5px 18px rgba(5,22,40,.18)!important}
@media(min-width:769px){.top-header.cb-nav-ready{position:fixed!important;right:0!important;left:0!important;width:100%!important}}
.top-header.cb-nav-ready .logo{position:relative;z-index:2;flex:none;margin:0!important}
.top-header.cb-nav-ready .cb-site-nav{display:flex!important;position:static!important;width:auto!important;align-items:center!important;justify-content:flex-end!important;gap:.25rem!important;margin:0!important;padding:0!important;background:transparent!important}
.cb-nav-links{display:flex;align-items:center;gap:.25rem}.cb-nav-item{position:static}.cb-nav-link,.cb-nav-trigger{display:inline-flex!important;position:relative;min-height:42px;align-items:center;justify-content:center;gap:.35rem;padding:.65rem .78rem!important;border:0;border-radius:.5rem;background:transparent;color:var(--cb-nav-text)!important;font:700 .9rem/1.2 Arial,sans-serif;text-decoration:none!important;white-space:nowrap;cursor:pointer;transition:background .18s ease,color .18s ease}.cb-nav-trigger::after{content:"";width:.42rem;height:.42rem;margin-top:-.2rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}.cb-nav-trigger[aria-expanded="true"]::after{margin-top:.2rem;transform:rotate(225deg)}.cb-nav-link:hover,.cb-nav-link:focus-visible,.cb-nav-trigger:hover,.cb-nav-trigger:focus-visible,.cb-nav-link.is-active,.cb-nav-trigger.is-active{outline:0;background:rgba(240,198,74,.11)!important;color:var(--cb-nav-gold)!important}.cb-nav-link::after,.cb-nav-trigger::before{content:"";position:absolute;right:.75rem;bottom:.25rem;left:.75rem;height:2px;background:var(--cb-nav-gold);transform:scaleX(0);transition:transform .18s ease}.cb-nav-link:hover::after,.cb-nav-link:focus-visible::after,.cb-nav-link.is-active::after,.cb-nav-trigger:hover::before,.cb-nav-trigger:focus-visible::before,.cb-nav-trigger.is-active::before{transform:scaleX(1)}
.cb-menu-toggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.24);border-radius:.55rem;background:rgba(255,255,255,.06);color:#fff;cursor:pointer}.cb-menu-toggle-lines,.cb-menu-toggle-lines::before,.cb-menu-toggle-lines::after{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;content:"";transition:transform .18s ease,opacity .18s ease}.cb-menu-toggle-lines{position:relative}.cb-menu-toggle-lines::before{position:absolute;top:-6px}.cb-menu-toggle-lines::after{position:absolute;top:6px}.cb-menu-toggle[aria-expanded="true"] .cb-menu-toggle-lines{background:transparent}.cb-menu-toggle[aria-expanded="true"] .cb-menu-toggle-lines::before{top:0;transform:rotate(45deg)}.cb-menu-toggle[aria-expanded="true"] .cb-menu-toggle-lines::after{top:0;transform:rotate(-45deg)}
.cb-menu-panel{position:absolute;top:calc(100% + 2px);left:50%;width:min(920px,calc(100vw - 2rem));padding:1rem;transform:translateX(-50%);border:1px solid #bdcad8;border-top:3px solid var(--cb-nav-gold);border-radius:0 0 .85rem .85rem;background:#fff;color:#142d4a;box-shadow:0 18px 44px rgba(6,27,48,.22);text-align:left}.cb-menu-panel[hidden]{display:none!important}.cb-menu-intro{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem;padding:.15rem .2rem .75rem;border-bottom:1px solid var(--cb-nav-line)}.cb-menu-intro strong{font-size:1rem}.cb-menu-intro span{color:var(--cb-nav-muted);font-size:.8rem}.cb-menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.cb-menu-grid.practice{grid-template-columns:repeat(3,minmax(0,1fr))}.cb-menu-group{min-width:0;padding:.7rem;border-radius:.65rem;background:#f7f9fc}.cb-menu-group h2{margin:0 0 .45rem;color:#8a6800;font:800 .73rem/1.2 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}.cb-menu-group a{display:grid!important;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.55rem;padding:.48rem!important;border-radius:.45rem;color:#153252!important;font:700 .85rem/1.25 Arial,sans-serif;text-decoration:none!important}.cb-menu-group a::after{display:none!important}.cb-menu-group a:hover,.cb-menu-group a:focus-visible{outline:0;background:#eaf2ff!important;color:#0d57c7!important}.cb-menu-icon{display:grid;width:1.9rem;height:1.9rem;place-items:center;border-radius:.45rem;background:#e7effb;color:#145dcc;font-size:.72rem;font-weight:900}.cb-coming-soon{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.35rem;padding:.55rem .5rem;border-top:1px dashed #c8d4e0;color:#627287;font-size:.78rem;font-weight:700}.cb-coming-soon small{padding:.2rem .4rem;border-radius:2rem;background:#fff2c7;color:#755800;font-size:.65rem}.cb-nav-cta{background:var(--cb-nav-blue)!important;color:#fff!important}.cb-nav-cta:hover,.cb-nav-cta:focus-visible,.cb-nav-cta.is-active{background:#0e55c6!important;color:#fff!important}
@media(max-width:980px){.top-header.cb-nav-ready{flex-direction:row!important;flex-wrap:nowrap!important;min-height:68px!important;padding:.45rem .8rem!important}.top-header.cb-nav-ready .logo{height:52px!important}.top-header.cb-nav-ready .logo img{width:150px!important;max-height:52px!important}.top-header.cb-nav-ready .cb-site-nav{margin-left:auto!important}.cb-menu-toggle{display:inline-flex}.cb-nav-links{display:none;position:absolute;top:100%;right:0;left:0;max-height:calc(100vh - 68px);padding:.65rem;overflow:auto;border-top:1px solid rgba(255,255,255,.15);background:var(--cb-nav-navy);box-shadow:0 16px 30px rgba(5,22,40,.22)}.cb-nav-links[data-open="true"]{display:grid}.cb-nav-link,.cb-nav-trigger{width:100%;justify-content:space-between!important;padding:.75rem .85rem!important}.cb-nav-link::after,.cb-nav-trigger::before{display:none}.cb-nav-item{position:static}.cb-menu-panel{position:static;width:100%;margin:.3rem 0 .55rem;padding:.7rem;transform:none;border-top-width:2px;border-radius:.65rem;box-shadow:none}.cb-menu-intro{display:block}.cb-menu-intro span{display:block;margin-top:.2rem}.cb-menu-grid,.cb-menu-grid.practice{grid-template-columns:1fr 1fr}.cb-menu-group{padding:.55rem}.cb-nav-cta{margin-top:.15rem}}
@media(max-width:620px){.top-header.cb-nav-ready .logo img{width:138px!important}.cb-menu-grid,.cb-menu-grid.practice{grid-template-columns:1fr}.cb-menu-intro span{font-size:.76rem}.cb-menu-group a{min-height:42px}}
@media(prefers-reduced-motion:reduce){.cb-nav-link,.cb-nav-trigger,.cb-menu-toggle-lines,.cb-menu-toggle-lines::before,.cb-menu-toggle-lines::after{transition:none}}

/* Canonical CodeBhavya shell: loaded last by script.js on every page. */
body.cb-global-shell{padding-top:72px!important}
.top-header.cb-nav-ready{box-sizing:border-box!important;margin:0!important;border-radius:0!important}
.top-header.cb-nav-ready .codebhavya-new-logo{display:flex!important;height:62px!important;align-items:center!important;gap:.65rem!important;color:#fff!important;text-decoration:none!important}
.top-header.cb-nav-ready .main-logo{display:block!important;width:58px!important;height:58px!important;max-width:none!important;object-fit:contain!important}
.top-header.cb-nav-ready .brand-name{display:inline-flex!important;align-items:baseline!important;font:700 clamp(1.45rem,2.2vw,2rem)/1 Georgia,serif!important;white-space:nowrap!important}
.top-header.cb-nav-ready .logo-code{color:#bfe4ff!important}.top-header.cb-nav-ready .logo-bhavya{color:#f2c94c!important}
.cb-global-footer{display:block!important;position:relative!important;z-index:20!important;right:auto!important;left:auto!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:3.25rem clamp(1.2rem,4vw,4rem) 0!important;overflow:visible!important;box-sizing:border-box!important;background:#061629!important;color:#d7e4f1!important}
.cb-global-footer .cb-footer-container{display:grid!important;grid-template-columns:minmax(240px,1.45fr) repeat(4,minmax(150px,1fr))!important;gap:clamp(1.4rem,3vw,3rem)!important;width:min(1500px,100%)!important;max-width:1500px!important;margin:0 auto!important;padding:0 0 2.5rem!important;box-sizing:border-box!important}
.cb-global-footer .footer-brand-section{padding:0!important}.cb-global-footer .footer-brand{display:flex!important;align-items:baseline!important;margin:0 0 .8rem!important;font:700 2rem/1 Georgia,serif!important}.cb-global-footer .footer-code{color:#bfe4ff!important}.cb-global-footer .footer-bhavya{color:#f2c94c!important}
.cb-global-footer .footer-tagline{margin:.2rem 0 .8rem!important;color:#f1d36c!important;font:700 1rem/1.5 Georgia,serif!important}.cb-global-footer .footer-description{max-width:310px!important;margin:0!important;color:#9fb7cd!important;font:400 .95rem/1.65 Arial,sans-serif!important}
.cb-global-footer .footer-column{width:auto!important}
.cb-global-footer .footer-column{display:flex!important;min-width:0!important;flex-direction:column!important;gap:.55rem!important;margin:0!important;padding:0!important;background:transparent!important}.cb-global-footer .footer-column h2{position:relative!important;margin:0 0 .75rem!important;padding:0 0 .7rem!important;color:#fff!important;font:700 1.05rem/1.3 Georgia,serif!important}.cb-global-footer .footer-column h2::after{content:"";position:absolute;bottom:0;left:0;width:34px;height:2px;background:#e5b92f}.cb-global-footer .footer-column a{display:block!important;margin:0!important;padding:.12rem 0!important;color:#a9c7e4!important;font:400 .92rem/1.45 Arial,sans-serif!important;text-decoration:none!important;transition:color .18s ease,transform .18s ease!important}.cb-global-footer .footer-column a:hover,.cb-global-footer .footer-column a:focus-visible{outline:0;color:#f2cf58!important;transform:translateX(3px)}
.cb-global-footer .footer-bottom{display:flex!important;justify-content:space-between!important;gap:1rem!important;width:min(1500px,100%)!important;max-width:1500px!important;margin:0 auto!important;padding:1.15rem 0!important;border-top:1px solid rgba(169,199,228,.2)!important;background:transparent!important;box-sizing:border-box!important}.cb-global-footer .footer-bottom p{margin:0!important;color:#7895b0!important;font:400 .82rem/1.5 Arial,sans-serif!important}
@media(max-width:1180px){.cb-global-footer .cb-footer-container{grid-template-columns:1.3fr repeat(2,1fr)!important}.cb-global-footer .footer-column:last-child{grid-column:span 2}}
@media(max-width:980px){body.cb-global-shell{padding-top:68px!important}.top-header.cb-nav-ready .codebhavya-new-logo{height:52px!important}.top-header.cb-nav-ready .main-logo{width:50px!important;height:50px!important}.top-header.cb-nav-ready .brand-name{font-size:1.45rem!important}}
@media(max-width:700px){body.cb-global-shell{padding-top:0!important}.top-header.cb-nav-ready{position:relative!important}.cb-global-footer{padding:2.5rem 1.25rem 0!important}.cb-global-footer .cb-footer-container{grid-template-columns:1fr 1fr!important}.cb-global-footer .footer-brand-section{grid-column:1/-1}.cb-global-footer .footer-column:last-child{grid-column:auto}.cb-global-footer .footer-bottom{display:grid!important}}
@media(max-width:480px){.top-header.cb-nav-ready{min-height:64px!important;padding:.35rem .65rem!important}.top-header.cb-nav-ready .codebhavya-new-logo{max-width:calc(100% - 58px)!important;height:48px!important;gap:.45rem!important;overflow:visible!important}.top-header.cb-nav-ready .main-logo{width:46px!important;height:46px!important;flex:0 0 46px!important}.top-header.cb-nav-ready .brand-name{display:inline-flex!important;min-width:0!important;font-size:clamp(1.08rem,6vw,1.4rem)!important;line-height:1!important}.top-header.cb-nav-ready .cb-site-nav{flex:0 0 auto!important}.top-header.cb-nav-ready .cb-menu-toggle{width:44px!important;height:44px!important}.cb-global-footer .cb-footer-container{grid-template-columns:1fr!important}.cb-global-footer .footer-brand-section,.cb-global-footer .footer-column:last-child{grid-column:auto}}
@media(max-width:360px){.top-header.cb-nav-ready{padding-inline:.45rem!important}.top-header.cb-nav-ready .codebhavya-new-logo{gap:.35rem!important}.top-header.cb-nav-ready .main-logo{width:42px!important;height:42px!important;flex-basis:42px!important}.top-header.cb-nav-ready .brand-name{font-size:1.02rem!important}}
