/* Rikaz Training: brand layer on top of the Cognivo template.
   Structure, layout and motion stay the template's; this file only swaps fonts, colours and direction. */

/* خط عام الإبل · The Year of The Camel (Saudi Ministry of Culture) */
@font-face { font-family: "Rikaz Camel"; src: url("../fonts/TheYearofTheCamel-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rikaz Camel"; src: url("../fonts/TheYearofTheCamel-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rikaz Camel"; src: url("../fonts/TheYearofTheCamel-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Rikaz Camel"; src: url("../fonts/TheYearofTheCamel-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }

/* جرافيك عربي · Graphik Arabic: secondary font for body text, navigation, buttons and labels */
@font-face { font-family: "Rikaz Graphik"; src: url("../fonts/GraphikArabic-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rikaz Graphik"; src: url("../fonts/GraphikArabic-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rikaz Graphik"; src: url("../fonts/GraphikArabic-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rikaz Graphik"; src: url("../fonts/GraphikArabic-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --rikaz-dark: #021C17;
  --rikaz-body: #3E4A46;
  --rikaz-muted: #8E9A95;
  --rikaz-grey: #F2F2F2;
  --rikaz-stroke: #E1E6E3;
  --rikaz-green: #A6DEAE;
  --rikaz-mint: #E8F8E6;
  --rikaz-deep-mint: #70D1A3;
  --rikaz-lavender: #C8BEE2;
  --rikaz-sky: #A9D5E0;
  --rikaz-sand: #EDE29D;
  --rikaz-green-text: #2E8A5F;
  --rikaz-font-heading: "Rikaz Camel", "Rikaz Graphik", Tahoma, sans-serif;   /* primary: titles */
  --rikaz-font-body: "Rikaz Graphik", Tahoma, sans-serif;                    /* secondary: text, nav, buttons */
  --rikaz-font: var(--rikaz-font-body);
}

/* ---------- hero ---------- */
.rikaz-hero {
  /* remap the template's colour tokens inside the hero only */
  --_colors---secondary-100: var(--rikaz-dark);
  --_colors---secondary-200: var(--rikaz-body);
  --_colors---secondary-300: var(--rikaz-muted);
  --_colors---primary-300: var(--rikaz-stroke);
  --_colors---brand-100: var(--rikaz-green-text);
  --_colors---brand-200: var(--rikaz-green);
  font-family: var(--rikaz-font);
}
.rikaz-hero :is(h1, h2, h3, h4, h5, h6, p, a, div, span, label) {
  font-family: var(--rikaz-font);
  letter-spacing: 0;
}
.rikaz-hero .hero-heading {
  font-family: var(--rikaz-font-heading);
  font-weight: 800;
  line-height: 1.3;
}
/* the template's italic accent word becomes the brand's marker highlight */
.rikaz-hero .italic-text {
  font-family: var(--rikaz-font-heading);
  font-style: normal;
  font-weight: 800;
  background: var(--rikaz-green);
  padding: 0 0.18em 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.rikaz-hero p { line-height: 1.8; }
.rikaz-hero .badge { color: var(--rikaz-dark); }
.rikaz-hero .font-weight-bold { font-weight: 600; }
/* arrows point the way the text reads */
.rikaz-hero .button-arrow path { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }

/* the hero panel keeps its own fill: Rikaz green under the patterned overlay */
.rikaz-hero .hero-content_wrapper { background-color: var(--rikaz-green); }

/* ---------- navbar ---------- */
.rikaz-nav {
  --_colors---secondary-100: var(--rikaz-dark);
  --_colors---secondary-200: var(--rikaz-body);
  --_colors---brand-100: var(--rikaz-green-text);
  --_colors---primary-300: var(--rikaz-stroke);
  font-family: var(--rikaz-font);
}
.rikaz-nav :is(a, div, span) { font-family: var(--rikaz-font); letter-spacing: 0; }
.rikaz-nav .brand-logo { width: auto; height: 2.4rem; max-width: none; }
.rikaz-nav .nav-link { font-weight: 500; white-space: nowrap; }
.rikaz-nav .font-weight-bold { font-weight: 600; }
.rikaz-nav .button-arrow path { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }

/* the hero animation runs right-to-left: the whole Lottie is mirrored
   (its text and photo images are pre-flipped in rikaz-hero.json so they read correctly) */
.rikaz-hero .hero-marquee-image { transform: scaleX(-1); }

/* ---------- any Rikaz section (add class="rikaz-section" dir="rtl" lang="ar") ---------- */
.rikaz-section {
  --_colors---primary-200: var(--rikaz-grey);
  --_colors---primary-300: var(--rikaz-stroke);
  --_colors---secondary-100: var(--rikaz-dark);
  --_colors---secondary-200: var(--rikaz-body);
  --_colors---secondary-300: var(--rikaz-muted);
  --_colors---brand-100: var(--rikaz-green);
  --_colors---brand-200: var(--rikaz-lavender);
  font-family: var(--rikaz-font-body);
}
.rikaz-section :is(p, a, div, span, label, li) { font-family: var(--rikaz-font-body); letter-spacing: 0; }
.rikaz-section :is(h1, h2, h3, h4, h5, h6, .heading-style-h1, .heading-style-h2, .heading-style-h3, .heading-style-h4, .heading-style-h5, .heading-style-h6) {
  font-family: var(--rikaz-font-heading);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
}
.rikaz-section .heading-style-h5 { font-weight: 700; line-height: 1.5; }
.rikaz-section p, .rikaz-section .text-size-regular { line-height: 1.8; }
.rikaz-section .font-weight-bold { font-weight: 600; }
.rikaz-section .rikaz-mark {               /* the brand's marker highlight */
  font-family: var(--rikaz-font-heading);
  background: var(--rikaz-green);
  padding: 0 0.18em 0.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.rikaz-section .button-arrow path { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }

/* courses section */
.rikaz-section .badge { color: var(--rikaz-dark); }
.rikaz-section .upcomming-number-tag { color: var(--rikaz-dark); }
.rikaz-section .upcomming-tag-number { font-family: var(--rikaz-font-heading); font-weight: 800; letter-spacing: 0; }
.rikaz-section .upcomming-course-small-tag { border-right: 0; border-left: 1px dashed var(--rikaz-green); }   /* the dashed tear sits between the two parts in RTL */
.rikaz-section .courses-tag { direction: rtl; }
.rikaz-section .courses-tag svg { color: var(--rikaz-green-text); }

/* Latin certificate names inside Arabic text: keep each name whole and in order */
.rikaz-section bdi, .rikaz-hero bdi { white-space: nowrap; unicode-bidi: isolate; }
/* course covers keep their logomark and certificate name (right side) when the frame crops them */
.rikaz-section .course-card-image { object-fit: cover; object-position: right center; }

/* button labels keep the template's exact line box (the hover roll animates inside a 1.375rem window) */
:is(.rikaz-section, .rikaz-hero, .rikaz-nav) .button-wrap [primary-button-text],
:is(.rikaz-section, .rikaz-hero, .rikaz-nav) .button-wrap .text-size-regular { line-height: 1.375rem; }

/* ---------- one-row course carousel ---------- */
.rikaz-section .rikaz-carousel {
  display: flex;
  gap: var(--_sizes---spacing--spacing-tiny);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.rikaz-section .rikaz-carousel::-webkit-scrollbar { display: none; }
.rikaz-section .rikaz-carousel > .w-dyn-item {
  flex: 0 0 calc((100% - 2 * var(--_sizes---spacing--spacing-tiny)) / 3);   /* three visible on desktop */
  scroll-snap-align: start;
}
@media (max-width: 991px) { .rikaz-section .rikaz-carousel > .w-dyn-item { flex-basis: calc((100% - var(--_sizes---spacing--spacing-tiny)) / 2); } }
@media (max-width: 767px) { .rikaz-section .rikaz-carousel > .w-dyn-item { flex-basis: 85%; } }
.rikaz-section .rikaz-carousel > .w-dyn-item > .course-card { height: 100%; }

.rikaz-section .rikaz-carousel-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--_sizes---spacing--spacing-nano);
  margin-top: var(--_sizes---spacing--spacing-tiny);
}
.rikaz-section .rikaz-carousel-arrows { display: flex; gap: var(--_sizes---spacing--spacing-minimal); }
.rikaz-section .rikaz-arrow {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 1px solid var(--rikaz-stroke); border-radius: 0.375rem;
  background: #fff; color: var(--rikaz-dark); cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.rikaz-section .rikaz-arrow svg { width: 1.5rem; height: 1.5rem; }
.rikaz-section .rikaz-arrow.is-next svg { transform: scaleX(-1); }          /* forward points left in RTL */
.rikaz-section .rikaz-arrow:hover:not(:disabled) { background: var(--rikaz-dark); color: #fff; border-color: var(--rikaz-dark); }
.rikaz-section .rikaz-arrow:focus-visible { outline: 2px solid var(--rikaz-green-text); outline-offset: 2px; }
.rikaz-section .rikaz-arrow:disabled { opacity: .35; cursor: default; }

/* ---------- why-Rikaz section ---------- */
.rikaz-section .home-skill-icon_wrapper.red    { background-color: var(--rikaz-deep-mint); color: var(--rikaz-dark); box-shadow: 0 9px 17.9px #70d1a333; }
.rikaz-section .home-skill-icon_wrapper.purple { background-color: var(--rikaz-lavender); color: var(--rikaz-dark); box-shadow: 0 9px 17.9px #c8bee24d; }
.rikaz-section .home-skill-icon_wrapper.yellow { background-color: var(--rikaz-sand);     color: var(--rikaz-dark); box-shadow: 0 9px 17.9px #ede29d4d; }
.rikaz-section .card-bg { inset: 0 auto auto 0; }           /* pattern sits in the far corner from the icon (RTL) */
.rikaz-section .home-skill-card { overflow: clip; }
.rikaz-section .rikaz-stats { margin-block: var(--_sizes---spacing--spacing-minimal); }
.rikaz-section .rikaz-stats .heading-style-h3 { font-weight: 800; line-height: 1.1; }
.rikaz-section .rikaz-stats .line.vertical { background-color: var(--rikaz-stroke); }
.rikaz-section .card-bg { width: 10.5625rem; height: auto; }   /* the template corner size (169px) */

/* ---------- font roles (final) ----------
   Primary · The Year of The Camel, with its swash finals (OpenType "swsh"): headings, buttons, navigation.
   Secondary · Graphik Arabic: body text, labels, tags, form text. */
:is(.rikaz-hero, .rikaz-nav, .rikaz-section) :is(
  h1, h2, h3, h4, h5, h6,
  .heading-style-h1, .heading-style-h2, .heading-style-h3, .heading-style-h4, .heading-style-h5, .heading-style-h6,
  .hero-heading, .italic-text, .rikaz-mark, .upcomming-tag-number,
  [primary-button-text], .nav-link
) {
  font-family: var(--rikaz-font-heading);
  font-feature-settings: "swsh" 1;
  letter-spacing: 0;
}
:is(.rikaz-hero, .rikaz-nav, .rikaz-section) [primary-button-text] { font-weight: 700; }
:is(.rikaz-nav) .nav-link { font-weight: 700; }
/* Latin names inside headings stay plain (no Arabic swashes apply to them anyway) */
:is(.rikaz-hero, .rikaz-section) bdi { font-feature-settings: normal; }
.rikaz-hero .italic-text, .rikaz-section .rikaz-mark { white-space: nowrap; }   /* keep the highlighted phrase in one piece */

/* GSAP wraps button/heading words in spans; they must keep the parent's camel font + swash */
:is(.rikaz-hero, .rikaz-nav, .rikaz-section, .rikaz-globe) [class*="gsap_split"] {
  font-family: inherit;
  font-feature-settings: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* ---------- "Rikaz across the Kingdom" (template globe section) ---------- */
.rikaz-globe { background-color: var(--rikaz-dark); color: #fff; }
.rikaz-globe .heading-style-h2 { color: #fff; }
.rikaz-globe .rikaz-mark { color: var(--rikaz-dark); }
/* mirror the floating layout (and its motion) right-to-left; photos and pills flip back to read normally */
.rikaz-globe .home-globe-cards_wrapper { transform: scaleX(-1); }
.rikaz-globe .home-globe-card > * { transform: scaleX(-1); }
.rikaz-globe .home-globe-card-image { aspect-ratio: 1; object-fit: cover; width: 5rem; }
.rikaz-globe .home-globe-card-box { color: var(--rikaz-dark); white-space: nowrap; }
.rikaz-globe .home-globe-card-box .text-size-medium { font-family: var(--rikaz-font-body); font-weight: 500; }
.rikaz-globe .home-globe-card-box            { background-color: var(--rikaz-lavender); box-shadow: 0 6px 31.8px #c8bee25e; }
.rikaz-globe .home-globe-card-box.pink       { background-color: var(--rikaz-sky);      box-shadow: 0 6px 31.8px #a9d5e05e; }
.rikaz-globe .home-globe-card-box.green      { background-color: var(--rikaz-green);    box-shadow: 0 6px 31.8px #A6DEAE5e; }
.rikaz-globe .home-globe-card-box.yellow     { background-color: var(--rikaz-sand);     box-shadow: 0 6px 31.8px #ede29d5e; }
.rikaz-globe .home-globe-card-box.half-green { background-color: var(--rikaz-deep-mint); box-shadow: 0 6px 31.8px #70d1a35e; }
@media (max-width: 991px) { .rikaz-globe .home-globe-card-image { width: 3.5rem; } }
@media (max-width: 767px) { .rikaz-globe .home-globe-card-image { width: 3rem; } }

/* ---------- accreditation logos marquee: grey at rest, brand colour on hover ---------- */
.rikaz-logos .logo-image {
  height: 1.75rem; width: auto; max-width: 8rem; object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.rikaz-logos .logo:hover .logo-image { filter: none; transform: scale(1.06); }
@media (max-width: 767px) { .rikaz-logos .logo-image { height: 1.375rem; max-width: 6rem; } }

/* ---------- "how we drive results" slanted bars ---------- */
/* mirror the bar layout (and its slants) so it reads right-to-left; words flip back in place */
.rikaz-drive .home-drive-wrapper { transform: scaleX(-1); }   /* rows, not the wrapper: IX animates the wrapper transform */
.rikaz-drive .drive-text { display: inline-block; transform: scaleX(-1); font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; letter-spacing: 0; }
.rikaz-drive .home-crive-card { color: var(--rikaz-dark); }
.rikaz-drive .home-crive-card.first        { background-image: url(../images/rikaz-drive-first.webp); }
.rikaz-drive .home-crive-card.yellow       { background-image: url(../images/rikaz-drive-yellow.webp); }
.rikaz-drive .home-crive-card.light-yellow { background-image: url(../images/rikaz-drive-light-yellow.webp); }
.rikaz-drive .home-crive-card.blue         { background-image: url(../images/rikaz-drive-blue.webp); color: #fff; }
.rikaz-drive .home-crive-card.white        { background-image: url(../images/rikaz-drive-white.webp); }
.rikaz-drive .home-crive-card.red          { background-image: url(../images/rikaz-drive-red.webp); color: var(--rikaz-dark); }
.rikaz-drive .home-crive-card.last         { background-image: url(../images/rikaz-drive-last.webp); }
@media (max-width: 991px) {
  .rikaz-drive .home-crive-card.first        { background: #E8F8E6; }
  .rikaz-drive .home-crive-card.yellow       { background: var(--rikaz-green); }
  .rikaz-drive .home-crive-card.light-yellow { background: #F7F1CE; }
  .rikaz-drive .home-crive-card.blue         { background: var(--rikaz-dark); }
  .rikaz-drive .home-crive-card.white        { background: #fff; }
  .rikaz-drive .home-crive-card.red          { background: var(--rikaz-lavender); }
  .rikaz-drive .home-crive-card.last         { background: #E3F2F6; }
}
/* lay the rows out exactly like the template (LTR) and let the mirror above turn them RTL */
.rikaz-drive .home-drive-wrapper, .rikaz-drive .home-crive-card { direction: ltr; }
.rikaz-drive .drive-text { direction: rtl; }
/* optical sizing: wide wordmarks sit lower, stacked/compact marks taller, so they read the same weight */
.rikaz-logos .logo-image[src*="accred-comptia"] { height: 1.35rem; }
.rikaz-logos .logo-image[src*="accred-cipd"]    { height: 1.45rem; }
.rikaz-logos .logo-image[src*="accred-cisco"]   { height: 2rem; }
.rikaz-logos .logo-image[src*="accred-pmi"]     { height: 2.25rem; }
.rikaz-logos .logo-image[src*="accred-iia"]     { height: 2rem; max-width: 9rem; }
.rikaz-logos .logo-image[src*="accred-shrm"]    { height: 2.6rem; }

/* ---------- training-field tabs above the course carousel (design-system "filter tabs") ---------- */
.rikaz-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-start; margin-bottom: 1.5rem; }
.rikaz-tab {
  font-family: var(--rikaz-font-body); font-weight: 500; font-size: 1rem; line-height: 1.5;
  color: var(--rikaz-dark); background: #fff; border: 1px solid var(--rikaz-stroke);
  border-radius: 0.375rem; padding: 0.5rem 1rem; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.rikaz-tab:hover { border-color: var(--rikaz-dark); }
.rikaz-tab.is-active { background: var(--rikaz-dark); border-color: var(--rikaz-dark); color: #fff; }
.rikaz-tab:focus-visible { outline: 2px solid var(--rikaz-green-text); outline-offset: 2px; }
.rikaz-carousel .w-dyn-item[hidden] { display: none; }
@media (max-width: 767px) {
  .rikaz-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .rikaz-tabs::-webkit-scrollbar { display: none; }
}

/* ---------- trainee-journey cards (template "build skills"): animations run right-to-left ---------- */
.rikaz-build .home-build-image_wrapper .full-image { transform: scaleX(-1); }
.rikaz-tabs { align-self: stretch; min-width: 0; max-width: 100%; }
@media (max-width: 767px) {
  /* full-bleed, swipeable row of tabs on phones */
  .rikaz-tabs { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); padding-inline: 1.25rem; }
}
/* the animation box needs a real size before the Lottie loads, or Webflow's lazy-loader never sees it on screen */
.rikaz-build .home-build-image_wrapper { width: 100%; align-self: stretch; }
.rikaz-build .home-build-image_wrapper .full-image { width: 100%; aspect-ratio: 351 / 258; height: auto; }


/* ---------- course card price (home carousel) ---------- */
.rikaz-section .courses-tag.rikaz-price-tag { background: var(--rikaz-mint); border-color: transparent; }
.rikaz-price { font-weight: 600; }
.rikaz-section .courses-tags { flex-wrap: wrap; row-gap: 0.5rem; }
.rikaz-section .courses-tag, .rikaz-section .courses-tag .text-size-regular { white-space: nowrap; }

/* ---------- training fields: accreditor cards, every row aligned across a row of cards (subgrid) ---------- */
.rikaz-fields_wrapper { display: flex; flex-direction: column; gap: 3rem; padding-top: 6rem; padding-bottom: 6rem; }
.rikaz-fields-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; max-width: 40rem; margin-inline: auto; }
.rikaz-fields-para p { margin: 0; line-height: 1.8; }
.rikaz-fields-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.rikaz-field-card {
  display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0.75rem;
  padding: 1.5rem; background: #fff; border: 1px solid var(--rikaz-stroke); border-radius: 0.875rem;
  color: var(--rikaz-dark); text-decoration: none; transition: border-color .3s ease, box-shadow .3s ease;
}
.rikaz-field-card:hover { border-color: var(--rikaz-dark); box-shadow: 0 14px 32px rgba(2, 28, 23, 0.08); }
.rikaz-field-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: 3rem; margin-bottom: 0.5rem; }
.rikaz-field-logo { height: 3rem; display: flex; align-items: center; }
.rikaz-field-logo img { height: 2.25rem; width: auto; max-width: 8.5rem; object-fit: contain; object-position: right center;
  filter: grayscale(1) opacity(.7); transition: filter .3s ease; }
.rikaz-field-logo img[src*="socpa"] { height: 3rem; }
.rikaz-field-logo img[src*="iia"], .rikaz-field-logo img[src*="cisco"] { height: 2.5rem; }
.rikaz-field-card:hover .rikaz-field-logo img { filter: none; }
.rikaz-field-count { font-family: var(--rikaz-font-body); font-size: 0.8125rem; font-weight: 500; color: var(--rikaz-body);
  background: var(--rikaz-grey); border-radius: 2.5rem; padding: 0.25rem 0.625rem; white-space: nowrap; }
.rikaz-field-tag { align-self: end; justify-self: start; font-family: var(--rikaz-font-body); font-size: 0.8125rem; font-weight: 500;
  color: var(--rikaz-dark); background: var(--rikaz-mint); border-radius: 0.375rem; padding: 0.125rem 0.5rem; }
.rikaz-field-title.heading-style-h5 { margin: 0; line-height: 1.4; align-self: start; }
.rikaz-field-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.375rem; align-self: start; }
.rikaz-field-list li { position: relative; padding-inline-start: 1rem; font-family: var(--rikaz-font-body); font-size: 0.9375rem; line-height: 1.6; color: var(--rikaz-body); }
.rikaz-field-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.6em; width: 0.375rem; height: 0.375rem; border-radius: 1px; background: var(--rikaz-deep-mint); }
.rikaz-field-link { align-self: end; display: flex; align-items: center; gap: 0.375rem; padding-top: 1rem; border-top: 1px dashed var(--rikaz-stroke);
  font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1rem; color: var(--rikaz-dark); }
.rikaz-field-arrow { width: 1.25rem; height: 1.25rem; transition: transform .3s ease; }
.rikaz-field-card:hover .rikaz-field-arrow { transform: translateX(-4px); }
.rikaz-field-card.is-cta { background: var(--rikaz-dark); border-color: var(--rikaz-dark); color: #fff;
 }
.rikaz-field-mark { height: 3rem; width: auto; opacity: .85; }                 /* the brand mark sits in the logo row, like the other cards */
.rikaz-field-cta-body { grid-row: span 2; display: flex; flex-direction: column; gap: 0.75rem; align-self: start; }   /* title + note together, no gap */
.rikaz-field-card.is-cta .heading-style-h5, .rikaz-field-card.is-cta .rikaz-field-link { color: #fff; }
.rikaz-field-card.is-cta .rikaz-field-tag { background: var(--rikaz-green); }
.rikaz-field-card.is-cta .rikaz-field-link { border-top-color: rgba(255, 255, 255, .2); }
.rikaz-field-note { margin: 0; align-self: start; font-family: var(--rikaz-font-body); font-size: 0.9375rem; line-height: 1.7; color: rgba(255, 255, 255, .75); }
@media (max-width: 991px) { .rikaz-fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rikaz-fields_wrapper { padding-top: 4.5rem; padding-bottom: 4.5rem; } }
@media (max-width: 479px) { .rikaz-fields-grid { grid-template-columns: 1fr; } .rikaz-fields_wrapper { gap: 2rem; padding-top: 3.5rem; padding-bottom: 3.5rem; } }

/* official Saudi Riyal symbol next to prices */
.rikaz-sar { display: inline-block; width: 0.8em; height: 0.9em; margin-inline-start: 0.25em; vertical-align: -0.08em; }
/* carousel controls now sit above the cards */
.rikaz-carousel-bar.is-top { margin-top: 0; margin-bottom: 1.5rem; }
.rikaz-field-logo { flex: 1 1 auto; min-width: 0; }
.rikaz-field-logo img { max-width: 100%; }
.rikaz-field-count { flex: none; }

/* ---------- final CTA ---------- */
.rikaz-cta .cta-heading { line-height: 1.35; }
.rikaz-cta .cta-para p { font-family: var(--rikaz-font-body); line-height: 1.8; }

/* ---------- footer: Rikaz dark, brand pills, Arabic ---------- */
.rikaz-footer {
  --_colors---secondary-100: var(--rikaz-dark);
  --_colors---brand-300: var(--rikaz-sand);
  --_colors---brand-400: var(--rikaz-lavender);
  --_colors---brand-200: var(--rikaz-green);
  --_colors---brand-500: var(--rikaz-sky);
  --_colors---warning: var(--rikaz-deep-mint);
  background-color: var(--rikaz-dark);
  font-family: var(--rikaz-font-body);
}
.rikaz-footer :is(a, div, p, span, label, input) { font-family: var(--rikaz-font-body); letter-spacing: 0; }
.rikaz-footer .rikaz-footer-logo { height: 2.75rem; width: auto; max-width: none; }
.rikaz-footer p { line-height: 1.8; }
.rikaz-footer .nav-link.footer { white-space: nowrap; }
.rikaz-footer .nav-link.footer:hover { color: var(--rikaz-green); }
.rikaz-footer .newsletter-texts .headin-style-h6 { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; letter-spacing: 0; }
.rikaz-footer .newsletter-text-field { font-family: var(--rikaz-font-body); text-align: right; }
.rikaz-footer .footer-button .text-size-regular { font-weight: 500; white-space: nowrap; }
.rikaz-footer .footer-button.red-white-box { color: var(--rikaz-dark); }
.rikaz-footer .social:hover { color: var(--rikaz-green); }
.rikaz-footer .text-link { color: var(--rikaz-green); }
/* official SAR symbol in black, per the client */
.rikaz-sar { color: #000; }
/* footer pills: one short word each, so every label stays fully readable once the bounce settles */
.rikaz-footer .footer-button { display: flex; align-items: center; justify-content: center; }
.rikaz-footer .footer-button .text-size-regular { font-size: 1.0625rem; line-height: 1.6; font-weight: 600; }

/* ---------- how it works ---------- */
.rikaz-how .home-how-card .text-size-medium { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; letter-spacing: 0; }
.rikaz-how .home-how-card .text-size-regular { line-height: 1.8; }
.rikaz-section .courses-tag svg.rikaz-sar, svg.rikaz-sar { color: #000; fill: #000; }
/* newsletter submit: brand green circle, arrow pointing the reading direction, at the end (left) of the field */
.rikaz-footer .newsletter-form-button {
  right: auto; left: 0; padding: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background-color: var(--rikaz-green); background-size: 0.875rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23021C17' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6l-6 6 6 6M4 12h16'/%3E%3C/svg%3E");
}
.rikaz-footer .newsletter-text-field { padding-left: 2.25rem; }
/* final CTA: Rikaz pattern tiles at both sides of the light ground */
.rikaz-cta { background-color: #F2F2F2; }
.rikaz-cta .bg-full-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 767px) { .rikaz-cta .bg-full-image { opacity: .55; } }

/* glow under the buttons: 10% larger and a little stronger, in brand hues */
.bottom-gradiant {
  height: 0.75625rem;                     /* 0.6875rem x 1.1 */
  max-width: 33.75625rem;                 /* 30.6875rem x 1.1 */
  width: 110%; left: -5%;
  filter: blur(7.5px);
  background-image: linear-gradient(90deg, rgba(200, 190, 226, .95), rgba(112, 209, 163, .95));
}
/* button labels stay on one line (split words were wrapping into the hidden second row of the roll animation) */
.button-wrap [primary-button-text] { white-space: nowrap; }

/* footer: primary (camel + swash) for titles, links and pills; Graphik stays for running text
   (address, email, newsletter note, field, messages, copyright) */
.rikaz-footer .footer-details > .text-size-medium,
.rikaz-footer .footer-pages-contents > .text-size-medium,
.rikaz-footer a.nav-link.footer,
.rikaz-footer .footer-button .text-size-regular,
.rikaz-footer .newsletter-texts .headin-style-h6 {
  font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; letter-spacing: 0;
}
.rikaz-footer .footer-details > .text-size-medium,
.rikaz-footer .footer-pages-contents > .text-size-medium { font-weight: 700; }
.rikaz-footer a.nav-link.footer { font-weight: 500; font-size: 1.0625rem; }
.rikaz-footer .footer-button .text-size-regular { font-weight: 700; }
/* copyright line in the primary font */
.rikaz-footer .footer-bottom-texts .text-size-regular { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 500; letter-spacing: 0; }

/* ---------- testimonials: text-only, always-moving carousel ---------- */
.rikaz-reviews { padding-top: 6rem; padding-bottom: 6rem; overflow: hidden; }
.rikaz-reviews-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; margin-bottom: 3rem; }
.rikaz-marquee {
  position: relative; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rikaz-marquee-track { display: flex; gap: 1.25rem; width: max-content; padding: 0.5rem 0; animation: rikaz-marquee 60s linear infinite; }
.rikaz-marquee:hover .rikaz-marquee-track { animation-play-state: paused; }
@keyframes rikaz-marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }   /* drifts toward the right, card after card */
@media (prefers-reduced-motion: reduce) { .rikaz-marquee-track { animation: none; } .rikaz-marquee { overflow-x: auto; } }
.rikaz-review {
  direction: rtl; flex: none; width: 22rem; margin: 0; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem; background: #fff; border: 1px solid var(--rikaz-stroke); border-radius: 0.875rem;
}
.rikaz-review-stars { display: flex; gap: 0.25rem; color: var(--rikaz-dark); }
.rikaz-review-stars svg { width: 1.125rem; height: 1.125rem; }
.rikaz-review-quote { margin: 0; padding: 0; border: 0; flex: 1; font-family: var(--rikaz-font-body); font-size: 1.0625rem; line-height: 1.85; color: var(--rikaz-body); }
.rikaz-review-who { display: flex; flex-direction: column; gap: 0.125rem; padding-top: 1rem; border-top: 1px dashed var(--rikaz-stroke); }
.rikaz-review-name { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1.125rem; color: var(--rikaz-dark); }
.rikaz-review-prog { font-family: var(--rikaz-font-body); font-size: 0.875rem; color: var(--rikaz-muted); }
@media (max-width: 767px) { .rikaz-review { width: 17rem; padding: 1.25rem; } .rikaz-reviews { padding-top: 4rem; padding-bottom: 4rem; } .rikaz-marquee-track { animation-duration: 45s; } }
.rikaz-review { text-align: right; }
.rikaz-review-who { align-items: flex-start; }
/* testimonials: name + programme in the primary font, the quote in the secondary */
.rikaz-review-prog { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 500; font-size: 0.9375rem; color: var(--rikaz-green-text); }
.rikaz-review-prog bdi { font-feature-settings: normal; }
.rikaz-review-quote { font-family: var(--rikaz-font-body); }
.rikaz-reviews-sub { margin: 0; font-family: var(--rikaz-font-body); font-size: 1.125rem; line-height: 1.8; }
.rikaz-reviews .rikaz-review .rikaz-review-name,
.rikaz-reviews .rikaz-review .rikaz-review-prog { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; letter-spacing: 0; }
.rikaz-reviews .rikaz-review .rikaz-review-quote { font-family: var(--rikaz-font-body); }

/* brand slogan "نبني مستقبلاً أفضل" */
.rikaz-slogan {
  display: inline-block; align-self: center; margin-bottom: 0.75rem; padding: 0.25rem 0.875rem; border-radius: 2.5rem;
  background: var(--rikaz-mint); color: var(--rikaz-green-text);
  font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1.125rem; letter-spacing: 0;
}
.rikaz-footer .rikaz-footer-slogan {
  margin: 0.75rem 0 0; color: var(--rikaz-green);
  font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1.375rem; line-height: 1.5;
}

/* ===================== Legal pages (privacy, terms, refund) — Cognivo utility page, Rikaz styling ===================== */
.rikaz-legal .utility-section_wrapper { gap: 3.5rem; }
.rikaz-legal-head { max-width: 47.5rem; margin: 0 auto; text-align: center; align-items: center; }
.rikaz-legal-head .utility-hero-para-wrapper { width: auto; color: var(--rikaz-muted); }
.rikaz-legal-head .utility-box { background: var(--rikaz-green); opacity: 1; }
.rikaz-legal-intro { max-width: 40rem; margin: 0 auto; line-height: 1.8; text-align: center; }
.rikaz-legal-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .5rem; }
.rikaz-legal-tab { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1rem; color: var(--rikaz-dark);
  background: #fff; border: .05rem solid var(--rikaz-stroke); border-radius: 2.5rem; padding: .55rem 1.25rem; text-decoration: none; transition: background .3s, color .3s; }
.rikaz-legal-tab:hover { background: var(--rikaz-mint); }
.rikaz-legal-tab.is-active { background: var(--rikaz-dark); border-color: var(--rikaz-dark); color: #fff; }
.rikaz-legal-cta { display: flex; justify-content: center; margin-top: .5rem; }
.rikaz-legal-body { gap: 2.75rem; }
.rikaz-legal-sec { gap: .9rem; text-align: right; }
.rikaz-legal-eyebrow { align-self: flex-start; font-family: var(--rikaz-font-body); font-weight: 600; font-size: .875rem; color: var(--rikaz-green-text);
  background: var(--rikaz-mint); border-radius: 2.5rem; padding: .2rem .8rem; }
.rikaz-legal-title { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; color: var(--rikaz-dark); margin: 0; }
.rikaz-legal-p { line-height: 1.85; margin: 0; }
.rikaz-legal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.rikaz-legal-list li { display: flex; align-items: flex-start; gap: .75rem; color: var(--rikaz-body); line-height: 1.8; font-size: 1rem; }
.rikaz-legal-list strong { color: var(--rikaz-dark); font-weight: 600; }
.rikaz-legal-li { flex: 1; }
.rikaz-legal-dot { flex: none; width: .45rem; height: .45rem; margin-top: .7rem; background: var(--rikaz-deep-mint); border-radius: .1rem; }
.rikaz-legal-num { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--rikaz-mint); color: var(--rikaz-green-text);
  font-weight: 600; font-size: .85rem; display: flex; align-items: center; justify-content: center; margin-top: .1rem; }
.rikaz-legal-note { display: flex; gap: .9rem; align-items: flex-start; border-radius: .875rem; padding: 1.1rem 1.25rem; text-align: right; }
.rikaz-legal-note p { margin: 0; line-height: 1.8; color: var(--rikaz-dark); }
.rikaz-legal-note.is-mint { background: var(--rikaz-mint); }
.rikaz-legal-note.is-sand { background: #F7F1CE; }
.rikaz-legal-note-icon { flex: none; width: 2.25rem; height: 2.25rem; border-radius: .5rem; background: var(--rikaz-dark); color: var(--rikaz-green);
  display: flex; align-items: center; justify-content: center; }
.rikaz-legal-note-icon svg, .rikaz-legal-contact-icon svg, .rikaz-legal-faq-icon svg { width: 1.25rem; height: 1.25rem; }
.rikaz-legal-wide { width: 100%; max-width: 60rem; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.rikaz-legal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rikaz-legal-stat { border-radius: .875rem; padding: 1.5rem; text-align: right; display: flex; flex-direction: column; gap: .35rem; }
.rikaz-legal-stat.is-mint { background: var(--rikaz-mint); } .rikaz-legal-stat.is-lavender { background: #EFECF7; } .rikaz-legal-stat.is-sky { background: #E6F3F6; }
.rikaz-legal-stat-label { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1.125rem; color: var(--rikaz-dark); }
.rikaz-legal-stat-value { font-family: var(--rikaz-font-heading); font-weight: 800; font-size: 2.75rem; line-height: 1.2; color: var(--rikaz-dark); }
.rikaz-legal-stat p { margin: 0; }
.rikaz-legal-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.rikaz-legal-chip { background: #fff; border: .05rem solid var(--rikaz-stroke); border-radius: 2.5rem; padding: .35rem .9rem; font-weight: 500; font-size: .9rem; color: var(--rikaz-dark); }
.rikaz-legal-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: .25rem 0; }
.rikaz-legal-step { background: var(--rikaz-grey); border-radius: .875rem; padding: 1.1rem; display: flex; flex-direction: column; gap: .4rem; text-align: right; }
.rikaz-legal-step-num { align-self: flex-start; background: var(--rikaz-dark); color: var(--rikaz-green); border-radius: 2.5rem; padding: .15rem .7rem; font-size: .8rem; font-weight: 600; }
.rikaz-legal-step-title { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1.125rem; color: var(--rikaz-dark); }
.rikaz-legal-step p { margin: 0; line-height: 1.7; }
.rikaz-legal-block { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; text-align: right; padding-top: 1rem; }
.rikaz-legal-block-title { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; margin: 0; color: var(--rikaz-dark); }
.rikaz-legal-block .rikaz-legal-intro { text-align: right; margin: 0; max-width: none; }
.rikaz-legal-faqs { display: flex; flex-direction: column; gap: .75rem; }
.rikaz-legal-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--rikaz-grey); border-radius: .375rem; padding: 1.1rem 1.25rem; }
.rikaz-legal-faq summary::-webkit-details-marker { display: none; }
.rikaz-legal-faq-q { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1.05rem; color: var(--rikaz-dark); }
.rikaz-legal-faq-icon { flex: none; color: var(--rikaz-dark); display: flex; }
.rikaz-legal-faq-a { margin-top: .6rem; background: var(--rikaz-dark); border-radius: .875rem; padding: 1rem 1.25rem; max-width: 85%; }
.rikaz-legal-faq-a p { margin: 0; color: #fff; line-height: 1.8; }
.rikaz-legal-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rikaz-legal-contact { background: #fff; border: .05rem solid var(--rikaz-stroke); border-radius: .875rem; padding: 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.rikaz-legal-contact-icon { width: 3.1rem; height: 3.1rem; border-radius: .5rem; background: var(--rikaz-dark); color: var(--rikaz-green); display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.rikaz-legal-contact-title { font-family: var(--rikaz-font-heading); font-feature-settings: "swsh" 1; font-weight: 700; font-size: 1.125rem; color: var(--rikaz-dark); }
.rikaz-legal-contact-value { font-weight: 600; font-size: 1.05rem; color: var(--rikaz-dark); }
.rikaz-legal-contact p { margin: 0; }
@media (max-width: 991px) {
  .rikaz-legal-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .rikaz-legal .utility-section_wrapper { gap: 2.5rem; }
  .rikaz-legal-stats, .rikaz-legal-contacts { grid-template-columns: 1fr; }
  .rikaz-legal-faq-a { max-width: none; }
  .rikaz-legal-stat-value { font-size: 2.25rem; }
}

/* ---------- footer: accepted payment methods ---------- */
.rikaz-footer-bottom { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 1.25rem; }
.rikaz-pay { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rikaz-pay-tile { width: 4rem; height: 2.5rem; background: #fff; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; padding: 0.2rem 0.35rem; }
.rikaz-pay-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 767px) { .rikaz-pay { gap: 0.4rem; } .rikaz-pay-tile { width: 3.05rem; height: 2rem; padding: 0.15rem 0.25rem; } }
