* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f4f7f3;
  --text: #1f2a1f;
  --muted: #5f6f5f;
  --green: #2f7d44;
  --green-dark: #1f5d32;
  --gold: #d6a94c;
  --white: #ffffff;
  --line: #dbe4da;
  --shadow: 0 10px 30px rgba(18, 40, 20, 0.08);
}

body {
  font-family: "Tahoma", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbf7 0%, #f1f6ef 100%);
  color: var(--text);
  direction: rtl;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

.cta-small {
  text-decoration: none;
  color: var(--white);
  background: var(--green);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.hero {
  padding: 52px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.hero-text,
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-text {
  padding: 26px;
}

.badge {
  display: inline-block;
  background: #ebf6ee;
  color: var(--green-dark);
  border: 1px solid #cfe5d5;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.hero p {
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
}

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

.btn-light {
  background: #f7faf7;
  color: var(--green-dark);
  border: 1px solid var(--line);
}

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

.stat {
  background: #f8fbf7;
  border: 1px solid #e3ece3;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.stat .counter {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  display: block;
}

.stat small {
  color: var(--muted);
}

.hero-card {
  padding: 24px;
}

.hero-card h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-card li {
  background: #f8fbf7;
  border: 1px solid #e2ebe1;
  border-radius: 10px;
  padding: 10px;
  color: var(--text);
}

.services {
  padding: 20px 0 14px;
}

.services h2 {
  margin-bottom: 12px;
  color: var(--green-dark);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  line-height: 1.8;
}

.steps {
  padding: 24px 0;
}

.steps h2 {
  margin-bottom: 12px;
  color: var(--green-dark);
}

.timeline {
  display: grid;
  gap: 10px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.gallery {
  padding: 16px 0 24px;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery h2 {
  color: var(--green-dark);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 100px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  color: var(--green-dark);
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

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

.contact {
  padding: 10px 0 20px;
}

.contact-box {
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf5 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  color: var(--green-dark);
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--muted);
  margin-bottom: 14px;
}

.contact-actions {
  padding: 0 0 34px;
}

.contact-actions-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-actions-box h2 {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    min-height: 58px;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
  }
}
