*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --navy:#1a2a6c;--navy2:#243580;--navy3:#2e4099;
  --gold:#f5a623;--gold2:#d98d10;
  --white:#fff;--off:#f4f5f9;--border:#e0e4ef;
  --dark:#1c1c2e;--muted:#5a6070;
  --green:#27ae60;--orange:#e67e22;--blue:#2980b9;
}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;background:var(--off);color:var(--dark);overflow-x:hidden}


/* ── HERO ── */
.hero {
  position: relative;
  min-height: 435px;
  padding: 70px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;

  background:
    linear-gradient(rgba(31, 73, 145, 0.82), rgba(31, 73, 145, 0.82)),
    url("../images/career/1ee8f981f84a2a2a777e8813d301646e463af85f.png") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero p {
  color: #fff;
  font-size: 22px;
  line-height: 1.55;
  max-width: 850px;
  margin-bottom: 24px;
}

.btn-notify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffaa16;
  color: #fff;
  padding: 16px 44px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

.hero-image-card {
  position: relative;
  z-index: 2;
  width: 335px;
  height: 335px;
  flex: 0 0 335px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 55px 30px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-image-card {
    width: 100%;
    max-width: 360px;
    height: 280px;
    flex: none;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .hero {
    padding: 45px 20px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p {
    font-size: 16px;
  }

  .btn-notify {
    padding: 14px 30px;
    font-size: 15px;
  }

  .hero-image-card {
    height: 230px;
  }
}

.btn{
  display:inline-flex;align-items:center;gap:.45rem;
  background:var(--gold);color:var(--navy);font-weight:700;font-size:.88rem;
  padding:.78rem 1.8rem;border-radius:50px;text-decoration:none;border:none;cursor:pointer;
  transition:background .2s,transform .2s,box-shadow .2s;
  box-shadow:0 4px 18px rgba(245,166,35,.35);
}
.btn:hover{background:var(--gold2);transform:translateY(-2px);box-shadow:0 8px 28px rgba(245,166,35,.45)}
.btn-ghost{
  display:inline-flex;align-items:center;gap:.45rem;
  background:transparent;color:#fff;font-weight:600;font-size:.88rem;
  padding:.76rem 1.8rem;border-radius:50px;text-decoration:none;
  border:2px solid rgba(255,255,255,.35);cursor:pointer;transition:all .2s;
}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.1)}

/* ── SECTION SHELL ── */
.section{padding:72px 5%}
.sec-title{text-align:center;margin-bottom:2.6rem}
.sec-title h2{font-family:'Bebas Neue',sans-serif;font-size:clamp(1.8rem,3.5vw,2.6rem);letter-spacing:.04em;color:var(--dark)}
.sec-title p{color:var(--muted);font-size:.92rem;margin-top:.4rem}

/* ── WHY JOIN CARDS ── */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.2rem;
  max-width:1080px;
  margin:0 auto;
}

.why-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:1.6rem;
  position:relative;
  overflow:hidden;
  min-height:190px;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  cursor:pointer;
}

/* Image only on hover */
.why-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:1.6rem;
  position:relative;
  overflow:hidden;
  min-height:190px;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  cursor:pointer;
}

/* Image hover effect from bottom-left to top-right */
.why-card::before{
  content:'';
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background-image:
    linear-gradient(rgba(26,42,108,.84), rgba(26,42,108,.84)),
    var(--card-img);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transform:translate(-100%, 100%);
  transition:transform .55s ease, opacity .35s ease;
  z-index:0;
}
.why-card:hover::before{
  opacity:1;
  transform:translate(0, 0);
}

/* Blue corner line */
.why-card::after{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:55px;
  height:22px;
  background:var(--navy);
  border-radius:0 13px 0 0;
  /*z-index:2;*/
  /*transition:width .45s ease, transform .45s ease;*/
  /*transform-origin:left bottom;*/
}

/* Hover */
.why-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 45px rgba(26,42,108,.22);
  border-color:rgba(26,42,108,.25);
}

/* Expands image overlay diagonally */
.why-card:hover::before{
  width:170%;
  height:170%;
  opacity:1;
}

/* Blue line extends toward top-right */
/*.why-card:hover::after{*/
/*  width:145%;*/
/*  transform:rotate(-28deg);*/
/*}*/

.why-icon,
.why-card h3,
.why-card p{
  position:relative;
  z-index:3;
}

.why-icon{
  width:44px;
  height:44px;
  background:rgba(26,42,108,.08);
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1rem;
  color:var(--navy);
  transition:.35s ease;
}

