:root{
  --eh-navy:    #070e1f;
  --eh-deep:    #0a1330;
  --eh-mid:     #101c3e;
  --eh-gold:    #d6ad60;
  --eh-teal:    #18b3a6;
  --eh-bg:      #f6f7fb;
  --eh-card:    #ffffff;
  --eh-text:    #0f1a35;
  --eh-sub:     #4b5876;
  --eh-border:  #b9b9bb;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Inter","Segoe UI",Arial,sans-serif;
  background:var(--eh-bg);
  color:var(--eh-sub);
  overflow-x:hidden;
}

.container{
  max-width:1300px;
  margin:0 auto;
  padding:0 24px;
}

/* =========================================================
HERO
========================================================= */

.form-hero{
  position:relative;
  padding:120px 24px 150px;
  text-align:center;
  color:#fff;
  background:var(--eh-navy);
  overflow:hidden;
}

.form-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 18%, rgba(214,173,96,.30), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(24,179,166,.22), transparent 38%),
    linear-gradient(135deg,var(--eh-deep),var(--eh-mid) 65%,#152a52);
}

.form-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:54px 54px;
  opacity:.6;
}
.header-main{
  display: flex;
  height: 100%;
  position: relative;
    max-width: 1300px;
  margin: 0 auto;
}
.header-main .menu{
  position: absolute;
  right: 20px;
  top: 15px;
  display: flex;
}
.header-main .menu .lang-switch {
  width: -moz-fit-content;
  width: fit-content;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}
.header-main .menu .lang-switch a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
.header-main .menu .lang-switch a img {
  width: 20px;
  height: 12px;
}

.hero-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(75px);
  pointer-events:none;
  z-index:1;
}

.orb-1{
  width:420px;
  height:420px;
  top:-140px;
  left:-120px;
  background:var(--eh-gold);
  opacity:.30;
  animation:floatOrb 9s ease-in-out infinite alternate;
}

