:root {
  --orange: #ff4b1f;
  --orange-light: #ffe3db;
  --orange-mid: #ff8a66;
  --orange-dark: #cc3c18;
  --black:#1a1a1a; --dark:#2d2d2d; --white:#ffffff; --off-white:#fdf6fb;
  --gray:#6b6b6b; --gray-light:#f4f0f3; --border:#e8d0e4;
  --green:#2eb87a; --blue:#84aadf; --amber:#f59e0b; --teal:#0d9488;
}

body.popup-open {
  overflow: hidden;
  height: 100%;
}

body.popup-open #page:not(.vertical-header) #site-header {
  z-index: 1 !important;
}

ul.leftstick .mainlifirst, ul.leftstick .mainlisecond, ul.leftstick .mainlimiddle {
    font-family: Moretregular;
    font-weight: 500;
    font-style: Regular;
    font-size: 50px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 1%;
    color: #202322;
} 
ul.leftstick li a {
    font-family: Moretregular;
    font-weight: 500;
    font-style: Regular;
    font-size: 30px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 1%;
    color: #202322;
}
ul.leftstick li {
    padding: 12px 0px;
}
ul.leftstick {
    list-style: none;
    padding-left: 0;
}
ul.innerleftstick {
    list-style-type: upper-roman;
    color: #202322;
    font-family: Moretregular;
    font-weight: 500;
    font-style: Regular;
    font-size: 22px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 4%;
}


/* Hide submenus by default */
.innerleftstick {
  display: none;
  margin-top: 10px;
}

/* Show active opened menu */
.innerleftstick.open {
  display: block;
}

.jobs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:3.5rem}
@media(max-width:720px){.jobs-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.jobs-grid{grid-template-columns:1fr}}

.job-card{background:var(--white);border:1.5px solid var(--border);border-radius:14px;padding:1.4rem;display:flex;flex-direction:column;gap:3px;cursor:pointer;transition:all .25s;position:relative;overflow:hidden;animation:cardIn .4s ease both}
.job-card:nth-child(1){animation-delay:.05s}
.job-card:nth-child(2){animation-delay:.1s}
.job-card:nth-child(3){animation-delay:.15s}

.job-card:hover{border-color:var(--orange-mid);box-shadow:0 10px 36px rgba(255,75,31,.15);transform:translateY(-3px)}

.save-btn{width:30px;height:30px;border-radius:7px;border:1.5px solid var(--border);background:transparent;display:flex;align-items:center;justify-content:center;color:var(--gray);cursor:pointer;transition:all .2s;font-size:.85rem}
.save-btn:hover,.save-btn.saved{border-color:var(--orange);color:var(--orange);background:var(--orange-light)}

.job-title-text{font-family:'Figtree';font-size:1.8rem;font-weight:700;color:var(--black);line-height:1.25;margin-bottom:.2rem}
.job-company{font-size:.78rem;color:var(--orange);font-weight:600}

.job-loc{font-size:1.3rem;color:var(--gray);display:flex;align-items:center;gap:.3rem;margin-top:.15rem}
.job-desc{
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 2px;
}
.salary{font-size:1.3rem;font-weight:500;color:var(--dark)}
.salary span{color:var(--orange)}

.badges{display:flex;flex-wrap:wrap;gap:.55rem}
.badge{display:inline-flex;align-items:center;font-size:1.2rem !important;font-weight:600;padding:3px 5px;border-radius:6px;letter-spacing:.02em}

.b-green{border:1.5px solid var(--green);color:var(--green);background:rgba(46,184,122,.07)}
.b-orange{border:1.5px solid var(--orange);color:var(--orange);background:rgba(255,75,31,.07)}
/*.b-gray{border:1.5px solid #ccc;color:var(--gray);background:var(--gray-light)}*/
.b-blue{border:1.5px solid var(--blue);color:var(--blue);background:rgba(59,130,246,.07)}

.card-foot{display:flex;align-items:center;justify-content:space-between;padding-top:.8rem;border-top:1px solid var(--border);margin-top:auto}

.posted{font-size:1.2rem;color:var(--gray)}
.posted.new-post{color:var(--green);font-weight:600}

.btn-view{display:inline-flex;align-items:center;gap:.35rem;background:var(--black);color:var(--white);border:none;border-radius:7px;padding:.48rem 2rem;font-family:'Figtree';font-size:1.5rem;font-weight:600;cursor:pointer;transition:all .2s}
.btn-view:hover{background:var(--orange)}

#load-more-jobs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 0px;
  border-radius: 10px;
  width: 100%;
  max-width: 820px;
}

.desc-area {
  height: 100%;
  padding: 10px 20px 20px 20px;
}

/* Only description scrolls */
.scrollable-desc {
  max-height: 250px; /* adjust as needed */
  overflow-y: auto;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


/* Close */
.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1rem;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.close:hover{border-color:var(--orange);color:var(--orange);transform:rotate(90deg)}

/* ─── POPUP HERO BAND ─────────────────────────────────────────── */
.popup-hero{
  padding: 20px 20px 0px 20px;
  position:relative;overflow:hidden;flex-shrink:0;
}


.popup-hero-inner{position:relative;z-index:1;display:flex;align-items:flex-end;gap:1.5rem;flex-wrap:wrap}
.popup-hero-text{flex:1}
.popup-type-pill{
  display:inline-flex;align-items:center;gap:.4rem;
  background:rgba(233,30,140,.2);color:var(--pink);
  font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:.28rem .85rem;border-radius:20px;margin-bottom:.6rem;
  border:1px solid rgba(233,30,140,.3);
}
.popup-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.3rem,3vw,1.85rem);
  font-weight:900;color:var(--white);line-height:1.15;margin-bottom:.35rem;
}
.popup-company{font-size:.85rem;color:var(--pink-mid);font-weight:600}
.popup-hero-badges{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.8rem}
.popup-badge{
  display:inline-flex;align-items:center;gap:.3rem;
  font-size:.7rem;font-weight:600;padding:.28rem .75rem;border-radius:20px;
}

/* Arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--orange);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.nav.prev { left: -40px; }
.nav.next { right: -40px; }


#job-apply-popup {
    backdrop-filter: blur(5px);
}

.popup-hero-inner-apply{
    text-align: center;
    margin-bottom: 10px;
}

/* ════════════════════════════════════════
   FORM
════════════════════════════════════════ */
.form-area{padding: 20px;}
.jap-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.jap-full{grid-column:1/-1}
@media(max-width:520px){.jap-form-grid{grid-template-columns:1fr}}
 
.jap-group{display:flex;flex-direction:column;gap:.35rem}
.jap-group label{font-size:1.4rem;font-weight:700;color:#1a1a1a}
.req{color:#ff4b1f}
 
.jap-group input{
  border:1.5px solid #e5e5e5;border-radius:10px;
  padding:.6rem .95rem;font-family:inherit;font-size:1.4rem;
  color:#1a1a1a;background:#fff;outline:none;
  transition:border-color .2s,box-shadow .2s;width:100%;
}
.jap-group input:focus,
.jap-group textarea:focus{
  border-color:#ff4b1f;
  box-shadow:0 0 0 3px rgba(255,75,31,.1);
}
.jap-group textarea{resize:vertical;min-height:100px}
.jap-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    margin-bottom: 10px;
}
 
/* file zone */
.jap-file-zone{
  border:2px dashed #ddd;border-radius:12px;padding:1.25rem 1rem;
  text-align:center;cursor:pointer;transition:all .2s;background:#fafafa;
  display:flex;flex-direction:column;align-items:center;gap:.3rem;
}
.jap-file-zone:hover,.jap-file-zone.drag-over{border-color:#ff4b1f;background:#fff5f3}
.jap-file-zone.has-file{border-color:#2eb87a;border-style:solid;background:rgba(46,184,122,.04)}
.jap-file-zone input[type=file]{display:none}
.jap-file-zone .fi{font-size:1.5rem}
.jap-file-zone .fl{font-size:1.2rem;color:#666;font-weight:500}
.jap-file-zone .fl u{color:#ff4b1f;cursor:pointer}
.jap-file-zone small{font-size:1rem;color:#aaa}
 
/* status message */
.jap-msg{border-radius:10px;padding:.75rem 1rem;font-size:1.2rem;font-weight:600;margin-bottom:.75rem;display:none}
.jap-msg.success{background:rgba(46,184,122,.08);border:1.5px solid rgba(46,184,122,.35);color:#065f46}
.jap-msg.error  {background:rgba(255,75,31,.06); border:1.5px solid rgba(255,75,31,.3); color:#9b2c2c}
 
/* cancel btn */
.jap-cancel-btn{
  background:transparent;border:1.5px solid #e5e5e5;border-radius:10px;
  padding:.65rem 1.4rem;font-family:inherit;font-size:1.4rem;
  font-weight:600;color:#666;cursor:pointer;transition:all .2s;
}
.jap-cancel-btn:hover{border-color:#ff4b1f;color:#ff4b1f}

/* ════════════════════════════════════════
   MODAL FOOTER
════════════════════════════════════════ */
.jap-footer{
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 2.25rem 1.5rem;
  border-top:1px solid #f0f0f0;background:#fafafa;flex-shrink:0;
}
.jap-counter{font-size:.8rem;color:#999;font-weight:500}
 
/* ── Primary CTA ── */
.jap-apply-btn{
  display:inline-flex;align-items:center;gap:.4rem;
  background:#ff4b1f;color:#fff;border:none;
  border-radius:10px;padding:.65rem 1.6rem;
  font-size:1.4rem;font-weight:700;cursor:pointer;
  transition:all .2s;box-shadow:0 4px 16px rgba(255,75,31,.35);letter-spacing:.01em;
}
.jap-apply-btn:hover{background:#cc3c18;transform:translateY(-1px);box-shadow:0 8px 22px rgba(255,75,31,.4)}
.jap-apply-btn .arr{transition:transform .2s}
.jap-apply-btn:hover .arr{transform:translateX(3px)}
 
/* submit loader */
#jap-submit .btn-loader{
  width:14px;height:14px;border-radius:50%;
  border:2px solid rgba(255,255,255,.4);border-top-color:#fff;
  animation:spin .6s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

#load-more-jobs:hover {
  background: var(--orange-dark);
}

#load-more-jobs .btn-loader {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

.popup-content {
  transition: all 0.3s ease;
}

.slide-left {
  animation: slideLeft 0.3s ease;
}

.slide-right {
  animation: slideRight 0.3s ease;
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@media only screen and (max-width:1700px)
{
ul.leftstick .mainlifirst, ul.leftstick .mainlisecond, ul.leftstick .mainlimiddle {
    font-size: 30px;
}	
/*.rightemp h3 {*/
/*    font-size: 24px;*/
/*}	*/
/*.rightemp a {*/
/*	font-size: 18px;*/
/*	}	*/
/*.rightone a {*/
/*    background: #F9A3E5;*/
/*    color: #202223;*/
/*}	*/
/*.imageonner h3 {*/
/*    font-size: 30px;*/
/*}*/
/*.rightone h3 {*/
/*    font-size: 30px;*/
/*}	*/
}