/* Al-Hailat Software — Static HTML version */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0a1f3d;
  --navy-deep: #061730;
  --blue: #29b6f6;
  --pink: #e91e63;
  --green: #66bb6a;
  --bg: #f8fafc;
  --text: #0a1f3d;
  --muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(10,31,61,.06);
  --shadow: 0 10px 30px rgba(10,31,61,.10);
  --shadow-lg: 0 20px 50px rgba(10,31,61,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: 'Cairo', sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}
.brand img { height: 40px; width: 40px; border-radius: 10px; object-fit: cover; }
.brand-name { font-size: 17px; line-height: 1.1; }
.brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--text);
  font-size: 15px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: #eef4fb; color: var(--blue); }
.nav-links a.active { color: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-btn {
  border: 1px solid var(--border);
  background: #fff;
  padding: 7px 13px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: background .2s, border-color .2s;
}
.lang-btn:hover { border-color: var(--blue); background: #eef9ff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  box-shadow: 0 8px 22px rgba(233,30,99,.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(233,30,99,.32); }
.btn-outline {
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-dark {
  background: var(--navy);
  color: white;
}
.btn-dark:hover { background: #0d294f; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(41,182,246,.18), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(233,30,99,.15), transparent 55%),
    linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
}
html[dir="rtl"] .hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(41,182,246,.22), transparent 55%),
    radial-gradient(ellipse at 20% 30%, rgba(233,30,99,.18), transparent 55%),
    linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: #0a1f3d;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: white; }
.section-dark { background: var(--navy); color: white; }
.section-dark .muted { color: rgba(255,255,255,.7); }
.section-dark h2 { color: white; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(41,182,246,.12);
  color: var(--blue);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-dark .eyebrow { background: rgba(41,182,246,.15); color: #66d2ff; }
h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { color: var(--muted); margin-top: 8px; font-weight: 500; font-size: 14px; }

/* ============ CARDS ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(41,182,246,.4);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ============ INDUSTRY GRID ============ */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ind-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: default;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ind-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.ind-card:hover img { transform: scale(1.05); }
.ind-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,61,0) 35%, rgba(10,31,61,.85) 100%);
}
.ind-card span {
  position: absolute;
  bottom: 18px; left: 20px; right: 20px;
  z-index: 2;
  color: white;
  font-weight: 700;
  font-size: 18px;
}
html[dir="rtl"] .ind-card span { text-align: right; }

/* ============ PROJECTS ============ */
.project-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.project-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(41,182,246,.12);
  color: var(--blue);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.project-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.project-client { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.project-summary { color: #334155; font-size: 15px; margin-bottom: 18px; flex: 1; }
.project-results { border-top: 1px solid var(--border); padding-top: 16px; }
.results-label { font-size: 12px; font-weight: 700; color: var(--pink); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.project-results ul { list-style: none; }
.project-results li {
  font-size: 14px;
  color: #334155;
  padding: 5px 0;
  padding-inline-start: 22px;
  position: relative;
}
.project-results li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--green);
  font-weight: 800;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.info-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.info-card h4 { font-size: 14px; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.info-card p, .info-card a { font-size: 16px; color: var(--navy); font-weight: 600; }
.info-card a:hover { color: var(--blue); }

.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #f8fafc;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(102,187,106,.12);
  color: #2e7d32;
  font-weight: 600;
  font-size: 14px;
}
.form-success.show { display: block; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.value-card {
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #0d294f);
  color: white;
}
.value-card.alt { background: linear-gradient(135deg, var(--pink), #c2185b); }
.value-card h3 { color: white; font-size: 22px; margin-bottom: 12px; font-weight: 700; }
.value-card p { color: rgba(255,255,255,.85); font-size: 16px; }

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d294f 100%);
  color: white;
  padding: 70px 0;
  text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 26px; font-size: 17px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 50px 0 26px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer h5 { color: white; font-weight: 700; margin-bottom: 14px; font-size: 15px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a:hover { color: var(--blue); }
.footer .brand { color: white; margin-bottom: 12px; }
.footer .brand-sub { color: rgba(255,255,255,.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  text-align: center;
  color: rgba(255,255,255,.5);
}

/* ============ RTL TWEAKS ============ */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .hero p { margin-inline-end: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .contact-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 18px;
    gap: 4px;
    align-items: stretch;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 600px) {
  .grid, .ind-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 70px; }
}
