
:root{
  --bg:#FFFFFF;
  --bg-2:#F5F8F6;
  --panel:#FFFFFF;
  --line:#E2E8E5;
  --ink:#101915;
  --muted:#55635D;
  --green:#097066;
  --green-dim:#3FB7A2;
  --green-bright:#14D8B4;
  --violet:#B36BFF;
  --radius:14px;
  --maxw:1160px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Poppins','Noto Sans',system-ui,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Poppins','Noto Sans',sans-serif;line-height:1.15}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.mono{font-family:'IBM Plex Mono','Noto Sans Mono',monospace}

/* ---------- Nav ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;gap:22px;height:68px}
.logo{display:inline-flex;align-items:center;min-width:0;max-width:min(240px,42vw);flex-shrink:1}
.logo-img{height:auto;width:auto;max-height:40px;max-width:100%;display:block;object-fit:contain;object-position:left center}
.foot .logo{max-width:none}
.foot .logo-img{max-height:24px}
.menu{display:flex;align-items:center;gap:18px;font-size:14.5px;color:var(--muted);margin-left:auto}
.menu a{white-space:nowrap}
.menu a:hover{color:var(--ink)}
/* "Daha çox" dropdown */
.menu-more{position:relative}
.menu-more-btn{
  background:none;border:none;cursor:pointer;padding:0;
  font-family:'Poppins','Noto Sans';font-size:14.5px;color:var(--muted);
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
}
.menu-more-btn:hover,.menu-more-btn[aria-expanded="true"]{color:var(--ink)}
.menu-more-btn .chev{font-size:10px;transition:transform .2s ease;display:inline-block}
.menu-more-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.menu-more-panel{
  position:absolute;top:calc(100% + 14px);right:0;z-index:60;
  background:var(--bg);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 14px 34px rgba(16,25,21,.12);
  padding:8px;min-width:220px;display:none;flex-direction:column;
}
.menu-more-panel.open{display:flex}
.menu-more-panel a{
  padding:9px 12px;border-radius:8px;font-size:14px;color:var(--muted);white-space:nowrap;
}
.menu-more-panel a:hover{background:var(--bg-2);color:var(--ink)}
.btn{
  display:inline-block;
  font-family:'Poppins','Noto Sans';font-weight:700;font-size:15px;
  background:var(--green-bright);color:#08130E;
  padding:11px 22px;border-radius:10px;
  border:none;cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,216,180,.25)}
.btn.ghost{background:transparent;color:var(--green);border:1.5px solid var(--green-dim)}
.btn.ghost:hover{border-color:var(--green);box-shadow:none}
.nav .btn{padding:9px 16px;font-size:14px;white-space:nowrap}
.burger{display:none;margin-left:auto;background:none;border:1px solid var(--line);color:var(--ink);border-radius:8px;padding:8px 12px;cursor:pointer}

/* Language switcher */
.lang-switch{position:relative;margin-left:12px}
.lang-switch-btn{
  background:none;border:1px solid var(--line);border-radius:20px;cursor:pointer;
  padding:7px 12px;font-family:'Poppins','Noto Sans';font-size:15px;color:var(--ink);
  display:inline-flex;align-items:center;gap:6px;line-height:1;
}
.lang-switch-btn:hover,.lang-switch-btn[aria-expanded="true"]{border-color:var(--green-dim)}
.lang-flag{width:20px;height:14px;border-radius:3px;display:block;object-fit:cover}
.lang-option .lang-flag{width:20px;height:14px;margin-right:2px}
.lang-switch-btn .chev{font-size:10px;transition:transform .2s ease;display:inline-block;color:var(--muted)}
.lang-switch-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.lang-switch-panel{
  position:absolute;top:calc(100% + 10px);right:0;z-index:60;
  background:var(--bg);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 14px 34px rgba(16,25,21,.12);
  padding:6px;min-width:170px;display:none;flex-direction:column;
}
.lang-switch-panel.open{display:flex}
.lang-option{
  display:flex;align-items:center;gap:8px;width:100%;text-align:left;
  background:none;border:none;cursor:pointer;
  padding:9px 10px;border-radius:8px;font-size:14px;color:var(--muted);
  font-family:'Poppins','Noto Sans';white-space:nowrap;
}
.lang-option:hover{background:var(--bg-2);color:var(--ink)}
.lang-option.active{color:var(--ink);font-weight:700}
.lang-option.active::after{content:'✓';margin-left:auto;color:var(--green)}
@media (max-width:960px){
  .lang-switch{margin-left:8px}
  .lang-switch-btn{padding:6px 10px;font-size:14px}
}

