:root {
  --bg: #f4f6f2;
  --paper: #ffffff;
  --ink: #102030;
  --muted: #64707d;
  --line: #d9dfd4;
  --gold: #bd8735;
  --teal: #16706f;
  --sage: #dce7dc;
  --coral: #c9614a;
  --navy: #122033;
  --navy-2: #0d1624;
  --blue: #2d6076;
  --shadow: 0 20px 58px rgba(16, 32, 48, 0.12);
  --radius: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(244, 246, 242, 0.9);
  border-bottom: 1px solid rgba(217, 223, 212, 0.85);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 0.78rem; }
nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
nav a:hover { color: var(--ink); }

.button, .lang-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.button.primary:hover { background: var(--teal); border-color: var(--teal); }
.button.secondary:hover, .lang-toggle:hover { border-color: var(--gold); }
.button.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.15fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 72px) 26px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 10% -12% auto auto;
  width: 42vw;
  height: 42vw;
  background:
    radial-gradient(circle, rgba(22, 112, 111, 0.2), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(201, 97, 74, 0.12), transparent 52%);
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite alternate;
}
.overline {
  margin: 0 0 18px;
  color: #8a672f;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
html[dir="rtl"] .overline { text-transform: none; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.2vw, 5.9rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.9vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}
h3 { margin-bottom: 8px; font-size: 1.32rem; line-height: 1.25; }
.hero-lede {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}
.hero-actions, .footer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #d9d7cf;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.metrics,
.profile-section,
.expertise-band,
.experience-section,
.achievements,
.media-section,
.testimonials,
.companies-section,
.credentials,
.site-footer {
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 72px);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: clamp(22px, 4vw, 38px);
}
.metrics article {
  min-height: 132px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.metrics strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2.8rem, 5.2vw, 5.4rem);
  line-height: 0.95;
}
.metrics strong::after { content: "+"; }
.metrics article:nth-child(2) strong::before { content: ""; }
.metrics article:nth-child(2) strong::after { content: "M+"; }
.metrics article:nth-child(3) strong::after { content: "%+"; }
.metrics article:nth-child(4) strong::after { content: ""; }
.metrics span { color: var(--muted); font-weight: 800; }

.profile-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(34px, 6vw, 92px);
  background:
    linear-gradient(120deg, rgba(22,112,111,0.08), transparent 38%),
    var(--paper);
}
.profile-text p, .section-heading p { color: var(--muted); font-size: 1.08rem; }
.profile-section .profile-text p {
  font-size: clamp(1.18rem, 1.45vw, 1.34rem);
  line-height: 1.75;
}
.profile-section .profile-text h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.6rem);
}
.profile-section .signature-line span {
  font-size: 1.12rem;
}
.signature-line {
  margin-top: 34px;
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, #fbf7ee, #eef6f4);
}
html[dir="rtl"] .signature-line { border-left: 0; border-right: 4px solid var(--gold); }
.signature-line span { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 900; }
.signature-line p { margin-bottom: 0; }
.profile-summary {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-card {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaf7;
  box-shadow: 0 20px 60px rgba(17,24,39,0.08);
}
.contact-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: #101820;
}
.contact-card h3 { padding: 24px 24px 0; }
.contact-card a, .contact-card span {
  display: block;
  margin: 0 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.expertise-band {
  background:
    linear-gradient(135deg, rgba(22,112,111,0.12), transparent 42%),
    linear-gradient(315deg, rgba(201,97,74,0.07), transparent 38%),
    var(--bg);
}
.section-heading { max-width: 820px; margin-bottom: 24px; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.skill-cloud span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease;
}
.skill-cloud span:hover { transform: translateY(-3px); border-color: var(--gold); }

.experience-stack { display: grid; gap: 18px; }
.experience-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px 34px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.experience-card time { color: #8a672f; font-weight: 900; }
.experience-card p { color: var(--muted); font-weight: 800; }
.experience-card ul {
  grid-column: 2;
  margin: -12px 0 0;
  padding-inline-start: 20px;
  color: var(--muted);
}
.experience-card li + li { margin-top: 7px; }
.early-career-card .early-list {
  grid-column: 2;
  display: grid;
  gap: 10px;
}
.early-list p {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.early-list strong { color: var(--gold); }
.early-list span { color: var(--muted); }

.achievements, .testimonials, .site-footer {
  background:
    radial-gradient(circle at 15% 20%, rgba(22,112,111,0.45), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(189,135,53,0.24), transparent 28%),
    var(--navy-2);
  color: #fff;
}
.achievements .section-heading p, .testimonials .section-heading p, .site-footer p { color: rgba(255,255,255,0.72); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.impact-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  color: rgba(255,255,255,0.86);
  font-size: 1.05rem;
}
.impact-card span {
  display: block;
  margin-bottom: 26px;
  color: #f4c980;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  font-weight: 900;
  line-height: 0.9;
}
.impact-card h3 { color: #fff; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.media-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.media-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22,112,111,0.14), rgba(189,135,53,0.12)),
    #eef4f1;
  background-position: center;
  background-size: cover;
}
.media-card:nth-child(1)::before { background-image: url("assets/media-manhom.jpg"), linear-gradient(135deg, rgba(22,112,111,0.14), rgba(189,135,53,0.12)); }
.media-card:nth-child(2)::before { background-image: url("assets/media-executives.jpg"), linear-gradient(135deg, rgba(22,112,111,0.14), rgba(189,135,53,0.12)); }
.media-card:nth-child(3)::before { background-image: url("assets/media-milestones.jpg"), linear-gradient(135deg, rgba(22,112,111,0.14), rgba(189,135,53,0.12)); }
.media-card:nth-child(4)::before { background-image: url("assets/media-iqraa.jpg"), linear-gradient(135deg, rgba(22,112,111,0.14), rgba(189,135,53,0.12)); }
.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.media-card span { color: var(--gold); font-weight: 900; }
.media-card strong { font-size: 1.35rem; }
.media-card em { color: var(--muted); font-style: normal; font-weight: 800; }
.affiliation-panel {
  margin-top: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #faf8f1;
}
.affiliation-panel ul {
  margin: 0;
  padding-inline-start: 20px;
  color: var(--muted);
}
.affiliation-panel li + li { margin-top: 8px; }

.testimonial-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.14);
  direction: ltr;
  cursor: grab;
}
.testimonial-marquee:active { cursor: grabbing; }
.testimonial-marquee:active .testimonial-track { animation-play-state: paused; }
.testimonial-marquee.is-paused .testimonial-track { animation-play-state: paused; }
.testimonial-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 92s linear infinite;
  will-change: transform;
}
.testimonial-track article {
  flex: 0 0 auto;
  width: min(520px, 82vw);
  min-height: 320px;
  margin-inline-end: 14px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.045);
  direction: ltr;
}
html[dir="rtl"] .testimonial-track article { direction: rtl; }
.testimonial-track p { color: rgba(255,255,255,0.86); }
.testimonial-track strong, .testimonial-track span { display: block; }
.testimonial-track strong { margin-top: 18px; color: #fff; }
.testimonial-track span { color: rgba(255,255,255,0.58); }

.companies-section { background: var(--paper); overflow: hidden; }
.logo-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fbfaf7;
  direction: ltr;
  cursor: grab;
}
.logo-marquee:active { cursor: grabbing; }
.logo-marquee:active .logo-track { animation-play-state: paused; }
.logo-marquee.is-paused .logo-track { animation-play-state: paused; }
.logo-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.logo-track a, .logo-track > span {
  flex: 0 0 auto;
  width: 230px;
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  border-inline-end: 1px solid var(--line);
  background: var(--paper);
}
.logo-track img { max-width: 160px; max-height: 68px; object-fit: contain; filter: saturate(0.9); }
.logo-track span span, .logo-track a span { color: var(--muted); font-weight: 800; text-align: center; }

.credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(22,112,111,0.08), transparent 42%),
    linear-gradient(315deg, rgba(201,97,74,0.08), transparent 38%),
    var(--paper);
}
.education-highlight {
  grid-template-columns: minmax(0, 1fr);
}
.support-credentials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.credentials article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #f7fbf8);
  box-shadow: 0 18px 48px rgba(16,32,48,0.08);
}
.education-highlight article {
  border-color: rgba(244,201,128,0.32);
  background:
    radial-gradient(circle at 12% 10%, rgba(22,112,111,0.36), transparent 32%),
    radial-gradient(circle at 86% 0%, rgba(189,135,53,0.28), transparent 30%),
    var(--navy-2);
  box-shadow: 0 24px 70px rgba(13,22,36,0.22);
}
.education-highlight article h2 {
  color: #f4c980;
  font-size: clamp(2.25rem, 3.2vw, 3.4rem);
}
.education-highlight article p {
  color: #f4c980;
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  font-weight: 800;
}
.support-credentials article {
  background:
    linear-gradient(145deg, rgba(22,112,111,0.1), transparent 42%),
    #fff;
}
.support-credentials article:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(201,97,74,0.08), transparent 40%),
    #fff;
}
.support-credentials p {
  padding: 12px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.support-credentials p:last-child { border-bottom: 0; }
.credentials h2 { color: var(--navy); font-size: 1.95rem; }
.credentials p { color: var(--muted); }

.brand small { font-size: 0.92rem; }
nav { font-size: 1rem; }
.button, .lang-toggle { font-size: 1rem; }
.overline { font-size: 1rem; }
.hero-lede { font-size: clamp(1.16rem, 1.65vw, 1.36rem); }
.metrics span { font-size: 1.05rem; }
.section-heading p { font-size: clamp(1.14rem, 1.35vw, 1.28rem); }
.contact-card a, .contact-card span { font-size: 1.06rem; }
.skill-cloud span { font-size: 1.05rem; }
.experience-card p,
.experience-card li,
.early-list span,
.early-list strong {
  font-size: 1.08rem;
}
.impact-card p { font-size: 1.08rem; }
.media-card em,
.affiliation-panel li {
  font-size: 1.06rem;
}
.testimonial-track p { font-size: 1.04rem; line-height: 1.72; }
.testimonial-track span { font-size: 0.98rem; }
.logo-track span span,
.logo-track a span {
  font-size: 1.02rem;
}
.support-credentials p,
.credentials p {
  font-size: 1.08rem;
  line-height: 1.7;
}
.site-footer p { font-size: 1.12rem; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.js-enabled .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}
.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-8%, 5%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 3px; }
  .hero, .profile-section, .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media { max-width: 760px; }
  .metrics, .impact-grid, .media-grid, .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header { padding: 12px 16px; gap: 12px; }
  .brand small { display: none; }
  nav { gap: 18px; font-size: 0.85rem; }
  .hero,
  .metrics,
  .profile-section,
  .expertise-band,
  .experience-section,
  .achievements,
  .media-section,
  .testimonials,
  .companies-section,
  .credentials,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .metrics, .impact-grid, .media-grid, .credentials { grid-template-columns: 1fr; }
  .experience-card { grid-template-columns: 1fr; padding: 24px; }
  .experience-card ul, .early-career-card .early-list { grid-column: 1; }
  .early-list p { grid-template-columns: 1fr; gap: 2px; }
  .button, .lang-toggle { width: 100%; }
  .hero-actions, .footer-actions { width: 100%; }
}
