*{box-sizing:border-box}body{margin:0;background:#f6f9f8;color:#183247;font:17px/1.8 Arial,sans-serif}header,main,footer{width:min(1000px,92%);margin:auto}header{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid #dce7e2}a{color:#087f5b;text-decoration:none;font-weight:bold}.brand{font-size:23px;color:#183247}.brand span,small{color:#087f5b}nav{display:flex;gap:20px}.hero{margin:30px 0;padding:35px;border-radius:18px;background:#e8f4ef}.hero h1{font-size:36px;margin:5px 0}.hero p{color:#60717c}input,textarea,select{width:100%;padding:12px;border:1px solid #ccd9d4;border-radius:9px;font:inherit;margin:5px 0 14px}button{background:#087f5b;color:white;border:0;border-radius:9px;padding:12px 22px;font:inherit;cursor:pointer}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.card,form,#detail{background:white;padding:20px;border:1px solid #e0e8e4;border-radius:14px;margin:15px 0}.muted{color:#687985}.warning{background:#fff4dc;padding:12px;border-radius:9px}label{display:block;font-weight:bold}footer{padding:25px 0;color:#687985}@media(max-width:600px){.hero{padding:22px}.hero h1{font-size:28px}header{align-items:flex-start;gap:10px;flex-direction:column}}
/* تنسيق لوحة إدارة الوظائف */
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.admin-actions button {
  border: 0;
  border-radius: 8px;
  padding: 9px 13px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  background: #edf2f5;
  color: #172b3a;
}

.admin-actions button[data-action="publish"] {
  background: #e1f4eb;
  color: #087447;
}

.admin-actions button[data-action="rejected"],
.admin-actions button[data-action="delete"] {
  background: #fff0f0;
  color: #a12b2b;
}

.admin-actions button[data-action="review"] {
  background: #fff4d9;
  color: #765500;
}

.admin-row {
  background: #fff;
  border: 1px solid #e3e9ed;
  padding: 16px;
  border-radius: 12px;
  margin-top: 12px;
}

/* تحسين التصميم لجميع الشاشات */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.8;
  font-family: Arial, Tahoma, sans-serif;
  color: #203040;
  background: #f5f7fa;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 5%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.brand {
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  color: #173b5e;
}

