html {
  scroll-behavior: smooth;
}
body {
  font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  overflow-x: hidden;
  color: #17231b;
}

.bg-cream {
  background: #faf8f1;
}
.bg-sand {
  background: #ede5d3;
}
.bg-forest {
  background: #164a2c;
}
.text-forest {
  color: #164a2c;
}
.text-muted {
  color: #667068;
}
.section-pad {
  padding: 5rem 0;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: #164a2c;
  font-weight: 800;
}
.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(132, 184, 44, 0.12);
  color: #2f6b35;
  font-weight: 700;
  font-size: 0.92rem;
}
.header-second-logo-wrap {
  width: 58px;
  height: 58px;
}

.second-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #84b82c;
}
.shadow-soft {
  box-shadow: 0 24px 60px rgba(23, 35, 27, 0.12);
}
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: #164a2c;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: relative;
  z-index: 40;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #84b82c;
  box-shadow: 0 0 0 0.35rem rgba(132, 184, 44, 0.2);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 241, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: 0.25s ease;
}
.site-header.is-sticky {
  border-bottom-color: rgba(23, 35, 27, 0.08);
  box-shadow: 0 10px 30px rgba(23, 35, 27, 0.08);
}
.header-shell {
  min-height: 4.75rem;
}
.header-shell {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.header-start {
  display: flex;
  align-items: center;
  gap: 1rem;
  order: 1;
  flex: 0 0 auto;
}
.header-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.brand-inline {
  display: inline-flex;
}
.brand {
  order: 2;
}
.header-actions {
  order: 3;
}
.header-nav {
  order: 4;
}
.brand-logo,
.footer-logo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
.nav-link,
.mobile-link {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #274131;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover,
.mobile-link:hover,
.nav-link.active {
  background: rgba(132, 184, 44, 0.12);
  color: #164a2c;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}
.btn-lg {
  padding: 0.95rem 1.45rem;
}
.btn-primary {
  background: #84b82c;
  color: #102012;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(132, 184, 44, 0.25);
}
.btn-outline {
  border: 1px solid rgba(23, 35, 27, 0.14);
  color: #164a2c;
  background: rgba(255, 255, 255, 0.75);
}
.btn-outline:hover {
  background: #fff;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-light {
  background: #fff;
  color: #164a2c;
}
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(23, 35, 27, 0.1);
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  gap: 0.22rem;
}
.menu-toggle span {
  width: 1.3rem;
  height: 2px;
  background: #164a2c;
  border-radius: 999px;
  transition: 0.25s ease;
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-menu {
  overflow: hidden;
}
.mobile-menu-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 35, 27, 0.08);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(23, 35, 27, 0.1);
}
.mobile-menu[data-open="true"] {
  display: block;
}

.hero {
  position: relative;
  padding-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 24, 15, 0.88),
    rgba(22, 74, 44, 0.64) 45%,
    rgba(23, 35, 27, 0.38)
  );
}
.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}
.hero-logo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem;
}
.info-chip {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.leaf-shape {
  position: absolute;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(
    circle,
    rgba(132, 184, 44, 0.26),
    rgba(132, 184, 44, 0)
  );
  filter: blur(10px);
  pointer-events: none;
}
.leaf-one {
  inset-inline-start: -1rem;
  top: 2rem;
}
.leaf-two {
  inset-inline-end: 0;
  bottom: 1rem;
}
.value-card,
.feature-card,
.contact-panel,
.form-panel,
.product-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 35, 27, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 16px 32px rgba(23, 35, 27, 0.06);
}
.value-card {
  padding: 1rem 1.1rem;
  color: #164a2c;
  font-weight: 700;
  text-align: center;
}
.product-card {
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.product-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(23, 35, 27, 0.12);
}
.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.card-body {
  padding: 1.2rem;
}
.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #164a2c;
}
.card-text {
  margin-top: 0.6rem;
  color: #667068;
  line-height: 1.8;
}

.single-image-frame {
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 27, 0.08);
  box-shadow: 0 22px 50px rgba(23, 35, 27, 0.1);
  background: #fff;
}
.single-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-card {
  padding: 1.4rem;
  text-align: center;
}
.feature-icon {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 1rem;
}
.feature-card h3 {
  color: #164a2c;
  font-weight: 800;
  font-size: 1.1rem;
}
.feature-card p {
  margin-top: 0.7rem;
  color: #667068;
  line-height: 1.75;
}
.cta-strip {
  padding-top: 0;
}
.cta-panel {
  background:
    linear-gradient(135deg, rgba(22, 74, 44, 0.98), rgba(47, 107, 53, 0.96)),
    url("../images/wheat-grain-01.jpg") center/cover;
  border-radius: 2rem;
  padding: 2rem;
  color: #fff;
  overflow: hidden;
}
.contact-panel {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.contact-panel-head {
  display: grid;
  gap: 0.6rem;
}
.contact-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #164a2c;
  line-height: 1.2;
}
.contact-copy {
  color: #667068;
  line-height: 1.9;
}
.contact-list {
  display: grid;
  gap: 0.8rem;
}
.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(250, 248, 241, 0.9)
  );
  border: 1px solid rgba(23, 35, 27, 0.06);
}
.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(23, 35, 27, 0.08);
}
.contact-label {
  color: #667068;
  font-size: 0.95rem;
}
.contact-value {
  color: #102012;
  font-size: 1rem;
  direction: ltr;
}
.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.contact-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #164a2c;
  color: #fff;
  font-weight: 700;
}
.contact-quick-btn:hover {
  background: #2f6b35;
}
.contact-note {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(132, 184, 44, 0.12);
  color: #2f6b35;
  line-height: 1.8;
  font-weight: 600;
}
.form-panel {
  padding: 1.5rem;
}
label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: #164a2c;
}
input,
textarea,
select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(23, 35, 27, 0.12);
  background: #fff;
  padding: 0 8px;
  min-height: 3rem;
  outline: none;
  transition: 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #84b82c;
  box-shadow: 0 0 0 4px rgba(132, 184, 44, 0.14);
}
.field-error {
  min-height: 1.25rem;
  margin-top: 0.35rem;
  color: #b42318;
  font-size: 0.92rem;
}
.footer {
  background: #102012;
  color: #fff;
}
.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #eaf3df;
}
.footer a:hover {
  color: #c79a38;
}
.back-to-top {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: none;
  background: #84b82c;
  color: #102012;
  font-size: 1.2rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 1023px) {
}
@media (max-width: 767px) {
  .section-pad {
    padding: 4rem 0;
  }
  .contact-line {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-quick {
    flex-direction: column;
  }
  .contact-quick-btn {
    width: 100%;
  }
  .header-start {
    gap: 0.75rem;
  }
  .header-logo-end {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .hero {
    min-height: auto;
  }
}

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