/* Remit Exchange About Us refresh */
:root {
  --remit-about-blue: #062d68;
  --remit-about-deep: #041c43;
  --remit-about-orange: #ff9f1c;
  --remit-about-ink: #10233f;
  --remit-about-muted: #61708a;
  --remit-about-line: #e5ebf4;
}

body.page-template-about-us {
  background: #f7f9fc;
  color: var(--remit-about-ink);
}

body.page-template-about-us .remit-about-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  background-position: center 42%;
  position: relative;
  overflow: hidden;
}

body.page-template-about-us .remit-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 24, 66, .9), rgba(3, 24, 66, .42) 58%, rgba(3, 24, 66, .14));
}

body.page-template-about-us .remit-about-hero .container { position: relative; z-index: 1; }
body.page-template-about-us .remit-about-hero .ctp-page-banner-content { padding: 42px 0; }
body.page-template-about-us .remit-about-hero .ctp-page-banner-content h3 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0,0,0,.16);
}
body.page-template-about-us .remit-about-hero .ctp-page-banner-content .list { font-size: 15px; opacity: .95; }

body.page-template-about-us .remit-about-page { background: #f7f9fc; }
body.page-template-about-us .remit-about-story { padding: clamp(64px, 8vw, 112px) 0 84px; }
body.page-template-about-us .remit-about-story .row { align-items: center; }
body.page-template-about-us .remit-about-story-image-frame {
  position: relative;
  isolation: isolate;
}
body.page-template-about-us .remit-about-story-image-frame::before {
  content: "";
  position: absolute;
  inset: 18px -20px -24px 20px;
  z-index: 0;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffd21a 0%, #ffad18 48%, #ff6b00 100%);
}
body.page-template-about-us .remit-about-story-image {
  position: relative;
  z-index: 1;
  height: 100%; min-height: 500px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 25px 55px rgba(6,45,104,.16);
  background: var(--remit-about-blue);
}
body.page-template-about-us .remit-about-story-image img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; display: block; }
body.page-template-about-us .remit-about-story-content { padding: 0 0 0 clamp(24px, 5vw, 78px); }
body.page-template-about-us .remit-about-story-content > .english-only > span,
body.page-template-about-us .remit-about-story-content > .arabic-only > span {
  color: var(--remit-about-orange); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px;
}
body.page-template-about-us .remit-about-story-content h3 {
  color: var(--remit-about-blue); font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; margin: 12px 0 24px;
}
body.page-template-about-us .remit-about-story-content > p,
body.page-template-about-us .remit-about-story-content > .english-only + p {
  color: var(--remit-about-muted); font-size: 17px; line-height: 1.85; margin-bottom: 0;
}
body.page-template-about-us .remit-about-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
body.page-template-about-us .remit-about-proof > div { border: 1px solid var(--remit-about-line); background: #fff; border-radius: 16px; padding: 17px 14px; box-shadow: 0 10px 24px rgba(6,45,104,.05); }
body.page-template-about-us .remit-about-proof strong { display: block; color: var(--remit-about-blue); font-size: 25px; line-height: 1; margin-bottom: 8px; }
body.page-template-about-us .remit-about-proof span { display: block; color: var(--remit-about-muted); font-size: 12px; line-height: 1.35; }

body.page-template-about-us .remit-about-values { background: linear-gradient(180deg, #eef4fb 0%, #f9fbfe 100%); padding: 92px 0 110px; position: relative; }
body.page-template-about-us .remit-about-values::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,159,28,.12); top: -100px; right: 5%; }
body.page-template-about-us .remit-about-section-heading { position: relative; z-index: 1; margin-bottom: 38px; }
body.page-template-about-us .remit-about-section-heading h2 { color: var(--remit-about-blue); font-size: clamp(32px, 4vw, 50px); letter-spacing: -.04em; margin-bottom: 0; }
body.page-template-about-us .remit-about-tabs { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; background: #fff; border: 1px solid var(--remit-about-line); border-radius: 26px; padding: 12px; box-shadow: 0 20px 50px rgba(6,45,104,.1); }
body.page-template-about-us .remit-about-tabs .nav-tabs { border: 0; justify-content: center; gap: 8px; margin-bottom: 20px; }
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link { border: 0; border-radius: 999px; color: var(--remit-about-muted); font-weight: 800; padding: 13px 28px; transition: .2s ease; }
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link:hover,
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link.active { background: var(--remit-about-blue); color: #fff; }
body.page-template-about-us .remit-about-tabs .tab-pane { padding: 25px; }
body.page-template-about-us .remit-about-tabs .ctp-key-features-image { height: 100%; min-height: 300px; border-radius: 20px; overflow: hidden; }
body.page-template-about-us .remit-about-tabs .ctp-key-features-image img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
body.page-template-about-us .remit-about-tabs .ctp-key-features-content { display: flex; align-items: center; height: 100%; padding: 24px 18px 24px 30px; }
body.page-template-about-us .remit-about-tabs .ctp-key-features-content p,
body.page-template-about-us .remit-about-tabs .ctp-key-features-content li { color: var(--remit-about-muted); font-size: 16px; line-height: 1.8; }
body.page-template-about-us .remit-about-tabs .ctp-key-features-content ul { padding-left: 0; list-style: none; margin-top: 16px; }
body.page-template-about-us .remit-about-tabs .ctp-key-features-content li { margin: 10px 0; }
body.page-template-about-us .remit-about-tabs .ctp-key-features-content li i { color: var(--remit-about-orange); margin-right: 8px; }
body.page-template-about-us.rtl .remit-about-story-content { padding-left: 0; padding-right: clamp(24px, 5vw, 78px); }
body.page-template-about-us.rtl .remit-about-tabs .ctp-key-features-content { padding-left: 18px; padding-right: 30px; }

@media (max-width: 991px) {
  body.page-template-about-us .remit-about-story-image-frame { margin-bottom: 48px; }
  body.page-template-about-us .remit-about-story-image { min-height: 360px; box-shadow: 0 20px 45px rgba(6,45,104,.12); }
  body.page-template-about-us .remit-about-story-image img { min-height: 360px; }
  body.page-template-about-us .remit-about-story-content { padding: 0 12px; }
  body.page-template-about-us .remit-about-tabs .tab-pane { padding: 14px 4px; }
}
@media (max-width: 575px) {
  body.page-template-about-us .remit-about-hero { min-height: 250px; }
  body.page-template-about-us .remit-about-hero .ctp-page-banner-content { padding: 24px 0; }
  body.page-template-about-us .remit-about-story { padding: 48px 0 64px; }
  body.page-template-about-us .remit-about-story-image-frame::before { right: -8px; }
  body.page-template-about-us .remit-about-story-image { min-height: 280px; }
  body.page-template-about-us .remit-about-story-image img { min-height: 280px; }
  body.page-template-about-us .remit-about-proof { gap: 8px; }
  body.page-template-about-us .remit-about-proof > div { padding: 13px 9px; }
  body.page-template-about-us .remit-about-proof strong { font-size: 21px; }
  body.page-template-about-us .remit-about-proof span { font-size: 11px; }
  body.page-template-about-us .remit-about-values { padding: 64px 0 76px; }
  body.page-template-about-us .remit-about-tabs { border-radius: 18px; padding: 8px; }
  body.page-template-about-us .remit-about-tabs .nav-tabs { gap: 4px; }
  body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link { padding: 10px 12px; font-size: 13px; }
  body.page-template-about-us .remit-about-tabs .ctp-key-features-content { padding: 22px 8px; }
}

/* Refined Vision / Mission / Values segmented control. */
body.page-template-about-us .remit-about-tabs .nav-tabs {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 6px;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid #e3eaf4;
  border-radius: 18px;
  background: #f2f5fa;
  box-shadow: inset 0 1px 3px rgba(16, 35, 63, .06);
}
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-item { flex: 0 0 auto; }
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 25px;
  border: 0 !important;
  border-radius: 14px;
  background: transparent !important;
  color: #123866 !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link::before { display: none !important; }
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link:hover {
  background: #fff !important;
  color: #062d68 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 45, 104, .09);
}
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link.active,
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link[aria-selected="true"] {
  background: linear-gradient(120deg, #ffb51b 0%, #ff8417 100%) !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(243, 126, 22, .25);
}
body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link:focus-visible {
  outline: 3px solid rgba(6, 45, 104, .28);
  outline-offset: 3px;
}

@media (max-width: 575px) {
  body.page-template-about-us .remit-about-tabs .nav-tabs { width: 100%; }
  body.page-template-about-us .remit-about-tabs .nav-tabs .nav-item { flex: 1 1 auto; }
  body.page-template-about-us .remit-about-tabs .nav-tabs .nav-link { min-height: 44px; padding: 10px 12px; font-size: 13px; }
}