.brand span {
  color: #15966a;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a,
footer a {
  color: #176b50;
  text-decoration: none;
  font-weight: 700;
}

main {
  width: 90%;
  max-width: 1100px;
  margin: 30px auto;
  min-height: 65vh;
}

.hero {
  padding: 35px 25px;
  margin-bottom: 30px;
  background: #eaf4f0;
  border-radius: 18px;
  text-align: center;
}

.hero h1 {
  color: #173b5e;
  margin: 10px 0;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px;
  margin: 7px 0;
  border: 1px solid #d8e0e5;
  border-radius: 9px;
  background: #fff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #15966a;
  border-color: #15966a;
}

.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.job-card,
.card,
.admin-row {
  background: #fff;
  border: 1px solid #e5eaee;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,.035);
}

.job-card h3,
.card h1,
.card h2 {
  color: #173b5e;
}

button,
.job-card a,
.card a {
  font: inherit;
}

button {
  cursor: pointer;
}

footer {
  padding: 25px 15px;
  margin-top: 35px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #e5eaee;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions button {
  min-height: 42px;
}

.job-links {
  padding: 12px;
  margin: 15px 0;
  background: #f0f7f4;
  border-radius: 10px;
}

@media (max-width: 600px) {
  header {
    padding: 13px 4%;
    align-items: flex-start;
  }

  .brand {
    font-size: 19px;
  }

  nav {
    width: 100%;
    gap: 12px;
  }

  main {
    width: 92%;
    margin: 20px auto;
  }

  .hero {
    padding: 25px 15px;
  }

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

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

  .job-card,
  .card,
  .admin-row {
    padding: 15px;
  }

  .admin-actions button {
    flex: 1 1 45%;
  }
}

/* الهوية البصرية الجديدة - الأخضر السعودي */
:root {
  --site-green: #087f5b;
  --site-dark: #075b43;
  --site-light: #e8f5ef;
  --site-border: #e0eae4;
}

body {
  background: #f6faf7;
  color: #183247;
  font-family: Arial, Tahoma, sans-serif;
}

header {
  width: 100%;
  padding: 15px max(4%, calc((100% - 1120px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--site-border);
  box-shadow: 0 3px 16px rgba(20,60,42,.04);
}

.brand { color: #183247; font-weight: 800; }
.brand span { color: var(--site-green); }

nav a {
  padding: 7px 13px;
  border-radius: 9px;
  color: #426052;
  transition: .2s;
}

nav a:hover {
  background: var(--site-light);
  color: var(--site-dark);
}

main {
  width: min(1100px, 92%);
  margin: 32px auto 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 28px 34px;
  border: 1px solid #dceee4;
  border-radius: 22px;
  background: linear-gradient(135deg,#edf8f1,#e2f2e9 58%,#f4faf6);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -90px;
  top: -105px;
  border-radius: 50%;
  background: rgba(8,127,91,.07);
}

.hero small {
  position: relative;
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid #cfe7d9;
  border-radius: 30px;
  background: rgba(255,255,255,.75);
  color: var(--site-dark);
  font-weight: 700;
}

.hero h1 {
  position: relative;
  margin: 12px 0 4px;
  color: #123e2e;
  font-size: clamp(27px,4vw,38px);
}

.hero p {
  position: relative;
  color: #60766b;
}

.hero input[type="search"] {
  position: relative;
  display: block;
  max-width: 690px;
  margin: 20px auto 12px;
  padding: 15px 18px;
  border: 1px solid #cbded2;
  border-radius: 13px;
  box-shadow: 0 5px 18px rgba(19,75,49,.06);
}

input, textarea, select {
  border: 1px solid #d5e2da;
  border-radius: 11px;
  background: #fff;
  color: #183247;
}

input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(8,127,91,.13);
  border-color: var(--site-green);
}

.filters {
  max-width: 690px;
  margin: 0 auto;
  gap: 12px;
}

.filters select { margin: 0; }

main > h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: #173e2e;
  font-size: 24px;
}

main > h2::before {
  content: "";
  width: 5px;
  height: 25px;
  border-radius: 5px;
  background: var(--site-green);
}

.grid {
  grid-template-columns: repeat(auto-fit,minmax(255px,1fr));
  gap: 18px;
}

.job-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,65,46,.07);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.job-card:hover {
  transform: translateY(-3px);
  border-color: #c8e2d2;
  box-shadow: 0 12px 28px rgba(16,65,46,.10);
}

.job-card h3 {
  margin: 0 0 12px;
  color: #164a35;
  font-size: 20px;
  line-height: 1.5;
}

.job-card p {
  margin: 5px 0;
  color: #53665d;
  overflow-wrap: anywhere;
}

.job-card p strong { color: #294b3b; }

.job-card a {
  display: block;
  margin-top: auto;
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--site-green);
  color: #fff;
  text-align: center;
  transition: background .2s;
}

.job-card a:hover {
  background: var(--site-dark);
  color: #fff;
}

#empty {
  padding: 22px;
  border: 1px dashed #cbded2;
  border-radius: 13px;
  background: #fff;
  color: #687985;
  text-align: center;
}

footer {
  width: 100%;
  margin-top: 35px;
  padding: 24px 15px;
  border-top: 1px solid var(--site-border);
  background: #fff;
  color: #687985;
  text-align: center;
}

footer p { margin: 7px 0 0; }

@media(max-width:600px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 13px 4%;
  }

  .brand { font-size: 20px; }
  nav { width: 100%; gap: 5px; }
  nav a { padding: 6px 9px; }

  main { width: 92%; margin: 20px auto 35px; }

  .hero {
    padding: 29px 15px 22px;
    border-radius: 17px;
  }

  .hero h1 { font-size: 27px; }
  .hero p { font-size: 14px; }

  .filters { grid-template-columns: 1fr; gap: 8px; }
  .grid { grid-template-columns: 1fr; gap: 13px; }
  .job-card { padding: 16px; }
  main > h2 { font-size: 21px; }
}

