/*Place your CSS code here*/
/* ============================================================
   PULZE LMS - HOMEPAGE UI POLISH
   - HERO VIDEO (home-hero)
   - SIGN-IN CARD (#ef-login-index)
   - VIDEO WRAPPER EDGE-TO-EDGE (Site Builder custom block)
   NOTE: Paste ABOVE the "DO NOT ADD/EDIT" auto-generated section
   ============================================================ */


/* ------------------------------------------------------------
   0) Design tokens (easy edits)
   ------------------------------------------------------------ */
:root{
  --pulze-brand: #4C6BBE;
  --pulze-accent: #FF4081;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 14px;

  --shadow-hero: 0 28px 80px rgba(0,0,0,.28);
  --shadow-card: 0 28px 80px rgba(0,0,0,.14);
  --shadow-field: 0 10px 26px rgba(0,0,0,.06);
}


/* ============================================================
   1) HERO VIDEO BLOCK (section.home-hero)
   ============================================================ */

/* 1.1 Base container */
.home-hero{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /*min-height: 560px; /* cinematic */
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #070a12;
  box-shadow: var(--shadow-hero);
  border: 1px solid rgba(76,107,190,.18);
  isolation: isolate; /* keeps glow behind overlays */
}

/* 1.2 Video background */
.home-hero__media{
  position:absolute;
  inset:0;
  overflow:hidden;
  filter: saturate(1.05) contrast(1.05);
}

.home-hero__media iframe{
  position:absolute;
  top:50%;
  left:50%;
  width:125%;
  height:125%;
  transform:translate(-50%,-50%);
  border:0 !important;
  outline:none !important;
  box-shadow:none !important;
  pointer-events:none; /* set to auto if you want clickable video */
  border-radius: var(--radius-lg);
}

/* 1.3 Cinematic overlay for readability */
.home-hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 600px at 20% 70%, rgba(76,107,190,.35), transparent 60%),
    radial-gradient(700px 500px at 75% 30%, rgba(255,64,129,.22), transparent 55%),
    linear-gradient(90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.70) 100%);
  z-index: 1;
}

/* 1.4 Animated glow ring */
.home-hero__glow{
  position:absolute;
  inset:-40%;
  background: conic-gradient(
    from 180deg,
    rgba(76,107,190,0),
    rgba(76,107,190,.55),
    rgba(255,64,129,.35),
    rgba(76,107,190,0)
  );
  filter: blur(40px);
  opacity: .55;
  z-index: 0;
  animation: homeHeroSpin 10s linear infinite;
}
@keyframes homeHeroSpin{ to{ transform: rotate(360deg); } }

/* 1.5 Floating particles */
.home-hero__particles{
  position:absolute;
  inset:0;
  z-index: 2;
  pointer-events:none;
  opacity:.55;
}
.home-hero__particles span{
  position:absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  filter: blur(.2px);
  animation: homeHeroFloat 8s ease-in-out infinite;
}
.home-hero__particles span:nth-child(1){ left: 8%;  top: 18%; width: 8px;  height: 8px;  animation-duration: 7s; }
.home-hero__particles span:nth-child(2){ left: 22%; top: 62%; width: 12px; height: 12px; animation-duration: 9s; }
.home-hero__particles span:nth-child(3){ left: 45%; top: 28%; width: 6px;  height: 6px;  animation-duration: 6.5s;}
.home-hero__particles span:nth-child(4){ left: 70%; top: 20%; width: 9px;  height: 9px;  animation-duration: 10s; }
.home-hero__particles span:nth-child(5){ left: 82%; top: 58%; width: 7px;  height: 7px;  animation-duration: 8.5s;}
.home-hero__particles span:nth-child(6){ left: 60%; top: 75%; width: 11px; height: 11px; animation-duration: 9.5s;}
@keyframes homeHeroFloat{
  0%,100%{ transform: translateY(0) translateX(0); opacity:.35; }
  50%{ transform: translateY(-16px) translateX(10px); opacity:.8; }
}

/* 1.6 Content */
.home-hero__content{
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 56px 56px 44px;
  color: #fff;
}

.home-hero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
}
.home-hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pulze-brand);
  box-shadow: 0 0 0 6px rgba(76,107,190,.22);
}

.home-hero__content h1{
  margin:0 0 14px;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-shadow: 0 10px 35px rgba(0,0,0,.55);
}
.home-hero__content p{
  margin:0 0 22px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
  max-width: 560px;
}

