/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  font-family: "El Messiri", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  list-style: none;
  text-decoration: none;
}
*::selection {
  background: var(--main-color);
  color: #fff;
}

body.active {
  --text-color: #fff;
  --bg-color: #1e1c2a;
}

:root {
  --main-color: #00a935;
  --text-color: #1e1c2a;
  --bg-color: #fff;

  --big-font: 4rem;
  --h2-font: 2.24rem;
  --p-font: 0.9rem;
}

section {
  padding: 50px 10%;
}

.myText::after {
  content: "";
  display: block;
  position: relative;
  width: 30%;
  border: 2px solid var(--main-color);
  margin-top: 8px;
}

body {
  color: var(--text-color);
  background: var(--bg-color);
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-color);
  padding: 18px 100px;
  box-shadow: 0 0.5rem 50rem rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00a935;
}

.navbar {
  display: flex;
}

.my_link {
  display: inline-block;
  font-size: 1rem;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
}
.my_link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #2ed573;
  transition: width 0.3s;
}
.my_link:hover::after {
  width: 100%;
}

.navbar a:hover {
  color: var(--main-color);
}

#menu-icon {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

#darkMode {
  font-size: 25px;
  cursor: pointer;
}
.home {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.home_img img {
  width: 100%;
}

.home_text h1 {
  font-size: var(--big-font);
  color: var(--main-color);
}

.home_text h2 {
  font-size: var(--h2-font);
  margin: 1rem 0 1rem;
}

.btn {
  display: inline-block;
  background: var(--main-color);
  padding: 10px 20px;
  border-radius: 1rem;
  color: #fff;
  transition: all 0.3s linear;
}

.btn:hover {
  background: #2ed573;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.about_img img {
  max-width: 80%;
  border-radius: 1rem;
}

.about_text span {
  color: #007425;
  font-weight: 500;
}

.about_text h2 {
  font-size: var(--h2-font);
}

.about_text p {
  margin: 0.8rem 0 1.8rem;
}

.heading {
  text-align: center;
}

.heading span {
  color: var(--main-color);
  font-weight: 500;
}

.heading h2 {
  font-size: var(--h2-font);
}

.menu_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 1.5rem;
  align-items: center;
}

.box {
  position: relative;
  margin-top: 2rem;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgb(4 64 54 / 10%);
  padding: 10px;
  transition: all 0.5s ease-in-out;
}
.box:hover {
  transform: translateY(-10%);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.box_img {
  width: 200px;
  height: 200px;
}

.box_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.box h2 {
  font-size: 1.2rem;
}

.box h3 {
  font-size: 1rem;
  font-weight: 400;
  margin: 4px 0 10px;
}

.box span {
  font-size: var(--p-font);
  font-weight: 500;
}

.box .bx {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  background: var(--main-color);
  border-radius: 0 1rem 0 1rem;
  padding: 5px 8px;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

.box .bx:hover {
  background: #2ed573;
}

.servives_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, auto));
  gap: 1.5rem;
  margin-top: 2rem;
}

.s_box {
  text-align: center;
}

.s_box img {
  width: 60px;
}

.s_box h3 {
  margin: 4px 0 10px;
}

.connect {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.connect_text span {
  color: var(--main-color);
  font-weight: 500;
}

.connect_text h2 {
  font-size: var(--h2-font);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  gap: 1.5rem;
}

.contact_box h3 {
  margin-bottom: 1rem;
}

.social {
  display: flex;
  margin-top: 1.5rem;
}

.social i {
  font-size: 20px;
  margin-left: 1rem;
  color: var(--text-color);
  transition: all 0.3s ease-in-out;
}

.social i:hover {
  color: var(--main-color);
}

.address {
  display: flex;
  flex-direction: column;
}

.address i {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.address span {
  margin-right: 1rem;
}

.copyright {
  padding: 20px;
  text-align: center;
}

.copyright span {
  border-bottom: 2px solid var(--main-color);
  font-weight: 700;
}

#myBtn {
  display: none;
}

#myBtn {
  background-color: #c2fbd7;
  border-radius: 100px;
  box-shadow: rgba(44, 187, 99, 0.2) 0 -25px 18px -14px inset,
    rgba(44, 187, 99, 0.15) 0 1px 2px, rgba(44, 187, 99, 0.15) 0 2px 4px,
    rgba(44, 187, 99, 0.15) 0 4px 8px, rgba(44, 187, 99, 0.15) 0 8px 16px,
    rgba(44, 187, 99, 0.15) 0 16px 32px;
  color: green;
  display: inline-block;
  text-align: center;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  position: fixed;
  bottom: 20px;
  left: 30px;
  z-index: 99;
  font-size: 20px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
}

.button-33:hover {
  box-shadow: rgba(44, 187, 99, 0.35) 0 -25px 18px -14px inset,
    rgba(44, 187, 99, 0.25) 0 1px 2px, rgba(44, 187, 99, 0.25) 0 2px 4px,
    rgba(44, 187, 99, 0.25) 0 4px 8px, rgba(44, 187, 99, 0.25) 0 8px 16px,
    rgba(44, 187, 99, 0.25) 0 16px 32px;
  transform: scale(1.05) rotate(-1deg);
}