/* بطاقات احترافية للصفحة الرئيسية فقط */
.home-page .job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 310px;
  padding: 22px;
  border: 1px solid #e1ebe5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(20,65,45,.055);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-page .job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(20,65,45,.12);
}

.home-page .job-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.home-page .job-label {
  padding: 6px 11px;
  border-radius: 20px;
  background: #e8f5ee;
  color: #087f5b;
  font-size: 12px;
  font-weight: 700;
}

.home-page .job-type {
  padding: 6px 10px;
  border: 1px solid #e3ebe6;
  border-radius: 20px;
  color: #63766b;
  font-size: 12px;
}

.home-page .job-card h3 {
  margin: 2px 0 0;
  color: #174b36;
  font-size: 21px;
  line-height: 1.6;
}

.home-page .job-company {
  margin: 0;
  color: #50685b;
  font-size: 15px;
  font-weight: 700;
}

.home-page .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-page .job-meta span {
  padding: 8px 10px;
  border-radius: 9px;
  background: #f4f8f5;
  color: #50675a;
  font-size: 13px;
}

.home-page .job-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: #6b7b72;
  font-size: 14px;
  line-height: 1.9;
}

.home-page .job-deadline {
  margin: 0;
  color: #8a6840;
  font-size: 12px;
}

.home-page .job-card .job-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 12px 15px;
  border-radius: 11px;
  background: #087f5b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}

.home-page .job-card .job-button:hover {
  background: #075b43;
}

@media(max-width:600px) {
  .home-page .job-card {
    min-height: 0;
    padding: 18px;
    gap: 11px;
  }

  .home-page .job-card h3 {
    font-size: 19px;
  }
}

/* تطوير الواجهة الرئيسية */
.home-page {
  background: #f5f8f6;
}

.home-page header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px max(4%, calc((100% - 1120px) / 2));
  border-bottom: 3px solid #087f5b;
  background: #fff;
}

.home-page .brand {
  font-size: 23px;
  letter-spacing: -.5px;
}

.home-page nav a[href="admin.html"] {
  display: none;
}

.home-page nav a {
  color: #345b49;
  font-weight: 700;
}

.home-page nav a[href="index.html"] {
  background: #e8f5ee;
  color: #087f5b;
}

.home-page main {
  margin-top: 38px;
}

.home-page .hero {
  padding: 55px 25px 42px;
  border: 1px solid #d9eadf;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(8,127,91,.10), transparent 30%),
    linear-gradient(135deg, #f0f8f2, #e3f2e9);
  box-shadow: 0 12px 35px rgba(22,75,48,.06);
}

.home-page .hero h1 {
  margin: 18px 0 10px;
  color: #10432f;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  line-height: 1.5;
}

.home-page .hero p {
  margin: 0 auto 22px;
  color: #587264;
  font-size: 16px;
  line-height: 1.9;
}

.home-page .hero input[type="search"] {
  min-height: 56px;
  padding: 15px 20px;
  border: 1px solid #d0e1d6;
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
}

.home-page .filters select {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #355b48;
}

.home-page main > h2 {
  margin-top: 38px;
  margin-bottom: 22px;
  font-size: 26px;
  font-weight: 800;
}

.home-page .grid {
  gap: 22px;
}

.home-page footer {
  margin-top: 60px;
  padding: 30px 15px;
  border-top: 1px solid #dce9e1;
  background: #fff;
  color: #65786d;
}

.home-page footer a {
  color: #087f5b;
  font-weight: 700;
  text-decoration: none;
}

.home-page footer a:hover {
  text-decoration: underline;
}

@media(max-width:600px) {
  .home-page header {
    min-height: 65px;
    padding: 12px 4%;
  }

  .home-page .brand {
    font-size: 20px;
  }

  .home-page main {
    margin-top: 22px;
  }

  .home-page .hero {
    padding: 36px 16px 25px;
    border-radius: 18px;
  }

  .home-page .hero h1 {
    font-size: 29px;
  }

  .home-page .hero p {
    font-size: 14px;
  }

  .home-page main > h2 {
    margin-top: 28px;
    font-size: 22px;
  }
}

/* ===== التصميم المرجعي: وظائف السعودية اليوم ===== */
.home-page {
  margin: 0;
  background: #f7faf8;
  color: #123b32;
  font-family: Tahoma, Arial, sans-serif;
}

.home-page .site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 105px;
  padding: 12px max(4%, calc((100% - 1180px) / 2));
  border: 0;
  border-bottom: 1px solid #e3eee7;
  background: #fff;
  box-shadow: 0 4px 20px rgba(20,65,45,.045);
}

