:root {
  --green: #15533f;
  --green-mid: #2f7a56;
  --leaf: #c4e86b;
  --ink: #17231e;
  --paper: #f4f7f5;
  --muted: #5c6f66;
  --line: #d5e0da;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(23, 35, 30, 0.12);
  --radius: 18px;
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-mid);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--leaf);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 245, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(23, 35, 30, 0.06);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-lockup {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--leaf);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d4f08a;
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--green);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--green-mid);
  color: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 15% 10%, rgba(196, 232, 107, 0.22), transparent 55%),
    radial-gradient(700px 420px at 90% 0%, rgba(47, 122, 86, 0.35), transparent 50%),
    linear-gradient(160deg, #12362c 0%, var(--ink) 55%, #0d1713 100%);
  color: var(--white);
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 5rem;
  width: 100%;
}

.hero-lockup {
  height: clamp(52px, 8vw, 72px);
  width: auto;
  margin-bottom: 1.75rem;
  animation: rise 0.7s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.25;
  font-weight: 800;
  max-width: 16ch;
  animation: rise 0.75s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: rgba(244, 247, 245, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  animation: rise 0.75s ease 0.14s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.75s ease 0.2s both;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--green-mid);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.3;
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.pillar:hover {
  transform: translateY(-3px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(21, 83, 63, 0.08);
  display: grid;
  place-items: center;
}

.pillar-icon img {
  width: 22px;
  height: 22px;
}

.pillar h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

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

.product {
  background: linear-gradient(180deg, rgba(21, 83, 63, 0.05), transparent 40%);
}

.product-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-copy {
  padding: 2rem 1.75rem;
}

.product-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.1rem;
}

.product-copy ul {
  margin: 1.25rem 0 1.75rem;
  padding-inline-start: 1.15rem;
  color: var(--muted);
}

.product-copy li + li {
  margin-top: 0.35rem;
}

.product-visual {
  background:
    radial-gradient(420px 280px at 70% 20%, rgba(196, 232, 107, 0.35), transparent 60%),
    linear-gradient(145deg, var(--green) 0%, var(--ink) 100%);
  color: var(--white);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.product-visual strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.product-visual p {
  margin: 0;
  color: rgba(244, 247, 245, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.contact-card,
.social-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.contact-list li + li {
  margin-top: 0.75rem;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.social-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ebf1ed;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .pillars,
  .product-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 3.25rem;
    padding-bottom: 3.75rem;
  }
}

@media (max-width: 640px) {
  .nav-links .nav-text {
    display: none;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-lockup,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .reveal,
  .pillar {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
