/*
   Public UI override file.
   Edit this file for homepage, courses, about, contact, and other public pages.
   It is loaded after the built-in public design CSS and gets an automatic ?v= timestamp.
*/
:root{--ss-red:#e30613;--ss-black:#050505;--ss-text:#111827;--ss-muted:#667085;--ss-line:#e9edf3;--ss-soft:#f7f8fb;--ss-purple:#6f35ff;--ss-radius:20px;--ss-shadow:0 18px 55px rgba(16,24,40,.08)}
body{background:#fff!important;color:var(--ss-text)!important}
.ss-nav{height:86px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--ss-line)!important;box-shadow:0 8px 28px rgba(16,24,40,.04)!important;backdrop-filter:blur(18px)}
.nav-inner{max-width:1400px!important;height:86px!important;padding:0 34px!important}
.nav-logo{min-width:120px!important}
.nav-logo .ss-brand-logo{height:58px!important;width:auto!important;max-width:132px!important;object-fit:contain!important;display:block!important}
.logo-mark,.logo-tag{display:none!important}
.logo-name{font-family:Arial,Helvetica,sans-serif!important;font-size:34px!important;font-weight:950!important;line-height:.78!important;letter-spacing:-.09em!important;color:#000!important}
.logo-name span{display:inline!important;color:var(--ss-red)!important}
.nav-links{gap:34px!important}
.nav-links>li>a{font-size:15px!important;font-weight:800!important;color:#0a0a0a!important;letter-spacing:-.01em!important;padding:34px 0!important}
.nav-links>li>a.active{color:var(--ss-red)!important}
.nav-links>li>a.active:after{height:3px!important;background:var(--ss-red)!important;border-radius:3px}
.nav-actions{gap:14px!important}
.ss-nav-search{width:310px;height:46px;border:1px solid #dfe3ea;border-radius:16px;background:#fff;display:flex;align-items:center;padding:0 10px 0 18px}
.ss-nav-search input{border:0;outline:0;flex:1;background:transparent;font-size:14px;color:#1f2937}
.ss-nav-search button{border:0;background:transparent;width:34px;height:34px;display:grid;place-items:center;color:#111;font-size:20px}
.ss-cart{width:42px;height:42px;display:grid;place-items:center;color:#0a0a0a;position:relative;text-decoration:none;font-size:23px}
.ss-cart span{position:absolute;right:2px;top:0;width:18px;height:18px;border-radius:50%;background:var(--ss-red);color:#fff;font-size:10px;font-weight:900;display:grid;place-items:center}
.ss-login-btn,.ss-join-btn{height:46px!important;min-width:94px!important;justify-content:center!important;border-radius:8px!important;font-size:14px!important;font-weight:900!important}
.ss-login-btn{border-color:#d9dee8!important;background:#fff!important;color:#111!important}
.ss-join-btn{background:var(--ss-red)!important;border-color:var(--ss-red)!important;color:#fff!important}
.wrap{max-width:1400px!important;padding-left:34px!important;padding-right:34px!important}
.sec{padding:54px 0!important}
.page-hero{background:linear-gradient(180deg,#fff,#fbfcff)!important;color:#111!important;padding:54px 0 38px!important}
.ph-eye{color:var(--ss-red)!important;background:#fff1f2!important;border:0!important;border-radius:999px!important}
.ph-h1{color:#080808!important;font-size:clamp(42px,5.5vw,76px)!important;font-weight:950!important;letter-spacing:-.06em!important;line-height:.98!important}
.ph-h1 em{color:var(--ss-red)!important;font-style:normal!important}
.ph-sub{color:var(--ss-muted)!important}
.btn-ss{border-radius:8px!important;font-weight:900!important}
.btn-rd{background:var(--ss-red)!important;border-color:var(--ss-red)!important;color:#fff!important}
.btn-out{background:#fff!important;border-color:#d9dee8!important;color:#111!important}
.card,.hp-card,.cdx-card,.mentor-card-pro,.public-card{border:1px solid var(--ss-line)!important;border-radius:var(--ss-radius)!important;box-shadow:var(--ss-shadow)!important;background:#fff!important}
.ft-logo-img{height:78px;width:auto;max-width:170px;object-fit:contain;display:block;background:#fff;border-radius:8px;padding:6px}
@media(max-width:1180px){.ss-nav-search,.ss-cart{display:none}.nav-links{gap:20px!important}.nav-inner{padding:0 18px!important}}
@media(max-width:900px){.nav-links{display:none!important}.nav-inner{height:72px!important}.ss-nav{height:72px!important}.wrap{padding-left:18px!important;padding-right:18px!important}.nav-logo .ss-brand-logo{height:50px!important;max-width:112px!important}}

/* Universal public responsive guardrails */
html{overflow-x:hidden}
body{overflow-x:hidden}
img,video,iframe,embed,object{max-width:100%}
iframe{border:0}
.wrap,.ss-wrap,.hp-wrap,.cdx-wrap,.mx-wrap,.cl-wrap{width:100%;max-width:1400px;margin-left:auto;margin-right:auto}
.row{--bs-gutter-x:24px}
.input-ss,input,select,textarea{max-width:100%}
.course-grid,.cat-grid,.inst-grid,.blog-grid,.gallery-grid,.pricing-grid,.faq-grid,.mentor-grid,.mentor-grid-pro,.story-grid,.courses-grid,.why-grid,.logos,.projects,.info-grid,.skill-grid,.stat-strip,.feature-strip{min-width:0}
.course-grid>*,.cat-grid>*,.inst-grid>*,.blog-grid>*,.gallery-grid>*,.pricing-grid>*,.faq-grid>*,.mentor-grid>*,.mentor-grid-pro>*,.story-grid>*,.courses-grid>*,.why-grid>*,.logos>*,.projects>*,.info-grid>*,.skill-grid>*,.stat-strip>*,.feature-strip>*{min-width:0}
.page-hero,.sec,.hp-section{overflow:hidden}
.btn-ss,.cdx-btn,.cl .course-row,.mentor-card-pro,.hp-card{touch-action:manipulation}
@media(max-width:1200px){
  .cat-grid,.course-grid,.inst-grid,.blog-grid,.pricing-grid,.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .why-grid,.mentor-grid,.mentor-grid-pro,.courses-grid,.projects,.logos{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .feature-strip,.stat-strip,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cdx-hero,.mx-hero,.hero-grid-new,.cl-layout,.two-col,.bottom-grid{grid-template-columns:1fr!important}
}
@media(max-width:768px){
  .wrap,.ss-wrap,.hp-wrap,.cdx-wrap,.mx-wrap,.cl-wrap{padding-left:18px!important;padding-right:18px!important}
  .sec,.hp-section{padding:42px 0!important}
  .page-hero{padding:42px 0 30px!important}
  .ph-h1,.hp-title,.cl-title,.mx-title,.cdx-h1{overflow-wrap:anywhere}
  .ph-h1{font-size:clamp(34px,11vw,48px)!important}
  .cat-grid,.course-grid,.inst-grid,.blog-grid,.pricing-grid,.gallery-grid,.why-grid,.mentor-grid,.mentor-grid-pro,.courses-grid,.projects,.logos,.story-grid,.skill-grid,.feature-strip,.stat-strip,.info-grid,.faq-grid{grid-template-columns:1fr!important}
  .course-row{grid-template-columns:1fr!important}
  .course-thumb,.preview,.blog-img,.course-img{height:auto!important;min-height:220px}
  .course-thumb img,.preview img,.blog-img img,.course-img img{height:100%!important}
  .hero-actions,.cdx-actions,.hp-title-row,.sec-hd-bar,.topbar,.find-row{flex-direction:column!important;align-items:stretch!important}
  .hero-actions .btn-red,.hero-actions .btn-white,.cdx-actions .cdx-btn,.btn-ss{width:100%;justify-content:center}
  .filters,.buy{position:static!important}
  .footer-grid{grid-template-columns:1fr!important}
  .footer-top{padding:48px 0!important}
  table{display:block;overflow-x:auto;white-space:nowrap}
}

/* Admin-only public edit toolbar */
.public-edit-toolbar{position:fixed;right:18px;bottom:18px;z-index:9999;display:flex;gap:8px;align-items:center;flex-wrap:wrap;max-width:calc(100vw - 36px)}
.public-edit-toolbar a{height:38px;padding:0 13px;border-radius:10px;background:#111827;color:#fff;text-decoration:none;font-size:12px;font-weight:900;display:inline-flex;align-items:center;gap:7px;box-shadow:0 12px 30px rgba(16,24,40,.2);border:1px solid rgba(255,255,255,.12)}
.public-edit-toolbar a.primary{background:var(--ss-red);border-color:var(--ss-red)}
.public-edit-toolbar a:hover{transform:translateY(-2px);color:#fff}
@media(max-width:640px){.public-edit-toolbar{left:12px;right:12px;bottom:12px}.public-edit-toolbar a{flex:1;justify-content:center;padding:0 8px}}

/* Site-wide public polish */
:root{--ss-max:1400px;--ss-ease:cubic-bezier(.22,.61,.36,1)}
.ss-wrap,.wrap,.hp-wrap,.cdx-wrap,.mx-wrap,.cl-wrap{max-width:var(--ss-max)!important}
.ss-nav{position:sticky!important;top:0!important;z-index:900!important}
.ss-nav-search:focus-within{border-color:var(--ss-red);box-shadow:0 0 0 4px rgba(227,6,19,.08)}
.nav-links>li>a,.ss-login-btn,.ss-join-btn,.btn-ss,.cdx-btn,.hp-link,.course-card,.mentor-card-pro,.hp-card,.cdx-card{transition:transform .18s var(--ss-ease),box-shadow .18s var(--ss-ease),border-color .18s var(--ss-ease),background .18s var(--ss-ease)}
.course-card:hover,.mentor-card-pro:hover,.hp-card:hover,.cdx-card:hover,.public-card:hover{transform:translateY(-3px);box-shadow:0 22px 60px rgba(16,24,40,.12)!important;border-color:#dfe4ec!important}
.btn-ss:hover,.cdx-btn:hover,.ss-join-btn:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(227,6,19,.18)!important}
.btn-out:hover,.ss-login-btn:hover{border-color:#b8c0cf!important;background:#f8fafc!important;box-shadow:0 10px 24px rgba(16,24,40,.08)!important}
.sec-hd-bar,.hp-title-row,.sec-bar{align-items:flex-end!important}
.sec-hd-bar h2,.hp-section h2,.sec-title,.section-title,.ph-h1,.hp-title,.cl-title,.mx-title,.cdx-h1{letter-spacing:-.045em!important}
.section-sub,.ph-sub,.hp-sub,.cdx-sub,.muted{color:var(--ss-muted)!important}
.cat-card,.skill-tile,.why-card,.story-card,.blog-card,.pricing-card,.faq-card,.gallery-card,.inst-card,.mentor-card,.course-card{border:1px solid var(--ss-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 14px 42px rgba(16,24,40,.07)!important;overflow:hidden}
.cat-card img,.skill-tile img,.course-card img,.blog-card img,.story-card img,.mentor-card img,.mentor-card-pro img{object-fit:cover}
.badge,.tag,.pill,.level,.price-pill{border-radius:999px!important;font-weight:800!important}
.input-ss,.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="search"],select,textarea{border:1px solid #dfe4ec!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
.input-ss:focus,.form-control:focus,input:focus,select:focus,textarea:focus{outline:none!important;border-color:var(--ss-red)!important;box-shadow:0 0 0 4px rgba(227,6,19,.08)!important}
.public-edit-toolbar{font-family:Arial,Helvetica,sans-serif}
.wa-float{box-shadow:0 18px 40px rgba(37,211,102,.28)!important}
.ft-logo-img{box-shadow:0 10px 28px rgba(255,255,255,.08)}
.footer-grid{align-items:start}
.ft-links a,.ft-contact-item{line-height:1.5}
@media(max-width:1180px){
  .nav-actions{margin-left:auto}
  .ss-login-btn{display:none!important}
}
@media(max-width:768px){
  .ss-nav{position:sticky!important}
  .nav-inner{padding-left:16px!important;padding-right:16px!important}
  .nav-actions{gap:8px!important}
  .ss-join-btn{min-width:84px!important;height:40px!important;font-size:13px!important}
  .page-hero,.hp-hero,.cdx-hero-wrap,.mx-hero-wrap{padding-top:32px!important}
  .sec-hd-bar,.hp-title-row,.sec-bar{gap:14px!important}
  .sec-hd-bar a,.hp-title-row a,.sec-bar a{align-self:flex-start}
  .course-thumb,.preview,.blog-img,.course-img,.story-img{min-height:190px!important}
  .card,.hp-card,.cdx-card,.mentor-card-pro,.public-card,.course-card{border-radius:16px!important}
  .ft-logo-img{height:68px;max-width:150px}
}
@media(max-width:480px){
  .wrap,.ss-wrap,.hp-wrap,.cdx-wrap,.mx-wrap,.cl-wrap{padding-left:14px!important;padding-right:14px!important}
  .ph-h1,.hp-title,.cl-title,.mx-title,.cdx-h1{font-size:clamp(30px,10vw,42px)!important;line-height:1.03!important}
  .nav-logo .ss-brand-logo{height:46px!important;max-width:100px!important}
  .ss-join-btn{min-width:76px!important;padding-left:10px!important;padding-right:10px!important}
  .course-thumb,.preview,.blog-img,.course-img,.story-img{min-height:170px!important}
}
