/* SkillSetGo homepage skin — loads AFTER style.css, scoped to body.home */
body.home{--ink:#060d24;--navy:#0a1a4a;--blue:#0866ff;--cyan:#12c8ff;--mist:#f3f8ff;--amber:#ffb020;
  font-family:'DM Sans',Arial,sans-serif;color:#10204b;background:#fff;overflow-x:hidden;margin:0}
body.home *{box-sizing:border-box}
body.home h1,body.home h2,body.home h3,body.home .logo-text h2{font-family:'Sora','DM Sans',sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:80px}
.scroll-bar{position:fixed;top:0;left:0;height:3px;width:0;z-index:200;background:linear-gradient(90deg,var(--blue),var(--cyan),var(--amber))}

/* NAV */
body.home .navbar{position:sticky;top:0;z-index:100;height:76px;padding:0 5%;background:rgba(255,255,255,.72);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(8,102,255,.1);transition:.3s}
body.home .navbar.scrolled{height:62px;background:rgba(255,255,255,.92);box-shadow:0 8px 30px rgba(10,26,74,.1)}
body.home .logo-icon{box-shadow:0 6px 18px rgba(8,102,255,.4);transition:.4s}
body.home .logo:hover .logo-icon{transform:rotate(-8deg) scale(1.08)}
body.home .logo-text h2{font-size:16px;letter-spacing:.5px}
body.home .nav-menu a{position:relative;padding:6px 2px;color:#1b2c57;transition:color .2s}
body.home .nav-menu a::after{content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:linear-gradient(90deg,var(--blue),var(--cyan));transition:width .3s}
body.home .nav-menu a:hover::after,body.home .nav-menu a.active::after{width:100%}
body.home .nav-menu a.active{color:var(--blue)}
body.home .nav-buttons{align-items:center}
body.home #studentAuth{display:flex;gap:10px;align-items:center}

/* BUTTONS */
body.home .btn{display:inline-block;border-radius:12px;font-weight:700;transition:transform .25s,box-shadow .25s,background .25s}
body.home .btn:hover{transform:translateY(-3px)}
body.home .btn-primary{background:linear-gradient(135deg,var(--blue),#2a8bff);box-shadow:0 8px 22px rgba(8,102,255,.35)}
body.home .btn-primary:hover{box-shadow:0 14px 30px rgba(8,102,255,.5)}
body.home .btn-glow{padding:14px 26px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--cyan));background-size:200% 200%;
  animation:shift 4s ease infinite;box-shadow:0 10px 30px rgba(18,200,255,.45)}
body.home .btn-ghost{padding:14px 26px;color:#fff;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);backdrop-filter:blur(6px)}
body.home .btn-ghost:hover{background:rgba(255,255,255,.18)}
@keyframes shift{50%{background-position:100% 50%}}

/* HERO */
.sg-hero{position:relative;overflow:hidden;padding:90px 7% 110px;color:#fff;background:radial-gradient(circle at 20% 0,#12306f,var(--ink) 60%)}
.sg-hero::before{content:"";position:absolute;inset:0;opacity:.35;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:48px 48px;mask-image:radial-gradient(circle at 50% 40%,#000,transparent 75%);-webkit-mask-image:radial-gradient(circle at 50% 40%,#000,transparent 75%)}
.blob{position:absolute;border-radius:50%;filter:blur(80px);opacity:.55;animation:drift 14s ease-in-out infinite alternate}
.b1{width:420px;height:420px;background:#0866ff;top:-120px;left:-80px}
.b2{width:360px;height:360px;background:#12c8ff;bottom:-140px;right:10%;animation-delay:-5s}
.b3{width:240px;height:240px;background:#7b5cff;top:30%;right:-60px;animation-delay:-9s}
@keyframes drift{to{transform:translate(60px,40px) scale(1.15)}}
.sg-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;max-width:1240px;margin:auto}
.sg-pill{display:inline-flex;align-items:center;gap:10px;padding:8px 16px;border-radius:99px;font-size:13px;font-weight:700;
  background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.2);animation:up .8s both}
.sg-pill i{width:8px;height:8px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 0 rgba(61,220,132,.7);animation:ping 1.8s infinite}
@keyframes ping{70%{box-shadow:0 0 0 10px rgba(61,220,132,0)}}
.sg-hero h1{font-size:clamp(44px,7vw,84px);line-height:1;margin:22px 0 14px;font-weight:800;color:#fff;animation:up .8s .15s both}
.grad{background:linear-gradient(90deg,#4bdcff,#8fb8ff,#ffb020,#4bdcff);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shift 6s linear infinite}
.caret{display:inline-block;width:5px;height:.85em;margin-left:8px;background:var(--cyan);vertical-align:-.05em;animation:blink 1s steps(2) infinite}
@keyframes blink{50%{opacity:0}}
.sg-hero h2{font-size:clamp(20px,2.6vw,28px);color:#cfe0ff;font-weight:500;animation:up .8s .3s both}
.sg-lead{max-width:540px;margin-top:16px;font-size:17px;line-height:1.75;color:#aebfe3;animation:up .8s .45s both}
.sg-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px;animation:up .8s .6s both}
.sg-checks{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:34px;font-size:14px;font-weight:700;color:#d7e4ff;animation:up .8s .75s both}
.sg-checks span{color:#d7e4ff}
@keyframes up{from{opacity:0;transform:translateY(28px)}}

.sg-hero-visual{position:relative;min-height:400px;display:flex;align-items:center;justify-content:center;animation:up 1s .4s both}
.terminal{width:100%;max-width:430px;border-radius:18px;background:rgba(6,13,36,.82);border:1px solid rgba(120,170,255,.3);
  box-shadow:0 30px 80px rgba(0,0,0,.5),0 0 60px rgba(18,200,255,.18);backdrop-filter:blur(10px);transition:transform .15s ease-out;transform-style:preserve-3d}
.t-bar{display:flex;align-items:center;gap:7px;padding:13px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.t-bar i{width:11px;height:11px;border-radius:50%;background:#ff5f57}.t-bar i:nth-child(2){background:#febc2e}.t-bar i:nth-child(3){background:#28c840}
.t-bar span{margin-left:10px;font-size:12px;color:#7f93c4}
.terminal pre{margin:0;padding:20px;min-height:230px;font:500 14px/1.9 ui-monospace,Menlo,Consolas,monospace;color:#cfe0ff;white-space:pre-wrap}
.terminal .k{color:#4bdcff}.terminal .s{color:#ffb020}.terminal .g{color:#3ddc84}.terminal .d{color:#6f82b3}
.chip{position:absolute;z-index:3;padding:9px 16px;border-radius:99px;font-size:13px;font-weight:700;color:#fff;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(8px);animation:float 5s ease-in-out infinite}
.c1{top:2%;left:2%}.c2{top:12%;right:-2%;animation-delay:-1s}.c3{top:32%;left:-6%;animation-delay:-2s}
.c4{bottom:2%;right:6%;animation-delay:-3s}.c5{top:46%;right:-6%;animation-delay:-4s}
@keyframes float{50%{transform:translateY(-14px)}}
.badge-float{position:absolute;left:4%;bottom:-10px;z-index:3;display:flex;flex-direction:column;padding:12px 18px;border-radius:16px;background:#fff;color:var(--navy);
  box-shadow:0 18px 40px rgba(0,0,0,.35);animation:float 6s ease-in-out infinite}
.badge-float b{font:800 22px 'Sora',sans-serif}.badge-float small{color:#5e6b85;font-size:12px}

/* MARQUEE */
.marquee{overflow:hidden;background:var(--ink);border-top:1px solid rgba(255,255,255,.08);padding:16px 0}
.track{display:flex;gap:44px;width:max-content;animation:scroll 30s linear infinite}
.marquee:hover .track{animation-play-state:paused}
.track span{font:700 15px 'Sora',sans-serif;color:#7f93c4;white-space:nowrap}
.track span::before{content:"◆";margin-right:44px;color:var(--cyan);font-size:9px}
@keyframes scroll{to{transform:translateX(-50%)}}

/* INTERNSHIP */
body.home .internship-banner{position:relative;overflow:hidden;margin:60px 5%;padding:30px 36px;border-radius:22px;
  background:linear-gradient(120deg,#081f50,#0b60dc,#12c8ff,#0b60dc,#081f50);background-size:300% 100%;animation:shift 10s linear infinite;
  box-shadow:0 24px 60px rgba(8,102,255,.35)}
body.home .internship-banner::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent);transform:skewX(-20deg);animation:sheen 4.5s ease-in-out infinite}
@keyframes sheen{60%,100%{left:130%}}
body.home .internship-icon{animation:float 4s ease-in-out infinite}

/* SECTIONS */
body.home .courses-section,body.home .why-section{padding:90px 5%;background:#fff}
body.home .courses-section:nth-of-type(odd){background:var(--mist)}
body.home .why-section.alt{background:var(--mist)}
body.home .section-header>p:first-child,body.home .why-heading>p:first-child{display:inline-block;padding:6px 14px;border-radius:99px;background:#e6f0ff;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:2.5px}
body.home .section-header,body.home .why-heading{text-align:center;max-width:760px;margin:0 auto 46px}
body.home .section-header h2,body.home .why-heading h2{margin-top:14px;font-size:clamp(28px,4vw,42px);font-weight:800;color:var(--ink)}
body.home .section-header h2 span,body.home .why-heading h2 span{background:linear-gradient(90deg,var(--blue),var(--cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
body.home .why-description,body.home .section-description{margin-top:12px;color:#5e6b85;font-size:16px;line-height:1.7}

/* COURSE CARDS (generated by app.js) */
body.home .course-container{max-width:1240px;margin:auto;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px}
body.home .course-card{position:relative;overflow:hidden;padding:28px;border-radius:22px;border:1px solid #dfe9fb;background:#fff;
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;animation:up .7s both}
body.home .course-card:nth-child(2){animation-delay:.1s}body.home .course-card:nth-child(3){animation-delay:.2s}
body.home .course-card:nth-child(4){animation-delay:.3s}body.home .course-card:nth-child(n+5){animation-delay:.4s}
body.home .course-card::before{content:"";position:absolute;inset:0;opacity:0;transition:opacity .35s;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,0),rgba(18,200,255,.18),transparent 70%)}
body.home .course-card:hover{transform:translateY(-10px);box-shadow:0 26px 55px rgba(8,102,255,.22);border-color:#9cc4ff}
body.home .course-card:hover::before{opacity:1}
body.home .course-card>*{position:relative}
body.home .course-icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#e3efff,#d3f4ff);transition:transform .4s}
body.home .course-card:hover .course-icon{transform:rotate(-8deg) scale(1.12)}
body.home .view-course-btn{transition:.25s}

/* STATS */
body.home .stats-section{margin:0 5%;padding:44px 20px;border-radius:26px;background:linear-gradient(135deg,var(--ink),#123a98);color:#fff;box-shadow:0 24px 60px rgba(10,26,74,.3)}
body.home .stat-card h2{font-family:'Sora',sans-serif;font-size:clamp(34px,5vw,54px);background:linear-gradient(90deg,#fff,#4bdcff);-webkit-background-clip:text;background-clip:text;color:transparent}
body.home .stat-card p{color:#aebfe3}
body.home .stats-section+.why-section{margin-top:40px}

/* WHY / CONTACT CARDS */
body.home .why-cards{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px}
body.home .why-card{position:relative;padding:34px 28px;border-radius:22px;background:#fff;border:1px solid #e0eafa;text-align:center;
  box-shadow:0 10px 30px rgba(10,26,74,.07);transition:transform .35s,box-shadow .35s}
body.home .why-card::after{content:"";position:absolute;left:20%;right:20%;bottom:0;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--blue),var(--cyan));transform:scaleX(0);transition:transform .4s}
body.home .why-card:hover{transform:translateY(-10px);box-shadow:0 26px 55px rgba(8,102,255,.2)}
body.home .why-card:hover::after{transform:scaleX(1)}
body.home .why-icon{width:72px;height:72px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;font-size:32px;border-radius:50%;
  background:linear-gradient(135deg,#e3efff,#d3f4ff);transition:transform .45s}
body.home .why-card:hover .why-icon{transform:scale(1.15) rotate(10deg)}
body.home .why-card h3{font-size:20px;color:var(--ink)}
body.home .why-card p{margin:10px 0 18px;color:#5e6b85;line-height:1.65}

/* MAP + FOOTER */
body.home .map-section{padding:90px 5%;background:var(--mist)}
body.home .map-container{max-width:1100px;margin:auto;border-radius:24px;overflow:hidden;box-shadow:0 26px 60px rgba(10,26,74,.2);border:4px solid #fff}
body.home .map-container iframe{display:block}
body.home footer{padding:50px 5% 36px;text-align:center;color:#aebfe3;background:var(--ink)}
.foot-logo{display:flex;justify-content:center;align-items:center;gap:12px;font:800 18px 'Sora',sans-serif;color:#fff}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;margin:22px 0}
.foot-links a{color:#cfe0ff;transition:color .2s}.foot-links a:hover{color:var(--cyan)}
.to-top{position:fixed;right:22px;bottom:22px;z-index:90;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:20px;background:linear-gradient(135deg,var(--blue),var(--cyan));box-shadow:0 10px 26px rgba(8,102,255,.45);opacity:0;transform:translateY(20px);pointer-events:none;transition:.3s}
.to-top.show{opacity:1;transform:none;pointer-events:auto}

/* SCROLL REVEAL */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.reveal.in{opacity:1;transform:none}
.why-cards .reveal:nth-child(2){transition-delay:.12s}.why-cards .reveal:nth-child(3){transition-delay:.24s}
.stats-section .stat-card{transition:transform .3s}.stats-section .stat-card:hover{transform:scale(1.07)}

/* RESPONSIVE */
@media(max-width:980px){
  .sg-hero-inner{grid-template-columns:1fr;text-align:left}
  .sg-hero{padding:60px 6% 80px}.sg-hero-visual{min-height:340px;margin-top:20px}
  body.home .nav-buttons>.btn-primary{display:none}
  body.home .mobile-menu-toggle{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;border:1px solid #cfe0ff;background:#fff;font-size:20px;cursor:pointer;order:3}
  body.home .nav-menu{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;padding:12px 5% 18px;background:#fff;box-shadow:0 20px 40px rgba(10,26,74,.15)}
  body.home .nav-menu.mobile-open{display:flex}
  body.home .nav-menu a{padding:14px 4px;border-bottom:1px solid #eef3fb}
  body.home .navbar{justify-content:space-between;gap:10px}
  body.home .internship-banner{grid-template-columns:1fr;text-align:center;justify-items:center}
}
@media(max-width:600px){.chip{display:none}.badge-float{left:0}.sg-pill{font-size:12px}body.home .stats-section{grid-template-columns:repeat(2,1fr);gap:26px 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}html{scroll-behavior:auto}}

/* LOGIN / REGISTER POPUP on the homepage */
body.home .auth-modal-overlay{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:rgba(6,13,36,.65)}
body.home .auth-modal-box{border-radius:26px;box-shadow:0 40px 90px rgba(0,0,0,.5);animation:pop .45s cubic-bezier(.2,.8,.2,1) both;overflow:hidden}
body.home .auth-modal-box::before{content:"";position:absolute;top:0;left:0;right:0;height:5px;z-index:5;background:linear-gradient(90deg,var(--blue),var(--cyan),var(--amber),var(--blue));background-size:300% 100%;animation:shift 6s linear infinite}
@keyframes pop{from{opacity:0;transform:translateY(24px) scale(.95)}}
body.home .auth-modal-close{transition:transform .3s}body.home .auth-modal-close:hover{transform:rotate(90deg)}
body.home .auth-modal-box .form-group input{border-radius:12px;transition:border-color .2s,box-shadow .2s}
body.home .auth-modal-box .form-group input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(8,102,255,.15)}
body.home .auth-modal-box .login-btn,body.home .auth-modal-box .register-btn{border-radius:12px;background:linear-gradient(135deg,var(--blue),var(--cyan));box-shadow:0 12px 28px rgba(8,102,255,.4);transition:transform .25s,box-shadow .25s}
body.home .auth-modal-box .login-btn:hover,body.home .auth-modal-box .register-btn:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(8,102,255,.5)}
body.home .btn,body.home .view-course-btn,body.home .auth-modal-box button{position:relative;overflow:hidden}

/* ===== COURSE CARD: cover image on top half (admin uploads it) ===== */
body.home .course-card{padding:0;display:flex;flex-direction:column}
body.home .course-banner{position:relative;height:200px;overflow:hidden;
  background:linear-gradient(135deg,#0a1a4a,#0866ff 60%,#12c8ff)}
body.home .course-banner .banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .9s cubic-bezier(.2,.8,.2,1)}
body.home .course-card:hover .course-banner .banner-img{transform:scale(1.1)}
body.home .course-banner::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,13,36,.05) 40%,rgba(6,13,36,.6))}
body.home .course-banner .banner-emoji{display:none}
body.home .course-banner.no-img{background:
  radial-gradient(circle at 20% 20%,rgba(255,255,255,.18) 0 2px,transparent 3px) 0 0/26px 26px,
  linear-gradient(135deg,#0a1a4a,#0866ff 60%,#12c8ff)}
body.home .course-banner.no-img .banner-emoji{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;
  font-size:76px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.35));transition:transform .5s}
body.home .course-card:hover .course-banner.no-img .banner-emoji{transform:scale(1.15) rotate(-6deg)}
body.home .course-banner .mode-badge{position:absolute;top:14px;left:14px;z-index:2;padding:6px 12px;border-radius:99px;
  font-size:12px;font-weight:700;color:#fff;background:rgba(6,13,36,.5);border:1px solid rgba(255,255,255,.3);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
body.home .course-body{display:flex;flex-direction:column;flex:1;padding:22px 24px 26px}
body.home .course-body .course-info{margin-top:auto;padding-top:18px}
body.home .course-body .view-course-btn{margin-top:18px}
@media(max-width:600px){body.home .course-banner{height:180px}}

/* ===== COURSE SEARCH + LAZY LOADING ===== */
body.home .course-search{position:relative;max-width:560px;margin:0 auto 38px}
body.home .course-search .cs-icon{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:#5e6b85;pointer-events:none;transition:color .25s}
body.home .course-search input{width:100%;height:56px;padding:0 54px 0 52px;border:1.5px solid #dfe9fb;border-radius:99px;background:#fff;
  font:500 16px 'DM Sans',Arial,sans-serif;color:#060d24;box-shadow:0 10px 30px rgba(10,26,74,.08);outline:none;
  transition:border-color .25s,box-shadow .25s}
body.home .course-search input::placeholder{color:#8a96ad}
body.home .course-search input:focus{border-color:#0866ff;box-shadow:0 0 0 4px rgba(8,102,255,.15),0 10px 30px rgba(10,26,74,.1)}
body.home .course-search:focus-within .cs-icon{color:#0866ff}
body.home .course-search input::-webkit-search-cancel-button{display:none}
body.home .course-search .cs-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:none;border-radius:50%;
  background:#eef3fb;color:#0a1a4a;font-size:14px;line-height:1;cursor:pointer;transition:background .2s}
body.home .course-search .cs-clear:hover{background:#dbe7fb}
body.home .course-search .cs-clear[hidden]{display:none}

body.home .course-status{max-width:1240px;margin:30px auto 0;text-align:center;color:#5e6b85}
body.home .course-status:empty{margin:0}
body.home .course-status .no-home-batches{display:inline-block;padding:22px 30px;border-radius:18px;background:#f3f8ff;border:1px solid #dfe9fb;line-height:1.8}
body.home .course-status .cs-link{border:none;background:none;padding:0;font:inherit;font-weight:700;color:#0866ff;cursor:pointer;text-decoration:underline}
body.home .course-status .cs-end{display:inline-block;padding:8px 18px;border-radius:99px;background:#f3f8ff;border:1px solid #dfe9fb;font-size:14px;font-weight:500}
body.home .course-status .error-message{color:#991b1b}
.course-sentinel{height:1px}

/* skeleton cards shown while a batch is loading */
body.home .course-card.skeleton{pointer-events:none;box-shadow:none}
body.home .course-card.skeleton:hover{transform:none;box-shadow:none;border-color:#dfe9fb}
body.home .course-card.skeleton .course-banner{background:#e9eef8}
body.home .course-card.skeleton .course-banner::after{display:none}
body.home .course-card.skeleton .course-body{gap:12px}
.sk-line,.sk-btn,body.home .course-card.skeleton .course-banner{position:relative;overflow:hidden}
.sk-line{height:14px;border-radius:8px;background:#e9eef8}
.sk-line.w70{width:70%;height:18px}.sk-line.w50{width:50%}
.sk-btn{height:42px;width:140px;margin-top:10px;border-radius:12px;background:#e9eef8}
.sk-line::after,.sk-btn::after,body.home .course-card.skeleton .course-banner::before{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);transform:translateX(-100%);animation:skShimmer 1.3s infinite}
@keyframes skShimmer{to{transform:translateX(100%)}}

@media(max-width:600px){body.home .course-search{margin-bottom:28px}body.home .course-search input{height:52px}}

/* ===== UDEMY-STYLE COURSE CARD (compact: padded image, bold title, chips, price + button) ===== */
body.home .course-container{max-width:1240px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
body.home .course-container .course-card{padding:20px;border-radius:16px;border:1px solid #e1e5ea;background:#fff;box-shadow:none;
  transition:background .25s,border-color .25s,box-shadow .25s,transform .25s}
body.home .course-container .course-card::before{display:none}
body.home .course-container .course-card:hover{transform:translateY(-4px);background:#f7f9fa;border-color:#c9d3e3;box-shadow:0 14px 30px rgba(10,26,74,.1)}

/* image: rounded, 16:9, clean (no dark overlay) */
body.home .course-container .course-banner{height:auto;aspect-ratio:16/9;border-radius:10px;flex:none}
body.home .course-container .course-banner::after{display:none}
body.home .course-container .course-card:hover .course-banner .banner-img{transform:scale(1.05)}
body.home .course-container .course-banner.no-img .banner-emoji{font-size:58px}
body.home .course-container .course-banner .mode-badge{top:8px;left:8px;padding:5px 10px;border-radius:6px;border:none;
  background:#0866ff;color:#fff;font-size:12px;font-weight:700;backdrop-filter:none;-webkit-backdrop-filter:none}

/* text */
body.home .course-container .course-body{padding:0;margin-top:14px;flex:1;display:flex;flex-direction:column}
body.home .course-container .course-body h3{margin:0;font:700 19px/1.35 'DM Sans',Arial,sans-serif;color:#1c1d1f;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.home .course-container .course-body p.course-sub{margin:6px 0 0;min-height:0;font-size:13px;line-height:1.5;color:#6a6f73;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.home .course-container .course-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
body.home .course-container .course-tags .tag{padding:3px 8px;border:1px solid #d1d7dc;border-radius:4px;font-size:12px;line-height:1.4;color:#6a6f73;background:#fff}

/* bottom row: price left, outlined button right */
body.home .course-container .course-info{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:10px}
body.home .course-container .course-price{font:700 19px 'DM Sans',Arial,sans-serif;color:#1c1d1f}
body.home .course-container .course-body .view-course-btn{margin:0;padding:9px 16px;border:1px solid #0866ff;border-radius:8px;
  background:#fff;color:#0866ff;font:700 14px 'DM Sans',Arial,sans-serif;box-shadow:none;white-space:nowrap;transition:background .2s,color .2s}
body.home .course-container .course-body .view-course-btn:hover{background:#0866ff;color:#fff}

/* loading placeholders follow the same shape */
body.home .course-container .course-card.skeleton{background:#fff}
body.home .course-container .course-card.skeleton .course-body{gap:10px}
.sk-line.w40{width:40%;height:20px}
.sk-row{display:flex;align-items:center;justify-content:space-between;margin-top:14px}
.sk-row .sk-btn{margin:0;width:110px;height:38px}

@media(max-width:600px){body.home .course-container{grid-template-columns:1fr}body.home .course-container .course-banner{height:auto}}

/* ===== COURSES SECTION: compact heading + full-width search ===== */
body.home .internship-banner{margin-bottom:0}                       /* the section below sets the gap */
body.home .courses-section{padding-top:28px;padding-bottom:70px;scroll-margin-top:80px}
body.home .courses-title{max-width:1240px;margin:0 auto 16px;font:800 clamp(26px,3.4vw,34px)/1.2 'Sora','DM Sans',sans-serif;color:#060d24}
body.home .course-search{max-width:1240px;margin:0 auto 26px}       /* same width as the card grid */
body.home .course-search input{border-radius:14px;height:54px}
body.home .course-search .cs-clear{border-radius:10px}
@media(max-width:600px){body.home .courses-section{padding-top:20px}body.home .course-search{margin-bottom:20px}}

/* "Forgot password?" link in the login popup */
.auth-forgot{text-align:center;margin-top:12px;font-size:14px}
.auth-forgot a{color:#0866ff;font-weight:700;text-decoration:none}
.auth-forgot a:hover{text-decoration:underline}

/* ===== one vertical rhythm + one content width for every home section (no stray gaps / misaligned panels) ===== */
body.home{background:var(--mist)}
body.home .internship-banner,body.home .stats-section{width:min(1240px,90%);margin-left:auto;margin-right:auto}
body.home .internship-banner{margin-top:56px;margin-bottom:0}
body.home .courses-section{padding-top:72px;padding-bottom:72px}
body.home .stats-section{margin-top:0;margin-bottom:0}
body.home .stats-section+.why-section{margin-top:72px}
body.home .why-section{padding-top:88px;padding-bottom:88px}
body.home #contact{padding-bottom:48px}
body.home .map-section{padding-top:48px;padding-bottom:88px}
body.home .section-header,body.home .why-heading{margin-bottom:44px}
@media(max-width:700px){
  body.home .internship-banner{margin-top:36px}
  body.home .courses-section{padding-top:52px;padding-bottom:52px}
  body.home .stats-section+.why-section{margin-top:52px}
  body.home .why-section{padding-top:60px;padding-bottom:60px}
  body.home .map-section{padding-bottom:60px}
  body.home .section-header,body.home .why-heading{margin-bottom:30px}
}

/* Placement / About: heading + cards fill the same 1240px content width as everything else */
body.home .why-section{padding-left:max(5%,calc((100% - 1240px)/2));padding-right:max(5%,calc((100% - 1240px)/2));grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
body.home .why-cards{width:100%;max-width:none}
@media(max-width:1000px){body.home .why-section{grid-template-columns:1fr;gap:34px}}

/* Contact cards + map: same 1240px width as the rest of the page */
body.home #contact{padding-left:5%;padding-right:5%}
body.home #contact .why-cards{max-width:1240px}
body.home .map-container{max-width:1240px}