.home-page .brand {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #123b32;
  text-decoration: none;
}

.home-page .brand-logo {
  width: 82px;
  height: 72px;
  flex: 0 0 auto;
}

.home-page .brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-page .brand-text strong {
  color: #123b32;
  font-size: 25px;
  font-weight: 900;
}

.home-page .brand-text em {
  color: #087f5b;
  font-style: normal;
}

.home-page .brand-text small {
  color: #657b70;
  font-size: 13px;
}

.home-page .main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 27px;
  border-radius: 40px;
  background: #087f5b;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.home-page .main-nav a span {
  font-size: 21px;
}

.home-page .home-main {
  width: min(1180px, 94%);
  margin: 28px auto 55px;
}

.home-page .hero-reference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 22px;
  min-height: 480px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dcece2;
  border-radius: 25px;
  background: linear-gradient(120deg,#e5f2e9,#f7fbf8 70%);
  box-shadow: 0 12px 35px rgba(22,75,48,.07);
}

.home-page .hero-copy {
  position: relative;
  z-index: 1;
  padding: 24px 15px;
}

.home-page .hero-kicker {
  display: inline-block;
  padding: 9px 17px;
  border-radius: 30px;
  background: #087f5b;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.home-page .hero-copy h1 {
  margin: 20px 0 9px;
  color: #123b32;
  font-size: clamp(30px,4vw,48px);
  font-weight: 900;
  line-height: 1.45;
}

.home-page .hero-copy h1 span {
  display: block;
  color: #087f5b;
}

.home-page .hero-copy p {
  margin: 0 0 24px;
  color: #4f6c5d;
  font-size: 16px;
  line-height: 1.9;
}

.home-page .hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 17px;
  border: 1px solid #d8e7dd;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(20,65,45,.07);
}

.home-page .search-symbol {
  color: #087f5b;
  font-size: 31px;
  line-height: 1;
}

.home-page .hero-search input {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 10px 0;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
}

.home-page .hero-search input:focus {
  outline: none;
  border: 0;
  box-shadow: none;
}

.home-page .filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 13px;
}

.home-page .filters select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #d8e7dd;
  border-radius: 12px;
  background: #fff;
  color: #345b49;
  font-size: 14px;
}

.home-page .hero-art {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-page .hero-art svg {
  display: block;
  width: 100%;
  max-height: 410px;
  filter: drop-shadow(0 12px 16px rgba(25,80,55,.08));
}

.home-page .art-caption {
  position: absolute;
  right: 7%;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 5px 18px rgba(20,65,45,.08);
}

.home-page .art-caption strong {
  color: #087f5b;
  font-size: 14px;
}

.home-page .art-caption span {
  color: #60776a;
  font-size: 11px;
}

.home-page .jobs-section {
  margin-top: 38px;
}

.home-page .section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 23px;
}

.home-page .section-heading h2 {
  margin: 0;
  color: #08764f;
  font-size: 27px;
  font-weight: 900;
}

.home-page .heading-line {
  width: min(16%,140px);
  height: 2px;
  background: linear-gradient(90deg,transparent,#14845d);
}

.home-page .heading-icon {
  color: #087f5b;
  font-size: 29px;
}

.home-page .grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.home-page .job-card {
  min-width: 0;
  min-height: 300px;
  padding: 22px;
  border: 1px solid #e3ece6;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 7px 23px rgba(22,70,48,.07);
}

.home-page .job-card h3 {
  color: #123b32;
  font-size: 20px;
}

.home-page .job-company {
  color: #087f5b;
  font-weight: 800;
}

.home-page .job-meta span {
  background: #eff7f2;
  color: #456653;
}

.home-page .job-card .job-button {
  border-radius: 30px;
  text-align: center;
  justify-content: center;
  background: #087f5b;
}

.home-page .job-card .job-button:hover {
  background: #075b43;
}

.home-page #empty {
  padding: 25px;
  border: 1px dashed #b9d8c5;
  border-radius: 15px;
  background: #fff;
  color: #5e7467;
  text-align: center;
}

