
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #1a8fd1; --blue-dark: #0e6fa3; --blue-light: #e8f5fd;
  --navy: #1a2332; --white: #ffffff; --bg: #f8faff;
  --border: #e4eaf2; --text: #1a2332; --muted: #637082; --light: #9aaab8;
  --green: #10b981; --red: #ef4444;
}
body { font-family: "Outfit", sans-serif; background: var(--bg); color: var(--text); font-size: 15px; }

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(26,143,209,0.07);
}
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-diamond {
  width: 40px; height: 40px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 800; flex-shrink: 0;
}
.logo-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.logo-name span { color: var(--blue); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color:#1E6FFF; }
.nav-cta {
  background: var(--blue); color: #fff;
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background 0.15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1rem 5%; z-index: 199; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu a.active { color: var(--blue); }
.mobile-menu a:last-child { border-bottom: none; }

.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-diamond { width: 40px; height: 40px; background: var(--blue); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.logo-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.logo-name span { color: var(--blue); }
.back-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 500; padding: 7px 15px; border: 1.5px solid var(--border); border-radius: 9px; background: var(--white); transition: all 0.15s; }
.back-btn:hover { border-color: var(--blue); color: var(--blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 5%; z-index: 199; box-shadow: 0 8px 24px rgba(0,0,0,0.08); flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); }

/* PAGE */
.page { max-width: 1100px; margin: 0 auto; padding: 1.75rem 5% 3rem; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: #1E6FFF; text-decoration: none; }

/* JOB BANNER */
.job-banner { background: var(--navy); border-radius: 18px; padding: 2.25rem; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.jb-orb1 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(26,143,209,0.1); top: -120px; right: -80px; pointer-events: none; }
.jb-orb2 { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(26,143,209,0.07); bottom: -60px; right: 140px; pointer-events: none; }
.jb-inner { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.jb-left { display: flex; gap: 1rem; align-items: flex-start; flex: 1; min-width: 0; }
.jb-icon { width: 56px; height: 56px; background: #FFF2BF; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.jb-title { font-size: clamp(1.2rem, 4vw, 1.6rem); font-weight: 800; color: #fff; margin-bottom: 5px;font-family: "PT Sans Caption", sans-serif; }
.jb-dept { font-size: 13px; color: #7aa8c5; margin-bottom: 12px; }
.jb-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.t-white { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.t-blue { background: var(--blue-light); color: var(--blue-dark); }
.t-green { background: #ecfdf5; color: #065f46; }
.t-amber { background: #fffbeb; color: #92400e; }
.t-loc { background: #f1f5f9; color: #475569; }
.jb-right { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; flex-shrink: 0; }
.salary-big { font-size: clamp(1.1rem, 3vw, 1.35rem); font-weight: 800; color: #fff; text-align: right; }
.salary-big small { font-size: 11px; font-weight: 400; color: #7aa8c5; display: block; }
.deadline { background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.35); color: #fca5a5; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }

/* LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 390px; gap: 1.5rem; align-items: start; }

/* INFO CARDS */
.info-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.25rem; }
.info-card:last-child { margin-bottom: 0; }
.card-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1.5px solid var(--border); }
.card-icon { width: 28px; height: 28px; background: var(--blue-light); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.body-text { font-size: 14px; line-height: 1.9; color: var(--muted); font-weight: 400; }
.check-list { list-style: none; padding: 0; }
.check-list li { font-size: 14px; line-height: 1.85; color: var(--muted); padding-left: 1.5rem; position: relative; margin-bottom: 3px; font-weight: 400; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color:#1E6FFF; font-weight: 700; }
.perks-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perk-item { background: var(--bg); border-radius: 10px; padding: 11px; display: flex; align-items: center; gap: 9px; }
.pi-ico { font-size: 18px; }
.pi-txt { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.4; }

/* APPLY FORM CARD */
.apply-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 18px; padding: 1.5rem; position: sticky; top: 84px; }
.form-head { text-align: center; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1.5px solid var(--border); }
.form-head h2 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.form-head p { font-size: 12px; color: var(--muted); }
.step-bar { display: flex; gap: 6px; margin-bottom: 6px; }
.step { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background 0.3s; }
.step.on { background:#1E6FFF; }
.step-lbl { font-size: 11px; color: var(--muted); font-weight: 600; text-align: center; margin-bottom: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.form-grp { margin-bottom: 0.9rem; }
.flabel { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.05em; }
.req { color: var(--red); }
.finput {
  width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 13px; font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white);
  outline: none; transition: border-color 0.15s;
}
.finput:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,143,209,0.09); }
.finput::placeholder { color: var(--light); }
.fselect { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2364748b' d='M5 7L0 2h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-color: var(--white); cursor: pointer; }
.two-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.upload-zone { border: 2px dashed var(--border); border-radius: 11px; padding: 1.1rem; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--bg); }
.upload-zone:hover { border-color: var(--blue); background: var(--blue-light); }
.upload-zone.has-file { border-color: var(--green); border-style: solid; background: #f0fdf4; }
.upload-zone.file-error { border-color: var(--red); border-style: solid; background: #f0fdf4; }
.up-icon { font-size: 26px; margin-bottom: 5px; }
.up-text { font-size: 13px; color: var(--muted); font-weight: 500; }
.up-hint { font-size: 11px; color: var(--light); margin-top: 3px; }
.btn-row { display: flex; gap: 8px; margin-top: 1.1rem; }
.btn-back { flex: 1; padding: 10px; border: 1.5px solid var(--border); border-radius: 9px; background: var(--white); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.15s; }
.btn-back:hover { border-color: var(--blue); color: var(--blue); }
.btn-next { flex: 2; padding: 10px; border: none; border-radius: 9px; background:#1E6FFF; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif; transition: background 0.15s; }
.btn-next:hover { background: var(--blue-dark); }
.btn-submit { width: 100%; padding: 12px; border: none; border-radius: 9px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif; margin-top: 1.1rem; transition: background 0.15s; }
.btn-submit:hover { background: #059669; }
.fstep { display: none; }
.fstep.on { display: block; }
.success { display: none; text-align: center; padding: 1rem 0; }
.success-ico { width: 66px; height: 66px; border-radius: 50%; background: #ecfdf5; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 1rem; }
.success h3 { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.success p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }
.success a { display: inline-block; background: var(--blue); color: #fff; padding: 9px 22px; border-radius: 9px; font-weight: 700; font-size: 13px; text-decoration: none; }
.share-strip { display: flex; gap: 8px; justify-content: center; border-top: 1.5px solid var(--border); padding-top: 1rem; margin-top: 1rem; }
.share-chip { background: var(--bg); border: 1.5px solid var(--border); border-radius: 9px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all 0.15s; }
.share-chip:hover { border-color: var(--blue); color: var(--blue); }

footer { background: var(--navy); color: #7aa8c5; text-align: center; padding: 1.25rem 5%; font-size: 13px; margin-top: 2.5rem; }
footer a { color: var(--blue); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .apply-card { position: static; }
}
@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .back-btn span { display: none; }
  .hamburger { display: flex; }
  .page { padding: 1.25rem 4% 2.5rem; }
  .jb-inner { flex-direction: column; }
  .jb-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .salary-big { text-align: left; }
  .perks-mini { grid-template-columns: 1fr; }
  .two-inputs { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 2.5rem 4% 2.5rem; }
  .hero-cards { display: none; }
  .hero-stats { gap: 1.5rem; }
  .stat .num { font-size: 1.5rem; }
  .filters-bar { padding: 0.75rem 4%; }
  .filters-inner { flex-direction: column; align-items: stretch; }
  .fselect { width: 100%; min-width: unset; }
  .result-count { margin-left: 0; text-align: center; }
  .main-wrap { padding: 1.5rem 4%; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .job-card { flex-wrap: wrap; padding: 1rem 1.1rem; gap: 1rem; }
  .job-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .salary { text-align: left; }
  .feat-badge { display: none; }
  .why-box { padding: 1.5rem; }
  .filters-bar{
    position: unset;
  }
}
@media (max-width: 480px) {
  .jb-icon { width: 46px; height: 46px; font-size: 20px; }
  .jb-title { font-size: 1.1rem; }
  .info-card { padding: 1.1rem; }
  .apply-card { padding: 1.1rem; }
  .job-banner { padding: 1.25rem; }
  .btn-row { flex-direction: column; }
  .btn-back, .btn-next { flex: none; width: 100%; }
}

#job_apply .error {
    color: red
}

#job_apply input.error{
    border: 1px solid red !important;
}