/* ==========================================================================
   SkillSets Online — shared base + site header/footer styles.
   Loaded on every page via <link rel="stylesheet" href="assets/css/shared.css">.
   Do not duplicate these rules in a page's own <style> block — edit here once,
   it applies everywhere. Page-specific styles stay in that page's own <style>.
   ========================================================================== */

:root{
  --bg:#06070b;
  --bg-alt:#0a0c13;
  --red:#ff1b2d;
  --red-dark:#a80f1c;
  --red-glow:rgba(255,27,45,.55);
  --white:#f5f6fa;
  --muted:#9096a8;
  --muted-2:#6b7280;
  --card-bg:rgba(255,255,255,.045);
  --card-border:rgba(255,255,255,.10);
  --line:rgba(255,255,255,.08);
  --display:'Rajdhani', sans-serif;
  --body:'Inter', sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
  background:var(--bg);
  color:var(--white);
  font-family:var(--body);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button,input{font:inherit;}
.container{max-width:1440px;margin:0 auto;padding:0 48px;}
::selection{background:var(--red);color:#fff;}
@media (max-width:760px){
  .container{padding:0 28px;}
}
@media (max-width:640px){
  .container{padding:0 20px;}
}
@media (max-width:430px){
  .container{padding:0 16px;}
}

/* ---------- Ambient background ---------- */
.noise-grid{
  position:fixed;inset:0;pointer-events:none;z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

/* ---------- Site header (see header.html for the markup this styles) ---------- */
header.navbar{
  position:sticky;top:0;z-index:100;
  background:#000;
}
.navbar-inner{display:flex;align-items:center;justify-content:space-between;height:84px;}
.brand{display:flex;align-items:center;gap:12px;}
.brand svg{width:42px;height:42px;filter:drop-shadow(0 0 10px var(--red-glow));}
.brand-text{font-family:var(--display);line-height:1;}
.brand-text .t1{display:block;font-weight:700;font-size:20px;letter-spacing:.5px;color:var(--white);}
.brand-text .t2{display:block;font-weight:600;font-size:11px;letter-spacing:4px;color:var(--red);margin-top:2px;}

nav.main-nav{display:flex;align-items:center;gap:36px;}
.nav-link{
  display:flex;align-items:center;gap:8px;
  font-size:14.5px;font-weight:500;color:#dfe1e8;
  position:relative;padding:6px 0;
  transition:color .25s ease;
}
.nav-link svg{width:17px;height:17px;stroke:var(--red);flex-shrink:0;}
.nav-link::after{
  content:'';position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--red);transition:width .3s ease;
}
.nav-link:hover{color:#fff;}
.nav-link:hover::after,.nav-link.active::after{width:100%;}

.nav-dropdown{position:relative;display:flex;align-items:center;}
.nav-dropdown-toggle{border:0;background:none;cursor:pointer;font-family:var(--body);}
.nav-dropdown-toggle .chevron{
  width:14px;height:14px;stroke:#aeb3c0;
  transition:transform .25s ease,stroke .25s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle{color:#fff;}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after{width:100%;}
.nav-dropdown:hover .chevron,
.nav-dropdown:focus-within .chevron{transform:rotate(180deg);stroke:var(--red);}

.dropdown-menu{
  position:absolute;top:calc(100% + 18px);left:50%;
  min-width:238px;padding:10px;
  background:rgba(9,10,16,.98);
  border:1px solid var(--card-border);border-radius:13px;
  box-shadow:0 18px 44px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(16px);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate(-50%,-8px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.course-menu-dropdown{min-width:290px;}
.dropdown-menu::before{content:'';position:absolute;left:0;right:0;top:-19px;height:19px;}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);
}
.dropdown-link{
  display:flex;align-items:center;gap:11px;padding:12px 13px;
  border-radius:9px;color:#dfe1e8;font-size:14px;font-weight:500;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.dropdown-link svg{width:17px;height:17px;stroke:var(--red);flex-shrink:0;}
.dropdown-link:hover,.dropdown-link:focus-visible,.dropdown-link.current{
  color:#fff;background:rgba(255,27,45,.11);transform:translateX(2px);
}

/* ---- nested flyout submenu (desktop) ---- */
.submenu-parent{position:relative;}
.dropdown-link.submenu-toggle{
  width:100%;border:0;background:none;cursor:pointer;text-align:left;font-family:var(--body);
  justify-content:space-between;
}
.submenu-chevron{width:14px;height:14px;stroke:#aeb3c0;flex-shrink:0;transition:transform .25s ease,stroke .25s ease;margin-left:8px;}
.submenu-parent:hover .submenu-chevron,
.submenu-parent:focus-within .submenu-chevron{transform:rotate(90deg);stroke:var(--red);}
.submenu-menu{
  position:absolute;top:-10px;left:calc(100% + 10px);
  min-width:300px;padding:10px;
  display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:2px;
  background:rgba(9,10,16,.98);
  border:1px solid var(--card-border);border-radius:13px;
  box-shadow:0 18px 44px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(16px);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate(-8px,0);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.submenu-menu::before{
  content:'';position:absolute;top:0;bottom:0;left:-10px;width:10px;
}
.submenu-parent:hover .submenu-menu,
.submenu-parent:focus-within .submenu-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(0,0);
}
.submenu-menu .dropdown-link{font-size:13.5px;padding:10px 11px;}
.submenu-menu .dropdown-link svg{width:15px;height:15px;}
.firstsub{
  min-width: 520px!important;
}

.nav-right{display:flex;align-items:center;gap:26px;}
.btn-demo:hover{color:#fff!important;}
.btn-demo{
  display:flex;align-items:center;gap:9px;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#fff;font-weight:600;font-size:14.5px;
  padding:12px 22px;border-radius:8px;
  box-shadow:0 4px 20px var(--red-glow);
  transition:transform .25s ease,box-shadow .25s ease;
  animation:navCtaPulse 2.6s ease-in-out infinite;
}
.btn-demo svg{width:16px;height:16px;}
.btn-demo:hover{transform:translateY(-2px);box-shadow:0 8px 28px var(--red-glow);animation-play-state:paused;}
.btn-demo .btn-demo-short{display:none;}
@keyframes navCtaPulse{
  0%,100%{box-shadow:0 4px 20px var(--red-glow);}
  50%{box-shadow:0 4px 30px rgba(255,27,45,.9);}
}

/* ---------- Subtle attention pulse on the "2026 Course Menu" nav item ----------
   Guides new visitors: Samples -> Course Menu on first landing. Scoped to this
   one dropdown (not "2026 IT Labs Menu") via .course-menu-toggle. */
.course-menu-toggle svg{animation:courseMenuPulse 2.6s ease-in-out infinite;}
.course-menu-toggle:hover svg,
.course-menu-toggle:focus-within svg{animation-play-state:paused;}
@keyframes courseMenuPulse{
  0%,100%{filter:drop-shadow(0 0 0 rgba(255,27,45,0));}
  50%{filter:drop-shadow(0 0 6px var(--red-glow));}
}

.hamburger{
  display:none;flex-direction:column;justify-content:center;align-items:flex-end;gap:6px;
  width:36px;height:36px;background:none;border:none;cursor:pointer;padding:0;z-index:210;position:relative;
}
.hamburger span{display:block;height:2px;background:#fff;border-radius:2px;transition:transform .32s ease,opacity .25s ease,width .25s ease;}
.hamburger span:nth-child(1){width:26px;}
.hamburger span:nth-child(2){width:20px;}
.hamburger span:nth-child(3){width:26px;}
.hamburger:hover span{width:26px;}
.hamburger.open span:nth-child(1){transform:translateY(8px) rotate(45deg);width:26px;}
.hamburger.open span:nth-child(2){opacity:0;transform:translateX(10px);}
.hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg);width:26px;}

.mobile-nav{
  position:fixed;top:0;right:0;bottom:0;width:min(78%,340px);
  background:rgba(8,9,14,.98);backdrop-filter:blur(16px);border-left:1px solid var(--line);
  transform:translateX(100%);transition:transform .38s cubic-bezier(.4,0,.2,1);z-index:200;
  overflow-y:auto;box-shadow:-10px 0 40px rgba(0,0,0,.5);
}
.mobile-nav.open{transform:translateX(0);}
.mobile-nav-brand{
  display:flex;align-items:center;padding:20px 26px;border-bottom:1px solid var(--line);
}
.mobile-nav-brand img{width:150px;display:block;}
.mobile-nav-list{display:flex;flex-direction:column;padding:12px 26px 32px;}
.mobile-nav-link{
  display:flex;align-items:center;gap:14px;font-size:16.5px;font-weight:500;color:#e7e9f0;
  padding:17px 2px;border-bottom:1px solid var(--line);
  opacity:0;transform:translateX(16px);transition:transform .2s ease,opacity .2s ease;
}
.mobile-nav-link svg{width:19px;height:19px;stroke:var(--red);flex-shrink:0;}
.mobile-nav.open .mobile-nav-link{opacity:1;transform:translateX(0);}
.mobile-nav.open .mobile-nav-link:nth-child(1){transition-delay:.08s;}
.mobile-nav.open .mobile-nav-link:nth-child(2){transition-delay:.14s;}
.mobile-nav.open .mobile-nav-link:nth-child(3){transition-delay:.2s;}
.mobile-nav.open .mobile-nav-link:nth-child(4){transition-delay:.26s;}
.mobile-nav.open .mobile-nav-link:nth-child(5){transition-delay:.32s;}

.mobile-about-group{border-bottom:1px solid var(--line);}
.mobile-about-toggle{width:100%;border:0;background:none;cursor:pointer;text-align:left;border-bottom:0;font-family:var(--body);}
.mobile-about-toggle .mobile-chevron{
  width:17px;height:17px;margin-left:auto;stroke:#aeb3c0;
  transition:transform .25s ease,stroke .25s ease;
}
.mobile-about-toggle[aria-expanded="true"] .mobile-chevron{transform:rotate(180deg);stroke:var(--red);}
.mobile-subnav{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .3s ease,opacity .25s ease;}
.mobile-subnav.open{grid-template-rows:1fr;opacity:1;}
.mobile-subnav-inner{overflow:hidden;padding-left:33px;}
.mobile-subnav-link{
  display:flex;align-items:center;gap:10px;padding:12px 2px;
  color:#b9becb;font-size:14px;border-top:1px solid rgba(255,255,255,.055);
  transition:color .2s ease,padding-left .2s ease;
}
.mobile-subnav-link:first-child{border-top:0;}
.mobile-subnav-link svg{width:15px;height:15px;stroke:var(--red);flex-shrink:0;}
.mobile-subnav-link:hover,.mobile-subnav-link.current{color:#fff;padding-left:4px;}
.mobile-subnav-link.mobile-subnav-toggle{
  width:100%;border:0;background:none;cursor:pointer;text-align:left;font-family:var(--body);
  justify-content:space-between;
}
.mobile-subnav-nested .mobile-subnav-inner{padding-left:33px;}
.mobile-demo-btn{
  margin-top:22px;justify-content:center;border-bottom:none;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  border-radius:8px;color:#fff;font-weight:600;box-shadow:0 4px 20px var(--red-glow);
}
.mobile-nav-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.55);
  opacity:0;pointer-events:none;transition:opacity .3s ease;z-index:190;
}
.mobile-nav-overlay.open{opacity:1;pointer-events:auto;}

@media (max-width:860px){
  header.navbar .btn-demo{padding:6px 11px!important;}
  header.navbar nav.main-nav{display:none;}
  header.navbar .hamburger{display:flex;}
}
@media (max-width:640px){
  header.navbar .container{padding:0 20px!important;}
  header.navbar #logobrand{
    width: 140px!important;
  }
  header.navbar .btn-demo .btn-demo-full{display:none;}
  header.navbar .btn-demo .btn-demo-short{display:inline;}
}
@media (max-width:430px){
  header.navbar .container{padding:0 14px!important;}
  header.navbar #logobrand{width:155px!important;}
  header.navbar .brand-text .t1{font-size:18px;}
  header.navbar .nav-right{gap:8px!important;}
  header.navbar .btn-demo{padding:6px 9px!important;font-size:13px;}
  header.navbar .btn-demo svg{width:14px;height:14px;}
}

/* ---------- Site footer (see footer.html for the markup this styles) ---------- */
footer.site-footer{
  border-top:1px solid var(--line);
  background:#000;
  padding:56px 0 0;
  color:var(--muted,#9096a8);
  font-family:var(--body);
}
.footer-top{
  display:flex;flex-wrap:wrap;gap:48px;justify-content:space-between;
  padding-bottom:40px;border-bottom:1px solid var(--line);
}
.footer-brand{max-width:340px;}
.footer-brand img{width:170px;margin-bottom:14px;display:block;}
.footer-brand p{font-size:13.5px;line-height:1.7;color:var(--muted,#9096a8);}
.footer-col h4{
  font-family:var(--display);font-size:14px;font-weight:700;letter-spacing:.5px;
  color:var(--white);margin-bottom:16px;text-transform:uppercase;
}
.footer-col ul{display:flex;flex-direction:column;gap:11px;}
.footer-col li{font-size:13.5px;line-height:1.6;}
.footer-col a{font-size:13.5px;color:var(--muted,#9096a8);transition:color .2s ease;}
.footer-col a:hover{color:var(--white);}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;
  padding:22px 0;font-size:12.5px;
}
.footer-bottom a{color:var(--muted,#9096a8);}
.footer-bottom a:hover{color:var(--red);}
@media (max-width:760px){
  .footer-top{gap:32px;}
  footer.site-footer{padding-top:40px;}
  .footer-bottom{justify-content:center;text-align:center;}
}

/* ---------- Back to top button (see footer.html for the markup) ---------- */
.back-to-top{
  position:fixed;bottom:28px;right:28px;z-index:150;
  width:48px;height:48px;border-radius:50%;border:0;cursor:pointer;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 30px var(--red-glow);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .3s ease,visibility .3s ease,transform .3s ease,box-shadow .3s ease;
}
.back-to-top svg{width:20px;height:20px;stroke:#fff;}
.back-to-top.visible{opacity:1;visibility:visible;transform:translateY(0);}
.back-to-top:hover{transform:translateY(-4px);box-shadow:0 14px 38px var(--red-glow);}
@media (max-width:640px){
  .back-to-top{width:42px;height:42px;bottom:18px;right:18px;}
  .back-to-top svg{width:18px;height:18px;}
}
