:root {
  --green-dark: #0d5a31;
  --green: #17743f;
  --green-soft: #eef8f1;
  --black: #121212;
  --text: #1b1f1c;
  --muted: #5b645f;
  --white: #ffffff;
  --border: #e3e8e5;
  --shadow: 0 18px 50px rgba(10, 65, 34, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cairo", "Inter", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.8;
}

body.en-mode {
  direction: ltr;
  font-family: "Inter", "Cairo", Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-ar {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
}

.brand-en {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
}

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

.lang-btn,
.menu-toggle {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.lang-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
  background: var(--green-dark);
  color: white;
}

.hero {
  padding: 90px 0;
  background:
    radial-gradient(circle at top right, rgba(23, 116, 63, 0.10), transparent 35%),
    radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.06), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6fbf8 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--black);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--black);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--black);
}

.hero-desc,
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 14px 24px rgba(13, 90, 49, 0.22);
}

.btn.secondary {
  background: white;
  color: var(--black);
  border: 1px solid var(--border);
}

.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.section {
  padding: 84px 0;
}

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

.services,
.values {
  background: #f9fbfa;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

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

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(10, 55, 29, 0.06);
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  border-radius: 18px;
  font-size: 28px;
  margin-bottom: 18px;
}

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

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

.feature {
  background: linear-gradient(135deg, #ffffff, var(--green-soft));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  font-weight: 800;
  color: var(--green-dark);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, var(--black), var(--green-dark));
  color: white;
  border-radius: 32px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.contact-box h2,
.contact-box p,
.contact-box .section-label {
  color: white;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a,
.contact-list span {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 18px;
  border-radius: 14px;
  color: white;
  font-weight: 700;
}

.site-footer {
  background: #0e1110;
  color: #dde5df;
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-inner p { margin: 0; }

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .lang-btn {
    padding: 10px 12px;
  }

  .hero {
    padding: 56px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand-ar {
    font-size: 1.1rem;
  }

  .brand-en {
    font-size: 0.85rem;
  }

  .section {
    padding: 62px 0;
  }

  .hero-card {
    padding: 18px;
    border-radius: 24px;
  }
}