.home-page .site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 55px;
  padding: 0;
  border: 0;
  background: #064b36;
  color: #fff;
}

.home-page .footer-skyline {
  min-height: 54px;
  padding: 8px 4%;
  background: linear-gradient(0deg,#087f5b,#0b6849);
  color: #b5d9c3;
  font-size: 28px;
  letter-spacing: 8px;
  text-align: center;
  opacity: .95;
}

.home-page .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  width: min(1180px,92%);
  margin: auto;
  padding: 24px 0;
}

.home-page .footer-content > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-page .footer-content strong {
  font-size: 17px;
}

.home-page .footer-content small,
.home-page .footer-content p {
  color: #d1e5d8;
  font-size: 13px;
}

.home-page .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.home-page .footer-links a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.home-page .footer-links a:hover {
  text-decoration: underline;
}

@media(max-width:800px) {
  .home-page .hero-reference {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-page .hero-art {
    grid-row: 1;
    max-width: 560px;
    width: 100%;
    margin: auto;
  }

  .home-page .hero-art svg {
    max-height: 290px;
  }

  .home-page .art-caption {
    bottom: 8px;
  }

  .home-page .hero-copy {
    padding: 10px 8px 18px;
  }

  .home-page .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:560px) {
  .home-page .site-header {
    min-height: 76px;
    padding: 9px 4%;
  }

  .home-page .brand {
    gap: 8px;
  }

  .home-page .brand-logo {
    width: 56px;
    height: 54px;
  }

  .home-page .brand-text strong {
    font-size: 17px;
  }

  .home-page .brand-text small {
    font-size: 10px;
  }

  .home-page .main-nav a {
    padding: 10px 13px;
    font-size: 12px;
  }

  .home-page .home-main {
    width: 93%;
    margin-top: 15px;
  }

  .home-page .hero-reference {
    padding: 12px;
    border-radius: 17px;
  }

  .home-page .hero-art svg {
    max-height: 235px;
  }

  .home-page .art-caption {
    right: 3%;
    bottom: 5px;
    padding: 7px 10px;
  }

  .home-page .art-caption strong {
    font-size: 11px;
  }

  .home-page .art-caption span {
    font-size: 9px;
  }

  .home-page .hero-copy {
    padding: 12px 3px 10px;
  }

  .home-page .hero-kicker {
    padding: 7px 11px;
    font-size: 11px;
  }

  .home-page .hero-copy h1 {
    margin: 13px 0 6px;
    font-size: 29px;
  }

  .home-page .hero-copy p {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .home-page .hero-search {
    min-height: 53px;
    padding: 0 11px;
  }

  .home-page .hero-search input {
    min-height: 50px;
    font-size: 12px;
  }

  .home-page .filters {
    gap: 7px;
  }

  .home-page .filters select {
    min-height: 45px;
    padding: 8px;
    font-size: 11px;
  }

  .home-page .jobs-section {
    margin-top: 28px;
  }

  .home-page .section-heading {
    gap: 8px;
    margin-bottom: 16px;
  }

  .home-page .section-heading h2 {
    font-size: 21px;
  }

  .home-page .heading-icon {
    font-size: 22px;
  }

  .home-page .grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .home-page .job-card {
    min-height: 0;
    padding: 17px;
  }

  .home-page .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .home-page .footer-links {
    justify-content: center;
    gap: 12px;
  }
}




/* ===== التصميم النهائي للصفحة الرئيسية ===== */

.home-page {
  margin: 0;
  background: #f7faf8;
  color: #183b30;
  font-family: Tahoma, Arial, sans-serif;
}

.home-page .site-header {
  width: 100%;
  min-height: 94px;
  margin: 0;
  padding: 10px max(4%, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e2ece5;
  box-shadow: 0 3px 16px rgba(20,65,45,.045);
}

.home-page .brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #123b32;
  text-decoration: none;
}

.home-page .brand-logo {
  display: block;
  width: 75px;
  height: 68px;
  flex: 0 0 auto;
}

.home-page .brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-page .brand-text strong {
  color: #123b32;
  font-size: 23px;
  font-weight: 900;
}

.home-page .brand-text em {
  color: #087f5b;
  font-style: normal;
}

.home-page .brand-text small {
  color: #718278;
  font-size: 12px;
}

.home-page .main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-page .main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 30px;
  background: #087f5b;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.home-page .home-main {
  width: min(1180px, 94%);
  margin: 30px auto 55px;
}

/* البانر الرئيسي */
.home-page .hero-reference {
  position: relative;
  isolation: isolate;
  display: grid;
  direction: ltr;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 25px;
  min-height: 420px;
  margin: 0;
  padding: 25px 30px 48px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(110deg,#dceee2 0%,#edf6ef 58%,#e4f1e7 100%);
  box-shadow: 0 10px 30px rgba(22,75,48,.055);
}

.home-page .hero-reference::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3%;
  right: -3%;
  bottom: -22px;
  height: 42px;
  border-radius: 50% 50% 0 0 / 90% 90% 0 0;
  background: #cfe5d6;
}

.home-page .hero-art {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.home-page .hero-art::after {
  content: none;
}

.home-page .hero-banner-image {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 390px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: left center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to right,#000 88%,transparent 100%);
  mask-image: linear-gradient(to right,#000 88%,transparent 100%);
}

.home-page .hero-copy {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 15px 5px;
  direction: rtl;
  text-align: right;
}

.home-page .hero-kicker {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  background: #087f5b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.home-page .hero-copy h1 {
  margin: 17px 0 9px;
  color: #123b32;
  font-size: clamp(30px,3.5vw,45px);
  font-weight: 900;
  line-height: 1.45;
}

.home-page .hero-copy h1 span {
  display: inline;
  color: #087f5b;
}

.home-page .hero-copy p {
  margin: 0 0 20px;
  color: #526e5e;
  font-size: 15px;
  line-height: 1.9;
}

.home-page .hero-search {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 57px;
  margin: 17px 0 12px;
  padding: 0 15px;
  border: 1px solid #d5e5da;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(20,65,45,.055);
}

.home-page .search-symbol {
  flex: 0 0 auto;
  color: #087f5b;
  font-size: 29px;
  line-height: 1;
}

.home-page .hero-search input {
  width: 100%;
  min-width: 0;
  min-height: 53px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #183b30;
  font: inherit;
  font-size: 14px;
}

.home-page .hero-search input:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.home-page .hero-controls {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  direction: ltr;
  gap: 9px;
  width: 100%;
}

.home-page .hero-controls select {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  margin: 0;
  padding: 8px 10px;
  direction: rtl;
  border: 1px solid #d5e5da;
  border-radius: 9px;
  background: #fff;
  color: #345b49;
  font: inherit;
  font-size: 12px;
}

.home-page .hero-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  min-height: 47px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: #087f5b;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.home-page .hero-search-button:hover {
  background: #066747;
}

/* أحدث الوظائف */
.home-page .jobs-section {
  margin-top: 42px;
}

.home-page .section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 24px;
}

.home-page .section-heading h2 {
  margin: 0;
  color: #08764f;
  font-size: 27px;
  font-weight: 900;
}

.home-page .heading-line {
  width: min(16%,140px);
  height: 2px;
  background: linear-gradient(90deg,transparent,#14845d);
}

.home-page .heading-icon {
  color: #087f5b;
  font-size: 26px;
}

.home-page .grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 19px;
}

.home-page .job-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 295px;
  margin: 0;
  padding: 21px;
  border: 1px solid #e1ebe5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(20,65,45,.055);
  transition: transform .2s ease,box-shadow .2s ease;
}

