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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Tahoma, sans-serif;
  background: radial-gradient(circle at top left, #e6ffe6 0, #f8fff8 40%, #ffffff 100%);
  color: #123321;
  line-height: 1.7;
}

/* ------------ HEADER / NAV ------------ */

.site-header {
  background: linear-gradient(120deg, #0b8a3b, #1bbf5b);
  color: #fff;
  padding: 1rem 6vw 0.3rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.logo-and-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-box img {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: radial-gradient(circle at 30% 20%, #ffffff55 0, #ffffff00 60%);
  padding: 6px;
}

.company-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tagline {
  font-size: 0.9rem;
  opacity: 0.95;
}

/* language switch */

.lang-switch {
  margin-top: 0.4rem;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0.35rem 0.9rem;
  margin-inline-end: 0.5rem;
  margin-bottom: 0.25rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-btn::before {
  content: "●";
  font-size: 0.55rem;
}

.lang-btn.active {
  background: #fff;
  color: #0b8a3b;
  transform: translateY(-1px);
}

/* nav */

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.7rem;
  padding-bottom: 0.5rem;
}

.nav-link {
  position: relative;
  color: #f8fff8;
  text-decoration: none;
  font-size: 0.9rem;
  padding-bottom: 0.25rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #ffffff;
  border-radius: 999px;
  transition: width 0.25s ease-in-out;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

/* ------------ HERO ------------ */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  padding: 2.75rem 6vw 2.2rem;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 40%;
  mix-blend-mode: multiply;
  opacity: 0.12;
  filter: blur(4px);
  animation: float 16s ease-in-out infinite alternate;
}

.hero::before {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #0b8a3b 0, #0b8a3b 40%, transparent 70%);
  top: -120px;
  right: -80px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #9fdc7b 0, #9fdc7b 40%, transparent 70%);
  bottom: -120px;
  left: -60px;
  animation-duration: 20s;
}

@keyframes float {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-15px) translateX(10px);
  }
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h2 {
  font-size: 1.9rem;
  margin-bottom: 0.9rem;
  color: #0b8a3b;
}

.hero-text p {
  font-size: 1rem;
  max-width: 600px;
  color: #304530;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 440px;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 24px;
  border: 1px solid rgba(11, 138, 59, 0.2);
  pointer-events: none;
}

.hero-image:hover img {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

/* ------------ SECTIONS ------------ */

.content-section {
  padding: 2.75rem 6vw;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: start;
}

.content-section.alt-bg {
  background-color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02), inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.section-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-image img:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.15);
}

.section-text h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  color: #0b8a3b;
  position: relative;
}

.section-text h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b8a3b, #9fdc7b);
  margin-top: 0.35rem;
}

.section-text p {
  margin-bottom: 0.6rem;
  font-size: 0.97rem;
}

/* icon list */

.icon-list {
  list-style: none;
}

.icon-list li {
  margin-bottom: 1.1rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f3fff6);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(11, 138, 59, 0.05);
  position: relative;
  overflow: hidden;
}

.icon-list li::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #0b8a3b, #1bbf5b);
  top: 14px;
  left: 14px;
}

.icon-list li h4 {
  color: #0b8a3b;
  font-size: 1.03rem;
  margin-bottom: 0.28rem;
  padding-left: 1.7rem;
}

.icon-list li p {
  padding-left: 1.7rem;
}

/* section titles */

.section-title {
  grid-column: 1 / -1;
  font-size: 1.45rem;
  margin-bottom: 1.6rem;
  color: #0b8a3b;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.4rem;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b8a3b, #9fdc7b);
}

/* cards grid (products) */

.cards-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.card {
  background: radial-gradient(circle at top left, #f7fff9 0, #ffffff 55%, #f3fff7 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(11, 138, 59, 0.08);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1.05rem 1.2rem 1.25rem;
  font-size: 0.95rem;
}

.card-body h4 {
  margin-bottom: 0.4rem;
  color: #0b8a3b;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
  border-color: rgba(11, 138, 59, 0.3);
}

/* coverage cards */

.coverage-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.coverage-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(11, 138, 59, 0.06);
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coverage-card h4 {
  margin-bottom: 0.35rem;
  color: #0b8a3b;
}

.coverage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

/* contact */

.contact-section {
  align-items: stretch;
}

.contact-list {
  list-style: none;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.32rem;
}

.contact-form {
  background: radial-gradient(circle at top left, #f2fff6 0, #ffffff 50%);
  padding: 1.3rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(11, 138, 59, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #9fdc7b, transparent);
  opacity: 0.15;
  bottom: -60px;
  right: -60px;
}

.contact-form h4 {
  margin-bottom: 0.65rem;
  color: #0b8a3b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.7rem;
  border-radius: 10px;
  border: 1px solid #cfd9cf;
  font-size: 0.9rem;
  background-color: #fafffa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0b8a3b;
  box-shadow: 0 0 0 2px rgba(11, 138, 59, 0.15);
  background-color: #ffffff;
}

.contact-form button {
  border: none;
  background: linear-gradient(135deg, #0b8a3b, #1bbf5b);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #666;
}

/* footer */

.site-footer {
  text-align: center;
  font-size: 0.85rem;
  padding: 1.2rem 6vw 1.6rem;
  color: #3c5a3c;
  background: linear-gradient(180deg, #ffffff 0, #f0fff3 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ------------ LANGUAGE HANDLING ------------ */

.lang-en,
.lang-ar {
  display: none;
}

body.lang-ar-active .lang-ar {
  display: block;
}

body.lang-ar-active .lang-en {
  display: none;
}

body.lang-en-active .lang-en {
  display: block;
}

body.lang-en-active .lang-ar {
  display: none;
}

/* ------------ RESPONSIVE ------------ */

@media (max-width: 900px) {
  .hero,
  .content-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .main-nav {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .company-name {
    font-size: 1.05rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .site-header {
    padding-inline: 4vw;
  }

  .hero,
  .content-section {
    padding-inline: 4vw;
  }
}
