/* Source: assets/css/main.css?v=5.7 */
/*
 * Leadminds unified card system
 * Visual styling only: existing card content, icons and markup remain unchanged.
 */

:root {
  --lm-card-teal: #42a6a6;
  --lm-card-gold: #faba3e;
  --lm-card-coral: #f37358;
  --lm-card-olive: #8ca770;
  --lm-card-mint: #78b299;
}

/* Every content card inherits one visual language based on the supplied design. */
:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-form-card,
  .booking-summary-card,
  .appointment-card,
  .statement
):not([class*="client"]):not([class*="partner"]):not([class*="logo"]),
:root body main .method-grid > article,
:root body main .criteria-grid > div {
  --lm-card-accent: var(--lm-card-teal);
  --lm-card-deep: #155a58;
  --lm-card-surface: #dff3f2;
  --lm-card-ink: #153f3e;
  --lm-card-line: rgba(21, 90, 88, 0.12);
  position: relative !important;
  color: var(--lm-card-ink) !important;
  border: 8px solid var(--lm-card-deep) !important;
  border-radius: 42px !important;
  background:
    radial-gradient(circle at 18% 60%, transparent 0 51px, var(--lm-card-line) 52px 54px, transparent 55px),
    radial-gradient(circle at 84% 82%, transparent 0 70px, var(--lm-card-line) 71px 73px, transparent 74px),
    linear-gradient(var(--lm-card-line) 1px, transparent 1px) 0 88px / 92px 92px,
    linear-gradient(90deg, var(--lm-card-line) 1px, transparent 1px) 0 88px / 92px 92px,
    linear-gradient(118deg, var(--lm-card-deep), var(--lm-card-accent)) 0 0 / 100% 88px no-repeat,
    linear-gradient(155deg, var(--lm-card-surface), #ffffff) !important;
  box-shadow: 0 22px 44px rgba(16, 53, 53, 0.16) !important;
  overflow: hidden !important;
  isolation: isolate;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Logo colours alternate naturally across every card group. */
:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-form-card,
  .booking-summary-card,
  .appointment-card,
  .statement
):nth-child(5n + 2):not([class*="client"]):not([class*="partner"]):not([class*="logo"]),
:root body main :is(.method-grid, .criteria-grid) > :nth-child(5n + 2) {
  --lm-card-accent: var(--lm-card-coral);
  --lm-card-deep: #c95540;
  --lm-card-surface: #fff0ec;
  --lm-card-ink: #563029;
  --lm-card-line: rgba(201, 85, 64, 0.12);
}

:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-form-card,
  .booking-summary-card,
  .appointment-card,
  .statement
):nth-child(5n + 3):not([class*="client"]):not([class*="partner"]):not([class*="logo"]),
:root body main :is(.method-grid, .criteria-grid) > :nth-child(5n + 3) {
  --lm-card-accent: var(--lm-card-gold);
  --lm-card-deep: #d49620;
  --lm-card-surface: #fff7e4;
  --lm-card-ink: #4b3a18;
  --lm-card-line: rgba(212, 150, 32, 0.13);
}

:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-form-card,
  .booking-summary-card,
  .appointment-card,
  .statement
):nth-child(5n + 4):not([class*="client"]):not([class*="partner"]):not([class*="logo"]),
:root body main :is(.method-grid, .criteria-grid) > :nth-child(5n + 4) {
  --lm-card-accent: var(--lm-card-mint);
  --lm-card-deep: #4e917b;
  --lm-card-surface: #edf7f2;
  --lm-card-ink: #27463c;
  --lm-card-line: rgba(78, 145, 123, 0.12);
}

:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-form-card,
  .booking-summary-card,
  .appointment-card,
  .statement
):nth-child(5n):not([class*="client"]):not([class*="partner"]):not([class*="logo"]),
:root body main :is(.method-grid, .criteria-grid) > :nth-child(5n) {
  --lm-card-accent: var(--lm-card-olive);
  --lm-card-deep: #6f8757;
  --lm-card-surface: #f2f6ec;
  --lm-card-ink: #344129;
  --lm-card-line: rgba(111, 135, 87, 0.12);
}

/* Keep all existing copy legible over its new card colour. */
:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-form-card,
  .booking-summary-card,
  .appointment-card,
  .statement
):not([class*="client"]):not([class*="partner"]):not([class*="logo"]) :is(h2, h3, h4, h5, p, li, strong, label, small),
:root body main :is(.method-grid > article, .criteria-grid > div) :is(h2, h3, h4, h5, p, li, strong, label, small) {
  color: var(--lm-card-ink) !important;
}

:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card
) :is(h2, h3, h4, h5) {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

/* Existing icon artwork is retained; only its holder follows the card palette. */
:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-summary-card,
  .appointment-card
) :is(
  .strength-card-icon,
  .why-card-icon,
  .certification-target-card__icon-wrap,
  .hri-level-card__number,
  .card-icon-container,
  .booking-summary-icon,
  .info-card-icon,
  .value-card-icon,
  .service-icon,
  .icon-wrap
) {
  color: #ffffff !important;
  background: linear-gradient(145deg, var(--lm-card-deep), var(--lm-card-accent)) !important;
  border: 4px solid color-mix(in srgb, var(--lm-card-accent) 48%, #ffffff) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 25px rgba(16, 53, 53, 0.24) !important;
  opacity: 1 !important;
  z-index: 3 !important;
}

:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-summary-card,
  .appointment-card
) :is(
  .strength-card-icon,
  .why-card-icon,
  .certification-target-card__icon-wrap,
  .hri-level-card__number,
  .card-icon-container,
  .booking-summary-icon,
  .info-card-icon,
  .value-card-icon,
  .service-icon,
  .icon-wrap
) :is(span, i, strong, svg) {
  color: #ffffff !important;
  fill: currentColor !important;
  opacity: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.22) !important;
}

:root body main :is(
  .card,
  .stat,
  .case-study-card,
  .case-detail,
  .certification-target-card,
  .hri-level-card,
  .info-card,
  .value-card,
  .expert-card,
  .faq-card,
  .lesson-card,
  .booking-form-card,
  .booking-summary-card,
  .appointment-card,
  .statement
):not([class*="client"]):not([class*="partner"]):not([class*="logo"]):hover,
:root body main .method-grid > article:hover,
:root body main .criteria-grid > div:hover {
  border-color: var(--lm-card-accent) !important;
  box-shadow: 0 25px 50px rgba(16, 53, 53, 0.2) !important;
}

@media (max-width: 767px) {
  :root body main :is(
    .card,
    .stat,
    .case-study-card,
    .case-detail,
    .certification-target-card,
    .hri-level-card,
    .info-card,
    .value-card,
    .expert-card,
    .faq-card,
    .lesson-card,
    .booking-form-card,
    .booking-summary-card,
    .appointment-card,
    .statement
  ):not([class*="client"]):not([class*="partner"]):not([class*="logo"]),
  :root body main .method-grid > article,
  :root body main .criteria-grid > div {
    border-width: 6px !important;
    border-radius: 32px !important;
    background-size: auto, auto, 72px 72px, 72px 72px, 100% 72px, auto !important;
    background-position: center, center, 0 72px, 0 72px, 0 0, center !important;
  }
}


/* Leadminds unified colours for hero and primary section headings. */

:root {
  --lm-heading-teal: #42a6a6;
  --lm-heading-yellow: #faba3e;
}

/* Hero titles and the large, primary headings used throughout the site. */
html body main :is(
  .hero,
  .page-hero,
  .booking-hero,
  .hero-premium-section,
  [class*="reference-hero"],
  [class*="hero-showcase"]
) :is(h1, .hero-title, .hero-premium-title),
html body main .section :is(.section-head, .section-heading) > h2,
html body main .section .section-head h2,
html body main .section .section-heading h2,
html body main .section > .container > h2,
html body main .section > .container.narrow > h2,
html body main .section .proof-copy > h2,
html body main .section .split-intro h2,
html body main :is(.page-title, .section-title, .main-title) {
  color: var(--lm-heading-teal) !important;
  -webkit-text-fill-color: var(--lm-heading-teal) !important;
  text-decoration-color: var(--lm-heading-teal) !important;
}

/* The homepage hero uses the coral/gold palette, so its title stays teal. */
html body.home-page main .hero-premium-section :is(h1, .hero-title, .hero-premium-title) {
  color: var(--lm-heading-teal) !important;
  -webkit-text-fill-color: var(--lm-heading-teal) !important;
}

/* The rotating words have their own gradient/transparent fill in the base theme. */
html body.home-page main .hero-premium-section .hero-premium-title [data-slogan-text] {
  color: var(--lm-heading-teal) !important;
  -webkit-text-fill-color: var(--lm-heading-teal) !important;
  background: none !important;
  background-image: none !important;
  text-shadow: none !important;
}

html body.home-page main .hero-premium-section .hero-premium-title .typing-cursor {
  color: var(--lm-heading-teal) !important;
  background: var(--lm-heading-teal) !important;
  -webkit-text-fill-color: var(--lm-heading-teal) !important;
}

/* Yellow is reserved for titles sitting on teal or similarly dark surfaces. */
html body:not(.home-page) main :is(
  .page-hero,
  .booking-hero,
  [class*="reference-hero"],
  [class*="hero-showcase"]
) :is(h1, .hero-title, .hero-premium-title),
html body main .section-dark :is(h1, h2, .section-title, .section-heading),
html body main :is(.section-head, .section-heading).light h2,
html body main [class*="bg-teal"] :is(h1, h2, .section-title),
html body main [class*="teal-section"] :is(h1, h2, .section-title) {
  color: var(--lm-heading-yellow) !important;
  -webkit-text-fill-color: var(--lm-heading-yellow) !important;
  text-decoration-color: var(--lm-heading-yellow) !important;
}

/* Courses page hero h1: force teal using ID (beats class-based yellow rule) */
#dynamic-hero-title {
  color: var(--lm-heading-teal) !important;
  -webkit-text-fill-color: var(--lm-heading-teal) !important;
  text-decoration-color: var(--lm-heading-teal) !important;
}

/* Case Study page: hero h1 stays teal/turquoise */
html body:not(.home-page) main :is(.page-hero, [class*="case-study"], [class*="reference-hero"]) :is(.case-study-reference-copy, .page-hero-copy, .case-study-hero-copy) :is(h1, .hero-title),
html body.case-study-view main :is(.page-hero, [class*="reference-hero"]) :is(h1, .hero-title),
html body main :is(.case-study-reference-hero, .case-study-reference-copy, .case-study-hero-copy) :is(h1, .hero-title) {
  color: #42a6a6 !important;
  -webkit-text-fill-color: #42a6a6 !important;
  text-decoration-color: #42a6a6 !important;
}


/* LeadMinds brand fonts */














:root {
  --bg: #f2f4f7;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-muted: #e8edf3;
  --text: var(--text);
  --muted: #6b7280;
  --line: #d8dee8;
  --primary: var(--primary);
  --primary-2: var(--primary-dark);
  --secondary: var(--secondary);
  --secondary-2: var(--text);
  --success: #edf7f0;
  --danger: #fbe4e4;
  --shadow: 0 22px 60px rgba(14, 39, 39, 0.12);
  --shadow-soft: 0 14px 34px rgba(14, 39, 39, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 1.5rem));
  --header-h: 66px;
  --font-display: "IBM Plex Sans Arabic", sans-serif;
  --font-headings: "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;
  --font-sans: "IBM Plex Sans Arabic", sans-serif;
}

body[data-theme="dark"] {
  --bg: #0d1b26;
  --surface: rgba(19, 34, 48, 0.88);
  --surface-strong: #132230;
  --surface-muted: #172b39;
  --text: #e8eff5;
  --muted: #9eb0be;
  --line: #264052;
  --primary: #db8557;
  --primary-2: #f0a677;
  --secondary: #58c5bb;
  --secondary-2: #2f8ea8;
  --success: rgba(38, 94, 70, 0.4);
  --danger: rgba(124, 46, 46, 0.4);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 115, 87, 0.08), transparent 22rem),
    radial-gradient(circle at top right, rgba(16, 53, 53, 0.08), transparent 24rem),
    linear-gradient(180deg, #fbfcfe, var(--bg));
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 9rem;
}
main {
  display: block;
}
body.admin-body {
  background:
    radial-gradient(circle at top left, rgba(30, 127, 120, 0.12), transparent 20rem),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 90%, #f8fafb), var(--bg));
  padding-bottom: 2rem;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.button-reset { border: 0; background: transparent; padding: 0; cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 3.5rem 0; }
.topbar-inner,
.header-inner,
.footer-bottom,
.hero-grid,
.page-hero-grid,
.contact-grid,
.admin-grid,
.admin-stats,
.cards-grid,
.stats-grid,
.footer-grid,
.course-meta,
.lesson-grid,
.overview-grid { display: grid; gap: 1rem; }

.topbar-inner {
  display: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(14, 39, 39, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(14, 39, 39, 0.06);
}
.header-shell,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 70px;
  padding: 0 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 0 auto;
}
.brand-saas {
  order: 1;
}
.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--text);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary));
  box-shadow: 0 10px 24px rgba(242, 115, 87, 0.24);
}
.brand-mark-circle {
  border-radius: 12px;
}
.brand-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}
.brand-copy-single strong {
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.brand-copy strong,
.brand-copy span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  order: 2;
}
.site-nav-saas {
  justify-content: center;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.nav-item {
  flex: 0 0 auto;
}
.nav-link,
.admin-topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 4px;
  color: #324255;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-radius: 12px;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.nav-link:hover,
.nav-link.is-active,
.admin-topnav a:hover,
.admin-topnav a.is-active {
  color: var(--secondary-2);
  background: rgba(16, 53, 53, 0.08);
  box-shadow: inset 0 -2px 0 var(--primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  order: 3;
}
.nav-cta-saas {
  justify-content: flex-end;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--secondary-2);
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}
.admin-topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary));
  color: var(--text);
  box-shadow: 0 14px 28px rgba(242, 115, 87, 0.3);
}
.button-secondary {
  background: var(--secondary-2);
  border-color: var(--secondary-2);
  color: #ffffff;
}
.button-ghost {
  background: rgba(16, 53, 53, 0.08);
  color: var(--secondary);
}
.floating-button-small {
  min-height: 2.5rem;
  padding: 0.68rem 0.75rem;
  font-size: 0.82rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.45rem 0.88rem;
  border-radius: 999px;
  background: rgba(242, 115, 87, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}
.section-head { display: grid; gap: 0.9rem; margin-bottom: 1.5rem; }
.section-head h1,
.section-head h2,
.section-head h3,
.hero-copy h1,
.page-hero-copy h1,
.post-header h1,
.course-header h1 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; }
.section-head p,
.muted,
.card p,
.hero-copy p,
.page-hero-copy p,
.post-body,
.lesson-card p { margin: 0; color: var(--muted); line-height: 1.8; }
.hero,
.page-hero { padding: 2.3rem 0 3rem; }
.hero-grid,
.page-hero-grid,
.contact-grid,
.overview-grid { align-items: center; }
.hero-copy,
.contact-panel,
.cta-box,
.admin-card,
.table-card,
.stats-card,
.lesson-card,
.course-outline,
.post-article { padding: 1.4rem; }
.hero-copy { position: relative; overflow: hidden; gap: 1rem; }
.hero-copy::after {
  content: "";
  position: absolute;
  inset-inline-end: -3rem;
  inset-block-end: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 28%, transparent), transparent 68%);
}
.hero-copy h1,
.page-hero-copy h1 { font-size: clamp(2rem, 6vw, 4.6rem); }
.hero-copy p,
.page-hero-copy p { font-size: clamp(1rem, 2.5vw, 1.4rem); }
.hero-actions { display: grid; gap: 0.75rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.hero-showcase {
  position: relative;
  padding: 2.75rem 0 3.5rem;
  overflow: hidden;
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(16, 53, 53, 0.45), transparent 30%),
    linear-gradient(180deg, #091717 0%, var(--secondary) 100%);
  z-index: 0;
}
.hero-showcase-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}
.hero-intro {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 1rem 0 0;
}
.hero-intro::after {
  inset-inline-end: auto;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inset-block-end: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 20%, transparent), transparent 68%);
}
.hero-showcase .eyebrow {
  background: color-mix(in srgb, #ffffff 10%, transparent);
  color: color-mix(in srgb, #ffffff 82%, var(--primary));
}
.hero-showcase .hero-copy h1,
.hero-showcase .hero-copy p {
  color: #f7fafc;
}
.hero-showcase .hero-copy p {
  max-width: 48rem;
  color: rgba(241, 245, 249, 0.88);
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.8;
  color: #fff;
}
.hero-showcase .hero-pills {
  justify-content: center;
}
.hero-showcase .pill {
  background: color-mix(in srgb, #ffffff 8%, transparent);
  color: #f7fafc;
}
.hero-showcase .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.hero-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.hero-strip-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero-tile {
  position: relative;
  min-height: 21rem;
  overflow: hidden;
  border-radius: 1.6rem;
  background: var(--text);
  box-shadow: 0 20px 40px rgba(14, 39, 39, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.hero-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.34);
}
.hero-tile img {
  width: 100%;
  height: 100%;
  min-height: 21rem;
  object-fit: cover;
  transform: scale(1.01);
}
.hero-tile__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 24, 0.12) 0%, rgba(13, 18, 24, 0.18) 45%, rgba(13, 18, 24, 0.76) 100%);
}
.hero-tile__label {
  position: absolute;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  z-index: 1;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
}
.hero-tile-static {
  pointer-events: none;
}
.hero-homepage .hero-intro {
  max-width: 64rem;
}
.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.5rem;
}
.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: color-mix(in srgb, #ffffff 8%, transparent);
  color: #f8fafc;
  text-align: start;
  line-height: 1.7;
}
.hero-trust-item::before {
  content: "âœ“";
  color: var(--primary);
  font-weight: 900;
}
.section-head-center {
  justify-items: center;
  text-align: center;
}
.stats-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.story-grid,
.reason-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.story-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-detail-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.story-card h3,
.service-detail-card h3,
.reason-card h3 {
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.service-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-story {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(16, 53, 53, 0.06);
  border: 1px solid rgba(16, 53, 53, 0.08);
}
.service-story strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--primary);
}
.homepage-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.homepage-cta .section-head {
  max-width: 48rem;
}
.pill,
.contact-chip,
.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 53, 53, 0.08);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.84rem;
}
.hero-visual,
.page-hero-media { overflow: hidden; min-height: 100%; }
.hero-visual img,
.page-hero-media img,
.card img,
.post-cover,
.course-cover { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.hero-overlay,
.media-caption {
  position: absolute;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(14, 39, 39, 0.9);
  color: #eef6fb;
}
.hero-visual { position: relative; padding: 0; }
.stats-grid,
.cards-grid,
.admin-stats,
.lesson-grid { grid-template-columns: 1fr; }
.stat,
.stats-card { padding: 1.35rem; }
.stat strong,
.stats-card strong { display: block; font-size: 2rem; margin-bottom: 0.35rem; color: var(--primary); }
.card { padding: 1.2rem; border: 1px solid rgba(16, 53, 53, 0.08); background: var(--surface-strong); box-shadow: var(--shadow-soft); border-radius: 20px; }
.clickable-card { cursor: pointer; }
.clickable-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--secondary) 45%, #ffffff);
  outline-offset: 3px;
}
.card,
.course-outline,
.lesson-card,
.footer-card,
.admin-card,
.contact-panel,
.cta-box,
.post-article { align-content: start; }
.card > * + *,
.course-outline > * + *,
.lesson-card > * + *,
.footer-card > * + *,
.contact-panel > * + *,
.cta-box > * + *,
.post-article > * + * { margin-top: 0.9rem; }
.card h3,
.card h4,
.footer-card h4,
.admin-card h2,
.lesson-card h3,
.course-outline h2 { margin: 0 0 0.75rem; line-height: 1.15; }
.card img,
.post-article img { border-radius: 1rem; margin-bottom: 0; }
.story-card.card img,
.service-detail-card.card img {
  width: 100%;
  height: auto;
  min-height: 0;
}
.card-kicker { color: var(--primary); font-weight: 700; }
.dynamic-card .button { margin-top: 0.9rem; }
.card-actions {
  margin-top: auto;
  padding-top: 0.2rem;
}
.card-actions .button {
  width: auto;
}
.text-link { color: var(--secondary); font-weight: 700; }
.footer {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
}
.footer-bottom { color: rgba(255, 255, 255, 0.72); padding: 0; }
.footer-compact .container { position: relative; }
.footer-shell {
  display: grid;
  gap: 1.1rem;
  padding: 1.35rem 1.35rem 1.1rem;
  border: 1px solid rgba(242, 115, 87, 0.12);
  background: linear-gradient(180deg, var(--text) 0%, var(--secondary) 100%);
  box-shadow: 0 26px 60px rgba(14, 39, 39, 0.22);
  border-radius: 1.25rem;
}
.footer-summary strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  color: #ffffff;
}
.footer-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}
.footer-inline-links,
.footer-contact-row,
.footer-actions-row,
.footer-bottom-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}
.footer-inline-links a {
  font-weight: 700;
  color: #ffffff;
}
.footer-contact-row span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.footer-actions-row .button {
  width: auto;
}
.footer-actions-row .social-row {
  margin-inline-start: auto;
}
.footer-shell-admin {
  padding: 0.85rem 1rem;
}