/* 1.7 Buttons */
.home-hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.home-hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration:none !important;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, filter .15s ease;
}
.home-hero__btn--primary{
  background: linear-gradient(135deg, var(--pulze-brand) 0%, #6B8CFF 55%, var(--pulze-accent) 140%);
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(76,107,190,.30);
}
.home-hero__btn--ghost{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.94) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-hero__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0,0,0,.25);
  filter: brightness(1.03);
}

/* 1.8 Chips */
.home-hero__chips span{
  display:inline-block;
  padding: 8px 12px;
  margin-right: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 1.9 Responsive */
@media (max-width: 900px){
  .home-hero{ min-height: 340px; }
  .home-hero__content{ padding: 28px; }
  .home-hero__content h1{ font-size: 34px; }
}

/* 1.10 Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .home-hero__glow,
  .home-hero__particles span{
    animation: none !important;
  }
}


/* ============================================================
   2) SIGN-IN CARD (targets only #ef-login-index)
   ============================================================ */

#ef-login-index{
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  border: 1px solid rgba(76,107,190,.18) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) !important;
  box-shadow: var(--shadow-card) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}

/* 2.1 Subtle animated glow behind content */
#ef-login-index::before{
  content:"";
  position:absolute;
  inset:-60%;
  background: conic-gradient(
    from 180deg,
    rgba(76,107,190,0),
    rgba(76,107,190,.35),
    rgba(255,64,129,.22),
    rgba(76,107,190,0)
  );
  filter: blur(45px);
  opacity:.55;
  animation: loginGlowSpin 12s linear infinite;
  pointer-events:none;
}
@keyframes loginGlowSpin{ to{ transform: rotate(360deg); } }

/* 2.2 Inner padding for the form area */
#ef-login-index .ef-block-content{
  position: relative;
  z-index: 1;
  padding: 26px 24px 18px !important;
}

/* 2.3 Labels */
#ef-login-index label{
  font-weight: 800 !important;
  letter-spacing: .01em;
  color: rgba(18,23,38,.88) !important;
  margin-bottom: 8px !important;
}

/* 2.4 Default input styling (username etc.) */
#ef-login-index input.form-control{
  border-radius: var(--radius-sm) !important;
  border: 1px solid rgba(76,107,190,.18) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: var(--shadow-field) !important;
  padding: 12px 14px !important;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

#ef-login-index input.form-control:focus{
  border-color: rgba(76,107,190,.55) !important;
  box-shadow: 0 0 0 6px rgba(76,107,190,.18), 0 16px 35px rgba(0,0,0,.08) !important;
  transform: translateY(-1px);
}

/* 2.5 Password field = ONE pill (input + eye button merged) */
#ef-login-index .input-group{
  display: flex !important;
  align-items: stretch;
}

/* left side (password input) */
#ef-login-index .input-group .login_password{
  border-radius: 18px 0 0 18px !important;
  border-right: 0 !important;
}

/* right side (eye button) */
#ef-login-index .input-group .input-group-addon.eye-input-group{
  border-radius: 0 18px 18px 0 !important;
  border-left: 0 !important;
  margin-left: 0 !important; /* IMPORTANT: removes the “gap” */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px !important;
  cursor: pointer;
}

/* unify borders/background so it looks like one control */
#ef-login-index .input-group .login_password,
#ef-login-index .input-group .input-group-addon.eye-input-group{
  border: 1px solid rgba(76,107,190,.18) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: var(--shadow-field) !important;
}

/* one focus ring for the whole control */
#ef-login-index .input-group:focus-within{
  box-shadow: 0 0 0 6px rgba(76,107,190,.18), 0 16px 35px rgba(0,0,0,.08) !important;
  border-radius: 18px;
}

/* 2.6 Primary submit button */
#ef-login-index .btn.btn-primary.login_submit{
  width: 100%;
  border: 0 !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 14px !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pulze-brand) 0%, #6B8CFF 55%, var(--pulze-accent) 140%) !important;
  box-shadow: 0 18px 44px rgba(76,107,190,.28) !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
#ef-login-index .btn.btn-primary.login_submit:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 65px rgba(0,0,0,.20) !important;
  filter: brightness(1.03);
}
#ef-login-index .btn.btn-primary.login_submit:active{
  transform: translateY(0);
}

