:root {
  --bg: #f8fbff;
  --text: #1b2430;
  --muted: #5f6f80;
  --primary: #1f79c7;
  --primary-dark: #165f9d;
  --accent-orange: #e2872f;
  --accent-green: #6eaf45;
  --accent-red: #c74441;
  --accent-magenta: #922a66;
  --card: #ffffff;
  --border: #d5e2f0;
  --surface: #edf4fb;
  --heading: #111c2d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Cairo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(31, 121, 199, 0.12) 0%, rgba(31, 121, 199, 0) 34%),
    radial-gradient(circle at 92% 80%, rgba(31, 121, 199, 0.08) 0%, rgba(31, 121, 199, 0) 30%),
    var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  color: var(--primary);
}

.hero {
  padding: 92px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  font-weight: 700;
  color: var(--accent-magenta);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  line-height: 1.08;
  color: var(--heading);
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.cta-group {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  font-size: 0.82rem;
  color: #315c87;
  background: #eef5fc;
  border: 1px solid #d9e7f5;
  border-radius: 999px;
  padding: 6px 11px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 121, 199, 0.22);
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(31, 121, 199, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
}

.logo-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(26, 45, 77, 0.12);
}

.logo-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.metrics {
  padding: 0 0 54px;
}

.metrics-grid {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(18, 37, 67, 0.08);
}

.metrics-grid article {
  padding: 22px 18px;
  border-right: 1px solid var(--border);
}

.metrics-grid article:last-child {
  border-right: 0;
}

.metrics-grid strong {
  display: block;
  font-size: 1.55rem;
  color: var(--heading);
  margin-bottom: 6px;
}

.metrics-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 64px 0;
}

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

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin: 0 0 18px;
  color: var(--heading);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.card-kicker {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--heading);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.section-intro {
  color: var(--muted);
  max-width: 70ch;
}

.showcase-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
}

.showcase-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.showcase-card div {
  padding: 16px;
}

.showcase-card h3 {
  margin: 0 0 8px;
  color: var(--heading);
}

.showcase-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card {
  margin-top: 14px;
  max-width: 520px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.contact-card p {
  margin: 0 0 6px;
}

.contact-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: start;
}

.pillars {
  display: grid;
  gap: 12px;
}

.pillars article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
}

.pillars h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--heading);
}

.pillars p {
  margin: 0;
  color: var(--muted);
}

a {
  color: var(--primary);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  background: #f2f7fd;
}

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

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

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

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

  .metrics-grid article:nth-child(2n) {
    border-right: 0;
  }

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

  .nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