.why-card h3{
  font-size:1rem;
  font-weight:700;
  margin-bottom:.45rem;
  color:var(--dark);
  transition:.35s ease;
}

.why-card p{
  font-size:.83rem;
  color:var(--muted);
  line-height:1.6;
  transition:.35s ease;
}

.why-card:hover .why-icon{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.why-card:hover h3,
.why-card:hover p{
  color:#fff;
}

/* ── SEARCH / FILTER BAR ── */
.filter-bar{
  background:#f3f6fa;
  padding:72px 5%;
}

.filter-box{
  max-width:1430px;
  margin:0 auto;
  background:#f6f8fb;
  border:1px solid #dce5ef;
  border-radius:16px;
  padding:28px;
}

.filter-top{
  display:grid;
  grid-template-columns:1fr 168px 140px;
  gap:28px;
  align-items:center;
  margin-bottom:28px;
}

.search-wrap{
  position:relative;
}

.search-wrap svg{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  color:#737984;
}

.search-wrap input{
  width:100%;
  height:57px;
  border:1px solid #c2c8d1;
  border-radius:8px;
  background:#f8fafc;
  padding:0 18px 0 58px;
  font-size:20px;
  color:#333;
  outline:none;
  font-family:inherit;
}

.search-wrap input::placeholder{
  color:#737984;
}

.filter-select{
  height:57px;
  border:1px solid #c2c8d1;
  border-radius:8px;
  background:#f8fafc;
  padding:0 20px;
  font-size:18px;
  color:#222;
  outline:none;
  font-family:inherit;
  cursor:pointer;
}

.filter-btn{
  height:57px;
  border:none;
  border-radius:8px;
  background:#1f4f96;
  color:#fff;
  font-size:18px;
  font-weight:500;
  font-family:inherit;
  cursor:pointer;
}

.filter-btn:hover{
  background:#173f7a;
}

.filter-tags{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:10px;
}

.ftag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 28px;
  border-radius:50px;
  background:#e8ebee;
  color:#484b51;
  font-size:18px;
  font-weight:400;
  cursor:pointer;
  white-space:nowrap;
  border:none;
  transition:.25s ease;
}

.ftag.active,
.ftag:hover{
  background:#1f4f96;
  color:#fff;
}

/* Tablet */
@media(max-width:1200px){
  .filter-tags{
    flex-wrap:wrap;
  }
}

@media(max-width:991px){
  .filter-top{
    grid-template-columns:1fr;
    gap:15px;
  }

  .filter-tags{
    flex-wrap:wrap;
  }
}

/* Mobile */
@media(max-width:575px){
  .filter-bar{
    padding:40px 16px;
  }

  .filter-box{
    padding:18px;
  }

  .search-wrap input,
  .filter-select,
  .filter-btn{
    height:52px;
    font-size:15px;
  }

  .ftag{
    height:42px;
    padding:0 18px;
    font-size:14px;
  }
}