.orb-2{
  width:360px;
  height:360px;
  bottom:-180px;
  right:-110px;
  background:var(--eh-teal);
  opacity:.28;
  animation:floatOrb 11s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb{
  from{ transform:translateY(0) scale(1); }
  to{ transform:translateY(-40px) scale(1.1); }
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width:1300px;
  margin:0 auto;
  opacity:0;
  transform:translateY(40px);
  animation:heroReveal 1s ease forwards .2s;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes heroReveal{
  to{ opacity:1; transform:translateY(0); }
}
.training-logo{
     max-width: 300px;
     margin-bottom: 2.5rem;
}
.training-logo img{
     width:100%;
}

.breadcrumbs {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 1rem 0 3rem 0;
  display: flex;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: .5rem;
  padding-left: .5rem;
  content: "/";
}
.breadcrumb-item::before {
  color: #19ada5 !important;
}

.breadcrumb-link {
  text-decoration: none;
  transition: all 0.3s ease;
  color: #19ada5;
  font-size: .9rem;
}
.breadcrumb-link::after {
  content: "";
  background: currentColor;
  width: 0;
  height: 1.5px;
  transition: width .35s;
  position: absolute;
  bottom: -5px;
  left: 0;
}
.breadcrumb-link:hover{
     text-decoration: underline;
}


.hero-label{
  display:inline-flex;
  align-items:center;
  gap:16px;
  margin-bottom:24px;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:3px;
  font-size:13px;
  color:var(--eh-gold);
}

.hero-label::before,
.hero-label::after{
  content:"";
  width:40px;
  height:1px;
  background:rgba(255,255,255,.35);
}

.hero-inner h1{
  font-size:clamp(32px,5.5vw,54px);
  line-height:1.12;
  letter-spacing:-0.03em;
  margin-bottom:18px;
}

.hero-inner h1 span{
  background:linear-gradient(135deg,var(--eh-gold),var(--eh-teal));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-inner p{
  font-size:clamp(15px,1.8vw,17px);
  line-height:1.85;
  color:rgba(255,255,255,.78);
}

/* =========================================================
FORM CARD
========================================================= */

.form-wrap{
  position:relative;
  z-index:3;
  margin-top:-90px;
  padding-bottom:120px;
}

.apply-card{
  position:relative;
  background:var(--eh-card);
  border:1px solid var(--eh-border);
  border-radius:28px;
  padding:clamp(26px,4vw,52px);
  box-shadow:0 30px 80px rgba(15,29,58,.16);
  overflow:hidden;

  opacity:0;
  transform:translateY(50px);
  animation:cardReveal .9s cubic-bezier(.2,.8,.2,1) forwards .35s;
}

@keyframes cardReveal{
  to{ opacity:1; transform:translateY(0); }
}

.apply-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg,var(--eh-gold),var(--eh-teal),transparent);
}

.apply-alert{
  display:none;
  margin-bottom:26px;
  padding:14px 18px;
  border-radius:14px;
  font-size:14.5px;
  font-weight:600;
  line-height:1.6;
}

.apply-alert.show{
  display:block;
  animation:alertPop .4s ease;
}

@keyframes alertPop{
  from{ opacity:0; transform:translateY(-8px); }
  to{ opacity:1; transform:translateY(0); }
}

.apply-alert.success{
  background:rgba(24,179,166,.12);
  color:#0d6e64;
  border:1px solid rgba(24,179,166,.3);
}

.apply-alert.error{
  background:rgba(214,80,80,.1);
  color:#a23a3a;
  border:1px solid rgba(214,80,80,.3);
}

.apply-block{
  margin-bottom:6rem;
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s ease, transform .7s ease;
}

.apply-block.show{
  opacity:1;
  transform:translateY(0);
}

.apply-block:nth-of-type(1){ transition-delay:.05s; }
.apply-block:nth-of-type(2){ transition-delay:.15s; }
.apply-block:nth-of-type(3){ transition-delay:.25s; }

.apply-block:last-of-type{
  margin-bottom:0;
}

.apply-block-head{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:26px;
}

.apply-block-num{
  width:38px;
  height:38px;
  flex:none;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:15px;
  color:var(--eh-navy);
  background:linear-gradient(135deg,var(--eh-gold),#ecd09a);
  box-shadow:0 10px 24px rgba(214,173,96,.35);
}

.apply-block-head h3{
  font-size:19px;
  letter-spacing:-0.02em;
  color:var(--eh-text);
}

.apply-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:3rem;
}

.apply-span2{
  grid-column:1 / -1;
}

.apply-field label{
  display:block;
  margin-bottom:9px;
  font-size:14px;
  font-weight:700;
  color:var(--eh-text);
}

.apply-field input[type="text"],
.apply-field input[type="email"],
.apply-field input[type="tel"],
.apply-field input[type="url"],
.apply-field select,
.apply-field textarea{
  width:100%;
  border:1px solid var(--eh-border);
  border-radius:14px;
  background:#fbfcfe;
  color:var(--eh-text);
  font-size:15px;
  font-family:inherit;
  padding:14px 16px;
  outline:none;
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.apply-field input[type="file"]{
  width:100%;
  font-size:14px;
  padding:11px;
  border:1px dashed var(--eh-border);
  border-radius:14px;
  background:#fbfcfe;
  cursor:pointer;
  transition:border-color .25s ease, background .25s ease;
}

.apply-field input[type="file"]:hover{
  border-color:var(--eh-teal);
  background:rgba(24,179,166,.04);
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus{
  border-color:var(--eh-teal);
  box-shadow:0 0 0 4px rgba(24,179,166,.12);
  transform:translateY(-2px);
}

.apply-field textarea{
  resize:vertical;
  line-height:1.7;
}

.apply-word-count{
  display:block;
  margin-top:6px;
  font-size:12.5px;
  color:var(--eh-sub);
}

.apply-word-count.over{
  color:#a23a3a;
  font-weight:700;
}

.apply-choice-row{
  display:flex;
  flex-wrap:wrap;
  gap:3rem;
}

.apply-radio,
.apply-check{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 18px;
  border-radius:999px;
  border:1px solid var(--eh-border);
  background:#fbfcfe;
  font-size:14px;
  font-weight:600;
  color:var(--eh-text);
  cursor:pointer;
  transition:.25s ease;
}

.apply-radio:hover,
.apply-check:hover{
  border-color:var(--eh-teal);
  transform:translateY(-2px);
}

.apply-radio input,
.apply-check input{
  accent-color:var(--eh-teal);
  width:16px;
  height:16px;
}

.apply-track-grid{
  display:grid;
  gap:14px;
}

.apply-track{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 20px;
  border-radius:16px;
  border:1px solid var(--eh-border);
  background:#fbfcfe;
  font-size:14.5px;
  font-weight:600;
  color:var(--eh-text);
  cursor:pointer;
  transition:.25s ease;
}

.apply-track:hover{
  border-color:var(--eh-teal);
  background:rgba(24,179,166,.05);
  transform:translateX(4px);
}

.apply-track input[type="checkbox"]{
  accent-color:var(--eh-teal);
  width:18px;
  height:18px;
  flex:none;
}

.apply-track-other{
  flex-wrap:wrap;
}

.apply-other-input{
  flex:1 1 220px;
  border:1px solid var(--eh-border);
  border-radius:10px;
  padding:9px 12px;
  font-size:14px;
  font-family:inherit;
  background:#fff;
  outline:none;
  transition:border-color .25s ease;
}

.apply-other-input:focus{
  border-color:var(--eh-teal);
}

.apply-other-input:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.apply-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px;
  margin-top:46px;
  padding-top:32px;
  border-top:1px solid var(--eh-border);
}

.apply-submit-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:none;
  padding:17px 36px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--eh-gold),#ecd09a);
  color:var(--eh-navy);
  font-weight:800;
  font-size:15px;
  letter-spacing:.02em;
  cursor:pointer;
  box-shadow:0 18px 46px rgba(214,173,96,.32);
  transition:.35s ease;
  overflow:hidden;
}

