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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Noto Kufi Arabic", sans-serif;
  background: #f4f6f1;
  color: #242e38;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

:root {
  --primary: #8cc63e;
  --dark: #242e38;
  --darker: #181f26;
  --light-bg: #f4f6f1;
  --white: #ffffff;
  --text: #242e38;
  --muted: #6b7580;
  --border: rgba(36, 46, 56, 0.08);
  --shadow: 0 18px 50px rgba(36, 46, 56, 0.12);
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.16);
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --gradient: linear-gradient(135deg, #8cc63e, #6fa52f);
}

.section {
  padding: 40px 0;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.section-head p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
  border: none;
}

.primary-btn {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(140, 198, 62, 0.28);
}

.secondary-btn {
  border: 1px solid rgba(36, 46, 56, 0.14);
  color: var(--dark);
  background: rgba(255, 255, 255, 0.96);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  background: rgba(244, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 46, 56, 0.08);
}

.header-wrap {
  min-height: 64px;
  position: relative;
}

.nav-toggle {
  display: none;
}

.site-logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #242e38;
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #8cc63e;
}

.header-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.lang-btn,
.menu-btn {
  width: 46px;
  height: 40px;
  border: 1px solid rgba(36, 46, 56, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: #242e38;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.lang-btn {
  font-size: 12px;
  font-weight: 700;
}

.lang-btn:hover,
.menu-btn:hover {
  background: rgba(140, 198, 62, 0.12);
  color: #8cc63e;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  width: 20px;
  height: 2px;
  background: #242e38;
  border-radius: 2px;
  display: block;
}

html[dir="ltr"] .site-logo {
  left: 0;
}

html[dir="ltr"] .site-nav {
  left: 50%;
  transform: translate(-50%, -50%);
}

html[dir="ltr"] .header-side-left {
  right: 0;
}

html[dir="rtl"] .site-logo {
  right: 0;
}

html[dir="rtl"] .site-nav {
  left: 50%;
  transform: translate(-50%, -50%);
  direction: rtl;
  flex-direction: row;
}

html[dir="rtl"] .site-nav a {
  direction: rtl;
}

html[dir="rtl"] .site-nav a {
  direction: rtl;
}

html[dir="rtl"] .header-side-left {
  left: 0;
}

@media (min-width: 769px) {
  .header-side-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-wrap {
    min-height: 64px;
    position: relative;
  }

  .site-logo {
    position: absolute;
    top: 50%;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 20;
  }

  .site-logo-img {
    height: 24px;
    width: auto;
  }

  .header-side-left,
  .header-side-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    display: flex;
    align-items: center;
  }

  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
  }

  html[dir="ltr"] .header-side-right {
    left: 0;
    right: auto;
  }

  html[dir="ltr"] .header-side-left {
    right: 0;
    left: auto;
  }

  html[dir="rtl"] .header-side-left {
    left: 0;
    right: auto;
  }

  html[dir="rtl"] .header-side-right {
    right: 0;
    left: auto;
  }

  .site-nav {
    position: absolute !important;
    top: 100% !important;
    transform: none !important;
    margin: 0 !important;

    background: #ffffff;
    border: none;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 40px rgba(36, 46, 56, 0.08);

    padding: 18px 20px 20px;
    display: none;
    flex-direction: column !important;
    gap: 8px;
    z-index: 50;
  }

  .site-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 999px;
  }

  .site-nav a {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 6px;
    border-radius: 10px;
    color: #242e38 !important;
    background: transparent;
  }

  .site-nav a:hover {
    background: rgba(140, 198, 62, 0.08);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  html[dir="ltr"] .site-nav {
    left: 0 !important;
    right: auto !important;
    width: calc(100% - 200px);
    text-align: left;
    align-items: flex-start;
  }

  html[dir="ltr"] .site-nav a {
    text-align: left;
  }

  html[dir="rtl"] .site-nav {
    right: 0 !important;
    left: auto !important;
    width: calc(100% - 200px);
    text-align: right;
    align-items: flex-end;
  }

  html[dir="rtl"] .site-nav a {
    text-align: right;
  }
}

.services-hero {
  position: relative;
  padding: 56px 0 30px;
  overflow: hidden;
  background: url("../assets/background.jpg") center center / cover no-repeat;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(244, 246, 241, 0.8),
      rgba(244, 246, 241, 0.94)
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(140, 198, 62, 0.08),
      transparent 28%
    );
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.services-hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 14px;
}

.services-hero-content p {
  max-width: 720px;
  color: var(--muted);
}

@media (min-width: 769px) {
  .services-hero {
    padding: 60px 0 34px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: 42px 0 22px;
  }

  .services-hero-content h1 {
    font-size: 2.1rem;
  }

  .services-hero-content p {
    font-size: 0.95rem;
  }
}

.services-section {
  padding: 24px 0 40px;
}

.services-grid {
  display: grid;
  gap: 24px;
}

.service-box {
  background: #ffffff;
  border-radius: 26px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(36, 46, 56, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f2f6ea;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.service-box h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-box p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.service-box ul {
  margin-bottom: 20px;
  padding-left: 18px;
}

.service-box li {
  color: var(--muted);
  margin-bottom: 6px;
}

.service-btn {
  display: inline-block;
  padding: 12px 20px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
}

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

@media (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-box {
    min-height: 100%;
  }
}

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

  .service-box {
    padding: 22px;
    border-radius: 22px;
  }

  .service-box h2 {
    font-size: 1.2rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .service-btn {
    width: 100%;
    text-align: center;
  }
}

.footer {
  background: var(--darker);
  color: var(--white);
  margin-top: 80px;
}

.footer-top-line {
  width: 100%;
  height: 3px;
  background: var(--gradient);
}

.footer-grid {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 56px 0 34px;
}

.footer-col {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.footer-brand-col {
  flex: 1.2;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: 0.25s ease;
}

.footer-logo-link:hover .footer-logo {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer-brand-text {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 18px;
}

.footer-services-list,
.footer-links,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-services-list span,
.footer-links a,
.footer-contact-item {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 16px;
  transition: 0.25s ease;
}

.footer-title:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links a {
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  transition: 0.25s ease;
}

.footer-contact-item i {
  width: 18px;
  min-width: 18px;
  text-align: center;
  color: var(--primary);
  font-size: 15px;
  transition: 0.25s ease;
}

.footer-contact-item:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item:hover i {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 22px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 34px;
    padding: 46px 0 28px;
  }

  .footer-col {
    width: 100%;
  }
}
