{"id":9762,"date":"2026-03-15T17:05:28","date_gmt":"2026-03-15T14:05:28","guid":{"rendered":"https:\/\/sarhgroups.com\/chrm"},"modified":"2026-08-19T14:24:34","modified_gmt":"2026-08-19T11:24:34","slug":"chrm","status":"publish","type":"page","link":"https:\/\/sarhgroups.com\/en\/chrm","title":{"rendered":"Certified Human Resources Manager (CHRM)"},"content":{"rendered":"\n<style>\n\/* =========================================================\n   Sarh - CHRM certification page  \u00b7  scope: .chrm-v4\n   Navy #16243f \u00b7 Red #b5181a \u00b7 Warm #f7f6f3\n   All landscape media locked to 16:10.\n   ========================================================= *\/\n.chrm-v4,.chrm-v4 *{box-sizing:border-box}\n.chrm-v4{\n  --nv:#16243f; --nvd:#101827; --rd:#b5181a; --rdd:#8f1214;\n  --soft:#f7f6f3; --mist:#eef3f7; --line:#dfe4ea;\n  --tx:#3f4a5d; --mu:#687386; --pk:#f3abb1;\n  width:100vw; margin-right:calc(50% - 50vw); margin-left:calc(50% - 50vw);\n  overflow:hidden; direction:ltr; text-align:left;\n  color:var(--tx); background:#fff; font-family:inherit;\n}\n.chrm-v4 img{display:block; max-width:100%}\n.chrm-v4 a{color:inherit}\n.chrm-v4 [id]{scroll-margin-top:110px}\n.chrm-wrap{width:min(1180px,calc(100% - 48px)); margin-inline:auto}\n.chrm-sec{padding:86px 0}\n.chrm-sec.is-soft{background:var(--soft)}\n.chrm-sec.is-mist{background:var(--mist)}\n\n.chrm-kick{display:inline-flex; align-items:center; gap:10px; margin:0 0 12px;\n  color:var(--rd); font-size:13px; line-height:1.5; font-weight:800}\n.chrm-kick::before{content:\"\"; width:8px; height:8px; flex:none; border-radius:50%;\n  background:currentColor; box-shadow:0 0 0 6px rgba(181,24,26,.09)}\n\n.chrm-head{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);\n  gap:56px; align-items:end; margin-bottom:38px}\n.chrm-head h2,.chrm-copy h2{margin:0; color:var(--nvd);\n  font-size:clamp(34px,4.1vw,56px); line-height:1.18; font-weight:850; letter-spacing:-.015em}\n.chrm-head>p,.chrm-copy>p{margin:0; color:var(--mu); font-size:16px; line-height:1.95}\n\n\/* ---------- hero ---------- *\/\n.chrm-hero{position:relative; isolation:isolate; padding:32px 0 90px; overflow:hidden; color:#fff;\n  background:radial-gradient(circle at 6% 10%,rgba(181,24,26,.24),transparent 26%),\n             linear-gradient(135deg,var(--nvd) 0%,var(--nv) 62%,#22375e 100%)}\n.chrm-hero::before{content:\"\"; position:absolute; z-index:-1; width:520px; height:520px;\n  left:-230px; top:-260px; border:78px solid rgba(255,255,255,.035); border-radius:50%}\n.chrm-crumbs{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:44px;\n  color:#afbbcf; font-size:12px; line-height:1.7}\n.chrm-crumbs a{color:#dce3ee; text-decoration:none}\n.chrm-crumbs a:hover{color:#fff}\n.chrm-hero-grid{display:grid; grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);\n  gap:68px; align-items:center}\n.chrm-hero .chrm-kick{color:var(--pk)}\n.chrm-hero .chrm-kick::before{box-shadow:0 0 0 6px rgba(243,171,177,.1)}\n.chrm-hero h1{max-width:15ch; margin:0 0 22px; color:#fff;\n  font-size:clamp(44px,5vw,72px); line-height:1.14; font-weight:850; letter-spacing:-.02em}\n.chrm-hero h1 span{color:#ffbec3}\n.chrm-lead{max-width:56ch; margin:0 0 26px; color:#d8dfeb; font-size:18px; line-height:1.95}\n.chrm-tags{display:flex; flex-wrap:wrap; gap:9px; margin-bottom:28px}\n.chrm-tags span{padding:8px 13px; border:1px solid rgba(255,255,255,.15); border-radius:999px;\n  background:rgba(255,255,255,.07); color:#fff; font-size:12px; line-height:1.4; font-weight:750}\n.chrm-acts{display:flex; flex-wrap:wrap; gap:11px}\n.chrm-btn{display:inline-flex; align-items:center; justify-content:center; min-height:50px;\n  padding:12px 26px; border:1px solid transparent; border-radius:999px;\n  font-size:14px; line-height:1.5; font-weight:800; text-decoration:none !important;\n  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease}\n.chrm-btn:hover{transform:translateY(-2px)}\n.chrm-btn-red{background:var(--rd); color:#fff !important}\n.chrm-btn-red:hover{background:var(--rdd)}\n.chrm-btn-out{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.06); color:#fff !important}\n.chrm-btn-out:hover{border-color:#fff; background:#fff; color:var(--nv) !important}\n.chrm-btn-nv{background:var(--nv); color:#fff !important}\n.chrm-btn-nv:hover{background:var(--nvd)}\n.chrm-btn-lt{background:#fff; color:var(--nv) !important}\n.chrm-btn-lt:hover{background:var(--nv); color:#fff !important}\n.chrm-btn-gh{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff !important}\n.chrm-btn-gh:hover{background:#fff; color:var(--rdd) !important}\n\n.chrm-hero-media{position:relative; min-width:0; display:grid; place-items:center}\n\/* IMA Gold CMA seal \u2014 transparent PNG sitting straight on the navy, with a warm halo *\/\n.chrm-seal{position:relative; display:grid; place-items:center; width:min(430px,100%); aspect-ratio:1}\n.chrm-seal::before{content:\"\"; position:absolute; inset:-6%; border-radius:50%;\n  background:radial-gradient(circle,rgba(226,183,101,.30) 0%,rgba(226,183,101,.10) 46%,transparent 68%)}\n.chrm-seal::after{content:\"\"; position:absolute; inset:2%; border-radius:50%;\n  box-shadow:0 34px 80px rgba(0,0,0,.42)}\n.chrm-seal img{position:relative; z-index:1; width:100%; height:auto}\n.chrm-badge{position:absolute; z-index:4; left:-22px; bottom:-26px; width:min(252px,76%);\n  padding:17px 20px; border:1px solid rgba(22,36,63,.08); border-radius:20px; background:#fff;\n  box-shadow:0 24px 56px rgba(10,19,37,.25); color:var(--nv)}\n.chrm-badge strong{display:block; margin-bottom:3px; font-family:Montserrat,Cairo,sans-serif;\n  font-size:30px; line-height:1.15; color:var(--rd)}\n.chrm-badge span{display:block; color:var(--mu); font-size:11.5px; line-height:1.7}\n\n\/* ---------- proof card overlapping hero ---------- *\/\n.chrm-proof-wrap{position:relative; z-index:5; margin-top:-38px}\n.chrm-proof{display:grid; grid-template-columns:158px minmax(0,1fr); gap:28px; align-items:center;\n  padding:31px 34px; border:1px solid var(--line); border-radius:28px; background:#fff;\n  box-shadow:0 22px 58px rgba(22,36,63,.11)}\n.chrm-proof-tag{display:grid; place-items:center; min-height:110px; padding:16px; border-radius:20px;\n  background:var(--mist); color:var(--nv); text-align:center; font-size:14px; line-height:1.55; font-weight:850}\n.chrm-proof p{margin:0; color:var(--tx); font-size:17px; line-height:2}\n\n\/* ---------- facts ---------- *\/\n.chrm-facts{padding:42px 0 60px}\n.chrm-facts-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}\n.chrm-fact{position:relative; overflow:hidden; padding:25px 23px; border:1px solid var(--line);\n  border-radius:22px; background:#fff}\n.chrm-fact::after{content:\"\"; position:absolute; left:-32px; bottom:-42px; width:110px; height:110px;\n  border-radius:50%; background:var(--mist)}\n.chrm-fact-l{position:relative; z-index:1; display:block; color:var(--rd);\n  font-size:13px; line-height:1.5; font-weight:850}\n.chrm-fact strong{position:relative; z-index:1; display:block; margin-top:10px; color:var(--nv);\n  font-family:Montserrat,Cairo,sans-serif; font-size:clamp(30px,3vw,44px); line-height:1.05; direction:ltr}\n.chrm-fact em{position:relative; z-index:1; display:block; margin-top:10px; color:var(--mu);\n  font-size:12px; line-height:1.7; font-style:normal}\n\n\/* ---------- toc ---------- *\/\n.chrm-toc{padding-bottom:26px}\n.chrm-toc-card{padding:22px; border:1px solid var(--line); border-radius:22px; background:var(--soft)}\n.chrm-toc-t{margin:0 0 13px; color:var(--nv); font-size:14px; line-height:1.5; font-weight:850}\n.chrm-toc-l{display:flex; flex-wrap:wrap; gap:8px}\n.chrm-toc-l a{padding:8px 12px; border:1px solid #d8dee7; border-radius:999px; background:#fff;\n  color:var(--nv); font-size:12px; line-height:1.5; font-weight:750; text-decoration:none;\n  transition:border-color .2s ease,color .2s ease}\n.chrm-toc-l a:hover{border-color:var(--rd); color:var(--rd)}\n\n\/* ---------- split ---------- *\/\n.chrm-split{display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:62px; align-items:center}\n.chrm-split.flip{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}\n.chrm-media{position:relative; overflow:hidden; margin:0; border-radius:30px; background:var(--mist);\n  box-shadow:0 22px 60px rgba(22,36,63,.1)}\n.chrm-media img{width:100%; aspect-ratio:16\/10; object-fit:cover}\n.chrm-media figcaption{padding:12px 18px; color:var(--mu); font-size:11.5px; line-height:1.7; background:#fff}\n\/* diagram\/artwork rather than a photo: show it whole on white, no cropping *\/\n.chrm-media-plain{background:#fff}\n.chrm-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px}\n.chrm-copy h2{margin-bottom:20px}\n.chrm-copy>p+p{margin-top:14px}\n.chrm-list{display:grid; gap:12px; margin:25px 0 0; padding:0; list-style:none}\n.chrm-list li{position:relative; padding:16px 17px 16px 48px; border:1px solid var(--line);\n  border-radius:16px; background:#fff; color:var(--tx); font-size:14px; line-height:1.8}\n.chrm-list li strong{color:var(--nv)}\n.chrm-list li::before{content:\"\\2713\"; position:absolute; top:16px; left:15px; display:grid; place-items:center;\n  width:24px; height:24px; border-radius:50%; background:rgba(181,24,26,.09); color:var(--rd);\n  font-size:12px; font-weight:900}\n\n\/* ---------- cards ---------- *\/\n.chrm-cards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}\n.chrm-card{min-width:0; padding:27px 25px; border:1px solid var(--line); border-radius:22px; background:#fff;\n  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}\n.chrm-card span{display:inline-flex; margin-bottom:15px; padding:6px 11px; border-radius:999px;\n  background:var(--mist); color:var(--rd); font-size:11px; line-height:1.5; font-weight:850}\n.chrm-card h3{margin:0 0 10px; color:var(--nv); font-size:19px; line-height:1.45}\n.chrm-card p{margin:0; color:var(--mu); font-size:14px; line-height:1.85}\n@media(hover:hover){.chrm-card:hover{transform:translateY(-5px); border-color:transparent;\n  box-shadow:0 20px 48px rgba(22,36,63,.11)}}\n\n\/* ---------- dates banner ---------- *\/\n.chrm-banner{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:26px; align-items:center;\n  margin-top:26px; padding:24px 26px; border-left:5px solid var(--rd); border-radius:18px; background:#f7e9eb}\n.chrm-banner strong{display:block; margin-bottom:5px; color:var(--nv); font-size:16px; line-height:1.6}\n.chrm-banner p{margin:0; color:var(--tx); font-size:13px; line-height:1.8}\n\n\/* ---------- tables ---------- *\/\n.chrm-part{margin:0 0 15px; color:var(--nv); font-size:clamp(18px,2vw,23px); line-height:1.45}\n.chrm-part small{display:inline-block; margin-inline-start:10px; padding:5px 11px; border-radius:999px;\n  background:var(--mist); color:var(--rd); font-size:11.5px; font-weight:850; vertical-align:middle}\n.chrm-tw{overflow-x:auto; border:1px solid var(--line); border-radius:22px; background:#fff;\n  box-shadow:0 12px 35px rgba(22,36,63,.05)}\n.chrm-tb{width:100%; min-width:640px; border-collapse:collapse; text-align:left}\n.chrm-tb th,.chrm-tb td{padding:17px 19px; border-bottom:1px solid var(--line); vertical-align:top;\n  font-size:13px; line-height:1.75}\n.chrm-tb th{background:var(--nv); color:#fff; font-weight:800}\n.chrm-tb td{color:var(--tx)}\n.chrm-tb td:first-child{color:var(--nv); font-weight:800}\n.chrm-tb tr:last-child td{border-bottom:0}\n.chrm-tb .w{white-space:nowrap; color:var(--rd); font-weight:850}\n\n\/* ---------- IMA band ---------- *\/\n.chrm-ima{display:grid; grid-template-columns:210px minmax(0,1fr); gap:46px; align-items:center;\n  padding:42px; border-radius:30px; background:var(--nv); color:#fff;\n  box-shadow:0 24px 66px rgba(22,36,63,.16)}\n.chrm-ima.is-solo{grid-template-columns:1fr}\n.chrm-ima-logo{display:grid; place-items:center; padding:22px; border-radius:22px; background:#fff}\n.chrm-ima-logo img{width:100%; height:auto}\n.chrm-ima h2{margin:0 0 13px; color:#fff; font-size:clamp(28px,3.2vw,42px); line-height:1.22}\n.chrm-ima p{margin:0 0 18px; color:#d3dce8; font-size:15px; line-height:1.95}\n.chrm-ima-pts{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px}\n.chrm-ima-pt{padding:15px 17px; border:1px solid rgba(255,255,255,.13); border-radius:15px;\n  background:rgba(255,255,255,.06); color:#fff; font-size:12.5px; line-height:1.7; font-weight:730}\n\n\/* ---------- steps ---------- *\/\n.chrm-path{background:var(--nv); color:#fff}\n.chrm-path .chrm-head h2{color:#fff}\n.chrm-path .chrm-head>p{color:#cbd5e1}\n.chrm-steps{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; counter-reset:cs}\n.chrm-step{position:relative; min-height:215px; padding:23px 20px; overflow:hidden;\n  border:1px solid rgba(255,255,255,.13); border-radius:20px; background:rgba(255,255,255,.06)}\n.chrm-step::before{counter-increment:cs; content:\"0\" counter(cs); display:block; margin-bottom:26px;\n  color:var(--pk); font-family:Montserrat,Cairo,sans-serif; font-size:13px; font-weight:850}\n.chrm-step h3{margin:0 0 9px; color:#fff; font-size:16px; line-height:1.5}\n.chrm-step p{margin:0; color:#c8d2e0; font-size:12px; line-height:1.8}\n\n\/* ---------- testimonials ---------- *\/\n.chrm-tests{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch}\n.chrm-test{display:flex; flex-direction:column; height:100%; margin:0; padding:27px 25px; border:1px solid var(--line);\n  border-radius:22px; background:#fff}\n.chrm-test blockquote{flex:1; margin:0 0 18px; padding:0; border:0; color:var(--tx);\n  font-size:13.5px; line-height:2}\n.chrm-test blockquote::before{content:\"\\201D\"; display:block; margin-bottom:2px; color:var(--rd);\n  font-family:Georgia,serif; font-size:42px; line-height:.7}\n.chrm-test figcaption{display:flex; align-items:center; gap:12px; margin:0;\n  padding-top:16px; border-top:1px solid var(--line)}\n.chrm-test img{width:52px; height:52px; flex:none; border-radius:50%; object-fit:cover}\n.chrm-test b{display:block; color:var(--nv); font-size:14px; line-height:1.5}\n.chrm-test em{display:block; color:var(--mu); font-size:11.5px; line-height:1.6; font-style:normal}\n\n\/* ---------- faq ---------- *\/\n.chrm-faq{display:grid; gap:11px}\n.chrm-faq details{overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff}\n.chrm-faq summary{position:relative; display:flex; align-items:center; min-height:64px;\n  padding:16px 54px 16px 20px; color:var(--nv); font-size:15px; line-height:1.6; font-weight:820;\n  cursor:pointer; list-style:none}\n.chrm-faq summary::-webkit-details-marker{display:none}\n.chrm-faq summary::after{content:\"+\"; position:absolute; right:19px; top:50%; display:grid; place-items:center;\n  width:28px; height:28px; border-radius:50%; background:var(--mist); color:var(--nv);\n  font-size:18px; transform:translateY(-50%)}\n.chrm-faq details[open] summary{background:var(--soft); color:var(--rd)}\n.chrm-faq details[open] summary::after{content:\"\\2212\"; background:var(--rd); color:#fff}\n.chrm-faq-a{padding:0 20px 20px; color:var(--mu); font-size:14px; line-height:1.95}\n.chrm-faq-a p{margin:0}\n\n\/* ---------- cta ---------- *\/\n.chrm-cta-sec{padding:0 0 90px; background:#fff}\n.chrm-cta{position:relative; overflow:hidden; display:grid;\n  grid-template-columns:minmax(0,1fr) minmax(330px,.62fr); gap:48px; align-items:center;\n  padding:54px 56px; border-radius:34px; background:var(--rdd); color:#fff;\n  box-shadow:0 24px 70px rgba(91,10,13,.2)}\n.chrm-cta::after{content:\"\"; position:absolute; width:320px; height:320px; left:-120px; bottom:-200px;\n  border:54px solid rgba(255,255,255,.055); border-radius:50%}\n.chrm-cta h2{margin:0 0 13px; color:#fff; font-size:clamp(32px,3.7vw,52px); line-height:1.2}\n.chrm-cta p{max-width:60ch; margin:0; color:#ffe5e8; font-size:15px; line-height:1.9}\n.chrm-cta-acts{position:relative; z-index:2; display:grid; gap:10px}\n.chrm-cta .chrm-btn{width:100%}\n\n\/* ---------- tablet ---------- *\/\n@media(max-width:1024px){\n  .chrm-hero-grid,.chrm-split,.chrm-split.flip,.chrm-head,.chrm-ima,.chrm-cta{grid-template-columns:1fr}\n  .chrm-hero-grid{gap:52px}\n  .chrm-hero-media{width:min(700px,100%); margin-inline:auto}\n  .chrm-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .chrm-cards,.chrm-tests{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .chrm-steps{grid-template-columns:repeat(3,minmax(0,1fr))}\n  .chrm-step{min-height:190px}\n  .chrm-ima-logo{width:min(210px,60%); margin-inline:auto}\n  .chrm-cta-acts{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n\/* ---------- mobile ---------- *\/\n@media(max-width:767px){\n  .chrm-wrap{width:calc(100% - 32px)}\n  .chrm-sec{padding:62px 0}\n  .chrm-hero{padding:22px 0 68px}\n  .chrm-crumbs{margin-bottom:32px}\n  .chrm-hero h1{font-size:38px; line-height:1.22; max-width:none}\n  .chrm-lead{font-size:16px; line-height:1.9}\n  .chrm-acts{display:grid; grid-template-columns:1fr}\n  .chrm-btn{width:100%}\n  .chrm-frame{border-radius:24px}\n  .chrm-frame img{border-radius:17px}\n  .chrm-seal{width:min(280px,72%)}\n  .chrm-badge{position:relative; left:auto; right:auto; bottom:auto; width:calc(100% - 28px); margin:6px auto 0}\n  .chrm-proof-wrap{margin-top:-26px}\n  .chrm-proof{grid-template-columns:1fr; gap:18px; padding:23px 21px; border-radius:22px}\n  .chrm-proof-tag{min-height:auto; text-align:left}\n  .chrm-proof p{font-size:15px}\n  .chrm-facts{padding:30px 0 50px}\n  .chrm-facts-grid{grid-template-columns:1fr; gap:10px}\n  .chrm-fact{padding:21px 18px}\n  .chrm-fact strong{font-size:32px}\n  .chrm-toc-card{padding:18px}\n  .chrm-head{gap:17px; margin-bottom:28px}\n  .chrm-head h2,.chrm-copy h2{font-size:33px; line-height:1.25}\n  .chrm-split,.chrm-split.flip{gap:36px}\n  .chrm-cards,.chrm-tests,.chrm-steps,.chrm-ima-pts{grid-template-columns:1fr}\n  .chrm-card,.chrm-test{padding:23px 21px}\n  .chrm-banner{grid-template-columns:1fr; padding:20px}\n  .chrm-tb th,.chrm-tb td{padding:14px 15px}\n  .chrm-step{min-height:0}\n  .chrm-ima{gap:26px; padding:28px 22px; border-radius:25px}\n  .chrm-cta-sec{padding-bottom:64px}\n  .chrm-cta{gap:28px; padding:36px 24px; border-radius:27px}\n  .chrm-cta-acts{grid-template-columns:1fr}\n}\n@media(prefers-reduced-motion:reduce){\n  .chrm-v4 *,.chrm-v4 *::before,.chrm-v4 *::after{transition:none !important}\n}\n\n\/* English twin: latin numerals and tighter line-height suit the LTR setting *\/\n.chrm-v4{direction:ltr; text-align:left}\n.chrm-v4 .chrm-lead,.chrm-v4 .chrm-head>p,.chrm-v4 .chrm-copy>p{line-height:1.75}\n.chrm-v4 .chrm-list li,.chrm-v4 .chrm-card p,.chrm-v4 .chrm-faq-a{line-height:1.7}\n.chrm-tb th,.chrm-tb td{text-align:left}\n.chrm-crumbs{direction:ltr}\n\n.chrm-seal.is-disc{background:#fff; border-radius:50%; display:grid; place-items:center; box-shadow:0 30px 70px rgba(0,0,0,.34)}\n.chrm-seal.is-disc::before{content:none}\n.chrm-seal.is-disc::after{content:none}\n.chrm-seal.is-disc img{width:74%; height:auto}\n.chrm-media-plain{background:#fff}\n.chrm-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px; max-height:520px; width:auto; margin-inline:auto}\n.chrm-tags-light span{border-color:var(--line); background:#fff; color:var(--nv); padding:11px 18px; font-size:13.5px}\n\n<\/style>\n<div class=\"chrm-v4\">\n<section class=\"chrm-hero\"><div class=\"chrm-wrap\">\n  <nav class=\"chrm-crumbs\" aria-label=\"Breadcrumb\">\n    <a href=\"\/en\/\">Home<\/a><span>\u203a<\/span><a href=\"https:\/\/sarhgroups.com\/en\/training-courses\">Training<\/a><span>\u203a<\/span>\n    <a href=\"https:\/\/sarhgroups.com\/en\/training-courses\/certifications\">Professional certifications<\/a><span>\u203a<\/span><span>Certified Human Resources Manager (CHRM)<\/span>\n  <\/nav>\n  <div class=\"chrm-hero-grid\">\n    <div>\n      <span class=\"chrm-kick\">An international credential accredited by GAQM<\/span>\n      <h1>Certified Human <span>Resources Manager<\/span><\/h1>\n      <p class=\"chrm-lead\">Your professional step into leading human resources \u2014 studied in Arabic, with an exam you sit at the centre or from home.<\/p>\n      <div class=\"chrm-tags\"><span>Syllabus and exam in Arabic<\/span><span>No prerequisites<\/span><span>100 questions<\/span><span>US$200 for two attempts<\/span><\/div>\n      <div class=\"chrm-acts\">\n        <a class=\"chrm-btn chrm-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/chrm-certified-human-resources-manager-course\">Enrol on the course<\/a>\n        <a class=\"chrm-btn chrm-btn-out\" href=\"#outline\">See the syllabus<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"chrm-hero-media\">\n      <div class=\"chrm-seal is-disc\"><img fetchpriority=\"high\" src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/chrm-badge.webp\" alt=\"The Certified Human Resources Manager (CHRM) mark\" width=\"400\" height=\"400\" loading=\"eager\" decoding=\"async\"><\/div>\n      <div class=\"chrm-badge\"><strong>80%<\/strong><span>of our students pass at the first attempt<\/span><\/div>\n    <\/div>\n  <\/div>\n<\/div><\/section>\n\n<section class=\"chrm-proof-wrap\"><div class=\"chrm-wrap\"><div class=\"chrm-proof\">\n  <div class=\"chrm-proof-tag\">From doing HR<br>to leading it<\/div><p>The <strong>CHRM<\/strong> from the Global Association for Quality Management (<strong>GAQM<\/strong>) moves you from carrying out HR procedures to leading them. There are no prerequisites, the syllabus and exam are available <strong>in Arabic<\/strong>, and the exam is 100 questions you can sit at the centre or from home.<\/p>\n<\/div><\/div><\/section>\n<section class=\"chrm-facts\"><div class=\"chrm-wrap\"><div class=\"chrm-facts-grid\"><div class=\"chrm-fact\"><span class=\"chrm-fact-l\">Pass rate<\/span><strong>80%<\/strong><em>of our students pass first time<\/em><\/div><div class=\"chrm-fact\"><span class=\"chrm-fact-l\">The exam<\/span><strong>100<\/strong><em>multiple-choice questions<\/em><\/div><div class=\"chrm-fact\"><span class=\"chrm-fact-l\">Language<\/span><strong>Arabic<\/strong><em>syllabus and exam alike<\/em><\/div><div class=\"chrm-fact\"><span class=\"chrm-fact-l\">Exam fee<\/span><strong>$200<\/strong><em>covering two attempts<\/em><\/div><\/div><\/div><\/section>\n<section class=\"chrm-toc\"><div class=\"chrm-wrap\"><div class=\"chrm-toc-card\">\n  <p class=\"chrm-toc-t\">On this page<\/p><div class=\"chrm-toc-l\"><a href=\"#why\">Why Sarh<\/a><a href=\"#delivery\">How you study<\/a><a href=\"#outline\">Syllabus<\/a><a href=\"#gaqm\">GAQM accreditation<\/a><a href=\"#audience\">Who it is for<\/a><a href=\"#exam\">The exam<\/a><a href=\"#path\">Your route<\/a><a href=\"#grads\">Our graduates<\/a><a href=\"#faq\">FAQ<\/a><\/div>\n<\/div><\/div><\/section>\n<section class=\"chrm-sec\" id=\"why\"><div class=\"chrm-wrap\"><div class=\"chrm-head\"><h2>Why study CHRM at Sarh?<\/h2><p>Human resources is a profession of judgement, not paperwork \u2014 and the difference is being taught with examples from the market itself.<\/p><\/div><div class=\"chrm-cards\"><div class=\"chrm-card\"><span>Accreditation<\/span><h3>Accredited by GAQM<\/h3><p>The Global Association for Quality Management, where Sarh is an accredited training and testing centre.<\/p><\/div><div class=\"chrm-card\"><span>Language<\/span><h3>Study and sit it in Arabic<\/h3><p>The syllabus is in Arabic and the exam is available in both Arabic and English.<\/p><\/div><div class=\"chrm-card\"><span>Access<\/span><h3>No prerequisites<\/h3><p>You need no previous HR experience to enrol.<\/p><\/div><div class=\"chrm-card\"><span>Change of field<\/span><h3>Built for moving across<\/h3><p>Many who studied with us came from other departments and moved into human resources.<\/p><\/div><div class=\"chrm-card\"><span>Applied<\/span><h3>Practice, not memorisation<\/h3><p>Real cases drawn from the Jordanian workplace rather than pure theory.<\/p><\/div><div class=\"chrm-card\"><span>Results<\/span><h3>80% pass first time<\/h3><p>Our students&#8217; first-attempt pass rate on the CHRM.<\/p><\/div><\/div><\/div><\/section><section class=\"chrm-sec is-soft\" id=\"delivery\"><div class=\"chrm-wrap\"><div class=\"chrm-split\"><figure class=\"chrm-media\"><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/chrm-professionals.webp\" alt=\"Professionals at a Sarh International event\" width=\"1600\" height=\"1000\" loading=\"lazy\" decoding=\"async\"><figcaption>At a Sarh International event \u2014 Amman<\/figcaption><\/figure><div class=\"chrm-copy\"><span class=\"chrm-kick\">Hybrid delivery<\/span><h2>Attend the way that suits you<\/h2><p>Same lectures, same instructor, same materials \u2014 only where you sit changes. Most of our students are in full-time work, and the timetable is built around that.<\/p><ul class=\"chrm-list\"><li><strong>In person<\/strong> \u2014 interactive lectures at Sarh with discussion and practical cases.<\/li><li><strong>Live online<\/strong> \u2014 the same session at the same time, with full interaction with the instructor and the group.<\/li><li><strong>Recordings<\/strong> \u2014 if you cannot attend, the recording reaches you and stays available for seven days.<\/li><\/ul><div class=\"chrm-banner\" data-sarh-next=\"sarhgroups.com\/products\/chrm-online-interactive-course\"><div><strong>Upcoming course dates<\/strong><p>CHRM cohorts open through the year, in person and online. Check the next start date and reserve your place.<\/p><\/div><a class=\"chrm-btn chrm-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/chrm-certified-human-resources-manager-course\">Dates and enrolment<\/a><\/div><\/div><\/div><\/div><\/section><section class=\"chrm-sec\" id=\"outline\"><div class=\"chrm-wrap\"><div class=\"chrm-head\"><h2>The syllabus<\/h2><p>From workforce planning to the legislation governing the relationship with the employee \u2014 the full cycle of an HR department&#8217;s work.<\/p><\/div><div class=\"chrm-tw\"><table class=\"chrm-tb\"><thead><tr><th>Module<\/th><th>What you learn<\/th><\/tr><\/thead><tbody><tr><td>Modern human resource management<\/td><td>HR as a strategic partner rather than a service department.<\/td><\/tr><tr><td>Workforce planning<\/td><td>Estimating staffing needs and building the organisational structure.<\/td><\/tr><tr><td>Recruitment and selection<\/td><td>Advertising, screening, interviewing and objective selection tools.<\/td><\/tr><tr><td>Job analysis and description<\/td><td>Building job descriptions and setting responsibilities and requirements.<\/td><\/tr><tr><td>Performance management<\/td><td>Appraisal systems, performance indicators and feedback.<\/td><\/tr><tr><td>Training and development<\/td><td>Identifying training needs and measuring training impact.<\/td><\/tr><tr><td>Pay and rewards<\/td><td>Salary structures, incentives and benefits, and tying them to performance.<\/td><\/tr><tr><td>Labour relations and legislation<\/td><td>Labour law, social security and regulating the contractual relationship.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"chrm-sec is-mist\" id=\"gaqm\"><div class=\"chrm-wrap\"><div class=\"chrm-split flip\"><div class=\"chrm-copy\"><span class=\"chrm-kick\">Formal accreditation<\/span><h2 style=\"font-size:clamp(24px,2.6vw,34px);\">An accredited GAQM training and testing centre<\/h2><p>The Global Association for Quality Management awards the CHRM. Sarh is formally accredited by GAQM as a training and testing centre, so preparation and examination both sit under the awarding body itself.<\/p><ul class=\"chrm-list\"><li><strong>Documented accreditation<\/strong> \u2014 a certificate issued by GAQM in Sarh&#8217;s name.<\/li><li><strong>A testing centre<\/strong> \u2014 accredited for training and examination together.<\/li><li><strong>An international credential<\/strong> \u2014 recognised outside Jordan as well.<\/li><\/ul><\/div><figure class=\"chrm-media chrm-media-plain\"><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/cfm-gaqm-accreditation.webp\" alt=\"Sarh's GAQM accreditation as a training and testing centre\" width=\"760\" height=\"984\" loading=\"lazy\" decoding=\"async\"><figcaption>The accreditation certificate issued by GAQM to Sarh International<\/figcaption><\/figure><\/div><\/div><\/section><section class=\"chrm-sec\" id=\"audience\"><div class=\"chrm-wrap\"><div class=\"chrm-head\"><h2>Who is it for?<\/h2><p>If part of your work involves people \u2014 hiring them, appraising them or developing them \u2014 this is aimed at you.<\/p><\/div><div class=\"chrm-tags chrm-tags-light\"><span>HR staff and managers<\/span><span>Department managers<\/span><span>Business owners<\/span><span>Business administration students and graduates<\/span><span>Anyone moving into human resources<\/span><\/div><\/div><\/section><section class=\"chrm-sec is-soft\" id=\"exam\"><div class=\"chrm-wrap\"><div class=\"chrm-head\"><h2>Exam information<\/h2><p>Everything you need to know before you sit it.<\/p><\/div><div class=\"chrm-tw\"><table class=\"chrm-tb\"><tbody><tr><td>Awarding body<\/td><td>The Global Association for Quality Management (GAQM).<\/td><\/tr><tr><td>Entry requirements<\/td><td>None. There are no prior qualifications.<\/td><\/tr><tr><td>Exam format<\/td><td>100 multiple-choice questions, in Arabic or English.<\/td><\/tr><tr><td>Where you sit it<\/td><td>At the centre or from home, at any time.<\/td><\/tr><tr><td>Exam fee<\/td><td>US$200, covering two attempts.<\/td><\/tr><tr><td>Pass rate<\/td><td>Around 80% of our students pass at the first attempt.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"chrm-sec chrm-path\" id=\"path\"><div class=\"chrm-wrap\"><div class=\"chrm-head\"><h2>Your route to the certificate<\/h2><p>From the first lecture to the designation, step by step.<\/p><\/div><div class=\"chrm-steps\"><div class=\"chrm-step\"><h3>Enrol<\/h3><p>You receive the syllabus, the slide decks and the case files.<\/p><\/div><div class=\"chrm-step\"><h3>Attend<\/h3><p>In person at Sarh or live online, with recordings as a fallback.<\/p><\/div><div class=\"chrm-step\"><h3>Apply it<\/h3><p>Real cases: job descriptions, performance appraisals, salary structures.<\/p><\/div><div class=\"chrm-step\"><h3>Sit the exam<\/h3><p>100 questions, at the centre or from home, with two attempts included.<\/p><\/div><div class=\"chrm-step\"><h3>Certification<\/h3><p>You earn the CHRM designation from GAQM, recognised internationally.<\/p><\/div><\/div><\/div><\/section><section class=\"chrm-sec\" id=\"grads\"><div class=\"chrm-wrap\"><div class=\"chrm-head\"><h2>Graduates<\/h2><p>HR staff at banks and finance companies \u2014 some of whom came into the field from another department.<\/p><\/div><div class=\"chrm-tests\"><figure class=\"chrm-test\"><blockquote>Honestly, I want to talk about my experience, having taken the CHRM course with you. In fairness the place is very well organised and comfortable, and the rooms are clean and fully equipped. The staff are very respectful and understanding. Dr Nidal Al-Bawwab is a wonderful person in his teaching and gets the information across smoothly.<\/blockquote><figcaption><span><b>Rania Hassan Mohammad<\/b><\/span><\/figcaption><\/figure><figure class=\"chrm-test\"><blockquote>I wanted to share my experience after finishing the CHRM course at Sarh with Dr Nidal Bawwab. I used to think HR courses were all rote learning, but at Sarh and with Dr Nidal I changed my mind completely. The lectures went by quickly because the teaching was so enjoyable and the atmosphere at the centre was good.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/chrm-grad-taha-samih.webp\" alt=\"Taha Samih Khalil\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Taha Samih Khalil<\/b><em>Jordan Islamic Bank<\/em><\/span><\/figcaption><\/figure><figure class=\"chrm-test\"><blockquote>My experience on the CHRM course at Sarh training institute was excellent. The content was clear and well organised, and the instructor is capable and teaches in a practical style. The institute is professional and highly organised. I recommend it strongly.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/chrm-grad-noura-hamzeh.webp\" alt=\"Noura Al-Hamzeh\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Noura Al-Hamzeh<\/b><em>HR Officer \u2014 Jordanian Specialised Finance<\/em><\/span><\/figcaption><\/figure><\/div><\/div><\/section><section class=\"chrm-sec is-soft\" id=\"faq\"><div class=\"chrm-wrap\"><div class=\"chrm-head\"><h2>Frequently asked<\/h2><p>What candidates ask us most before enrolling.<\/p><\/div><div class=\"chrm-faq\"><details><summary>Who awards the certification?<\/summary><div class=\"chrm-faq-a\"><p>The Global Association for Quality Management (GAQM), where Sarh is an accredited training and testing centre.<\/p><\/div><\/details><details><summary>Are there entry requirements?<\/summary><div class=\"chrm-faq-a\"><p>No; the certification is open with no prior qualifications.<\/p><\/div><\/details><details><summary>Are the teaching and exam in Arabic?<\/summary><div class=\"chrm-faq-a\"><p>The syllabus is in Arabic, and the exam is available in both Arabic and English.<\/p><\/div><\/details><details><summary>What is the exam like?<\/summary><div class=\"chrm-faq-a\"><p>100 multiple-choice questions.<\/p><\/div><\/details><details><summary>Where do I sit the exam?<\/summary><div class=\"chrm-faq-a\"><p>At the centre or from home, whenever it suits you.<\/p><\/div><\/details><details><summary>How much is the exam fee?<\/summary><div class=\"chrm-faq-a\"><p>US$200, and it covers two attempts.<\/p><\/div><\/details><details><summary>Is it useful if I do not work in HR?<\/summary><div class=\"chrm-faq-a\"><p>Yes; many of our students came from other departments and moved into the field afterwards.<\/p><\/div><\/details><details><summary>Is the lecture recorded?<\/summary><div class=\"chrm-faq-a\"><p>Yes. If you cannot attend, the recording reaches you and stays available for seven days.<\/p><\/div><\/details><\/div><\/div><\/section>\n<section class=\"chrm-cta-sec\"><div class=\"chrm-wrap\"><div class=\"chrm-cta\">\n  <div><h2>Start now<\/h2><p>No prerequisites and no language barrier. An international credential in human resource management begins with a single lecture.<\/p><\/div>\n  <div class=\"chrm-cta-acts\">\n    <a class=\"chrm-btn chrm-btn-lt\" href=\"https:\/\/sarhgroups.com\/en\/products\/chrm-certified-human-resources-manager-course\">Enrol on the course<\/a>\n    <a class=\"chrm-btn chrm-btn-gh\" href=\"https:\/\/sarhgroups.com\/en\/training-courses\/certifications\">Browse the other certifications<\/a>\n  <\/div>\n<\/div><\/div><\/section>\n\n<style id=\"sarh-tms-css\">\n\/* Sarh \u00d7 TMS schedule widget \u2014 palette matches the certification pages *\/\n.sarh-next,.sarh-next *{box-sizing:border-box}\n.sarh-next{display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,auto); gap:22px;\n  align-items:center; width:100%}\n.sarh-next-kick{display:block; color:#b5181a; font-size:12px; font-weight:800; line-height:1.5;\n  letter-spacing:.01em; margin-bottom:4px}\n.sarh-next-date{display:block; color:#16243f; font-size:clamp(19px,2.2vw,25px); font-weight:850;\n  line-height:1.25; margin-bottom:4px}\n.sarh-next-cohort{display:block; color:#687386; font-size:12.5px; line-height:1.6; margin-bottom:12px}\n.sarh-next-rows{display:grid; grid-template-columns:auto 1fr; gap:4px 12px; margin:0}\n.sarh-next-rows dt{color:#687386; font-size:12px; line-height:1.7; margin:0}\n.sarh-next-rows dd{color:#16243f; font-size:12.5px; font-weight:700; line-height:1.7; margin:0}\n.sarh-next-more{margin:10px 0 0; color:#687386; font-size:11.5px; line-height:1.6}\n.sarh-next-side{display:grid; gap:8px; justify-items:stretch; text-align:center}\n.sarh-next-price{color:#16243f; font-size:13px; line-height:1.7}\n.sarh-next-price b{font-family:Montserrat,Cairo,sans-serif; font-size:21px; color:#b5181a}\n.sarh-next-price s{color:#98a2b3; margin-inline-start:6px; font-size:12.5px}\n.sarh-next-price i{display:block; color:#687386; font-size:11px; font-style:normal; margin-top:2px}\n.sarh-next-btn{display:inline-flex; align-items:center; justify-content:center; min-height:44px;\n  padding:10px 22px; border-radius:999px; background:#b5181a; color:#fff !important;\n  font-size:13.5px; font-weight:800; text-decoration:none !important;\n  transition:background .2s ease, transform .2s ease}\n.sarh-next-btn:hover{background:#8f1214; transform:translateY(-1px)}\n.sarh-next-all{appearance:none; border:1px solid #dfe4ea; border-radius:999px; background:#fff;\n  color:#16243f; padding:9px 18px; font-size:12px; font-weight:750; cursor:pointer; font-family:inherit;\n  transition:border-color .2s ease, color .2s ease}\n.sarh-next-all:hover{border-color:#b5181a; color:#b5181a}\n@media(max-width:767px){\n  .sarh-next{grid-template-columns:1fr; gap:16px}\n  .sarh-next-side{justify-items:stretch}\n}\n\n\/* ---------------- modal ---------------- *\/\n.sarh-modal{position:fixed; inset:0; z-index:99999; display:none}\n.sarh-modal.is-open{display:block}\n.sarh-modal-back{position:absolute; inset:0; background:rgba(10,19,37,.55); backdrop-filter:blur(2px)}\n.sarh-modal-card{position:relative; z-index:1; width:min(980px,calc(100% - 32px)); max-height:86vh;\n  margin:7vh auto 0; display:flex; flex-direction:column; overflow:hidden;\n  border-radius:26px; background:#fff; box-shadow:0 40px 100px rgba(10,19,37,.4)}\n.sarh-modal-top{display:flex; align-items:flex-start; justify-content:space-between; gap:18px;\n  padding:24px 26px; border-bottom:1px solid #dfe4ea; background:#f7f6f3}\n.sarh-modal-top h2{margin:0 0 4px; color:#101827; font-size:clamp(20px,2.4vw,27px); line-height:1.25; font-weight:850}\n.sarh-modal-top p{margin:0; color:#687386; font-size:12.5px; line-height:1.7}\n.sarh-modal-x{appearance:none; border:0; background:#fff; border:1px solid #dfe4ea; border-radius:50%;\n  width:36px; height:36px; flex:none; font-size:22px; line-height:1; color:#16243f; cursor:pointer}\n.sarh-modal-x:hover{border-color:#b5181a; color:#b5181a}\n.sarh-modal-body{padding:8px 26px 26px; overflow-y:auto}\n.sarh-modal-msg{margin:26px 0; color:#687386; font-size:14px; text-align:center}\n.sarh-mon{margin-top:22px}\n.sarh-mon h3{position:sticky; top:0; margin:0 0 12px; padding:10px 0; background:#fff;\n  color:#b5181a; font-size:13px; font-weight:850; letter-spacing:.02em}\n.sarh-mon-list{display:grid; gap:10px}\n.sarh-row{display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,auto); gap:18px;\n  align-items:center; padding:16px 18px; border:1px solid #dfe4ea; border-radius:16px; background:#fff;\n  transition:border-color .2s ease, box-shadow .2s ease}\n.sarh-row:hover{border-color:#c9d2dd; box-shadow:0 10px 26px rgba(22,36,63,.07)}\n.sarh-row-main strong{display:block; color:#16243f; font-size:15px; line-height:1.45}\n.sarh-row-cohort{display:inline-block; margin-top:4px; padding:3px 9px; border-radius:999px;\n  background:#eef3f7; color:#16243f; font-size:11px; font-weight:750}\n.sarh-row-date{display:block; margin-top:6px; color:#3f4a5d; font-size:12.5px; font-weight:700; line-height:1.6}\n.sarh-row-meta{display:block; margin-top:3px; color:#687386; font-size:11.5px; line-height:1.6}\n.sarh-row-side{display:grid; gap:6px; justify-items:stretch; text-align:center}\n.sarh-row-price{color:#16243f; font-size:12px; line-height:1.6}\n.sarh-row-price b{font-family:Montserrat,Cairo,sans-serif; font-size:17px; color:#b5181a}\n.sarh-row-price s{color:#98a2b3; margin-inline-start:5px; font-size:11.5px}\n.sarh-row-price i{display:block; color:#687386; font-size:10.5px; font-style:normal}\n.sarh-row-btn{display:inline-flex; align-items:center; justify-content:center; min-height:38px;\n  padding:8px 18px; border-radius:999px; background:#b5181a; color:#fff !important;\n  font-size:12.5px; font-weight:800; text-decoration:none !important}\n.sarh-row-btn:hover{background:#8f1214}\n.sarh-row-link{color:#687386 !important; font-size:11px; text-decoration:none !important}\n.sarh-row-link:hover{color:#b5181a !important}\n@media(max-width:767px){\n  .sarh-modal-card{width:calc(100% - 20px); margin:4vh auto 0; max-height:92vh; border-radius:20px}\n  .sarh-modal-top{padding:18px}\n  .sarh-modal-body{padding:6px 18px 20px}\n  .sarh-row{grid-template-columns:1fr; gap:12px}\n  .sarh-row-side{justify-items:stretch}\n}\n@media(prefers-reduced-motion:reduce){.sarh-next-btn,.sarh-row{transition:none}}\n\n<\/style>\n<script id=\"sarh-tms-js\">\n(function(){try{var d=atob(\"LyogU2FyaCDDlyBUTVMgc2NoZWR1bGUgd2lkZ2V0LgogICBSZWFkcyB0aGUgbGl2ZSBmZWVkIGF0IHRtcy5zYXJoaW50LmNvbSBhbmQgZmlsbHMgaW4gdHdvIHRoaW5nczoKICAgICBbZGF0YS1zYXJoLW5leHQ9Ijxwcm9kdWN0IHBhdGg+Il0gIC0+IHRoZSBuZXh0IG9wZW4gY29ob3J0IGZvciB0aGF0IGNvdXJzZQogICAgIFtkYXRhLXNhcmgtc2NoZWR1bGVdICAgICAgICAgICAgICAgLT4gYSBidXR0b24gdGhhdCBvcGVucyB0aGUgZnVsbCBzY2hlZHVsZQogICBQcm9ncmVzc2l2ZSBlbmhhbmNlbWVudDogaWYgdGhlIGZlZWQgaXMgdW5yZWFjaGFibGUgb3IgZW1wdHksIHdoYXRldmVyIG1hcmt1cAogICBpcyBhbHJlYWR5IGluc2lkZSB0aGUgZWxlbWVudCBpcyBsZWZ0IGV4YWN0bHkgYXMgaXQgaXMuICovCihmdW5jdGlvbiAoKSB7CiAgaWYgKHdpbmRvdy5fX3NhcmhUTVMpIHJldHVybjs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9IFtmbXREYXlzKGMuZGF5cyksCiAgICAgICAgICAgICAgICAgICAgYy5zdGFydF90aW1lID8gZm10VGltZShjLnN0YXJ0X3RpbWUpICsgIiDigJMgIiArIGZtdFRpbWUoYy5lbmRfdGltZSkgOiAiIiwKICAgICAgICAgICAgICAgICAgICBmbXRNb2RlKGMuZGVsaXZlcnlfbW9kZSldLmZpbHRlcihCb29sZWFuKS5qb2luKCIgwrcgIik7CiAgICAgICAgaHRtbCArPQogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93Ij4nICsKICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LW1haW4iPicgKwogICAgICAgICAgICAgICc8c3Ryb25nPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAgICAgKGMuY29ob3J0ID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1jb2hvcnQiPicgKyBlc2MoYy5jb2hvcnQpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/ICIg4oCUICIgKyBlc2MoZm10RGF0ZShjLmVuZF9kYXRlKSkgOiAiIikgKyAiPC9zcGFuPiIgKwogICAgICAgICAgICAgIChtZXRhID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1tZXRhIj4nICsgZXNjKG1ldGEpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIgKwogICAgICAgICAgICAnPGRpdiBjbGFzcz0ic2FyaC1yb3ctc2lkZSI+JyArCiAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LXByaWNlIj4nICsgZm10UHJpY2UoYykgKyAiPC9kaXY+IiArCiAgICAgICAgICAgICAgJzxhIGNsYXNzPS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3QoIltkYXRhLXNhcmgtc2NoZWR1bGVdIikgOiBudWxsOwogICAgaWYgKGIpIHsgZS5wcmV2ZW50RGVmYXVsdCgpOyBvcGVuKCk7IH0KICB9KTsKCiAgZnVuY3Rpb24gYm9vdCgpIHsKICAgIHZhciBuZXh0cyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoIltkYXRhLXNhcmgtbmV4dF0iKTsKICAgIGlmICghbmV4dHMubGVuZ3RoKSByZXR1cm47CiAgICBsb2FkKCkudGhlbihmdW5jdGlvbiAoZCkgewogICAgICBBcnJheS5wcm90b3R5cGUuZm9yRWFjaC5jYWxsKG5leHRzLCBmdW5jdGlvbiAoZWwpIHsKICAgICAgICB0cnkgeyBmaWxsTmV4dChlbCwgZCk7IH0gY2F0Y2ggKGUpIHt9CiAgICAgIH0pOwogICAgfSkuY2F0Y2goZnVuY3Rpb24gKCkgeyAvKiBzdGF0aWMgZmFsbGJhY2sgc3RheXMgKi8gfSk7CiAgfQogIGlmIChkb2N1bWVudC5yZWFkeVN0YXRlID09PSAibG9hZGluZyIpIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoIkRPTUNvbnRlbnRMb2FkZWQiLCBib290KTsKICBlbHNlIGJvb3QoKTsKfSkoKTsK\"),n=d.length,u=new Uint8Array(n),i=n;while(i--){u[i]=d.charCodeAt(i);}new Function(new TextDecoder(\"utf-8\").decode(u))();}catch(e){}})();\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Home\u203aTraining\u203a Professional certifications\u203aCertified Human Resources Manager (CHRM) An international credential accredited by GAQM Certified Human Resources Manager Your professional step into leading human resources \u2014 studied in Arabic, with an exam you sit at the centre or from home. Syllabus and exam in ArabicNo prerequisites100 questionsUS$200 for two attempts Enrol on the course See the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4602,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kb_optimizer_status":0,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"hide","_kad_post_layout":"fullwidth","_kad_post_sidebar_id":"","_kad_post_content_style":"unboxed","_kad_post_vertical_padding":"hide","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-9762","page","type-page","status-publish","has-post-thumbnail","hentry"],"taxonomy_info":[],"featured_image_src_large":["https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/04\/top-view-of-a-workspace-featuring-a-calculator-planner-and-tax-related-notes.-8962522-684x1024.jpg",684,1024,true],"author_info":{"display_name":"sarhadmin","author_link":"https:\/\/sarhgroups.com\/en\/author\/sarhadmin"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/9762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/comments?post=9762"}],"version-history":[{"count":0,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/9762\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media\/4602"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=9762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}