.social-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  min-height: 2.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  font-weight: 800;
}
.floating-bar {
  position: fixed;
  inset-inline: 0.7rem;
  inset-block-end: 0.85rem;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.45rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--line) 84%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.chat-widget {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-end: 5.6rem;
  width: min(21rem, calc(100vw - 2rem));
  z-index: 95;
}
.chat-widget__header,
.chat-widget__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.chat-widget__messages { max-height: 18rem; overflow: auto; padding: 1rem; display: grid; gap: 0.7rem; }
.chat-widget__bubble { padding: 0.8rem 0.95rem; border-radius: 1rem; background: var(--surface-muted); }
.chat-widget__bubble.user { justify-self: end; background: color-mix(in srgb, var(--primary) 16%, transparent); }
.chat-widget__close { border: 0; background: transparent; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.chat-widget__form { border-bottom: 0; padding-top: 0; }
.chat-widget__form input { flex: 1; }
.input,
.select,
.textarea {
  width: auto;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}
.textarea { min-height: 8rem; resize: vertical; }
.form-grid { display: grid; gap: 0.9rem; }
.flash { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 1rem; }
.flash.success { background: var(--success); }
.flash.error { background: var(--danger); }
.table-card { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.85rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.admin-shell { padding: 2rem 0 4rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.admin-toolbar .button { width: auto; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  background: color-mix(in srgb, var(--secondary) 12%, transparent);
  color: var(--secondary);
}
.badge.draft { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.empty-state { color: var(--muted); padding: 1rem 0; }
.overview-grid,
.course-meta { grid-template-columns: 1fr; }
.post-article { display: grid; gap: 1.3rem; }
.post-cover--top { order: -1; }
.post-cover--left,
.post-cover--right { max-width: 32rem; }
.post-cover.width-narrow { max-width: 22rem; }
.post-cover.width-medium { max-width: 32rem; }
.post-cover.width-wide { max-width: 100%; }
.post-cover.position-left { margin-inline-end: auto; }
.post-cover.position-center { margin-inline: auto; }
.post-cover.position-right { margin-inline-start: auto; }
.post-body { font-size: 1rem; }
.post-body p { margin: 0 0 1rem; }
.course-header,
.post-header { display: grid; gap: 0.8rem; }
.course-outline,
.lesson-card { height: 100%; }
.video-frame {
  width: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 1rem;
  margin-top: 1rem;
}
.split-fields { display: grid; gap: 1rem; }
.fieldset-grid { display: grid; gap: 1rem; }

@media (min-width: 640px) {
  :root { --container: min(1180px, calc(100% - 2rem)); }
  .cards-grid,
  .stats-grid,
  .admin-stats,
  .lesson-grid,
  .footer-grid,
  .contact-grid,
  .overview-grid,
  .course-meta,
  .fieldset-grid,
  .split-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .full { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .admin-topnav { display: none; }
  .header-shell,
  .header-inner {
    padding: 0 18px;
    gap: 1rem;
  }
  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-cta .button {
    min-height: 40px;
    padding: 0 14px;
  }
  .hero-strip,
  .hero-strip-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-trust-list,
  .service-points,
  .story-grid,
  .reason-grid,
  .stats-grid-four {
    grid-template-columns: 1fr;
  }
  .homepage-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 900px) {
  :root { --container: min(1180px, calc(100% - 3rem)); }
  .nav-panel {
    gap: 1.25rem;
  }
  .nav-list {
    justify-content: flex-start;
  }
  .nav-link {
    min-height: 2.7rem;
    padding-inline: 0.9rem;
  }
  .nav-cta {
    gap: 0.65rem;
    flex-shrink: 0;
  }
  .nav-cta .button,
  .admin-actions .button { width: auto; }
  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .overview-grid { grid-template-columns: 1.05fr 0.95fr; }
  .cards-grid,
  .lesson-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-grid,
  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid:has(.service-detail-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid,
  .admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-inline-links { justify-content: flex-start; }
  .footer-contact-row { justify-content: flex-start; }
  .footer-actions-row { justify-content: flex-start; }
  .admin-grid { grid-template-columns: 1.15fr 0.85fr; }
  .floating-bar { inset-inline-start: auto; width: min(27rem, calc(100vw - 2rem)); }
  .split-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .hero-showcase {
    padding: 2.1rem 0 2.7rem;
  }
  .hero-intro {
    text-align: start;
    justify-items: start;
  }
  .hero-showcase .hero-pills {
    justify-content: flex-start;
  }
  .hero-strip,
  .hero-strip-four {
    grid-template-columns: 1fr;
  }
  .hero-tile,
  .hero-tile img {
    min-height: 16rem;
  }
  .hero-trust-list {
    grid-template-columns: 1fr;
  }
}

.topbar-note,
.topbar-link,
.nav-links a,
.admin-topnav a,
.section-head h1,
.section-head h2,
.section-head h3,
.section-head p,
.card h3,
.card h4,
.card p,
.hero-copy h1,
.hero-copy p,
.page-hero-copy h1,
.page-hero-copy p,
.post-header h1,
.post-header p,
.post-body,
.lesson-card h3,
.lesson-card p,
.footer-card h4,
.footer-card p,
.button,
.badge,
th,
td,
.meta-pill,
.contact-chip,
.eyebrow {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy,
.page-hero-copy,
.card,
.footer-card,
.admin-card,
.lesson-card,
.post-article,
.course-outline,
.contact-panel,
.cta-box,
.stat,
.stats-card {
  min-width: 0;
}

[dir="rtl"] body,
[dir="rtl"] .section-head,
[dir="rtl"] .card,
[dir="rtl"] .post-article,
[dir="rtl"] .lesson-card,
[dir="rtl"] .footer-card,
[dir="rtl"] th,
[dir="rtl"] td,
[dir="rtl"] .input,
[dir="rtl"] .textarea,
[dir="rtl"] .select {
  text-align: right;
}

[dir="rtl"] .admin-topnav,
[dir="rtl"] .topbar-tools,
[dir="rtl"] .admin-actions,
[dir="rtl"] .social-row,
[dir="rtl"] .hero-pills {
  justify-content: flex-start;
}




[dir="rtl"] .header-shell,
[dir="rtl"] .header-inner {
  direction: rtl;
}
[dir="rtl"] .brand-saas {
  order: 3;
}
[dir="rtl"] .site-nav {
  order: 2;
}
[dir="rtl"] .nav-cta {
  order: 1;
}
[dir="rtl"] .nav-link {
  text-align: center;
}


/* Reference Header Override */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(222, 212, 198, 0.75);
  backdrop-filter: blur(18px);
  background: rgba(245, 241, 234, 0.82);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand.brand-saas {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand.brand-saas .brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}
.brand.brand-saas .brand-copy {
  min-width: 0;
}
.brand.brand-saas .brand-copy strong,
.brand.brand-saas .brand-copy span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand.brand-saas .brand-copy strong {
  font-size: 0.98rem;
}
.brand.brand-saas .brand-copy span {
  font-size: 0.78rem;
  color: var(--muted);
}
.nav-toggle.nav-toggle-saas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.nav-toggle.nav-toggle-saas svg {
  width: 1.2rem;
  height: 1.2rem;
}
.site-nav.site-nav-saas {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  padding: 0.85rem;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}
.site-nav.site-nav-saas.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-nav.site-nav-saas .nav-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.97);
  box-shadow: var(--shadow);
}
.site-nav.site-nav-saas .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.site-nav.site-nav-saas .nav-links,
.site-nav.site-nav-saas .nav-actions,
.site-nav.site-nav-saas .nav-cta {
  display: grid;
  gap: 0.65rem;
}
.site-nav.site-nav-saas .nav-link {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.site-nav.site-nav-saas .nav-link:hover,
.site-nav.site-nav-saas .nav-link.is-active {
  background: var(--surface-muted);
}
.nav-cta.nav-cta-saas {
  display: grid;
  gap: 0.65rem;
}
.nav-cta.nav-cta-saas .button {
  width: 100%;
}
@media (min-width: 900px) {
  .nav-toggle.nav-toggle-saas {
    display: none;
  }
  .site-nav.site-nav-saas {
    position: static;
    inset: auto;
    padding: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    flex: 1 1 auto;
  }
  .site-nav.site-nav-saas .nav-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav.site-nav-saas .nav-list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  .site-nav.site-nav-saas .nav-link {
    padding: 0.8rem 0.9rem;
  }
  .nav-cta.nav-cta-saas {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .nav-cta.nav-cta-saas .button {
    width: auto;
  }
}
[dir="rtl"] .header-shell {
  direction: rtl;
}
[dir="rtl"] .site-nav.site-nav-saas .nav-link {
  text-align: right;
}

/* Footer Layout Fix */
html,
body {
  min-height: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 0;
}

main {
  display: block;
  flex: 1 0 auto;
  width: 100%;
  padding-bottom: 7.5rem;
}

body.admin-body main {
  padding-bottom: 2rem;
}

.flash,
.site-header {
  flex: 0 0 auto;
}

.footer {
  position: static;
  z-index: auto;
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.footer-compact {
  margin-bottom: 5.5rem;
}

body.admin-body .footer-compact {
  margin-bottom: 0;
}

.footer-compact .container,
.footer-shell,
.footer-bottom,
.footer-inline-links,
.footer-contact-row,
.footer-actions-row,
.footer-bottom-compact {
  position: static;
}

.footer-shell {
  gap: 1rem;
}

.footer-actions-row {
  align-items: center;
}

.footer-actions-row .button,
.footer-actions-row .social-row {
  flex-shrink: 0;
}

.floating-bar {
  z-index: 80;
}

.chat-widget {
  z-index: 85;
}

@media (max-width: 899px) {
  main {
    padding-bottom: 8.5rem;
  }

  .footer-compact {
    margin-bottom: 6.5rem;
  }

  .footer-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-actions-row .button,
  .footer-actions-row .social-row {
    width: 100%;
    margin-inline-start: 0;
  }

  .social-row {
    justify-content: flex-start;
  }
}

/* Header tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(16, 53, 53, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--secondary-2);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.header-tool:hover {
  background: rgba(16, 53, 53, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 899px) {
  .header-tools {
    display: grid;
    width: 100%;
    gap: 0.65rem;
  }

  .header-tool {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .nav-cta.nav-cta-saas {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .header-tools {
    margin-inline-end: 0.25rem;
  }
}

/* Compact header tools */
.header-tool-circle {
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 899px) {
  .header-tools {
    display: none;
  }
}

/* Floating icon buttons */
.floating-bar-icons {
  grid-template-columns: repeat(2, minmax(0, 3.25rem));
  justify-content: end;
  width: auto;
  inset-inline-start: auto;
  inset-inline-end: 0.85rem;
  padding: 0.45rem;
}

.floating-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 53, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--secondary-2);
  box-shadow: var(--shadow-soft);
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
}

.floating-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.floating-icon:hover {
  transform: translateY(-1px);
}

.floating-icon-whatsapp {
  color: #1fa855;
}

.floating-icon-support {
  color: var(--secondary-2);
}

@media (max-width: 899px) {
  .floating-bar-icons {
    inset-inline-end: 0.7rem;
    inset-block-end: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 2.9rem));
  }

  .floating-icon {
    width: 2.9rem;
    height: 2.9rem;
  }
}

/* Icon-only action buttons */
.header-tool-circle {
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-actions-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 115, 87, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(14, 39, 39, 0.16);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.icon-button i {
  font-size: 1.2rem;
}

.icon-button:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 32px rgba(14, 39, 39, 0.22);
}

.icon-button-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.icon-button-support {
  background: linear-gradient(135deg, var(--primary), var(--primary));
  color: var(--text);
}

.icon-button-map {
  background: #ffffff;
  border-color: rgba(16, 53, 53, 0.14);
  color: var(--secondary);
}

.floating-bar-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
}

.floating-bar-icons .icon-button {
  flex: 0 0 auto;
}

@media (max-width: 899px) {
  .header-tools {
    display: none;
  }

  .footer-actions-icons {
    gap: 10px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }
}

/* Inline svg icon fix */
.icon-button svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.icon-button i {
  display: none;
}

/* Mobile header simplification */
@media (max-width: 899px) {
  .nav-cta.nav-cta-saas > .button {
    display: none;
  }

  .nav-cta.nav-cta-saas {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .header-shell {
    gap: 0.75rem;
  }
}

/* Mobile menu open fix */
@media (max-width: 899px) {
  .site-nav.site-nav-saas {
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.site-nav-saas.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    z-index: 120;
  }

  .site-nav.site-nav-saas .nav-panel {
    display: grid;
  }
}

/* Lead Minds Refined Identity - Awwwards-Level UI Transformation */
:root {
  --bg: #f4f7f6;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-muted: #e8f0f0;
  --text: #0e2727;
  --muted: #5e7777;
  --primary: #F27357; /* Coral - Primary Brand Color */
  --primary-dark: #db5c40;
  --secondary: #103535; /* Dark Teal - Deep Brand Tone */
  --secondary-2: #41A5A5; /* Bright Teal - Highlight Accent */
  --border: rgba(14, 39, 39, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(14, 39, 39, 0.04);
  --shadow-strong: 0 20px 50px rgba(14, 39, 39, 0.08);
  --transition: 280ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Brand Typography Variables */
  --font-display: "IBM Plex Sans Arabic", sans-serif;
  --font-headings: "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;
  --font-sans: "IBM Plex Sans Arabic", sans-serif;
}

/* English Typography Variables */
html[lang="en"] {
  --font-display: "Climate Crisis", "Genos", sans-serif;
  --font-headings: "Genos", sans-serif;
  --font-body: "Genos", sans-serif;
  --font-sans: "Genos", sans-serif;
}

body {
  background: linear-gradient(180deg, #fbfcfb 0%, #f3f7f6 42%, #ebf2f1 100%);
  color: var(--text);
  font-family: var(--font-sans);
  transition: background-color var(--transition), color var(--transition);
}

body[data-theme="dark"] {
  --bg: #0b1414;
  --surface: rgba(14, 28, 28, 0.82);
  --surface-strong: #0f1f1f;
  --surface-muted: #142a2a;
  --text: #f2faf9;
  --muted: #95afae;
  --primary: #f58f7a;
  --primary-dark: #F27357;
  --secondary: #d4eaea;
  --secondary-2: #5ec5c5;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #0b1414 0%, #0d1e1e 46%, #070e0e 100%);
}

/* Typography Application */
h1, .hero-copy h1, .page-hero-copy h1, .post-header h1, .course-header h1 {
  font-family: var(--font-headings);
  font-weight: 700;
}

h2, h3, .section-head h2, .section-head h3, .card h3, .card h4, .footer-card h4, .admin-card h2, .lesson-card h3, .course-outline h2 {
  font-family: var(--font-headings);
  font-weight: 700;
}

body, p, .nav-link, .button, input, textarea, select, .eyebrow {
  font-family: var(--font-sans);
}

/* 1. Navbar & Header - Glassmorphic floating design */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.header-shell {
  min-height: 80px;
}

.brand.brand-saas .brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #41A5A5 0%, #78B299 30%, #FABA3D 60%, #F27357 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(14, 39, 39, 0.18);
}

.brand.brand-saas .brand-copy strong {
  color: var(--text);
  font-weight: 800;
}

.nav-link {
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  padding: 0.6rem 1rem;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(65, 165, 165, 0.1);
  color: var(--secondary-2);
  transform: translateY(-1px);
}

body[data-theme="dark"] .nav-link:hover,
body[data-theme="dark"] .nav-link.is-active {
  background: rgba(94, 197, 197, 0.15);
  color: var(--secondary-2);
}

/* 2. Hero Sections & Spacing */
.hero-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: 
    radial-gradient(circle at 15% 30%, rgba(65, 165, 165, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(250, 186, 61, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(242, 115, 87, 0.5) 0%, transparent 55%),
    linear-gradient(135deg, #091717 0%, #0f2b2b 100%);
  padding: 5.5rem 0 4.5rem;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 0v120M0 60h120 M60 60a30 30 0 1 1-30-30 M90 60a30 30 0 1 0-30 30' stroke='rgba(255, 255, 255, 0.035)' stroke-width='0.75' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.hero-intro::after,
.hero-copy::after { display: none; }

.hero-showcase-shell {
  gap: 2.5rem;
}

.hero-intro {
  max-width: 58rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.hero-copy h1,
.page-hero-copy h1 {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-showcase .hero-copy h1 {
  font-weight: 800;
  max-width: 52rem;
  margin-inline: auto;
  color: #ffffff;
}

.hero-showcase .hero-copy p {
  color: rgba(242, 250, 249, 0.85);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(242, 115, 87, 0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: rgba(242, 115, 87, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-showcase .eyebrow {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-trust-list {
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-trust-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  transition: all var(--transition);
}

.hero-trust-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 3. Cards & Grids - Modern Luxury UI styling */
.card,
.contact-panel,
.cta-box,
.post-article,
.course-outline,
.lesson-card,
.stat,
.stats-card,
.table-card,
.admin-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover,
.clickable-card:hover {
  transform: translateY(-6px);
  border-color: rgba(65, 165, 165, 0.25);
  box-shadow: var(--shadow-strong);
}

.card img,
.post-article img,
.page-hero-media,
.page-hero-media img,
.course-cover,
.post-cover {
  border-radius: 14px;
}

/* 4. Buttons - Interactive glowing buttons */
.button {
  min-height: 3rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0 1.5rem;
  box-shadow: none;
  transition: all var(--transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary,
.icon-button-support {
  background: linear-gradient(135deg, var(--secondary-2), var(--secondary));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(65, 165, 165, 0.25);
}

.button-primary:hover,
.icon-button-support:hover {
  box-shadow: 0 15px 35px rgba(65, 165, 165, 0.4);
  background: linear-gradient(135deg, var(--secondary), var(--secondary-2));
}

.button-secondary {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  border-color: var(--secondary-2);
  color: var(--secondary-2);
  box-shadow: var(--shadow-strong);
}

/* 5. Modern Call-To-Action (CTA) Boxes */
.cta-box {
  background: linear-gradient(135deg, rgba(16, 53, 53, 0.98), rgba(65, 165, 165, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  padding: 3rem;
  color: #ffffff;
}

.cta-box h2,
.cta-box p {
  color: #ffffff;
}

/* 6. Footer Redesign */
.footer {
  background: #081111;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-shell {
  border-radius: 20px;
  background: linear-gradient(135deg, #081111 0%, #0d2121 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  box-shadow: var(--shadow-strong);
}

.footer-inline-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-inline-links a:hover {
  color: var(--secondary-2);
}

/* 7. Forms & Inputs Focus Styling */
.input,
.select,
.textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text);
  transition: all var(--transition);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--secondary-2);
  box-shadow: 0 0 0 4px rgba(65, 165, 165, 0.18);
  outline: none;
}

@media (min-width: 900px) {
  .page-hero-grid { gap: 2.5rem; }
  .hero-homepage .hero-intro { text-align: center; }
}

@media (max-width: 899px) {
  .header-shell { min-height: 66px; }
  .hero-actions { justify-content: flex-start; }
}

/* Calmer first-screen hero */
.hero-homepage.hero-showcase {
  padding: 2.4rem 0 2.75rem;
}

.hero-homepage .hero-showcase-shell {
  gap: 1.35rem;
}

.hero-homepage .hero-intro {
  max-width: 54rem;
  gap: 0.75rem;
}

.hero-homepage .hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  max-width: 48rem;
}

.hero-slogan {
  min-height: 2.2em;
}

.type-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-inline-start: 0.08em;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(0.08em);
  animation: type-caret-blink 0.9s steps(2, start) infinite;
}

@keyframes type-caret-blink {
  50% { opacity: 0; }
}

.hero-homepage .hero-subtitle {
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.hero-homepage .lead {
  max-width: 46rem;
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero-homepage .hero-actions {
  margin-top: 0.15rem;
}

.hero-homepage .hero-trust-list {
  max-width: 56rem;
  margin-top: 0.25rem;
}

.hero-homepage .hero-trust-item {
  min-height: 3.15rem;
  padding: 0.8rem 1rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-homepage .hero-trust-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .hero-homepage .hero-copy h1 {
    font-size: clamp(2rem, 13vw, 3.1rem);
  }

  .hero-homepage .hero-trust-list {
    grid-template-columns: 1fr;
  }
}

/* Global-growth sections */
.section-tight {
  padding: 2.25rem 0;
}

.compact-head {
  margin-bottom: 1.35rem;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.logo-cloud span {
  display: grid;
  place-items: center;
  min-height: 4.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 92%, rgba(31, 122, 114, 0.08));
  color: var(--secondary);
  font-weight: 800;
  text-align: center;
}

.global-grid {
  align-items: stretch;
}

.global-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mini-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
}

.mini-chip-row span {
  border: 1px solid rgba(31, 122, 114, 0.16);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  background: rgba(31, 122, 114, 0.08);
  color: var(--secondary-2);
  font-size: 0.84rem;
  font-weight: 800;
}

.split-showcase {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.industry-list,
.expert-list,
.resource-list,
.proof-metrics,
.faq-grid {
  display: grid;
  gap: 0.8rem;
}

.industry-list article,
.expert-list article,
.resource-link {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 12px 32px rgba(18, 32, 42, 0.06);
  padding: 1rem;
}

.industry-list h3,
.industry-list p {
  margin: 0;
}

.industry-list p,
.expert-list span,
.resource-link span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.7;
}

.proof-panel {
  display: grid;
  gap: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 48, 58, 0.96), rgba(31, 122, 114, 0.88));
  color: #ffffff;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.proof-panel h2,
.proof-panel p {
  color: #ffffff;
}

.proof-metrics .stat {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.proof-metrics .stat strong,
.proof-metrics .stat span {
  color: #ffffff;
}

.split-showcase-media .section-media {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.split-showcase-media .section-media img {
  display: block;
  width: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.expert-list strong,
.resource-link strong {
  color: var(--text);
}

.resource-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.resource-link:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 114, 0.25);
}

.faq-grid {
  grid-template-columns: 1fr;
}

.faq-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.faq-card p {
  margin: 0;
}

@media (min-width: 700px) {
  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-metrics,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .split-showcase {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2rem;
  }

  .split-showcase-media {
    grid-template-columns: 1fr 1fr;
  }

  .proof-panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

/* Expanded global navigation */
@media (min-width: 900px) {
  .site-nav.site-nav-saas .nav-list {
    gap: 0.12rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav.site-nav-saas .nav-link {
    padding: 0.62rem 0.58rem;
    font-size: 0.86rem;
  }

  .brand.brand-saas .brand-copy span {
    display: none;
  }
}

@media (min-width: 1180px) {
  .site-nav.site-nav-saas .nav-link {
    padding-inline: 0.72rem;
    font-size: 0.9rem;
  }
}

/* Header dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-caret {
  display: inline-flex;
  font-size: 0.68rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.nav-item-dropdown.open .nav-dropdown-caret,
.nav-item-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-start: 0;
  z-index: 40;
  display: none;
  min-width: 13rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.nav-item-dropdown.open .nav-dropdown-menu,
.nav-item-dropdown:hover .nav-dropdown-menu {
  display: grid;
  gap: 0.15rem;
}

.nav-dropdown-link {
  display: block;
  padding: 0.68rem 0.82rem;
  border-radius: 0.58rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.is-active {
  background: rgba(31, 122, 114, 0.1);
  color: var(--secondary-2);
}

[dir="rtl"] .nav-dropdown-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

@media (max-width: 899px) {
  .nav-item-dropdown {
    position: static;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0.35rem;
    box-shadow: none;
    background: rgba(31, 122, 114, 0.06);
  }

  .nav-item-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-item-dropdown.open .nav-dropdown-menu,
  .nav-item-dropdown.open:hover .nav-dropdown-menu {
    display: grid;
  }
}

/* Mobile navigation visibility repair */
@media (max-width: 899px) {
  .site-header {
    z-index: 2000;
  }

  .site-nav.site-nav-saas {
    position: fixed;
    inset: 66px 0 auto 0;
    z-index: 1990;
    display: block;
    max-height: calc(100dvh - 76px);
    padding: 0.75rem;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(13, 44, 48, 0.18), rgba(13, 44, 48, 0));
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.site-nav-saas.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav.site-nav-saas .nav-list {
    display: grid;
    width: min(100%, 24rem);
    margin: 0 auto;
    padding: 0.75rem;
    gap: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 1.1rem;
    background: #fffdf9;
    box-shadow: 0 22px 55px rgba(8, 28, 32, 0.2);
  }

  .site-nav.site-nav-saas .nav-link {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    justify-content: flex-start;
    padding: 0.72rem 0.85rem;
    border-radius: 0.75rem;
    color: var(--text);
    font-weight: 800;
  }

  [dir="rtl"] .site-nav.site-nav-saas .nav-link {
    justify-content: flex-end;
    text-align: right;
  }

  .site-nav.site-nav-saas .nav-link:hover,
  .site-nav.site-nav-saas .nav-link.is-active {
    background: rgba(31, 122, 114, 0.1);
    color: var(--secondary-2);
  }

  .site-nav.site-nav-saas .nav-dropdown-menu {
    margin: 0.3rem 0 0;
    padding: 0.35rem;
    border-color: rgba(31, 122, 114, 0.16);
    background: rgba(31, 122, 114, 0.06);
  }

  .site-nav.site-nav-saas .nav-dropdown-link {
    white-space: normal;
  }
}


/* ==========================================================================
   Premium Hero & Header Override (Lead Minds Transformation)
   ========================================================================== */

/* 1. Header Sticky & Transition Settings */
.site-header.premium-header {
  position: fixed !important;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2000 !important;
  background: #0d2121 !important; /* Solid dark brand color by default for subpages */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15) !important;
  height: 86px !important; /* Exactly 86px height */
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
}

/* Header inner layout alignment (Flexbox center alignment) */
.premium-header .header-shell {
  direction: ltr !important; /* Left-to-right flow for brand logo left, nav center, ctas right */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: var(--container) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  height: 100% !important;
  flex-wrap: nowrap !important; /* PREVENT WRAPPING */
}

/* Transparent overlay only on Homepage top */
body.home-page .site-header.premium-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Homepage scrolled state */
body.home-page .site-header.premium-header.scrolled {
  background: rgba(13, 33, 33, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
}

/* 2. Brand & Logo Alignment */
.premium-header .brand-saas {
  order: 1 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

.premium-header .brand-saas img {
  display: block !important;
  height: 40px !important; /* Perfect vertical height */
  width: auto !important;
}

/* 3. Main Navigation Alignment */
.premium-header .site-nav {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  margin: 0 24px !important;
  height: 100% !important;
}

.premium-header .nav-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important; /* Comfortable spacing */
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  height: 100% !important;
  flex-wrap: nowrap !important; /* PREVENT WRAPPING */
}

.premium-header .nav-item {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.premium-header .nav-link {
  position: relative !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  text-decoration: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.premium-header .nav-link:hover,
.premium-header .nav-link.is-active {
  color: #ffffff !important;
  background: transparent !important;
}

/* Elegant indicator dot for active page */
.premium-header .nav-link::after {
  content: "" !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0) !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background-color: var(--primary) !important; /* Brand Coral */
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  transform-origin: center !important;
}

.premium-header .nav-link.is-active::after {
  transform: translateX(-50%) scaleX(1) !important;
}

.premium-header .nav-link:hover::after {
  transform: translateX(-50%) scaleX(1) !important;
}

/* 4. Navigation Actions & Controls (Right side group) */
.premium-header .nav-cta {
  order: 3 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important; /* Perfect spacing between CTA components */
  height: 100% !important;
  flex-wrap: nowrap !important; /* PREVENT WRAPPING */
}

/* Search Button */
.premium-header .header-search-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-header .header-search-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.premium-header .header-search-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  fill: none !important;
}

/* Divider Line */
.premium-header .header-divider {
  width: 1px !important;
  height: 22px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center !important;
}

/* CTA Buttons Group */
.premium-header .cta-group {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Primary Button (ط§ط­ط¬ط² ظ…ظƒط§ظ„ظ…ط©) */
.premium-header .header-btn-primary {
  background: var(--primary) !important; /* Coral */
  border: 1px solid transparent !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  min-height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 15px rgba(243, 115, 88, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.premium-header .header-btn-primary:hover {
  background: #f4826b !important;
  box-shadow: 0 6px 20px rgba(243, 115, 88, 0.35) !important;
  transform: translateY(-2px) !important;
}

.premium-header .header-btn-primary svg {
  width: 14px !important;
  height: 14px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.5 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-header .header-btn-primary:hover svg {
  transform: translateX(3px) !important;
}

[dir="rtl"] .premium-header .header-btn-primary:hover svg {
  transform: translateX(-3px) !important;
}

/* Secondary Button (ط§طھطµظ„ ط§ظ„ط¢ظ†) */
.premium-header .header-btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  min-height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.premium-header .header-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* Language and Theme Toggles */
.premium-header .header-utils {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.premium-header .header-tool-circle {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.premium-header .header-tool-circle:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* 5. Dropdown Menu Overrides (Desktop) */
.premium-header .nav-item-dropdown {
  position: relative !important;
}

.premium-header .nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.premium-header .nav-dropdown-caret {
  font-size: 0.6rem !important;
  opacity: 0.7;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-inline-start: 4px;
  display: inline-block !important;
  vertical-align: middle;
}

.premium-header .nav-item-dropdown.open .nav-dropdown-caret,
.premium-header .nav-item-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg) !important;
}

.premium-header .nav-dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  inset-inline-start: 50% !important;
  transform: translateX(-50%) !important; /* Centered dropdown! */
  z-index: 2100 !important;
  min-width: 280px !important;
  padding: 8px !important;
  background: rgba(13, 33, 33, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45) !important;
  gap: 2px !important;
}

.premium-header .nav-item-dropdown.open .nav-dropdown-menu,
.premium-header .nav-item-dropdown:hover .nav-dropdown-menu {
  display: grid !important;
}

.premium-header .nav-dropdown-link {
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: normal !important;
  display: block !important;
  text-align: right !important; /* RTL default */
}

[dir="ltr"] .premium-header .nav-dropdown-link {
  text-align: left !important; /* LTR override */
}

.premium-header .nav-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

/* 6. Hero Section Layout */
.hero-premium-section {
  position: relative;
  overflow: hidden;
  background-color: #061817;
  background-image: 
    radial-gradient(circle at 10% 40%, rgba(242, 92, 39, 0.65) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(245, 186, 60, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(105, 166, 142, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(16, 53, 53, 0.85) 0%, transparent 60%),
    linear-gradient(135deg, #092624 0%, #030a0a 100%);
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Background Noise Overlay */
.hero-premium-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

/* Background Geometric Line Overlay */
.hero-premium-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='600' cy='400' r='380' stroke='rgba(255, 255, 255, 0.03)' stroke-width='0.75'/%3E%3Ccircle cx='600' cy='400' r='260' stroke='rgba(255, 255, 255, 0.02)' stroke-width='0.75'/%3E%3Ccircle cx='950' cy='260' r='210' stroke='rgba(245, 186, 60, 0.05)' stroke-width='0.75'/%3E%3Cpath d='M-100,400 Q600,-100 1300,400' stroke='rgba(242, 115, 87, 0.06)' stroke-width='1.2'/%3E%3Cpath d='M-100,400 Q600,900 1300,400' stroke='rgba(65, 165, 165, 0.06)' stroke-width='1.2'/%3E%3Cpath d='M200,0 L1000,800' stroke='rgba(245, 186, 60, 0.03)' stroke-width='0.75'/%3E%3Cpath d='M1000,0 L200,800' stroke='rgba(245, 186, 60, 0.03)' stroke-width='0.75'/%3E%3Crect x='300' y='100' width='600' height='600' rx='180' stroke='rgba(255, 255, 255, 0.015)' stroke-width='0.75'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.hero-premium-container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-premium-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

[dir="rtl"] .hero-premium-copy {
  align-items: flex-start;
  text-align: right;
}

.hero-premium-title {
  font-family: "Genos", sans-serif !important;
  font-size: clamp(3.2rem, 7.5vw, 5.8rem) !important;
  font-weight: 800 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin: 0 0 24px 0 !important;
  text-transform: uppercase;
}

.hero-premium-title span {
  display: block;
  background: linear-gradient(135deg, #ffffff 10%, #76B299 50%, #41A5A5 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hero-premium-desc {
  font-family: var(--font-sans) !important;
  font-size: clamp(1rem, 1.8vw, 1.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  color: rgba(242, 250, 249, 0.8) !important;
  margin: 0 !important;
  max-width: 520px;
}

.hero-premium-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.geometric-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 440px;
  height: 520px;
  position: relative;
  direction: ltr !important;
}

.grid-cell {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.grid-cell:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.25);
  z-index: 10;
}

.grid-cell img {
  position: absolute;
  width: calc(200% + 20px);
  height: calc(300% + 40px);
  max-width: none !important;
  object-fit: cover;
  pointer-events: none;
}

.cell-1-1 { border-radius: 120px 0 120px 0; }
.cell-1-1 img { top: 0; left: 0; }

.cell-1-2 { border-radius: 0 120px 0 120px; }
.cell-1-2 img { top: 0; left: calc(-100% - 20px); }

.cell-2-1 { border-radius: 0 120px 0 120px; }
.cell-2-1 img { top: calc(-100% - 20px); left: 0; }

.cell-2-2 { border-radius: 120px 0 120px 0; }
.cell-2-2 img { top: calc(-100% - 20px); left: calc(-100% - 20px); }

.cell-3-1 { border-radius: 0 120px 0 120px; }
.cell-3-1 img { top: calc(-200% - 40px); left: 0; }

.cell-3-2 { border-radius: 120px 0 120px 0; }
.cell-3-2 img { top: calc(-200% - 40px); left: calc(-100% - 20px); }

/* 7. Non-Homepage Layout Fix (Account for Fixed Header) */
body:not(.home-page) {
  padding-top: 86px !important;
}

/* 8. Responsive Rules */
@media (max-width: 991px) {
  .hero-premium-container {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 20px;
  }
  .hero-premium-copy {
    align-items: center;
    text-align: center;
  }
  [dir="rtl"] .hero-premium-copy {
    align-items: center;
    text-align: center;
  }
  .hero-premium-desc {
    max-width: 600px;
  }
  .geometric-grid-wrapper {
    height: 460px;
    max-width: 390px;
    margin: 0 auto;
  }
}

/* Compact Desktop scaling (1200px - 1350px) to prevent wrapping */
@media (min-width: 1200px) and (max-width: 1350px) {
  .premium-header .nav-list {
    gap: 12px !important;
  }
  .premium-header .nav-link {
    font-size: 0.88rem !important;
    padding: 6px 8px !important;
  }
  .premium-header .nav-cta {
    gap: 10px !important;
  }
  .premium-header .cta-group {
    gap: 8px !important;
  }
  .premium-header .header-btn-primary,
  .premium-header .header-btn-secondary {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 1199px) {
  .premium-header {
    height: 86px !important;
  }
  .premium-header .site-nav {
    display: none !important;
  }
  .premium-header .nav-cta .cta-group {
    display: none !important;
  }
  .premium-header .header-divider,
  .premium-header .header-search-btn {
    display: none !important;
  }
  
  /* Show hamburger button */
  .premium-header .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    order: 3 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  
  .premium-header .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
  }

  .premium-header .nav-toggle svg {
    width: 20px !important;
    height: 20px !important;
  }

  }

@media (max-width: 480px) {
  .hero-premium-section {
    padding: 120px 0 60px;
  }
  .hero-premium-title {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.05 !important;
  }
  .geometric-grid-wrapper {
    height: 380px;
    max-width: 320px;
    gap: 12px;
  }
  .grid-cell img {
    width: calc(200% + 12px);
    height: calc(300% + 24px);
  }
  .cell-1-2 img, .cell-2-2 img, .cell-3-2 img {
    left: calc(-100% - 12px);
  }
  .cell-2-1 img, .cell-2-2 img {
    top: calc(-100% - 12px);
  }
  .cell-3-1 img, .cell-3-2 img {
    top: calc(-200% - 24px);
  }
  .cell-1-1, .cell-1-2, .cell-2-1, .cell-2-2, .cell-3-1, .cell-3-2 {
    border-radius: 80px 0 80px 0;
  }
  .cell-1-2, .cell-2-1, .cell-3-1 {
    border-radius: 0 80px 0 80px;
  }
}

/* ========================================================================== 
   Lead Minds reference-art direction (July 2026)
   Visual-only overrides: all existing content and navigation remain intact.
   ========================================================================== */

html[dir="rtl"] body {
  --font-display: "IBM Plex Sans Arabic", sans-serif;
  --font-headings: "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;
  --font-sans: "IBM Plex Sans Arabic", sans-serif;
  font-family: var(--font-sans);
}

html[dir="ltr"] body {
  --font-display: "Climate Crisis", "Genos", sans-serif;
  --font-headings: "Genos", sans-serif;
  --font-body: "Genos", sans-serif;
  --font-sans: "Genos", sans-serif;
  font-family: var(--font-sans);
}

body.home-page .site-header.premium-header {
  height: 92px !important;
  background: rgba(13, 66, 64, 0.16) !important;
  border-bottom-color: rgba(255, 224, 119, 0.2) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

body.home-page .site-header.premium-header.scrolled {
  background: rgba(16, 66, 64, 0.92) !important;
  border-bottom-color: rgba(255, 224, 119, 0.26) !important;
  box-shadow: 0 12px 35px rgba(7, 43, 42, 0.24) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
}

body.home-page .premium-header .header-shell {
  max-width: 1480px !important;
  padding-inline: clamp(22px, 4vw, 68px) !important;
}

body.home-page .premium-header .brand-saas img {
  height: 52px !important;
  filter: drop-shadow(0 8px 18px rgba(7, 42, 41, 0.18));
}

body.home-page .premium-header .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 12px rgba(7, 40, 39, 0.18);
}

body.home-page .premium-header .nav-link::after {
  background: #ffd25c !important;
}

body.home-page .premium-header .header-btn-primary {
  background: #176b68 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 9px 24px rgba(9, 65, 62, 0.28) !important;
}

.hero-premium-section {
  min-height: max(760px, 100svh);
  padding: 132px 0 72px;
  background-color: #db7a58;
  background-image:
    radial-gradient(circle at 9% 78%, rgba(18, 91, 87, 0.98) 0 12%, transparent 42%),
    radial-gradient(circle at 24% 28%, rgba(24, 92, 89, 0.82) 0, transparent 30%),
    radial-gradient(circle at 52% 48%, rgba(255, 109, 71, 0.94) 0, transparent 35%),
    radial-gradient(circle at 78% 20%, rgba(255, 194, 66, 0.98) 0, transparent 38%),
    radial-gradient(circle at 98% 70%, rgba(107, 180, 149, 0.94) 0, transparent 34%),
    linear-gradient(105deg, #176b68 0%, #e87558 46%, #ffc247 72%, #72b598 100%);
}

.hero-premium-section::before {
  background-image:
    linear-gradient(rgba(255, 211, 91, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 211, 91, 0.2) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg width='720' height='720' viewBox='0 0 720 720' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23F9D45D' stroke-opacity='.34' stroke-width='1'%3E%3Cpath d='M0 0h180v180H0zM180 0h180v180c0 99.4-80.6 180-180 180V0ZM360 0h180v180c0 99.4-80.6 180-180 180V0ZM540 0h180v180H540z'/%3E%3Cpath d='M0 360h180v180C80.6 540 0 459.4 0 360ZM180 360h180v180H180zM360 360h180v180c-99.4 0-180-80.6-180-180ZM540 360h180v180H540z'/%3E%3Cpath d='M0 180c99.4 0 180 80.6 180 180H0V180ZM180 180h180c0 99.4-80.6 180-180 180V180ZM540 180h180v180c-99.4 0-180-80.6-180-180Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px, 180px 180px, 720px 720px;
  background-position: center;
  opacity: 0.66;
  mix-blend-mode: soft-light;
}

.hero-premium-section::after {
  opacity: 0.62;
  mix-blend-mode: soft-light;
}

.hero-premium-container {
  width: min(1480px, calc(100% - 64px));
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  gap: clamp(40px, 5vw, 92px);
}

.hero-premium-copy {
  position: relative;
  z-index: 3;
}

.hero-premium-copy .eyebrow {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(12, 77, 74, 0.18) !important;
  backdrop-filter: blur(8px);
}

.hero-premium-title {
  font-size: clamp(4.5rem, 8.4vw, 8.7rem) !important;
  line-height: 0.79 !important;
  letter-spacing: -0.065em !important;
  margin-bottom: 34px !important;
  text-shadow: 0 12px 36px rgba(7, 52, 50, 0.16);
}

.hero-rotating-title {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 2.05em;
  font-family: "Genos", "IBM Plex Sans Arabic", sans-serif !important;
  font-size: clamp(3.4rem, 6.4vw, 7rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  text-transform: none;
}

html[dir="rtl"] .hero-rotating-title {
  font-family: "IBM Plex Sans Arabic", "Genos", sans-serif !important;
  letter-spacing: 0 !important;
}

.hero-rotating-title [data-slogan-text] {
  display: inline !important;
  max-width: 100%;
  padding-bottom: 0.08em;
  background: linear-gradient(110deg, #ffffff 0 40%, #d8fff8 72%, #67c8bd 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  overflow-wrap: anywhere;
}

.typing-cursor {
  display: inline-block !important;
  flex: 0 0 auto;
  width: 0.055em;
  height: 0.78em;
  margin-inline-start: 0.08em;
  margin-bottom: 0.12em;
  border-radius: 999px;
  background: #fff3c1 !important;
  -webkit-text-fill-color: initial !important;
  animation: lm-cursor-blink 0.78s steps(1) infinite;
}

@keyframes lm-cursor-blink {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typing-cursor { animation: none; }
}

.hero-premium-title span {
  padding-bottom: 0.09em;
  background: linear-gradient(110deg, #ffffff 0 38%, #c9f3ec 72%, #65c4ba 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.hero-premium-desc {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: clamp(1.04rem, 1.4vw, 1.28rem) !important;
  font-weight: 500 !important;
  font-style: italic;
  line-height: 1.7 !important;
  text-shadow: 0 3px 16px rgba(8, 54, 52, 0.22);
}

.hero-premium-visual {
  position: relative;
  isolation: isolate;
}

.hero-premium-visual::before {
  content: "";
  position: absolute;
  inset: 5% -3% -2% 6%;
  border: 1px solid rgba(255, 222, 105, 0.38);
  border-radius: 48% 0 46% 0;
  transform: rotate(1deg);
  z-index: -1;
}

.geometric-grid-wrapper {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  width: min(100%, 700px);
  max-width: 700px;
  height: clamp(500px, 65vh, 680px);
}

.grid-cell {
  border: 0;
  background: rgba(255, 211, 76, 0.3);
  box-shadow: 0 20px 50px rgba(8, 58, 56, 0.16);
}

.grid-cell img {
  width: calc(300% + 28px);
  height: calc(200% + 14px);
  object-position: center center;
  filter: saturate(1.08) contrast(1.03) brightness(1.04);
}

.cell-1-1 { border-radius: 140px 0 0 0; }
.cell-1-1 img { top: 0; left: 0; }
.cell-1-2 { border-radius: 0 0 140px 0; }
.cell-1-2 img { top: 0; left: calc(-100% - 14px); }
.cell-2-1 { border-radius: 0 140px 0 0; }
.cell-2-1 img { top: 0; left: calc(-200% - 28px); }
.cell-2-2 { border-radius: 0 0 0 140px; }
.cell-2-2 img { top: calc(-100% - 14px); left: 0; }
.cell-3-1 { border-radius: 140px 0 0 0; }
.cell-3-1 img { top: calc(-100% - 14px); left: calc(-100% - 14px); }
.cell-3-2 { border-radius: 0 0 140px 0; }
.cell-3-2 img { top: calc(-100% - 14px); left: calc(-200% - 28px); }

.grid-overlay-svg {
  display: none;
}

@media (max-width: 1199px) {
  body.home-page .site-header.premium-header {
    height: 80px !important;
  }

  .hero-premium-container {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    width: min(100% - 40px, 1060px);
    gap: 34px;
  }

  .hero-premium-title {
    font-size: clamp(4rem, 9vw, 6.5rem) !important;
  }

  .geometric-grid-wrapper {
    height: 520px;
  }
}

@media (max-width: 900px) {
  .hero-premium-section {
    padding: 122px 0 70px;
  }

  .hero-premium-container {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 720px);
  }

  .hero-premium-copy,
  [dir="rtl"] .hero-premium-copy {
    align-items: flex-start;
    text-align: start;
  }

  .hero-premium-title {
    font-size: clamp(4.1rem, 16vw, 7rem) !important;
  }

  .geometric-grid-wrapper {
    width: min(100%, 620px);
    height: min(76vw, 590px);
  }
}

@media (max-width: 560px) {
  body.home-page .premium-header .brand-saas img {
    height: 44px !important;
  }

  .hero-premium-container {
    width: min(100% - 28px, 520px);
  }

  .hero-premium-title {
    font-size: clamp(3.45rem, 18vw, 5rem) !important;
    margin-bottom: 24px !important;
  }

  .hero-premium-desc {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .geometric-grid-wrapper {
    gap: 8px;
    height: min(90vw, 470px);
  }

  .grid-cell img {
    width: calc(300% + 16px);
    height: calc(200% + 8px);
  }

  .cell-1-2 img,
  .cell-3-1 img { left: calc(-100% - 8px); }
  .cell-2-1 img,
  .cell-3-2 img { left: calc(-200% - 16px); }
  .cell-2-2 img,
  .cell-3-1 img,
  .cell-3-2 img { top: calc(-100% - 8px); }
}

/* ========================================================================== 
   Unified six-piece brand artwork
   The same crop, geometry and image are used on every page.
   ========================================================================== */

.brand-artwork {
  --art-gap: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--art-gap);
  width: 100%;
  height: 100%;
  min-height: 420px;
  direction: ltr !important;
  isolation: isolate;
}

.brand-artwork__cell {
  position: relative;
  overflow: hidden;
  display: block;
  background-image: url("../images/hero-art/brand-cells.jpg");
  background-repeat: no-repeat;
  background-size: calc(300% + (var(--art-gap) * 2)) calc(200% + var(--art-gap));
  box-shadow: 0 18px 44px rgba(8, 47, 46, 0.15);
}

.brand-artwork__cell--1 {
  border-radius: 50% 0 0 0;
  background-position: left top;
}

.brand-artwork__cell--2 {
  border-radius: 0 0 50% 0;
  background-position: center top;
}

.brand-artwork__cell--3 {
  border-radius: 50% 0 0 0;
  background-position: right top;
}

.brand-artwork__cell--4 {
  border-radius: 0 0 50% 0;
  background-position: left bottom;
}

.brand-artwork__cell--5 {
  border-radius: 50% 0 0 0;
  background-position: center bottom;
}

.brand-artwork__cell--6 {
  border-radius: 0 0 50% 0;
  background-position: right bottom;
}

.page-hero-media.page-hero-media--brand-artwork {
  min-height: clamp(420px, 43vw, 650px) !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.page-hero-media.page-hero-media--brand-artwork::after {
  display: none !important;
}

.brand-artwork--content {
  width: min(100%, 720px);
  height: clamp(420px, 52vw, 650px);
  margin: 0 auto 28px;
}

/* Normalize the homepage artwork to the exact same six-piece geometry. */
.hero-premium-visual .geometric-grid-wrapper {
  --art-gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--art-gap) !important;
}

.hero-premium-visual .grid-cell {
  border: 0 !important;
  box-shadow: 0 18px 44px rgba(8, 47, 46, 0.15) !important;
}

.hero-premium-visual .grid-cell img {
  width: calc(300% + (var(--art-gap) * 2)) !important;
  height: calc(200% + var(--art-gap)) !important;
  max-width: none !important;
  object-fit: cover !important;
}

.hero-premium-visual .cell-1-1 {
  border-radius: 50% 0 0 0 !important;
}

.hero-premium-visual .cell-1-1 img {
  inset: 0 auto auto 0 !important;
}

.hero-premium-visual .cell-1-2 {
  border-radius: 0 0 50% 0 !important;
}

.hero-premium-visual .cell-1-2 img {
  top: 0 !important;
  left: calc(-100% - var(--art-gap)) !important;
}

.hero-premium-visual .cell-2-1 {
  border-radius: 50% 0 0 0 !important;
}

.hero-premium-visual .cell-2-1 img {
  top: 0 !important;
  left: calc(-200% - (var(--art-gap) * 2)) !important;
}

.hero-premium-visual .cell-2-2 {
  border-radius: 0 0 50% 0 !important;
}

.hero-premium-visual .cell-2-2 img {
  top: calc(-100% - var(--art-gap)) !important;
  left: 0 !important;
}

.hero-premium-visual .cell-3-1 {
  border-radius: 50% 0 0 0 !important;
}

.hero-premium-visual .cell-3-1 img {
  top: calc(-100% - var(--art-gap)) !important;
  left: calc(-100% - var(--art-gap)) !important;
}

.hero-premium-visual .cell-3-2 {
  border-radius: 0 0 50% 0 !important;
}

.hero-premium-visual .cell-3-2 img {
  top: calc(-100% - var(--art-gap)) !important;
  left: calc(-200% - (var(--art-gap) * 2)) !important;
}

@media (max-width: 560px) {
  .brand-artwork,
  .hero-premium-visual .geometric-grid-wrapper {
    --art-gap: 8px;
  }

  .brand-artwork {
    min-height: 330px;
  }

  .page-hero-media.page-hero-media--brand-artwork {
    min-height: min(110vw, 480px) !important;
  }

  .brand-artwork--content {
    height: min(110vw, 480px);
    min-height: 330px;
  }
}

/* ========================================================================== 
   Site-wide Lead Minds visual system
   Applies the final hero art direction, local typography and component finish
   to every page without altering page content.
   ========================================================================== */

:root {
  --lm-teal-950: #082f2e;
  --lm-teal-900: #0d4543;
  --lm-teal-700: #176b68;
  --lm-teal-500: #41a5a5;
  --lm-coral: #f27357;
  --lm-gold: #faba3d;
  --lm-mint: #78b299;
  --lm-cream: #fffaf0;
  --lm-ink: #103535;
  --lm-radius-lg: 30px;
  --lm-radius-md: 22px;
  --lm-shadow: 0 22px 60px rgba(16, 83, 80, 0.12);
}

html[dir="rtl"] :is(h1, h2, h3, h4, h5, h6, .button, .eyebrow, .nav-link) {
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
}

html[dir="ltr"] :is(h1, h2, h3, h4, h5, h6, .button, .eyebrow, .nav-link) {
  font-family: "Genos", sans-serif !important;
}

body:not(.home-page) {
  background:
    radial-gradient(circle at 0 8%, rgba(120, 178, 153, 0.14), transparent 25rem),
    linear-gradient(180deg, #f9fbf8 0%, #fffaf1 100%);
}

body:not(.home-page) .site-header.premium-header {
  background: rgba(13, 69, 67, 0.95) !important;
  border-bottom: 1px solid rgba(250, 186, 61, 0.25) !important;
  box-shadow: 0 10px 34px rgba(8, 47, 46, 0.18) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
}

body:not(.home-page) .premium-header .header-shell {
  max-width: 1480px !important;
  padding-inline: clamp(22px, 4vw, 68px) !important;
}

body:not(.home-page) .premium-header .brand-saas img {
  height: 48px !important;
}

.premium-header .header-btn-primary {
  background: var(--lm-coral) !important;
  border: 1px solid transparent !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 100px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  min-height: auto !important;
  box-shadow: 0 8px 22px rgba(242, 115, 87, 0.28) !important;
}

body:not(.home-page) .premium-header .nav-link::after {
  background: var(--lm-gold) !important;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(72px, 9vw, 120px) 0 !important;
  color: #fff;
  background:
    radial-gradient(circle at 8% 72%, rgba(15, 92, 88, 0.96) 0, transparent 35%),
    radial-gradient(circle at 49% 45%, rgba(242, 115, 87, 0.96) 0, transparent 38%),
    radial-gradient(circle at 78% 16%, rgba(250, 186, 61, 0.98) 0, transparent 40%),
    radial-gradient(circle at 100% 78%, rgba(120, 178, 153, 0.94) 0, transparent 35%),
    linear-gradient(110deg, #176b68, #f27357 48%, #faba3d 74%, #78b299);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 222, 96, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 222, 96, 0.18) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg width='720' height='720' viewBox='0 0 720 720' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23FFE06B' stroke-opacity='.35'%3E%3Cpath d='M0 0h180v180H0zM180 0h180v180c0 99-81 180-180 180V0ZM360 0h180v180c0 99-81 180-180 180V0ZM540 0h180v180H540zM0 360h180v180C81 540 0 459 0 360ZM180 360h180v180H180zM360 360h180v180c-99 0-180-81-180-180ZM540 360h180v180H540zM0 180c99 0 180 81 180 180H0V180ZM180 180h180c0 99-81 180-180 180V180ZM540 180h180v180c-99 0-180-81-180-180Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px, 180px 180px, 720px 720px;
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  align-items: center;
  gap: clamp(32px, 6vw, 88px) !important;
}

.page-hero-copy {
  color: #fff;
}

.page-hero-copy :is(h1, h2, h3, p) {
  color: #fff !important;
  text-shadow: 0 5px 24px rgba(8, 47, 46, 0.16);
}

.page-hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 6.6rem) !important;
  line-height: 0.98 !important;
}

.page-hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.page-hero .eyebrow {
  color: #fff !important;
  background: rgba(13, 69, 67, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(8px);
}

.page-hero-media {
  position: relative;
  min-height: clamp(300px, 38vw, 520px) !important;
  border: 12px solid rgba(250, 186, 61, 0.78);
  border-radius: 48% 0 48% 0 !important;
  box-shadow: 0 28px 70px rgba(8, 47, 46, 0.24);
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 31% -12px auto -12px;
  height: 12px;
  background: rgba(250, 186, 61, 0.9);
  box-shadow: 0 128px 0 rgba(250, 186, 61, 0.9);
  pointer-events: none;
}

.page-hero-media img {
  border-radius: inherit !important;
  filter: saturate(1.08) contrast(1.03);
}

main > .section {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px) !important;
}

main > .section:nth-of-type(even) {
  background:
    radial-gradient(circle at 90% 10%, rgba(250, 186, 61, 0.09), transparent 22rem),
    rgba(255, 255, 255, 0.72);
}

main > .section:nth-of-type(odd):not(.page-hero):not(.hero-premium-section) {
  background:
    radial-gradient(circle at 6% 90%, rgba(65, 165, 165, 0.09), transparent 24rem),
    rgba(255, 250, 240, 0.68);
}

.section-head {
  gap: 1rem !important;
}

.section-head h2 {
  color: var(--lm-ink);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.08 !important;
}

.section-head p {
  line-height: 1.85;
}

.eyebrow {
  width: fit-content;
  color: var(--lm-teal-700) !important;
  border: 1px solid rgba(23, 107, 104, 0.18) !important;
  background: rgba(65, 165, 165, 0.09) !important;
  border-radius: 999px !important;
  padding: 0.55rem 0.9rem !important;
  font-weight: 700 !important;
}

.section-head-center .eyebrow {
  margin-inline: auto;
}

.cards-grid {
  gap: clamp(18px, 2.5vw, 32px) !important;
}

:is(.card, .contact-panel, .cta-box, .post-article, .course-outline, .stat, .stats-card) {
  border: 1px solid rgba(23, 107, 104, 0.1) !important;
  border-radius: var(--lm-radius-lg) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: var(--lm-shadow) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

:is(.card, .contact-panel, .cta-box, .post-article, .course-outline) {
  padding: clamp(22px, 3vw, 40px) !important;
}

.dynamic-card {
  position: relative;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease !important;
}

.dynamic-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--lm-teal-500), var(--lm-gold), var(--lm-coral));
  opacity: 0.85;
}

[dir="rtl"] .dynamic-card::before {
  inset: 0 0 0 auto;
}

.dynamic-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(23, 107, 104, 0.2) !important;
  box-shadow: 0 30px 76px rgba(16, 83, 80, 0.18) !important;
}

:is(.card, .story-card, .service-detail-card) > img {
  border-radius: 22px 0 22px 0 !important;
}

.service-detail-card > img {
  min-height: 230px !important;
  max-height: 290px;
}

.mini-chip-row span,
.contact-chip,
.hero-trust-item {
  border: 1px solid rgba(23, 107, 104, 0.14) !important;
  background: rgba(65, 165, 165, 0.08) !important;
  color: var(--lm-teal-900) !important;
}

.stat {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.stat::after {
  content: "";
  position: absolute;
  inset: auto -15% -65% 25%;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(250, 186, 61, 0.22), rgba(242, 115, 87, 0.16));
}

.stat strong,
.stats-card strong {
  color: var(--lm-coral) !important;
  font-size: clamp(2.1rem, 4vw, 3.5rem) !important;
}

.split-showcase {
  align-items: center;
  gap: clamp(32px, 6vw, 84px) !important;
}

.industry-list {
  gap: 14px !important;
}

.industry-list article {
  padding: 22px !important;
  border: 1px solid rgba(23, 107, 104, 0.1) !important;
  border-radius: var(--lm-radius-md) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 16px 42px rgba(16, 83, 80, 0.09);
}

.button {
  border-radius: 999px !important;
  font-weight: 700 !important;
  min-height: 48px;
  padding-inline: 1.35rem !important;
}

.button-primary {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(110deg, var(--lm-teal-700), var(--lm-teal-500)) !important;
  box-shadow: 0 10px 28px rgba(23, 107, 104, 0.24) !important;
}

.button-primary:hover {
  background: linear-gradient(110deg, var(--lm-coral), #f58c70) !important;
  box-shadow: 0 14px 34px rgba(242, 115, 87, 0.28) !important;
}

.cta-box,
.homepage-cta {
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(250, 186, 61, 0.42), transparent 30%),
    linear-gradient(120deg, var(--lm-teal-950), var(--lm-teal-700)) !important;
  border-color: rgba(250, 186, 61, 0.24) !important;
}

.cta-box :is(h1, h2, h3, p),
.homepage-cta :is(h1, h2, h3, p) {
  color: #fff !important;
}

.cta-box .eyebrow,
.homepage-cta .eyebrow {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.input,
.select,
.textarea {
  min-height: 52px;
  border: 1px solid rgba(23, 107, 104, 0.14) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--font-sans) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 3px solid rgba(65, 165, 165, 0.16) !important;
  border-color: var(--lm-teal-500) !important;
}

.post-article {
  max-width: 980px;
  margin-inline: auto;
}

.post-cover,
.course-cover {
  border-radius: 28px 0 28px 0 !important;
}

.post-body {
  font-size: 1.08rem !important;
  line-height: 1.95 !important;
}

.footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82) !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(65, 165, 165, 0.24), transparent 24rem),
    radial-gradient(circle at 85% 100%, rgba(242, 115, 87, 0.18), transparent 24rem),
    var(--lm-teal-950) !important;
  border-top: 1px solid rgba(250, 186, 61, 0.24) !important;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(250, 186, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 186, 61, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-shell {
  padding-block: clamp(44px, 6vw, 76px) !important;
}

.footer-summary strong {
  color: #fff !important;
  font-family: "Climate Crisis", "Genos", "IBM Plex Sans Arabic", sans-serif !important;
  font-size: clamp(1.55rem, 3vw, 2.4rem) !important;
}

.footer-inline-links a {
  color: rgba(255, 255, 255, 0.78) !important;
}

.footer-inline-links a:hover {
  color: var(--lm-gold) !important;
}

[data-theme="dark"] main > .section:nth-of-type(n) {
  background: rgba(8, 25, 25, 0.78);
}

[data-theme="dark"] :is(.card, .contact-panel, .post-article, .course-outline, .stat, .stats-card, .industry-list article) {
  color: var(--text);
  background: rgba(15, 38, 38, 0.9) !important;
  border-color: rgba(120, 178, 153, 0.16) !important;
}

[data-theme="dark"] .section-head h2,
[data-theme="dark"] :is(.card, .post-article, .course-outline, .industry-list article) :is(h2, h3, h4) {
  color: #f2faf9 !important;
}

@media (max-width: 900px) {
  .page-hero {
    min-height: auto;
    padding-block: 72px !important;
  }

  .page-hero-media {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .page-hero-copy {
    text-align: start !important;
  }
}

@media (max-width: 560px) {
  body:not(.home-page) {
    padding-top: 80px !important;
  }

  body:not(.home-page) .site-header.premium-header {
    height: 80px !important;
  }

  .page-hero {
    padding-block: 54px !important;
  }

  .page-hero-copy h1 {
    font-size: clamp(2.5rem, 13vw, 4.3rem) !important;
  }

  .page-hero-media {
    min-height: 280px !important;
    border-width: 8px;
  }

  .page-hero-media::after {
    inset-inline: -8px;
    height: 8px;
    box-shadow: 0 92px 0 rgba(250, 186, 61, 0.9);
  }

  main > .section {
    padding-block: 58px !important;
  }

  :is(.card, .contact-panel, .cta-box, .post-article, .course-outline) {
    padding: 22px !important;
    border-radius: 22px !important;
  }
}










/* ==========================================================================
   Premium Mobile Drawer, Header, & Cards Optimization (Antigravity Redesign)
   ========================================================================== */

/* Prevent body scroll when drawer is open */
body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Disable header containing block and force max z-index when drawer is open */
body.drawer-open .site-header,
body.drawer-open .site-header.premium-header,
body.drawer-open .site-header.premium-header.scrolled {
  z-index: 999999 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  transform: none !important;
}

/* Premium Mobile Drawer overlay */
.premium-header .site-nav.site-nav-saas {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: block !important;
  background: rgba(8, 25, 25, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 300ms ease, visibility 300ms ease !important;
  padding: 0 !important;
  transform: none !important;
  overflow: hidden !important;
}

.premium-header .site-nav.site-nav-saas.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Right Side Drawer Panel - Full Screen Dark Brand Green */
.premium-header .site-nav.site-nav-saas .nav-panel {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #0d2121 !important; /* Brand Dark Green */
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 1.5rem !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  transform: translateX(100%) !important;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: auto !important;
  gap: 0.75rem !important;
  z-index: 999999 !important;
}

.premium-header .site-nav.site-nav-saas.open .nav-panel {
  transform: translateX(0) !important;
}

/* Mobile Drawer Header */
.premium-header .site-nav.site-nav-saas .drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 0.25rem !important;
  width: 100% !important;
  flex-shrink: 0 !important;
}

.premium-header .site-nav.site-nav-saas .drawer-header .brand-img {
  max-height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.premium-header .site-nav.site-nav-saas .drawer-close-btn {
  position: fixed !important;
  top: 20px !important;
  left: 20px !important;
  right: auto !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important; /* Always white on dark overlay background! */
  cursor: pointer !important;
  padding: 0 !important;
  border-radius: 50% !important;
  z-index: 100000 !important;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease !important;
}

.premium-header .site-nav.site-nav-saas .drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: rotate(90deg) !important;
}

/* Drawer Content */
.premium-header .site-nav.site-nav-saas .drawer-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  overflow-x: visible !important; /* Allow full text */
  width: 100% !important;
}

/* Navigation container */
.premium-header .site-nav.site-nav-saas .navigation-container {
  overflow-x: visible !important; /* Allow full text */
  width: 100% !important;
}

/* Mobile Navigation List inside Drawer */
.premium-header .site-nav.site-nav-saas .nav-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow-x: hidden !important;
}

.premium-header .site-nav.site-nav-saas .nav-item {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: stretch !important;
  flex-direction: column !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 0.15rem !important;
}

.premium-header .site-nav.site-nav-saas .nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0.45rem 0.5rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important; /* Always light text */
  text-decoration: none !important;
  transition: background 200ms ease, color 200ms ease !important;
  border-radius: 0.5rem !important;
}

/* Hide dot indicator on mobile drawer link */
.premium-header .site-nav.site-nav-saas .nav-link::after {
  content: none !important;
  display: none !important;
}

.premium-header .site-nav.site-nav-saas .nav-link:hover,
.premium-header .site-nav.site-nav-saas .nav-link.is-active {
  color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Dropdown Accordion Toggle */
.premium-header .site-nav.site-nav-saas .nav-dropdown-toggle {
  cursor: pointer !important;
}

.premium-header .site-nav.site-nav-saas .nav-dropdown-caret {
  font-size: 0.75rem !important;
  margin-inline-start: auto !important;
  transition: transform 250ms ease !important;
  display: inline-block !important;
}

.premium-header .site-nav.site-nav-saas .nav-item-dropdown.open .nav-dropdown-caret {
  transform: rotate(180deg) !important;
}

/* Submenu Accordion */
.premium-header .site-nav.site-nav-saas .nav-dropdown-menu {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: visible !important;
  background: rgba(0, 0, 0, 0.2) !important; /* Dark menu background */
  border: none !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: max-height 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease, padding 300ms ease !important;
}

.premium-header .site-nav.site-nav-saas .nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1 !important;
  max-height: 2500px !important;
  padding: 0.35rem !important;
  margin-top: 0.15rem !important;
  margin-bottom: 0.25rem !important;
}

.premium-header .site-nav.site-nav-saas .nav-dropdown-link {
  display: block !important;
  padding: 0.45rem 0.75rem !important;
  border-radius: 0.35rem !important;
  color: rgba(255, 255, 255, 0.8) !important; /* Light text */
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-align: right !important;
  transition: background 200ms ease, color 200ms ease !important;
}

[dir="ltr"] .premium-header .site-nav.site-nav-saas .nav-dropdown-link {
  text-align: left !important;
}

.premium-header .site-nav.site-nav-saas .nav-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* CTA Group Area inside Drawer */
.premium-header .site-nav.site-nav-saas .drawer-cta-group {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.premium-header .site-nav.site-nav-saas .drawer-cta-group .button {
  width: 100% !important;
  max-width: 280px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 1.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(31, 122, 114, 0.15) !important;
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease !important;
}

.premium-header .site-nav.site-nav-saas .drawer-cta-group .button-primary {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
}

.premium-header .site-nav.site-nav-saas .drawer-cta-group .button-primary:hover {
  background: var(--primary-2) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(31, 122, 114, 0.3) !important;
}

.premium-header .site-nav.site-nav-saas .drawer-cta-group .button-secondary {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
}

.premium-header .site-nav.site-nav-saas .drawer-cta-group .button-secondary:hover {
  background: rgba(16, 53, 53, 0.04) !important;
}

/* Drawer Footer Section below CTA */
.premium-header .site-nav.site-nav-saas .drawer-footer-bottom {
  margin-top: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  width: 100% !important;
  flex-shrink: 0 !important;
}

.premium-header .site-nav.site-nav-saas .drawer-lang-switcher {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.premium-header .site-nav.site-nav-saas .drawer-lang-switcher a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 200ms ease !important;
}

.premium-header .site-nav.site-nav-saas .drawer-lang-switcher a.active-lang {
  color: var(--primary) !important;
}

.premium-header .site-nav.site-nav-saas .drawer-lang-switcher a:hover {
  color: var(--primary) !important;
}

.premium-header .site-nav.site-nav-saas .drawer-lang-switcher .lang-divider {
  color: rgba(255, 255, 255, 0.15) !important;
}

.premium-header .site-nav.site-nav-saas .drawer-theme-toggle {
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
}

/* ==========================================
   Desktop Navigation Above 1199px Breakpoint
   ========================================== */
@media (min-width: 1200px) {
  .site-header.premium-header {
    height: 86px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .site-header.premium-header .container.header-shell {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: min(1280px, calc(100% - 2.5rem)) !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important;
    padding: 0 20px !important;
  }

  .brand.brand-saas {
    flex-shrink: 0 !important;
  }

  .premium-header .site-nav.site-nav-saas {
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .premium-header .site-nav.site-nav-saas .nav-panel {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
    gap: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }

  .premium-header .site-nav.site-nav-saas .drawer-content,
  .premium-header .site-nav.site-nav-saas .navigation-container {
    display: contents !important; /* Renders child nav-list directly without wrapping styling */
  }

  .premium-header .site-nav.site-nav-saas .nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: clamp(0.15rem, 0.75vw, 0.8rem) !important; /* Slightly smaller gap to prevent desktop overlap */
    width: auto !important;
    overflow: visible !important;
  }

  .premium-header .site-nav.site-nav-saas .nav-item {
    width: auto !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .premium-header .site-nav.site-nav-saas .nav-link {
    font-size: clamp(0.82rem, 0.95vw, 0.92rem) !important; /* Slightly smaller font size on desktop to prevent overlap */
    padding: 0.5rem clamp(0.3rem, 0.6vw, 0.6rem) !important; /* Smaller horizontal padding */
    white-space: nowrap !important;
  }

  .nav-cta.nav-cta-saas {
    display: flex !important;
    align-items: center !important;
    gap: clamp(0.5rem, 1vw, 1rem) !important;
    flex-shrink: 0 !important;
  }

  .nav-cta.nav-cta-saas .cta-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .nav-cta.nav-cta-saas .header-search-btn,
  .nav-cta.nav-cta-saas .header-divider {
    display: inline-flex !important;
  }

  .nav-cta.nav-cta-saas .header-utils {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .nav-toggle.nav-toggle-saas {
    display: none !important; /* Hide hamburger toggle on desktop! */
  }

  .premium-header .site-nav.site-nav-saas .nav-item-dropdown {
    position: relative !important;
  }

  .premium-header .site-nav.site-nav-saas .nav-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    z-index: 999999 !important;
    background: #0d2121 !important; /* Premium dark background for readability of white text */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
    min-width: 16rem !important;
    padding: 0.5rem !important;
    margin: 0 !important;
    overflow: visible !important;
    display: none !important; /* Hide by default on desktop to avoid layout hacks */
    opacity: 1 !important; /* Override mobile accordion opacity */
    max-height: none !important; /* Override mobile accordion max-height */
  }

  /* Support Hover to open dropdown on Desktop */
  .premium-header .site-nav.site-nav-saas .nav-item-dropdown:hover .nav-dropdown-menu {
    display: block !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 999999 !important;
  }

  .premium-header .site-nav.site-nav-saas .nav-item-dropdown.open .nav-dropdown-menu {
    display: block !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0.5rem !important; /* Keep desktop padding */
    z-index: 999999 !important;
  }

  .premium-header .site-nav.site-nav-saas .nav-dropdown-link {
    font-size: 0.9rem !important;
    text-align: right !important;
  }

  [dir="ltr"] .premium-header .site-nav.site-nav-saas .nav-dropdown-link {
    text-align: left !important;
  }

  .premium-header .site-nav.site-nav-saas .drawer-header,
  .premium-header .site-nav.site-nav-saas .drawer-cta-group,
  .premium-header .site-nav.site-nav-saas .drawer-footer-bottom {
    display: none !important;
  }
}

/* Supplied brand artwork behind every homepage founder portrait. */
.home-page .home-leadership-cards .team-img-container,
.home-page .home-leadership-layout .team-img-container {
  background-color: #123f3d !important;
  background-image: url("../images/hero-art/international-certifications-hero.png") !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.home-page .home-leadership-section::after {
  background-image: none !important;
}

/* Medium Desktop Spacing Optimization (992px - 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
  .premium-header .site-nav.site-nav-saas .nav-link {
    font-size: 0.82rem !important;
    padding: 0.4rem 0.5rem !important;
  }
  .premium-header .site-nav.site-nav-saas .nav-list {
    gap: 0.35rem !important;
  }
  .site-header .container.header-shell {
    gap: 0.5rem !important;
  }
  .nav-cta.nav-cta-saas {
    gap: 0.5rem !important;
  }
  .nav-cta.nav-cta-saas .cta-group {
    gap: 0.4rem !important;
  }
  .nav-cta.nav-cta-saas .button {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.82rem !important;
    min-height: 38px !important;
  }
}

/* ==========================================
   Mobile Header & Toggle Below 1200px Breakpoint
   ========================================== */
@media (max-width: 1199px) {
  .site-header .container.header-shell {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 60px !important;
    padding: 0 1rem !important;
  }

  .brand.brand-saas img {
    height: 32px !important;
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .nav-cta.nav-cta-saas {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    order: 3 !important;
  }

  .nav-cta.nav-cta-saas .cta-group,
  .nav-cta.nav-cta-saas .header-search-btn,
  .nav-cta.nav-cta-saas .header-divider {
    display: none !important;
  }

  .nav-cta.nav-cta-saas .header-utils {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .nav-toggle.nav-toggle-saas {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(16, 53, 53, 0.12) !important;
    background: var(--surface-strong) !important;
    color: var(--text) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
  }

  /* On transparent home page header before scroll, make toggle button semi-transparent white */
  body.home-page .site-header:not(.scrolled) .nav-toggle.nav-toggle-saas {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }

  .header-tool {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
  }
}

/* Keep the animated home headline inside the mobile viewport. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero-premium-section,
.hero-premium-container,
.hero-premium-copy,
.hero-rotating-title {
  min-width: 0;
  max-width: 100%;
}

.hero-rotating-title {
  display: block;
  width: 100%;
}

.hero-rotating-title [data-slogan-text] {
  display: inline !important;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-rotating-title .typing-cursor {
  display: inline-block !important;
}

@media (max-width: 767px) {
  .hero-premium-section {
    overflow: hidden;
  }

  .hero-premium-copy {
    width: 100%;
  }

  .hero-rotating-title {
    min-height: 3.3em;
    font-size: clamp(2.75rem, 13vw, 4.25rem) !important;
    line-height: 1.05 !important;
  }
}

/* English desktop header: logo | centered compact navigation | utility actions. */
@media (min-width: 992px) {

}

/* ==========================================
   Article Cards Layout Improvements
   ========================================== */
.cards-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1400px) {
  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Premium Card Design overrides */
.card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 1rem !important;
  border: 1px solid rgba(16, 53, 53, 0.06) !important;
  border-radius: 12px !important;
  background: var(--surface-strong) !important;
  box-shadow: 0 2px 12px rgba(8, 28, 32, 0.03) !important;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover {
  transform: translate3d(0, -4px, 0) !important;
  box-shadow: 0 12px 28px rgba(8, 28, 32, 0.08) !important;
  border-color: rgba(31, 122, 114, 0.15) !important;
}

.card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin-bottom: 0.65rem !important;
  flex-shrink: 0 !important;
}

.card h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0.25rem 0 0.5rem 0 !important;
  color: var(--text) !important;
}

.card p {
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  margin-bottom: 1rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-actions {
  margin-top: auto !important;
  padding-top: 0.25rem !important;
}

/* Premium Read Article Button Redesign */
.card-actions .button.button-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0.65rem 1.2rem !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border: 1.5px solid var(--primary) !important;
  background: transparent !important;
  color: var(--primary) !important;
  transition: all 200ms ease !important;
  position: relative !important;
}

.card-actions .button.button-secondary:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(31, 122, 114, 0.2) !important;
}

.card-actions .button.button-secondary::after {
  content: " \2192" !important;
  display: inline-block !important;
  margin-inline-start: 6px !important;
  transition: transform 200ms ease !important;
}

[dir="rtl"] .card-actions .button.button-secondary::after {
  content: " \2190" !important;
}

.card-actions .button.button-secondary:hover::after {
  transform: translateX(4px) !important;
}

[dir="rtl"] .card-actions .button.button-secondary:hover::after {
  transform: translateX(-4px) !important;
}

.card-actions .button.button-secondary:focus-visible {
  outline: 3px solid var(--secondary) !important;
  outline-offset: 2px !important;
}

.card-actions .button.button-secondary.loading {
  pointer-events: none !important;
  opacity: 0.6 !important;
}

.card-actions .button.button-secondary.loading::after {
  content: "" !important;
  width: 12px !important;
  height: 12px !important;
  border: 2px solid currentColor !important;
  border-right-color: transparent !important;
  border-radius: 50% !important;
  animation: button-spin 800ms linear infinite !important;
  margin-inline-start: 6px !important;
}

@keyframes button-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   About Page Cinematic Redesign (Revision 3)
   ========================================================================== */

/* Register custom properties for hardware-accelerated border rotation */
@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* Base keyframe animations */
@keyframes borderRotate {
  to {
    --border-angle: 360deg;
  }
}

@keyframes aboutCardBreath {
  0%, 100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.018) translate3d(0, -3px, 0);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) translate3d(0, 0, 0);
  }
  50% {
    transform: translateY(-5px) rotate(3deg) translate3d(0, 0, 0);
  }
}

/* Grids responsive layout scoping for About page */
.about-page .vision-mission-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  position: relative !important;
  gap: 0 !important;
}

.about-page .values-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2.2rem !important;
  max-width: 1200px !important;
  margin: 2.5rem auto 0 auto !important;
}

.about-page .why-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2.2rem !important;
  max-width: 1320px !important;
  margin: 2.5rem auto 0 auto !important;
}

@media (min-width: 768px) {
  .about-page .values-grid,
  .about-page .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 992px) {
  .about-page .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1200px) {
  .about-page .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Swap Wrapper for Vision & Mission stacking */
.about-page .swap-wrapper {
  grid-area: 1 / 1;
  width: 100%;
  will-change: transform, opacity;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.about-page .swap-wrapper.enter {
  opacity: 0;
  transform: translateX(100%) scale(0.96) translate3d(0, 0, 0);
  pointer-events: none;
  transition: none !important; /* Instant repositioning */
}

.about-page .swap-wrapper.active {
  opacity: 1;
  transform: translateX(0) scale(1) translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 2;
}

.about-page .swap-wrapper.exit {
  opacity: 0;
  transform: translateX(-100%) scale(0.95) translate3d(0, 0, 0);
  pointer-events: none;
  z-index: 1;
}

/* Premium Card Base Styles */
.about-page .about-card,
.home-page .about-card {
  --card-bg: rgba(255, 255, 255, 0.88);
  --border-glow-color: rgba(23, 107, 104, 0.15);
  
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  height: 100% !important;
  padding: clamp(24px, 4vw, 40px) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 32px rgba(8, 28, 32, 0.03),
              inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
  
  /* Dual background: inner area has solid mask, border area shows background */
  border: 1px solid transparent !important;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
              linear-gradient(135deg, rgba(23, 107, 104, 0.1), rgba(23, 107, 104, 0.02)) border-box !important;
              
  /* Hardware Acceleration */
  will-change: transform, opacity, box-shadow;
  transform-style: preserve-3d;
  
  /* Scroll-reveal default state: visible by default for progressive enhancement */
  opacity: 1;
  transform: none;
  
  /* Transition timings */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.6s ease,
              filter 0.6s ease !important;
              
  filter: saturate(1) !important;
}

/* Revealed scroll reveal class */
.about-page .about-card.reveal-init,
.home-page .about-card.reveal-init {
  opacity: 0;
  transform: translateY(40px) scale(0.96) translate3d(0, 0, 0);
}

.about-page .about-card.revealed,
.home-page .about-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1) translate3d(0, 0, 0);
}

/* Continuous breathing animation (only applied when revealed) */
.about-page .about-card.revealed:not(:hover),
.home-page .about-card.revealed:not(:hover) {
  animation: aboutCardBreath var(--breath-duration, 7.5s) ease-in-out var(--breath-delay, 0s) infinite;
}

/* Rotating border glow effect */
.about-page .about-card::before,
.home-page .about-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle, 0deg), 
                            transparent 70%, 
                            rgba(23, 107, 104, 0.15) 85%, 
                            rgba(197, 160, 89, 0.25) 95%, 
                            rgba(23, 107, 104, 0.15) 100%);
  z-index: -1;
  animation: borderRotate 12s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.about-page .about-card:hover::before,
.home-page .about-card:hover::before {
  opacity: 1;
}

/* Interactive cursor spotlight */
.about-page .about-card::after,
.home-page .about-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                              rgba(23, 107, 104, 0.08) 0%, 
                              transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.about-page .about-card:hover::after,
.home-page .about-card:hover::after {
  opacity: 1;
}

/* Premium Hover Interactions */
.about-page .about-card:hover,
.home-page .about-card:hover {
  border-color: transparent !important;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
              conic-gradient(from var(--border-angle, 0deg), 
                             rgba(23, 107, 104, 0.3) 0%, 
                             rgba(197, 160, 89, 0.4) 50%, 
                             rgba(23, 107, 104, 0.3) 100%) border-box !important;
  box-shadow: 0 20px 48px rgba(23, 107, 104, 0.16),
              0 0 30px rgba(23, 107, 104, 0.08) !important;
  filter: saturate(1.15) !important;
  
  /* Cursor 3D dynamic tilt will be applied via inline transform variables from JS */
  transform: translateY(-8px) scale(1.03) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translate3d(0, 0, 0) !important;
}

/* Icon Container & Float animation */
.about-page .card-icon-container,
.home-page .card-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(23, 107, 104, 0.06);
  color: var(--primary);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  align-self: flex-start;
  position: relative;
  z-index: 2;
  
  /* Independent floating */
  animation: iconFloat var(--icon-duration, 5.5s) ease-in-out var(--icon-delay, 0s) infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.about-page .about-card:hover .card-icon-container,
.home-page .about-card:hover .card-icon-container {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.12) rotate(5deg) translate3d(0, 0, 0);
  animation-play-state: paused;
}

.about-page .card-icon,
.home-page .card-icon {
  width: 28px;
  height: 28px;
  display: block;
}

/* Typography alignment */
.about-page .about-card h3,
.home-page .about-card h3 {
  font-family: var(--font-headings);
  font-size: clamp(1.2rem, 1.8vw, 1.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 0 1rem 0 !important;
  color: var(--text) !important;
  position: relative;
  z-index: 2;
  min-height: 3rem !important; /* Strict start-line alignment */
  display: flex;
  align-items: center;
}

.about-page .about-card p,
.home-page .about-card p {
  font-family: var(--font-sans);
  font-size: 0.94rem !important;
  line-height: 1.65 !important;
  color: var(--muted) !important;
  margin: 0 !important;
  text-align: justify !important; /* Perfect visual layout */
  flex-grow: 1 !important; /* Equal height filling */
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  text-overflow: unset !important;
  position: relative;
  z-index: 2;
}

/* Dark Mode Refinements */
[data-theme="dark"] .about-page .about-card,
[data-theme="dark"] .home-page .about-card {
  --card-bg: rgba(15, 38, 38, 0.82);
  border-color: transparent !important;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
              linear-gradient(135deg, rgba(120, 178, 153, 0.12), rgba(120, 178, 153, 0.03)) border-box !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45),
              inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .about-page .about-card::before,
[data-theme="dark"] .home-page .about-card::before {
  background: conic-gradient(from var(--border-angle, 0deg), 
                            transparent 70%, 
                            rgba(120, 178, 153, 0.2) 85%, 
                            rgba(197, 160, 89, 0.3) 95%, 
                            rgba(120, 178, 153, 0.2) 100%);
}

[data-theme="dark"] .about-page .about-card::after,
[data-theme="dark"] .home-page .about-card::after {
  background: radial-gradient(circle 220px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                              rgba(120, 178, 153, 0.12) 0%, 
                              transparent 80%);
}

[data-theme="dark"] .about-page .about-card:hover,
[data-theme="dark"] .home-page .about-card:hover {
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
              conic-gradient(from var(--border-angle, 0deg), 
                             rgba(120, 178, 153, 0.4) 0%, 
                             rgba(197, 160, 89, 0.45) 50%, 
                             rgba(120, 178, 153, 0.4) 100%) border-box !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55),
              0 0 35px rgba(120, 178, 153, 0.12) !important;
}

[data-theme="dark"] .about-page .card-icon-container,
[data-theme="dark"] .home-page .card-icon-container {
  background: rgba(120, 178, 153, 0.08);
  color: var(--secondary);
}

[data-theme="dark"] .about-page .about-card:hover .card-icon-container,
[data-theme="dark"] .home-page .about-card:hover .card-icon-container {
  background: var(--secondary);
  color: #ffffff;
}

/* Accessibility: Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .about-page .about-card,
  .home-page .about-card,
  .about-page .swap-wrapper,
  .home-page .swap-wrapper,
  .about-page .card-icon-container,
  .home-page .card-icon-container,
  .about-page .about-card::before,
  .home-page .about-card::before,
  .about-page .about-card::after,
  .home-page .about-card::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
  
  .about-page .about-card:hover,
  .home-page .about-card:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
  
  .about-page .about-card,
  .home-page .about-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Executive Team & Training Experts Styles (Revision 7)
   ========================================================================== */

/* Team swap container in normal document flow */
.about-page .team-swap-grid,
.home-page .team-swap-grid,
.about-page .experts-swap-grid,
.about-page .infographic-swap-grid,
.home-page .homepage-founders-swap-grid,
.home-page .articles-swap-grid {
  display: block !important;
  position: relative !important;
  width: 100%;
  max-width: 740px !important; /* Slightly wider card container as requested */
  margin: 0 auto;
}

/* Stacking swap wrappers using display-toggle to avoid overlap regressions */
.about-page .swap-wrapper,
.about-page .team-swap-wrapper,
.home-page .team-swap-wrapper,
.about-page .expert-swap-wrapper,
.about-page .infographic-swap-wrapper,
.home-page .homepage-founder-swap-wrapper,
.home-page .article-swap-wrapper {
  display: none; /* Hidden by default to prevent layout space occupancy */
  width: 100%;
  will-change: transform, opacity;
}

.about-page .swap-wrapper.active,
.about-page .team-swap-wrapper.active,
.home-page .team-swap-wrapper.active,
.about-page .expert-swap-wrapper.active,
.about-page .infographic-swap-wrapper.active,
.home-page .homepage-founder-swap-wrapper.active,
.home-page .article-swap-wrapper.active {
  display: block !important;
  position: relative !important; /* Active card drives page height */
  z-index: 3 !important;
  animation: cardFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-page .swap-wrapper.exit,
.about-page .team-swap-wrapper.exit,
.home-page .team-swap-wrapper.exit,
.about-page .expert-swap-wrapper.exit,
.about-page .infographic-swap-wrapper.exit,
.home-page .homepage-founder-swap-wrapper.exit,
.home-page .article-swap-wrapper.exit {
  display: block !important;
  position: absolute !important; /* Exiting card exits document flow to avoid stack jump */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1 !important;
  pointer-events: none;
  animation: cardFadeOut 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translate3d(50px, 0, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes cardFadeOut {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50px, 0, 0) scale(0.96);
  }
}

/* Rounded rectangular image container - fully visible, correct proportions, slightly smaller */
.about-page .team-img-container,
.home-page .team-img-container {
  width: 100%;
  max-width: 180px !important; /* Smaller size to look neat and suited to the card */
  height: 180px !important;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto 1.5rem auto;
  background: rgba(23, 107, 104, 0.03);
  border: 1px solid rgba(23, 107, 104, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(8, 28, 32, 0.04);
}

[data-theme="dark"] .about-page .team-img-container,
[data-theme="dark"] .home-page .team-img-container {
  background: rgba(120, 178, 153, 0.03);
  border-color: rgba(120, 178, 153, 0.1);
}

.about-page .team-img-container img,
.home-page .team-img-container img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important; /* Original proportions, centered, no cropping */
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  transition: transform 0.4s ease;
}

.about-page .about-card:hover .team-img-container img,
.home-page .about-card:hover .team-img-container img {
  transform: scale(1.04);
}

/* Card details adjustments */
.about-page .team-card-info,
.home-page .team-card-info {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.about-page .team-card-info h3,
.home-page .team-card-info h3 {
  justify-content: center !important;
  min-height: auto !important;
  margin: 0 0 0.5rem 0 !important;
  font-size: 1.35rem !important;
}

.about-page .team-card-info .role,
.home-page .team-card-info .role {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

[data-theme="dark"] .about-page .team-card-info .role,
[data-theme="dark"] .home-page .team-card-info .role {
  color: var(--secondary);
}

.about-page .team-bullets,
.home-page .team-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
  text-align: start;
  position: relative;
  z-index: 2;
}

.about-page .team-bullets li,
.home-page .team-bullets li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.about-page .team-bullets li::before,
.home-page .team-bullets li::before {
  content: "â€¢";
  color: var(--primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-inline-start: 0.25em;
  flex-shrink: 0;
}

[dir="ltr"] .about-page .team-bullets li::before,
[dir="ltr"] .home-page .team-bullets li::before {
  margin-inline-start: 0;
  margin-inline-end: 0.25em;
}

/* Global section geometry: the two Lead Minds line drawings, used separately. */
main > section.brand-motif-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main > section.brand-motif-section > :not(.brand-section-motif) {
  position: relative;
  z-index: 1;
}

.brand-section-motif {
  --motif-line: rgba(66, 166, 166, 0.38);
  position: absolute;
  z-index: 0;
  width: clamp(210px, 24vw, 360px);
  aspect-ratio: 1;
  top: clamp(28px, 10%, 96px);
  inset-inline-start: clamp(18px, 3vw, 58px);
  display: block;
  pointer-events: none;
  user-select: none;
  opacity: 1;
  transform: rotate(-2deg);
}

main > section[data-brand-motif-side="end"] > .brand-section-motif {
  inset-inline-start: auto;
  inset-inline-end: clamp(18px, 3vw, 58px);
  top: auto;
  bottom: clamp(24px, 7%, 72px);
  transform: rotate(2deg);
}

main > section:nth-of-type(3n) > .brand-section-motif {
  --motif-line: rgba(250, 186, 62, 0.42);
}

.brand-section-motif__piece {
  position: absolute;
  box-sizing: border-box;
  display: block;
  border: 2px solid var(--motif-line);
}

/* Reference drawing 1: one tall curved part and two separate quarter forms. */
.brand-section-motif--single .brand-section-motif__piece--1 {
  inset: 5% 52% 5% 5%;
  border-radius: 0 0 0 100%;
}

.brand-section-motif--single .brand-section-motif__piece--2 {
  inset: 5% 5% 52% 52%;
  border-radius: 0 100% 0 0;
}

.brand-section-motif--single .brand-section-motif__piece--3 {
  inset: 52% 5% 5% 52%;
  border-radius: 0 100% 0 0;
}

/* Reference drawing 2: six independent cells inside a softly rounded square. */
.brand-section-motif--grid {
  border: clamp(1px, 0.13vw, 2px) solid var(--motif-line);
  border-radius: 24% 24% 24% 24%;
}

.brand-section-motif--grid .brand-section-motif__piece--1 {
  inset: 4% 52% 52% 4%;
  border-width: 0 1px 1px 0;
  border-radius: 22% 0 0 0;
}

.brand-section-motif--grid .brand-section-motif__piece--2 {
  inset: 4% 28% 52% 52%;
  border-radius: 0 0 100% 0;
}

.brand-section-motif--grid .brand-section-motif__piece--3 {
  inset: 4% 4% 52% 76%;
  border-width: 0 0 1px 1px;
  border-radius: 0 22% 0 0;
}

.brand-section-motif--grid .brand-section-motif__piece--4 {
  inset: 52% 52% 4% 4%;
  border-width: 1px 1px 0 0;
  border-radius: 0 0 0 22%;
}

.brand-section-motif--grid .brand-section-motif__piece--5 {
  inset: 52% 28% 28% 52%;
  border-radius: 100% 0 0 0;
}

.brand-section-motif--grid .brand-section-motif__piece--6 {
  inset: 76% 28% 4% 52%;
  border-radius: 0 100% 0 0;
}

.hero-premium-section > .brand-section-motif,
.article-reference-hero > .brand-section-motif,
.contact-reference-hero > .brand-section-motif {
  --motif-line: rgba(250, 186, 62, 0.34);
}

[data-theme="dark"] .brand-section-motif {
  --motif-line: rgba(250, 186, 62, 0.38);
}

@media (max-width: 720px) {
  .brand-section-motif {
    width: 170px;
    inset-inline-start: -24px;
    top: 28px;
    opacity: 0.9;
  }

  main > section[data-brand-motif-side="end"] > .brand-section-motif {
    inset-inline-end: -24px;
    bottom: 28px;
  }
}

/* Visual line clamping for biography previews */
.about-page .about-card .bio-preview,
.home-page .about-card .bio-preview {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 1.2rem !important;
  flex-grow: 1 !important;
  text-align: justify !important;
}

/* Trigger buttons */
.about-page .read-more-btn,
.home-page .read-more-btn {
  margin-top: auto !important;
  align-self: center;
  padding: 0.65rem 2rem !important;
  border-radius: 100px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  position: relative;
  z-index: 3;
}

/* Experts grids */
.about-page .experts-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 991px) {
  .about-page .experts-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .about-page .experts-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Infographic section layout styles */
.about-page .experts-intro-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(23, 107, 104, 0.08);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .about-page .experts-intro-section {
  background: rgba(15, 38, 38, 0.35);
  border-color: rgba(120, 178, 153, 0.08);
}

@media (max-width: 991px) {
  .about-page .experts-intro-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-page .intro-p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.about-page .experts-criteria {
  margin-top: 2rem;
}

.about-page .experts-criteria h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem !important;
}

[data-theme="dark"] .about-page .experts-criteria h3 {
  color: var(--secondary);
}

.about-page .criteria-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-page .criteria-list li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  position: relative;
  padding-inline-start: 1.5rem;
}

.about-page .criteria-list li::before {
  content: "âœ“";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  inset-inline-start: 0;
}

[data-theme="dark"] .about-page .criteria-list li::before {
  color: var(--secondary);
}

.about-page .infographic-container h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem !important;
  text-align: center;
  border-bottom: 2px dashed rgba(23, 107, 104, 0.15);
  padding-bottom: 0.8rem;
}

.about-page .infographic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 480px) {
  .about-page .infographic-grid {
    grid-template-columns: 1fr;
  }
}

.about-page .info-step {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(23, 107, 104, 0.08);
  padding: 1.25rem;
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .about-page .info-step {
  background: rgba(15, 38, 38, 0.5);
  border-color: rgba(120, 178, 153, 0.08);
}

.about-page .info-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(23, 107, 104, 0.08);
}

.about-page .info-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(23, 107, 104, 0.12);
  font-family: var(--font-headings);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-page .info-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem !important;
}

[data-theme="dark"] .about-page .info-step h4 {
  color: var(--secondary);
}

.about-page .info-step p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   Premium Fullscreen Profile Viewer Modals
   ========================================================================== */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-modal.open {
  opacity: 1;
  pointer-events: auto;
}

body.modal-open {
  overflow: hidden !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 32, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(23, 107, 104, 0.15);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(8, 28, 32, 0.25);
  z-index: 10;
  overflow: hidden;
  transform: scale(0.94) translate3d(0, 20px, 0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

[data-theme="dark"] .modal-content {
  background: rgba(15, 38, 38, 0.96);
  border-color: rgba(120, 178, 153, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.team-modal.open .modal-content {
  transform: scale(1) translate3d(0, 0, 0);
}

/* Modal Sticky Header */
.modal-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(23, 107, 104, 0.1);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 12;
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .modal-header {
  background: rgba(15, 38, 38, 0.9);
  border-color: rgba(120, 178, 153, 0.1);
}

.modal-header-info {
  flex-grow: 1;
  min-width: 0;
}

.modal-header-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem 0 !important;
}

.modal-header-info .role {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  margin: 0 !important;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .modal-header-info .role {
  color: var(--secondary);
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-inline-start: 1rem;
}

/* Navigation buttons */
.modal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(23, 107, 104, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="dark"] .modal-nav-btn {
  background: rgba(15, 38, 38, 0.7);
  border-color: rgba(120, 178, 153, 0.15);
  color: #ffffff;
}

.modal-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.modal-nav-btn svg {
  width: 20px;
  height: 20px;
}

[dir="rtl"] .modal-nav-btn.prev-btn svg,
[dir="rtl"] .modal-nav-btn.next-btn svg {
  transform: rotate(180deg);
}

/* Close button */
.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(23, 107, 104, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

[data-theme="dark"] .modal-close {
  background: rgba(15, 38, 38, 0.7);
  border-color: rgba(120, 178, 153, 0.15);
  color: #ffffff;
}

.modal-close:hover {
  background: #c25954;
  color: #ffffff;
  border-color: #c25954;
  transform: rotate(90deg);
}

/* Modal body content */
.modal-body {
  padding: clamp(20px, 3.5vw, 36px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

.modal-body.switching {
  opacity: 0;
  transform: translateY(10px);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  width: 100%;
  direction: ltr;
}

.modal-img-col {
  grid-column: 2;
  grid-row: 1;
  direction: rtl;
}

.modal-text-col {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  direction: rtl;
}

.modal-text-col .modal-bullets li {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.8;
}

.modal-text-col .modal-bio {
  font-size: clamp(1.04rem, 1.2vw, 1.14rem);
  line-height: 2;
  text-align: start;
}

@media (max-width: 767px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-img-col,
  .modal-text-col {
    grid-column: 1;
  }

  .modal-img-col {
    grid-row: 1;
  }

  .modal-text-col {
    grid-row: 2;
  }
}

.modal-img-col {
  text-align: center;
}

.modal-img-wrapper {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 107, 104, 0.12);
  box-shadow: 0 10px 30px rgba(8, 28, 32, 0.08);
  background: rgba(23, 107, 104, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .modal-img-wrapper {
  background: rgba(120, 178, 153, 0.03);
  border-color: rgba(120, 178, 153, 0.15);
}

.modal-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.fade-in-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fade-in-img.loaded {
  opacity: 1;
}

.modal-info-col {
  display: flex;
  flex-direction: column;
}

.modal-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  border-bottom: 1px solid rgba(23, 107, 104, 0.1);
  padding-bottom: 1.2rem;
}

[data-theme="dark"] .modal-bullets {
  border-color: rgba(120, 178, 153, 0.15);
}

.modal-bullets li {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.6rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
}

.modal-bullets li::before {
  content: "â€¢";
  color: var(--primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-inline-start: 0.25em;
  flex-shrink: 0;
}

[data-theme="dark"] .modal-bullets li::before {
  color: var(--secondary);
}

[dir="ltr"] .modal-bullets li::before {
  margin-inline-start: 0;
  margin-inline-end: 0.25em;
}

.modal-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  text-align: justify;
}

/* Homepage knowledge articles: three visible cards */
.home-page .articles-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.75rem);
  align-items: stretch;
}

.home-page .articles-showcase-grid .article-swap-wrapper {
  display: block !important;
  position: relative !important;
  width: 100%;
}

.home-page .articles-showcase-grid .clickable-card {
  height: 100%;
}

.home-page .articles-showcase-grid .clickable-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 900px) {
  .home-page .articles-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* Keyboard visible focus styles */
.about-page a:focus-visible,
.about-page button:focus-visible,
.team-modal button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

[data-theme="dark"] .about-page a:focus-visible,
[data-theme="dark"] .about-page button:focus-visible,
[data-theme="dark"] .team-modal button:focus-visible {
  outline-color: var(--secondary);
}

/* ==========================================================================
   Partners Logo Ticker Styles (Infinite Horizontal Scroll)
   ========================================================================== */
.partners-ticker-section {
  padding: 1.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Gradient fades at the edges for smooth transition */
.partners-ticker-section::before,
.partners-ticker-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}

.partners-ticker-section::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}

.partners-ticker-section::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}

.partners-ticker-container {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.partners-ticker-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

/* Pause scroll on hover */
.partners-ticker-track:hover {
  animation-play-state: paused;
}

.partners-ticker-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 0 1.75rem;
  flex-shrink: 0;
}

.partners-ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  width: 110px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partners-ticker-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover effects for logos */
.partners-ticker-item:hover {
  transform: translateY(-3px) scale(1.05);
}

.partners-ticker-item:hover img {
  opacity: 1;
}


/* Keyframes for sliding (moving leftwards in dir="ltr" container) */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* Site-wide Arabic RTL alignment */
html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .header-shell,
html[dir="rtl"] .nav-list,
html[dir="rtl"] .drawer-content,
html[dir="rtl"] .footer-shell,
html[dir="rtl"] .footer-inline-links,
html[dir="rtl"] .footer-contact-row {
  direction: rtl;
}

html[dir="rtl"] .header-shell {
  flex-direction: row;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .brand-saas {
  order: 0;
  margin-right: 0;
  margin-left: auto;
  align-items: flex-start !important;
}

html[dir="rtl"] .site-nav {
  order: 1;
}

html[dir="rtl"] .nav-cta {
  order: 2;
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .section-head,
html[dir="rtl"] .page-hero-copy,
html[dir="rtl"] .card,
html[dir="rtl"] article,
html[dir="rtl"] .footer-summary {
  text-align: right;
}

html[dir="rtl"] .section-head-center {
  text-align: center;
}

/* Static transparent partner-logo grid */
.site-header a[href="case-studies.html"] {
  display: none !important;
}

.partners-grid-section {
  background: var(--surface);
}

.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.partner-logo-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  mix-blend-mode: normal;
}

@media (max-width: 900px) {
  .partners-logo-grid {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }
}

@media (max-width: 560px) {
  .partners-logo-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 1.75rem 1rem;
  }

  .partner-logo-item {
    min-height: 84px;
  }

  .partner-logo-item img {
    max-height: 64px;
  }
}

/* Arabic header brand: logo at the right with a clear slogan directly below it. */
html[dir="rtl"] .site-header.premium-header .header-shell {
  direction: rtl !important;
  flex-direction: row !important;
}

html[dir="rtl"] .site-header.premium-header .brand.brand-saas {
  order: 1 !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  min-width: 142px;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

html[dir="rtl"] .site-header.premium-header .brand.brand-saas img {
  display: block !important;
  height: 39px !important;
  width: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

html[dir="rtl"] .site-header.premium-header .logo-slogan {
  display: block !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  direction: rtl !important;
  white-space: normal !important;
}

html[dir="rtl"] .site-header.premium-header .site-nav {
  order: 2 !important;
}

html[dir="rtl"] .site-header.premium-header .nav-cta {
  order: 3 !important;
}

html[dir="rtl"] .premium-header .drawer-logo-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  margin-right: 0 !important;
  margin-left: auto !important;
  text-align: center !important;
}

@media (max-width: 991px) {
  html[dir="rtl"] .site-header.premium-header .header-shell {
    direction: rtl !important;
  }

  html[dir="rtl"] .site-header.premium-header .brand.brand-saas {
    min-width: 124px;
    align-items: center !important;
  }

  html[dir="rtl"] .site-header.premium-header .brand.brand-saas img,
  html[dir="rtl"] .premium-header .drawer-logo-link img {
    height: 31px !important;
  }

  html[dir="rtl"] .site-header.premium-header .logo-slogan {
    font-size: 9px !important;
  }

  html[dir="rtl"] .site-header.premium-header .nav-toggle {
    order: 3 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }
}

/* Mobile: rotate the strength and experience cards two at a time. */
@media (max-width: 767px) {
  [data-mobile-pair-rotator] {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0;
  }

  [data-mobile-pair-rotator] > .stat {
    display: none;
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  [data-mobile-pair-rotator] > .stat.mobile-pair-active {
    display: block;
    animation: mobile-stat-pair-in 360ms ease both;
  }
}

@keyframes mobile-stat-pair-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-mobile-pair-rotator] > .stat.mobile-pair-active {
    animation: none;
  }
}

/* Unified fixed header color and clearer official logo. */
.site-header.premium-header,
.site-header.premium-header.scrolled,
body.home-page .site-header.premium-header,
body.home-page .site-header.premium-header.scrolled,
body:not(.home-page) .site-header.premium-header,
body.drawer-open .site-header.premium-header,
body.drawer-open .site-header.premium-header.scrolled {
  background: #1a4242 !important;
  background-color: #1a4242 !important;
  border-bottom-color: rgba(255, 189, 63, 0.24) !important;
  box-shadow: 0 8px 28px rgba(8, 34, 34, 0.22) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease !important;
}

html[dir="rtl"] .site-header.premium-header .brand.brand-saas {
  min-width: 168px !important;
}

html[dir="rtl"] .site-header.premium-header .brand.brand-saas img {
  height: 48px !important;
}

html[dir="rtl"] .site-header.premium-header .logo-slogan {
  font-size: 10.5px !important;
}

@media (max-width: 991px) {
  html[dir="rtl"] .site-header.premium-header .brand.brand-saas {
    min-width: 138px !important;
  }

  html[dir="rtl"] .site-header.premium-header .brand.brand-saas img,
  html[dir="rtl"] .premium-header .drawer-logo-link img {
    height: 36px !important;
  }

  html[dir="rtl"] .site-header.premium-header .logo-slogan {
    font-size: 9px !important;
  }
}

/* Homepage PDF reference: transparent header and hero palette/linework only. */
body.home-page .site-header.premium-header,
body.home-page .site-header.premium-header.scrolled {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Two-row transparent header: program links sit in their own compact row. */
.site-header.premium-header {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: initial !important;
  overflow: visible !important;
}

.site-header.premium-header .header-shell {
  height: 82px !important;
  min-height: 82px !important;
}

.site-header.premium-header .programs-nav-row {
  display: block;
  width: 100%;
  padding: 0 18px 10px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-header.premium-header .programs-nav-row-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
  padding: 0;
  min-height: 0;
}

.site-header.premium-header .programs-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 16px;
  color: #ffffff;
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(255, 210, 90, 0.56);
  border-radius: 999px;
  background: #594239;
  box-shadow: 0 7px 20px rgba(20, 42, 40, 0.16);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-header.premium-header .programs-nav-link:hover,
.site-header.premium-header .programs-nav-link:focus-visible {
  color: #ffffff;
  border-color: #ffd25a;
  background: #704c3e;
  transform: translateY(-1px);
}

.site-header.premium-header .programs-nav-link.is-active {
  color: #ffffff;
  border-color: #ff9a80;
  background: #f27357;
}

.site-header.premium-header .site-nav .mobile-program-item {
  display: none !important;
}

@media (max-width: 1199px) {
  .site-header.premium-header {
    display: flex !important;
    height: 86px !important;
    align-items: center !important;
  }

  body.home-page .site-header.premium-header {
    height: 92px !important;
  }

  .site-header.premium-header .header-shell {
    height: 100% !important;
    min-height: 0 !important;
  }

  .site-header.premium-header .programs-nav-row {
    display: none;
  }

  .site-header.premium-header .site-nav .mobile-program-item {
    display: list-item !important;
  }
}

@media (max-width: 767px) {
  .site-header.premium-header .programs-nav-link {
    white-space: normal;
  }
}

body.home-page .hero-premium-section {
  background-color: #f37458;
  background-image:
    radial-gradient(ellipse at 4% 93%, rgba(255, 226, 113, 0.98) 0 10%, rgba(255, 199, 68, 0.9) 27%, transparent 52%),
    radial-gradient(ellipse at 12% 38%, rgba(255, 187, 57, 0.93) 0 11%, rgba(246, 116, 82, 0.78) 40%, transparent 65%),
    radial-gradient(ellipse at 44% 12%, rgba(238, 83, 85, 0.9) 0 18%, transparent 49%),
    radial-gradient(ellipse at 67% 52%, rgba(15, 74, 72, 0.97) 0 22%, rgba(19, 82, 78, 0.9) 44%, transparent 67%),
    radial-gradient(ellipse at 96% 94%, rgba(174, 224, 215, 0.98) 0 10%, rgba(75, 167, 160, 0.9) 35%, transparent 59%),
    linear-gradient(104deg, #ffd75b 0%, #f67458 42%, #0f5552 73%, #063a39 100%);
}

body.home-page .hero-premium-section::before {
  background-image: url("data:image/svg+xml,%3Csvg width='1920' height='1080' viewBox='0 0 1920 1080' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23FFD15A' stroke-opacity='.34' stroke-width='1.15'%3E%3Cpath d='M-180 18H550V268C550 465 390 625 193 625H-180V18Z'/%3E%3Cpath d='M570-210H1150V0C1150 196 991 355 795 355H570V-210Z'/%3E%3Cpath d='M1168-170H1530V115C1530 315 1368 477 1168 477V-170Z'/%3E%3Cpath d='M1548-76H2050V412H1892C1702 412 1548 258 1548 68V-76Z'/%3E%3Cpath d='M-210 646H370V1096H128C-59 1096-210 945-210 758V646Z'/%3E%3Cpath d='M389 646H955V1076H831C587 1076 389 878 389 634V646Z'/%3E%3Cpath d='M977 503H1445V970H1325C1133 970 977 814 977 622V503Z'/%3E%3Cpath d='M1467 492H2000V1078H1818C1624 1078 1467 921 1467 727V492Z'/%3E%3Cpath d='M-44 292C183 292 367 476 367 703V1068'/%3E%3Cpath d='M959 12C1252 12 1489 249 1489 542V1058'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 1;
  mix-blend-mode: normal;
}

body.home-page .hero-premium-section::after {
  opacity: 0.24;
}

/* Keep only the new PDF-reference linework inside the homepage hero. */
body.home-page .hero-premium-section > .brand-section-motif {
  display: none !important;
}

/* PDF-reference pill treatment for every desktop header section link. */
@media (min-width: 1200px) {
  .site-header.premium-header .site-nav .nav-link {
    min-height: 38px !important;
    padding: 7px 17px !important;
    border: 1px solid #795d51 !important;
    border-radius: 999px !important;
    background: #594239 !important;
    box-shadow: 0 7px 20px rgba(20, 42, 40, 0.12) !important;
  }

  .site-header.premium-header .site-nav .nav-link:hover {
    color: #ffffff !important;
    border-color: #ffd25a !important;
    background: #704c3e !important;
  }

  .site-header.premium-header .site-nav .nav-link.is-active {
    color: #ffffff !important;
    border-color: #ff9a80 !important;
    background: #f27357 !important;
  }

  .site-header.premium-header .site-nav .nav-link::after {
    content: none !important;
    display: none !important;
  }

  .site-header.premium-header .nav-dropdown-menu {
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-top: 0 !important;
    background: #102f2e !important;
    border-color: #315b58 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Solid utility controls remain visible above both light and dark backgrounds. */
.site-header.premium-header .header-search-btn,
.site-header.premium-header .header-tool-circle {
  color: #ffffff !important;
  background: #1a4f4c !important;
  border-color: #42a6a6 !important;
  box-shadow: 0 6px 18px rgba(7, 40, 39, 0.24) !important;
}

.site-header.premium-header .header-search-btn:hover,
.site-header.premium-header .header-tool-circle:hover {
  color: #ffffff !important;
  background: #236965 !important;
  border-color: #ffd25a !important;
}

/* Use the homepage transparent capsule header on every public page. */
.site-header.premium-header,
.site-header.premium-header.scrolled,
body.home-page .site-header.premium-header,
body.home-page .site-header.premium-header.scrolled,
body:not(.home-page) .site-header.premium-header,
body.drawer-open .site-header.premium-header,
body.drawer-open .site-header.premium-header.scrolled {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Let every public-page hero continue behind the transparent fixed header. */
body:not(.home-page):has(> .site-header.premium-header) {
  padding-top: 0 !important;
}

@media (max-width: 560px) {
  body:not(.home-page):has(> .site-header.premium-header) {
    padding-top: 0 !important;
  }
}

/* Animated yellow navigation cue shared by every public-page hero. */
.site-header.premium-header + main > section:first-child {
  position: relative;
}

main.article-reference-page .post-header {
  position: relative;
}

main.article-reference-page {
  position: relative;
}

main.article-reference-page > .hero-scroll-cue {
  top: calc(var(--article-hero-height, 820px) - 76px);
  bottom: auto;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 120;
  left: 50%;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  color: #164f4d;
  background: #ffbd3f;
  border: 3px solid #164f4d;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(255, 189, 63, 0.28),
    0 12px 30px rgba(10, 52, 51, 0.42);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  animation: heroScrollCuePulse 1.65s ease-in-out infinite;
}

.hero-scroll-cue svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  color: #ffffff;
  background: #f4aa22;
  outline: 3px solid rgba(255, 189, 63, 0.34);
  animation-play-state: paused;
  transform: translateX(-50%) scale(1.1);
}

@keyframes heroScrollCuePulse {
  0%,
  100% {
    transform: translateX(-50%) scale(0.92);
    box-shadow: 0 8px 22px rgba(22, 79, 77, 0.22);
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    box-shadow: 0 16px 34px rgba(22, 79, 77, 0.36);
  }
}

@media (max-width: 767px) {
  .hero-scroll-cue {
    width: 50px;
    height: 50px;
    bottom: 16px;
  }

  .hero-scroll-cue svg {
    width: 23px;
    height: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue {
    animation: none;
  }
}


/* Source: assets/css/home-title-stability.css?v=1.0 */
/* Reserve enough room for the longest rotating hero slogan. */
.home-page .hero-rotating-title {
    height: 3.2em;
    min-height: 3.2em;
    max-height: 3.2em;
    align-items: flex-end;
    margin-bottom: 34px !important;
    overflow: hidden;
}

.home-page .hero-rotating-title [data-slogan-text] {
    display: inline !important;
    max-width: 100%;
}

@media (max-width: 900px) {
    .home-page .hero-rotating-title {
        height: 3.45em;
        min-height: 3.45em;
        max-height: 3.45em;
    }
}

@media (max-width: 560px) {
    .home-page .hero-rotating-title {
        height: 4.15em;
        min-height: 4.15em;
        max-height: 4.15em;
        margin-bottom: 24px !important;
    }
}


/* Source: assets/css/home-leadership-cutouts.css?v=1.3 */
/* Homepage leadership portraits: branded backdrop + transparent people cutouts. */
.home-page .home-leadership-cards {
  max-width: 790px !important;
}

.home-page .home-leadership-cards .about-card {
  padding: clamp(1rem, 2.5vw, 1.8rem) !important;
  border: 1px solid rgba(23, 107, 104, 0.12);
  border-radius: 30px;
  background: linear-gradient(155deg, #ffffff 0%, #fbfdfc 100%);
  box-shadow: 0 22px 55px rgba(8, 49, 48, 0.11);
}

.home-page .home-leadership-cards .team-img-container {
  width: 100% !important;
  max-width: 560px !important;
  height: clamp(340px, 46vw, 440px) !important;
  margin: 0 auto 1.6rem !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 30px 30px 18px 18px;
  background-color: #fffaf0;
  background-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 14px 34px rgba(235, 167, 46, 0.18);
}

.home-page .home-leadership-cards .team-img-container::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(75, 47, 8, 0.16), transparent);
}

.home-page .home-leadership-cards .team-img-container img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -2px;
  width: auto !important;
  height: 112% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: bottom center;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: translateX(-50%);
  transform-origin: bottom center;
  filter: drop-shadow(0 15px 18px rgba(49, 35, 15, 0.2));
  transition: transform 0.45s ease, filter 0.45s ease;
}

.home-page .home-leadership-cards .about-card:hover .team-img-container img {
  transform: translateX(-50%) scale(1.025);
  filter: drop-shadow(0 18px 22px rgba(49, 35, 15, 0.25));
}

.home-page .home-leadership-cards [data-profile-index="1"] .team-img-container img {
  height: 106% !important;
}

[data-theme="dark"] .home-page .home-leadership-cards .about-card {
  background: linear-gradient(155deg, #102f30 0%, #0b2426 100%);
  border-color: rgba(255, 190, 65, 0.2);
}

@media (max-width: 640px) {
  .home-page .home-leadership-cards {
    width: min(100%, 390px);
  }

  .home-page .home-leadership-cards .about-card {
    padding: 0.85rem !important;
    border-radius: 22px;
  }

  .home-page .home-leadership-cards .team-img-container {
    height: 300px !important;
    margin-bottom: 1.15rem !important;
    border-radius: 22px 22px 14px 14px;
    background-size: cover;
  }

  .home-page .home-leadership-cards .team-img-container img {
    height: 108% !important;
  }

  .home-page .home-leadership-cards [data-profile-index="1"] .team-img-container img {
    height: 103% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-leadership-cards .team-img-container img {
    transition: none;
  }
}

/* v1.1: two editorial leadership rows instead of swapping cards. */
.home-page .home-leadership-section {
  position: relative;
  overflow: hidden;
  background: #ffffff !important;
}

.home-page .home-leadership-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 22%, transparent 0 180px, rgba(66, 166, 166, 0.07) 181px 183px, transparent 184px),
    radial-gradient(circle at 94% 76%, transparent 0 240px, rgba(250, 186, 62, 0.08) 241px 243px, transparent 244px),
    linear-gradient(rgba(66, 166, 166, 0.045) 1px, transparent 1px) 0 0 / 170px 170px,
    linear-gradient(90deg, rgba(66, 166, 166, 0.045) 1px, transparent 1px) 0 0 / 170px 170px;
}

.home-page .home-leadership-section > .container {
  position: relative;
  z-index: 1;
}

.home-page .home-leadership-cards.home-leadership-layout {
  width: 100% !important;
  max-width: 1180px !important;
  margin: clamp(42px, 6vw, 76px) auto 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(76px, 9vw, 126px) !important;
}

.home-page .home-leadership-layout .home-leadership-profile {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.home-page .home-leadership-layout .home-leadership-profile + .home-leadership-profile::before {
  content: "";
  position: absolute;
  top: calc(clamp(76px, 9vw, 126px) / -2);
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 166, 166, 0.24), rgba(250, 186, 62, 0.32), transparent);
}

.home-page .home-leadership-layout .about-card {
  width: 100% !important;
  min-height: 500px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr) !important;
  grid-template-rows: auto auto 1fr auto !important;
  column-gap: clamp(42px, 7vw, 94px) !important;
  row-gap: 20px !important;
  align-items: start !important;
  direction: ltr;
  color: #173f3e !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

.home-page .home-leadership-layout .about-card:hover {
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.home-page .home-leadership-layout .team-img-container {
  grid-column: 2 !important;
  grid-row: 1 / 5 !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  height: 500px !important;
  margin: 0 !important;
  border-radius: 150px 150px 26px 26px !important;
}

.home-page .home-leadership-layout .home-leadership-profile:nth-child(even) .team-img-container {
  grid-column: 1 !important;
}

.home-page .home-leadership-layout .home-leadership-profile:nth-child(even) .about-card {
  grid-template-columns: minmax(330px, 0.84fr) minmax(0, 1.16fr) !important;
}

.home-page .home-leadership-layout :is(.team-card-info, .team-bullets, .bio-preview, .read-more-btn) {
  grid-column: 1 !important;
  min-width: 0;
  direction: rtl;
}

.home-page .home-leadership-layout .home-leadership-profile:nth-child(even) :is(.team-card-info, .team-bullets, .bio-preview, .read-more-btn) {
  grid-column: 2 !important;
}

.home-page .home-leadership-layout .team-card-info {
  grid-row: 1 !important;
  align-self: end !important;
  padding-top: 22px;
}

.home-page .home-leadership-layout .team-card-info h3 {
  margin: 0 0 10px !important;
  color: #f37358 !important;
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  font-size: clamp(2rem, 3vw, 3.15rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: right !important;
}

.home-page .home-leadership-layout .team-card-info .role {
  margin: 0 !important;
  color: #286f6d !important;
  font-size: clamp(1rem, 1.3vw, 1.18rem) !important;
  font-weight: 700 !important;
  line-height: 1.75 !important;
  text-align: right !important;
}

.home-page .home-leadership-layout .team-bullets {
  grid-row: 2 !important;
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap;
  gap: 10px !important;
  list-style: none !important;
}

.home-page .home-leadership-layout .team-bullets li {
  flex: 1 1 230px;
  margin: 0 !important;
  padding: 12px 16px !important;
  color: #174b49 !important;
  background: rgba(66, 166, 166, 0.1) !important;
  border: 1px solid rgba(66, 166, 166, 0.16) !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

.home-page .home-leadership-layout .team-bullets li::marker {
  content: "";
}

.home-page .home-leadership-layout .bio-preview {
  grid-row: 3 !important;
  align-self: start !important;
  margin: 0 !important;
  color: #395c5a !important;
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  line-height: 2 !important;
  text-align: right !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.home-page .home-leadership-layout .read-more-btn {
  grid-row: 4 !important;
  justify-self: start !important;
  width: fit-content !important;
  min-width: 150px;
  margin: 4px 0 0 !important;
}

@media (max-width: 860px) {
  .home-page .home-leadership-layout .about-card,
  .home-page .home-leadership-layout .home-leadership-profile:nth-child(even) .about-card {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto auto !important;
    row-gap: 18px !important;
  }

  .home-page .home-leadership-layout .team-img-container,
  .home-page .home-leadership-layout .home-leadership-profile:nth-child(even) .team-img-container {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: min(100%, 430px) !important;
    height: 430px !important;
    margin: 0 auto 10px !important;
    border-radius: 120px 120px 24px 24px !important;
  }

  .home-page .home-leadership-layout :is(.team-card-info, .team-bullets, .bio-preview, .read-more-btn),
  .home-page .home-leadership-layout .home-leadership-profile:nth-child(even) :is(.team-card-info, .team-bullets, .bio-preview, .read-more-btn) {
    grid-column: 1 !important;
  }

  .home-page .home-leadership-layout .team-card-info { grid-row: 2 !important; padding-top: 0; }
  .home-page .home-leadership-layout .team-bullets { grid-row: 3 !important; }
  .home-page .home-leadership-layout .bio-preview { grid-row: 4 !important; -webkit-line-clamp: 5; }
  .home-page .home-leadership-layout .read-more-btn { grid-row: 5 !important; }
}

@media (max-width: 520px) {
  .home-page .home-leadership-cards.home-leadership-layout {
    gap: 72px !important;
  }

  .home-page .home-leadership-layout .team-img-container,
  .home-page .home-leadership-layout .home-leadership-profile:nth-child(even) .team-img-container {
    height: 340px !important;
    border-radius: 90px 90px 20px 20px !important;
  }

  .home-page .home-leadership-layout .team-card-info h3 {
    font-size: 2rem !important;
  }

  .home-page .home-leadership-layout .team-bullets {
    display: grid !important;
  }

  .home-page .home-leadership-layout .team-bullets li {
    width: 100%;
    border-radius: 20px !important;
  }
}

/* v1.2: fully open editorial profiles â€” no card frame or legacy card effects. */
.home-page .home-leadership-layout .leadership-profile-content {
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
  isolation: auto !important;
}

.home-page .home-leadership-layout .leadership-profile-content::before,
.home-page .home-leadership-layout .leadership-profile-content::after {
  content: none !important;
  display: none !important;
}

.home-page .home-leadership-layout .home-leadership-profile + .home-leadership-profile::before {
  content: none !important;
  display: none !important;
}

.home-page .home-leadership-layout .team-img-container {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.home-page .home-leadership-layout .team-img-container::after {
  content: none !important;
  display: none !important;
}

.home-page .home-leadership-layout .team-bullets {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.home-page .home-leadership-layout .team-bullets li {
  display: block !important;
  padding: 0 !important;
  color: #294f4d !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  text-align: right !important;
}

.home-page .home-leadership-layout .team-bullets li::before {
  content: none !important;
  display: none !important;
}

.home-page .home-leadership-layout .team-bullets strong {
  color: #42a6a6 !important;
  font-weight: 800 !important;
}

.home-page .home-leadership-layout .read-more-btn {
  justify-self: center !important;
  min-width: 180px !important;
  margin: 12px auto 0 !important;
  padding: 13px 30px !important;
  color: #ffffff !important;
  background: #f37358 !important;
  border: 2px solid #f37358 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(243, 115, 88, 0.22) !important;
  font-weight: 800 !important;
}

.home-page .home-leadership-layout .read-more-btn:hover,
.home-page .home-leadership-layout .read-more-btn:focus-visible {
  color: #ffffff !important;
  background: #42a6a6 !important;
  border-color: #42a6a6 !important;
  box-shadow: 0 12px 28px rgba(66, 166, 166, 0.26) !important;
  transform: translateY(-2px) !important;
}


/* Source: assets/css/home-strength-cards.css?v=1.4 */
.strength-experience-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 12% 12%, rgba(250, 186, 61, 0.2), transparent 30%),
    radial-gradient(circle at 88% 84%, rgba(65, 165, 165, 0.15), transparent 34%),
    linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
}

.strength-experience-section::before {
  content: "";
  position: absolute;
  inset: 44px 4% auto auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(23, 107, 104, 0.12);
  border-radius: 50% 0 50% 50%;
  transform: rotate(18deg);
  pointer-events: none;
}

.strength-experience-section .section-head {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
}

.strength-experience-section .section-head h2 {
  margin-block: 0.65rem 0.8rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
  color: #0b514d;
}

.strength-experience-section .section-head p {
  max-width: 690px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.85;
  color: #55706d;
}

.strength-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2.2vw, 1.65rem) !important;
  margin-top: clamp(2rem, 4vw, 3.4rem) !important;
}

.strength-card {
  --strength-accent: #176b68;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 310px;
  padding: clamp(1.6rem, 3vw, 2.35rem) !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--strength-accent) 22%, transparent) !important;
  border-radius: 34px 34px 10px 34px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 247, 0.94)) !important;
  box-shadow: 0 22px 55px rgba(10, 70, 66, 0.1) !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.strength-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--strength-accent), #faba3d);
}

.strength-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -55px -72px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--strength-accent) 9%, transparent);
}

.strength-card:nth-child(2),
.strength-card:nth-child(6) { --strength-accent: #f27557; }

.strength-card:nth-child(3),
.strength-card:nth-child(7) { --strength-accent: #d99a21; }

.strength-card:nth-child(4) { --strength-accent: #41a5a5; }

.strength-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--strength-accent) 45%, transparent) !important;
  box-shadow: 0 30px 70px rgba(10, 70, 66, 0.16) !important;
}

.strength-card-icon {
  --strength-icon-color: color-mix(in srgb, var(--strength-accent) 38%, #062f2e);
  position: relative;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  flex: 0 0 88px;
  border: 1px solid color-mix(in srgb, var(--strength-accent) 28%, transparent);
  border-radius: 25px 25px 8px 25px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--strength-accent) 15%, #ffffff), #ffffff);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--strength-accent) 18%, transparent);
  color: var(--strength-accent);
  font-family: Arial, sans-serif;
}

.strength-card:nth-child(1) .strength-card-icon { --strength-icon-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4="); }
.strength-card:nth-child(2) .strength-card-icon { --strength-icon-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4="); }
.strength-card:nth-child(3) .strength-card-icon { --strength-icon-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4="); }
.strength-card:nth-child(4) .strength-card-icon { --strength-icon-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4="); }
.strength-card:nth-child(5) .strength-card-icon { --strength-icon-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4="); }
.strength-card:nth-child(6) .strength-card-icon { --strength-icon-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4="); }
.strength-card:nth-child(7) .strength-card-icon { --strength-icon-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjMTIzZjNkIi8+CiAgPGNpcmNsZSBjeD0iMTYwIiBjeT0iMTQwIiByPSIxOTAiIGZpbGw9IiNmMzc0NTgiIG9wYWNpdHk9Ii45Ii8+CiAgPHBhdGggZD0iTTAgNTIwaDM1MHYyODBIMHpNMzc1IDUyMGgzNTB2MjgwSDM3NXpNNzUwIDUyMGg0NTB2MjgwSDc1MHoiIGZpbGw9IiNmNWJkNDMiIG9wYWNpdHk9Ii4yMiIvPgogIDx0ZXh0IHg9IjYwMCIgeT0iNDEwIiBmaWxsPSIjZmZmZmZmIiBmb250LWZhbWlseT0iQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSI3NiIgZm9udC13ZWlnaHQ9IjcwMCIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TGVhZE1pbmRzPC90ZXh0Pgo8L3N2Zz4="); }

.strength-card-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  background: var(--strength-icon-color);
  -webkit-mask-image: var(--strength-icon-image);
  mask-image: var(--strength-icon-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.strength-card-icon img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  opacity: 0;
}

.strength-card-icon b {
  font: inherit;
  line-height: 1;
}

.strength-card-icon i {
  position: absolute;
  margin: 0;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-style: normal;
  line-height: 1;
}

.strength-card-icon--thinker i {
  inset: 8px 8px auto auto;
  color: #f2a91f;
  font-size: 1rem;
  animation: strength-idea-glow 1.8s ease-in-out infinite;
}

.strength-card-icon--gulf {
  gap: 0;
  padding-top: 5px;
}

.strength-card-icon--gulf b {
  transform: translateY(-5px);
}

.strength-card-icon--gulf i {
  inset: auto 0 8px;
  color: var(--strength-accent);
  font-size: 0.62rem;
  font-weight: 800;
}

@keyframes strength-idea-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.85) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(8deg); }
}

.strength-card strong {
  margin: 0 !important;
  color: #0d4f4b !important;
  font-size: clamp(1.32rem, 2vw, 1.65rem) !important;
  font-weight: 800;
  line-height: 1.45;
}

.strength-card > span:last-child {
  display: block;
  width: 100%;
  color: #425f5c !important;
  font-size: clamp(1.04rem, 1.35vw, 1.16rem) !important;
  font-weight: 500;
  line-height: 1.9 !important;
}

.strength-card:last-child {
  grid-column: 2;
}

[data-theme="dark"] .strength-experience-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(250, 186, 61, 0.1), transparent 30%),
    linear-gradient(180deg, #0a2523, #0c302d);
}

[data-theme="dark"] .strength-card {
  background: linear-gradient(145deg, rgba(15, 48, 45, 0.98), rgba(12, 38, 36, 0.98)) !important;
}

[data-theme="dark"] .strength-card strong { color: #f2faf9 !important; }

[data-theme="dark"] .strength-card > span:last-child,
[data-theme="dark"] .strength-experience-section .section-head p { color: #bdd0cd !important; }

@media (max-width: 980px) {
  .strength-experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .strength-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .strength-experience-section { padding-block: 3.6rem; }

  .strength-experience-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
  }

  .strength-card,
  .strength-card:last-child {
    grid-column: auto;
    width: 100%;
    min-height: 285px;
    margin: 0;
    padding: 1.55rem !important;
  }

  .strength-experience-grid > .strength-card.mobile-pair-active {
    display: flex !important;
  }

  .strength-card-icon {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .strength-card-icon img {
    width: 70px;
    height: 70px;
  }

  .strength-card strong { font-size: 1.35rem !important; }

  .strength-card > span:last-child {
    font-size: 1.04rem !important;
    line-height: 1.8 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strength-card { transition: none; }
  .strength-card-icon--thinker i { animation: none; }
}


/* Source: assets/css/home-fold-layout.css?v=1.5 */
/* Approved homepage fold: balanced 70% hero with the strength cards directly below. */
@media (min-width: 1200px) {
  body.home-page .hero-premium-section {
    height: clamp(600px, 70svh, 720px);
    min-height: 600px;
    padding: 136px 0 46px;
  }

  body.home-page .hero-premium-container {
    width: min(1440px, calc(100% - 76px));
    height: 100%;
    grid-template-columns: minmax(540px, 1.08fr) minmax(480px, 0.92fr);
    align-items: center;
    gap: clamp(52px, 6vw, 96px);
  }

  body.home-page .hero-premium-copy {
    align-self: center;
    width: 100%;
  }

  body.home-page .hero-premium-copy .eyebrow {
    margin-bottom: 9px !important;
    padding: 6px 13px !important;
    font-size: 0.76rem !important;
  }

  body.home-page .hero-rotating-title {
    min-height: 2.16em;
    margin-bottom: 20px !important;
    font-size: clamp(3.2rem, 4.65vw, 5.2rem) !important;
    line-height: 1.08 !important;
  }

  body.home-page .hero-premium-desc {
    max-width: 710px;
    margin-bottom: 0 !important;
    font-size: clamp(1.02rem, 1.22vw, 1.24rem) !important;
    line-height: 1.9 !important;
  }

  body.home-page .hero-premium-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  body.home-page .hero-premium-visual .geometric-grid-wrapper {
    width: min(100%, 570px);
    max-width: 570px;
    height: min(46svh, 480px);
    min-height: 405px;
    gap: 11px;
  }

  body.home-page .hero-premium-visual .grid-cell img {
    width: calc(300% + 22px);
    height: calc(200% + 11px);
  }

  body.home-page .hero-premium-visual .cell-1-2 img,
  body.home-page .hero-premium-visual .cell-3-1 img {
    left: calc(-100% - 11px);
  }

  body.home-page .hero-premium-visual .cell-2-1 img,
  body.home-page .hero-premium-visual .cell-3-2 img {
    left: calc(-200% - 22px);
  }

  body.home-page .hero-premium-visual .cell-2-2 img,
  body.home-page .hero-premium-visual .cell-3-1 img,
  body.home-page .hero-premium-visual .cell-3-2 img {
    top: calc(-100% - 11px);
  }

  body.home-page .strength-experience-section {
    min-height: 0;
    margin-top: 0 !important;
    padding: 4px 0 30px !important;
    background:
      radial-gradient(circle at 12% 10%, rgba(250, 186, 61, 0.09), transparent 25%),
      linear-gradient(180deg, #fbfaf6 0%, #f6f2e9 100%);
  }

  body.home-page .strength-experience-section .container {
    width: min(1580px, calc(100% - 48px));
    max-width: none;
  }

  body.home-page .strength-experience-section .section-head {
    margin-top: 0;
    margin-bottom: 12px;
  }

  body.home-page .strength-experience-section .section-head .eyebrow,
  body.home-page .strength-experience-section .section-head p {
    display: none;
  }

  body.home-page .strength-experience-section .section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 2.7vw, 2.95rem);
    line-height: 1.2;
  }

  body.home-page .strength-experience-grid {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: clamp(14px, 1.25vw, 20px) !important;
    margin-top: 0 !important;
  }

  body.home-page .strength-card,
  body.home-page .strength-card:last-child {
    grid-column: auto;
    flex: 0 1 calc(25% - 16px);
    width: calc(25% - 16px);
    min-width: 0;
    min-height: 275px;
    margin: 0;
    padding: 22px 18px 20px !important;
    justify-content: center;
    gap: 11px;
    border: 1px solid rgba(15, 81, 77, 0.12) !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 9px 24px rgba(14, 65, 61, 0.08) !important;
  }

  body.home-page .strength-card::before {
    height: 3px;
    background: var(--strength-accent);
  }

  body.home-page .strength-card::after {
    width: 96px;
    height: 96px;
    inset: auto -34px -40px auto;
    opacity: 0.5;
  }

  body.home-page .strength-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10, 70, 66, 0.13) !important;
  }

  body.home-page .strength-card-icon {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
    border-radius: 50%;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--strength-accent) 15%, transparent);
  }

  body.home-page .strength-card-icon::after {
    inset: 10px;
  }

  body.home-page .strength-card-icon img {
    width: 60px;
    height: 60px;
  }

  body.home-page .strength-card strong {
    font-size: clamp(1.08rem, 1.3vw, 1.32rem) !important;
    line-height: 1.38;
  }

  body.home-page .strength-card > span:last-child {
    font-size: clamp(0.84rem, 0.92vw, 0.98rem) !important;
    line-height: 1.7 !important;
  }
}

@media (min-width: 1200px) and (max-height: 820px) {
  body.home-page .hero-premium-section {
    height: 70svh;
    min-height: 560px;
    padding: 124px 0 36px;
  }

  body.home-page .hero-premium-visual .geometric-grid-wrapper {
    min-height: 365px;
    height: 43svh;
  }

  body.home-page .strength-experience-section {
    padding-block: 2px 22px !important;
  }

  body.home-page .strength-card,
  body.home-page .strength-card:last-child {
    min-height: 250px;
    padding-block: 18px !important;
  }
}


/* Source: assets/css/home-clients-marquee.css?v=2.0 */
.home-clients-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
  background: #fffefa;
}

.home-clients-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.68;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='620' viewBox='0 0 760 620'%3E%3Cg fill='none' stroke='%23efb437' stroke-width='1.2' opacity='.72'%3E%3Cpath d='M-75 12 46 133-75 254M46 133l128-128 128 128-128 128zM174 5l128 128 128-128M430 5 302 133l128 128M430 5h230v230H430zM660 5v230h230M-74 357 46 237l128 128L46 493zM174 365h228v228H174zM402 365l130-130c72 0 130 58 130 130S604 495 532 495L402 365zM532 495l128 128M-75 493 46 614l128-121'/%3E%3Cpath d='M302 593 430 465l128 128-128 128zM660 235v258h230'/%3E%3C/g%3E%3C/svg%3E");
  background-size: clamp(500px, 52vw, 760px) auto;
  background-position: center top;
}

.home-clients-section > .brand-section-motif {
  display: none !important;
}

.home-clients-heading {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.home-clients-heading .section-head {
  max-width: 920px;
  margin-inline: auto;
}

.home-clients-heading h2 {
  color: #194846;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.25rem) clamp(1.1rem, 3vw, 3rem);
  align-items: start;
}

.client-logo-spotlight {
  display: grid;
  grid-template-rows: clamp(72px, 8vw, 106px) minmax(1.35rem, auto);
  place-items: center;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.client-logo-spotlight img {
  display: block;
  width: min(100%, 180px);
  height: clamp(64px, 7vw, 94px);
  object-fit: contain;
  filter: grayscale(1) contrast(0.74) opacity(0.72);
  mix-blend-mode: multiply;
  transform: scale(0.96);
  transition: filter 420ms ease, transform 420ms ease, opacity 420ms ease;
}

.client-logo-name {
  display: block;
  max-width: 100%;
  color: #194846;
  font-size: clamp(0.72rem, 0.85vw, 0.88rem);
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.client-logo-spotlight.is-active img {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: scale(1.06);
}

.client-logo-spotlight.is-active .client-logo-name {
  opacity: 1;
  transform: translateY(0);
}

.clients-partners-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.clients-partners-action .button {
  min-width: min(100%, 250px);
  justify-content: center;
}

[data-theme="dark"] .home-clients-section {
  background: #102f2d;
}

[data-theme="dark"] .home-clients-section::before {
  opacity: 0.28;
}

[data-theme="dark"] .home-clients-heading h2,
[data-theme="dark"] .client-logo-name {
  color: #f9bb3c;
}

[data-theme="dark"] .client-logo-spotlight img {
  mix-blend-mode: normal;
}

@media (max-width: 991px) {
  .clients-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .home-clients-section {
    padding-block: 3.25rem;
  }

  .clients-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.75rem;
  }

  .client-logo-spotlight {
    grid-template-rows: 72px minmax(2.2rem, auto);
  }

  .client-logo-spotlight img {
    width: min(100%, 132px);
    height: 66px;
  }

  .client-logo-name {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-spotlight img,
  .client-logo-name {
    transition: none;
  }
}


/* Source: assets/css/home-why-cards.css (why-leadminds-2b) */
.why-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  width: 100%;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 117, 87, 0.12), transparent 27%),
    radial-gradient(circle at 10% 90%, rgba(65, 165, 165, 0.14), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f4f9f7 100%) !important;
}

.why-section::before {
  content: "";
  position: absolute;
  inset: 9% auto auto 4%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(23, 107, 104, 0.12);
  border-radius: 50% 50% 8% 50%;
  transform: rotate(-16deg);
  pointer-events: none;
}

.why-intro {
  padding: 0 32px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 1000px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.why-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  background: rgba(243, 116, 88, .12);
  color: #B8441F;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 0;
}

.why-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: #17706B;
}

.why-sub {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.75;
  color: #40595A;
}

.why-grid {
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.why-card {
  border: 1px solid rgba(14, 39, 39, .10) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 24px -16px rgba(14, 39, 39, .5) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

[dir="ltr"] .why-card,
html[lang="en"] .why-card {
  text-align: left !important;
}

.why-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 32px -14px rgba(14, 39, 39, .4) !important;
}

.why-card::before,
.why-card::after {
  display: none !important;
  content: none !important;
}

.why-card-head {
  min-height: 64px !important;
  height: 64px !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border-radius: 0 !important;
  flex: none !important;
}

.why-icon {
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 255, 255, .18) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38) !important;
  border-radius: 50% !important;
  color: #fff !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.why-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.why-num {
  font: 700 13px/1 ui-monospace, Menlo, monospace !important;
  color: rgba(255, 255, 255, .9) !important;
  letter-spacing: .06em !important;
  margin: 0 !important;
  padding: 0 !important;
}

.why-card h3 {
  margin: 16px 20px 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #0E2727 !important;
  text-align: inherit !important;
}

.why-card details {
  margin: 8px 20px 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

.why-card details > summary {
  list-style: none !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
}

.why-card details > summary::-webkit-details-marker {
  display: none !important;
}

.card-body {
  margin: 0 !important;
  font: 400 15px/1.75 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
  color: #40595A !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: inherit !important;
}

.why-card details[open] .card-body {
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.more-label {
  align-self: flex-start !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font: 700 14px/1 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.more-label::after {
  content: "اقرأ المزيد";
}

[dir="ltr"] .more-label::after,
html[lang="en"] .more-label::after {
  content: "Read more" !important;
}

.why-card details[open] .more-label::after {
  content: "إخفاء";
}

[dir="ltr"] .why-card details[open] .more-label::after,
html[lang="en"] .why-card details[open] .more-label::after {
  content: "Show less" !important;
}

.why-card details[open] .more-label svg {
  transform: rotate(180deg) !important;
}

.more-label svg {
  transition: transform .2s ease !important;
  flex: none !important;
}

/* Tablet: keep 2x2 down to 560px, then stack to single column */
@media (max-width: 560px) {
  .why-section {
    padding: 48px 0 !important;
  }
  .why-intro {
    padding: 0 20px !important;
    margin-bottom: 24px !important;
  }
  .why-title {
    font-size: 22px !important;
  }
  .why-grid {
    padding: 0 20px !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* Source: assets/css/home-hero-colors.css?v=1.1 */
/* Homepage hero palette only â€” layout, media, typography and motion stay unchanged. */
body.home-page .hero-premium-section {
  background-color: #f37458;
  background-image:
    radial-gradient(ellipse at 4% 93%, rgba(255, 226, 113, 0.98) 0 10%, rgba(255, 199, 68, 0.9) 27%, transparent 52%),
    radial-gradient(ellipse at 12% 38%, rgba(255, 187, 57, 0.93) 0 11%, rgba(246, 116, 82, 0.78) 40%, transparent 65%),
    radial-gradient(ellipse at 44% 12%, rgba(238, 83, 85, 0.9) 0 18%, transparent 49%),
    radial-gradient(ellipse at 67% 52%, rgba(15, 74, 72, 0.97) 0 22%, rgba(19, 82, 78, 0.9) 44%, transparent 67%),
    radial-gradient(ellipse at 96% 94%, rgba(174, 224, 215, 0.98) 0 10%, rgba(75, 167, 160, 0.9) 35%, transparent 59%),
    linear-gradient(104deg, #ffd75b 0%, #f67458 42%, #0f5552 73%, #063a39 100%);
}

body.home-page .hero-premium-section::before {
  background-image: url("data:image/svg+xml,%3Csvg width='1920' height='1080' viewBox='0 0 1920 1080' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23FFD15A' stroke-opacity='.34' stroke-width='1.15'%3E%3Cpath d='M-180 18H550V268C550 465 390 625 193 625H-180V18Z'/%3E%3Cpath d='M570-210H1150V0C1150 196 991 355 795 355H570V-210Z'/%3E%3Cpath d='M1168-170H1530V115C1530 315 1368 477 1168 477V-170Z'/%3E%3Cpath d='M1548-76H2050V412H1892C1702 412 1548 258 1548 68V-76Z'/%3E%3Cpath d='M-210 646H370V1096H128C-59 1096-210 945-210 758V646Z'/%3E%3Cpath d='M389 646H955V1076H831C587 1076 389 878 389 634V646Z'/%3E%3Cpath d='M977 503H1445V970H1325C1133 970 977 814 977 622V503Z'/%3E%3Cpath d='M1467 492H2000V1078H1818C1624 1078 1467 921 1467 727V492Z'/%3E%3Cpath d='M-44 292C183 292 367 476 367 703V1068'/%3E%3Cpath d='M959 12C1252 12 1489 249 1489 542V1058'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 1;
  mix-blend-mode: normal;
}

body.home-page .hero-premium-title span {
  background: linear-gradient(110deg, #ffd05a 0%, #ffbb3e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

body.home-page .hero-premium-desc {
  color: rgba(255, 255, 255, 0.96) !important;
  text-shadow: 0 3px 16px rgba(179, 72, 57, 0.18);
}

body.home-page .hero-premium-copy .eyebrow {
  border-color: rgba(255, 194, 68, 0.72) !important;
  background: rgba(255, 187, 62, 0.92) !important;
  color: #ffffff !important;
}

body.home-page .grid-cell {
  background: rgba(255, 187, 62, 0.34);
  box-shadow: 0 20px 50px rgba(179, 72, 57, 0.16);
}

body.home-page .hero-premium-visual::before {
  border-color: rgba(217, 99, 83, 0.38);
}

body.home-page .grid-overlay-svg circle,
body.home-page .grid-overlay-svg path {
  stroke: rgba(217, 99, 83, 0.32);
}


/* Source: assets/css/hero-navigation.css?v=1.0 */
.hero-related-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    margin-top: 28px;
    direction: rtl;
}

.hero-related-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 52px;
    padding: 12px 25px;
    border: 2px solid #ffc13b;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.hero-related-link--primary {
    color: #073f42;
    background: #ffc13b;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.hero-related-link--secondary {
    color: #fff;
    background: rgba(7, 73, 74, .2);
    backdrop-filter: blur(8px);
}

.hero-related-link:hover {
    color: #073f42;
    background: #fff8ed;
    border-color: #fff8ed;
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .2);
}

.hero-related-link:focus-visible {
    outline: 3px solid #bdebed;
    outline-offset: 4px;
}

.post-header .hero-related-actions,
.course-header .hero-related-actions {
    margin-top: 24px;
}

.post-header .hero-related-link--secondary,
.course-header .hero-related-link--secondary {
    color: #073f42;
    border-color: #0b7b74;
    background: transparent;
}

@media (max-width: 560px) {
    .hero-related-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .hero-related-link {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        min-height: 48px;
        padding: 11px 14px;
        font-size: 14px;
    }
}


/* Source: assets/css/unified-footer.css?v=1.0 */
/* Final shared footer presentation used across every full site page. */
body.about-page {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html body > footer.footer.footer-compact {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  isolation: isolate;
  z-index: 20 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 380px;
  margin: 0 !important;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 2rem !important;
  overflow: visible !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(65, 165, 165, 0.26), transparent 28rem),
    radial-gradient(circle at 88% 100%, rgba(242, 115, 87, 0.2), transparent 28rem),
    #071a1a !important;
  border-top: 1px solid rgba(250, 186, 61, 0.3) !important;
}

html body > footer.footer.footer-compact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(250, 186, 61, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 186, 61, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
}

html body > footer.footer.footer-compact > .container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  width: min(1180px, calc(100% - 2rem)) !important;
  margin: 0 auto !important;
}

html body > footer.footer.footer-compact .footer-shell {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  grid-template-columns: 1fr !important;
  gap: 1.35rem !important;
  width: 100% !important;
  min-height: 280px;
  margin: 0 !important;
  padding: clamp(1.4rem, 3.5vw, 2.6rem) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background: linear-gradient(145deg, rgba(13, 42, 42, 0.98), rgba(6, 24, 24, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34) !important;
}

html body > footer.footer.footer-compact .footer-summary,
html body > footer.footer.footer-compact .footer-inline-links,
html body > footer.footer.footer-compact .footer-contact-row,
html body > footer.footer.footer-compact .footer-actions-row,
html body > footer.footer.footer-compact .footer-bottom {
  visibility: visible !important;
  opacity: 1 !important;
}

html body > footer.footer.footer-compact .footer-summary strong {
  display: block !important;
  color: #fff !important;
  font-size: clamp(1.6rem, 3vw, 2.35rem) !important;
  line-height: 1.2 !important;
}

html body > footer.footer.footer-compact .footer-summary p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76) !important;
}

html body > footer.footer.footer-compact .footer-summary .footer-slogan {
  color: #faba3d !important;
}

html body > footer.footer.footer-compact .footer-inline-links,
html body > footer.footer.footer-compact .footer-contact-row,
html body > footer.footer.footer-compact .footer-actions-row,
html body > footer.footer.footer-compact .footer-bottom {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.8rem 1.25rem !important;
}

html body > footer.footer.footer-compact .footer-inline-links a {
  display: inline-flex !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700 !important;
}

html body > footer.footer.footer-compact .footer-contact-row span,
html body > footer.footer.footer-compact .footer-bottom span {
  display: inline-block !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

html body > footer.footer.footer-compact .footer-bottom {
  justify-content: space-between !important;
  padding-top: 1.1rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 700px) {
  html body > footer.footer.footer-compact {
    min-height: 0;
    padding-bottom: 6.5rem !important;
  }

  html body > footer.footer.footer-compact .footer-shell {
    min-height: 0;
    padding: 1.35rem !important;
    border-radius: 18px !important;
  }

  html body > footer.footer.footer-compact .footer-inline-links,
  html body > footer.footer.footer-compact .footer-contact-row,
  html body > footer.footer.footer-compact .footer-actions-row,
  html body > footer.footer.footer-compact .footer-bottom {
    justify-content: flex-start !important;
  }
}


/* Source: assets/css/english.css?v=1.2 */
html.lang-en,
html.lang-en body {
  direction: ltr;
  text-align: left;
}

html.lang-en body {
  font-family: "Genos", "IBM Plex Sans Arabic", Arial, sans-serif;
  top: 0 !important;
}

html.lang-en .site-header,
html.lang-en .site-nav,
html.lang-en .nav-panel,
html.lang-en .programs-nav-row,
html.lang-en .site-footer,
html.lang-en main,
html.lang-en section,
html.lang-en article,
html.lang-en form {
  direction: ltr;
}

html.lang-en .hero-premium-copy,
html.lang-en .page-hero-copy,
html.lang-en .section-head,
html.lang-en .about-profile-copy,
html.lang-en .expert-showcase-copy,
html.lang-en .article-content,
html.lang-en .footer-column {
  text-align: left !important;
  align-items: flex-start !important;
}

html.lang-en .hero-premium-container,
html.lang-en .page-hero-inner,
html.lang-en .about-profile-layout,
html.lang-en .expert-showcase-layout {
  direction: ltr;
}

html.lang-en .hero-related-actions {
  direction: ltr;
}

html.lang-en .hero-rotating-title,
html.lang-en .hero-premium-title,
html.lang-en h1,
html.lang-en h2,
html.lang-en h3 {
  letter-spacing: normal !important;
}

/*
 * English headings and paragraphs usually occupy more horizontal and vertical
 * space than their Arabic equivalents. Keep the approved 70% homepage fold,
 * while reserving enough room for both hero navigation buttons.
 */
@media (min-width: 1200px) {
  html.lang-en body.home-page .hero-premium-section {
    min-height: 620px;
  }

  html.lang-en body.home-page .hero-rotating-title {
    min-height: 2.08em;
    margin-bottom: 14px !important;
    font-size: clamp(2.8rem, 4vw, 4.55rem) !important;
    line-height: 1.04 !important;
  }

  html.lang-en body.home-page .hero-premium-desc {
    max-width: 680px;
    font-size: clamp(0.96rem, 1.05vw, 1.08rem) !important;
    line-height: 1.72 !important;
  }

  html.lang-en body.home-page .hero-related-actions {
    margin-top: 18px;
  }
}

@media (min-width: 1200px) and (max-height: 820px) {
  html.lang-en body.home-page .hero-premium-section {
    min-height: 590px;
  }

  html.lang-en body.home-page .hero-rotating-title {
    font-size: clamp(2.65rem, 3.75vw, 4.15rem) !important;
  }

  html.lang-en body.home-page .hero-premium-desc {
    line-height: 1.62 !important;
  }

  html.lang-en body.home-page .hero-related-actions {
    margin-top: 14px;
  }
}

#google_translate_element,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate,
body > div.skiptranslate:first-child,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}

html.translated-ltr body {
  top: 0 !important;
}


/* Source: assets/css/home-frontend-only.css?v=1.5 */
/* Homepage-only refinements. The existing hero artwork, layout and copy stay intact. */

html {
  scroll-behavior: smooth;
}

#impact,
#why-leadminds,
#clients,
#leadership,
#knowledge,
#contact-home {
  scroll-margin-top: 128px;
}

body.home-page .site-header.premium-header {
  will-change: transform;
  transition: transform 260ms cubic-bezier(.22, .61, .36, 1) !important;
}

body.home-page .site-header.premium-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8px max(12px, calc((100% - 1440px) / 2)) 6px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 24px;
  background: rgba(13, 48, 47, .46);
  box-shadow: 0 16px 38px rgba(8, 37, 36, .28);
  backdrop-filter: blur(26px) saturate(125%);
  -webkit-backdrop-filter: blur(26px) saturate(125%);
  pointer-events: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

body.home-page .site-header.premium-header > * {
  position: relative;
  z-index: 1;
}

body.home-page .site-header.premium-header.scrolled::before {
  border-color: rgba(255, 255, 255, .44);
  background: rgba(11, 44, 43, .62);
  box-shadow: 0 18px 42px rgba(8, 37, 36, .34);
  backdrop-filter: blur(30px) saturate(130%);
  -webkit-backdrop-filter: blur(30px) saturate(130%);
}

body.home-page .site-header.premium-header.header-hidden {
  transform: translateY(calc(-100% - 16px));
}

body.home-page.drawer-open .site-header.premium-header {
  transform: translateY(0);
}

body.home-page .site-header .nav-dropdown-caret {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

@media (min-width: 1200px) {
  body.home-page .site-header .nav-dropdown-menu {
    min-width: 430px !important;
    padding: 10px !important;
  }

  body.home-page .site-header .nav-dropdown-link {
    padding: 12px 16px !important;
    line-height: 1.65 !important;
  }
}

/* Enlarge the original hero without replacing its image, grid or copy. */
body.home-page .hero-premium-section {
  display: flex;
  min-height: max(940px, 100svh);
  padding-bottom: 208px !important;
  flex-direction: column;
}

body.home-page .hero-premium-container {
  flex: 1 0 auto;
  min-height: 620px;
  padding-bottom: 24px;
}

/* The strip deliberately has no panel/card/glass fill: it is part of the hero. */
.hero-impact-strip {
  position: absolute !important;
  z-index: 12 !important;
  right: 16px;
  bottom: 24px;
  left: 16px;
  width: auto;
  color: #fff;
  background: rgba(8, 48, 47, .96);
  border: 1px solid rgba(255, 224, 144, .46);
  border-radius: 22px;
  box-shadow: 0 20px 52px rgba(4, 29, 28, .38);
  overflow: hidden;
}

.hero-impact-strip::before,
.hero-impact-strip::after {
  display: none;
}

.hero-impact-strip__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .35) transparent;
}

.hero-impact-strip__track {
  display: grid;
  grid-template-columns: repeat(9, minmax(140px, 1fr));
  width: 100%;
  min-width: 1260px;
  direction: ltr;
}

.hero-impact-item {
  position: relative;
  display: flex;
  width: auto;
  min-height: 184px;
  min-width: 0;
  padding: 25px 14px 21px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  direction: rtl;
  text-align: center;
  border-inline-end: 1px solid rgba(255, 255, 255, .23);
}

.hero-impact-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  border-radius: 999px;
  background: #ffcf56;
  transform: scaleX(.36);
  transform-origin: center;
  transition: transform 220ms ease;
}

.hero-impact-item:nth-child(3n + 2)::before { background: #7ccbc2; }
.hero-impact-item:nth-child(3n + 3)::before { background: #ff8c74; }
.hero-impact-item:hover::before { transform: scaleX(.72); }

.hero-impact-number,
.hero-impact-certifications {
  display: block;
  color: #fff4d4;
  font-family: "Cairo", sans-serif;
  font-size: clamp(2.05rem, 2.7vw, 3.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow: 0 8px 24px rgba(5, 43, 42, .2);
}

.hero-impact-number--since {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-impact-number small {
  font-size: .38em;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-impact-label {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(.8rem, .88vw, .98rem);
  font-weight: 700;
  line-height: 1.65;
}

.hero-impact-en {
  display: block;
  max-width: 290px;
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-family: "Cairo", sans-serif;
  font-size: clamp(.58rem, .62vw, .7rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .035em;
}

.hero-impact-certifications {
  font-size: clamp(1.3rem, 1.7vw, 2rem);
  letter-spacing: .02em;
}

@media (max-width: 1199px) {
  body.home-page .site-header.premium-header::before {
    inset: 7px 10px;
    border-radius: 20px;
  }

  body.home-page .hero-premium-section {
    min-height: max(900px, 100svh);
    padding-bottom: 202px !important;
  }

  body.home-page .hero-premium-container {
    min-height: 590px;
  }
}

@media (max-width: 767px) {
  body.home-page .hero-premium-section {
    min-height: 0;
    padding-bottom: 190px !important;
  }

  body.home-page .hero-premium-container {
    min-height: 740px;
    padding-bottom: 20px;
  }

  .hero-impact-item {
    width: auto;
    min-height: 168px;
    padding: 22px 13px;
  }

  .hero-impact-strip {
    right: 10px;
    bottom: 16px;
    left: 10px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .site-header.premium-header {
    transition: none !important;
  }
}


/* Two-row impact panel matched to the supplied reference. */
body.home-page .hero-premium-section {
  min-height: max(1280px, 100svh) !important;
  padding-bottom: 520px !important;
}

.hero-impact-strip {
  right: clamp(14px, 4vw, 64px) !important;
  bottom: 24px !important;
  left: clamp(14px, 4vw, 64px) !important;
  color: #0b2e4a !important;
  background: rgba(250, 248, 242, .98) !important;
  border: 1px solid rgba(11, 46, 74, .32) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 58px rgba(4, 29, 28, .32) !important;
}

.hero-impact-strip__viewport {
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.hero-impact-strip__track {
  display: block !important;
  width: 100% !important;
  min-width: 980px !important;
  padding: 22px 30px 18px !important;
  direction: rtl !important;
}

.hero-impact-row {
  display: grid;
  align-items: stretch;
  width: 100%;
}

.hero-impact-row--primary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hero-impact-row--secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 82%;
  margin-inline: auto;
}

.hero-impact-item {
  min-height: 176px !important;
  padding: 8px 18px 12px !important;
  color: #0b2e4a !important;
  border: 0 !important;
  border-inline-end: 1px solid rgba(11, 46, 74, .42) !important;
  background: transparent !important;
}

.hero-impact-row .hero-impact-item:last-child {
  border-inline-end: 0 !important;
}

.hero-impact-item::before {
  content: none !important;
  display: none !important;
}

.hero-impact-icon {
  display: grid;
  min-height: 64px;
  place-items: center;
  margin-bottom: 2px;
  font-size: 3.7rem;
  line-height: 1;
  filter: drop-shadow(0 7px 7px rgba(11, 46, 74, .12));
}

.hero-impact-icon--gauge {
  width: 76px;
  height: 64px;
  min-height: 0;
  margin: 0 auto 3px;
  color: #0f6d6c;
  font-size: 4.2rem;
  border: 9px solid #8ac3bb;
  border-top-color: #f3b43b;
  border-right-color: #f3b43b;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.hero-impact-number,
.hero-impact-certifications {
  color: #ff8062 !important;
  font-family: "Cairo", sans-serif !important;
  font-size: clamp(2.65rem, 3.4vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
  text-shadow: none !important;
}

.hero-impact-item--ring .hero-impact-number {
  display: grid !important;
  width: 124px;
  height: 124px;
  margin: 0 auto 7px;
  place-items: center;
  border: 3px solid #0b4c70;
  border-radius: 50%;
  background:
    radial-gradient(circle, #faf8f2 66%, transparent 68%),
    conic-gradient(#f3b43b 0 12%, #7bbdb7 12% 88%, #0b4c70 88% 100%);
  box-shadow: inset 0 0 0 8px #faf8f2;
}

.hero-impact-item--ring {
  padding-top: 2px !important;
}

.hero-impact-label {
  margin-top: 7px !important;
  color: #0b2e4a !important;
  font-size: clamp(.95rem, 1.15vw, 1.18rem) !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
}

.hero-impact-note {
  display: block;
  margin-top: 3px;
  color: #0b2e4a;
  font-size: clamp(.72rem, .85vw, .88rem);
  font-weight: 700;
  line-height: 1.5;
}

.hero-impact-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 10px auto 12px;
  color: #0b2e4a;
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.18rem, 1.65vw, 1.65rem);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.hero-impact-heading::before,
.hero-impact-heading::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(11, 46, 74, .65);
}

.hero-impact-kicker {
  margin-bottom: 0;
  color: #0b2e4a;
  font-size: .9rem;
  font-weight: 800;
}

.hero-impact-certifications {
  margin-top: 7px;
  color: #0b2e4a !important;
  font-size: 1rem !important;
  letter-spacing: .04em !important;
}

.hero-impact-item--since .hero-impact-icon {
  margin-bottom: -2px;
}

@media (max-width: 767px) {
  body.home-page .hero-premium-section {
    padding-bottom: 500px !important;
  }

  .hero-impact-strip {
    right: 8px !important;
    bottom: 14px !important;
    left: 8px !important;
  }

  .hero-impact-strip__track {
    padding-inline: 20px !important;
  }
}
.hero-impact-item--ring .hero-impact-number {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Keep the main impact row inside the hero, and place certifications below it. */
body.home-page .hero-premium-section {
  min-height: max(1020px, 100svh) !important;
  padding-bottom: 246px !important;
}

.hero-impact-strip {
  bottom: 22px !important;
  color: #fff !important;
  background: rgba(5, 37, 38, .76) !important;
  border-color: rgba(255, 255, 255, .3) !important;
  box-shadow: 0 24px 58px rgba(2, 21, 22, .42) !important;
  -webkit-backdrop-filter: blur(22px) saturate(125%) !important;
  backdrop-filter: blur(22px) saturate(125%) !important;
}

.hero-impact-strip__track {
  padding: 18px 26px !important;
}

.hero-impact-strip .hero-impact-item {
  min-height: 178px !important;
  color: #fff !important;
  border-inline-end-color: rgba(255, 255, 255, .3) !important;
}

.hero-impact-strip .hero-impact-label,
.hero-impact-strip .hero-impact-note {
  color: #fff !important;
}

.hero-impact-strip .hero-impact-item--ring .hero-impact-number {
  background:
    radial-gradient(circle, rgba(5, 37, 38, .94) 66%, transparent 68%),
    conic-gradient(#f3b43b 0 12%, #7bbdb7 12% 88%, #e7f4f1 88% 100%) !important;
  border-color: rgba(231, 244, 241, .95) !important;
  box-shadow: inset 0 0 0 8px rgba(5, 37, 38, .94) !important;
}

.certification-impact-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 48px 0 58px;
  color: #0b2e4a;
  background: #fff;
}

.certification-impact-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: thin;
}

.certification-impact-section .hero-impact-heading {
  width: 100%;
  min-width: 760px;
  margin: 0 auto 22px;
}

.certification-impact-section .hero-impact-row--secondary {
  min-width: 760px;
}

.certification-impact-section .hero-impact-item {
  min-height: 210px !important;
  color: #0b2e4a !important;
  border-inline-end-color: rgba(11, 46, 74, .42) !important;
}

.certification-impact-section .hero-impact-label,
.certification-impact-section .hero-impact-note,
.certification-impact-section .hero-impact-kicker,
.certification-impact-section .hero-impact-certifications {
  color: #0b2e4a !important;
}

@media (max-width: 767px) {
  body.home-page .hero-premium-section {
    min-height: 0 !important;
    padding-bottom: 238px !important;
  }

  .hero-impact-strip {
    bottom: 14px !important;
  }

  .certification-impact-section {
    padding-block: 38px 46px;
  }
}

/* Supplied coral artwork, embedded in index.html to keep the project at 3 files. */
.hero-impact-icon-image {
  display: block;
  width: 82px;
  height: 72px;
  margin: 0 auto 4px;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(2, 21, 22, .18));
}

@media (min-width: 768px) {
  .hero-impact-strip {
    bottom: 12px !important;
  }
}

.certification-impact-section .hero-impact-icon-image {
  width: 104px;
  height: 88px;
  margin-bottom: 2px;
  filter: drop-shadow(0 7px 8px rgba(11, 46, 74, .1));
}

@media (max-width: 767px) {
  .hero-impact-icon-image {
    width: 76px;
    height: 68px;
  }
}

/* Neutral fixed glass header: always visible, without a strong green tint. */
body.home-page .site-header.premium-header,
body.home-page .site-header.premium-header.scrolled,
body.home-page .site-header.premium-header.header-hidden {
  position: fixed !important;
  transform: none !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

body.home-page .site-header.premium-header::before,
body.home-page .site-header.premium-header.scrolled::before {
  border-color: rgba(255, 255, 255, .48) !important;
  background: rgba(31, 35, 37, .48) !important;
  box-shadow: 0 14px 36px rgba(15, 22, 24, .2) !important;
  -webkit-backdrop-filter: blur(28px) saturate(72%) !important;
  backdrop-filter: blur(28px) saturate(72%) !important;
}

/* Keep the impact strip directly after the hero copy and city artwork. */
body.home-page .hero-premium-section {
  height: auto !important;
  min-height: max(860px, 100svh) !important;
  padding-bottom: 12px !important;
}

body.home-page .hero-premium-container {
  flex: 1 1 auto;
  padding-bottom: 8px !important;
}

body.home-page .hero-impact-strip {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  flex: 0 0 auto;
  width: calc(100% - clamp(28px, 8vw, 128px)) !important;
  margin: 4px auto 0 !important;
}

body.home-page .hero-impact-strip__track {
  padding: 9px 24px !important;
}

body.home-page .hero-impact-strip .hero-impact-item {
  min-height: 158px !important;
  padding: 5px 14px 7px !important;
}

body.home-page .hero-impact-strip .hero-impact-icon-image {
  width: 70px;
  height: 58px;
  margin-bottom: 1px;
}

body.home-page .hero-impact-strip .hero-impact-number {
  font-size: clamp(2.3rem, 3vw, 3.45rem) !important;
}

body.home-page .hero-impact-strip .hero-impact-item--ring .hero-impact-number {
  width: 108px;
  height: 108px;
  margin-bottom: 3px;
}

body.home-page .hero-impact-strip .hero-impact-label {
  margin-top: 4px !important;
  font-size: clamp(.88rem, 1vw, 1.04rem) !important;
  line-height: 1.42 !important;
}

body.home-page .hero-impact-strip .hero-impact-note {
  font-size: clamp(.68rem, .76vw, .8rem);
  line-height: 1.35;
}

/* White frosted header with its complete contents centered in both directions. */
body.home-page .site-header.premium-header::before,
body.home-page .site-header.premium-header.scrolled::before {
  inset: 8px auto 6px 50% !important;
  width: min(1240px, calc(100% - 24px));
  transform: translateX(-50%);
  border-color: rgba(255, 255, 255, .68) !important;
  background: rgba(255, 255, 255, .24) !important;
  box-shadow: 0 14px 38px rgba(18, 25, 27, .16) !important;
  -webkit-backdrop-filter: blur(30px) saturate(82%) brightness(1.06) !important;
  backdrop-filter: blur(30px) saturate(82%) brightness(1.06) !important;
}

body.home-page .premium-header .header-shell {
  width: min(1200px, calc(100% - 56px)) !important;
  max-width: 1200px !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(12px, 1.5vw, 24px) !important;
}

@media (max-width: 767px) {
  body.home-page .hero-premium-section {
    min-height: 0 !important;
    padding-bottom: 10px !important;
  }

  body.home-page .hero-impact-strip {
    width: calc(100% - 16px) !important;
    margin-top: 8px !important;
  }

  body.home-page .premium-header .header-shell {
    width: calc(100% - 32px) !important;
  }
}

/* Mobile hero: replace the city artwork with four impact cards in a 2x2 grid. */
@media (max-width: 767px) {
  body.home-page .hero-premium-container {
    display: block !important;
    min-height: 0 !important;
    padding-bottom: 4px !important;
  }

  body.home-page .hero-premium-visual {
    display: none !important;
  }

  body.home-page .hero-impact-strip {
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  body.home-page .hero-impact-strip__viewport {
    overflow: visible !important;
  }

  body.home-page .hero-impact-strip__track {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
  }

  body.home-page .hero-impact-row--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  body.home-page .hero-impact-row--primary .hero-impact-item--ring {
    display: none !important;
  }

  body.home-page .hero-impact-strip .hero-impact-item {
    min-height: 148px !important;
    padding: 10px 7px !important;
    border-inline-end: 1px solid rgba(255, 255, 255, .26) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .26) !important;
  }

  body.home-page .hero-impact-row--primary .hero-impact-item:nth-child(4),
  body.home-page .hero-impact-row--primary .hero-impact-item:nth-child(5) {
    border-bottom: 0 !important;
  }

  body.home-page .hero-impact-row--primary .hero-impact-item:nth-child(3),
  body.home-page .hero-impact-row--primary .hero-impact-item:nth-child(5) {
    border-inline-end: 0 !important;
  }

  body.home-page .hero-impact-strip .hero-impact-icon-image {
    width: 66px;
    height: 54px;
  }

  body.home-page .hero-impact-strip .hero-impact-number {
    font-size: clamp(2.05rem, 10vw, 2.8rem) !important;
  }

  body.home-page .hero-impact-strip .hero-impact-label {
    font-size: .84rem !important;
  }

  body.home-page .hero-impact-strip .hero-impact-note {
    font-size: .68rem !important;
  }

  .certification-impact-section {
    overflow: hidden !important;
  }

  .certification-impact-container {
    width: min(100% - 24px, 520px);
    overflow: visible !important;
  }

  .certification-impact-section .hero-impact-heading {
    min-width: 0 !important;
    gap: 9px;
    font-size: 1.08rem;
  }

  .certification-impact-section .hero-impact-row--secondary {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .certification-impact-section .hero-impact-item {
    min-height: 195px !important;
    padding: 22px 12px !important;
    border-inline-end: 0 !important;
    border-bottom: 1px solid rgba(11, 46, 74, .28) !important;
  }

  .certification-impact-section .hero-impact-item:last-child {
    border-bottom: 0 !important;
  }
}

/* Keep the English homepage hero introduction comfortably readable. */
html.lang-en body.home-page .hero-premium-desc {
  max-width: 760px !important;
  font-size: clamp(1.18rem, 1.45vw, 1.42rem) !important;
  line-height: 1.82 !important;
  font-weight: 500 !important;
}

@media (max-width: 767px) {
  html.lang-en body.home-page .hero-premium-desc {
    max-width: 100% !important;
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
  }
}

/* 2026-08-04: full-width milky-glass header on every viewport. */
.site-header.premium-header::before,
.site-header.premium-header.scrolled::before,
body.home-page .site-header.premium-header::before,
body.home-page .site-header.premium-header.scrolled::before {
  inset: 6px 8px !important;
  width: auto !important;
  transform: none !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  background: rgba(255, 253, 246, .76) !important;
  box-shadow: 0 12px 34px rgba(13, 45, 48, .13) !important;
  -webkit-backdrop-filter: blur(24px) saturate(125%) !important;
  backdrop-filter: blur(24px) saturate(125%) !important;
}

.site-header.premium-header .container.header-shell,
body.home-page .premium-header .header-shell {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: clamp(12px, 2vw, 34px) !important;
}
.footer-social-link { display:inline-grid !important; width:42px !important; height:42px !important; padding:0 !important; place-items:center; border-radius:50% !important; }
.footer-social-link svg { width:20px; height:20px; }
.footer-social-link--facebook { background:#1877f2 !important; color:#fff !important; }
.footer-social-link--instagram { background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045) !important; color:#fff !important; }
.footer-social-link--linkedin { background:#0a66c2 !important; color:#fff !important; }
.footer-social-link--tiktok { background:#111 !important; color:#fff !important; }

/* Swap the homepage hero color balance in the standalone English version. */
html[dir="ltr"] body.home-page .hero-premium-section {
  background:
    radial-gradient(circle at 16% 48%, rgba(8, 87, 82, .62), transparent 37%),
    radial-gradient(circle at 88% 40%, rgba(255, 190, 55, .9), transparent 46%),
    linear-gradient(112deg, #075d57 0%, #0d746b 46%, #f4b632 100%) !important;
}

/* Use the supplied brand artwork behind partners, founders and experts. */
.clients-section,
.home-clients-section,
.home-leadership-section,
.founders-message,
.leadership-section,
.experts-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.clients-section::after,
.home-clients-section::after,
.home-leadership-section::after,
.founders-message::after,
.leadership-section::after,
.experts-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../images/hero-art/international-certifications-hero.png") center / min(720px, 72vw) auto no-repeat;
  opacity: .075;
}

@media (max-width: 767px) {
  .site-header.premium-header::before,
  .site-header.premium-header.scrolled::before,
  body.home-page .site-header.premium-header::before,
  body.home-page .site-header.premium-header.scrolled::before {
    inset-inline: 4px !important;
  }

  .site-header.premium-header .container.header-shell,
  body.home-page .premium-header .header-shell {
    width: calc(100% - 12px) !important;
    padding-inline: 8px !important;
  }

  html[dir="ltr"] body.home-page .premium-header .brand-saas {
    margin-right: 10px !important;
  }
}

@media (min-width: 992px) {
  body .site-header.premium-header .container.header-shell { display:grid !important; grid-template-columns:max-content minmax(0,1fr) max-content !important; align-items:center !important; gap:clamp(6px, 1vw, 12px) !important; }
  body .premium-header .brand-saas { width:auto !important; min-width:0 !important; margin:0 !important; align-items:flex-start !important; }
  body .premium-header .site-nav-saas,
  body .premium-header .site-nav-saas .nav-panel,
  body .premium-header .site-nav-saas .nav-list { width:100% !important; min-width:0 !important; margin:0 !important; justify-content:center !important; align-items:center !important; }
  body .premium-header .site-nav-saas .nav-item { min-width:0 !important; flex-shrink:1 !important; }
  body .premium-header .site-nav-saas .nav-list { gap:clamp(2px, 0.5vw, 6px) !important; }
  body .premium-header .site-nav-saas .nav-link { padding:.3rem clamp(.3rem, 0.6vw, .6rem) !important; font-size:clamp(10px, 0.75vw, 13px) !important; min-width:0 !important; text-align:center !important; white-space:normal !important; line-height:1.2 !important; border-radius:12px !important; word-break: break-word; }
  body .premium-header .nav-cta-saas { margin:0 !important; justify-self:end !important; }
  body .premium-header .brand-saas img { height:36px !important; }
  body /* removed display none */
}

.home-page .home-leadership-cards .team-img-container,
.home-page .home-leadership-layout .team-img-container {
  background: #123f3d url("../images/hero-art/international-certifications-hero.png") center / cover no-repeat !important;
}

.home-page .home-leadership-section::after { background-image: none !important; }
/* Home header brand slogan: match the logo teal and stay readable. */
html[dir="rtl"] body.home-page .premium-header .logo-slogan,
html[dir="ltr"] body.home-page .premium-header .logo-slogan {
  color: #157b78 !important;
  font-size: clamp(12px, 1vw, 16px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.75) !important;
}

/* Global Text Justification per user request */
p {
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* Fix mobile drawer containing block issue */
.site-header.premium-header, .site-header.premium-header.scrolled, .site-header.premium-header.header-hidden { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; }

/* Fix mobile dropdown caret size */
.premium-header .nav-dropdown-caret { width: 14px !important; height: 14px !important; flex-shrink: 0 !important; }


/* ULTIMATE MOBILE DRAWER FIX */
@media (max-width: 991px) {
  body .site-header.premium-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    contain: none !important;
      filter: none !important;
      will-change: auto !important;
      perspective: none !important;
      clip-path: none !important;
      mask: none !important;
      isolation: auto !important;

  }
  body .premium-header .site-nav.site-nav-saas {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: block !important;
    background: rgba(8, 25, 25, 0.45) !important;
    transform: none !important;
    overflow: hidden !important;
  }
  body .premium-header .site-nav.site-nav-saas .nav-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    background: #0d2121 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem !important;
    z-index: 9999999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    border: none !important;
    box-shadow: none !important;
  }
  body .premium-header .site-nav.site-nav-saas .drawer-header,
  body .premium-header .site-nav.site-nav-saas .drawer-content,
  body .premium-header .site-nav.site-nav-saas .drawer-body {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  body .premium-header .site-nav.site-nav-saas .drawer-content,
  body .premium-header .site-nav.site-nav-saas .drawer-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
  }
  body .premium-header .site-nav.site-nav-saas .navigation-container,
  body .premium-header .site-nav.site-nav-saas .drawer-scroll-area {
    display: block !important;
    height: auto !important;
    flex: 1 1 auto !important;
  }
  body .premium-header .site-nav.site-nav-saas .nav-list {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* --- UNIFY HEADER DESIGN ACROSS ALL PAGES TO MATCH INDEX.HTML --- */

body:not(.home-page) {
  padding-top: 100px !important;
}

.site-header.premium-header,
body:not(.home-page) .site-header.premium-header {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  height: auto !important;
  will-change: transform;
  transition: transform 260ms cubic-bezier(.22, .61, .36, 1) !important;
}

.site-header.premium-header::before,
body:not(.home-page) .site-header.premium-header::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 6px 8px !important;
  width: auto !important;
  transform: none !important;
  border: 1px solid rgba(255, 255, 255, .88) !important;
  background: rgba(255, 253, 246, .76) !important;
  box-shadow: 0 12px 34px rgba(13, 45, 48, .13) !important;
  -webkit-backdrop-filter: blur(24px) saturate(125%) !important;
  backdrop-filter: blur(24px) saturate(125%) !important;
  border-radius: 20px !important;
  pointer-events: none !important;
  display: block !important;
}

.site-header.premium-header > * {
  position: relative !important;
  z-index: 1 !important;
}

.premium-header .header-shell,
body:not(.home-page) .premium-header .header-shell {
  width: min(1200px, calc(100% - 56px)) !important;
  max-width: 1200px !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(12px, 1.5vw, 24px) !important;
}

@media (max-width: 991px) {
  .premium-header .header-shell,
  body:not(.home-page) .premium-header .header-shell {
    width: calc(100% - 32px) !important;
    padding-inline: clamp(12px, 2vw, 34px) !important;
  }
}

.premium-header .brand-saas img,
body:not(.home-page) .premium-header .brand-saas img {
  height: 52px !important;
  filter: drop-shadow(0 8px 18px rgba(7, 42, 41, 0.18)) !important;
}

@media (max-width: 991px) {
  .premium-header .brand-saas img,
  body:not(.home-page) .premium-header .brand-saas img {
    height: 44px !important;
  }
}

.premium-header .logo-slogan,
body:not(.home-page) .premium-header .logo-slogan,
html[dir="ltr"] .premium-header .logo-slogan,
html[dir="ltr"] body:not(.home-page) .premium-header .logo-slogan {
  color: #157b78 !important;
  font-size: clamp(12px, 1vw, 16px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.75) !important;
}

.premium-header .nav-link,
body:not(.home-page) .premium-header .nav-link {
  color: #144e4b !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.premium-header .nav-link:hover,
body:not(.home-page) .premium-header .nav-link:hover {
  color: #e65c00 !important;
}

.premium-header .nav-link::after,
body:not(.home-page) .premium-header .nav-link::after {
  background: #157b78 !important;
}

.premium-header .header-btn-primary,
body:not(.home-page) .premium-header .header-btn-primary {
  background: #176b68 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 9px 24px rgba(9, 65, 62, 0.28) !important;
}


/* ENHANCED FOOTER SOCIAL ICONS STYLING */
.social-row, .footer-social-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 16px !important;
}

.footer-social-link {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    text-decoration: none !important;
    position: relative !important;
}

.footer-social-link:hover {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
}

.footer-social-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.footer-social-link--linkedin { background: #0a66c2 !important; color: #ffffff !important; }
.footer-social-link--instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) !important; color: #ffffff !important; }
.footer-social-link--facebook { background: #1877f2 !important; color: #ffffff !important; }
.footer-social-link--tiktok { background: #000000 !important; color: #ffffff !important; border: 1px solid rgba(255,255,255,0.2) !important; }
.footer-social-link--snapchat { background: #fffc00 !important; color: #000000 !important; }
.footer-social-link--x { background: #000000 !important; color: #ffffff !important; border: 1px solid rgba(255,255,255,0.2) !important; }
.footer-social-link--youtube { background: #ff0000 !important; color: #ffffff !important; }

/* SLOGAN VISIBILITY OVERRIDE */
.site-header.premium-header .logo-slogan,
.premium-header .logo-slogan,
.logo-slogan {
    display: block !important;
    font-size: 11px !important;
    color: #7c9494 !important;
    font-weight: 500 !important;
    white-space: normal !important;
    margin-top: 2px !important;
}

.footer-slogan {
    display: block !important;
    font-weight: 700 !important;
    color: #faba3d !important;
    margin: 0.35rem 0 0.55rem !important;
}


/* ==========================================================================
   GLOBAL UNIFIED MOBILE HEADER & DRAWER MENU (EXACT HOMEPAGE FIX)
   Applies to style.css, main.css, and copied-header.css for ALL pages
   ========================================================================== */
@media (max-width: 991px) {
  /* 1. Fixed Capsule Header Container */
  .site-header.premium-header,
  body.home-page .site-header.premium-header,
  body:not(.home-page) .site-header.premium-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 20000 !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
  }

  /* Capsule Glass Bar */
  .site-header.premium-header::before,
  body.home-page .site-header.premium-header::before,
  body:not(.home-page) .site-header.premium-header::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 6px 10px !important;
    height: 56px !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 20px !important;
    background: rgba(255, 253, 246, 0.92) !important;
    box-shadow: 0 8px 24px rgba(10, 40, 40, 0.15) !important;
    -webkit-backdrop-filter: blur(20px) saturate(120%) !important;
    backdrop-filter: blur(20px) saturate(120%) !important;
    pointer-events: none !important;
    display: block !important;
  }

  /* Inner Shell Layout */
  .site-header.premium-header .header-shell,
  body.home-page .premium-header .header-shell,
  body:not(.home-page) .premium-header .header-shell {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 68px !important;
    padding-inline: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  /* Logo & Slogan Sizing */
  .premium-header .brand-saas,
  body:not(.home-page) .premium-header .brand-saas {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
  }

  .premium-header .brand-saas img,
  body:not(.home-page) .premium-header .brand-saas img {
    height: 32px !important;
    width: auto !important;
    display: block !important;
    filter: none !important;
  }

  .premium-header .logo-slogan,
  body:not(.home-page) .premium-header .logo-slogan {
    display: block !important;
    font-size: 9px !important;
    color: #176b68 !important;
    font-weight: 600 !important;
    white-space: normal !important;
    margin-top: 0 !important;
  }

  /* Hamburger Toggle Button */
  .premium-header .nav-toggle-saas,
  .site-header .nav-toggle-saas,
  [data-nav-toggle] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(23, 107, 104, 0.25) !important;
    color: #176b68 !important;
    box-shadow: 0 4px 12px rgba(10, 40, 40, 0.12) !important;
    cursor: pointer !important;
    z-index: 20005 !important;
    padding: 0 !important;
  }

  .premium-header .nav-toggle-saas svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #176b68 !important;
  }

  /* 2. SLIDE-OVER DRAWER MENU OVERLAY */
  .site-header.premium-header .site-nav.site-nav-saas,
  .site-header .site-nav,
  [data-nav] {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    background: rgba(8, 26, 26, 0.82) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .site-header.premium-header .site-nav.site-nav-saas.open,
  .site-header .site-nav.open,
  [data-nav].open,
  body.drawer-open .site-nav {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
  }

  /* Right Side Drawer Panel */
  .site-header.premium-header .site-nav.site-nav-saas .nav-panel,
  [data-nav] .nav-panel {
    display: flex !important;
    flex-direction: column !important;
    width: min(340px, 86vw) !important;
    height: 100% !important;
    background: #0d2828 !important;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.6) !important;
    padding: 1.25rem !important;
    overflow-y: auto !important;
    z-index: 1000000 !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header.premium-header .site-nav.site-nav-saas .drawer-header,
  [data-nav] .drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-bottom: 1rem !important;
  }

  .site-header.premium-header .site-nav.site-nav-saas .drawer-close-btn,
  [data-nav] .drawer-close-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }

  .site-header.premium-header .site-nav.site-nav-saas .drawer-content,
  [data-nav] .drawer-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .site-header.premium-header .site-nav.site-nav-saas .nav-list,
  [data-nav] .nav-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
  }

  .site-header.premium-header .site-nav.site-nav-saas .nav-link,
  [data-nav] .nav-link {
    display: block !important;
    padding: 0.75rem 1rem !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    text-align: start !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .site-header.premium-header .site-nav.site-nav-saas .nav-link.is-active,
  [data-nav] .nav-link.is-active {
    background: rgba(255, 194, 68, 0.22) !important;
    color: #ffc244 !important;
    font-weight: 700 !important;
  }

  .site-header.premium-header .site-nav.site-nav-saas .drawer-footer-bottom,
  [data-nav] .drawer-footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-top: auto !important;
  }
}


/* ENGLISH (LTR) UNIFIED MOBILE HEADER & DRAWER OVERRIDE */
@media (max-width: 991px) {
  html.lang-en .site-header.premium-header .brand-saas,
  html[dir="ltr"] .site-header.premium-header .brand-saas {
    align-items: flex-start !important;
    text-align: left !important;
  }

  html.lang-en .site-header.premium-header .logo-slogan,
  html[dir="ltr"] .site-header.premium-header .logo-slogan {
    direction: ltr !important;
    text-align: left !important;
  }

  html.lang-en .site-header.premium-header .site-nav.site-nav-saas .nav-panel,
  html[dir="ltr"] .site-header.premium-header .site-nav.site-nav-saas .nav-panel,
  html.lang-en [data-nav] .nav-panel,
  html[dir="ltr"] [data-nav] .nav-panel {
    right: auto !important;
    left: 0 !important;
    border-inline-start: none !important;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.15) !important;
    text-align: left !important;
  }

  html.lang-en .site-header.premium-header .site-nav.site-nav-saas .nav-link,
  html[dir="ltr"] .site-header.premium-header .site-nav.site-nav-saas .nav-link,
  html.lang-en [data-nav] .nav-link,
  html[dir="ltr"] [data-nav] .nav-link {
    text-align: left !important;
  }
}


/* ==========================================================================
   NON-HOMEPAGE MOBILE DRAWER OPEN OVERRIDE (ARABIC & ENGLISH)
   Overrides body:not(.home-page) display:none !important
   ========================================================================== */
@media (max-width: 991px) {
  body:not(.home-page) .site-header.premium-header .site-nav.site-nav-saas.open,
  body:not(.home-page) .site-header.premium-header .site-nav.open,
  body:not(.home-page) .site-nav.open,
  body:not(.home-page).drawer-open .site-nav,
  body.drawer-open .site-nav {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
  }

  body:not(.home-page) .site-header.premium-header .site-nav.site-nav-saas.open .nav-panel,
  body:not(.home-page) .site-header.premium-header .site-nav.open .nav-panel,
  body:not(.home-page) .site-nav.open .nav-panel,
  body:not(.home-page).drawer-open .nav-panel {
    transform: translateX(0) !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }
}


/* ==========================================================================
   CENTERED MOBILE HEADER SLOGAN - V4 (ABSOLUTE CENTERING)
   ========================================================================== */
@media (max-width: 1199px) {
  /* 1. Ensure header-shell is the relative parent */
  body .site-header .header-shell,
  body .site-header.premium-header .header-shell {
    position: relative !important;
  }
  
  /* 2. Remove any relative positioning from brand link and its wrappers */
  body .site-header .brand,
  body .site-header.premium-header .brand,
  html[dir="rtl"] body .site-header.premium-header .brand,
  body a.brand,
  body a.brand-saas {
    position: static !important;
  }

  /* 3. Absolute position the slogan in the exact center of header-shell */
  body .site-header .brand .logo-slogan,
  body .site-header.premium-header .brand .logo-slogan,
  body .site-header.premium-header .brand-saas .logo-slogan,
  body a.brand span.logo-slogan,
  html[dir="rtl"] body .site-header.premium-header a.brand span.logo-slogan,
  html[dir="rtl"] body .site-header a.brand span.logo-slogan {
    position: relative !important;
    display: none !important;
  }
}


/* ==========================================================================
   MOBILE MENU CONTAINER OVERFLOW FIX - V7 (ALLOW FULL TEXT)
   ========================================================================== */
@media (max-width: 1199px) {
  /* Remove overflow-x: hidden from parent containers that clip the text */
  body .premium-header .site-nav.site-nav-saas .drawer-content,
  body .premium-header .site-nav.site-nav-saas .navigation-container,
  body .site-nav .drawer-content,
  body .site-nav .navigation-container {
    overflow-x: visible !important;
    overflow: visible !important;
  }

  /* nav-panel must allow overflow too */
  body .premium-header .site-nav.site-nav-saas .nav-panel {
    overflow-x: visible !important;
  }

  /* nav-list items should not clip */  
  body .premium-header .site-nav.site-nav-saas .nav-list,
  body .nav-list {
    overflow: visible !important;
  }

  /* nav-item-dropdown should not clip */
  body .nav-item-dropdown,
  body .premium-header .nav-item-dropdown {
    overflow: visible !important;
  }

  /* open dropdown menu must show all content */
  body .premium-header .site-nav.site-nav-saas .nav-item-dropdown.open .nav-dropdown-menu,
  body .nav-item-dropdown.open .nav-dropdown-menu {
    overflow: visible !important;
    max-height: 2500px !important;
  }

  /* Force dropdown links to wrap text */
  body .nav-dropdown-link,
  body .premium-header .nav-dropdown-link,
  body .site-nav .nav-dropdown-link {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: unset !important;
    overflow: visible !important;
    display: block !important;
    height: auto !important;
    line-height: 1.5 !important;
  }
}



/* ==========================================================================
   MOBILE MENU DROPDOWN FIX - V8 (ACCORDION STYLE FOR MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
  body .premium-header .nav-dropdown-menu,
  body .site-header .nav-dropdown-menu,
  body .site-nav-saas .nav-dropdown-menu,
  body .site-header.premium-header .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    inset-inline-start: 0 !important;
    left: 0 !important;
    right: auto !important;
    margin-top: 0.5rem !important;
    min-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}


/* GLOBAL DROPDOWN HOVER BRIDGE */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 999998;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  max-height: none !important;
  visibility: visible !important;
}

/* English Header Fixes */
@media (min-width: 992px) {
  html[dir="ltr"] body .site-header.premium-header .container.header-shell {
      gap: 6px !important;
  }
  html[dir="ltr"] body.home-page .premium-header .brand-saas {
      margin-right: 0 !important;
      margin-left: 0 !important;
  }
  html[dir="ltr"] body .premium-header .site-nav-saas .nav-list {
      gap: 2px !important;
  }
  html[dir="ltr"] body .premium-header .site-nav-saas .nav-link {
      font-size: clamp(11.5px, 0.85vw, 13px) !important;
      white-space: nowrap !important;
      padding: 0.3rem 0.4rem !important;
      word-break: normal !important;
  }
  html[dir="ltr"] body .premium-header .nav-cta-saas .button {
      font-size: 13px !important;
      padding: 0.4rem 0.8rem !important;
      white-space: nowrap !important;
  }
  html[dir="ltr"] body .premium-header .header-tool-circle {
      width: 30px !important;
      height: 30px !important;
      font-size: 10px !important;
      margin-left: 4px !important;
  }
}

/* Fix sticky header overlapping titles on anchor jump and scroll */
h1, h2, h3, h4, h5, h6, [id], section {
  scroll-margin-top: 100px;
}

/* Enhanced Dark Mode Styles */
html[data-theme="dark"], body[data-theme="dark"] {
  --bg: #0b1414;
  --surface: #0f1f1f;
  --surface-strong: #142a2a;
  --surface-muted: #1a3333;
  --text: #f2faf9;
  --muted: #95afae;
  --line: #1c3d3c;
  background-color: #0b1414 !important;
  color: #f2faf9 !important;
}

[data-theme="dark"] .site-header.premium-header {
  background: rgba(11, 20, 20, 0.94) !important;
  border-bottom: 1px solid rgba(120, 178, 153, 0.18) !important;
}

[data-theme="dark"] .nav-link {
  color: #d4eaea !important;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.is-active {
  color: #ffffff !important;
  background: rgba(94, 197, 197, 0.18) !important;
}

[data-theme="dark"] dialog,
[data-theme="dark"] .booking-form-card,
[data-theme="dark"] .booking-summary-card,
[data-theme="dark"] .policy-page,
[data-theme="dark"] .table-panel {
  background: #0f1f1f !important;
  color: #f2faf9 !important;
  border-color: #1c3d3c !important;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #142a2a !important;
  color: #ffffff !important;
  border-color: #1c3d3c !important;
}

[data-theme="dark"] table th,
[data-theme="dark"] table td {
  border-color: #1c3d3c !important;
  color: #f2faf9 !important;
}
[class~="rise-brand-word"] {
  display: inline-flex;
  direction: ltr;
  white-space: nowrap;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  letter-spacing: .01em;
}

.rise-brand-word .rise-letter:nth-child(1) { color: #209da5 !important; }
.rise-brand-word .rise-letter:nth-child(2) { color: #f6b52e !important; }
.rise-brand-word .rise-letter:nth-child(3) { color: #8bc7ad !important; }
.rise-brand-word .rise-letter:nth-child(4) { color: #8aa66b !important; }

.rise-brand-word--hero { font-size: 1.05em; }

/* ==========================================================================
   KNOWLEDGE HUB / BLOG SECTION (blog-section-1c)
   ========================================================================== */

.kn-section {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.kn-section .img-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E9E2D6;
  color: rgba(14,39,39,.35);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
  overflow: hidden;
}

.kn-section .img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes kn-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.kn-drift {
  animation: kn-drift 22s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .kn-drift { animation: none; }
}

.kn-wrap {
  max-width: 1024px;
  margin: 0 auto;
  padding: 76px 0 84px;
  overflow: hidden;
  box-sizing: border-box;
}

.kn-head {
  padding: 0 32px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  column-gap: 32px;
  row-gap: 8px;
}

.kn-eyebrow {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(243,116,88,.13);
  color: #B8441F;
  font-size: 12.5px;
  font-weight: 700;
  border: 0;
}

.kn-title {
  grid-column: 1;
  margin: 2px 0 0;
  max-width: 18ch;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: #0E2727;
}

.kn-sub {
  grid-column: 1;
  margin: 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: #4C6161;
}

.kn-all {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #B8441F;
  border-bottom: 2px solid rgba(243,116,88,.35);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.kn-all:hover {
  color: #d14d24;
  border-bottom-color: #d14d24;
}

.kn-all span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.kn-all:hover span {
  transform: translateX(-4px);
}

[dir="ltr"] .kn-all:hover span,
html[lang="en"] .kn-all:hover span {
  transform: translateX(4px);
}

[dir="ltr"] .kn-all span,
html[lang="en"] .kn-all span {
  transform: scaleX(-1);
}

.kn-feature {
  margin: 0 32px;
  background: #FFFFFF;
  border: 1px solid rgba(14,39,39,.08);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 55fr 45fr;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.kn-feature:hover {
  box-shadow: 0 16px 40px rgba(14,39,39,.1);
  transform: translateY(-2px);
}

.kn-feature-media {
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.kn-feature-media .img-slot {
  width: 100%;
  height: 100%;
}

.kn-feature-body {
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.kn-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 7px;
  background: #0E2727;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.kn-feature-body h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  color: #0E2727;
  transition: color 0.2s ease;
}

.kn-feature-body h3 a {
  color: inherit;
  text-decoration: none;
}

.kn-feature:hover .kn-feature-body h3,
.kn-feature:hover .kn-feature-body h3 a {
  color: #B8441F;
}

.kn-feature-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: #4C6161;
}

.kn-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: #55696A;
}

.kn-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E9E2D6;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(250,186,61,.55);
  display: block;
  overflow: hidden;
}

.kn-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kn-author {
  font-weight: 700;
  color: #0E2727;
}

.kn-dot {
  color: rgba(14,39,39,.3);
}

.kn-read {
  margin-top: 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #B8441F;
  text-decoration: none;
}

.kn-read span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.kn-feature:hover .kn-read span {
  transform: translateX(-4px);
}

[dir="ltr"] .kn-feature:hover .kn-read span,
html[lang="en"] .kn-feature:hover .kn-read span {
  transform: translateX(4px);
}

[dir="ltr"] .kn-read span,
html[lang="en"] .kn-read span {
  transform: scaleX(-1);
}

.kn-grid {
  margin-top: 32px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}

.kn-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(14,39,39,.07);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.kn-card:hover {
  box-shadow: 0 12px 28px rgba(14,39,39,.08);
  transform: translateY(-2px);
}

.kn-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.kn-card-media .img-slot {
  width: 100%;
  height: 100%;
}

.kn-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 7px;
  background: #0E2727;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  z-index: 2;
}

[dir="ltr"] .kn-card-tag,
html[lang="en"] .kn-card-tag {
  right: auto;
  left: 12px;
}

.kn-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.kn-card-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.62;
  color: #0E2727;
  transition: color 0.2s ease;
}

.kn-card:hover .kn-card-body h3 {
  color: #B8441F;
}

.kn-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #55696A;
}

/* ============ Mobile (<=680px): full-bleed cover + pulled-up panel + hairline rows ============ */
@media (max-width: 680px) {
  .kn-wrap {
    padding: 56px 0 64px;
  }

  .kn-head {
    padding: 0 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .kn-eyebrow {
    grid-column: auto;
  }

  .kn-title {
    grid-column: auto;
    max-width: 11ch;
    font-size: 30px;
  }

  .kn-sub {
    grid-column: auto;
    max-width: 34ch;
    font-size: 15px;
  }

  .kn-all {
    grid-column: auto;
    grid-row: auto;
    margin-top: 6px;
  }

  .kn-feature {
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    display: block;
  }

  .kn-feature-media {
    aspect-ratio: 16/10;
    min-height: 0;
  }

  .kn-feature-body {
    position: relative;
    z-index: 1;
    margin: -44px 20px 0 36px;
    padding: 18px 18px 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 18px 36px -18px rgba(14,39,39,.35);
  }

  [dir="ltr"] .kn-feature-body,
  html[lang="en"] .kn-feature-body {
    margin: -44px 36px 0 20px;
  }

  .kn-feature-body h3 {
    font-size: 20px;
    line-height: 1.55;
  }

  .kn-feature-body p {
    font-size: 14.5px;
  }

  .kn-grid {
    margin-top: 20px;
    padding: 0 20px;
    display: block;
  }

  .kn-card {
    position: relative;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(14,39,39,.10);
    border-radius: 0;
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-areas: "media tag" "media body";
    column-gap: 14px;
    align-items: start;
    padding: 16px 0;
  }

  .kn-card:last-child {
    border-bottom: 1px solid rgba(14,39,39,.10);
  }

  .kn-card-media {
    grid-area: media;
    aspect-ratio: auto;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
  }

  .kn-card-tag {
    grid-area: tag;
    position: static;
    height: auto;
    padding: 0;
    background: none;
    color: #B8441F;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
    padding-left: 22px;
  }

  [dir="ltr"] .kn-card-tag,
  html[lang="en"] .kn-card-tag {
    padding-left: 0;
    padding-right: 22px;
  }

  .kn-card-body {
    grid-area: body;
    padding: 0 0 0 22px;
    gap: 6px;
  }

  [dir="ltr"] .kn-card-body,
  html[lang="en"] .kn-card-body {
    padding: 0 22px 0 0;
  }

  .kn-card-body h3 {
    font-size: 15.5px;
  }
}

/* ==========================================================================
   ENGLISH SPECIFIC HEADER ADJUSTMENTS (Balanced Typography & Zero Overlapping)
   ========================================================================== */
html[lang="en"] .main-nav,
[dir="ltr"] .main-nav,
.lang-en .main-nav {
  gap: 4px !important;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

html[lang="en"] .nav-link,
[dir="ltr"] .nav-link,
.lang-en .nav-link {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  padding: 0 10px !important;
  letter-spacing: normal !important;
}

html[lang="en"] .nav-link.active::after,
[dir="ltr"] .nav-link.active::after,
.lang-en .nav-link.active::after {
  right: 10px !important;
  left: 10px !important;
}

@media (max-width: 1280px) {
  html[lang="en"] .main-nav,
  [dir="ltr"] .main-nav,
  .lang-en .main-nav {
    gap: 2px !important;
  }
  html[lang="en"] .nav-link,
  [dir="ltr"] .nav-link,
  .lang-en .nav-link {
    font-size: 14px !important;
    padding: 0 7px !important;
    gap: 4px !important;
  }
  html[lang="en"] .nav-link.active::after,
  [dir="ltr"] .nav-link.active::after,
  .lang-en .nav-link.active::after {
    right: 7px !important;
    left: 7px !important;
  }
  html[lang="en"] header.site-header,
  [dir="ltr"] header.site-header,
  .lang-en header.site-header {
    gap: 10px !important;
    padding: 0 14px 0 12px !important;
  }
  html[lang="en"] .cta,
  [dir="ltr"] .cta,
  .lang-en .cta {
    padding: 0 14px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 1140px) {
  html[lang="en"] .main-nav,
  [dir="ltr"] .main-nav,
  .lang-en .main-nav,
  html[lang="en"] .header-actions .lang-toggle,
  [dir="ltr"] .header-actions .lang-toggle,
  .lang-en .header-actions .lang-toggle,
  html[lang="en"] .header-actions .cta,
  [dir="ltr"] .header-actions .cta,
  .lang-en .header-actions .cta {
    display: none !important;
  }

  html[lang="en"] .hamburger,
  [dir="ltr"] .hamburger,
  .lang-en .hamburger {
    display: flex !important;
  }

  html[lang="en"] .mobile-cta,
  [dir="ltr"] .mobile-cta,
  .lang-en .mobile-cta {
    display: inline-flex !important;
  }
}