.home-page .job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 27px rgba(20,65,45,.10);
}

.home-page .job-card h3 {
  margin: 2px 0;
  color: #174b36;
  font-size: 20px;
  line-height: 1.6;
}

.home-page .job-company {
  margin: 0;
  color: #087f5b;
  font-weight: 800;
}

.home-page .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-page .job-meta span {
  padding: 7px 10px;
  border-radius: 8px;
  background: #eff7f2;
  color: #456653;
  font-size: 12px;
}

.home-page .job-description {
  margin: 0;
  color: #687b70;
  font-size: 13px;
  line-height: 1.8;
}

.home-page .job-card .job-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 11px 15px;
  border-radius: 30px;
  background: #087f5b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.home-page .job-card .job-button:hover {
  background: #075b43;
}

.home-page #empty {
  padding: 23px;
  border: 1px dashed #b9d8c5;
  border-radius: 14px;
  background: #fff;
  color: #5e7467;
  text-align: center;
}

/* التذييل */
.home-page .site-footer {
  position: relative;
  width: 100%;
  margin: 55px 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #064b36;
  color: #fff;
}

.home-page .footer-skyline {
  min-height: 58px;
  padding: 7px 4%;
  background: linear-gradient(0deg,#087f5b,#0b6849);
  color: #c1dfcc;
  font-size: 29px;
  letter-spacing: 8px;
  text-align: center;
}

.home-page .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  width: min(1180px,92%);
  margin: auto;
  padding: 25px 0;
}

