{"id":10127,"date":"2026-03-15T17:14:55","date_gmt":"2026-03-15T14:14:55","guid":{"rendered":"https:\/\/sarhgroups.com\/products\/certified-internal-auditor-cia-recorded-course"},"modified":"2026-10-27T13:14:47","modified_gmt":"2026-10-27T10:14:47","slug":"certified-internal-auditor-cia-recorded-course","status":"publish","type":"product","link":"https:\/\/sarhgroups.com\/en\/products\/certified-internal-auditor-cia-recorded-course","title":{"rendered":"Certified Internal Auditor CIA (Recorded Course)"},"content":{"rendered":"<p><\/p>\n<style>\n\/* =========================================================\n   Sarh \u00b7 course product description  \u00b7  scope: .scp\n   Same design system as the JCPA testbank product page (.sjq) and the\n   certification landing pages: identical palette, radii, shadows, hover\n   behaviour and component vocabulary. Nothing invented here - this is the\n   sjq system generalised so all course products can share one stylesheet.\n   Sits BELOW WooCommerce's gallery\/title\/price\/add-to-cart; never repeats them.\n   ========================================================= *\/\n.scp-root,.scp-root *{box-sizing:border-box}\n.scp-root{\n  --nv:#16243f; --nvd:#101827; --nvx:#0d172c; --rd:#b5181a; --rdd:#8f1214;\n  --soft:#f7f6f3; --mist:#eef3f7; --line:#dfe4ea; --tx:#3f4a5d; --mu:#687386;\n  --pk:#f3abb1; --rose:#f7e9eb; --sand:#f3ebdf; --ice:#c8d3e3;\n  position:relative; width:100vw; max-width:100vw; margin-inline:calc(50% - 50vw);\n  padding-inline:clamp(16px,4vw,40px);\n  direction:ltr; text-align:left; color:var(--tx); font-family:inherit; line-height:1.7;\n}\n.scp-inner{width:100%; max-width:1240px; margin-inline:auto}\n.scp-root p:empty{display:none !important}\n.scp-root div>br{display:none !important}\n.scp-root img{display:block; max-width:100%}\n.scp-root a:not(.scp-btn){color:inherit; text-decoration:none}\n.scp-root p{margin:0}\n.scp-sec{margin-top:clamp(26px,3.2vw,46px)}\n\/* ---------- eyebrow ---------- *\/\n.scp-eb{display:inline-flex; align-items:center; gap:10px; margin-bottom:14px;\n  color:var(--rd); font-size:11.5px; font-weight:800; letter-spacing:.02em}\n.scp-eb::before{content:\"\"; width:9px; height:9px; border-radius:50%; background:var(--rd);\n  box-shadow:0 0 0 5px rgba(181,24,26,.09)}\n.scp-eb-l{color:#fff}\n.scp-eb-l::before{background:#fff; box-shadow:0 0 0 6px rgba(255,255,255,.08)}\n\/* ---------- headings ---------- *\/\n.scp-h2{margin:0 0 14px; color:#fff; font-size:clamp(25px,3.1vw,40px); line-height:1.32;\n  font-weight:850; letter-spacing:-.015em}\n.scp-h3{margin:0 0 10px; color:var(--nvd); font-size:clamp(21px,2.5vw,31px); line-height:1.35;\n  font-weight:850; letter-spacing:-.012em}\n.scp-h4{margin:0 0 7px; color:var(--nv); font-size:16px; line-height:1.5; font-weight:800}\n.scp-lede{max-width:760px; color:var(--mu); font-size:14px; line-height:1.95}\n.scp-lede-l{color:#c8d3e3}\n.scp-hi{color:var(--pk)}\n.scp-hi-d{color:var(--rd)}\n\/* ---------- buttons ---------- *\/\n.scp-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px;\n  padding:11px 22px; border:0; border-radius:999px; cursor:pointer; font-family:inherit;\n  font-size:13.5px; font-weight:800; line-height:1.5; text-decoration:none !important;\n  transition:transform .2s ease, background .2s ease, color .2s ease}\n@media(hover:hover){\n  .scp-btn:hover{transform:translateY(-2px)}\n  .scp-btn-red:hover{background:var(--rdd)}\n  .scp-btn-soft:hover{background:rgba(255,255,255,.16)}\n  .scp-root .scp-btn-ghost:hover{background:var(--nv); color:#fff}\n  .scp-root .scp-btn-white:hover{background:var(--nv); color:#fff}\n}\n.scp-root .scp-btn-red{background:var(--rd); color:#fff}\n.scp-root .scp-btn-soft{background:rgba(255,255,255,.08); color:#fff;\n  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}\n.scp-root .scp-btn-ghost{background:transparent; color:var(--nv);\n  box-shadow:inset 0 0 0 1px var(--line)}\n.scp-root .scp-btn-white{background:#fff; color:var(--nv)}\n.scp-acts{display:flex; flex-wrap:wrap; gap:10px; margin-top:22px}\n\/* ---------- cards ---------- *\/\n.scp-card{padding:22px; border-radius:22px; background:#fff; border:1px solid var(--line);\n  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease}\n@media(hover:hover){.scp-card:hover{transform:translateY(-6px); border-color:transparent;\n  box-shadow:0 24px 56px rgba(22,36,63,.13)}}\n.scp-tile{display:grid; place-items:center; width:42px; height:42px; margin-bottom:14px;\n  border-radius:14px; background:var(--mist); color:var(--nv); font-size:15px; font-weight:800}\n.scp-tile-rose{background:var(--rose); color:var(--rd)}\n.scp-tile-sand{background:var(--sand); color:#8a6a2f}\n.scp-card p{color:var(--mu); font-size:13px; line-height:1.7}\n.scp-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(228px,1fr)); gap:14px;\n  margin-top:22px}\n\/* ---------- hero ---------- *\/\n.scp-hero{padding:clamp(24px,3.6vw,46px); border-radius:32px;\n  background:linear-gradient(135deg,var(--nvd) 0%,var(--nv) 58%,var(--nvx) 100%);\n  box-shadow:0 22px 58px rgba(13,23,43,.16)}\n.scp-hero-g{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));\n  gap:clamp(20px,2.6vw,34px); align-items:center}\n.scp-stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(128px,1fr)); gap:10px;\n  margin-top:clamp(20px,2.4vw,30px)}\n.scp-stats div{padding:15px 12px; border-radius:16px; background:rgba(255,255,255,.06)}\n.scp-stats strong{display:block; color:#fff; font-family:Montserrat,Cairo,sans-serif;\n  font-size:22px; line-height:1.15; font-weight:800}\n.scp-stats span{display:block; margin-top:5px; color:var(--ice); font-size:11.5px; line-height:1.6}\n\/* signature card: translucent frame + white card, exactly as on the testbank page *\/\n.scp-sig{padding:clamp(14px,1.6vw,20px); border-radius:26px; background:rgba(255,255,255,.07)}\n.scp-sig-in{padding:16px; border-radius:20px; background:#fff;\n  box-shadow:0 18px 44px rgba(13,23,43,.22)}\n.scp-sig-h{display:flex; align-items:center; gap:10px; padding-bottom:12px;\n  border-bottom:1px solid var(--line)}\n.scp-sig-h strong{color:var(--nv); font-size:12.5px; line-height:1.5}\n.scp-sig-h span{margin-inline-start:auto; color:var(--rd); font-size:11.5px; font-weight:800;\n  font-family:Montserrat,Cairo,sans-serif}\n\/* ---------- progress bars ---------- *\/\n.scp-bar{display:block; height:7px; border-radius:999px; background:var(--mist); overflow:hidden}\n.scp-bar>i{display:block; height:100%; border-radius:inherit; background:var(--rd);\n  animation:scpGrow 1.1s ease both}\n.scp-bar-n>i{background:var(--nv)}\n@keyframes scpGrow{from{width:0}}\n.scp-brow{margin-top:14px}\n.scp-brow-t{display:flex; align-items:baseline; gap:8px; margin-bottom:7px}\n.scp-brow-t b{color:var(--nv); font-size:12.5px; font-weight:800}\n.scp-brow-t span{margin-inline-start:auto; color:var(--mu); font-size:11.5px}\n.scp-mini{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px;\n  padding-top:14px; border-top:1px solid var(--line)}\n.scp-mini div{text-align:center}\n.scp-mini b{display:block; color:var(--nv); font-family:Montserrat,Cairo,sans-serif;\n  font-size:16px; font-weight:800; line-height:1.2}\n.scp-mini span{display:block; margin-top:3px; color:var(--mu); font-size:10.5px; line-height:1.5}\n\/* ---------- price strip ---------- *\/\n.scp-strip{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;\n  gap:16px; padding:20px 22px; border-radius:22px; background:var(--soft)}\n.scp-strip .scp-amt{display:block; color:var(--nv); font-size:13.5px; line-height:1.6}\n.scp-strip .scp-amt .woocommerce-Price-amount{font-family:Montserrat,Cairo,sans-serif;\n  font-size:27px; font-weight:800; color:var(--nv)}\n.scp-strip .scp-amt del{opacity:.5}\n.scp-strip .scp-amt del .woocommerce-Price-amount{font-size:16px; font-weight:600; color:var(--mu)}\n.scp-strip .scp-amt ins{text-decoration:none}\n.scp-strip .screen-reader-text{position:absolute!important; width:1px; height:1px; overflow:hidden;\n  clip:rect(0 0 0 0); white-space:nowrap}\n.scp-strip small{display:block; margin-top:6px; max-width:62ch; color:var(--mu);\n  font-size:11.5px; line-height:1.8}\n\/* ---------- next cohort ---------- *\/\n.scp-dates{padding:22px 24px; border-radius:22px; background:var(--rose);\n  border-inline-start:5px solid var(--rd)}\n.scp-dates strong{display:block; margin-bottom:5px; color:var(--nv); font-size:15px; line-height:1.6}\n.scp-dates p{color:var(--tx); font-size:13px; line-height:1.85}\n\/* ---------- topic chips \/ lists ---------- *\/\n.scp-paper{padding:22px; border-radius:22px; background:#fff; border:1px solid var(--line);\n  margin-top:14px}\n.scp-paper-h{display:flex; align-items:center; gap:12px; margin-bottom:16px;\n  padding-bottom:14px; border-bottom:1px solid var(--line)}\n.scp-paper-h b{display:grid; place-items:center; flex:none; width:30px; height:30px;\n  border-radius:50%; background:var(--nv); color:#fff; font-size:13px; font-weight:800}\n.scp-paper-h strong{color:var(--nv); font-size:16px; line-height:1.5}\n.scp-paper-h span{margin-inline-start:auto; padding:5px 12px; border-radius:999px;\n  background:var(--mist); color:var(--rd); font-size:11px; font-weight:800}\n.scp-chips{display:flex; flex-wrap:wrap; gap:8px}\n.scp-chips span{padding:9px 14px; border-radius:999px; background:var(--soft);\n  border:1px solid var(--line); color:var(--tx); font-size:12.5px; line-height:1.5}\n.scp-ticks{display:grid; gap:10px}\n.scp-ticks div{display:flex; align-items:flex-start; gap:10px; color:var(--tx);\n  font-size:13px; line-height:1.85}\n.scp-ticks span{display:grid; place-items:center; flex:none; width:20px; height:20px;\n  margin-top:3px; border-radius:50%; background:#fff; color:var(--rd); font-size:10px; font-weight:900}\n.scp-ticks-l div{color:#dbe3ef}\n.scp-ticks-l span{background:rgba(255,255,255,.14); color:#fff}\n\/* ---------- platform (dark panel) ---------- *\/\n.scp-dark{padding:clamp(24px,3.4vw,42px); border-radius:32px;\n  background:linear-gradient(135deg,var(--nvd) 0%,var(--nv) 58%,var(--nvx) 100%);\n  box-shadow:0 22px 58px rgba(13,23,43,.16)}\n.scp-dstats{display:grid; grid-template-columns:repeat(auto-fit,minmax(128px,1fr)); gap:10px;\n  margin-top:24px}\n.scp-dstats div{padding:15px 12px; border-radius:16px; background:rgba(255,255,255,.06)}\n.scp-dstats strong{display:block; color:#fff; font-family:Montserrat,Cairo,sans-serif;\n  font-size:21px; line-height:1.15; font-weight:800}\n.scp-dstats span{display:block; margin-top:5px; color:var(--ice); font-size:11.5px; line-height:1.6}\n.scp-split{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));\n  gap:clamp(18px,2.4vw,30px); align-items:center; margin-top:26px}\n\/* exam simulator mock *\/\n.scp-sim{padding:16px; border-radius:20px; background:#fff;\n  box-shadow:0 18px 44px rgba(13,23,43,.22)}\n.scp-sim-h{display:flex; align-items:center; gap:10px; padding-bottom:12px;\n  border-bottom:1px solid var(--line)}\n.scp-sim-h strong{color:var(--nv); font-size:12px; line-height:1.5}\n.scp-sim-h span{margin-inline-start:auto; color:var(--rd); font-size:12px; font-weight:800;\n  font-family:Montserrat,Cairo,sans-serif}\n.scp-sim-m{display:flex; align-items:center; gap:8px; margin:13px 0 9px;\n  color:var(--mu); font-size:11px}\n.scp-sim-m b{color:var(--nv); font-family:Montserrat,Cairo,sans-serif; font-weight:800}\n.scp-sim-m i{margin-inline-start:auto; font-style:normal; padding:3px 9px; border-radius:999px;\n  background:var(--sand); color:#8a6a2f; font-size:10px; font-weight:800}\n.scp-sim-q{margin:12px 0 12px; color:var(--nv); font-size:12.5px; line-height:1.85; font-weight:700}\n.scp-opts{display:grid; gap:7px}\n.scp-opts span{display:flex; align-items:center; gap:10px; padding:9px 11px; border-radius:11px;\n  color:var(--tx); font-size:12px; line-height:1.6}\n.scp-opts span b{display:grid; place-items:center; flex:none; width:22px; height:22px;\n  border-radius:50%; background:var(--mist); color:var(--nv); font-size:11px; font-weight:800}\n.scp-opts span.on{background:var(--rose)}\n.scp-opts span.on b{background:var(--rd); color:#fff}\n.scp-qg{display:grid; grid-template-columns:repeat(10,1fr); gap:5px; margin-top:13px;\n  padding-top:13px; border-top:1px solid var(--line)}\n.scp-qg span{display:grid; place-items:center; aspect-ratio:1; border-radius:6px;\n  background:var(--mist); color:var(--nv); font-size:9px; font-weight:800;\n  font-family:Montserrat,Cairo,sans-serif}\n.scp-qg span.a{background:var(--nv); color:#fff}\n.scp-qg span.f{background:var(--sand); color:#8a6a2f}\n.scp-qg span.c{background:var(--rd); color:#fff}\n.scp-leg{display:flex; flex-wrap:wrap; gap:12px; margin-top:11px; color:var(--mu); font-size:10.5px}\n.scp-leg span{display:inline-flex; align-items:center; gap:6px}\n.scp-leg b{width:11px; height:11px; border-radius:3px; background:var(--mist)}\n.scp-leg b.a{background:var(--nv)}\n.scp-leg b.f{background:var(--sand)}\n\/* allam chat mock *\/\n.scp-chat{padding:18px; border-radius:26px; background:#fff;\n  box-shadow:0 20px 48px rgba(22,36,63,.12)}\n.scp-chat-h{display:flex; align-items:center; gap:10px; padding-bottom:13px;\n  border-bottom:1px solid var(--line)}\n.scp-chat-h b{display:grid; place-items:center; width:30px; height:30px; border-radius:12px;\n  background:var(--rd); color:#fff; font-size:11px; font-weight:800}\n.scp-chat-h strong{color:var(--nv); font-size:12.5px}\n.scp-chat-h span{margin-inline-start:auto; color:var(--mu); font-size:10.5px}\n.scp-msg{margin-top:11px; padding:11px 13px; border-radius:14px; background:var(--mist);\n  color:var(--tx); font-size:12px; line-height:1.85}\n.scp-msg.u{background:var(--nv); color:#fff}\n.scp-score{display:flex; align-items:center; gap:13px; margin-top:12px; padding:13px;\n  border-radius:14px; background:var(--rose)}\n.scp-score b{flex:none; color:var(--rd); font-family:Montserrat,Cairo,sans-serif;\n  font-size:24px; font-weight:800; line-height:1}\n.scp-score span{color:var(--tx); font-size:11px; line-height:1.75}\n\/* ---------- spec rows ---------- *\/\n.scp-rows{margin-top:22px; border-radius:22px; border:1px solid var(--line); background:#fff;\n  overflow:hidden}\n.scp-rows div{display:grid; grid-template-columns:230px minmax(0,1fr); gap:20px;\n  padding:15px 20px; border-bottom:1px solid var(--line)}\n.scp-rows div:last-child{border-bottom:0}\n.scp-rows dt{color:var(--nv); font-size:13px; font-weight:800; line-height:1.8}\n.scp-rows dd{margin:0; color:var(--tx); font-size:13px; line-height:1.7}\n.scp-note{margin-top:14px; padding:18px 20px; border-radius:18px; background:var(--soft);\n  border-inline-start:4px solid var(--rd); color:var(--tx); font-size:12.5px; line-height:1.95}\n.scp-note b{color:var(--nv)}\n\/* ---------- rating ---------- *\/\n.scp-rate{display:flex; flex-wrap:wrap; align-items:center; gap:22px; padding:22px 24px;\n  border-radius:22px; background:var(--soft)}\n.scp-rate .v{color:var(--nvd); font-family:Montserrat,Cairo,sans-serif; font-size:42px;\n  font-weight:800; line-height:1}\n.scp-rate .s{color:#f0a020; font-size:17px; letter-spacing:2px}\n.scp-rate strong{display:block; color:var(--nv); font-size:14px; line-height:1.6}\n.scp-rate span{display:block; color:var(--mu); font-size:12px; line-height:1.8}\n\/* ---------- closing ---------- *\/\n.scp-cta{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr));\n  gap:clamp(20px,2.6vw,34px); align-items:center; padding:clamp(24px,3.4vw,42px);\n  border-radius:32px; background:linear-gradient(135deg,var(--nvd) 0%,var(--nv) 58%,var(--nvx) 100%);\n  box-shadow:0 22px 58px rgba(13,23,43,.16)}\n.scp-cta .scp-acts{margin-top:0; justify-content:flex-start}\n\/* ---------- mobile ---------- *\/\n@media(max-width:767px){\n  .scp-hero,.scp-dark,.scp-cta{border-radius:24px}\n  .scp-stats,.scp-dstats{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .scp-rows div{grid-template-columns:1fr; gap:4px; padding:14px 16px}\n  .scp-strip{padding:18px}\n  .scp-rate{padding:18px}\n  .scp-rate .v{font-size:34px}\n  .scp-qg{grid-template-columns:repeat(7,1fr)}\n  .scp-btn{width:100%}\n  .scp-acts{gap:8px}\n}\n@media(prefers-reduced-motion:reduce){\n  .scp-card,.scp-btn{transition:none}\n  .scp-bar>i{animation:none}\n}\n\/* ---------- real imagery ----------\n   One ratio family per page: 16:9 for platform screenshots and the books\n   lineup, 16:10 for the classroom photo. Cropped by object-fit, never\n   letterboxed, and every source is already WebP. *\/\n.scp-shot{display:block; width:100%; border-radius:20px; overflow:hidden;\n  background:#fff; box-shadow:0 18px 44px rgba(13,23,43,.22)}\n.scp-shot img{display:block; width:100%; height:100%; object-fit:cover}\n.scp-16{aspect-ratio:16\/9}\n.scp-10{aspect-ratio:16\/10}\n.scp-cap{margin:10px 2px 0; color:var(--ice); font-size:11px; line-height:1.7; text-align:center}\n.scp-fig{border-radius:22px; overflow:hidden; border:1px solid var(--line); background:#fff}\n.scp-fig img{display:block; width:100%; height:100%; object-fit:cover}\n.scp-fig-cap{padding:12px 16px; border-top:1px solid var(--line); background:var(--soft);\n  color:var(--mu); font-size:11.5px; line-height:1.7}\n\/* ---------- what the course includes ---------- *\/\n.scp-incl{display:grid; grid-template-columns:repeat(auto-fit,minmax(268px,1fr)); gap:12px;\n  margin-top:22px}\n.scp-incl div{display:flex; align-items:flex-start; gap:12px; padding:16px 18px;\n  border-radius:18px; background:#fff; border:1px solid var(--line)}\n.scp-incl b{display:grid; place-items:center; flex:none; width:26px; height:26px;\n  border-radius:50%; background:var(--rose); color:var(--rd); font-size:11px; font-weight:900}\n.scp-incl span{color:var(--tx); font-size:13px; line-height:1.85}\n.scp-incl span i{display:block; font-style:normal; color:var(--nv); font-weight:800;\n  font-size:13.5px; margin-bottom:2px}\n.scp-root details.scp-acc{border:1px solid var(--line); border-radius:18px; background:#fff;\n  margin-bottom:10px; overflow:hidden}\n.scp-root details.scp-acc>summary{list-style:none; cursor:pointer; padding:17px 20px;\n  display:flex; align-items:center; gap:12px; font-weight:800; color:var(--nvd);\n  font-size:15px; line-height:1.5}\n.scp-root details.scp-acc>summary::-webkit-details-marker{display:none}\n.scp-root details.scp-acc>summary b{display:grid; place-items:center; flex:none; width:30px;\n  height:30px; border-radius:10px; background:var(--nv); color:#fff;\n  font-family:Montserrat,Cairo,sans-serif; font-size:12px; font-weight:800}\n.scp-root details.scp-acc>summary i{margin-inline-start:auto; font-style:normal;\n  color:var(--mu); font-size:12px; font-weight:600}\n.scp-root details.scp-acc[open]>summary{border-bottom:1px solid var(--line)}\n.scp-root details.scp-acc .scp-chips{padding:16px 20px 18px}\n.scp-root .scp-quick{display:grid; grid-template-columns:repeat(auto-fit,minmax(186px,1fr));\n  gap:10px; margin-top:22px}\n.scp-root .scp-quick div{padding:16px 18px; border-radius:16px; background:var(--soft);\n  border:1px solid var(--line); color:var(--tx); font-size:13.5px; line-height:1.7}\n.scp-root .scp-learn{display:grid; grid-template-columns:repeat(auto-fit,minmax(258px,1fr));\n  gap:12px; margin-top:22px}\n.scp-root .scp-learn div{display:flex; gap:11px; padding:18px 20px; border-radius:18px;\n  background:#fff; border:1px solid var(--line); color:var(--tx); font-size:13.5px;\n  line-height:1.75}\n.scp-root .scp-learn div::before{content:\"\u2713\"; flex:none; color:var(--rd); font-weight:800}\n.scp-root .scp-how{padding:clamp(22px,3vw,34px); border-radius:24px; background:var(--soft);\n  border:1px solid var(--line); margin-top:22px; color:var(--tx); font-size:14px;\n  line-height:1.85}\n<\/style>\n<style>\/* Sarh \u00d7 TMS schedule widget \u2014 palette matches the certification pages *\/ .sarh-next,.sarh-next *{box-sizing:border-box} .sarh-next{display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,auto); gap:22px; align-items:center; width:100%} .sarh-next-kick{display:block; color:#b5181a; font-size:12px; font-weight:800; line-height:1.5; letter-spacing:.01em; margin-bottom:4px} .sarh-next-date{display:block; color:#16243f; font-size:clamp(19px,2.2vw,25px); font-weight:850; line-height:1.25; margin-bottom:4px} .sarh-next-cohort{display:block; color:#687386; font-size:12.5px; line-height:1.6; margin-bottom:12px} .sarh-next-rows{display:grid; grid-template-columns:auto 1fr; gap:4px 12px; margin:0} .sarh-next-rows dt{color:#687386; font-size:12px; line-height:1.7; margin:0} .sarh-next-rows dd{color:#16243f; font-size:12.5px; font-weight:700; line-height:1.7; margin:0} .sarh-next-more{margin:10px 0 0; color:#687386; font-size:11.5px; line-height:1.6} .sarh-next-side{display:grid; gap:8px; justify-items:stretch; text-align:center} .sarh-next-price{color:#16243f; font-size:13px; line-height:1.7} .sarh-next-price b{font-family:Montserrat,Cairo,sans-serif; font-size:21px; color:#b5181a} .sarh-next-price s{color:#98a2b3; margin-inline-start:6px; font-size:12.5px} .sarh-next-price i{display:block; color:#687386; font-size:11px; font-style:normal; margin-top:2px} .sarh-next-btn{display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 22px; border-radius:999px; background:#b5181a; color:#fff !important; font-size:13.5px; font-weight:800; text-decoration:none !important; transition:background .2s ease, transform .2s ease} .sarh-next-btn:hover{background:#8f1214; transform:translateY(-1px)} .sarh-next-all{appearance:none; border:1px solid #dfe4ea; border-radius:999px; background:#fff; color:#16243f; padding:9px 18px; font-size:12px; font-weight:750; cursor:pointer; font-family:inherit; transition:border-color .2s ease, color .2s ease} .sarh-next-all:hover{border-color:#b5181a; color:#b5181a} @media(max-width:767px){.sarh-next{grid-template-columns:1fr; gap:16px}.sarh-next-side{justify-items:stretch}} \/* ---------------- modal ---------------- *\/ .sarh-modal{position:fixed; inset:0; z-index:99999; display:none} .sarh-modal.is-open{display:block} .sarh-modal-back{position:absolute; inset:0; background:rgba(10,19,37,.55); backdrop-filter:blur(2px)} .sarh-modal-card{position:relative; z-index:1; width:min(980px,calc(100% - 32px)); max-height:86vh; margin:7vh auto 0; display:flex; flex-direction:column; overflow:hidden; border-radius:26px; background:#fff; box-shadow:0 40px 100px rgba(10,19,37,.4)} .sarh-modal-top{display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:24px 26px; border-bottom:1px solid #dfe4ea; background:#f7f6f3} .sarh-modal-top h2{margin:0 0 4px; color:#101827; font-size:clamp(20px,2.4vw,27px); line-height:1.25; font-weight:850} .sarh-modal-top p{margin:0; color:#687386; font-size:12.5px; line-height:1.7} .sarh-modal-x{appearance:none; border:0; background:#fff; border:1px solid #dfe4ea; border-radius:50%; width:36px; height:36px; flex:none; font-size:22px; line-height:1; color:#16243f; cursor:pointer} .sarh-modal-x:hover{border-color:#b5181a; color:#b5181a} .sarh-modal-body{padding:8px 26px 26px; overflow-y:auto} .sarh-modal-msg{margin:26px 0; color:#687386; font-size:14px; text-align:center} .sarh-mon{margin-top:22px} .sarh-mon h3{position:sticky; top:0; margin:0 0 12px; padding:10px 0; background:#fff; color:#b5181a; font-size:13px; font-weight:850; letter-spacing:.02em} .sarh-mon-list{display:grid; gap:10px} .sarh-row{display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,auto); gap:18px; align-items:center; padding:16px 18px; border:1px solid #dfe4ea; border-radius:16px; background:#fff; transition:border-color .2s ease, box-shadow .2s ease} .sarh-row:hover{border-color:#c9d2dd; box-shadow:0 10px 26px rgba(22,36,63,.07)} .sarh-row-main strong{display:block; color:#16243f; font-size:15px; line-height:1.45} .sarh-row-cohort{display:inline-block; margin-top:4px; padding:3px 9px; border-radius:999px; background:#eef3f7; color:#16243f; font-size:11px; font-weight:750} .sarh-row-date{display:block; margin-top:6px; color:#3f4a5d; font-size:12.5px; font-weight:700; line-height:1.6} .sarh-row-meta{display:block; margin-top:3px; color:#687386; font-size:11.5px; line-height:1.6} .sarh-row-side{display:grid; gap:6px; justify-items:stretch; text-align:center} .sarh-row-price{color:#16243f; font-size:12px; line-height:1.6} .sarh-row-price b{font-family:Montserrat,Cairo,sans-serif; font-size:17px; color:#b5181a} .sarh-row-price s{color:#98a2b3; margin-inline-start:5px; font-size:11.5px} .sarh-row-price i{display:block; color:#687386; font-size:10.5px; font-style:normal} .sarh-row-btn{display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:8px 18px; border-radius:999px; background:#b5181a; color:#fff !important; font-size:12.5px; font-weight:800; text-decoration:none !important} .sarh-row-btn:hover{background:#8f1214} .sarh-row-link{color:#687386 !important; font-size:11px; text-decoration:none !important} .sarh-row-link:hover{color:#b5181a !important} @media(max-width:767px){.sarh-modal-card{width:calc(100% - 20px); margin:4vh auto 0; max-height:92vh; border-radius:20px}.sarh-modal-top{padding:18px}.sarh-modal-body{padding:6px 18px 20px}.sarh-row{grid-template-columns:1fr; gap:12px}.sarh-row-side{justify-items:stretch}} @media(prefers-reduced-motion:reduce){.sarh-next-btn,.sarh-row{transition:none}} .scp-root [data-sarh-next]{margin:18px 0}.scp-root .sarh-next-btn{background:#b5181a;color:#fff;border-radius:999px;padding:12px 22px;font-weight:800;text-decoration:none;display:block;text-align:center}.scp-root .sarh-next-btn:hover{background:#8f1214;color:#fff}.scp-root .sarh-next-all{background:transparent;color:#16243f;border:1.5px solid #cfd6e2;border-radius:999px;padding:11px 22px;font-weight:800;cursor:pointer;display:block;width:100%} .bottom-cta-container .single_add_to_cart_button,.cta-unified-stack-wrapper .single_add_to_cart_button{background:#b5181a!important;color:#fff!important;border-color:#b5181a!important}.bottom-cta-container .single_add_to_cart_button:hover,.cta-unified-stack-wrapper .single_add_to_cart_button:hover{background:#8f1214!important;color:#fff!important}.woocommerce-Reviews .woocommerce-noreviews,#reviews .woocommerce-noreviews,p.woocommerce-noreviews{display:none!important} html body .summary.entry-summary form.cart table.variations th.label,html body .summary.entry-summary form.cart table.variations td.value,html body .entry-summary form.cart table.variations th.label,html body .entry-summary form.cart table.variations td.value{text-align:left!important;direction:ltr!important}html body .summary.entry-summary form.cart table.variations td.value select,html body .entry-summary form.cart table.variations td.value select,html body .woocommerce div.product form.cart .variations select{text-align:left!important;direction:ltr!important;text-align-last:left!important}html body .summary.entry-summary form.cart table.variations th.label label,html body .entry-summary form.cart table.variations th.label label{font-family:Montserrat,Cairo,system-ui,sans-serif!important;text-align:left!important;direction:ltr!important}html body .single-product-payments-custom-01 .payment-custom-img,html body img.payment-custom-img{border-radius:0!important;object-fit:contain!important;width:auto!important;max-width:58px!important;height:22px!important} \/* sarh-product-rich-v1 rich *\/ .scp-faq{display:grid;gap:10px}.scp-qa{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.scp-qa summary{padding:15px 18px;cursor:pointer;font-weight:800;color:var(--nv,#16243f);list-style:none;position:relative;font-size:14.5px;line-height:1.7}.scp-qa summary::-webkit-details-marker{display:none}.scp-qa summary::after{content:\"+\";position:absolute;inset-inline-end:16px;top:12px;font-size:20px;font-weight:800;color:#b5181a}.scp-qa[open] summary::after{content:\"2212\"}.scp-qa p{margin:0;padding:0 18px 16px;color:var(--mu,#5a6577);font-size:14px;line-height:1.9}.scp-rel{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.scp-rel a{display:block;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s}.scp-rel a:hover{border-color:#b5181a;box-shadow:0 6px 18px rgba(16,22,38,.07)}.scp-rel b{display:block;color:var(--nv,#16243f);font-size:14px;line-height:1.6;margin-bottom:4px}.scp-rel span{display:block;color:var(--mu,#5a6577);font-size:12.5px;line-height:1.6}.scp-eb{font-size:12px}.scp-cap{font-size:12px}<\/style>\n<div class=\"scp-root\">\n<div class=\"scp-inner\">\n<div class=\"scp-hero\">\n<div class=\"scp-eb scp-eb-l\">Certified Internal Auditor &#8211; self-study<\/div>\n<div class=\"scp-hero-g\">\n<div>\n<h2 class=\"scp-h2\">Study CIA in Arabic, and return to any explanation when you need it<\/h2>\n<p class=\"scp-lede scp-lede-l\">Recorded lectures in Arabic with study books written by Sarh and a question bank, so you can study at your own pace and revisit any topic.<\/p>\n<div class=\"scp-acts\"><a class=\"scp-btn scp-btn-red\" href=\"#\" data-sarh-buy data-scp-cart>Choose the part or package<\/a><a class=\"scp-btn scp-btn-soft\" href=\"https:\/\/sarhgroups.com\/en\/contact-us-2\">Try the platform<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-eb\">At a glance<\/div>\n<h3 class=\"scp-h3\">Programme essentials<\/h3>\n<div class=\"scp-quick\">\n<div>Part One available now; Parts Two and Three coming soon<\/div>\n<div>Recorded lectures<\/div>\n<div>Arabic study books written by Sarh<\/div>\n<div>Question bank and mock exams<\/div>\n<div>12 months of access, depending on the product<\/div>\n<\/div>\n<\/div>\n<div class=\"scp-dates\" ><strong>Start any time<\/strong><\/p>\n<p>This is a recorded programme, so there is no cohort to wait for \u2014 your access begins as soon as your account is activated and runs for 12 months.<\/p>\n<\/div>\n<div class=\"scp-strip\">\n<div><small>The price shown is the full-payment price. It includes access to the video platform and an Arabic question bank of exam-style questions written by Sarh.<\/small><\/div>\n<p><a class=\"scp-btn scp-btn-red\" href=\"#\" data-sarh-buy data-scp-cart>Enrol now<\/a><\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-eb\">Who it is for<\/div>\n<h3 class=\"scp-h3\">Who this programme serves<\/h3>\n<p class=\"scp-lede\">Internal auditors and accountants who want the CIA qualification but need to study around work, and anyone who prefers Arabic explanation.<\/p>\n<\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-eb\">Outcomes<\/div>\n<h3 class=\"scp-h3\">What you will learn<\/h3>\n<div class=\"scp-learn\">\n<div>Internal audit fundamentals and professional standards.<\/div>\n<div>Governance, risk management and internal control.<\/div>\n<div>Audit planning, fieldwork and reporting.<\/div>\n<div>Practising the question styles the exam uses.<\/div>\n<\/div>\n<\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-eb\">Programme content<\/div>\n<h3 class=\"scp-h3\">The syllabus in full<\/h3>\n<details class=\"scp-acc\" open>\n<summary><b>1<\/b>Part One \u2014 Internal Audit Fundamentals<i>4 topics<\/i><\/summary>\n<div class=\"scp-chips\"><span>Foundations of internal auditing<\/span><span>Ethics and professionalism<\/span><span>Governance, risk management, and control<\/span><span>Fraud risks<\/span><\/div>\n<\/details>\n<details class=\"scp-acc\">\n<summary><b>2<\/b>Part Two \u2014 Internal Audit Engagement (coming soon)<i>3 topics<\/i><\/summary>\n<div class=\"scp-chips\"><span>Engagement planning<\/span><span>Information gathering, analysis, and evaluation<\/span><span>Engagement supervision and communication<\/span><\/div>\n<\/details>\n<details class=\"scp-acc\">\n<summary><b>3<\/b>Part Three \u2014 Internal Audit Function (coming soon)<i>4 topics<\/i><\/summary>\n<div class=\"scp-chips\"><span>Internal audit operations<\/span><span>The internal audit plan<\/span><span>Quality of the internal audit function<\/span><span>Engagement results and monitoring<\/span><\/div>\n<\/details>\n<\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-eb\">How you study<\/div>\n<h3 class=\"scp-h3\">How the programme runs<\/h3>\n<div class=\"scp-how\">Recorded lectures you can replay, Arabic study books written by Sarh, a question bank and mock exams inside the platform.<\/div>\n<\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-eb\">Details<\/div>\n<h3 class=\"scp-h3\">Scheduling and enrolment<\/h3>\n<dl class=\"scp-rows\">\n<div>\n<dt>Account validity<\/dt>\n<dd>12 full months from the date of purchase and activation<\/dd>\n<\/div>\n<div>\n<dt>How you study<\/dt>\n<dd>Sarh Stream \u2014 pre-recorded video in high definition<\/dd>\n<\/div>\n<div>\n<dt>Content volume<\/dt>\n<dd>35 lectures and more than 14 training hours<\/dd>\n<\/div>\n<div>\n<dt>Support<\/dt>\n<dd>Continuous support from audit experts, answering any question that comes up while you watch<\/dd>\n<\/div>\n<div>\n<dt>Books included<\/dt>\n<dd>The Part One book, written by Sarh in Arabic (160 pages): a protected e-book that cannot be printed, or a printed copy, depending on the option you choose<\/dd>\n<\/div>\n<div>\n<dt>Printed book later<\/dt>\n<dd>Bought the course with the e-book and now want the printed book? Order it from the <a href=\"https:\/\/sarhgroups.com\/en\/products\/cia-print-upgrade-en\">printed book upgrade page<\/a> for 20 JOD; delivery is calculated at checkout.<\/dd>\n<\/div>\n<\/dl>\n<\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-eb\">Why Sarh International<\/div>\n<h3 class=\"scp-h3\">What sets the programme apart<\/h3>\n<p class=\"scp-lede\">Arabic delivery of an international qualification, with material you keep access to for the period of your package.<\/p>\n<\/div>\n<div class=\"scp-sec\">\n<div class=\"scp-sec\"><div class=\"scp-eb\">FAQ<\/div><h3 class=\"scp-h3\">What people ask before they enrol<\/h3><div class=\"scp-faq\"><details class=\"scp-qa\"><summary>Is this a live course or a recorded one?<\/summary><p>It is fully recorded. Lectures are delivered as pre-recorded high-definition video on the Sarh Stream platform, so you can start whenever you like and replay any explanation as often as you need.<\/p><\/details><details class=\"scp-qa\"><summary>What language are the lectures and study materials in?<\/summary><p>The lectures are delivered in Arabic, and the study materials are Arabic books written by Sarh.<\/p><\/details><details class=\"scp-qa\"><summary>How long will I have access after purchase?<\/summary><p>Your account stays active for 12 full months from the date of purchase and activation, covering the video platform and the question bank.<\/p><\/details><details class=\"scp-qa\"><summary>What exactly does the course include?<\/summary><p>You get the recorded lectures (35 lectures with more than 14 training hours), Sarh&#8217;s Arabic study books, a bank of exam-style questions written by Sarh with mock exams, and continuous support from audit experts for any question that comes up while you watch.<\/p><\/details><details class=\"scp-qa\"><summary>Which parts are available now?<\/summary><p>Part One is available now, with an e-book or a printed book, depending on the option you choose. Parts Two and Three are coming soon.<\/p><\/details><\/div><\/div><div class=\"scp-sec\"><div class=\"scp-eb\">Related products<\/div><h3 class=\"scp-h3\">Pairs well with this<\/h3><div class=\"scp-rel\"><a href=\"https:\/\/sarhgroups.com\/en\/products\/certified-internal-auditor-cia-course\"><b>Full CIA course (live or in-person)<\/b><span>Live Arabic preparation for all three CIA parts, 87 hours.<\/span><\/a><a href=\"https:\/\/sarhgroups.com\/en\/products\/cia-arabic-books-question-bank\"><b>CIA curriculum (books)<\/b><span>Sarh&#8217;s three Arabic CIA books with the online question bank, in print or digital.<\/span><\/a><a href=\"https:\/\/sarhgroups.com\/en\/products\/question-bank-renewal\"><b>Question Bank Renewal<\/b><span>Extend your access on SarhOnline when it runs out.<\/span><\/a><\/div><\/div> <div class=\"scp-cta\">\n<div>\n<div class=\"scp-eb scp-eb-l\">Enrolment<\/div>\n<h2 class=\"scp-h2\">Ready to start?<\/h2>\n<p class=\"scp-lede scp-lede-l\">Choose the study option that suits you, or get in touch and we will help you pick the right cohort and format.<\/p>\n<\/div>\n<div class=\"scp-acts\"><a class=\"scp-btn scp-btn-red\" href=\"#\" data-sarh-buy data-scp-cart>Choose the part or package<\/a><a class=\"scp-btn scp-btn-soft\" href=\"https:\/\/sarhgroups.com\/en\/contact-us-2\">Talk to a programme adviser<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><script>(function(){try{var d=atob(\"LyogU2FyaCDDlyBUTVMgc2NoZWR1bGUgd2lkZ2V0LgogICBSZWFkcyB0aGUgbGl2ZSBmZWVkIGF0IHRtcy5zYXJoaW50LmNvbSBhbmQgZmlsbHMgaW4gdHdvIHRoaW5nczoKICAgICBbZGF0YS1zYXJoLW5leHQ9Ijxwcm9kdWN0IHBhdGg+Il0gIC0+IHRoZSBuZXh0IG9wZW4gY29ob3J0IGZvciB0aGF0IGNvdXJzZQogICAgIFtkYXRhLXNhcmgtc2NoZWR1bGVdICAgICAgICAgICAgICAgLT4gYSBidXR0b24gdGhhdCBvcGVucyB0aGUgZnVsbCBzY2hlZHVsZQogICBQcm9ncmVzc2l2ZSBlbmhhbmNlbWVudDogaWYgdGhlIGZlZWQgaXMgdW5yZWFjaGFibGUgb3IgZW1wdHksIHdoYXRldmVyIG1hcmt1cAogICBpcyBhbHJlYWR5IGluc2lkZSB0aGUgZWxlbWVudCBpcyBsZWZ0IGV4YWN0bHkgYXMgaXQgaXMuICovCihmdW5jdGlvbiAoKSB7CiAgaWYgKHdpbmRvdy5fX3NhcmhUTVMpIHJldHVybjsKICB3aW5kb3cuX19zYXJoVE1TID0gMTsKCiAgdmFyIEZFRUQgPSAiaHR0cHM6Ly90bXMuc2FyaGludC5jb20vc2NoZWR1bGUvZmVlZCI7CiAgdmFyIFRNUyAgPSAiaHR0cHM6Ly90bXMuc2FyaGludC5jb20iOwogIHZhciBDS0VZID0gInNhcmgtdG1zLWZlZWQtdjEiOwogIHZhciBUVEwgID0gNSAqIDYwICogMTAwMDsKCiAgdmFyIEFSID0gZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LmxhbmcuaW5kZ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G9ydCB8fCAiIik7CiAgICAgICAgICByZXR1cm4gdGVybXMuc29tZShmdW5jdGlvbiAodCkgeyByZXR1cm4gaGF5LmluZGV4T2YodCkgIT09IC0xOyB9KTsKICAgICAgICB9KTsKICAgICAgfQogICAgICBpZiAoIXJvd3MubGVuZ3RoKSByZXR1cm47CiAgICAgIGh0bWwgKz0gJzxzZWN0aW9uIGNsYXNzPSJzYXJoLW1vbiI+PGgzPicgKyBlc2MobS5sYWJlbCB8fCBtLmtleSkgKyAnPC9oMz48ZGl2IGNsYXNzPSJzYXJoLW1vbi1saXN0Ij4nOwogICAgICByb3dzLmZvckVhY2goZnVuY3Rpb24gKGMpIHsKICAgICAgICB2YXIgbWV0YSA9IFtmbXREYXlzKGMuZGF5cyksCiAgICAgICAgICAgICAgICAgICAgYy5zdGFydF90aW1lID8gZm10VGltZShjLnN0YXJ0X3RpbWUpICsgIiDigJMgIiArIGZtdFRpbWUoYy5lbmRfdGltZSkgOiAiIiwKICAgICAgICAgICAgICAgICAgICBmbXRNb2RlKGMuZGVsaXZlcnlfbW9kZSldLmZpbHRlcihCb29sZWFuKS5qb2luKCIgwrcgIik7CiAgICAgICAgaHRtbCArPQogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93Ij4nICsKICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LW1haW4iPicgKwogICAgICAgICAgICAgICc8c3Ryb25nPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAgICAgKGMuY29ob3J0ID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1jb2hvcnQiPicgKyBlc2MoYy5jb2hvcnQpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/IC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0ZSA9PT0gImxvYWRpbmciKSBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIiwgYm9vdCk7CiAgZWxzZSBib290KCk7Cn0pKCk7Cg==\"),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){}})();<\/script><script>(function(){if(window.__sarhBuy){return;}window.__sarhBuy=1;document.addEventListener(\"click\",function(e){var a=e.target.closest?e.target.closest(\"[data-sarh-buy]\"):null;if(!a){return;}var f=document.querySelector(\"form.variations_form\")||document.querySelector(\"form.cart\");if(!f){return;}e.preventDefault();f.scrollIntoView({behavior:\"smooth\",block:\"center\"});var s=f.querySelector(\"select\");if(s){setTimeout(function(){try{s.focus();}catch(x){}},450);}});}());<\/script><\/p>\n\n<!-- sarh-schema-v2 --><style id=\"sarh-sol-links-v1\">.sol-xl{margin-block:26px;padding:18px 22px;border-radius:16px;background:#f7f6f3;border-inline-start:4px solid #b5181a;font-size:16px;line-height:1.85}.sol-xl.sol-xl p{margin:0 0 6px;color:#3f4a5d}.sol-xl p:last-child{margin-block-end:0}.sol-xl a{color:#16243f;font-weight:800;text-decoration:underline}.sol-xl a:hover{color:#b5181a}<\/style><div class=\"sol-xl\"><p>Practise free on the Sarh Online platform:<\/p><p><a href=\"https:\/\/online.sarhint.com\/cia\" target=\"_blank\" rel=\"noopener\">the CIA question bank and mock exams<\/a><\/p><\/div><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/certified-internal-auditor-cia-recorded-course#faq\",\"inLanguage\":\"en\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Is this a live course or a recorded one?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It is fully recorded. Lectures are delivered as pre-recorded high-definition video on the Sarh Stream platform, so you can start whenever you like and replay any explanation as often as you need.\"}},{\"@type\":\"Question\",\"name\":\"What language are the lectures and study materials in?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The lectures are delivered in Arabic, and the study materials are Arabic books written by Sarh.\"}},{\"@type\":\"Question\",\"name\":\"How long will I have access after purchase?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Your account stays active for 12 full months from the date of purchase and activation, covering the video platform and the question bank.\"}},{\"@type\":\"Question\",\"name\":\"What exactly does the course include?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You get the recorded lectures (35 lectures with more than 14 training hours), Sarh's Arabic study books, a bank of exam-style questions written by Sarh with mock exams, and continuous support from audit experts for any question that comes up while you watch.\"}},{\"@type\":\"Question\",\"name\":\"Which parts are available now?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Part One is available now, with an e-book or a printed book, depending on the option you choose. Parts Two and Three are coming soon.\"}}]}<\/script><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/certified-internal-auditor-cia-recorded-course#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sarhgroups.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Training Courses\",\"item\":\"https:\/\/sarhgroups.com\/en\/training-courses\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Certified Internal Auditor CIA (Recorded Course)\",\"item\":\"https:\/\/sarhgroups.com\/en\/products\/certified-internal-auditor-cia-recorded-course\"}]}<\/script><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"Course\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/certified-internal-auditor-cia-recorded-course#course\",\"name\":\"Certified Internal Auditor CIA (Recorded Course)\",\"description\":\"Recorded lectures in Arabic with study books written by Sarh and a question bank, so you can study at your own pace and revisit any topic.\",\"url\":\"https:\/\/sarhgroups.com\/en\/products\/certified-internal-auditor-cia-recorded-course\",\"provider\":{\"@type\":\"Organization\",\"@id\":\"https:\/\/sarhgroups.com\/#organization\"}}<\/script>","protected":false},"excerpt":{"rendered":"<p>Recorded lectures in Arabic with study books written by Sarh and a question bank, so you can study at your own pace and revisit any topic.<\/p>\n","protected":false},"featured_media":32618,"comment_status":"open","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":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":""},"product_brand":[],"product_cat":[65],"product_tag":[90,88],"class_list":["post-10127","product","type-product","status-publish","has-post-thumbnail","product_cat-training-courses","product_tag-accounting-and-finance","product_tag-self-study","first","instock","shipping-taxable","purchasable","product-type-variable","has-default-attributes","entry","content-bg","loop-entry"],"taxonomy_info":{"product_cat":[{"value":65,"label":"Training Courses"}],"product_tag":[{"value":90,"label":"Accounting and Finance"},{"value":88,"label":"Self-study"}]},"featured_image_src_large":["https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/08\/sarh-cia-recorded-course-2026.webp",1000,1000,false],"author_info":[],"comment_info":0,"_links":{"self":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product\/10127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/comments?post=10127"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media\/32618"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=10127"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_brand?post=10127"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_cat?post=10127"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_tag?post=10127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}