/* ==========================================================
   striveuae.com | Eslam ElBahhar
   ========================================================== */
:root {
  --navy-900: #060e24;
  --navy-800: #0a1633;
  --navy-700: #0f2150;
  --blue-700: #1a3fb8;
  --blue-600: #1d4ed8;
  --blue-500: #2f63f0;
  --blue-300: #93c5fd;
  --blue-100: #dbe7ff;
  --blue-50:  #f1f5ff;
  --ink:      #0d1428;
  --ink-2:    #3b4560;
  --ink-3:    #6b7590;
  --line:     #e3e8f2;
  --bg:       #ffffff;
  --radius:   16px;
  --shadow:   0 1px 2px rgba(10,22,51,.06), 0 8px 24px -8px rgba(10,22,51,.12);
  --grad:     linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 45%, var(--blue-600) 100%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow--light { color: var(--blue-300); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--navy-800); box-shadow: 0 6px 20px -6px rgba(0,0,0,.35); }
.btn--light:hover { background: var(--blue-50); }
.btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

/* ================= NAV ================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.brand img { border-radius: 8px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14.5px; font-weight: 500; position: relative; transition: color .2s; }
.nav__links a:not(.btn):hover, .nav__links a:not(.btn).is-active { color: #fff; }
.nav__links a:not(.btn).is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue-300); border-radius: 2px; }
.nav.is-scrolled { background: rgba(6,14,36,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }

/* ================= HERO ================= */
.hero { position: relative; background: var(--grad); color: #fff; padding: 132px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -200px; top: -220px; background: radial-gradient(closest-side, rgba(96,165,250,.35), transparent); z-index: -1; }
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(100deg, transparent 35%, #000 90%); -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.035em; }
.hero__title { font-size: clamp(20px, 2.3vw, 27px); font-weight: 600; margin: 18px 0 18px; color: #fff; line-height: 1.3; }
.hero__lede { color: rgba(226,234,255,.82); font-size: 17.5px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero__meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(226,234,255,.8); font-size: 14.5px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--blue-300); }

.hero__visual { position: relative; padding-bottom: 96px; justify-self: end; width: min(440px, 100%); }
.portrait { margin: 0 0 0 auto; width: min(360px, 100%); aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,22,51,.55)); }