/* ---------- Hero ---------- */
.hero{padding:88px 0 72px;position:relative;overflow:hidden}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(600px 320px at 80% 10%, rgba(20,216,180,.07), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(179,107,255,.06), transparent 70%);
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;position:relative}
.eyebrow{
  font-family:'IBM Plex Mono','Noto Sans Mono';font-size:13px;color:var(--green);
  letter-spacing:1px;text-transform:uppercase;margin-bottom:18px;display:block;
}
.hero h1{font-size:clamp(34px,4.6vw,56px);font-weight:900;letter-spacing:-1px}
/* The rotating course name gets its own fixed-height line so the layout
   (and the terminal beside it) never shifts as names change length. */
.hero h1 .rotator-line{
  display:flex;align-items:baseline;
  font-size:clamp(26px,3.4vw,42px);
  line-height:1.25;height:1.25em;
  white-space:nowrap;overflow:hidden;
  margin-top:.12em;
}
.hero h1 .rotator{color:var(--green);display:inline-block}
.hero h1 .cursor{color:var(--green);animation:blink 1s steps(1) infinite;font-weight:400;flex:none}
@keyframes blink{50%{opacity:0}}
.hero p{color:var(--muted);margin:20px 0 30px;max-width:46ch;font-size:17px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-stats{display:flex;gap:36px;margin-top:44px;flex-wrap:wrap}
.stat b{font-family:'Poppins','Noto Sans';font-size:26px;font-weight:800;color:var(--green);display:block}
.stat span{font-size:13px;color:var(--muted)}

/* terminal */
.term{
  background:#0A100D;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  font-family:'IBM Plex Mono','Noto Sans Mono',monospace;font-size:14px;
}
.term-bar{display:flex;gap:7px;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.1)}
.term-bar i{width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.2)}
.term-bar i:first-child{background:#E0574F}
.term-bar i:nth-child(2){background:#E8B93E}
.term-bar i:nth-child(3){background:var(--green-bright)}
.term-body{padding:22px 22px 26px;line-height:1.9;color:#93ABA0}
.term-body .p{color:var(--green-bright)}
.term-body .k{color:var(--violet)}
.term-body .ok{color:var(--green-bright)}

/* ---------- Sections ---------- */
section{padding:84px 0}
.sec-title{font-size:clamp(26px,3.4vw,38px);font-weight:800;letter-spacing:-.6px;margin-bottom:12px}
.sec-title em{font-style:normal;color:var(--green)}
.sec-sub{color:var(--muted);max-width:60ch;margin-bottom:44px}
.sec-sub--wide{max-width:100%}

/* Courses */
.courses{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.course{
  border-radius:16px;
  padding:18px 20px 20px;display:flex;flex-direction:column;align-items:center;gap:0;
  transition:transform .2s ease, box-shadow .2s ease;
  text-align:center;
}
.course:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(16,25,21,.1)}
.course .meta{
  display:inline-block;align-self:center;
  background:rgba(255,255,255,.7);
  border-radius:30px;padding:4px 12px;
  font-family:'IBM Plex Mono','Noto Sans Mono';font-size:10.5px;color:var(--ink);font-weight:500;
  letter-spacing:-.2px;
}
.course-icon{width:104px;height:104px;object-fit:contain;display:block;margin:10px auto 0}
.course h3{font-size:17px;font-weight:800;margin-top:8px;color:var(--ink);line-height:1.25}
.course p{font-size:12.5px;color:var(--muted);margin-top:7px;flex:1;line-height:1.55}
.course .go{font-size:12.5px;font-weight:700;color:var(--green);margin-top:12px}
.course--scratch{background:#FBF0C4}
.course--fullstack{background:#FCE3D8}
.course--data-science{background:#E9DEF8}
.course--ai{background:#DBEEFC}
.course--robotics{background:#DFF3D8}
.course--cyber{background:#FCE0EC}

/* Mentors */
.mentors{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mentor{
  background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;text-align:center;
}
.avatar{
  width:72px;height:72px;border-radius:50%;margin:0 auto 14px;
  display:flex;align-items:center;justify-content:center;
  font-family:'Poppins','Noto Sans';font-weight:800;font-size:22px;color:#08130E;
  background:linear-gradient(135deg,var(--green-bright),#0E9C89);
}
.mentor:nth-child(even) .avatar{background:linear-gradient(135deg,var(--violet),#7A3BD6);color:#fff}
.avatar.photo{overflow:hidden;background:var(--bg-2)}
.avatar.photo img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.mentor h4{font-size:16px;margin-bottom:6px}
.mentor p{font-size:13px;color:var(--muted)}

/* Features */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feature{
  background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;display:flex;gap:14px;align-items:flex-start;
}
.feature .ic{
  min-width:40px;height:40px;border-radius:10px;
  background:rgba(20,216,180,.1);border:1px solid var(--green-dim);
  display:flex;align-items:center;justify-content:center;
  font-family:'IBM Plex Mono','Noto Sans Mono';color:var(--green);font-size:16px;
}
.feature h4{font-size:15.5px;margin-bottom:4px}
.feature p{font-size:13.5px;color:var(--muted)}

/* Swedish method */
.sweden-lead{color:var(--ink);font-size:16.5px;line-height:1.8;margin-bottom:22px;max-width:54ch}
.sweden-card{
  background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);
  padding:34px;position:relative;overflow:hidden;
}
.sweden-card::after{
  content:"SWEDEN";position:absolute;right:-8px;bottom:-12px;
  font-family:'Poppins','Noto Sans';font-weight:900;font-size:64px;color:rgba(20,216,180,.07);
  letter-spacing:-2px;
}
.sweden-card .mono{color:var(--green);font-size:12.5px;margin-bottom:14px;display:block}
.sweden-card h3{font-size:22px;margin-bottom:10px}
.sweden-card p{font-size:14px;color:var(--muted)}
.sweden-stats{display:flex;gap:22px;margin-top:26px;flex-wrap:wrap}
.sweden-stats .stat b{font-size:22px}
.sweden-features{margin-top:36px;grid-template-columns:repeat(2,1fr)}
.sweden-features .feature{background:var(--bg)}
.sweden-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:44px}
.sweden-step{
  background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:20px;
}
.sweden-step .n{
  font-family:'IBM Plex Mono','Noto Sans Mono';color:var(--green);font-size:13px;
  margin-bottom:10px;display:block;
}
.sweden-step h4{font-size:15.5px;margin-bottom:6px}
.sweden-step p{font-size:13.5px;color:var(--muted)}
.sweden-cta{margin-top:36px}

/* About page gallery */
.about-gallery-title{
  font-family:'IBM Plex Mono','Noto Sans Mono';color:var(--green);font-size:14px;
  letter-spacing:.5px;text-transform:uppercase;margin:34px 0 16px;
}
.about-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:8px}
.about-gallery figure{
  margin:0;overflow:hidden;border-radius:16px;aspect-ratio:3/4;background:var(--bg-2);
}
.about-gallery figure:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
.about-gallery img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .5s ease;
}
.about-gallery figure:hover img{transform:scale(1.04)}
@media (max-width:860px){
  .about-gallery{grid-template-columns:repeat(2,1fr)}
  .about-gallery figure:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:4/3}
}
@media (max-width:520px){
  .about-gallery{grid-template-columns:1fr}
  .about-gallery figure:first-child{grid-column:auto;aspect-ratio:3/4}
}

/* Café Academiq gallery — editorial staggered strip.
   Source photos are all 9:16 portrait, so every tile keeps that ratio and
   alternating tiles are nudged down to create rhythm instead of a rigid row. */
.cafe-gallery{
  display:grid;grid-template-columns:repeat(5,1fr);gap:14px;
  margin:30px 0 12px;padding-bottom:34px;
}
.cafe-gallery figure{
  margin:0;overflow:hidden;border-radius:18px;aspect-ratio:9/16;
  background:var(--bg-2);
  box-shadow:0 12px 30px rgba(16,25,21,.10);
  transition:transform .4s ease, box-shadow .4s ease;
}
.cafe-gallery figure:nth-child(even){transform:translateY(34px)}
.cafe-gallery figure:hover{box-shadow:0 18px 40px rgba(16,25,21,.16)}
.cafe-gallery img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s ease;
}
.cafe-gallery figure:hover img{transform:scale(1.05)}
@media (max-width:980px){
  .cafe-gallery{grid-template-columns:repeat(3,1fr);gap:12px;padding-bottom:28px}
  .cafe-gallery figure:nth-child(even){transform:translateY(26px)}
}
@media (max-width:620px){
  /* Stacking five tall portraits vertically is a very long scroll —
     a snap-scrolling strip reads better on a phone. */
  .cafe-gallery{
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
    gap:12px;padding:0 0 14px;margin:26px 0 6px;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
  }
  .cafe-gallery::-webkit-scrollbar{display:none}
  .cafe-gallery figure{
    flex:0 0 70%;scroll-snap-align:center;transform:none;
  }
  .cafe-gallery figure:nth-child(even){transform:none}
}

/* Contact page */
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0 22px}
.contact-card{
  display:flex;align-items:center;gap:14px;
  background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:18px 20px;
  transition:transform .18s ease, border-color .18s ease;
}
.contact-card:hover{transform:translateY(-3px);border-color:var(--green-dim)}
.contact-card .ic{
  min-width:42px;height:42px;border-radius:11px;font-size:18px;
  background:rgba(20,216,180,.1);border:1px solid var(--green-dim);color:var(--green);
  display:flex;align-items:center;justify-content:center;
}
.contact-card span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
.contact-card b{font-size:15px;color:var(--ink);word-break:break-all}

.contact-location{
  background:#111C18;color:#EAF4EE;border-radius:22px;
  display:grid;grid-template-columns:1fr 1.1fr;gap:36px;padding:38px 40px;
}
.contact-location h2{font-size:clamp(22px,2.8vw,30px);font-weight:800;margin:10px 0 4px;color:#fff}
.contact-metro{
  display:inline-block;font-family:'IBM Plex Mono','Noto Sans Mono';font-size:13px;
  color:var(--green-bright);margin-bottom:18px;
}
.contact-map-links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px}
.contact-map-links .btn.ghost{color:#EAF4EE;border-color:rgba(255,255,255,.25)}
.contact-map-links .btn.ghost:hover{border-color:var(--green-bright);color:var(--green-bright)}
.contact-directions{list-style:none;display:grid;gap:16px;margin-bottom:26px}
.contact-directions li{display:grid;gap:3px}
.contact-directions b{font-size:14.5px;color:#fff}
.contact-directions span{font-size:13.5px;color:#A9BDB4;line-height:1.55}
.contact-map{border-radius:16px;overflow:hidden;min-height:340px;background:#1B2A24}
.contact-map iframe{width:100%;height:100%;min-height:340px;border:0;display:block;filter:saturate(.9)}
@media (max-width:860px){
  .contact-cards{grid-template-columns:1fr}
  .contact-location{grid-template-columns:1fr;padding:28px 22px}
  .contact-map{min-height:280px}
}

/* FAQ */
.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.faq{
  background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px;display:flex;gap:14px;align-items:flex-start;
}
.faq .ic{
  min-width:40px;height:40px;border-radius:10px;
  background:rgba(20,216,180,.1);border:1px solid var(--green-dim);
  display:flex;align-items:center;justify-content:center;
  font-family:'IBM Plex Mono','Noto Sans Mono';color:var(--green);font-size:16px;
}
.faq h4{font-size:15.5px;margin-bottom:4px}
.faq p{font-size:13.5px;color:var(--muted)}

/* Diploma */
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.split--start{align-items:start}
.diploma-card{
  background:var(--bg-2);border:1px solid var(--line);border-radius:var(--radius);
  padding:34px;position:relative;overflow:hidden;
}
.diploma-card::after{
  content:"ACADEMIQ";position:absolute;right:-20px;bottom:-14px;
  font-family:'Poppins','Noto Sans';font-weight:900;font-size:74px;color:rgba(20,216,180,.05);
  letter-spacing:-2px;
}
.diploma-card .mono{color:var(--green);font-size:12.5px;margin-bottom:14px;display:block}
.diploma-card h3{font-size:22px;margin-bottom:10px}
.diploma-card p{font-size:14px;color:var(--muted)}
.checks{list-style:none;margin-top:22px;display:grid;gap:12px}
.checks li{display:flex;gap:12px;font-size:15px;color:var(--ink)}
.checks li::before{content:"✓";color:var(--green);font-weight:700}

/* Blog */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.blog-card{
  background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;
  transition:transform .2s ease, border-color .2s ease;
}
.blog-card:hover{transform:translateY(-4px);border-color:var(--green-dim)}
.blog-thumb{
  height:148px;position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  border-bottom:1px solid var(--line);
}
.blog-thumb::before{
  content:attr(data-tag);font-family:'IBM Plex Mono','Noto Sans Mono';font-weight:500;
  font-size:52px;color:rgba(234,244,238,.08);letter-spacing:-1px;
}
.blog-thumb--photo::before,.article-cover--photo::before{content:none}
.blog-thumb--photo img,.article-cover--photo img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.blog-thumb--a{background:linear-gradient(135deg,#123425,#0C1512)}
.blog-thumb--b{background:linear-gradient(135deg,#2A1B40,#0C1512)}
.blog-thumb--c{background:linear-gradient(135deg,#123425,#1B2A40)}
.blog-thumb--d{background:linear-gradient(135deg,#2A1B40,#123425)}
.blog-body{padding:22px;display:flex;flex-direction:column;gap:9px;flex:1}
.blog-body .meta{font-family:'IBM Plex Mono','Noto Sans Mono';font-size:11.5px;color:var(--green);letter-spacing:.5px}
.blog-body h3{font-size:17px;font-weight:700}
.blog-body p{font-size:13.5px;color:var(--muted);flex:1}
.blog-body .go{font-size:13.5px;font-weight:600;color:var(--green)}

/* Form */
.signup{background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.form-grid form{display:grid;gap:14px}
.form-grid input,.form-grid select{
  background:var(--bg);border:1px solid var(--line);border-radius:10px;
  color:var(--ink);padding:14px 16px;font-family:'Poppins','Noto Sans';font-size:15px;outline:none;width:100%;
}
.form-grid input:focus,.form-grid select:focus{border-color:var(--green)}
.form-msg{font-size:14px;color:var(--green);display:none}

/* Footer */
footer{padding:56px 0 36px;background:#DCE4E0;border-top:1px solid var(--line)}
.foot{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:32px;margin-bottom:40px}
.foot h5{font-family:'Poppins','Noto Sans';font-size:14px;margin-bottom:14px;color:var(--ink)}
.foot ul{list-style:none;display:grid;gap:9px}
.foot a{font-size:13.5px;color:var(--muted)}
.foot a:hover{color:var(--green)}
.foot p{font-size:13.5px;color:var(--muted);max-width:30ch;margin-top:12px}
.foot-brand{margin-top:0}
.foot-mark{width:100%;max-width:260px;height:auto;display:block}
.copy{font-size:12.5px;color:var(--muted);border-top:1px solid #C4CFC9;padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* Course detail overlay ("second page") */
.page-overlay{
  position:fixed;inset:0;z-index:200;background:var(--bg);
  overflow-y:auto;opacity:0;visibility:hidden;
  transform:translateY(14px);
  transition:opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.page-overlay.open{
  opacity:1;visibility:visible;transform:translateY(0);
  transition:opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
}
.detail-inner{max-width:var(--maxw);margin:0 auto;padding:28px 24px 100px}
/* Course page hero — coloured band with the artwork beside the copy */
.course-hero{
  border-radius:24px;padding:44px 48px;margin-bottom:44px;
  display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;
}
.course-hero-text .detail-title{font-size:clamp(28px,4vw,44px);margin:12px 0 14px}
.course-hero-text .detail-tagline{max-width:52ch;margin-bottom:20px;color:#3A4A43}
.course-hero-text .detail-meta-row{margin-bottom:26px}
.course-hero-text .detail-meta-row span{background:rgba(255,255,255,.7);border-color:transparent}
.course-hero-visual{display:flex;align-items:center;justify-content:center}
.course-hero-visual img{
  width:100%;max-width:300px;height:auto;object-fit:contain;display:block;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.14));
}
/* when a real photo is supplied instead of the 3D artwork */
.course-hero-visual.is-art img{
  max-width:100%;filter:drop-shadow(0 16px 32px rgba(0,0,0,.13));
}
.course-hero-visual.is-photo img{
  max-width:100%;aspect-ratio:4/3;object-fit:cover;
  border-radius:18px;filter:none;box-shadow:0 14px 34px rgba(16,25,21,.16);
}
@media (max-width:860px){
  .course-hero{grid-template-columns:1fr;padding:32px 26px;text-align:center;gap:26px}
  .course-hero-text .detail-tagline{margin-left:auto;margin-right:auto}
  .course-hero-text .detail-meta-row{justify-content:center}
  .course-hero-visual{order:-1}
  .course-hero-visual img{max-width:220px}
}
.detail-close{
  display:inline-flex;align-items:center;gap:8px;background:none;border:none;
  color:var(--muted);font-family:'Poppins','Noto Sans';font-size:14.5px;font-weight:500;
  cursor:pointer;padding:10px 0;margin-bottom:20px;
}
.detail-close span{color:var(--green);font-size:16px}
.detail-close:hover{color:var(--ink)}
.detail-eyebrow{font-family:'IBM Plex Mono';font-size:13px;color:var(--green);letter-spacing:1px;text-transform:uppercase}
.detail-title{font-size:clamp(28px,4vw,44px);font-weight:900;letter-spacing:-1px;margin:14px 0 10px}
.detail-tagline{color:var(--muted);font-size:16px;max-width:64ch;margin-bottom:22px}
.detail-meta-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:36px}
.detail-meta-row span{
  font-family:'IBM Plex Mono';font-size:13px;color:var(--ink);
  background:var(--bg-2);border:1px solid var(--line);border-radius:20px;padding:7px 16px;
}
.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:start}
.detail-block h4{font-size:14px;font-family:'IBM Plex Mono';color:var(--green);letter-spacing:.5px;text-transform:uppercase;margin-bottom:16px}
.detail-modules{list-style:none;display:grid;gap:12px;margin-bottom:38px;counter-reset:mod}
.detail-modules li{
  counter-increment:mod;display:flex;gap:16px;align-items:flex-start;
  background:var(--bg-2);border:1px solid var(--line);border-radius:12px;padding:16px 18px;
}
.detail-modules li::before{
  content:counter(mod,decimal-leading-zero);font-family:'IBM Plex Mono';
  color:var(--green);font-weight:600;font-size:13.5px;min-width:26px;padding-top:1px;
}
.detail-modules li div b{display:block;font-size:15px;font-weight:700;margin-bottom:3px}
.detail-modules li div span{font-size:13.5px;color:var(--muted)}
.detail-modules--titles{margin-bottom:0}
.detail-modules--titles li{padding:12px 16px}
.detail-modules--titles li div b{margin-bottom:0;font-size:14.5px;font-weight:600}
.course-about h4{
  font-size:14px;font-family:'IBM Plex Mono';color:var(--green);
  letter-spacing:.5px;text-transform:uppercase;margin-bottom:12px;
}
.course-about p{font-size:14.5px;line-height:1.75;color:var(--ink);margin-bottom:12px}
.course-about p:last-child{margin-bottom:0}
.lesson-specs{margin-top:22px}
.lesson-specs h4{
  font-size:14px;font-family:'IBM Plex Mono';color:var(--green);
  letter-spacing:.5px;text-transform:uppercase;margin-bottom:4px;
}
.lesson-specs ul{list-style:none}
.lesson-specs li{
  display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center;
  padding:9px 0;border-bottom:1px solid var(--line);font-size:14px;
}
.lesson-specs li:last-child{border-bottom:none}
.lesson-specs-ic{width:18px;height:18px;color:var(--green);display:block}
.lesson-specs-label{color:var(--muted)}
.lesson-specs-val{font-weight:700;color:var(--ink);text-align:right}
.detail-side{
  background:transparent;border:none;border-left:1px solid var(--line);
  border-radius:0;padding:4px 0 4px 32px;position:sticky;top:90px;
}
.detail-side p{font-size:14px;color:var(--muted);margin-bottom:22px}
.detail-side .course-about p{font-size:14.5px;line-height:1.75;color:var(--ink);margin-bottom:12px}
.detail-side .course-about p:last-child{margin-bottom:0}
@media (max-width:960px){
  .detail-side{border-left:none;padding:24px 0 0;border-top:1px solid var(--line)}
}
.detail-side .btn{width:100%;text-align:center;margin-bottom:12px}
.syllabus-toggle{
  display:flex;align-items:center;justify-content:center;gap:8px;
  cursor:pointer;font-family:'Poppins','Noto Sans';
}
.syllabus-toggle .chevron{font-size:12px;transition:transform .25s ease;display:inline-block}
.syllabus-toggle[aria-expanded="true"] .chevron{transform:rotate(180deg)}
.syllabus-panel{
  max-height:0;overflow:hidden;
  transition:max-height .35s ease, margin-top .35s ease;
}
.syllabus-panel.open{max-height:1000px;margin-top:14px}
.syllabus-panel-inner{
  background:var(--bg);border:1px solid var(--line);border-radius:12px;
  padding:16px 18px;display:grid;gap:14px;
}
.syllabus-group h5{
  font-size:12.5px;font-family:'IBM Plex Mono','Noto Sans Mono';color:var(--green);
  text-transform:uppercase;letter-spacing:.4px;margin-bottom:4px;
}
.syllabus-group p{font-size:13px;color:var(--muted);line-height:1.6}
/* "Digər təlimlər" at the bottom of a course page */
.other-courses{margin-top:56px;padding-top:34px;border-top:1px solid var(--line)}
.other-courses-title{font-size:20px;font-weight:800;margin-bottom:20px;color:var(--ink)}
.other-courses .courses{grid-template-columns:repeat(3,1fr)}
.other-course{padding:20px 20px 22px}
.other-course h3{margin-top:0}
.other-course p{margin-top:8px}
@media (max-width:960px){.other-courses .courses{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.other-courses .courses{grid-template-columns:1fr}}
.detail-audience{font-size:13.5px;color:var(--ink);background:rgba(20,216,180,.06);border:1px solid var(--green-dim);border-radius:10px;padding:14px 16px;margin-bottom:22px}
.article-cover{
  height:170px;border-radius:12px;margin:26px 0 32px;
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;border:1px solid var(--line);
}
.article-cover::before{
  content:attr(data-tag);font-family:'IBM Plex Mono';font-weight:500;
  font-size:60px;color:rgba(234,244,238,.1);
}
.article-body{max-width:70ch}
.article-body p{margin-bottom:18px;color:var(--ink);font-size:16.5px;line-height:1.8}
.article-body p:last-child{margin-bottom:0}
.detail-mentors{display:flex;flex-direction:column;gap:10px}
.detail-mentor-chip{display:flex;align-items:center;gap:10px}
.detail-mentor-chip .avatar{width:38px;height:38px;font-size:13px}
.detail-mentor-chip div{display:flex;flex-direction:column}
.detail-mentor-chip b{font-size:13.5px}
.detail-mentor-chip span{font-size:12px;color:var(--muted)}
body.detail-open{overflow:hidden}

/* Reveal on scroll */
.rv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.rv.on{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  .rv{opacity:1;transform:none;transition:none}
  .cursor{animation:none}
}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-grid,.split,.form-grid,.detail-grid{grid-template-columns:1fr}
  .detail-side{position:static}
  .courses,.features,.blog-grid{grid-template-columns:repeat(2,1fr)}
  .mentors,.sweden-steps{grid-template-columns:repeat(2,1fr)}
  .foot{grid-template-columns:1fr 1fr}
}
/* Nav collapses to the hamburger a bit earlier than the content grids —
   the added language switcher leaves too little room for "Café Academiq"
   and "Daha çox" to stay on one line between 960–1080px otherwise. */
@media (max-width:1080px){
  .menu{display:none}
  .burger{display:block}
  .menu.open{display:grid;position:absolute;top:68px;left:0;right:0;background:var(--bg-2);
    padding:20px 24px;gap:16px;border-bottom:1px solid var(--line)}
  /* on mobile the dropdown expands inline instead of floating */
  .menu-more-panel{position:static;border:none;box-shadow:none;background:none;
    padding:0;min-width:0;margin-top:12px}
  .menu-more-panel.open{display:grid;gap:12px}
  .menu-more-panel a{padding:0}
  .menu-more-panel a:hover{background:none}
  .nav .btn{font-size:13px;padding:9px 14px}
}
@media (max-width:560px){
  .courses,.features,.mentors,.sweden-steps,.blog-grid,.faq-grid{grid-template-columns:1fr}
  section{padding:60px 0}
  header .logo{display:none}
}

/* Inner pages + testimonials */
.skip-link{
  position:absolute;left:-999px;top:10px;z-index:80;
  background:var(--green-bright);color:#08130E;font-weight:700;
  padding:10px 16px;border-radius:10px;
}
.skip-link:focus{left:16px}
.menu a.is-active{color:var(--ink);font-weight:600}
.page-shell{padding:40px 0 96px}
.crumb{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  font-size:13.5px;color:var(--muted);margin-bottom:22px;
}
.crumb a{color:var(--green);font-weight:500}
.crumb a:hover{text-decoration:underline}
.crumb .sep{opacity:.45}
.crumb [aria-current="page"]{color:var(--ink);font-weight:600}
.back-link{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--muted);font-size:14.5px;font-weight:500;
  margin-bottom:14px;
}
.back-link span{color:var(--green);font-size:16px}
.back-link:hover{color:var(--ink)}
.home-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13.5px;color:var(--green);font-weight:600;margin-left:12px;
}
.home-link:hover{text-decoration:underline}
.course-accent{height:6px;width:100%}
.course-accent--scratch{background:#FBF0C4}
.course-accent--fullstack{background:#FCE3D8}
.course-accent--data-science{background:#E9DEF8}
.course-accent--ai{background:#DBEEFC}
.course-accent--robotics{background:#DFF3D8}
.course-accent--cyber{background:#D8EEF3}
.related-head{font-size:22px;font-weight:800;margin:56px 0 20px}
.listing-hero{padding:48px 0 12px}
.listing-hero .sec-sub{margin-bottom:28px}
.course.course--plain{min-height:220px}
.page-cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:28px}
.contact-note{margin-top:18px;color:var(--muted);font-size:15px}
.article-cover.article-cover--photo{height:auto;min-height:170px;max-height:420px}
.article-cover--photo img{width:100%;height:100%;max-height:420px;object-fit:cover;display:block}
.blog-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.features--2col{grid-template-columns:repeat(2,1fr)}
html:not([lang="az"]) .only-az{display:none !important}
html:not([lang="en"]) .only-en{display:none !important}
html:not([lang="ru"]) .only-ru{display:none !important}

/* DevSys / parent oversight page */
.devsys-card{
  background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 28px 22px;position:relative;overflow:hidden;
}
.devsys-card::after{
  content:"DEVSYS";position:absolute;right:-6px;bottom:-10px;
  font-family:'Poppins','Noto Sans';font-weight:900;font-size:52px;color:rgba(20,216,180,.07);
  letter-spacing:-2px;pointer-events:none;
}
.devsys-card .mono{color:var(--green);font-size:12.5px;margin-bottom:10px;display:block}
.devsys-card h3{font-size:20px;margin-bottom:8px;position:relative;z-index:1}
.devsys-card > p{font-size:14px;color:var(--muted);position:relative;z-index:1}
.devsys-phone{
  background:#111C18;border-radius:28px;padding:12px 12px 18px;
  max-width:268px;margin:20px auto 4px;position:relative;z-index:1;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 40px rgba(16,25,21,.22);
}
.devsys-phone-bar{
  width:68px;height:5px;background:#2a3d36;border-radius:99px;margin:6px auto 14px;
}
.devsys-phone-label{
  font-family:'IBM Plex Mono','Noto Sans Mono',monospace;font-size:11px;
  color:var(--green-bright);letter-spacing:.4px;text-align:center;margin-bottom:12px;
}
.devsys-notif{
  background:#1B2A24;border:1px solid rgba(20,216,180,.18);border-radius:12px;
  padding:12px 14px;margin-bottom:10px;color:#EAF4EE;
}
.devsys-notif:last-child{margin-bottom:0}
.devsys-notif b{display:block;font-size:13.5px;margin-bottom:3px;font-weight:600}
.devsys-notif span{font-size:12px;color:#A9BDB4}
.devsys-dot{
  display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--green-bright);margin-right:7px;vertical-align:middle;
  animation:devsysPulse 2s ease-in-out infinite;
}
@keyframes devsysPulse{0%,100%{opacity:1}50%{opacity:.35}}
.devsys-section-title{
  font-size:clamp(22px,3vw,30px);font-weight:800;letter-spacing:-.6px;
  margin:48px 0 10px;
}
.devsys-section-title em{color:var(--green);font-style:normal}
.devsys-section-sub{color:var(--muted);font-size:15.5px;max-width:58ch;margin-bottom:22px}
.devsys-moments{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:36px 0 8px}
.devsys-moment{
  background:#111C18;color:#EAF4EE;border-radius:18px;padding:26px 24px;
}
.devsys-moment .n{
  font-family:'IBM Plex Mono','Noto Sans Mono',monospace;color:var(--green-bright);
  font-size:12px;display:block;margin-bottom:10px;
}
.devsys-moment h3{font-size:18px;margin-bottom:8px;color:#fff}
.devsys-moment p{font-size:14px;color:#A9BDB4;line-height:1.65}
.devsys-cta-box{
  margin-top:44px;padding:28px;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--bg-2);
}
.devsys-cta-box h3{font-size:20px;margin-bottom:8px}
.devsys-cta-box p{color:var(--muted);font-size:15px;margin-bottom:18px;max-width:52ch}
@media (max-width:860px){
  .devsys-moments{grid-template-columns:1fr}
}
@media (prefers-reduced-motion: reduce){
  .devsys-dot{animation:none}
}
@media (max-width:960px){
  .features--2col{grid-template-columns:1fr}
  .related-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .related-grid{grid-template-columns:1fr}
}