.home-page .footer-content > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-page .footer-content strong {
  color: #fff;
  font-size: 17px;
}

.home-page .footer-content small,
.home-page .footer-content p {
  margin: 0;
  color: #d1e5d8;
  font-size: 13px;
}

.home-page .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.home-page .footer-links a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.home-page .footer-links a:hover {
  text-decoration: underline;
}

/* الأجهزة اللوحية */
@media (max-width: 900px) {
  .home-page .hero-reference {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-height: 360px;
    padding: 20px 17px 40px;
  }

  .home-page .hero-copy h1 {
    font-size: 31px;
  }

  .home-page .hero-controls {
    grid-template-columns: 1fr 1fr;
  }

  .home-page .hero-search-button {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-page .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* الهواتف */
@media (max-width: 600px) {
  .home-page .site-header {
    min-height: 70px;
    padding: 9px 4%;
    gap: 8px;
  }

  .home-page .brand {
    gap: 7px;
  }

  .home-page .brand-logo {
    width: 52px;
    height: 50px;
  }

  .home-page .brand-text strong {
    font-size: 16px;
  }

  .home-page .brand-text small {
    font-size: 9px;
  }

  .home-page .main-nav a {
    padding: 8px 11px;
    font-size: 12px;
  }

  .home-page .home-main {
    width: 93%;
    margin: 15px auto 35px;
  }

  .home-page .hero-reference {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 10px 12px 32px;
    border-radius: 15px;
  }

  .home-page .hero-art {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .home-page .hero-banner-image {
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-page .hero-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 8px 2px 5px;
  }

  .home-page .hero-kicker {
    padding: 6px 11px;
    font-size: 11px;
  }

  .home-page .hero-copy h1 {
    margin: 12px 0 6px;
    font-size: 27px;
  }

  .home-page .hero-copy p {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .home-page .hero-search {
    min-height: 49px;
    margin: 12px 0 9px;
    padding: 0 10px;
  }

  .home-page .hero-search input {
    min-height: 46px;
    font-size: 12px;
  }

  .home-page .hero-controls {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .home-page .hero-controls select {
    min-height: 42px;
    padding: 7px;
    font-size: 11px;
  }

  .home-page .hero-search-button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 43px;
  }

  .home-page .jobs-section {
    margin-top: 28px;
  }

  .home-page .section-heading {
    gap: 8px;
    margin-bottom: 16px;
  }

  .home-page .section-heading h2 {
    font-size: 21px;
  }

  .home-page .heading-line {
    width: 12%;
  }

  .home-page .heading-icon {
    font-size: 21px;
  }

  .home-page .grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .home-page .job-card {
    min-height: 0;
    padding: 17px;
    gap: 10px;
  }

  .home-page .job-card h3 {
    font-size: 19px;
  }

  .home-page .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .home-page .footer-links {
    justify-content: center;
    gap: 12px;
  }
}