/* ── AVAILABLE POSITIONS ── */
.positions-section{padding:64px 5% 80px}
.positions-header{display:flex;align-items:center;justify-content:space-between;max-width:1080px;margin:0 auto 1.8rem}
.positions-header h2{font-family:'Bebas Neue',sans-serif;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:.04em}
.positions-header small{font-size:.82rem;color:var(--muted)}
.pos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;max-width:1080px;margin:0 auto}
.pos-card{
  background:#fff;border:1px solid var(--border);border-radius:14px;padding:1.5rem;
  display:flex;flex-direction:column;gap:.6rem;transition:transform .22s,box-shadow .22s;
}
.pos-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(26,42,108,.12)}
.pos-dept{display:flex;align-items:center;gap:.5rem;margin-bottom:.2rem}
.dept-dot{width:8px;height:8px;border-radius:50%;background:var(--navy);flex-shrink:0}
.dept-name{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.pos-title{font-size:1rem;font-weight:700;color:var(--dark);line-height:1.3}
.pos-desc{font-size:.82rem;color:var(--muted);line-height:1.55;flex:1}
.pos-meta{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.3rem}
.pmeta{font-size:.72rem;font-weight:600;padding:.22rem .65rem;border-radius:50px;display:flex;align-items:center;gap:.3rem}
.pmeta-exp{background:rgba(26,42,108,.08);color:var(--navy)}
.pmeta-type{background:rgba(39,174,96,.12);color:var(--green)}
.pmeta-loc{background:rgba(245,166,35,.15);color:#a06a0a}
.pos-footer{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem;padding-top:.8rem;border-top:1px solid var(--border)}
.pos-salary{font-size:.8rem;font-weight:700;color:var(--navy)}
.apply-btn{
  background:var(--navy);color:#fff;border:none;border-radius:6px;
  padding:.42rem 1.1rem;font-size:.78rem;font-weight:600;font-family:inherit;cursor:pointer;
  transition:background .18s;
}
.apply-btn:hover{background:var(--navy2)}
.show-more{text-align:center;margin-top:2rem}
.show-more a{color:var(--navy);font-weight:600;font-size:.88rem;text-decoration:none;display:inline-flex;align-items:center;gap:.35rem}
.show-more a:hover{color:var(--gold2)}

/* ── LIFE AT SALASAR ── */
.life-section{background:#fff;padding:72px 5%}
.life-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  grid-template-rows:auto auto;
  gap:1rem;max-width:1080px;margin:0 auto;
}
.life-img{border-radius:12px;overflow:hidden;background:#d0d5e8}
.life-img img{width:100%;height:100%;object-fit:cover;display:block}
.life-img.big{grid-row:1/3;min-height:340px}
.life-img.small{min-height:160px}
.life-img-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#c5cbe8,#a8b0d8)}
.life-img-ph svg{opacity:.35}

/* ── CORE VALUES ── */
.values-section{padding:72px 5%}
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;max-width:1080px;margin:0 auto}
.val-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:1.8rem 1.4rem;text-align:center;transition:transform .22s,box-shadow .22s}
.val-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(26,42,108,.12)}
.val-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:1.4rem}
.val-card h3{font-size:.95rem;font-weight:700;margin-bottom:.45rem}
.val-card p{font-size:.8rem;color:var(--muted);line-height:1.6}
.vi-blue{background:rgba(41,128,185,.12);color:var(--blue)}
.vi-green{background:rgba(39,174,96,.12);color:var(--green)}
.vi-navy{background:rgba(26,42,108,.1);color:var(--navy)}
.vi-rose{background:rgba(231,76,60,.1);color:#e74c3c}

/* ── BOTTOM CTA ── */
.bottom-cta{
  background:linear-gradient(120deg,var(--navy) 60%,var(--navy3) 100%);
  padding:72px 5%;text-align:center;position:relative;overflow:hidden;
}
.bottom-cta::before{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:22px 22px;pointer-events:none;
}
.bottom-cta h2{font-family:'Bebas Neue',sans-serif;font-size:clamp(1.8rem,3.5vw,2.8rem);color:#fff;letter-spacing:.05em;position:relative}
.bottom-cta p{color:rgba(255,255,255,.75);font-size:.92rem;margin:.7rem auto 2rem;max-width:440px;position:relative}
.cta-row{display:flex;justify-content:center;gap:.8rem;flex-wrap:wrap;position:relative}

/* FOOTER */
footer{background:#101828;color:rgba(255,255,255,.45);text-align:center;padding:1.4rem 5%;font-size:.78rem}
footer span{color:var(--gold)}

/* ANIM */
.anim{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
.anim.visible{opacity:1;transform:none}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .pos-grid{grid-template-columns:repeat(2,1fr)}
  .values-grid{grid-template-columns:repeat(2,1fr)}
  .life-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}
  .life-img.big{grid-column:1/3;grid-row:1;min-height:220px}
}
@media(max-width:680px){
  nav{padding:0 4%}
  .nav-links{display:none;flex-direction:column;position:absolute;top:58px;left:0;right:0;background:var(--navy);padding:1.4rem 1.6rem;border-top:1px solid rgba(255,255,255,.1);gap:1.1rem;list-style:none}
  .nav-links.open{display:flex}
  .hamburger{display:flex}
  .why-grid,.pos-grid,.values-grid{grid-template-columns:1fr}
  .life-grid{grid-template-columns:1fr}
  .life-img.big{grid-column:auto;min-height:200px}
  .life-img.small{min-height:150px}
  .positions-header{flex-direction:column;align-items:flex-start;gap:.4rem}
  .section,.positions-section,.life-section,.values-section,.bottom-cta{padding:52px 4%}
  .filter-bar{padding:1rem 4%}
}

.btn1-notify {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.92rem;
      padding: 0.85rem 2rem; border-radius: 50px; text-decoration: none; border: none; cursor: pointer;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 18px rgba(245,166,35,0.35);
    }
.btn1-notify:hover { background: #cb8e28d1; transform: translateY(-2px);  }


.job-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  padding:30px;
  z-index:9999;
}

.job-modal-overlay.active{
  display:flex;
}

.job-modal{
  width:100%;
  max-width:1050px;
  max-height:90vh;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  animation:modalZoom .25s ease;
}

@keyframes modalZoom{
  from{
    opacity:0;
    transform:scale(.94);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

.job-modal-body{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:55px;
  padding:34px;
  max-height:72vh;
  overflow-y:auto;
}

.job-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1f4f96;
  color:#fff;
  font-size:11px;
  font-weight:700;
  padding:4px 16px;
  border-radius:20px;
  margin-bottom:10px;
}

.job-header-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:25px;
}

.job-detail-left h2{
  font-size:28px;
  line-height:1.1;
  color:#1f4f96;
  margin:0 0 8px;
  font-weight:800;
}

.job-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  color:#50545b;
  font-size:13px;
  font-weight:600;
}

.job-meta span{
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.apply-now-btn{
  background:#ff6b1a;
  color:#fff;
  min-width:150px;
  height:46px;
  border-radius:5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:14px;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(255,107,26,.25);
}

.job-detail-left hr{
  border:none;
  border-top:1px solid #d8dce3;
  margin:18px 0;
}

.job-section{
  margin-bottom:28px;
}

.job-section h4{
  color:#111;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:14px;
}

.job-section p{
  color:#4d535c;
  font-size:14px;
  line-height:1.65;
  max-width:430px;
}

.job-list{
  list-style:none;
  padding:0;
  margin:0;
}

.job-list li{
  position:relative;
  padding-left:28px;
  margin-bottom:13px;
  color:#4d535c;
  font-size:14px;
  line-height:1.45;
}

.job-list li::before{
  content:'✓';
  position:absolute;
  left:0;
  top:1px;
  width:14px;
  height:14px;
  border:1.5px solid #ff6b1a;
  color:#ff6b1a;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:9px;
  font-weight:800;
}

.job-apply-card{
  background:#fff;
  border:1px solid #e1e7ef;
  border-radius:10px;
  padding:32px;
  box-shadow:0 14px 40px rgba(31,79,150,.08);
  align-self:start;
}

.job-apply-card h3{
  font-size:15px;
  font-weight:600;
  color:#111;
  margin-bottom:25px;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.form-group{
  margin-bottom:18px;
}

.form-group label{
  display:block;
  color:#525966;
  font-size:12px;
  font-weight:700;
  margin-bottom:8px;
}

.form-group input{
  width:100%;
  height:42px;
  border:1px solid #dfe5ee;
  border-radius:6px;
  padding:0 13px;
  font-size:13px;
  color:#333;
  outline:none;
  font-family:inherit;
}

.form-group input:focus{
  border-color:#1f4f96;
  box-shadow:0 0 0 3px rgba(31,79,150,.1);
}

.upload-box{
  min-height:78px;
  border:1.5px dashed #dbe3ee;
  border-radius:8px;
  background:#fbfcfe;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;
  color:#8491a4 !important;
}

.upload-box strong{
  color:#1f4f96;
  font-size:13px;
  margin-top:4px;
}

.upload-box span{
  color:#7d8795;
  font-size:12px;
  margin-top:3px;
}

.submit-application-btn{
  width:100%;
  height:44px;
  border:none;
  border-radius:6px;
  background:#1f4f96;
  color:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.job-modal-footer{
  height:60px;
  background:#e9eef3;
  border-top:1px solid #d6dce3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 34px;
}

.share-actions{
  display:flex;
  gap:8px;
}

.share-actions button{
  width:32px;
  height:32px;
  border:none;
  border-radius:4px;
  background:#1f4f96;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-weight:700;
}

.share-actions button:first-child{
  background:#dbe6f5;
  color:#1f4f96;
}

.close-modal-btn{
  width:78px;
  height:36px;
  border:1px solid #9aa3af;
  background:#eef2f6;
  border-radius:6px;
  color:#444;
  cursor:pointer;
}

/* Responsive */
@media(max-width:991px){
  .job-modal-body{
    grid-template-columns:1fr;
    gap:30px;
  }

  .job-header-row{
    flex-direction:column;
  }

  .apply-now-btn{
    min-width:140px;
  }
}

@media(max-width:575px){
  .job-modal-overlay{
    padding:12px;
  }

  .job-modal-body{
    padding:22px;
  }

  .job-detail-left h2{
    font-size:24px;
  }

  .form-grid{
    grid-template-columns:1fr;
    gap:0;
  }

  .job-apply-card{
    padding:22px;
  }

  .job-modal-footer{
    padding:0 18px;
  }
}