@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

*{box-sizing:border-box;margin:0;padding:0}
:root{
  --green:#062b28;
  --gold:#c4923f;
  --gold2:#e3bf77;
  --cream:#f8f1e7;
  --soft:#fbfaf7;
  --border:#eadfce;
  --text:#182b29;
  --muted:#6f7774;
  --pink:#fff0f5;
  --blue:#eef8ff;
}
body{
  font-family:"Tajawal",Arial,sans-serif;
  direction:rtl;
  background:#fff;
  color:var(--text);
  line-height:1.75;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
.container{
  width:min(1160px,calc(100% - 34px));
  margin-inline:auto;
}

/* Header */
.topbar{
  height:72px;
  background:var(--green);
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  height:72px;
  display:flex;
  align-items:center;
  gap:24px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--gold2);
  min-width:140px;
}
.logo-mark{
  width:52px;
  height:42px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:var(--green);
  display:grid;
  place-items:center;
  font-size:26px;
  font-weight:900;
}
.logo strong{display:block;font-size:24px;line-height:1}
.logo span{display:block;font-size:9px;letter-spacing:2.4px;font-weight:900}
.menu{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:23px;
  color:white;
  font-size:15px;
  font-weight:800;
}
.menu a{
  height:72px;
  display:flex;
  align-items:center;
}
.menu a:hover{color:var(--gold2)}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#d9ad63,#bd8434);
  color:white;
  border-radius:8px;
  padding:10px 18px;
  font-weight:900;
}

/* Hero */
.apply-hero{
  background:var(--green);
  color:white;
  overflow:hidden;
}
.apply-hero .container{
  min-height:250px;
  display:grid;
  grid-template-columns:360px 1fr 260px;
  align-items:center;
  gap:32px;
}
.hero-img{
  height:250px;
  background:center/cover;
  clip-path:polygon(0 0,100% 0,78% 100%,0 100%);
  opacity:.92;
}
.apply-hero h1{
  color:var(--gold2);
  font-size:38px;
  line-height:1.25;
  margin-bottom:8px;
}
.apply-hero p{
  color:#edf4f1;
  max-width:650px;
}
.hero-meta{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:18px;
}
.hero-meta div{
  border-left:1px solid rgba(255,255,255,.14);
  padding:4px 10px;
  text-align:center;
  font-size:13px;
}
.hero-meta b{
  display:block;
  color:var(--gold2);
  font-size:20px;
}
.hero-box{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:22px;
  text-align:center;
}
.hero-box .big{
  font-size:42px;
  color:var(--gold2);
  display:block;
  margin-bottom:8px;
}

/* Main */
.apply-page{
  padding:28px 0 65px;
  background:#fff;
}
.apply-layout{
  display:grid;
  grid-template-columns:1fr 410px;
  gap:22px;
  align-items:start;
}
.left-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:20px;
  box-shadow:0 8px 22px rgba(0,0,0,.035);
}
.panel h3{
  color:var(--green);
  font-size:22px;
  margin-bottom:10px;
}
.panel p{color:var(--muted)}
.check{
  list-style:none;
}
.check li{
  padding:5px 0;
  color:#555;
  font-size:14px;
}
.check li:before{
  content:"✓";
  color:var(--gold);
  font-weight:900;
  margin-left:8px;
}
.job-table{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--border);
  border-right:1px solid var(--border);
  overflow:hidden;
  border-radius:10px;
}
.job-table div{
  padding:10px;
  border-left:1px solid var(--border);
  border-bottom:1px solid var(--border);
  font-size:14px;
}
.benefit-mini{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.benefit-mini div{
  background:var(--soft);
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px;
  text-align:center;
  font-weight:900;
  color:var(--green);
}
.steps{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-top:18px;
}
.steps div{
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  text-align:center;
  color:#555;
  font-weight:900;
}
.help{
  margin-top:18px;
  background:var(--green);
  color:white;
  border-radius:14px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
}
.help p{color:white}
.help .cta{padding:9px 16px}

/* Form */
.form-panel{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:20px;
  box-shadow:0 12px 32px rgba(0,0,0,.06);
  position:sticky;
  top:92px;
}
.form-panel h3{
  text-align:center;
  color:var(--green);
  font-size:24px;
}
.form-panel .hint{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin-bottom:14px;
}
.gender{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:12px;
}
.gender label{
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:9px;
  border:1px solid var(--border);
  font-weight:900;
}
.gender label:first-child{background:var(--blue);color:#26749a}
.gender label:last-child{background:var(--pink);color:#bb4774}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.form-panel input,
.form-panel select,
.form-panel textarea{
  width:100%;
  height:42px;
  border:1px solid var(--border);
  border-radius:9px;
  padding:0 10px;
  font-family:inherit;
  background:#fff;
}
.form-panel textarea{
  height:90px;
  padding-top:10px;
  resize:vertical;
}
.full{grid-column:1 / -1}
.upload{
  border:1px dashed #bbb;
  border-radius:10px;
  background:#fafafa;
  padding:14px;
  text-align:center;
  color:#777;
  margin:10px 0;
}
.agree{
  display:flex;
  gap:8px;
  font-size:13px;
  color:#666;
  margin:10px 0 14px;
}
.submit{
  width:100%;
  height:44px;
  border:0;
  border-radius:9px;
  background:var(--green);
  color:white;
  font-family:inherit;
  font-weight:900;
  cursor:pointer;
}

/* Footer */
footer{
  background:#031b19;
  color:#d7c7a5;
  padding:30px 0;
  font-weight:800;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:24px;
}
.footer-grid h3{color:var(--gold2);margin-bottom:8px}
.footer-grid p{color:#d7c7a5}
.footer-grid a{display:block;margin:5px 0;color:#d7c7a5}

@media(max-width:1050px){
  .menu{display:none}
  .nav{justify-content:space-between}
  .apply-hero .container,
  .apply-layout,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .hero-img{display:none}
  .apply-hero .container{padding:38px 0}
  .form-panel{position:static}
}
@media(max-width:760px){
  .left-grid,
  .form-grid,
  .hero-meta,
  .steps,
  .benefit-mini{
    grid-template-columns:1fr;
  }
  .apply-hero h1{font-size:30px}
  .help{flex-direction:column;align-items:flex-start}
}
