{"id":9778,"date":"2026-03-15T17:05:28","date_gmt":"2026-03-15T14:05:28","guid":{"rendered":"https:\/\/sarhgroups.com\/cfm"},"modified":"2026-10-01T14:23:31","modified_gmt":"2026-10-01T11:23:31","slug":"cfm","status":"publish","type":"page","link":"https:\/\/sarhgroups.com\/en\/cfm","title":{"rendered":"CFM"},"content":{"rendered":"\n<style>\n\/* =========================================================\n   Sarh - CFM certification page  \u00b7  scope: .cfm-v4\n   Navy #16243f \u00b7 Red #b5181a \u00b7 Warm #f7f6f3\n   All landscape media locked to 16:10.\n   ========================================================= *\/\n.cfm-v4,.cfm-v4 *{box-sizing:border-box}\n.cfm-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.cfm-v4 img{display:block; max-width:100%}\n.cfm-v4 a{color:inherit}\n.cfm-v4 [id]{scroll-margin-top:110px}\n.cfm-wrap{width:min(1180px,calc(100% - 48px)); margin-inline:auto}\n.cfm-sec{padding:86px 0}\n.cfm-sec.is-soft{background:var(--soft)}\n.cfm-sec.is-mist{background:var(--mist)}\n\n.cfm-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.cfm-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.cfm-head{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);\n  gap:56px; align-items:end; margin-bottom:38px}\n.cfm-head h2,.cfm-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.cfm-head>p,.cfm-copy>p{margin:0; color:var(--mu); font-size:16px; line-height:1.95}\n\n\/* ---------- hero ---------- *\/\n.cfm-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.cfm-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.cfm-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.cfm-crumbs a{color:#dce3ee; text-decoration:none}\n.cfm-crumbs a:hover{color:#fff}\n.cfm-hero-grid{display:grid; grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);\n  gap:68px; align-items:center}\n.cfm-hero .cfm-kick{color:var(--pk)}\n.cfm-hero .cfm-kick::before{box-shadow:0 0 0 6px rgba(243,171,177,.1)}\n.cfm-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.cfm-hero h1 span{color:#ffbec3}\n.cfm-lead{max-width:56ch; margin:0 0 26px; color:#d8dfeb; font-size:18px; line-height:1.95}\n.cfm-tags{display:flex; flex-wrap:wrap; gap:9px; margin-bottom:28px}\n.cfm-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.cfm-acts{display:flex; flex-wrap:wrap; gap:11px}\n.cfm-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.cfm-btn:hover{transform:translateY(-2px)}\n.cfm-btn-red{background:var(--rd); color:#fff !important}\n.cfm-btn-red:hover{background:var(--rdd)}\n.cfm-btn-out{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.06); color:#fff !important}\n.cfm-btn-out:hover{border-color:#fff; background:#fff; color:var(--nv) !important}\n.cfm-btn-nv{background:var(--nv); color:#fff !important}\n.cfm-btn-nv:hover{background:var(--nvd)}\n.cfm-btn-lt{background:#fff; color:var(--nv) !important}\n.cfm-btn-lt:hover{background:var(--nv); color:#fff !important}\n.cfm-btn-gh{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff !important}\n.cfm-btn-gh:hover{background:#fff; color:var(--rdd) !important}\n\n.cfm-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.cfm-seal{position:relative; display:grid; place-items:center; width:min(430px,100%); aspect-ratio:1}\n.cfm-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.cfm-seal::after{content:\"\"; position:absolute; inset:2%; border-radius:50%;\n  box-shadow:0 34px 80px rgba(0,0,0,.42)}\n.cfm-seal img{position:relative; z-index:1; width:100%; height:auto}\n.cfm-badge{position:absolute; z-index:4; right:-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.cfm-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.cfm-badge span{display:block; color:var(--mu); font-size:11.5px; line-height:1.7}\n\n\/* ---------- proof card overlapping hero ---------- *\/\n.cfm-proof-wrap{position:relative; z-index:5; margin-top:-38px}\n.cfm-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.cfm-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.cfm-proof p{margin:0; color:var(--tx); font-size:17px; line-height:2}\n\n\/* ---------- facts ---------- *\/\n.cfm-facts{padding:42px 0 60px}\n.cfm-facts-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}\n.cfm-fact{position:relative; overflow:hidden; padding:25px 23px; border:1px solid var(--line);\n  border-radius:22px; background:#fff}\n.cfm-fact::after{content:\"\"; position:absolute; left:-32px; bottom:-42px; width:110px; height:110px;\n  border-radius:50%; background:var(--mist)}\n.cfm-fact-l{position:relative; z-index:1; display:block; color:var(--rd);\n  font-size:13px; line-height:1.5; font-weight:850}\n.cfm-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.cfm-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.cfm-toc{padding-bottom:26px}\n.cfm-toc-card{padding:22px; border:1px solid var(--line); border-radius:22px; background:var(--soft)}\n.cfm-toc-t{margin:0 0 13px; color:var(--nv); font-size:14px; line-height:1.5; font-weight:850}\n.cfm-toc-l{display:flex; flex-wrap:wrap; gap:8px}\n.cfm-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.cfm-toc-l a:hover{border-color:var(--rd); color:var(--rd)}\n\n\/* ---------- split ---------- *\/\n.cfm-split{display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:62px; align-items:center}\n.cfm-split.flip{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}\n.cfm-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.cfm-media img{width:100%; aspect-ratio:16\/10; object-fit:cover}\n.cfm-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.cfm-media-plain{background:#fff}\n.cfm-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px}\n.cfm-copy h2{margin-bottom:20px}\n.cfm-copy>p+p{margin-top:14px}\n.cfm-list{display:grid; gap:12px; margin:25px 0 0; padding:0; list-style:none}\n.cfm-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.cfm-list li strong{color:var(--nv)}\n.cfm-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.cfm-cards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}\n.cfm-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.cfm-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.cfm-card h3{margin:0 0 10px; color:var(--nv); font-size:19px; line-height:1.45}\n.cfm-card p{margin:0; color:var(--mu); font-size:14px; line-height:1.85}\n@media(hover:hover){.cfm-card:hover{transform:translateY(-5px); border-color:transparent;\n  box-shadow:0 20px 48px rgba(22,36,63,.11)}}\n\n\/* ---------- dates banner ---------- *\/\n.cfm-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.cfm-banner strong{display:block; margin-bottom:5px; color:var(--nv); font-size:16px; line-height:1.6}\n.cfm-banner p{margin:0; color:var(--tx); font-size:13px; line-height:1.8}\n\n\/* ---------- tables ---------- *\/\n.cfm-part{margin:0 0 15px; color:var(--nv); font-size:clamp(18px,2vw,23px); line-height:1.45}\n.cfm-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.cfm-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.cfm-tb{width:100%; min-width:640px; border-collapse:collapse; text-align:left}\n.cfm-tb th,.cfm-tb td{padding:17px 19px; border-bottom:1px solid var(--line); vertical-align:top;\n  font-size:13px; line-height:1.75}\n.cfm-tb th{background:var(--nv); color:#fff; font-weight:800}\n.cfm-tb td{color:var(--tx)}\n.cfm-tb td:first-child{color:var(--nv); font-weight:800}\n.cfm-tb tr:last-child td{border-bottom:0}\n.cfm-tb .w{white-space:nowrap; color:var(--rd); font-weight:850}\n\n\/* ---------- IMA band ---------- *\/\n.cfm-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.cfm-ima.is-solo{grid-template-columns:1fr}\n.cfm-ima-logo{display:grid; place-items:center; padding:22px; border-radius:22px; background:#fff}\n.cfm-ima-logo img{width:100%; height:auto}\n.cfm-ima h2{margin:0 0 13px; color:#fff; font-size:clamp(28px,3.2vw,42px); line-height:1.22}\n.cfm-ima p{margin:0 0 18px; color:#d3dce8; font-size:15px; line-height:1.95}\n.cfm-ima-pts{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px}\n.cfm-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.cfm-path{background:var(--nv); color:#fff}\n.cfm-path .cfm-head h2{color:#fff}\n.cfm-path .cfm-head>p{color:#cbd5e1}\n.cfm-steps{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; counter-reset:cs}\n.cfm-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.cfm-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.cfm-step h3{margin:0 0 9px; color:#fff; font-size:16px; line-height:1.5}\n.cfm-step p{margin:0; color:#c8d2e0; font-size:12px; line-height:1.8}\n\n\/* ---------- testimonials ---------- *\/\n.cfm-tests{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch}\n.cfm-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.cfm-test blockquote{flex:1; margin:0 0 18px; padding:0; border:0; color:var(--tx);\n  font-size:13.5px; line-height:2}\n.cfm-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.cfm-test figcaption{display:flex; align-items:center; gap:12px; margin:0;\n  padding-top:16px; border-top:1px solid var(--line)}\n.cfm-test img{width:52px; height:52px; flex:none; border-radius:50%; object-fit:cover}\n.cfm-test b{display:block; color:var(--nv); font-size:14px; line-height:1.5}\n.cfm-test em{display:block; color:var(--mu); font-size:11.5px; line-height:1.6; font-style:normal}\n\n\/* ---------- faq ---------- *\/\n.cfm-faq{display:grid; gap:11px}\n.cfm-faq details{overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff}\n.cfm-faq summary{position:relative; display:flex; align-items:center; min-height:64px;\n  padding:16px 20px 16px 54px; color:var(--nv); font-size:15px; line-height:1.6; font-weight:820;\n  cursor:pointer; list-style:none}\n.cfm-faq summary::-webkit-details-marker{display:none}\n.cfm-faq summary::after{content:\"+\"; position:absolute; left: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.cfm-faq details[open] summary{background:var(--soft); color:var(--rd)}\n.cfm-faq details[open] summary::after{content:\"\\2212\"; background:var(--rd); color:#fff}\n.cfm-faq-a{padding:0 20px 20px; color:var(--mu); font-size:14px; line-height:1.95}\n.cfm-faq-a p{margin:0}\n\n\/* ---------- cta ---------- *\/\n.cfm-cta-sec{padding:0 0 90px; background:#fff}\n.cfm-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.cfm-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.cfm-cta h2{margin:0 0 13px; color:#fff; font-size:clamp(32px,3.7vw,52px); line-height:1.2}\n.cfm-cta p{max-width:60ch; margin:0; color:#ffe5e8; font-size:15px; line-height:1.9}\n.cfm-cta-acts{position:relative; z-index:2; display:grid; gap:10px}\n.cfm-cta .cfm-btn{width:100%}\n\n\/* ---------- tablet ---------- *\/\n@media(max-width:1024px){\n  .cfm-hero-grid,.cfm-split,.cfm-split.flip,.cfm-head,.cfm-ima,.cfm-cta{grid-template-columns:1fr}\n  .cfm-hero-grid{gap:52px}\n  .cfm-hero-media{width:min(700px,100%); margin-inline:auto}\n  .cfm-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .cfm-cards,.cfm-tests{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .cfm-steps{grid-template-columns:repeat(3,minmax(0,1fr))}\n  .cfm-step{min-height:190px}\n  .cfm-ima-logo{width:min(210px,60%); margin-inline:auto}\n  .cfm-cta-acts{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n\/* ---------- mobile ---------- *\/\n@media(max-width:767px){\n  .cfm-wrap{width:calc(100% - 32px)}\n  .cfm-sec{padding:62px 0}\n  .cfm-hero{padding:22px 0 68px}\n  .cfm-crumbs{margin-bottom:32px}\n  .cfm-hero h1{font-size:38px; line-height:1.22; max-width:none}\n  .cfm-lead{font-size:16px; line-height:1.9}\n  .cfm-acts{display:grid; grid-template-columns:1fr}\n  .cfm-btn{width:100%}\n  .cfm-frame{border-radius:24px}\n  .cfm-frame img{border-radius:17px}\n  .cfm-seal{width:min(280px,72%)}\n  .cfm-badge{position:relative; right:auto; bottom:auto; width:calc(100% - 28px); margin:6px auto 0}\n  .cfm-proof-wrap{margin-top:-26px}\n  .cfm-proof{grid-template-columns:1fr; gap:18px; padding:23px 21px; border-radius:22px}\n  .cfm-proof-tag{min-height:auto; text-align:left}\n  .cfm-proof p{font-size:15px}\n  .cfm-facts{padding:30px 0 50px}\n  .cfm-facts-grid{grid-template-columns:1fr; gap:10px}\n  .cfm-fact{padding:21px 18px}\n  .cfm-fact strong{font-size:32px}\n  .cfm-toc-card{padding:18px}\n  .cfm-head{gap:17px; margin-bottom:28px}\n  .cfm-head h2,.cfm-copy h2{font-size:33px; line-height:1.25}\n  .cfm-split,.cfm-split.flip{gap:36px}\n  .cfm-cards,.cfm-tests,.cfm-steps,.cfm-ima-pts{grid-template-columns:1fr}\n  .cfm-card,.cfm-test{padding:23px 21px}\n  .cfm-banner{grid-template-columns:1fr; padding:20px}\n  .cfm-tb th,.cfm-tb td{padding:14px 15px}\n  .cfm-step{min-height:0}\n  .cfm-ima{gap:26px; padding:28px 22px; border-radius:25px}\n  .cfm-cta-sec{padding-bottom:64px}\n  .cfm-cta{gap:28px; padding:36px 24px; border-radius:27px}\n  .cfm-cta-acts{grid-template-columns:1fr}\n}\n@media(prefers-reduced-motion:reduce){\n  .cfm-v4 *,.cfm-v4 *::before,.cfm-v4 *::after{transition:none !important}\n}\n\n\/* the CFM mark is black line art, so it needs a white disc to read on the navy hero *\/\n.cfm-seal.is-disc{background:#fff; border-radius:50%; display:grid; place-items:center;\n  box-shadow:0 30px 70px rgba(0,0,0,.34)}\n.cfm-seal.is-disc::before{content:none}\n.cfm-seal.is-disc::after{content:none}\n.cfm-seal.is-disc img{width:74%; height:auto}\n\/* the accreditation certificate is a portrait document: show it whole on white *\/\n.cfm-media-plain{background:#fff}\n.cfm-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px; max-height:520px;\n  width:auto; margin-inline:auto}\n\/* audience chips on a white section rather than the navy hero *\/\n.cfm-tags-light span{border-color:var(--line); background:#fff; color:var(--nv);\n  padding:11px 18px; font-size:13.5px}\n\n<\/style>\n<div class=\"cfm-v4\">\n<section class=\"cfm-hero\">\n  <div class=\"cfm-wrap\">\n    <nav class=\"cfm-crumbs\" aria-label=\"Breadcrumb\">\n      <a href=\"\/\">Home<\/a><span>\u203a<\/span>\n      <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>\n      <span>Certified Financial Manager CFM<\/span>\n    <\/nav>\n    <div class=\"cfm-hero-grid\">\n      <div>\n        <span class=\"cfm-kick\">International Certification \u2022 Accredited by GAQM<\/span>\n        <h1>Certified Financial Manager <span>CFM<\/span><\/h1>\n        <p class=\"cfm-lead\">Your professional step toward senior financial management \u2014 study it in Arabic and sit the exam at Sarh&#8217;s premises in Amman if you are in Jordan, or online with live proctoring if you are outside Jordan. <\/p>\n        <div class=\"cfm-tags\">\n          <span>Curriculum and exam in Arabic<\/span><span>No prerequisites<\/span>\n          <span>Exam supervised by Sarh<\/span><span>140 JOD for Sarh students<\/span>\n        <\/div>\n        <div class=\"cfm-acts\">\n          <a class=\"cfm-btn cfm-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/cfm-certified-financial-manager-course\">Enroll in the Course<\/a>\n          <a class=\"cfm-btn cfm-btn-out\" href=\"#outline\">View the Syllabus<\/a>\n        <\/div>\n      <\/div>\n      <div class=\"cfm-hero-media\">\n        <div class=\"cfm-seal is-disc\">\n          <img fetchpriority=\"high\" src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/cfm-badge.webp\" alt=\"Certified Financial Manager CFM certification logo\" width=\"400\" height=\"400\" loading=\"eager\" decoding=\"async\"\/>\n        <\/div>\n        \n      <\/div>\n    <\/div>\n  <\/div>\n<\/section>\n\n<section class=\"cfm-proof-wrap\">\n  <div class=\"cfm-wrap\">\n    <div class=\"cfm-proof\">\n      <div class=\"cfm-proof-tag\">International certification<br\/>with Arabic instruction<\/div>\n      <p>The <strong>CFM<\/strong> certification from the Global Association for Quality Management <strong>GAQM<\/strong> takes you from the role of accountant to financial manager. No prerequisites required, and the curriculum and exam are available <strong>in Arabic<\/strong>, with the exam sat at Sarh&#8217;s premises in Amman if you are in Jordan, or online with live proctoring if you are outside Jordan.  <\/p>\n    <\/div>\n  <\/div>\n<\/section>\n\n<section class=\"cfm-facts\"><div class=\"cfm-wrap\"><div class=\"cfm-facts-grid\"><div class=\"cfm-fact\"><span class=\"cfm-fact-l\">Our experience<\/span><strong>20+<\/strong><em>years of training experience<\/em><\/div><div class=\"cfm-fact\"><span class=\"cfm-fact-l\">Language of Study<\/span><strong>In Arabic<\/strong><em>Curriculum and Exam together<\/em><\/div><div class=\"cfm-fact\"><span class=\"cfm-fact-l\">Exam Fees<\/span><strong>140 JOD<\/strong><em>For Sarh students, including three attempts<\/em><\/div><\/div><\/div><\/section>\n\n<section class=\"cfm-toc\"><div class=\"cfm-wrap\"><div class=\"cfm-toc-card\">\n  <p class=\"cfm-toc-t\">On this page<\/p><div class=\"cfm-toc-l\"><a href=\"#why\">Why Sarh<\/a><a href=\"#delivery\">Study Method<\/a><a href=\"#outline\">Curriculum<\/a><a href=\"#gaqm\">GAQM Accreditation<\/a><a href=\"#audience\">Who is this Certification for<\/a><a href=\"#exam\">Exam<\/a><a href=\"#path\">Certification Plan<\/a><a href=\"#grads\">Our Graduates<\/a><a href=\"#faq\">FAQ<\/a><\/div>\n<\/div><\/div><\/section>\n\n<section class=\"cfm-sec\" id=\"why\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-head\">\n    <h2>Why study CFM with Sarh?<\/h2>\n    <p>A certification that takes you from recording numbers to reading them and making decisions based on them \u2014 and the difference is made by who teaches it to you.<\/p>\n  <\/div>\n  <div class=\"cfm-cards\"><div class=\"cfm-card\"><span>Accreditation<\/span><h3>Accredited by GAQM<\/h3><p>The Global Association for Quality Management. Sarh International is its exclusive partner for supervising and delivering the Arabic exams for CFM, CRCM, CHRM and CPCA.<\/p><\/div><div class=\"cfm-card\"><span>Language<\/span><h3>Study and take the exam in Arabic<\/h3><p>The curriculum is in Arabic, and the exam is available in Arabic and English \u2014 you choose what suits you. <\/p><\/div><div class=\"cfm-card\"><span>Access<\/span><h3>No Prerequisites<\/h3><p>You do not need any experience or specific qualification to enroll or take the exam.<\/p><\/div><div class=\"cfm-card\"><span>Flexibility<\/span><h3>Exam supervised by Sarh<\/h3><p>In Jordan you sit it at Sarh&#8217;s premises in Amman; outside Jordan you take it online from wherever you are, with live proctoring. We agree the date with you after you book, and the fees include three attempts within six months.<\/p><\/div><div class=\"cfm-card\"><span>Materials<\/span><h3>Comprehensive training package<\/h3><p>GAQM&#8217;s official material with slides and summaries developed by Sarh, focusing on what appears in the exam.<\/p><\/div><\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec is-soft\" id=\"delivery\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-split\">\n    <figure class=\"cfm-media\">\n      <img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/cfm-live-classroom.webp\" alt=\"In-person CFM lecture at Sarh International headquarters\" width=\"1600\" height=\"1000\" loading=\"lazy\" decoding=\"async\"\/>\n      <figcaption>In-person CFM lecture at Sarh headquarters \u2014 Amman<\/figcaption>\n    <\/figure>\n    <div class=\"cfm-copy\">\n      <span class=\"cfm-kick\">Hybrid Learning<\/span>\n      <h2>Attend in the way that suits you<\/h2>\n      <p>The same lectures, the same trainer, and the same materials \u2014 only the place you attend changes. Most of those who study with us are employed, so the schedule is built around that.  <\/p>\n      <ul class=\"cfm-list\">\n        <li><strong>In-person<\/strong> \u2014 interactive lectures at Sarh&#8217;s premises with live discussion and in-class exercises.<\/li>\n        <li><strong>Live online<\/strong> \u2014 the same live stream at its scheduled time, with full interaction with the instructor and the group.<\/li>\n        <li><strong>Lecture recordings<\/strong> \u2014 if you can\u2019t attend, you receive the recording and it remains available for one year.<\/li>\n      <\/ul>\n      <div class=\"cfm-banner\" data-sarh-next=\"sarhgroups.com\/products\/cfm-online-interactive-course\">\n        <div><strong>Upcoming course dates<\/strong>\n        <p>CFM cohorts open throughout the year, in-person and online. Check the next available date and reserve your seat. <\/p><\/div>\n        <a class=\"cfm-btn cfm-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/cfm-certified-financial-manager-course\">Dates and registration<\/a>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec\" id=\"outline\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-head\">\n    <h2>Syllabus Content<\/h2>\n    <p>Eight accounting modules, from the accounting cycle and financial reports to using accounting in business decisions.<\/p>\n  <\/div>\n  <div class=\"cfm-tw\"><table class=\"cfm-tb\">\n    <thead><tr><th>Module<\/th><th>What You Learn<\/th><\/tr><\/thead><tbody><tr><td>Accounting essentials<\/td><td>Key financial terms, the accounting cycle, the core financial reports and the basic tools of financial analysis.<\/td><\/tr><tr><td>Budgets and managing money<\/td><td>The basics of budgeting, the budgeting process, working with the numbers and comparing investment opportunities.<\/td><\/tr><tr><td>Merchandising transactions<\/td><td>Merchandising transactions, gross selling price, returns and allowances, cost of goods sold and the classified income statement.<\/td><\/tr><tr><td>Measuring and reporting inventory<\/td><td>Determining inventory costs, the four inventory costing methods, periodic and perpetual inventory procedures, and departures from the cost basis.<\/td><\/tr><tr><td>Control and monitoring of cash<\/td><td>Control of cash and internal controls, bank reconciliation and the petty cash fund.<\/td><\/tr><tr><td>Receivables and payables<\/td><td>Accounts receivable, uncollectable accounts, write-offs and recoveries, current liabilities, and notes receivable and payable.<\/td><\/tr><tr><td>Adjustments for financial reporting<\/td><td>Adjustments for deferred expenses and depreciation, and for accrued items.<\/td><\/tr><tr><td>Accounting in business decisions<\/td><td>An overview of accounting, dividends and equity ratios, and how corporate accounting differs from sole proprietorship and partnership accounting.<\/td><\/tr><\/tbody>\n  <\/table><\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec is-mist\" id=\"gaqm\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-split flip\">\n    <div class=\"cfm-copy\">\n      <span class=\"cfm-kick\">Official Accreditation<\/span>\n      <h2>GAQM&#8217;s exclusive partner for the Arabic exams<\/h2>\n      <p>The Global Association for Quality Management (GAQM) is the awarding body for the CFM certification. Sarh International is GAQM&#8217;s exclusive partner for supervising and delivering the Arabic exams for CFM, CRCM, CHRM and CPCA, which means that preparation and examination take place under the umbrella of the awarding body itself.  <\/p>\n      <ul class=\"cfm-list\">\n        <li><strong>Documented Accreditation<\/strong> \u2014 Accreditation certificate issued by GAQM in Sarh&#8217;s name.<\/li>\n        <li><strong>Arabic exams<\/strong> \u2014 We supervise and deliver the Arabic exams for CFM, CRCM, CHRM and CPCA.<\/li>\n        <li><strong>International Certification<\/strong> \u2014 Recognized outside Jordan as well.<\/li>\n      <\/ul>\n    <\/div>\n    <figure class=\"cfm-media cfm-media-plain\">\n      <img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/cfm-gaqm-accreditation.webp\" alt=\"Sarh's Accreditation Certificate as an Accredited Training and Testing Center by GAQM\" width=\"760\" height=\"984\" loading=\"lazy\" decoding=\"async\"\/>\n      <figcaption>Accreditation Certificate issued by GAQM in the name of Sarh Global<\/figcaption>\n    <\/figure>\n  <\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec\" id=\"audience\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-head\">\n    <h2>Who is this Certification for?<\/h2>\n    <p>If your daily decision passes through a financial number, this certification is directed at you. <\/p>\n  <\/div>\n  <div class=\"cfm-tags cfm-tags-light\"><span>Accountants and finance professionals<\/span><span>Financial managers<\/span><span>Employees aspiring for promotion<\/span><span>Accounting and finance students and graduates<\/span><span>Small and medium business owners<\/span><\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec is-soft\" id=\"exam\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-head\"><h2>Exam information<\/h2><p>Everything you need to know before taking the exam.<\/p><\/div>\n  <div class=\"cfm-tw\"><table class=\"cfm-tb\"><tbody><tr><td>Accrediting Body<\/td><td>The Global Association for Quality Management (GAQM).<\/td><\/tr><tr><td>Application Requirements<\/td><td>No prerequisites or prior qualifications.<\/td><\/tr><tr><td>Exam format<\/td><td>Multiple-choice questions, available in Arabic and English.<\/td><\/tr><tr><td>Exam location<\/td><td>In Jordan: at Sarh&#8217;s premises in Amman. Outside Jordan: online from wherever you are, with live proctoring. We agree the date with you after you book.<\/td><\/tr><tr><td>Exam Fees<\/td><td>140 JOD for Sarh students and 195 JOD for others, covering three attempts within six months, subject to GAQM&#8217;s fee at registration. <a href=\"https:\/\/sarhgroups.com\/en\/products\/cfm-exam-fees\">Book the exam<\/a>.<\/td><\/tr><\/tbody><\/table><\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec cfm-path\" id=\"path\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-head\"><h2>Certification plan<\/h2><p>From the First Lecture to Certification, Step by Step. <\/p><\/div>\n  <div class=\"cfm-steps\"><div class=\"cfm-step\"><h3>Enroll in the course<\/h3><p>You receive the curriculum, training slides, and exercise files.<\/p><\/div><div class=\"cfm-step\"><h3>Attending lectures<\/h3><p>In-person at Sarh&#8217;s premises or live online, with recordings as a backup option. <\/p><\/div><div class=\"cfm-step\"><h3>Practical Application<\/h3><p>Financial analysis and planning exercises on real cases.<\/p><\/div><div class=\"cfm-step\"><h3>Applying for the exam<\/h3><p>At Sarh&#8217;s premises in Amman if you are in Jordan, or online with live proctoring outside Jordan, and the fees include three attempts within six months.<\/p><\/div><div class=\"cfm-step\"><h3>Earn your certificate<\/h3><p>You receive CFM accreditation from GAQM, internationally recognized.<\/p><\/div><\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec\" id=\"grads\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-head\">\n    <h2>Those Who Studied With Us<\/h2>\n    <p>Finance professionals and auditors who moved from preparing reports to reading them and making decisions based on them.<\/p>\n  <\/div>\n  <div class=\"cfm-tests\"><figure class=\"cfm-test\"><blockquote>The strongest curriculum and best professional certifications and best trainers in the Middle East and best treatment from all employees and departments. I advise all accountants and administrators to start with professional certifications because success with them is guaranteed at a very high rate. All respect and appreciation to all members of this great institution.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/cfm-grad-khalil-habash.webp\" alt=\"Khalil Al-Habash\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"\/><span><b>Khalil Al-Habash<\/b><em>Financial Manager \u2014 Saudi Entertainment Academy \u00b7 CPCA, CIA, CFM, FMVA<\/em><\/span><\/figcaption><\/figure><figure class=\"cfm-test\"><blockquote>I recently completed a Certified Financial Management (CFM) course at Sarh Training Centre, which proved to be a highly valuable and enriching experience. Throughout the program, I gained practical knowledge and skills that are directly applicable to real-world financial management. Overall, the CFM course has significantly enhanced my financial awareness and professional competence.<\/blockquote><figcaption><span><b>Nidal Badwan<\/b><em>Financial Auditor \u2014 Audit Bureau<\/em><\/span><\/figcaption><\/figure><\/div>\n<\/div><\/section>\n\n<section class=\"cfm-sec is-soft\" id=\"faq\"><div class=\"cfm-wrap\">\n  <div class=\"cfm-head\"><h2>FAQs<\/h2><p>What applicants ask us most before registering.<\/p><\/div>\n  <div class=\"cfm-faq\"><details><summary>What is the accrediting body?<\/summary><div class=\"cfm-faq-a\"><p>The Global Association for Quality Management (GAQM). Sarh International is GAQM&#8217;s exclusive partner for supervising and delivering the Arabic exams for CFM, CRCM, CHRM and CPCA.<\/p><\/div><\/details><details><summary>Are there application requirements?<\/summary><div class=\"cfm-faq-a\"><p>No; the certification is available without any prerequisites or prior qualifications.<\/p><\/div><\/details><details><summary>Are the study and exam in Arabic?<\/summary><div class=\"cfm-faq-a\"><p>The curriculum is in Arabic, and the exam is available in Arabic and English. <\/p><\/div><\/details><details><summary>Where do I take the exam?<\/summary><div class=\"cfm-faq-a\"><p>In Jordan: at Sarh&#8217;s premises in Amman. Outside Jordan: online from wherever you are, with live proctoring. We agree the date with you after you book.  <\/p><\/div><\/details><details><summary>How much are the exam fees?<\/summary><div class=\"cfm-faq-a\"><p>140 JOD for Sarh students and 195 JOD for others, covering three attempts within six months, subject to GAQM&#8217;s fee at registration. You book it from the <a href=\"https:\/\/sarhgroups.com\/en\/products\/cfm-exam-fees\">CFM exam fees page<\/a>.<\/p><\/div><\/details><details><summary>Are lecture recordings available?<\/summary><div class=\"cfm-faq-a\"><p>Yes, if you can\u2019t attend, you receive the recording and it remains available for one year. <\/p><\/div><\/details><\/div>\n<\/div><\/section>\n\n<section class=\"cfm-cta-sec\"><div class=\"cfm-wrap\"><div class=\"cfm-cta\">\n  <div>\n    <h2>Get started now<\/h2>\n    <p>No prerequisites, no language barrier. All you need is to start.   <\/p>\n  <\/div>\n  <div class=\"cfm-cta-acts\">\n    <a class=\"cfm-btn cfm-btn-lt\" href=\"https:\/\/sarhgroups.com\/en\/products\/cfm-certified-financial-manager-course\">Enroll in the Course<\/a>\n    <a class=\"cfm-btn cfm-btn-gh\" href=\"https:\/\/sarhgroups.com\/en\/training-courses\/certifications\">Browse 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(\"LyogU2FyaCDDlyBUTVMgc2NoZWR1bGUgd2lkZ2V0LgogICBSZWFkcyB0aGUgbGl2ZSBmZWVkIGF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AgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/ICIg4oCUICIgKyBlc2MoZm10RGF0ZShjLmVuZF9kYXRlKSkgOiAiIikgKyAiPC9zcGFuPiIgKwogICAgICAgICAgICAgIChtZXRhID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1tZXRhIj4nICsgZXNjKG1ldGEpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIgKwogICAgICAgICAgICAnPGRpdiBjbGFzcz0ic2FyaC1yb3ctc2lkZSI+JyArCiAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LXByaWNlIj4nICsgZm10UHJpY2UoYykgKyAiPC9kaXY+IiArCiAgICAgICAgICAgICAgJzxhIGNsYXNzPSJzYXJoLXJvdy1idG4iIGhyZWY9IicgKyBlc2MocmVnVXJsKGMpKSArICciIHJlbD0ibm9vcGVuZXIiPicgKyBULnJlZyArICI8L2E+IiArCiAgICAgICAgICAgICAgKGMuZGV0YWlsc191cmwgPyAnPGEgY2xhc3M9InNhcmgtcm93LWxpbmsiIGhyZWY9IicgKyBlc2MoYy5kZXRhaWxzX3VybCkgKyAnIj4nICsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChBUiA\/ICLYqtmB2KfYtdmK2YQg2KfZhNiv2YjYsdipIiA6ICJDb3Vyc2UgZGV0YWlscyIpICsgIjwvYT4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIgKwogICAgICAgICAgIjwvZGl2PiI7CiAgICAgIH0pOwogICAgICBodG1sICs9ICI8L2Rpdj48L3NlY3Rpb24+IjsKICAgIH0pOwogICAgYm9keS5pbm5lckhUTUwgPSBodG1sIHx8ICc8cCBjbGFzcz0ic2FyaC1tb2RhbC1tc2ciPicgKyBULmVtcHR5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yZWFkeVN0YXRlID09PSAibG9hZGluZyIpIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoIkRPTUNvbnRlbnRMb2FkZWQiLCBib290KTsKICBlbHNlIGJvb3QoKTsKfSkoKTsK\"),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<style>.sbr{margin:34px 0 0;padding:22px 24px;border:1px solid #dfe4ea;border-radius:18px;background:#f7f6f3;display:flex;flex-wrap:wrap;gap:14px;align-items:center;font-family:inherit}.sbr-t{flex:1 1 260px}.sbr-t b{display:block;margin-bottom:4px;color:#16243f;font-size:16px;font-weight:850;line-height:1.4}.sbr-t span{display:block;color:#687386;font-size:13px;line-height:1.75}.sbr a.sbr-b{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:11px;background:#16243f;color:#fff;font-size:13.5px;font-weight:800;text-decoration:none;line-height:1.5}.sbr a.sbr-b:hover{background:#b5181a;color:#fff}<\/style><div class=\"sbr\" dir=\"ltr\" style=\"text-align:left\"><div class=\"sbr-t\"><b>Course brochure<\/b><span>Syllabus, hours, fees and exam details in one file.<\/span><\/div><a class=\"sbr-b\" href=\"https:\/\/sarhtraining.s.gy\/CFM\" target=\"_blank\" rel=\"noopener\">Download the brochure<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>Home\u203a Training\u203a Professional Certifications\u203a Certified Financial Manager CFM International Certification \u2022 Accredited by GAQM Certified Financial Manager CFM Your professional step toward senior financial management \u2014 study it in Arabic and sit the exam at Sarh&#8217;s premises in Amman if you are in Jordan, or online with live proctoring if you are outside Jordan. Curriculum&#8230;<\/p>\n","protected":false},"author":1,"featured_media":37709,"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":"hide","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-9778","page","type-page","status-publish","has-post-thumbnail","hentry"],"taxonomy_info":[],"featured_image_src_large":["https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/sarh-og-card-en-1024x538.jpg",1024,538,true],"author_info":{"display_name":"\u0635\u0631\u062d \u0627\u0644\u0639\u0627\u0644\u0645\u064a\u0629","author_link":"https:\/\/sarhgroups.com\/en\/author\/sarhadmin"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/9778","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=9778"}],"version-history":[{"count":4,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/9778\/revisions"}],"predecessor-version":[{"id":45982,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/9778\/revisions\/45982"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media\/37709"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=9778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}