.apply-submit-btn::before{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-120%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
  transition:transform .55s ease;
}

.apply-submit-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 58px rgba(214,173,96,.42);
}

.apply-submit-btn:hover::before{
  transform:translateX(120%);
}

.apply-submit-btn:disabled{
  cursor:not-allowed;
  opacity:.7;
  transform:none;
}

.apply-submit-btn i{
  transition:.35s ease;
}

.apply-submit-btn:hover i{
  transform:translateX(4px);
}

.apply-submit-btn .spinner{
  width:15px;
  height:15px;
  border-radius:50%;
  border:2px solid rgba(7,14,31,.25);
  border-top-color:var(--eh-navy);
  display:none;
  animation:spin .7s linear infinite;
}

.apply-submit-btn.loading .spinner{
  display:inline-block;
}

.apply-submit-btn.loading i{
  display:none;
}

@keyframes spin{
  to{ transform:rotate(360deg); }
}

.apply-note{
  font-size:13.5px;
  color:var(--eh-sub);
}

.grecaptcha-badge{
  visibility:hidden;
}

/* =========================================================
RESPONSIVE
========================================================= */
@media(max-width:925px){
    .apply-choice-row{
     gap:1.5rem;
    }
}

@media(max-width:700px){

  .form-hero{
    padding:100px 20px 170px;
  }

  .hero-label::before,
  .hero-label::after{
    width:26px;
  }

  .form-wrap{
    margin-top:-120px;
  }

  .apply-grid{
    grid-template-columns:1fr;
  }

  .apply-actions{
    flex-direction:column;
    align-items:flex-start;
  }

}