:root {
  --primary: #004B8D;
  --accent: #00BFA6;
  --warm: #FF7A00;
  --ink: #0F172A;
  --muted: #64748B;
  --bg: #FFFFFF;

  /* צבע רקע להדר (אפשר לשנות כאן במקום לחפש בכל הקובץ) */
  --header-bg: #004C93; /* או השארת var(--primary) אם תרצה אותו גוון */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

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

/* ===== HEADER ===== */
body > header {
  /* ⬇️ הוסר ה-URL של התמונה — רק צבע */
  background: var(--header-bg);
  /* אם תרצה גרדיאנט עדין, החלף לשורה הבאה במקום השורה מעל:
  background: linear-gradient(180deg, #0053A0 0%, #003D75 100%);
  */
  color: white;
}


.header {
  padding: 0px 0 8px; /* ↓ הקטנו רווח עליון ותחתון */
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px; /* ↓ היה 14px, מקטין את המרווח בין הלוגו לטקסט */
  flex-direction: column;
}



.logo-title { font-weight: 800; font-size: 28px; letter-spacing: 0.6px; }
.logo-sub  { font-size: 14px; color: white; }

nav.nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
nav.nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
}
nav.nav a:hover { background: rgba(255,255,255,0.12); }

.section { padding: 56px 0; }

/* ===== HERO layout ===== */
.hero {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

/* ===== HERO illustration fix ===== */
img, svg { max-width: 100%; height: auto; }

.hero-illus {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  aspect-ratio: 720 / 520;
  max-height: 520px;
  margin: 0 auto;
}
@media (max-width: 900px) { .hero-illus { max-height: 420px; } }

/* ===== PROJECTS grid ===== */
.grid-3 {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

.card {
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(2,8,23,.05);
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-height: 0;
}
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p  { margin: 0; }
.kicker {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid #E5E7EB;
  padding: 28px 0;
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--primary); text-decoration: none; }

/* ===== LOGO size ===== */
.logo-wrap svg {
  width: 280px;
  height: auto;
}

/* Brand logo (image replacing inline SVG) */
.brand-logo {
  display: block;
  margin: 0 auto;
  height: 123px;       /* ↑ היה 82px */
  width: auto;
  max-height: 135px;   /* ↑ היה 90px */
}

@media (max-width: 900px) {
  .brand-logo {
    height: 100px;     /* ↑ היה 67px */
    max-height: 110px; /* ↑ היה 75px */
  }
}