.stats { position: absolute; left: -8px; bottom: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); width: min(310px, 80%); background: rgba(10,22,51,.62); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; }
.stats > div { padding: 16px 18px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stats > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
.stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
.stats dt { font-size: 12px; line-height: 1.3; color: rgba(226,234,255,.72); }
.stats dd { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }

/* ================= STRIP ================= */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.strip p { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 30px; }
.strip li { font-weight: 700; color: var(--ink-2); font-size: 16px; letter-spacing: -.01em; }
.strip small { font-weight: 500; color: var(--ink-3); font-size: 12px; }

/* ================= SECTIONS ================= */
.section { padding: 104px 0; }
.section--tint { background: linear-gradient(180deg, var(--blue-50), #fff 70%); }
.section--dark { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; width: 700px; height: 700px; left: -250px; bottom: -350px; background: radial-gradient(closest-side, rgba(47,99,240,.3), transparent); }
.section__head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section__sub { flex: 0 1 440px; margin: 0 0 0 auto; color: var(--ink-3); font-size: 16.5px; }
.section__head--light .section__sub { color: rgba(226,234,255,.7); }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 14px; }

/* Profile */
.profile { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.lead { margin: 0 0 28px; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue-600); font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.profile__text p { color: var(--ink-2); font-size: 16.5px; }
.journey { list-style: none; margin: 0; padding: 28px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); position: relative; }
.journey::before { content: ""; position: absolute; left: 39px; top: 44px; bottom: 44px; width: 2px; background: linear-gradient(var(--blue-100), var(--blue-600)); }
.journey li { display: flex; gap: 18px; position: relative; padding: 12px 0; }
.journey__dot { width: 24px; height: 24px; flex: none; border-radius: 50%; background: #fff; border: 2px solid var(--blue-600); position: relative; z-index: 1; margin-top: 2px; }
.journey li.is-now .journey__dot { background: var(--blue-600); box-shadow: 0 0 0 6px rgba(29,78,216,.15); }
.journey strong { display: block; font-size: 16px; }
.journey span:not(.journey__dot) { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.45; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(10,22,51,.25); border-color: var(--blue-100); }
.svc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.svc__n { font-size: 34px; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.3px var(--blue-600); }
.svc__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.svc h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; }
.svc > p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
.checks { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.checks li { font-size: 14px; color: var(--ink-2); padding-left: 24px; position: relative; line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.svc--cta { background: var(--grad); color: #fff; border: 0; justify-content: center; gap: 14px; }
.svc--cta:hover { transform: none; }
.svc--cta h3 { font-size: 21px; }
.svc--cta p { color: rgba(226,234,255,.8); font-size: 15px; margin: 0 0 6px; }
.svc--cta .btn { align-self: flex-start; }
/* Wide screens: each service is a horizontal row (summary left, deliverables right) */
@media (min-width: 601px) {
  .svc:not(.svc--cta) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto auto 1fr; column-gap: 28px; }
  .svc:not(.svc--cta) > .svc__top, .svc:not(.svc--cta) > h3, .svc:not(.svc--cta) > p { grid-column: 1; }
  .svc:not(.svc--cta) > p { margin: 0; }
  .svc:not(.svc--cta) .checks { grid-column: 2; grid-row: 1 / -1; margin: 0; padding: 4px 0 4px 26px; border-top: 0; border-left: 1px solid var(--line); align-content: center; }
  .svc--cta { padding: 32px; }
}

/* Ways of working */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mode { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; background: #fff; transition: border-color .25s, box-shadow .25s; display: flex; flex-direction: column; }
.mode:hover { border-color: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-50); }
.mode__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.mode h3 { font-size: 19px; margin-bottom: 10px; }
.mode p { color: var(--ink-3); font-size: 15px; flex: 1; }
.mode__tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; }

/* Experience */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; position: relative; }
.sector { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; transition: background .25s, border-color .25s; }
.sector:hover { background: rgba(255,255,255,.07); border-color: rgba(147,197,253,.35); }
.sector__years { display: flex; align-items: baseline; gap: 8px; }
.sector__years b { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, #fff, var(--blue-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sector__years span { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-300); }
.sector__years { padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.sector h3 { font-size: 20px; margin-bottom: 10px; }
.sector p { color: rgba(226,234,255,.72); font-size: 15px; margin: 0; }

/* Credentials */
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.creds li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.creds__name { font-weight: 600; font-size: 16.5px; }
.creds__by { flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 6px 10px; border-radius: 8px; text-align: right; }

/* Contact */
.contact { background: var(--grad); color: #fff; padding: 104px 0; position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(260deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(260deg, #000, transparent 60%); }
.contact__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.contact h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; }
.contact__copy > p { color: rgba(226,234,255,.82); font-size: 17px; max-width: 520px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact__list a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: background .2s, transform .2s; font-weight: 600; word-break: break-word; }
.contact__list a:hover { background: rgba(255,255,255,.13); transform: translateX(4px); }
.contact__list small { display: block; font-size: 12px; font-weight: 500; color: rgba(226,234,255,.65); letter-spacing: .04em; }
.ci { width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--blue-600); display: grid; place-items: center; flex: none; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(226,234,255,.6); padding: 36px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; }
.footer p { margin: 0; }
.footer a { color: #fff; text-decoration: none; }
.brand--light { color: #fff; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr; }
  .modes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: var(--navy-900); box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav__links a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links a.is-active::after { display: none; }
  .nav__cta { margin-top: 18px; justify-content: center; }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
  .nav.is-open { background: var(--navy-900); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 112px; }
  .hero__inner, .profile, .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { justify-self: start; max-width: 400px; }
  .portrait { width: min(360px, 100%); }
  .portrait { margin: 0; }
  .stats { left: auto; right: -12px; }
  .sectors, .creds { grid-template-columns: 1fr; }
  .section__sub { flex-basis: 100%; margin: 4px 0 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .section, .contact { padding: 76px 0; }
  .hero { padding-bottom: 56px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__visual { padding-bottom: 0; }
  .stats { position: relative; right: auto; width: 100%; margin-top: -48px; }
  .services, .modes { grid-template-columns: 1fr; }
  .section__sub { margin-left: 0; }
  .strip__inner { gap: 12px; }
  .strip ul { gap: 6px 20px; }
  .strip li { font-size: 15px; }
  .creds li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .creds__by { text-align: left; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, .hero__actions, .svc--cta { display: none; }
  .hero, .contact, .section--dark { background: #fff; color: #000; }
}
