/* ==========================================================
   كلية الباحة الأهلية للعلوم — الصفحات الداخلية
   ========================================================== */

/* ---------- عن الكلية ---------- */
.page-about .about-sec { padding-top: 99px; }
.page-about .vision-card { display: none; }

.vmq-band {
  margin-top: 108px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 507px;
}
.vmq-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 132px;
  background: #fff0d3;
  text-align: center;
  overflow: hidden;
  transition: background-color .5s var(--ease);
}
.vmq-panel__icon { height: 144px; width: auto; object-fit: contain; object-position: bottom; transition: transform .6s var(--ease); }
.vmq-panel__icon--target { width: 141px; height: 144px; }
.vmq-panel__title {
  margin-top: 19px;
  font-size: 48px;
  line-height: 78px;
  color: var(--navy);
  transition: transform .6s var(--ease), color .4s;
}
.vmq-panel__text {
  max-width: 360px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 28.5px;
  text-align: justify;
  text-align-last: right;
  color: var(--navy);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.vmq-panel:not(.is-active):hover .vmq-panel__icon,
.vmq-panel:not(.is-active):hover .vmq-panel__title { transform: translateY(-86px); }
.vmq-panel:not(.is-active):hover .vmq-panel__text { opacity: 1; transform: translateY(-86px); }
.vmq-panel.is-active { background: var(--navy); padding-top: 81px; }
.vmq-panel.is-active .vmq-panel__icon { height: 78px; }
.vmq-panel.is-active .vmq-panel__title { margin-top: 11px; margin-right: 18px; color: var(--white); }
.vmq-panel.is-active .vmq-panel__text { margin-top: 18px; margin-right: 32px; color: var(--white); opacity: 1; transform: none; }
.vmq-panel.is-active:hover .vmq-panel__icon { transform: translateY(-6px) scale(1.04); }

.page-about .dean-sec { padding-top: 80px; }
.page-about .stats-sec { margin-top: 84px; }

.values-sec { padding-top: 74px; }
.values-sec .sec-head { margin-bottom: 68px; }
.values-sec .section-badge { margin-bottom: 19px; }
.values-grid {
  display: grid;
  grid-template-columns: 293px 308px 305px 1fr;
  padding-right: 11px;
}
.value-item { position: relative; }
.value-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 246px;
  top: 54px;
  width: 1px;
  height: 93px;
  background: #aca8a8;
  opacity: .7;
}
.value-item__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 46px;
  border-radius: 10px;
  transition: transform .45s var(--ease);
}
.value-item:hover .value-item__icon { transform: translateY(-5px) rotate(-6deg); }
.value-item h3 {
  margin-top: 8px;
  font-family: var(--f-janna);
  font-size: 24px;
  line-height: 38px;
}
.value-item p {
  margin-top: 4px;
  max-width: 230px;
  font-family: var(--f-janna);
  font-size: 18px;
  line-height: 29px;
  color: var(--muted);
}
.value-item--gold .value-item__icon { background: #fff2da; }
.value-item--gold h3 { color: var(--gold); }
.value-item--green .value-item__icon { background: rgba(151, 255, 179, .4); }
.value-item--green h3 { color: #32ba46; }
.value-item--navy .value-item__icon { background: #c8e4ff; }
.value-item--navy h3 { color: var(--navy); }
.value-item--red .value-item__icon { background: #ffc8c8; }
.value-item--red h3 { color: #d50b0b; }

.page-about .partners-sec { padding-top: 204px; }
.page-about .about-text__btn { display: none; }

/* ---------- الأقسام والبرامج ---------- */
.programs-sec { padding-top: 115px; }
.programs-sec .sec-head { margin-bottom: 17px; }
.programs-sec .section-badge { margin-bottom: 2px; }
.programs-sec .section-title { margin-bottom: 27px; }
.programs-sec .section-desc { line-height: 31px; }
.filter-tabs--center { justify-content: center; gap: 25px; }
.filter-tabs--center .filter-tab:not(.is-active) { min-width: 144px; }
.programs-grid {
  margin-top: 57px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.program-card {
  position: relative;
  height: 434px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.program-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease);
}
.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 21, 64, .2) 0%, var(--navy) 100%);
  transition: background-color .5s var(--ease);
}
.program-card.is-open::before { background-color: rgba(9, 21, 64, .55); }
.program-card:hover .program-card__img { transform: scale(1.06); }
.program-card__inner {
  position: absolute;
  inset: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.program-card__head { display: flex; align-items: center; gap: 10px; }
.program-card__icon {
  flex: 0 0 66px;
  height: 66px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background-color .35s, color .35s;
}
.program-card__icon .svg-ic { width: auto; height: 33px; }
.program-card__name {
  font-family: var(--f-janna);
  font-size: 24px;
  line-height: 38px;
  color: var(--white);
}
.program-card__name a { color: inherit; }
.program-card__code {
  margin-right: auto;
  min-width: 66px;
  height: 66px;
  padding: 0 4px;
  border-radius: 10px;
  background: rgba(217, 217, 217, .47);
  color: var(--white);
  font-family: var(--f-janna);
  font-weight: 700;
  font-size: 32px;
  line-height: 66px;
  text-align: center;
}
.program-card.is-open .program-card__name,
.program-card.is-open .program-card__icon { color: var(--gold); }
.program-card:hover .program-card__icon { background: rgba(255, 255, 255, .2); }
.program-card__details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease);
}
.program-card.is-open .program-card__details { grid-template-rows: 1fr; }
.program-card__details-in {
  min-height: 0;
  overflow: hidden;
  /* مساحة داخل منطقة القص عشان ظل الزرار وقت الهوفر ما يتقصش */
  padding: 0 12px 18px;
  margin: 0 -12px -18px;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.program-card.is-open .program-card__details-in { opacity: 1; transition-delay: .15s; }
.program-card__desc {
  padding-top: 33px;
  max-width: 499px;
  font-size: 20px;
  line-height: 31px;
  color: var(--white);
}
.program-card__meta { margin-top: 22px; display: flex; align-items: center; }
.program-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.program-card__meta span + span { margin-right: 39px; }
.program-card__meta b { font-size: 14px; line-height: 26px; color: #b9b2a4; }
.program-card__bottom { margin-top: 25px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.program-card__careers { min-width: 0; }
.program-card__bottom .btn-arrow { flex: 0 0 auto; }
.program-card__careers h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  line-height: 26px;
  color: var(--white);
}
.program-card__careers ul {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 22px;
  row-gap: 15px;
}
.program-card__careers li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  line-height: 22px;
  color: #d4cece;
  white-space: nowrap;
}
.program-card__careers li::before {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  background: url("../img/icons/tick-circle-light.svg") center / contain no-repeat;
}

/* ---------- صفحة القسم ---------- */
.dept-page { padding-top: 92px; }
.dept-page__badge { min-width: 162px; }
.dept-page__head { margin-top: 25px; display: flex; align-items: center; }
.dept-page__icon {
  flex: 0 0 81px;
  height: 81px;
  border-radius: 12px;
  background: rgba(128, 126, 126, .08);
  display: grid;
  place-items: center;
  color: var(--navy);
}
.dept-page__icon .svg-ic { height: 35px; width: auto; }
.dept-page__icon > span[hidden] { display: none; }
.dept-page__title { margin-right: 16px; font-size: 38px; line-height: 62px; color: var(--black); }
.dept-page__code {
  margin-right: auto;
  margin-left: -11px;
  min-width: 80px;
  height: 26px;
  border-radius: 10px;
  background: #f9faff;
  color: var(--navy);
  font-family: var(--f-janna);
  font-weight: 700;
  font-size: 25px;
  line-height: 29px;
  text-align: center;
}
.dept-page__cover {
  margin-top: 25px;
  height: 580px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.dept-page__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dept-page__cover:hover img { transform: scale(1.04); }
.dept-page__grid {
  margin-top: 44px;
  margin-right: -22px;
  display: grid;
  grid-template-columns: 806px 379px;
  justify-content: space-between;
  align-items: start;
}
.dept-page__content { grid-column: 1; grid-row: 1; }
.program-info { grid-column: 2; grid-row: 1; position: sticky; top: 110px; }

.program-info {
  height: 483px;
  padding: 34px 18px 0 21px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
}
.program-info__head { display: flex; align-items: center; justify-content: space-between; }
.program-info__head h3 { font-size: 24px; line-height: 26px; color: var(--white); }
.program-info__badge {
  min-width: 76px;
  height: 22px;
  margin-left: -5px;
  border-radius: 20px;
  background: #ffda0b;
  color: var(--navy);
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}
.program-info__list { margin-top: 45px; }
.program-info__list li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; line-height: 35px; white-space: nowrap; margin-right: -4px; }
.program-info__list li.is-lg { font-size: 20px; margin-top: 16px; }
.program-info__btn {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 65px;
  padding: 0 19px;
  border-radius: 100px;
  color: var(--white);
  font-size: 24px;
  line-height: 38px;
  white-space: nowrap;
  transition: background-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s;
}
.program-info__btn:hover { color: var(--white); transform: translateY(-3px); }
.program-info__btn--ghost {
  margin-top: 32px;
  background: rgba(255, 255, 255, .15);
  border: .5px solid rgba(255, 255, 255, .5);
}
.program-info__btn--ghost:hover { background: rgba(255, 255, 255, .25); }
.program-info__btn--gold { margin-top: 16px; background: rgba(25, 181, 182, .8); }
.program-info__btn--gold:hover { background: var(--gold); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }

.info-box {
  padding: 2px 21px 33px 20px;
  border-radius: 20px;
  background: #fbfcfe;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
}
.info-box + .info-box { margin-top: 32px; }
.info-box__title {
  font-family: var(--f-janna);
  font-size: 32px;
  line-height: 51px;
  color: var(--navy);
}
.info-box__title--black { color: var(--black); }
.info-box__text { margin-top: 16px; font-size: 20px; line-height: 31px; color: var(--text); }
.info-box--goals { padding: 17px 24px 12px 0; }
.goals-list { margin-top: 16px; }
.goals-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  line-height: 43px;
  color: var(--text);
  white-space: nowrap;
}
.goals-list li::before {
  content: "";
  flex: 0 0 30px;
  height: 30px;
  background: url("../img/icons/check-gold.svg") center / contain no-repeat;
}
.info-box--careers { padding: 11px 20px 29px 0; }
.careers-tiles {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 387px);
  column-gap: 12px;
  row-gap: 17px;
}
.careers-tiles li {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 83px;
  padding-right: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #eef1ff 100%);
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.careers-tiles li::before {
  content: "";
  flex: 0 0 32px;
  height: 32px;
  background: url("../img/icons/tick-circle-gold.svg") center / contain no-repeat;
}
.careers-tiles li:hover { transform: translateX(-5px); box-shadow: 0 6px 16px rgba(9, 21, 64, .08); }
.page-department .cta-band { margin-top: 127px; }

/* ---------- اللوائح والأنظمة + الأسئلة الشائعة ---------- */
.sec-head--start { display: flex; flex-direction: column; align-items: flex-start; }
.section-badge--xl { min-width: 139px; }
.section-desc--wide { max-width: none; }
.regs-sec { padding-top: 102px; }
.regs-sec .sec-head { margin-bottom: 0; }
.regs-sec .section-badge { margin-bottom: 20px; }
.regs-sec .section-title { margin-bottom: 16px; }
.regs-sec .section-desc { line-height: 33px; }
.regs-grid {
  margin-top: 77px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.reg-card {
  height: 149px;
  padding: 29px 12px 16px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 9px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reg-card:hover { transform: translateY(-6px); box-shadow: 0 4px 4px rgba(0, 0, 0, .25), 0 18px 30px rgba(9, 21, 64, .1); }
.reg-card__top { display: flex; align-items: flex-start; gap: 12px; }
.reg-card__icon {
  flex: 0 0 66px;
  height: 66px;
  margin-top: 3px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: transform .45s var(--ease);
}
.reg-card:hover .reg-card__icon { transform: rotate(-8deg) scale(1.05); }
.reg-card__icon--blue { background: #eef5ff; }
.reg-card__icon--gold { background: #fff1d7; }
.reg-card__icon--green { background: #daffe0; }
.reg-card h3 {
  font-family: var(--f-janna);
  font-size: 20px;
  line-height: 32px;
  color: var(--navy);
}
.reg-card .link-more { align-self: flex-end; }

.faq-sec { padding-top: 104px; }
.faq-sec .sec-head { margin-bottom: 18px; }
.faq-sec .section-badge { margin-bottom: 14px; }
.faq-item {
  border-radius: 20px;
  background: rgba(211, 211, 211, .33);
  transition: background-color .4s var(--ease);
}
.faq-item + .faq-item { margin-top: 16px; }
.faq-item.is-open { background: #f1f1f1; }
.faq-item__head {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px 0 27px;
  border: 0;
  background: none;
  text-align: right;
  font-family: var(--f-janna);
  font-weight: 700;
  font-size: 22px;
  line-height: 31px;
  color: #4c4c4c;
  text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  transition: color .3s;
}
.faq-item.is-open .faq-item__head { min-height: 0; padding-top: 26px; color: var(--navy); }
.faq-item__head:hover { color: var(--navy); }
.faq-item__icon {
  flex: 0 0 22px;
  height: 22px;
  background: url("../img/icons/faq-closed.svg") center / contain no-repeat;
  transition: transform .4s var(--ease);
}
.faq-item.is-open .faq-item__icon { background-image: url("../img/icons/faq-open.svg"); }
.faq-item__body { display: none; padding: 18px 24px 42px 24px; }
.faq-item.is-open .faq-item__body { display: block; }
.faq-item__body p {
  font-family: var(--f-janna);
  font-size: 22px;
  line-height: 31px;
  color: var(--black);
  text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}
.page-regulations .cta-band { margin-top: 122px; }

/* ---------- شئون الطلاب ---------- */
.forms-sec { padding-top: 115px; }
.forms-sec .sec-head,
.steps-sec .sec-head { margin-bottom: 0; }
.forms-sec .section-badge,
.steps-sec .section-badge { margin-bottom: 2px; }
.forms-sec .section-title,
.steps-sec .section-title { margin-bottom: 27px; }
.forms-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 381px;
  padding: 20px 22px 19px;
  border-radius: var(--radius);
  background: var(--grey-bg);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.form-card:hover { background: var(--white); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); transform: translateY(-4px); }
.form-card__top { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; }
.form-card__icon {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: transform .45s var(--ease);
}
.form-card:hover .form-card__icon { transform: rotate(-8deg) scale(1.05); }
.form-card__icon--grey { background: rgba(91, 82, 82, .08); }
.form-card__icon--blue { background: rgba(127, 136, 168, .8); }
.form-card__icon--cream { background: #ffeecd; }
.form-card__icon--mint { background: #ecfdf5; }
.form-tag {
  margin-top: 18px;
  min-width: 142px;
  height: 30px;
  padding: 0 12px;
  border-radius: 40px;
  font-family: var(--f-janna);
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  color: var(--white);
  white-space: nowrap;
}
.form-tag--gold { background: rgba(25, 181, 182, .83); }
.form-tag--slate { background: rgba(103, 114, 152, .83); }
.form-tag--green { background: #ecfdf5; color: #33a828; }
.form-tag--pink { background: rgba(251, 220, 254, .83); color: #e232d0; }
.form-tag--red { background: rgba(205, 19, 50, .83); }
.form-tag--violet { background: rgba(93, 89, 197, .83); }
.form-card__title {
  margin-top: 16px;
  font-family: var(--f-janna);
  font-size: 24px;
  line-height: 38px;
  color: var(--navy);
}
.form-card__desc { margin-top: 16px; max-width: 518px; font-size: 20px; line-height: 31px; color: var(--grey); }
.form-card__chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 14px; }
.form-card__chips li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 131px;
  height: 30px;
  padding: 0 14px;
  border-radius: 5px;
  background: #f1f5f9;
  font-size: 16px;
  line-height: 25px;
  color: #5b5757;
  white-space: nowrap;
}
.form-card__actions {
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-card__download { flex: 1; }
.form-card__preview {
  flex: 0 0 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #e3e3e3;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: border-color .3s, background-color .3s;
}
.form-card__preview:hover { border-color: var(--gold); background: #fff8ea; }

.steps-sec { padding-top: 98px; }
.steps-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.step-card {
  height: 246px;
  padding-top: 29px;
  border-radius: var(--radius);
  background: var(--grey-bg);
  text-align: center;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), background-color .4s;
}
.step-card:hover { background: var(--white); box-shadow: 0 4px 4px rgba(0, 0, 0, .25); transform: translateY(-6px); }
.step-card__num {
  display: inline-block;
  width: 76px;
  height: 59px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 38px;
  line-height: 59px;
  transition: transform .45s var(--ease);
}
.step-card:hover .step-card__num { transform: rotateY(360deg); }
.step-card--gold .step-card__num { background: var(--gold); }
.step-card h3 { margin-top: 12px; font-family: var(--f-janna); font-size: 24px; line-height: 38px; color: var(--navy); }
.step-card p { max-width: 355px; margin: 8px auto 0; font-size: 16px; line-height: 25px; color: var(--grey); }
.page-students .cta-band { margin-top: 119px; }

/* ---------- النماذج العامة (حقول كبسولة) ---------- */
.site-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 26px; row-gap: 19px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input,
.field textarea,
.field select {
  width: 100%;
  height: 60px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--white);
  font-size: 16px;
  line-height: 25px;
  color: var(--navy);
  outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { height: 158px; padding-top: 20px; border-radius: 25px; resize: vertical; }
.field input[type="tel"], .field input[type="email"] { direction: rtl; text-align: right; }
.field input[type="email"]:not(:placeholder-shown) { direction: ltr; }
.field input::placeholder,
.field textarea::placeholder { color: #989797; }
.field input:focus,
.field textarea:focus { border-color: rgba(25, 181, 182, .6); box-shadow: 0 0 0 4px rgba(25, 181, 182, .12); }
.field__err { display: none; margin: 6px 20px 0 0; font-size: 13px; color: #d50b0b; }
.was-validated .field input:invalid,
.was-validated .field textarea:invalid,
.was-validated .field select:invalid + .select2 .select2-selection { border-color: #e56b6b; }
.was-validated .field input:invalid ~ .field__err,
.was-validated .field textarea:invalid ~ .field__err,
.was-validated .field select:invalid ~ .field__err { display: block; }

/* Select2 بشكل الحقل */
.field .select2-container { width: 100% !important; }
.field .select2-container .select2-selection--single {
  height: 60px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--white);
  outline: 0;
  transition: border-color .3s, box-shadow .3s;
}
.field .select2-container--open .select2-selection--single,
.field .select2-container--focus .select2-selection--single { border-color: rgba(25, 181, 182, .6); box-shadow: 0 0 0 4px rgba(25, 181, 182, .12); }
.field .select2-selection__rendered {
  padding: 0 23px 0 50px !important;
  line-height: 60px !important;
  font-size: 16px;
  color: var(--navy) !important;
  text-align: right;
}
.field .select2-selection__placeholder { color: #989797 !important; }
.field .select2-selection__arrow {
  top: 0 !important;
  right: auto !important;
  left: 15px !important;
  width: 17px !important;
  height: 60px !important;
  background: url("../img/icons/select-arrow.svg") center / 17px 11px no-repeat;
  transition: transform .3s var(--ease);
}
.field .select2-container--open .select2-selection__arrow { transform: rotate(180deg); }
.field .select2-selection__arrow b { display: none; }
.select2-dropdown {
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 34px rgba(9, 21, 64, .16);
  overflow: hidden;
  margin-top: 6px;
  font-family: var(--f-sans);
}
.select2-container--open .select2-dropdown--above { margin-top: -6px; }
.select2-results__option { padding: 11px 20px !important; font-size: 15px; text-align: right; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--navy) !important; color: #fff; }
.select2-container--default .select2-results__option--selected { background: #f2f4fa; }
.select2-search--dropdown { padding: 10px; }
.select2-search--dropdown .select2-search__field { border: 1px solid #e5e8ef !important; border-radius: 30px; padding: 8px 16px !important; outline: 0; }

.btn-submit {
  width: 100%;
  height: 65px;
  margin-top: 35px;
  border: 0;
  border-radius: 40px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 29px;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s;
}
.btn-submit img { transition: transform .45s var(--ease); }
.btn-submit:hover { background: var(--gold); box-shadow: 0 12px 26px rgba(25, 181, 182, .35); }
.btn-submit:hover img { transform: translate(-5px, -3px) rotate(-8deg); }
.btn-submit.is-loading { pointer-events: none; opacity: .75; }
.btn-submit.is-loading span::after { content: "..."; }
.form-alert {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #1c7a3e;
  font-size: 15px;
}
.form-alert.is-visible { display: block; animation: filterIn .45s var(--ease) both; }
.form-alert i { margin-left: 6px; }

/* ---------- التسجيل الإلكتروني ---------- */
.section-title--navy { color: var(--navy); }
.reg-steps-sec { padding-top: 115px; }
.reg-steps-sec .sec-head { margin-bottom: 0; }
.reg-steps-sec .section-badge { margin-bottom: 24px; }
.reg-steps-sec .section-desc { line-height: 37px; }
.adm-steps { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adm-step {
  position: relative;
  height: 113px;
  padding: 6px 11px 0 0;
  border-radius: var(--radius);
  transition: transform .4s var(--ease);
}
.adm-step:hover { transform: translateY(-6px); }
.adm-step--1 { background: linear-gradient(90deg, rgba(248, 251, 255, 0) 17%, #c0d8fd 100%); }
.adm-step--2 { background: linear-gradient(90deg, rgba(248, 251, 255, 0) 17%, rgba(25, 181, 182, .8) 100%); }
.adm-step--3 { background: linear-gradient(90deg, rgba(248, 251, 255, 0) 17%, rgba(255, 103, 103, .8) 100%); }
.adm-step--4 { background: linear-gradient(90deg, rgba(248, 251, 255, 0) 17%, rgba(25, 244, 83, .8) 100%); }
.adm-step__num {
  position: absolute;
  left: -4px;
  top: -70px;
  font-size: 165px;
  line-height: 270px;
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.adm-step:hover .adm-step__num { transform: scale(1.06); }
.adm-step--1 .adm-step__num { color: var(--navy); }
.adm-step--2 .adm-step__num { color: #b79045; }
.adm-step--3 .adm-step__num { color: #ff004f; }
.adm-step--4 .adm-step__num { color: #1ce251; }
.adm-step h3 { position: relative; font-family: var(--f-janna); font-size: 24px; line-height: 38px; color: var(--navy); }
.adm-step p { position: relative; max-width: 230px; margin-top: -1px; font-family: var(--f-janna); font-size: 20px; line-height: 32px; color: var(--muted); }

.conditions-sec { padding-top: 89px; }
.conditions-box {
  position: relative;
  margin: 0 -12px;
  height: 851px;
  padding: 24px 25px 0 0;
  border-radius: 20px;
  background: #f2f7ff;
}
.conditions-box__text { width: 726px; display: flex; flex-direction: column; align-items: flex-start; }
.conditions-box .section-title { margin-top: 21px; line-height: 62px; }
.conditions-box__intro { margin-top: 15px; font-size: 20px; line-height: 33px; color: var(--text); }
.conditions-list { margin-top: 28px; padding: 0; list-style: none; }
.conditions-list li { display: flex; align-items: center; gap: 20px; min-height: 40px; }
.conditions-list li + li { margin-top: 12px; }
.conditions-list span {
  flex: 0 0 22px;
  font-family: var(--f-janna);
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--navy);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25));
}
.conditions-list p {
  font-family: var(--f-janna);
  font-size: 20px;
  line-height: 28px;
  color: var(--navy);
  text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}
.conditions-box__media { position: absolute; left: 19px; bottom: 131px; width: 444px; height: 551px; }
.conditions-box__shape { position: absolute; left: 0; bottom: 0; width: 444px; height: 354px; border-radius: 41px; background: var(--navy-deep); }
.conditions-box__img { position: absolute; left: 18px; bottom: 0; width: 362px; height: 551px; object-fit: contain; }

.apply-sec { padding-top: 90px; scroll-margin-top: 100px; }
.form-card-wrap {
  position: relative;
  width: 906px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--grey-bg);
  box-shadow: 8px 9px 0 0 var(--navy), 0 3px 18px rgba(0, 0, 0, .1);
}
.site-form--apply { padding: 63px 51px 34px; }
.site-form__head { display: flex; align-items: flex-start; gap: 8px; padding-right: 3px; }
.site-form__head img { margin-top: 11px; }
.site-form__head h2 { font-size: 38px; line-height: 62px; color: var(--navy); }
.site-form__head p { margin-top: -7px; font-size: 20px; line-height: 33px; color: var(--text); }
.site-form--apply .site-form__grid { margin-top: 24px; }
.page-registration .cta-band { margin-top: 110px; }

/* ---------- التوظيف ---------- */
.careers-sec { padding-top: 115px; }
.careers-sec .sec-head { margin-bottom: 0; }
.careers-sec .section-badge { margin-bottom: 2px; }
.careers-sec .section-title { margin-bottom: 27px; }
.section-desc--687 { max-width: 687px; line-height: 31px; }
.job-form-card {
  width: 827px;
  margin: 51px auto 0;
  border-radius: var(--radius);
  background: var(--grey-bg);
}
.site-form--job { padding: 46px 20px 38px; }
.site-form__center-head { text-align: center; }
.site-form__center-head h2 { font-size: 38px; line-height: 62px; color: var(--black); }
.site-form__center-head p { max-width: 499px; margin: 2px auto 0; font-size: 18px; line-height: 31px; color: var(--text); }
.site-form--job .site-form__grid { margin-top: 35px; column-gap: 17px; row-gap: 25px; }
.site-form--job .field input,
.site-form--job .field .select2-selection--single { border-radius: 70px; }
.btn-submit--auto { width: 250px; margin: 26px 0 0 auto; margin-right: 6px; }
.file-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  border: 1.5px dashed rgba(25, 181, 182, .7);
  border-radius: 25px;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.file-drop:hover { background: #fffaf0; border-color: var(--gold); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop.has-file { border-style: solid; color: var(--navy); font-weight: 700; }
.page-careers .cta-band { margin-top: 90px; }

/* ---------- تواصل معنا ---------- */
.contact-sec { padding-top: 115px; }
.contact-sec .sec-head { margin-bottom: 0; }
.contact-sec .section-badge { margin-bottom: 16px; }
.contact-sec .section-title { margin-bottom: 13px; }
.contact-cards {
  margin: 17px 1px 0 1px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}
.contact-card { position: relative; padding-top: 46px; }
.contact-card__num {
  position: absolute;
  top: 0;
  left: 19px;
  z-index: 1;
  font-weight: 700;
  font-size: 80px;
  line-height: 131px;
  color: #d7d7d7;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.contact-card.is-active .contact-card__num,
.contact-card:hover .contact-card__num { color: var(--navy); }
.contact-card:hover .contact-card__num { transform: translateY(-6px); }
.contact-card__box {
  height: 224px;
  padding: 64px 28px 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .4s var(--ease), border-color .4s;
}
.contact-card:hover .contact-card__box { box-shadow: 0 14px 30px rgba(9, 21, 64, .08); border-color: #eee; }
.contact-card__icon {
  width: 75px;
  height: 72px;
  border-radius: 4px;
  background: var(--navy);
  display: grid;
  place-items: center;
  transition: background-color .4s;
}
.contact-card:hover .contact-card__icon { background: var(--gold); }
.contact-card h3 { margin-top: 7px; font-size: 25px; line-height: 41px; color: var(--navy); }
.contact-card p { margin-top: -5px; font-size: 19px; line-height: 30px; color: #606060; }
.contact-card p a { color: inherit; }
.contact-card p a:hover { color: var(--gold); }

.contact-map { position: relative; margin-top: 75px; height: 625px; overflow: hidden; }
.contact-map__link { display: block; height: 100%; }
.contact-map__link img { width: 100%; height: 100%; object-fit: cover; }
.contact-map__link::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); transition: background-color .4s; }
.contact-map__link:hover::after { background: rgba(0, 0, 0, .1); }
.contact-map__pin {
  position: absolute;
  top: 40px;
  right: 50%;
  transform: translateX(50%);
  z-index: 1;
  padding: 10px 22px;
  border-radius: 40px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
  opacity: 0;
  transition: opacity .35s, transform .35s var(--ease);
}
.contact-map__pin i { color: #d50b0b; margin-left: 6px; }
.contact-map__link:hover .contact-map__pin { opacity: 1; transform: translateX(50%) translateY(6px); }

.contact-form-sec { position: relative; z-index: 2; margin-top: -292px; }
.contact-form-card { border-radius: var(--radius); background: var(--grey-bg); }
.site-form--contact { padding: 87px 93px 103px; }
.site-form--contact .site-form__center-head h2 { color: var(--navy); }
.site-form--contact .site-form__center-head p { max-width: none; margin-top: -7px; font-size: 20px; line-height: 37px; }
.site-form--contact .site-form__grid { margin-top: 22px; column-gap: 14px; row-gap: 22px; }
.site-form--contact .btn-submit { margin-top: 32px; }
.page-contact .cta-band { margin-top: 116px; }

/* ==========================================================
   صفحات إضافية بنفس الهوية
   ========================================================== */

/* ---------- قوائم الأخبار والمركز الإعلامي ---------- */
.listing-sec { position: relative; padding: 110px 0 0; overflow: hidden; }
.listing-sec--news { padding-bottom: 20px; background: linear-gradient(180deg, #fdfeff 0%, rgba(212, 239, 255, .6) 100%); }
.listing-sec .container { position: relative; z-index: 1; }
.listing-sec .sec-head { margin-bottom: 42px; }
.listing-sec .filter-tabs { margin-top: 65px; }
.news-grid--listing { row-gap: 24px; }
.listing-sec .media-grid { row-gap: 17px; }
.pagination-nav {
  margin: 56px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-bottom: 10px;
}
.pagination-nav a,
.pagination-nav span {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-num);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  background: rgba(9, 21, 64, .07);
  transition: background-color .3s, color .3s, transform .3s;
}
.pagination-nav span { background: none; }
.pagination-nav a:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.pagination-nav a.is-active { background: var(--navy); color: var(--white); box-shadow: 0 4px 16px rgba(9, 21, 64, .4); }
.pagination-nav__arrow { background: var(--navy) !important; }
.pagination-nav__arrow:hover { background: var(--gold) !important; }
.page-news .cta-band,
.page-media .cta-band { margin-top: 120px; }

/* ---------- تفاصيل الخبر ---------- */
.article-sec { padding-top: 100px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.article__title { margin-top: 16px; font-size: 38px; line-height: 58px; color: var(--black); }
.article__meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--f-janna);
  font-size: 15px;
  color: #7a7a79;
}
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .fa-clock { font-size: 19px; color: #7a7a79; }
.article__cover { margin: 28px 0 0; height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body { margin-top: 34px; }
.article__body p { font-size: 18px; line-height: 34px; color: var(--text-2); text-align: justify; }
.article__body p + p { margin-top: 14px; }
.article__body h2 { margin: 30px 0 12px; font-size: 26px; line-height: 42px; color: var(--navy); }
.article__body ul { margin: 0 0 10px; }
.article__body ul li { position: relative; padding-right: 34px; font-size: 18px; line-height: 38px; color: var(--navy); }
.article__body ul li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 7px;
  width: 24px;
  height: 24px;
  background: url("../img/icons/tick-circle-light.svg") center / contain no-repeat;
}
.article__body a { color: var(--gold); font-weight: 700; }
.article__body blockquote {
  margin: 28px 0;
  padding: 26px 30px;
  border-right: 5px solid var(--gold);
  border-radius: 15px;
  background: #fff8ea;
}
.article__body blockquote p { font-weight: 700; font-size: 20px; color: var(--navy); }
.article__body blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--gold-dark); }
.article__gallery { margin: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article__gallery a { display: block; height: 170px; border-radius: 12px; overflow: hidden; }
.article__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article__gallery a:hover img { transform: scale(1.08); }
.article__footer {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.article__tags,
.article__share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.article__tags span,
.article__share span { font-weight: 700; color: var(--navy); margin-left: 4px; }
.article__tags a { padding: 5px 14px; border-radius: 30px; background: #f1f5f9; font-size: 14px; color: #5b5757; }
.article__tags a:hover { background: var(--gold); color: var(--white); }
.article__share a,
.article__share button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: background-color .3s, transform .3s;
}
.article__share a:hover,
.article__share button:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }
.article__share button.is-copied { background: #32ba46; }

.article-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.side-search {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 22px 0 8px;
  border-radius: 100px;
  background: var(--grey-bg);
  box-shadow: 0 1px 5px rgba(0, 0, 0, .15);
}
.side-search input { flex: 1; border: 0; background: none; outline: 0; font-size: 16px; }
.side-search button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.side-search button img { filter: brightness(0) invert(1); }
.side-box { padding: 24px 22px; border-radius: 20px; background: #fbfcfe; box-shadow: 0 1px 5px rgba(0, 0, 0, .2); }
.side-box__title {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-family: var(--f-janna);
  font-size: 22px;
  line-height: 34px;
  color: var(--navy);
}
.side-box__title::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 4px; border-radius: 4px; background: var(--gold); }
.side-news li + li { margin-top: 16px; }
.side-news a { display: flex; align-items: center; gap: 12px; }
.side-news img { flex: 0 0 86px; height: 72px; border-radius: 10px; object-fit: cover; }
.side-news b { display: block; font-family: var(--f-janna); font-size: 16px; line-height: 25px; color: var(--black); transition: color .3s; }
.side-news small { display: block; margin-top: 4px; font-size: 13px; color: #7a7a79; }
.side-news a:hover b { color: var(--gold); }
.side-cats li + li { border-top: 1px solid #eef0f4; }
.side-cats a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 16px; color: var(--text); }
.side-cats a span { min-width: 32px; height: 26px; padding: 0 8px; border-radius: 20px; background: rgba(9, 21, 64, .07); font-family: var(--f-num); font-size: 13px; line-height: 26px; text-align: center; color: var(--navy); transition: .3s; }
.side-cats a:hover span { background: var(--gold); color: var(--white); }
.side-cta { padding: 28px 24px; border-radius: 20px; background: var(--navy) url("../img/home/cta-lines.png") left bottom / 180% no-repeat; color: var(--white); }
.side-cta h3 { font-size: 22px; line-height: 34px; color: var(--white); }
.side-cta p { margin: 6px 0 18px; font-size: 15px; color: #c2daff; }
.btn-arrow--gold { background: var(--gold); }
.btn-arrow--gold::before { background: var(--white); }
.btn-arrow--gold .btn-arrow__icon { background: var(--navy); }
.btn-arrow--gold:hover { color: var(--navy); }
.related-sec { padding-top: 100px; }
.related-sec .sec-head--bottom .btn-arrow { margin-top: 50px; }
.owl-carousel.news-grid { display: block; }
.owl-generic .owl-stage-outer { padding: 10px 0 20px; }
.owl-generic .owl-dots { margin-top: 10px; display: flex; justify-content: center; gap: 8px; }
.owl-generic .owl-dot span { display: block; width: 10px; height: 10px; border-radius: 10px; background: rgba(9, 21, 64, .2); transition: .3s; }
.owl-generic .owl-dot.active span { width: 28px; background: var(--gold); }
.page-article .cta-band { margin-top: 110px; }

/* ---------- صفحة الأسئلة الشائعة ---------- */
.faq-sec--page { padding-top: 110px; }
.faq-sec--page .sec-head { margin-bottom: 40px; }
.faq-sec--page .filter-tabs { margin-top: 65px; }
.faq-sec--page .faq-item + .faq-item { margin-top: 16px; }
.faq-item__body a { color: var(--gold); font-weight: 700; text-shadow: none; }
.faq-help {
  margin-top: 50px;
  padding: 34px 40px;
  border-radius: 20px;
  background: var(--navy) url("../img/home/cta-lines.png") left center / auto 100% no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-help h3 { font-size: 28px; line-height: 44px; color: var(--white); }
.faq-help p { font-size: 17px; color: #c2daff; }
.page-faq .cta-band { margin-top: 120px; }

/* ---------- الخصوصية والشروط ---------- */
.legal-sec { padding-top: 102px; }
.legal-sec .section-badge { margin-bottom: 20px; }
.legal-sec .section-title { margin-bottom: 10px; }
.legal-updated { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 30px; background: #f1f5f9; font-size: 14px; color: #5b5757; }
.legal-layout { margin-top: 44px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-toc { position: sticky; top: 110px; padding: 26px 22px; border-radius: 20px; background: var(--navy); color: var(--white); }
.legal-toc h3 { margin-bottom: 14px; font-size: 20px; color: var(--white); }
.legal-toc ol { padding: 0; list-style: none; }
.legal-toc a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15px; color: rgba(255, 255, 255, .85); transition: background-color .3s, color .3s; }
.legal-toc a span { font-family: var(--f-num); font-weight: 700; font-size: 13px; color: var(--gold); }
.legal-toc a:hover,
.legal-toc a.is-active { background: rgba(255, 255, 255, .08); color: var(--white); }
.legal-block { padding: 28px 30px; border-radius: 20px; background: #fbfcfe; box-shadow: 0 1px 5px rgba(0, 0, 0, .15); scroll-margin-top: 110px; }
.legal-block + .legal-block { margin-top: 18px; }
.legal-block h2 { display: flex; align-items: center; gap: 14px; font-family: var(--f-janna); font-size: 26px; line-height: 40px; color: var(--navy); }
.legal-block h2 span { width: 44px; height: 44px; border-radius: 12px; background: rgba(25, 181, 182, .16); display: grid; place-items: center; font-family: var(--f-num); font-size: 15px; color: var(--gold-dark); }
.legal-block p,
.legal-block li { margin-top: 12px; font-size: 18px; line-height: 32px; color: var(--text-2); }
.legal-block ul { margin-top: 4px; }
.legal-block li { position: relative; padding-right: 32px; margin-top: 10px; }
.legal-block li::before { content: ""; position: absolute; right: 0; top: 5px; width: 22px; height: 22px; background: url("../img/icons/tick-circle-light.svg") center / contain no-repeat; }
.page-legal .cta-band { margin-top: 120px; }

/* ---------- البحث ---------- */
.search-sec { padding-top: 90px; }
.search-page-form {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 80px;
  padding: 0 28px 0 12px;
  border-radius: 100px;
  background: var(--white);
  box-shadow: 8px 9px 0 0 var(--navy), 0 3px 24px rgba(0, 0, 0, .1);
}
.search-page-form > i { color: var(--gold); font-size: 20px; }
.search-page-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 18px; color: var(--navy); }
.search-suggest { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.search-suggest a { padding: 6px 16px; border-radius: 30px; background: rgba(9, 21, 64, .07); color: var(--navy); transition: .3s; }
.search-suggest a:hover { background: var(--gold); color: var(--white); }
.search-count { margin-top: 34px; font-size: 18px; color: var(--text); }
.search-count b { color: var(--navy); }
.search-results { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.search-result {
  position: relative;
  display: block;
  padding: 24px 26px 24px 70px;
  border-radius: 18px;
  background: var(--grey-bg);
  animation: filterIn .5s var(--ease) both;
  transition: background-color .3s, box-shadow .3s, transform .3s;
}
.search-result:hover { background: var(--white); box-shadow: 0 10px 26px rgba(9, 21, 64, .1); transform: translateY(-3px); }
.search-result__cat { display: inline-block; padding: 3px 12px; border-radius: 30px; background: rgba(25, 181, 182, .16); font-size: 13px; color: var(--gold-dark); }
.search-result h3 { margin-top: 8px; font-family: var(--f-janna); font-size: 22px; line-height: 34px; color: var(--navy); }
.search-result p { margin-top: 4px; font-size: 15px; line-height: 26px; color: var(--text); }
.search-result i { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; transition: transform .3s; }
.search-result:hover i { transform: translate(-5px, -50%); }
.search-empty { margin-top: 30px; padding: 50px 20px; border-radius: 20px; background: var(--grey-bg); text-align: center; }
.search-empty > i { font-size: 40px; color: var(--gold); }
.search-empty h3 { margin-top: 14px; font-size: 24px; color: var(--navy); }
.search-empty p { color: var(--text); }
.page-search .cta-band { margin-top: 120px; }

/* ---------- 404 ---------- */
.error-sec { padding-top: 90px; }
.error-box { position: relative; padding: 50px 20px 10px; text-align: center; }
.error-box__dots { position: absolute; top: 0; right: 8%; width: 150px; opacity: .5; animation: dotsFloat 6s ease-in-out infinite; }
.error-box__code { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--f-num); font-weight: 700; font-size: 190px; line-height: 1; }
.error-box__code > span:not(.error-box__zero) { background: linear-gradient(180deg, var(--gold) 0%, #7fdbdc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-box__zero { width: 170px; height: 170px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(9, 21, 64, .3); animation: spinSlow 14s linear infinite; }
.error-box__zero img { width: 130px; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.error-box h2 { margin-top: 30px; font-size: 34px; line-height: 54px; color: var(--navy); }
.error-box p { max-width: 620px; margin: 8px auto 0; font-size: 18px; line-height: 31px; color: var(--text); }
.error-box__search { max-width: 520px; margin: 28px auto 0; }
.error-box__actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.page-404 .cta-band { margin-top: 120px; }

.page-departments .cta-band { margin-top: 118px; }

/* ترقيم: السهم المعطّل */
.pagination-nav a.is-disabled { opacity: .35; pointer-events: none; }
