{"id":4375,"date":"2026-03-15T17:05:27","date_gmt":"2026-03-15T14:05:27","guid":{"rendered":"https:\/\/sarhgroups.com\/fmva"},"modified":"2026-08-29T12:06:23","modified_gmt":"2026-08-29T09:06:23","slug":"fmva","status":"publish","type":"page","link":"https:\/\/sarhgroups.com\/en\/fmva","title":{"rendered":"FMVA"},"content":{"rendered":"\n<style>\n\/* =========================================================\n   Sarh - FMVA certification page  \u00b7  scope: .fmva-v4\n   Navy #16243f \u00b7 Red #b5181a \u00b7 Warm #f7f6f3\n   All landscape media locked to 16:10.\n   ========================================================= *\/\n.fmva-v4,.fmva-v4 *{box-sizing:border-box}\n.fmva-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.fmva-v4 img{display:block; max-width:100%}\n.fmva-v4 a{color:inherit}\n.fmva-v4 [id]{scroll-margin-top:110px}\n.fmva-wrap{width:min(1180px,calc(100% - 48px)); margin-inline:auto}\n.fmva-sec{padding:86px 0}\n.fmva-sec.is-soft{background:var(--soft)}\n.fmva-sec.is-mist{background:var(--mist)}\n\n.fmva-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.fmva-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.fmva-head{display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);\n  gap:56px; align-items:end; margin-bottom:38px}\n.fmva-head h2,.fmva-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.fmva-head>p,.fmva-copy>p{margin:0; color:var(--mu); font-size:16px; line-height:1.95}\n\n\/* ---------- hero ---------- *\/\n.fmva-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.fmva-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.fmva-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.fmva-crumbs a{color:#dce3ee; text-decoration:none}\n.fmva-crumbs a:hover{color:#fff}\n.fmva-hero-grid{display:grid; grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);\n  gap:68px; align-items:center}\n.fmva-hero .fmva-kick{color:var(--pk)}\n.fmva-hero .fmva-kick::before{box-shadow:0 0 0 6px rgba(243,171,177,.1)}\n.fmva-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.fmva-hero h1 span{color:#ffbec3}\n.fmva-lead{max-width:56ch; margin:0 0 26px; color:#d8dfeb; font-size:18px; line-height:1.95}\n.fmva-tags{display:flex; flex-wrap:wrap; gap:9px; margin-bottom:28px}\n.fmva-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.fmva-acts{display:flex; flex-wrap:wrap; gap:11px}\n.fmva-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.fmva-btn:hover{transform:translateY(-2px)}\n.fmva-btn-red{background:var(--rd); color:#fff !important}\n.fmva-btn-red:hover{background:var(--rdd)}\n.fmva-btn-out{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.06); color:#fff !important}\n.fmva-btn-out:hover{border-color:#fff; background:#fff; color:var(--nv) !important}\n.fmva-btn-nv{background:var(--nv); color:#fff !important}\n.fmva-btn-nv:hover{background:var(--nvd)}\n.fmva-btn-lt{background:#fff; color:var(--nv) !important}\n.fmva-btn-lt:hover{background:var(--nv); color:#fff !important}\n.fmva-btn-gh{border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff !important}\n.fmva-btn-gh:hover{background:#fff; color:var(--rdd) !important}\n\n.fmva-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.fmva-seal{position:relative; display:grid; place-items:center; width:min(430px,100%); aspect-ratio:1}\n.fmva-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.fmva-seal::after{content:\"\"; position:absolute; inset:2%; border-radius:50%;\n  box-shadow:0 34px 80px rgba(0,0,0,.42)}\n.fmva-seal img{position:relative; z-index:1; width:100%; height:auto}\n.fmva-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.fmva-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.fmva-badge span{display:block; color:var(--mu); font-size:11.5px; line-height:1.7}\n\n\/* ---------- proof card overlapping hero ---------- *\/\n.fmva-proof-wrap{position:relative; z-index:5; margin-top:-38px}\n.fmva-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.fmva-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.fmva-proof p{margin:0; color:var(--tx); font-size:17px; line-height:2}\n\n\/* ---------- facts ---------- *\/\n.fmva-facts{padding:42px 0 60px}\n.fmva-facts-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}\n.fmva-fact{position:relative; overflow:hidden; padding:25px 23px; border:1px solid var(--line);\n  border-radius:22px; background:#fff}\n.fmva-fact::after{content:\"\"; position:absolute; left:-32px; bottom:-42px; width:110px; height:110px;\n  border-radius:50%; background:var(--mist)}\n.fmva-fact-l{position:relative; z-index:1; display:block; color:var(--rd);\n  font-size:13px; line-height:1.5; font-weight:850}\n.fmva-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.fmva-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.fmva-toc{padding-bottom:26px}\n.fmva-toc-card{padding:22px; border:1px solid var(--line); border-radius:22px; background:var(--soft)}\n.fmva-toc-t{margin:0 0 13px; color:var(--nv); font-size:14px; line-height:1.5; font-weight:850}\n.fmva-toc-l{display:flex; flex-wrap:wrap; gap:8px}\n.fmva-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.fmva-toc-l a:hover{border-color:var(--rd); color:var(--rd)}\n\n\/* ---------- split ---------- *\/\n.fmva-split{display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:62px; align-items:center}\n.fmva-split.flip{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}\n.fmva-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.fmva-media img{width:100%; aspect-ratio:16\/10; object-fit:cover}\n.fmva-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.fmva-media-plain{background:#fff}\n.fmva-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px}\n.fmva-copy h2{margin-bottom:20px}\n.fmva-copy>p+p{margin-top:14px}\n.fmva-list{display:grid; gap:12px; margin:25px 0 0; padding:0; list-style:none}\n.fmva-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.fmva-list li strong{color:var(--nv)}\n.fmva-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.fmva-cards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}\n.fmva-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.fmva-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.fmva-card h3{margin:0 0 10px; color:var(--nv); font-size:19px; line-height:1.45}\n.fmva-card p{margin:0; color:var(--mu); font-size:14px; line-height:1.85}\n@media(hover:hover){.fmva-card:hover{transform:translateY(-5px); border-color:transparent;\n  box-shadow:0 20px 48px rgba(22,36,63,.11)}}\n\n\/* ---------- dates banner ---------- *\/\n.fmva-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.fmva-banner strong{display:block; margin-bottom:5px; color:var(--nv); font-size:16px; line-height:1.6}\n.fmva-banner p{margin:0; color:var(--tx); font-size:13px; line-height:1.8}\n\n\/* ---------- tables ---------- *\/\n.fmva-part{margin:0 0 15px; color:var(--nv); font-size:clamp(18px,2vw,23px); line-height:1.45}\n.fmva-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.fmva-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.fmva-tb{width:100%; min-width:640px; border-collapse:collapse; text-align:left}\n.fmva-tb th,.fmva-tb td{padding:17px 19px; border-bottom:1px solid var(--line); vertical-align:top;\n  font-size:13px; line-height:1.75}\n.fmva-tb th{background:var(--nv); color:#fff; font-weight:800}\n.fmva-tb td{color:var(--tx)}\n.fmva-tb td:first-child{color:var(--nv); font-weight:800}\n.fmva-tb tr:last-child td{border-bottom:0}\n.fmva-tb .w{white-space:nowrap; color:var(--rd); font-weight:850}\n\n\/* ---------- IMA band ---------- *\/\n.fmva-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.fmva-ima.is-solo{grid-template-columns:1fr}\n.fmva-ima-logo{display:grid; place-items:center; padding:22px; border-radius:22px; background:#fff}\n.fmva-ima-logo img{width:100%; height:auto}\n.fmva-ima h2{margin:0 0 13px; color:#fff; font-size:clamp(28px,3.2vw,42px); line-height:1.22}\n.fmva-ima p{margin:0 0 18px; color:#d3dce8; font-size:15px; line-height:1.95}\n.fmva-ima-pts{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px}\n.fmva-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.fmva-path{background:var(--nv); color:#fff}\n.fmva-path .fmva-head h2{color:#fff}\n.fmva-path .fmva-head>p{color:#cbd5e1}\n.fmva-steps{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; counter-reset:cs}\n.fmva-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.fmva-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.fmva-step h3{margin:0 0 9px; color:#fff; font-size:16px; line-height:1.5}\n.fmva-step p{margin:0; color:#c8d2e0; font-size:12px; line-height:1.8}\n\n\/* ---------- testimonials ---------- *\/\n.fmva-tests{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:stretch}\n.fmva-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.fmva-test blockquote{flex:1; margin:0 0 18px; padding:0; border:0; color:var(--tx);\n  font-size:13.5px; line-height:2}\n.fmva-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.fmva-test figcaption{display:flex; align-items:center; gap:12px; margin:0;\n  padding-top:16px; border-top:1px solid var(--line)}\n.fmva-test img{width:52px; height:52px; flex:none; border-radius:50%; object-fit:cover}\n.fmva-test b{display:block; color:var(--nv); font-size:14px; line-height:1.5}\n.fmva-test em{display:block; color:var(--mu); font-size:11.5px; line-height:1.6; font-style:normal}\n\n\/* ---------- faq ---------- *\/\n.fmva-faq{display:grid; gap:11px}\n.fmva-faq details{overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff}\n.fmva-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.fmva-faq summary::-webkit-details-marker{display:none}\n.fmva-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.fmva-faq details[open] summary{background:var(--soft); color:var(--rd)}\n.fmva-faq details[open] summary::after{content:\"\\2212\"; background:var(--rd); color:#fff}\n.fmva-faq-a{padding:0 20px 20px; color:var(--mu); font-size:14px; line-height:1.95}\n.fmva-faq-a p{margin:0}\n\n\/* ---------- cta ---------- *\/\n.fmva-cta-sec{padding:0 0 90px; background:#fff}\n.fmva-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.fmva-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.fmva-cta h2{margin:0 0 13px; color:#fff; font-size:clamp(32px,3.7vw,52px); line-height:1.2}\n.fmva-cta p{max-width:60ch; margin:0; color:#ffe5e8; font-size:15px; line-height:1.9}\n.fmva-cta-acts{position:relative; z-index:2; display:grid; gap:10px}\n.fmva-cta .fmva-btn{width:100%}\n\n\/* ---------- tablet ---------- *\/\n@media(max-width:1024px){\n  .fmva-hero-grid,.fmva-split,.fmva-split.flip,.fmva-head,.fmva-ima,.fmva-cta{grid-template-columns:1fr}\n  .fmva-hero-grid{gap:52px}\n  .fmva-hero-media{width:min(700px,100%); margin-inline:auto}\n  .fmva-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .fmva-cards,.fmva-tests{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .fmva-steps{grid-template-columns:repeat(3,minmax(0,1fr))}\n  .fmva-step{min-height:190px}\n  .fmva-ima-logo{width:min(210px,60%); margin-inline:auto}\n  .fmva-cta-acts{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n\/* ---------- mobile ---------- *\/\n@media(max-width:767px){\n  .fmva-wrap{width:calc(100% - 32px)}\n  .fmva-sec{padding:62px 0}\n  .fmva-hero{padding:22px 0 68px}\n  .fmva-crumbs{margin-bottom:32px}\n  .fmva-hero h1{font-size:38px; line-height:1.22; max-width:none}\n  .fmva-lead{font-size:16px; line-height:1.9}\n  .fmva-acts{display:grid; grid-template-columns:1fr}\n  .fmva-btn{width:100%}\n  .fmva-frame{border-radius:24px}\n  .fmva-frame img{border-radius:17px}\n  .fmva-seal{width:min(280px,72%)}\n  .fmva-badge{position:relative; left:auto; right:auto; bottom:auto; width:calc(100% - 28px); margin:6px auto 0}\n  .fmva-proof-wrap{margin-top:-26px}\n  .fmva-proof{grid-template-columns:1fr; gap:18px; padding:23px 21px; border-radius:22px}\n  .fmva-proof-tag{min-height:auto; text-align:left}\n  .fmva-proof p{font-size:15px}\n  .fmva-facts{padding:30px 0 50px}\n  .fmva-facts-grid{grid-template-columns:1fr; gap:10px}\n  .fmva-fact{padding:21px 18px}\n  .fmva-fact strong{font-size:32px}\n  .fmva-toc-card{padding:18px}\n  .fmva-head{gap:17px; margin-bottom:28px}\n  .fmva-head h2,.fmva-copy h2{font-size:33px; line-height:1.25}\n  .fmva-split,.fmva-split.flip{gap:36px}\n  .fmva-cards,.fmva-tests,.fmva-steps,.fmva-ima-pts{grid-template-columns:1fr}\n  .fmva-card,.fmva-test{padding:23px 21px}\n  .fmva-banner{grid-template-columns:1fr; padding:20px}\n  .fmva-tb th,.fmva-tb td{padding:14px 15px}\n  .fmva-step{min-height:0}\n  .fmva-ima{gap:26px; padding:28px 22px; border-radius:25px}\n  .fmva-cta-sec{padding-bottom:64px}\n  .fmva-cta{gap:28px; padding:36px 24px; border-radius:27px}\n  .fmva-cta-acts{grid-template-columns:1fr}\n}\n@media(prefers-reduced-motion:reduce){\n  .fmva-v4 *,.fmva-v4 *::before,.fmva-v4 *::after{transition:none !important}\n}\n\n\/* English twin: latin numerals and tighter line-height suit the LTR setting *\/\n.fmva-v4{direction:ltr; text-align:left}\n.fmva-v4 .fmva-lead,.fmva-v4 .fmva-head>p,.fmva-v4 .fmva-copy>p{line-height:1.75}\n.fmva-v4 .fmva-list li,.fmva-v4 .fmva-card p,.fmva-v4 .fmva-faq-a{line-height:1.7}\n.fmva-tb th,.fmva-tb td{text-align:left}\n.fmva-crumbs{direction:ltr}\n\n.fmva-tags-light span{border-color:var(--line); background:#fff; color:var(--nv); padding:11px 18px; font-size:13.5px}\n.fmva-media-plain{background:#fff}\n.fmva-media-plain img{aspect-ratio:auto; object-fit:contain; padding:18px; max-height:520px; width:auto; margin-inline:auto}\n\n<\/style>\n<div class=\"fmva-v4\">\n<section class=\"fmva-hero\"><div class=\"fmva-wrap\">\n  <nav class=\"fmva-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>Financial Modeling &#038; Valuation Analyst (FMVA)<\/span>\n  <\/nav>\n  <div class=\"fmva-hero-grid\">\n    <div>\n      <span class=\"fmva-kick\">CFI Authorized Training Partner<\/span>\n      <h1>Financial Modeling &amp; Valuation <span>Analyst<\/span><\/h1>\n      <p class=\"fmva-lead\">Study in Arabic and earn the same international credential \u2014 one exam you sit from anywhere, at any time.<\/p>\n      <div class=\"fmva-tags\"><span>Taught in Arabic<\/span><span>No prerequisites<\/span><span>One exam \u00b7 50 questions<\/span><span>Sit it anywhere<\/span><\/div>\n      <div class=\"fmva-acts\">\n        <a class=\"fmva-btn fmva-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/fmva-financial-modeling-valuation-analyst-course\">Enrol on the course<\/a>\n        <a class=\"fmva-btn fmva-btn-out\" href=\"#outline\">See the syllabus<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"fmva-hero-media\">\n      <div class=\"fmva-seal\"><img fetchpriority=\"high\" src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/fmva-cfi-partner-badge.webp\" alt=\"Sarh is a CFI Authorized Training Partner\" width=\"572\" height=\"567\" loading=\"eager\" decoding=\"async\"><\/div>\n      \n    <\/div>\n  <\/div>\n<\/div><\/section>\n\n<section class=\"fmva-proof-wrap\"><div class=\"fmva-wrap\"><div class=\"fmva-proof\">\n  <div class=\"fmva-proof-tag\">An international<br>credential, taught in Arabic<\/div><p>The <strong>FMVA<\/strong> from the Corporate Finance Institute (<strong>CFI<\/strong>) proves you can build financial models and value companies. At Sarh you study it <strong>in Arabic<\/strong> with hands-on Excel work, and sit a single exam from anywhere \u2014 no booking, no proctor.<\/p>\n<\/div><\/div><\/section>\n<section class=\"fmva-facts\"><div class=\"fmva-wrap\"><div class=\"fmva-facts-grid\"><div class=\"fmva-fact\"><span class=\"fmva-fact-l\">The exam<\/span><strong>50<\/strong><em>questions in a single part<\/em><\/div><div class=\"fmva-fact\"><span class=\"fmva-fact-l\">Duration<\/span><strong>3<\/strong><em>hours, sat whenever you choose<\/em><\/div><div class=\"fmva-fact\"><span class=\"fmva-fact-l\">Language<\/span><strong>Arabic<\/strong><em>teaching and materials<\/em><\/div><\/div><\/div><\/section>\n<section class=\"fmva-toc\"><div class=\"fmva-wrap\"><div class=\"fmva-toc-card\">\n  <p class=\"fmva-toc-t\">On this page<\/p><div class=\"fmva-toc-l\"><a href=\"#why\">Why Sarh<\/a><a href=\"#delivery\">How you study<\/a><a href=\"#outline\">Syllabus<\/a><a href=\"#cfi\">CFI 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=\"fmva-sec\" id=\"why\"><div class=\"fmva-wrap\"><div class=\"fmva-head\"><h2>Why study FMVA at Sarh?<\/h2><p>Financial modelling is a skill built by practice, not memorisation \u2014 so the course is hands-on from the first session.<\/p><\/div><div class=\"fmva-cards\"><div class=\"fmva-card\"><span>Accreditation<\/span><h3>A CFI Authorized Training Partner<\/h3><p>Sarh is formally authorised by the Corporate Finance Institute to deliver training and exam preparation.<\/p><\/div><div class=\"fmva-card\"><span>Language<\/span><h3>Study in Arabic<\/h3><p>Teaching and materials in Arabic, with a fully international credential \u2014 the language is no barrier.<\/p><\/div><div class=\"fmva-card\"><span>Access<\/span><h3>No prerequisites<\/h3><p>Open to university students, employees and managers alike, with no prior requirements.<\/p><\/div><div class=\"fmva-card\"><span>Flexibility<\/span><h3>Sit the exam anywhere<\/h3><p>No advance booking and no proctor \u2014 you sit it when it suits you.<\/p><\/div><div class=\"fmva-card\"><span>Materials<\/span><h3>A complete training pack<\/h3><p>A full summary of the material with the key formulas and concepts, clearly organised.<\/p><\/div><div class=\"fmva-card\"><span>Practice<\/span><h3>Applied, not theoretical<\/h3><p>Modelling and valuation exercises that mirror what the job actually asks of you.<\/p><\/div><\/div><\/div><\/section><section class=\"fmva-sec is-soft\" id=\"delivery\"><div class=\"fmva-wrap\"><div class=\"fmva-split\"><figure class=\"fmva-media\"><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/fmva-computer-lab.webp\" alt=\"The computer lab at Sarh \u2014 hands-on financial modelling training\" width=\"1600\" height=\"1000\" loading=\"lazy\" decoding=\"async\"><figcaption>Hands-on training in the computer lab \u2014 one machine per trainee<\/figcaption><\/figure><div class=\"fmva-copy\"><span class=\"fmva-kick\">Hands-on training<\/span><h2>You build the model yourself<\/h2><p>You do not just watch the instructor. You open Excel alongside them, build the three linked statements and the discounted cash flow model yourself, until the process is second nature well before the exam.<\/p><ul class=\"fmva-list\"><li><strong>In person<\/strong> \u2014 in the computer lab at Sarh, one machine per trainee.<\/li><li><strong>Live online<\/strong> \u2014 the same session at the same time, with screen sharing and full interaction.<\/li><li><strong>Recordings<\/strong> \u2014 if you cannot attend, the recording reaches you and stays available for seven days.<\/li><\/ul><div class=\"fmva-banner\" data-sarh-next=\"sarhgroups.com\/products\/fmva-course\"><div><strong>Upcoming course dates<\/strong><p>FMVA cohorts open through the year, in person and online. Check the next start date and reserve your place.<\/p><\/div><a class=\"fmva-btn fmva-btn-red\" href=\"https:\/\/sarhgroups.com\/en\/products\/fmva-financial-modeling-valuation-analyst-course\">Dates and enrolment<\/a><\/div><\/div><\/div><\/div><\/section><section class=\"fmva-sec\" id=\"outline\"><div class=\"fmva-wrap\"><div class=\"fmva-head\"><h2>The syllabus<\/h2><p>From reading a financial statement to delivering a complete valuation model \u2014 in the order the skill is actually built.<\/p><\/div><div class=\"fmva-tw\"><table class=\"fmva-tb\"><thead><tr><th>Module<\/th><th>What you learn<\/th><\/tr><\/thead><tbody><tr><td>Accounting and finance fundamentals<\/td><td>Reading the three financial statements and how they connect, and the terminology every model rests on.<\/td><\/tr><tr><td>Excel for financial modelling<\/td><td>Functions, shortcuts and modelling best practice: formatting, auditing and error tracing.<\/td><\/tr><tr><td>The three-statement model<\/td><td>Building a linked model that ties the income statement, balance sheet and cash flow into one file.<\/td><\/tr><tr><td>Forecasting and budgeting<\/td><td>Building assumptions and forecasting revenue, costs and working capital.<\/td><\/tr><tr><td>Discounted cash flow (DCF) valuation<\/td><td>Free cash flow, the WACC discount rate, terminal value and the route to a share price.<\/td><\/tr><tr><td>Comparable company valuation<\/td><td>Valuing a business against peer multiples and precedent transactions.<\/td><\/tr><tr><td>Sensitivity and scenario analysis<\/td><td>Testing how the answer moves when assumptions change, and building multiple scenarios.<\/td><\/tr><tr><td>Presenting the result<\/td><td>Turning the model into dashboards and outputs a decision-maker can read.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"fmva-sec is-mist\" id=\"cfi\"><div class=\"fmva-wrap\"><div class=\"fmva-split flip\"><div class=\"fmva-copy\"><span class=\"fmva-kick\">Formal accreditation<\/span><h2 style=\"font-size:clamp(24px,2.6vw,34px);\">A CFI Authorized Training Partner<\/h2><p>The Corporate Finance Institute awards the FMVA worldwide. Sarh is formally accredited by CFI as a training partner, authorised to deliver training and exam-preparation materials.<\/p><ul class=\"fmva-list\"><li><strong>Documented accreditation<\/strong> \u2014 a partnership certificate issued by CFI in Sarh&#8217;s name.<\/li><li><strong>Official materials<\/strong> \u2014 training and preparation content accredited by the institute itself.<\/li><li><strong>An international credential<\/strong> \u2014 the same designation wherever you are.<\/li><\/ul><\/div><figure class=\"fmva-media fmva-media-plain\"><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/fmva-cfi-certificate.webp\" alt=\"Sarh's CFI Authorized Training Partner certificate\" width=\"1500\" height=\"1171\" loading=\"lazy\" decoding=\"async\"><figcaption>The partnership certificate issued by the Corporate Finance Institute to Sarh International<\/figcaption><\/figure><\/div><\/div><\/section><section class=\"fmva-sec\" id=\"audience\"><div class=\"fmva-wrap\"><div class=\"fmva-head\"><h2>Who is it for?<\/h2><p>If part of your work runs through an Excel model and ends in a financial decision, this is aimed at you.<\/p><\/div><div class=\"fmva-tags fmva-tags-light\"><span>Credit analysts<\/span><span>Financial analysts<\/span><span>Corporate analysts<\/span><span>Financial advisers<\/span><span>Banking and investment staff<\/span><span>Finance and accounting students and graduates<\/span><\/div><\/div><\/section><section class=\"fmva-sec is-soft\" id=\"exam\"><div class=\"fmva-wrap\"><div class=\"fmva-head\"><h2>Exam information<\/h2><p>Everything you need to know before you sit it, from requirements to fees.<\/p><\/div><div class=\"fmva-tw\"><table class=\"fmva-tb\"><tbody><tr><td>Awarding body<\/td><td>The Corporate Finance Institute (CFI).<\/td><\/tr><tr><td>Entry requirements<\/td><td>None. There are no prior qualifications.<\/td><\/tr><tr><td>Exam format<\/td><td>A single part of 50 questions, three hours long.<\/td><\/tr><tr><td>Where you sit it<\/td><td>Anywhere, at any time, with no advance booking and no proctor.<\/td><\/tr><tr><td>Exam fee<\/td><td>US$500, paid to CFI directly and separate from the course fee.<\/td><\/tr><\/tbody><\/table><\/div><\/div><\/section><section class=\"fmva-sec fmva-path\" id=\"path\"><div class=\"fmva-wrap\"><div class=\"fmva-head\"><h2>Your route to the certificate<\/h2><p>From the first lecture to the designation, step by step.<\/p><\/div><div class=\"fmva-steps\"><div class=\"fmva-step\"><h3>Enrol<\/h3><p>On enrolment you receive the training pack and the exercise files.<\/p><\/div><div class=\"fmva-step\"><h3>Attend<\/h3><p>In the computer lab at Sarh or live online, with recordings as a fallback.<\/p><\/div><div class=\"fmva-step\"><h3>Build the models<\/h3><p>You apply what you learn to real modelling and valuation exercises.<\/p><\/div><div class=\"fmva-step\"><h3>Sit the exam<\/h3><p>One exam from anywhere, with no advance booking and no proctor.<\/p><\/div><div class=\"fmva-step\"><h3>Certification<\/h3><p>You earn the FMVA designation from CFI, recognised internationally.<\/p><\/div><\/div><\/div><\/section><section class=\"fmva-sec\" id=\"grads\"><div class=\"fmva-wrap\"><div class=\"fmva-head\"><h2>Graduates<\/h2><p>Accountants and analysts who built their first models in our classrooms and took them back to their desks.<\/p><\/div><div class=\"fmva-tests\"><figure class=\"fmva-test\"><blockquote>My experience with Sarh Group on the FMVA Certification course was excellent. The content was clear and practical and helped me a great deal in developing my analysis and financial modelling skills. I recommend the programme to anyone looking to progress in the financial field.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/06\/ANZOR-GHISH-FMVA.webp\" alt=\"Anzor Ghish\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Anzor Ghish<\/b><em>Finance Manager<\/em><\/span><\/figcaption><\/figure><figure class=\"fmva-test\"><blockquote>Excellent course with a well-structured curriculum. The focus on integrating the three financial statements and DCF valuation was particularly helpful. The practical Excel exercises provided me with tools I can immediately apply in my accounting work.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/06\/OSAMA-AL-SHINAWI-FMVA.webp\" alt=\"Osama Al Shinawi\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Osama Al Shinawi<\/b><em>Avico<\/em><\/span><\/figcaption><\/figure><figure class=\"fmva-test\"><blockquote>The course was excellent. We learned financial analysis skills, advanced Excel and valuation methods, and the instructors were outstanding.<\/blockquote><figcaption><img src=\"https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/06\/Rashed-Jarrar-FMVA.webp\" alt=\"Rashed Jarrar\" width=\"52\" height=\"52\" loading=\"lazy\" decoding=\"async\"><span><b>Rashed Jarrar<\/b><em>Arab Pharmaceutical Industries<\/em><\/span><\/figcaption><\/figure><\/div><\/div><\/section><section class=\"fmva-sec is-soft\" id=\"faq\"><div class=\"fmva-wrap\"><div class=\"fmva-head\"><h2>Frequently asked<\/h2><p>What candidates ask us most before enrolling.<\/p><\/div><div class=\"fmva-faq\"><details><summary>Who awards the certification?<\/summary><div class=\"fmva-faq-a\"><p>The Corporate Finance Institute (CFI), and Sarh is an accredited training partner.<\/p><\/div><\/details><details><summary>What are the entry requirements?<\/summary><div class=\"fmva-faq-a\"><p>There are none; the certification is open to students, employees and managers alike.<\/p><\/div><\/details><details><summary>Is the teaching in Arabic?<\/summary><div class=\"fmva-faq-a\"><p>Yes \u2014 teaching and materials are in Arabic, while the credential and the exam are international.<\/p><\/div><\/details><details><summary>What is the exam like?<\/summary><div class=\"fmva-faq-a\"><p>A single part, three hours long, with 50 questions, and you can sit it from anywhere.<\/p><\/div><\/details><details><summary>Do I need to book an exam slot?<\/summary><div class=\"fmva-faq-a\"><p>No. You sit it when it suits you, with no advance booking and no proctor.<\/p><\/div><\/details><details><summary>How much is the exam fee?<\/summary><div class=\"fmva-faq-a\"><p>US$500, paid to CFI directly and separate from the course fee.<\/p><\/div><\/details><details><summary>Do I need prior Excel experience?<\/summary><div class=\"fmva-faq-a\"><p>No. We start from the fundamentals and move on to the functions and tools modelling requires.<\/p><\/div><\/details><\/div><\/div><\/section>\n<section class=\"fmva-cta-sec\"><div class=\"fmva-wrap\"><div class=\"fmva-cta\">\n  <div><h2>Start now<\/h2><p>Financial modelling is not a talent \u2014 it is a skill mastered by repetition, under someone who has built it hundreds of times before you.<\/p><\/div>\n  <div class=\"fmva-cta-acts\">\n    <a class=\"fmva-btn fmva-btn-lt\" href=\"https:\/\/sarhgroups.com\/en\/products\/fmva-financial-modeling-valuation-analyst-course\">Enrol on the course<\/a>\n    <a class=\"fmva-btn fmva-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+IHRoZSBuZXh0IG9wZW4gY29ob3J0IGZvciB0aGF0IGNvdXJzZQogICAgIFtkYXRhLXNhcmgtc2NoZWR1bGVdICAgICAgICAgICAgICAgLT4gYSBidXR0b24gdGhhdCBvcGVucyB0aGUgZnVsbCBzY2hlZHVsZQogICBQcm9ncmVzc2l2ZSBlbmhhbmNlbWVudDogaWYgdGhlIGZlZWQgaXMgdW5yZWFjaGFibGUgb3IgZW1wdHksIHdoYXRldmVyIG1hcmt1cAogICBpcyBhbHJlYWR5IGluc2lkZSB0aGUgZWxlbWVudCBpcyBsZWZ0IGV4YWN0bHkgYXMgaXQgaXMuICovCihmdW5jdGlvbiAoKSB7CiAgaWYgKHdpbmRvdy5fX3NhcmhUTVMpIHJldHVybjsKICB3aW5kb3cuX19zYXJoVE1TID0gMTsKCiAgdmFyIEZFRUQgPSAiaHR0cHM6Ly90bXMuc2FyaGludC5jb20vc2NoZWR1bGUvZmVlZCI7CiAgdmFyIFRNUyAgPSAiaHR0cHM6Ly90bXMuc2FyaGludC5jb20iOwog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ICAgICBmbXRNb2RlKGMuZGVsaXZlcnlfbW9kZSldLmZpbHRlcihCb29sZWFuKS5qb2luKCIgwrcgIik7CiAgICAgICAgaHRtbCArPQogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93Ij4nICsKICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LW1haW4iPicgKwogICAgICAgICAgICAgICc8c3Ryb25nPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAgICAgKGMuY29ob3J0ID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1jb2hvcnQiPicgKyBlc2MoYy5jb2hvcnQpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/ICIg4oCUICIgKyBlc2MoZm10RGF0ZShjLmVuZF9kYXRlKSkgOiAiIikgKyAiPC9zcGFuPiIgKwogICAgICAgICAgICAgIChtZXRhID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1tZXRhIj4nICsgZXNjKG1ldGEpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIgKwogICAgICAgICAgICAnPGRpdiBjbGFzcz0ic2FyaC1yb3ctc2lkZSI+JyArCiAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LXByaWNlIj4nICsgZm10UHJpY2UoYykgKyAiPC9kaXY+IiArCiAgICAgICAgICAgICAgJzxhIGNsYXNzPSJzYXJoLXJvdy1idG4iIGhyZWY9IicgKyBlc2MocmVnVXJsKGMpKSArICciIHJlbD0ibm9vcGVuZXIiPicgKyBULnJlZyArICI8L2E+IiArCiAgICAgICAgICAgICAgKGMuZGV0YWlsc191cmwgPyAnPGEgY2xhc3M9InNhcmg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IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoIltkYXRhLXNhcmgtbmV4dF0iKTsKICAgIGlmICghbmV4dHMubGVuZ3RoKSByZXR1cm47CiAgICBsb2FkKCkudGhlbihmdW5jdGlvbiAoZCkgewogICAgICBBcnJheS5wcm90b3R5cGUuZm9yRWFjaC5jYWxsKG5leHRzLCBmdW5jdGlvbiAoZWwpIHsKICAgICAgICB0cnkgeyBmaWxsTmV4dChlbCwgZCk7IH0gY2F0Y2ggKGUpIHt9CiAgICAgIH0pOwogICAgfSkuY2F0Y2goZnVuY3Rpb24gKCkgeyAvKiBzdGF0aWMgZmFsbGJhY2sgc3RheXMgKi8gfSk7CiAgfQogIGlmIChkb2N1bWVudC5yZWFkeVN0YXRlID09PSAibG9hZGluZyIpIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoIkRPTUNvbnRlbnRMb2FkZWQiLCBib290KTsKICBlbHNlIGJvb3QoKTsKfSkoKTsK\"),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\/FMVA\" target=\"_blank\" rel=\"noopener\">Download the brochure<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>Home\u203aTraining\u203a Professional certifications\u203aFinancial Modeling &#038; Valuation Analyst (FMVA) CFI Authorized Training Partner Financial Modeling &amp; Valuation Analyst Study in Arabic and earn the same international credential \u2014 one exam you sit from anywhere, at any time. Taught in ArabicNo prerequisitesOne exam \u00b7 50 questionsSit it anywhere Enrol on the course See the syllabus An internationalcredential,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kb_optimizer_status":2,"_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-4375","page","type-page","status-publish","hentry"],"taxonomy_info":[],"featured_image_src_large":false,"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\/4375","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=4375"}],"version-history":[{"count":1,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/4375\/revisions"}],"predecessor-version":[{"id":36656,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/pages\/4375\/revisions\/36656"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=4375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}