:root {
  --green-dark: #136c38; /* للعناوين */
  --green-mid: #2fb36f; /* اللون الأساسي */
  --green-light: #198f4a; /* الأيقونات والتدرجات */
  --green-soft: #f2fbf6; /* الخلفيات الخضراء الفاتحة */
  --shadow: 0 6px 18px rgba(0, 0, 0, .06);
  --bg: #f8fbf9; /* خلفية الصفحة */
  --surface: #ffffff; /* الكروت */
  --text: #1f2937; /* النص */
  --muted: #6b7280; /* النص الثانوي */
  --radius: 1rem;
}
body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  background:
    radial-gradient(circle at 20% 25%, rgba(31, 168, 91, .08), transparent 35%), radial-gradient(circle at 80% 70%, rgba(31, 168, 91, .06), transparent 35%), var(--bg);
  color: var(--text);
}
.page-wrap {
  max-width: 1100px;
}
.main-card {
  background: var(--surface);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(19, 108, 56, .08);
}
.top-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #fff, #fbfdfb);
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-title {
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.2;
}
.brand-sub {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.top-nav {
  padding: 1rem 1.25rem 0;
}
.top-nav .nav {
  background: #f3f7f4;
  border-radius: 1rem;
  padding: .5rem;
  gap: .5rem;
}
.top-nav .nav-link {
  color: var(--green-dark);
  font-weight: 700;
  border-radius: .85rem;
  padding: .85rem 1.1rem;
  background: transparent;
  transition: .2s ease;
}
.top-nav .nav-link:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}
.top-nav .nav-link.active {
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #fff;
  box-shadow: 0 8px 18px rgba(25, 143, 74, .20);
}
.hero-box {
  margin: 1rem 1.25rem 0;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eefaf3, #dff5e8);
  color: var(--green-dark);
  text-align: center;
  font-weight: 800;
  border: 1px solid rgba(31, 168, 91, .12);
}
.count-section {
  padding: 1rem 1.25rem 1rem;
}
.section-head {
  text-align: center;
  margin-bottom: 1rem;
}
.section-head h5 {
  margin: 0 0 .4rem;
  color: var(--green-dark);
  font-weight: 800;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.counter-wrap {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
}
.counter-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.counter-item {
  text-align: center;
  min-width: 100px;
}
.counter-label {
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: .5rem;
}
.counter-box {
  width: 92px;
  height: 92px;
  margin: auto;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(19, 108, 56, .18);
}
.dots {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-mid);
  margin-top: 1.5rem;
}
.content-section {
  padding: 1rem 1.25rem 1.5rem;
}
.panel-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  height: 100%;
  padding: 1.25rem;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.doc-box {
  background: linear-gradient(180deg, #ffffff, #f9fcfa);
  border: 1px solid rgba(19, 108, 56, .10);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: .2s ease;
  height: 100%;
}
.doc-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
  border-color: rgba(31, 168, 91, .22);
}
.doc-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto .8rem;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.doc-title {
  margin: 0;
  font-weight: 700;
  color: #1f2937;
  font-size: .98rem;
  line-height: 1.7;
}
.online-panel {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.online-ring {
  width: 165px;
  height: 165px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%), conic-gradient(var(--green-mid) 0 100%, #dfeee5 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.online-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid rgba(19, 108, 56, .16);
  background: #fff;
}
.online-number {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: 800;
  color: #c24141;
}
.online-text {
  color: #c24141;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0;
}
.page-footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #eef2f7;
  color: var(--green-mid);
  font-weight: 700;
  background: #fcfefd;
}
.nic-logo {
  max-width: 100%;
  max-height: auto;
  object-fit: contain;
}
.nic-content {
  max-width: 580px;
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}
.nic-title {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.8;
}
.nic-text {
  color: var(--green-mid);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.9;
}
.btn-nic {
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  color: #fff;
  border: 0;
  border-radius: .9rem;
  font-weight: 800;
  min-width: 220px;
  box-shadow: var(--shadow);
  transition: .2s ease;
}
.btn-nic:hover {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 767.98px) {
  .nic-title {
    font-size: 1.2rem;
  }
  .nic-text {
    font-size: 1rem;
  }
  .btn-nic {
    width: 100%;
    min-width: auto;
  }
}
.jobs-alert {
  background: #dff0f7;
  border: 1px solid #c9e2ee;
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  color: #3b5563;
}
.job-card {
  background: #ffffff;
  border: 1px solid #e5f2ea;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.job-type {
  color: var(--green-mid);
  font-weight: 800;
}
.job-title {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.15rem;
}
.job-code {
  color: #666;
  font-weight: 600;
}
.job-meta {
  display: grid;
  gap: .6rem;
}
.meta-row {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.meta-label {
  font-weight: 800;
  color: #444;
}
.job-requirements {
  border-top: 1px dashed #e5e7eb;
  padding-top: 1rem;
}
.req-title {
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: .5rem;
}
.req-text {
  color: #444;
  line-height: 1.8;
  font-size: .95rem;
}


.nav-link a {
    color: var(--green-dark) !important;
    text-decoration: none !important;
}

.active a {
    color: #fff !important;
    text-decoration: none !important;
}


@media (max-width: 768px) {
    .docs-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .clock2 {
        zoom: 0.45;
    }
}