/* 2.7 Links */
#ef-login-index #forgot-passwd{
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  text-decoration: none !important;
  color: rgba(76,107,190,.92) !important;
}
#ef-login-index #forgot-passwd:hover{
  text-decoration: underline !important;
}

/* 2.8 Footer area (“Haven't you joined yet?”) */
#ef-login-index .ef-block-footer{
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(76,107,190,.12) !important;
  background: rgba(255,255,255,.72) !important;
  padding: 14px 18px !important;
}
#ef-login-index .ef-block-footer .sign-slogan{
  color: rgba(18,23,38,.78) !important;
  font-weight: 650;
}
#ef-login-index .ef-block-footer a{
  font-weight: 900;
  color: rgba(76,107,190,.98) !important;
  text-decoration: none !important;
}
#ef-login-index .ef-block-footer a:hover{
  text-decoration: underline !important;
}

/* 2.9 Error states */
#ef-login-index .has-error input.form-control{
  border-color: rgba(220,38,38,.55) !important;
  box-shadow: 0 0 0 6px rgba(220,38,38,.12) !important;
}

/* 2.10 Reduced motion */
@media (prefers-reduced-motion: reduce){
  #ef-login-index::before{ animation: none !important; }
}


/* ============================================================
   3) SITE BUILDER WRAPPER FIXES (remove padding/frame around hero)
   Uses :has() where supported; includes safe fallback.
   ============================================================ */

/* 3.1 Preferred (modern browsers): remove wrapper padding only when it contains home-hero */
.ef-custom-block:has(.home-hero){
  padding: 0 !important; /* overrides inline padding on ef-custom-block */
}
.ef-block-content:has(.home-hero){
  padding: 0 !important;
}
.ef-block:has(.home-hero){
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 3.2 Fallback (if :has() is not supported): keep it minimal and scoped */
.ef-custom-block .home-hero{
  margin: 0 !important;
}

/* ============================================================
   HEADER / NAVBAR POLISH (targets #ef-navbar)
   Goal: modern glass header that matches hero style
   ============================================================ */

/* 1) Navbar: glass + subtle gradient + shadow */
header#ef-navbar.navbar{
  background: linear-gradient(90deg, rgba(76,107,190,.92) 0%, rgba(107,140,255,.88) 55%, rgba(255,64,129,.22) 140%) !important;
  border-color: transparent !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Optional: if you want it “floating” with space below */
header#ef-navbar.navbar{
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

/* 2) Increase header height + align items nicely */
header#ef-navbar .container{
  display:flex !important;
  align-items:center !important;
  justify-content: space-between !important;
  min-height: 74px;
}

/* 3) Logo sizing + hover */
#ef-navbar #ef-logo .ef-navbar-logo img{
  height: 40px !important;
  width: auto !important;
  border-radius: 10px;
  transition: transform .15s ease, filter .15s ease;
}
#ef-navbar #ef-logo .ef-navbar-logo:hover img{
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* 4) Nav links (e.g., ALL COURSES) -> pill button style */
#ef-navbar #ef-navigation > li > a{
  color: rgba(255,255,255,.94) !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 10px 14px !important;

  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

/* Hover / focus */
#ef-navbar #ef-navigation > li > a:hover,
#ef-navbar #ef-navigation > li > a:focus{
  background: rgba(255,255,255,.16) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* 5) Tighten default navbar paddings */
#ef-navbar .navbar-header{
  padding: 10px 0 !important;
}
#ef-navbar .navbar-nav{
  margin: 0 !important;
}
#ef-navbar .navbar-nav > li{
  margin-left: 10px;
}

/* 6) Mobile safety (don’t overflow) */
@media (max-width: 900px){
  header#ef-navbar .container{ min-height: 64px; }
  #ef-navbar #ef-logo .ef-navbar-logo img{ height: 34px !important; }
  #ef-navbar #ef-navigation > li > a{ padding: 8px 12px !important; }
}

/* ============================================================
   HEADER ALIGNMENT FIX (centers logo + nav vertically)
   ============================================================ */

/* Make the navbar a flex row and truly center everything */
header#ef-navbar{
  display: flex !important;
  align-items: center !important;
}

/* Ensure the inner container is a flex row too */
header#ef-navbar > .container{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 74px !important;       /* match your intended header height */
  min-height: 74px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove default Bootstrap vertical padding that causes “drop” */
