:root{--navy:#001E51;--navy2:#07366f;--orange:#FE8E01;--light:#f5f9fd;--line:#dfe7f1;--muted:#60718a}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--navy);background:#fff;line-height:1.5}
a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.container{width:min(1400px,94%);margin:auto}
header{height:92px;background:#fff;border-bottom:1px solid #e6edf5;position:sticky;top:0;z-index:100}.nav{height:100%;display:flex;align-items:center;gap:24px}.logo{width:270px;height:74px;object-fit:contain;object-position:left center}
.links{display:flex;align-items:center;gap:25px;margin-left:auto;font-weight:750}.links a{height:92px;display:flex;align-items:center;position:relative;white-space:nowrap}.links a.active:after{content:"";position:absolute;left:0;right:0;bottom:10px;height:3px;background:var(--orange);border-radius:4px}
.actions{display:flex;gap:10px;margin-left:8px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 21px;border-radius:9px;border:1px solid var(--navy);font-weight:800;cursor:pointer;background:#fff}.btn.primary{background:var(--orange);border-color:var(--orange);color:#fff}
.hero{background:var(--navy);color:#fff;overflow:hidden}.hero-img{display:block;width:100%;height:auto}
.section{padding:48px 0}.alt{background:var(--light)}.section-title{font-size:32px;margin:0}.section-sub{margin:6px 0 23px;color:var(--muted);font-size:17px}.grid{display:grid;gap:20px}.grid3{grid-template-columns:repeat(3,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;box-shadow:0 6px 18px rgba(0,30,81,.06)}.card h3{margin:0 0 7px}.card p{margin:0;color:var(--muted)}.icon{width:52px;height:52px;border-radius:14px;background:#edf5ff;display:grid;place-items:center;font-size:25px;margin-bottom:14px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);min-height:110px;align-items:center}.stat{display:flex;justify-content:center;align-items:center;gap:15px;border-right:1px solid var(--line);min-height:64px}.stat:last-child{border-right:0}.stat-icon{font-size:37px}.stat b{display:block;font-size:27px}.stat span{color:#29466f;font-size:14px}
.popular{background:linear-gradient(#f8fbfe,#eff5fb);padding:32px 0 46px}.popular-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.popular h2{margin:0;font-size:34px}.orange{color:var(--orange)}.viewall{color:var(--orange);font-weight:850}.course-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.course{border:1px solid var(--line);border-radius:12px;padding:16px 12px;text-align:center;box-shadow:0 6px 18px rgba(0,30,81,.07);cursor:pointer;background:#fff;color:var(--navy)}.course:hover{transform:translateY(-3px)}.course-icon{height:62px;display:grid;place-items:center;font-size:41px}.course h3{margin:0;font-size:18px}.course p{margin:4px 0 13px;color:#304769;font-size:13px}.course-btn{display:block;background:var(--orange);color:#fff;border-radius:8px;padding:9px;font-weight:800;font-size:14px}
.why{padding:45px 0}.why-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:22px}.why-card{background:#eaf3ff;border:1px solid #dbe8f8;border-radius:18px;padding:28px}.why-card h2,.mission h2{margin:0 0 20px;font-size:30px}.reasons{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.reason{text-align:center;font-weight:750;font-size:13px}.reason-icon{width:50px;height:50px;border-radius:50%;background:#fff;display:grid;place-items:center;margin:0 auto 8px;font-size:23px}.mission{background:linear-gradient(145deg,#07366f,#001e51);color:#fff;border-radius:18px;padding:28px;display:flex;flex-direction:column;justify-content:center}.mission p{color:#d8e5f4}.mission .btn{align-self:flex-start}
.page-hero{background:#001E51;color:#fff;overflow:hidden}.page-hero-img{display:block;width:100%;height:auto}.page-hero-inner{min-height:350px;display:flex;align-items:center}.page-hero h1{font-size:52px;line-height:1.05;margin:8px 0 12px}.page-hero h1 span{color:var(--orange)}.page-hero p{font-size:19px;max-width:760px;color:#e0e9f5}.feature-row{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px}.feature{display:flex;align-items:center;gap:10px}.feature-icon{width:44px;height:44px;border-radius:50%;background:#0a63bd;display:grid;place-items:center}
.feed{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}.feed-main{display:grid;gap:16px}.post{border:1px solid var(--line);border-radius:14px;background:#fff;padding:20px}.post-head{display:flex;justify-content:space-between}.pill{display:inline-block;padding:5px 10px;border-radius:99px;background:#fff0dc;color:#9b5600;font-size:12px;font-weight:800}.post-meta{color:#8a98aa;font-size:13px;margin-top:12px}.community-side{background:linear-gradient(145deg,#062f6b,#001e51);border-radius:18px;padding:28px;color:#fff;height:max-content}.community-side p{color:#d8e5f4}
.form-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-weight:750}.field input,.field textarea,.field select{border:1px solid #cdd8e5;border-radius:9px;padding:12px;outline:none}.field textarea{min-height:150px}.contact-card{display:grid;gap:15px}.contact-item{display:flex;gap:13px;align-items:flex-start}.contact-item .icon{margin:0;flex:0 0 auto}
.modal{position:fixed;inset:0;background:rgba(0,15,40,.72);display:none;align-items:center;justify-content:center;padding:20px;z-index:200}.modal.open{display:flex}.modal-box{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:30px;position:relative}.close{position:absolute;right:18px;top:14px;border:0;background:#edf3fa;color:var(--navy);width:38px;height:38px;border-radius:50%;font-size:24px;cursor:pointer}.modal h2{margin:0 45px 8px;font-size:30px}.modal p{color:var(--muted)}.modal li{margin:7px 0;color:#425671}
footer{background:#001536;color:#b9c9df;padding:28px 0}.footer-grid{display:flex;justify-content:space-between;gap:20px}.footer-grid strong{color:#fff}
@media(max-width:1200px){.logo{width:225px}.links{gap:17px}.course-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){header{height:78px}.logo{width:220px;height:68px}.links,.actions{display:none}.hero h1,.page-hero h1{font-size:42px}.stats{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.why-grid,.feed,.form-layout{grid-template-columns:1fr}.reasons{grid-template-columns:repeat(5,1fr)}}@media(max-width:600px){.stats{grid-template-columns:1fr}.stat{border-right:0!important;border-bottom:1px solid var(--line)}.stat:last-child{border-bottom:0}.course-grid,.grid3{grid-template-columns:1fr 1fr}.popular-head{align-items:flex-start;flex-direction:column}.reasons{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer-grid{flex-direction:column}}@media(max-width:390px){.course-grid,.grid3{grid-template-columns:1fr}}

/* Hero CTA buttons — positioned to match the approved hero artwork */
.hero-clicks,.page-hero-wrap{position:relative;line-height:0}
.hero-clicks .hero-img,.page-hero-wrap .page-hero-img{width:100%;height:auto;display:block}
.hero-cta{position:absolute;left:4.8%;bottom:8.8%;display:flex;gap:14px;line-height:1}
.hero-cta .btn{min-height:54px;padding:0 27px;border-radius:10px;font-size:16px}
.hero-cta .btn.secondary{background:rgba(0,30,81,.18);border:1px solid rgba(255,255,255,.9);color:#fff}
.page-hero-cta{position:absolute;left:4.8%;bottom:8.8%;line-height:1}
.page-hero-cta .btn{min-height:54px;padding:0 28px;border-radius:10px;font-size:16px}
.hero-hotspot{position:absolute;bottom:8.8%;width:14%;height:9%;display:block;background:transparent}
.hero-hotspot.explore{left:3.5%}.hero-hotspot.community{left:15.2%;width:14%}
@media(max-width:700px){
  .hero-cta{left:5%;bottom:7%;gap:8px}.hero-cta .btn,.page-hero-cta .btn{min-height:42px;padding:0 15px;font-size:13px}
  .page-hero-cta{left:5%;bottom:7%}
}

/* Lernus course catalogue + LearnPress-inspired detail styling */
.course-grid.three{grid-template-columns:repeat(3,1fr);gap:22px}
.course-card{background:#fff;border:1px solid #dce6f0;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(0,30,81,.08);display:flex;flex-direction:column;transition:.2s}.course-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,30,81,.13)}
.course-image{display:block;width:100%;height:190px;object-fit:cover;object-position:center;border:0}.course-top{height:132px;background:linear-gradient(135deg,#001e51,#0a4c91);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:22px 25px}.course-top.orange-bg{background:linear-gradient(135deg,#0b4384,#fe8e01)}.course-top.green-bg{background:linear-gradient(135deg,#07366f,#13795b)}
.course-mark{width:72px;height:72px;border-radius:18px;background:#fff;color:#001e51;display:grid;place-items:center;font-size:26px;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.15)}.course-top small{font-weight:800;opacity:.9}.course-body{padding:24px;display:flex;flex-direction:column;flex:1}.course-body h3{font-size:24px;margin:0 0 7px}.course-body p{color:#60718a;margin:0 0 17px}.course-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}.tag{background:#eef5fc;color:#163b68;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:750}.course-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;border-top:1px solid #e5ecf4;padding-top:16px;margin-top:auto;margin-bottom:18px}.course-meta span{font-size:12px;color:#687a91}.course-meta strong{display:block;color:#001e51;font-size:13px}.instructor-mini{display:flex;align-items:center;gap:9px;margin-bottom:17px}.avatar{width:38px;height:38px;border-radius:50%;background:#eaf3ff;display:grid;place-items:center;font-weight:900;color:#001e51}.course-card .btn{width:100%}
.course-detail-hero{background:linear-gradient(110deg,#001536 0%,#07366f 62%,#0b4c8e 100%);color:#fff;padding:52px 0}.detail-hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:34px;align-items:center}.crumbs{font-size:13px;color:#b9cae0;margin-bottom:15px}.detail-title{font-size:48px;line-height:1.08;margin:0 0 12px}.detail-subtitle{font-size:19px;color:#d9e7f6;max-width:760px;margin:0 0 20px}.detail-badges{display:flex;gap:10px;flex-wrap:wrap}.detail-badge{padding:8px 12px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:999px;font-size:13px;font-weight:750}.instructor-panel{background:#fff;color:#001e51;border-radius:18px;padding:24px;box-shadow:0 16px 40px rgba(0,0,0,.2)}.instructor-panel .avatar{width:62px;height:62px;font-size:21px;background:#fff0dc;color:#9a5700}.instructor-panel h3{margin:12px 0 2px;font-size:22px}.instructor-panel p{margin:0;color:#60718a}.detail-layout{display:grid;grid-template-columns:1.45fr .55fr;gap:26px;align-items:start}.detail-main,.sidebar-card{background:#fff;border:1px solid #dce6f0;border-radius:16px}.detail-main{padding:30px}.detail-main h2{font-size:28px;margin:0 0 14px}.detail-main h3{font-size:19px;margin:25px 0 9px}.detail-main p{color:#52677f}.check-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.check-list div{padding:12px 13px;background:#f6f9fd;border-radius:9px;font-weight:650}.check-list div:before{content:'✓';color:#fe8e01;font-weight:900;margin-right:8px}.curriculum{border-top:1px solid #e3eaf2}.module{border-bottom:1px solid #e3eaf2;padding:17px 0}.module:last-child{border-bottom:0}.module summary{cursor:pointer;font-weight:850;list-style:none;display:flex;justify-content:space-between}.module summary::-webkit-details-marker{display:none}.lesson-list{margin:12px 0 0;padding-left:20px;color:#60718a}.lesson-list li{margin:7px 0}.sidebar{display:grid;gap:17px;position:sticky;top:110px}.sidebar-card{padding:22px}.sidebar-card h3{margin:0 0 13px}.price-note{font-size:13px;color:#71839a}.sidebar .btn{width:100%;margin-top:9px}.sidebar-list{list-style:none;margin:0;padding:0}.sidebar-list li{padding:9px 0;border-bottom:1px solid #edf1f5;font-size:14px}.sidebar-list li:last-child{border-bottom:0}.register-note{background:#fff5e8;border:1px solid #ffd9a5;color:#7b4a08;padding:13px;border-radius:10px;font-size:13px}.locked{display:none}
.auth-wrap{min-height:calc(100vh - 92px);background:linear-gradient(135deg,#f5f9fd,#eaf3ff);display:grid;place-items:center;padding:45px 20px}.auth-card{width:min(520px,100%);background:#fff;border:1px solid #dbe5ef;border-radius:20px;padding:34px;box-shadow:0 18px 45px rgba(0,30,81,.12)}.auth-card h1{margin:0 0 8px;font-size:32px}.auth-card>p{color:#687b91;margin-top:0}.auth-card .field{margin-top:14px}.auth-card .btn{width:100%;margin-top:17px}.auth-msg{display:none;margin-top:14px;padding:11px;border-radius:9px;font-size:13px;font-weight:700}.auth-msg.error{background:#fff0f0;color:#9b2626}.auth-msg.ok{background:#ebf8ef;color:#196737}.auth-switch{text-align:center;margin-top:17px;font-size:14px;color:#60718a}.auth-switch a{color:#fe8e01;font-weight:800}
@media(max-width:1000px){.course-grid.three{grid-template-columns:1fr 1fr}.detail-hero-grid,.detail-layout{grid-template-columns:1fr}.sidebar{position:static}.detail-title{font-size:40px}}
@media(max-width:650px){.course-grid.three,.check-list{grid-template-columns:1fr}.course-image{height:175px}.course-top{height:118px}.detail-title{font-size:34px}.detail-main{padding:22px}}

/* Contact hero: use the artwork's built-in CTA as a transparent clickable hotspot. */
.contact-hero-hotspot{position:absolute;left:4.7%;bottom:7.4%;width:14.5%;height:10.5%;display:block;background:transparent;z-index:3;line-height:1;}
/* Editable phone number overlay for the Contact hero. It masks the old artwork number cleanly. */
.contact-phone-overlay{position:absolute;left:14.9%;bottom:18.2%;z-index:4;line-height:1;background:#062f6b;padding:1px 4px;border-radius:3px;color:#fff;font-size:16px;font-weight:500;white-space:nowrap;}
.contact-phone-overlay a{color:inherit;text-decoration:none;}
@media(max-width:900px){.contact-phone-overlay{font-size:13px;left:15%;bottom:18.0%;}}
@media(max-width:600px){.contact-phone-overlay{font-size:11px;left:15%;bottom:17.8%;}}


/* === Standard Lernus Academy footer === */
.site-footer{background:#001e51;color:#c9d7e8;margin-top:0}
.footer-main{display:grid;grid-template-columns:1.35fr .9fr .95fr 1.25fr;gap:42px;padding:54px 0 46px}
.footer-brand{min-width:0}
.footer-brand-name{display:inline-block;color:#fff;font-size:25px;font-weight:800;letter-spacing:.4px;text-decoration:none;margin-bottom:12px}
.footer-brand-name:hover{color:#ff9f18}
.footer-tagline{color:#fff;font-size:15px;font-weight:800;letter-spacing:.3px;margin:3px 0 13px}
.footer-brand p{margin:0;max-width:360px;color:#c9d7e8;font-size:15px;line-height:1.75}
.footer-socials{display:flex;gap:9px;margin-top:22px}
.footer-socials a{width:36px;height:36px;border:1px solid rgba(255,255,255,.22);display:grid;place-items:center;color:#dbe7f4;font-size:14px;font-weight:800;border-radius:4px}
.footer-socials a:hover{background:var(--orange);border-color:var(--orange);color:#fff}
.footer-col h3,.footer-contact h3{margin:5px 0 18px;color:#fff;font-size:20px;font-weight:800}
.footer-col{display:flex;flex-direction:column;gap:11px}
.footer-col a{color:#c9d7e8;font-size:15px;line-height:1.5}
.footer-col a:first-letter{color:#ffb31a}
.footer-col a:hover,.footer-contact a:hover{color:#ff9f18}
.footer-contact{min-width:0}
.footer-contact-item{display:flex;align-items:flex-start;gap:12px;margin:0 0 13px;color:#d8e3ef;font-size:15px;line-height:1.6}
.footer-contact-item>span:first-child{color:#ffb900;min-width:22px;font-size:17px}
.footer-contact-item a{color:#d8e3ef}
.footer-newsletter-text{font-size:14px;color:#b9c9df;line-height:1.6;margin:17px 0 12px;max-width:360px}
.footer-newsletter{display:flex;gap:9px;max-width:390px}
.footer-newsletter input{flex:1;min-width:0;height:44px;border:1px solid rgba(255,255,255,.24);border-radius:6px;background:rgba(255,255,255,.03);color:#fff;padding:0 13px;outline:none}
.footer-newsletter input::placeholder{color:#9fb1c7}
.footer-newsletter button{height:44px;padding:0 18px;border:0;border-radius:6px;background:var(--orange);color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}
.footer-bottom{background:#001536;color:#9fb2c9;padding:17px 0 13px;font-size:14px}
.footer-bottom-inner{display:flex;justify-content:space-between;align-items:center;gap:18px}
.footer-bottom strong{color:#dfe9f4}
.footer-legal{display:flex;gap:8px;align-items:center;white-space:nowrap}
.footer-legal a{color:#b9c9df}.footer-legal a:hover{color:#ff9f18}
.footer-reg{margin-top:7px;font-size:12px;color:#8096b1}
@media(max-width:1050px){.footer-main{grid-template-columns:1.2fr 1fr 1fr;gap:30px}.footer-contact{grid-column:1/-1}.footer-newsletter{max-width:460px}}
@media(max-width:700px){.footer-main{grid-template-columns:1fr 1fr;gap:30px;padding:40px 0}.footer-brand,.footer-contact{grid-column:1/-1}.footer-brand-name{font-size:23px}.footer-bottom-inner{flex-direction:column;align-items:flex-start}.footer-legal{flex-wrap:wrap;white-space:normal}.footer-newsletter{width:100%}}
@media(max-width:460px){.footer-main{grid-template-columns:1fr;gap:26px}.footer-col,.footer-contact{grid-column:auto}.footer-col h3,.footer-contact h3{font-size:18px}.footer-brand p,.footer-col a,.footer-contact-item{font-size:14px}.footer-newsletter{flex-direction:column}.footer-newsletter input,.footer-newsletter button{width:100%}}

/* === Mobile navigation === */
.mobile-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-left:auto;border:1px solid #d8e2ee;border-radius:10px;background:#fff;color:var(--navy);font-size:25px;font-weight:800;cursor:pointer;line-height:1;}
.mobile-menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #e6edf5;border-bottom:1px solid #dce6f0;box-shadow:0 10px 24px rgba(0,30,81,.12);padding:12px 18px 18px;z-index:110;}
.mobile-menu.open{display:block;}
.mobile-menu-links{display:grid;gap:2px;}
.mobile-menu-links a{display:flex;align-items:center;min-height:46px;padding:9px 10px;color:var(--navy);font-size:16px;font-weight:750;border-radius:8px;}
.mobile-menu-links a.active{background:#fff4e5;color:var(--navy);}
.mobile-menu-links a.active:before{content:"";width:4px;height:22px;background:var(--orange);border-radius:4px;margin-right:9px;}
.mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;padding-top:12px;border-top:1px solid #e6edf5;}
.mobile-actions .btn{width:100%;font-size:13px!important;min-height:42px;height:42px;padding:0 14px!important;}
@media(max-width:900px){
  header{height:78px;position:sticky;}
  .nav{gap:8px;position:relative;}
  .logo{width:195px;height:62px;}
  .site-header .links,.site-header .actions{display:none;}
  .mobile-toggle{display:flex;}
}
@media(max-width:600px){
  .logo{width:155px;height:60px;}
  .mobile-toggle{width:42px;height:42px;font-size:23px;}
  .mobile-menu{padding-left:12px;padding-right:12px;}
}
@media(max-width:390px){
  .logo{width:145px;}
}
