@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #006b3f;
  --deep: #003d2b;
  --emerald: #00a86b;
  --light: #dff7ea;
  --bg: #f7faf8;
  --white: #ffffff;
  --text: #10241b;
  --muted: #5d6b63;
  --accent: #24c878;
  --line: rgba(0, 107, 63, 0.14);
  --shadow: 0 18px 45px rgba(0, 61, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

.section {
  padding: 88px 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, #eef8f2 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

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

.section-head h2,
.page-hero h1,
.hero h1 {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p,
.page-hero p,
.hero p {
  color: var(--muted);
  margin: 14px 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 107, 63, 0.1);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(0, 61, 43, 0.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

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

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

.brand-name {
  font-weight: 800;
  color: var(--deep);
  font-size: 18px;
}

.brand-tag {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(0, 168, 107, 0.09);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--deep);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 800;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.35), transparent 80%);
  transform: translateX(120%);
  transition: transform 0.6s ease;
}

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

.btn:hover::after {
  transform: translateX(-120%);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--emerald));
  box-shadow: 0 14px 30px rgba(0, 107, 63, 0.24);
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero {
  height: 100svh;
  margin-top: -78px;
  padding-top: 78px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(36, 200, 120, 0.22), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(0, 107, 63, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #eef8f2 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 34px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: var(--deep);
}

.kinetic {
  display: block;
  min-height: 1.25em;
  color: var(--primary);
}

.kinetic-word {
  display: inline-block;
  animation: wordIn 0.55s ease both;
}

.hero-subtitle {
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 800;
  color: var(--text);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.trust-card {
  padding: 10px 12px;
  font-weight: 800;
  color: var(--deep);
  text-align: center;
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.hero-image {
  aspect-ratio: 4 / 5;
  width: min(450px, 100%);
  margin-inline: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 61, 43, 0.22);
}

.floating-note {
  position: absolute;
  right: -8px;
  bottom: 34px;
  max-width: 250px;
  padding: 16px;
  color: var(--deep);
  font-weight: 800;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.service-card,
.simple-card,
.step-card,
.blog-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 61, 43, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card,
.simple-card,
.step-card,
.contact-card {
  padding: 22px;
}

.feature-card:hover,
.service-card:hover,
.simple-card:hover,
.step-card:hover,
.blog-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 107, 0.35);
  box-shadow: 0 20px 42px rgba(0, 61, 43, 0.12);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--light);
  margin-bottom: 14px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.service-card h3,
.simple-card h3,
.step-card h3,
.blog-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--deep);
}

.feature-card p,
.service-card p,
.simple-card p,
.step-card p,
.blog-card p,
.contact-card p,
.article-body p,
.article-body li {
  color: var(--muted);
}

.service-card {
  overflow: hidden;
}

.service-card img,
.blog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  background: #eef8f2;
  transition: transform 0.35s ease;
}

.service-card:hover img,
.blog-card:hover img {
  transform: scale(1.04);
}

.service-body,
.blog-body {
  padding: 20px;
}

.service-body .btn,
.blog-body .btn {
  margin-top: 12px;
}

.why-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 36px;
}

.why-wrap img,
.about-image,
.sticky-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  background: rgba(223, 247, 234, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 700;
}

.parallax {
  min-height: 470px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(0, 61, 43, 0.72), rgba(0, 107, 63, 0.64)), url("../images/غلاف واتس.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-card {
  width: min(620px, 100%);
  padding: 32px;
  color: var(--white);
}

.parallax-card p {
  color: rgba(255, 255, 255, 0.88);
}

.bill-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.bill-panel {
  padding: 30px;
}

.timeline {
  counter-reset: step;
}

.step-card {
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.gallery-track:hover .gallery-item {
  animation-play-state: paused;
}

.gallery-item {
  min-width: 330px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: scrollX 22s linear infinite;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item span {
  display: block;
  padding: 12px;
  font-weight: 800;
  color: var(--deep);
}

.guarantee {
  background:
    radial-gradient(circle at 20% 20%, rgba(36, 200, 120, 0.22), transparent 30%),
    linear-gradient(135deg, var(--deep), var(--primary));
  color: var(--white);
}

.guarantee .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 6px 12px;
}

.guarantee .section-head p {
  color: rgba(255, 255, 255, 0.84);
}

.guarantee .cta-actions {
  justify-content: center;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--deep);
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: right;
  cursor: pointer;
}

.faq-question span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
  padding-bottom: 2px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding: 0 18px 18px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item.open .faq-question span {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.page-hero {
  padding: 82px 0 54px;
  background:
    radial-gradient(circle at 18% 10%, rgba(36, 200, 120, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #edf8f2);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  color: var(--deep);
}

.sticky-services {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.sticky-visual {
  position: sticky;
  top: 104px;
}

.service-detail {
  padding: 24px;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-layout {
  width: min(870px, calc(100% - 32px));
  margin-inline: auto;
}

.article-cover {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 34px 0;
}

.article-body h2 {
  color: var(--deep);
  margin-top: 34px;
}

.cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(36, 200, 120, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff, #e9f8ef);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 34px;
}

.site-footer {
  background: var(--deep);
  color: var(--white);
  text-align: center;
  padding: 46px 0 28px;
}

.footer-brand {
  justify-content: center;
  margin-bottom: 18px;
}

.footer-brand .brand-name,
.footer-brand .brand-tag {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-copy {
  margin: 18px 0 10px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-powered,
.powered {
  direction: ltr;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
}

.footer-powered .line,
.powered .line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-powered a,
.powered a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-powered a:hover,
.powered a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.footer-powered .sep,
.powered .dash {
  opacity: 0.58;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 107, 63, 0.32);
  animation: pulse 2s infinite;
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  display: block;
  transform: translateY(-0.5px);
}

.floating-whatsapp span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.42);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    text-align: center;
  }

  .brand {
    min-width: 0;
  }

  .nav .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    text-align: center;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .why-wrap,
  .bill-band,
  .sticky-services,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    margin-top: 0;
    min-height: calc(100svh - 78px);
    padding: 34px 0;
  }

  .trust-row,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky-visual {
    position: static;
  }

  .parallax {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 62px 0;
  }

  .hero {
    min-height: calc(100svh - 78px);
  }

  .hero-grid,
  .section-head,
  .page-hero {
    text-align: center;
  }

  .hero-actions,
  .cta-actions {
    justify-content: center;
  }

  .floating-note {
    position: static;
    margin: 14px auto 0;
  }

  .footer-powered,
  .powered {
    flex-direction: column;
    gap: 4px;
  }

  .footer-powered .sep,
  .powered .dash {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand img {
    width: 43px;
    height: 43px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tag {
    font-size: 10px;
  }

  .trust-row,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .nav .brand {
    width: 220px;
  }

  .gallery-item {
    min-width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
