@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-arabic-700.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --green: #176b4d;
  --green-deep: #0e4632;
  --green-mid: #1f7a58;
  --green-soft: #e7f6ee;
  --paper: #f4f6f5;
  --white: #ffffff;
  --ink: #1d2421;
  --muted: #5f6b65;
  --line: #d7e0db;
  --max: 1120px;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  z-index: 40;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 245, 0.92);
  border-bottom: 1px solid rgba(215, 224, 219, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--green-deep);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14, 70, 50, 0.28) 0%, rgba(14, 70, 50, 0.78) 55%, rgba(10, 48, 34, 0.94) 100%),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.16), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(231, 246, 238, 0.18), transparent 28%),
    linear-gradient(135deg, #176b4d 0%, #11573e 42%, #0a3022 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art svg {
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 3.5rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: rise 0.8s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  line-height: 1.45;
  font-weight: 600;
  animation: rise 0.8s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1.12rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  animation: rise 0.8s ease 0.16s both;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.9rem;
  border: 1.5px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--white);
  color: var(--green-deep);
}

.btn-primary:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

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

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

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

.section .lede {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--muted);
}

.prose {
  max-width: 46rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.75rem;
  line-height: 1.35;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.3rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 840px) {
  .split-2 {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.feature-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 0;
  border: 0;
  background: transparent;
}

.feature-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

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

.guide-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.guide-list a:hover {
  color: var(--green-deep);
  padding-inline-start: 0.35rem;
}

.guide-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.08rem;
}

.guide-list span {
  color: var(--muted);
  font-size: 0.98rem;
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.page-hero {
  background: linear-gradient(180deg, #e7f6ee 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2.25rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.3;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer a {
  color: #d7f0e4;
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  color: var(--white);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-copy {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.contact-box {
  display: grid;
  gap: 0.85rem;
  max-width: 32rem;
}

.contact-box label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: var(--white);
}

.contact-box textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-box button {
  appearance: none;
  border: 0;
  border-radius: 0.9rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-box button:hover {
  background: var(--green-deep);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.ad-slot {
  margin: 1.75rem 0;
  min-height: 90px;
  overflow: hidden;
  text-align: center;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