#ef-navbar .navbar-header,
#ef-navbar #userNavBar,
#ef-navbar #searchInputContainer,
#ef-navbar .navbar-collapse{
  display: flex !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Fix logo baseline/line-height issues */
#ef-navbar .navbar-brand{
  display: flex !important;
  align-items: center !important;
  height: 74px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Fix UL and LI vertical alignment */
#ef-navbar #ef-navigation{
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

#ef-navbar #ef-navigation > li:not(.hidden){
  display: flex !important;
  align-items: center !important;
}

/* Hide the whole nav item that contains the chain icon */
#ef-navbar #ef-navigation > li:has(i.fa.fa-link){
  display: none !important;
}

/* Ensure the ALL COURSES pill sits centered */
#ef-navbar #ef-navigation > li > a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* Optional: slightly lower the logo if you want perfect optical balance */
#ef-navbar #ef-logo img{
  transform: translateY(0px); /* try 1px if needed */
}


/* ============================================================
   SIGN-UP BUTTON (Scoped ONLY to signup form)
   ============================================================ */

#signup_register_personal_form input[type="submit"][name="submit_register"]{

  background: linear-gradient(
    135deg,
    #4C6BBE 0%,
    #6B8CFF 55%,
    #FF4081 140%
  ) !important;

  border: none !important;
  border-radius: 16px !important;

  padding: 12px 22px !important;
  min-width: 220px !important;

  font-weight: 900 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;

  color: #fff !important;

  box-shadow: 0 18px 44px rgba(76,107,190,.28) !important;

  transition: transform .18s ease,
              box-shadow .18s ease,
              filter .18s ease !important;

  cursor: pointer !important;
}

/* Hover */
#signup_register_personal_form input[type="submit"][name="submit_register"]:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 26px 65px rgba(0,0,0,.20) !important;
  filter: brightness(1.03) !important;
}

/* Active */
#signup_register_personal_form input[type="submit"][name="submit_register"]:active{
  transform: translateY(0) !important;
}

/* ============================================================
   FORGOT PASSWORD: SEND BUTTON (scoped to #initiate_password_form)
   ============================================================ */

#initiate_password_form input[type="submit"][name="submit"]{
  background: linear-gradient(
    135deg,
    #4C6BBE 0%,
    #6B8CFF 55%,
    #FF4081 140%
  ) !important;

  border: none !important;
  border-radius: 16px !important;

  padding: 12px 22px !important;
  min-width: 180px !important;

  font-weight: 900 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;

  color: #fff !important;

  box-shadow: 0 18px 44px rgba(76,107,190,.28) !important;

  transition: transform .18s ease,
              box-shadow .18s ease,
              filter .18s ease !important;

  cursor: pointer !important;
}

/* Hover */
#initiate_password_form input[type="submit"][name="submit"]:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 26px 65px rgba(0,0,0,.20) !important;
  filter: brightness(1.03) !important;
}

/* Active */
#initiate_password_form input[type="submit"][name="submit"]:active{
  transform: translateY(0) !important;
}

/* Disabled (when sending) */
#initiate_password_form input[type="submit"][name="submit"]:disabled{
  opacity: .7 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* DO NOT ADD/EDIT AFTER THIS LINE */
#ef-navbar, #ef-navbar li a.dropdown-toggle[aria-expanded="true"]{background-color:#4C6BBE;border-color:#4C6BBE;}
html.new-ui-html:root{--c-brand-primary:#4c6bbe;--c-brand-primary-darken-5:#4766b9;--c-brand-primary-darken-7:#4564b7;--c-brand-primary-darken-10:#4261b4;--c-brand-primary-darken-15:#3d5caf;--c-brand-primary-darken-17:#3b5aad;--c-brand-primary-darken-20:#3857aa;--c-brand-primary-darken-25:#3352a5;--c-brand-primary-lighten-7:#5372c5;--c-brand-primary-lighten-40:#7493e6;}
html,body, body.new-ui.learner-user .ef-block, body.new-ui.learner-user #talentCraft-unit-footer, .ef-bg-color{background-color:#FFFFFF;}
div.breadcrumb-x{background-color:#FFFFFF;border-color:#FFFFFF;}
div.ef-block, div.dashboard-panel div.panel-body, body.new-ui, body.new-ui.learner-user{background-color:#FFFFFF;--c-site-primary:#FFFFFF;}
