:root {
  --mont: 'Montserrat', sans-serif;
}

* {
  margin: 0;
}

body {
  position: relative;
  transition: backgroud-color;
  transition-duration: 0.4s;
}

h2,
p,
a {
  font-family: var(--mont);
}

.menuOverlay {
  position: fixed;
  z-index: 3000;
  width: 0;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  height: 100vh;
  right: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  transition: width 0.4s ease;
}

.menuOverlay a {
  text-decoration: none;
  color: rgb(2, 52, 48);
  font-family: var(--mont);
  font-weight: 600;
  transition: transform;
  transition-duration: var(--transition-duration);
}

.menuOverlay button {
  position: absolute;
  top: 30px;
  right: 20px;
  padding: 10px 12px;
  border: none;
  background-color: rgb(2, 52, 48);
  color: white;
  border-radius: 100%;
  transition: transform;
  transition-duration: 0.4s;
  display: none;
}

.menuOverlay button:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.menuOverlay a:hover {
  cursor: pointer;
  transform: scale(1.1);
}


nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px 10px;
  z-index: 1000;
  transition: background-color;
  transition-duration: 0.4s;
  padding: 10px;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

nav a {
  text-decoration: none;
  color: rgb(2, 52, 48);
  font-family: var(--mont);
  font-weight: 700;
  font-size: 13px;
  line-height: 27px;
}





.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  position: relative;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  border-bottom: 3px solid rgb(2, 52, 48);
  transition: width;
  transition-duration: 0.4s;
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-right a {
  background-color: rgb(64, 179, 62);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.nav-right a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 0;
  height: 100%;
  border-radius: 20px;
  background-color: rgb(2, 52, 48);
  transition: width;
  z-index: -1;
  transition-duration: var(--transition-duration);
}

.nav-right a:hover::before {
  width: 100%;
}

.menu {
  border: none;
  color: rgb(224, 225, 204);
  background-color: rgb(2, 52, 48);
  padding: 10px 12px;
  font-size: 20px;
  border-radius: 100%;
  display: none;
  transition: transform;
  transition-duration: var(--transition-duration);
}

.mode {
  border: none;
  color: rgb(224, 225, 204);
  background-color: rgb(2, 52, 48);
  padding: 10px 12px;
  font-size: 20px;
  border-radius: 100%;
  transition: transform;
  transition-duration: var(--transition-duration);
}

.nav-right button:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.about {
  display: flex;
  gap: 50px;
  width: 90%;
  margin: 100px auto;
}

.abt-left {
  width: 50%;
}

.working {
  font-family: var(--mont);
  font-weight: 500;
  line-height: 62px;
  color: rgb(64, 179, 62);
  font-size: 46px;
}

.abt-left img,
.abt-right img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.abt-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.abt-right p {
  font-family: var(--mont);
  line-height: 22px;
}

.vision {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.vision .title {
  font-family: var(--mont);
  font-weight: 400;
  color: rgb(64, 179, 62);
  font-size: 40px;
}

.vision-left {
  width: 50%;
}

.vision-right {
  width: 50%;
}

.vision-right img {
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.vision p {
  font-family: var(--mont);
  line-height: 22px;
}

.support {
  text-decoration: none;
  color: rgb(2, 52, 48);
  font-weight: 500;
  background-color: rgb(64, 179, 62);
  padding: 10px;
  border-radius: 50px;
  position: relative;
  padding: 20px;
}

.support span {
  background-color: #063837;
  color: rgb(224, 225, 204);
  padding: 5px 12px;
  border-radius: 100%;
}

.community {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 50px 0px;
  /* background: linear-gradient(to bottom right, whitesmoke, rgb(236, 255, 236)); */
}

.community .title {
  text-align: center;
  font-family: var(--mont);
  font-weight: 400;
  color: rgb(64, 179, 62);
  font-size: 30px;
}

.com {
  width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: white;
  border-radius: 20px;
  position: relative;
}

.com img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform;
  transition-duration: 0.2s;
}

.com-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, .4);
  transition: background-color;
  transition-duration: 0.4s;
}

.com:hover .com-overlay {
  cursor: pointer;
  background-color: rgba(0, 0, 0, .2);
}

.com h2 {
  position: absolute;
  bottom: 15%;
  left: 10px;
  font-size: 20px;
  color: white;
  font-family: var(--mont);
}

.com p {
  position: absolute;
  bottom: 8%;
  color: white;
  left: 10px;
  font-size: 13px;
}

.com a {
  position: absolute;
  top: 20px;
  right: 20px;
  transform: rotate(-40deg);
  background-color: white;
  width: 40px;
  height: 40px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: green;
  border-radius: 100%;
  transition: transform;
  transition-duration: 0.4s;
}

.com a:hover {
  transform: scale(1.1);
}

.mission {
  width: 90%;
  margin: 50px auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.mission .title {
  font-family: var(--mont);
  font-weight: 400;
  color: rgb(64, 179, 62);
  font-size: 40px;
}

.mission-left {
  width: 50%;
}

.mission-left p {
  line-height: 22px;
}

.mission-right {
  width: 50%;
}

.mission-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}


.values {
  width: 90%;
  margin: 50px auto;
}

.values .title {
  font-size: 40px;
  font-weight: 500;
  color: rgb(64, 179, 62);
  line-height: 50px;
  font-family: var(--mont);
  text-align: center;
  margin: 80px;
}

.vals {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 70px;
}

.vals h2 {
  color: white;
}

.vals p {
  color: white;
}

.val1,
.val2,
.val3,
.val4 {
  text-align: center;
  width: 33%;
  background-color: rgb(64, 179, 62);
  padding: 10px;
  border-radius: 30px;
  transition: transform;
  transition-duration: 0.4s;
}

.val1:hover,
.val2:hover,
.val3:hover,
.val4:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.meet {
  width: 95%;
  margin: 50px auto;
}

.meet .title {
  font-size: 30px;
  font-weight: 700;
  color: rgb(2, 52, 48);
  line-height: 50px;
  font-family: var(--mont);
  text-align: left;
  margin: 30px 0px;
}

.workers {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.worker {
  width: 23%;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: white;
  border-radius: 30px;
  padding: 20px 0px;
  transition-duration: 0.5s;
  box-shadow: 0 4px 8px 0 rgba(128, 255, 106, 0.2), 0 6px 20px 0 rgba(116, 255, 106, 0.19);
  transition: transform;
  transition-duration: 0.4s;
}

.worker:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.worker h2 {
  font-family: var(--mont);
  font-weight: 700;
  font-size: 18px;
  line-height: 23px;
  color: rgb(2, 52, 48);
}

.worker img {
  border-radius: 100%;
  object-fit: cover;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
}

.worker-social {
  display: flex;
  gap: 20px;
}

.worker-social i {
  color: rgb(2, 52, 48);
  padding: 10px;

  border-radius: 100%;
}

.worker-social i:hover {
  color: rgb(64, 179, 62);

}

.founder {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.founder .title {
  font-size: 30px;
  font-weight: 500;
  color: rgb(64, 179, 62);
  line-height: 50px;
  font-family: var(--mont);
  text-align: center;
}

.founder-div {
  display: flex;
  gap: 30px;
}

.founder-left {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-left img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  border-radius: 30px;
}

.founder-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.founder-right p {
  font-size: 18px;
}

.every {
  width: 90%;
  margin: 100px auto;
  text-align: center;
  position: relative;
}

.every .right {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 30px;
}


.every h2 {
  font-size: 25px;
  font-weight: 500;
  color: rgb(64, 179, 62);
  margin-bottom: 15px;
}

.gallery {
  background-color: rgb(64, 179, 62);
  position: relative;
  padding: 20px 0px;
  margin: 30px auto;
}

.gallery .title {
  font-size: 30px;
  font-weight: 700;
  color: white;
  line-height: 50px;
  font-family: var(--mont);
  text-align: center;
}

.view {
  text-decoration: none;
  color: white;
  font-family: var(--mont);
  font-size: 20px;
}

footer {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

footer a {
  text-decoration: none;
  color: green;
  font-family: var(--mont);
}

.foot {
  display: flex;
  justify-content: space-between;
  padding: 10px 30px;
  align-items: center;
  gap: 30px;
}

.socials {
  display: flex;
  gap: 35px;
  align-items: center;
}

.socials a {
  transition: transform;
  transition-duration: 0.4s;
}



.socials a:hover {
  transform: scale(1.1);
}

.foot p {
  font-family: var(--mont);
  font-weight: 500;
  font-size: 14px;
}

.dark {
  background-color: rgb(2, 52, 48);
  color: white;
}

.text-white {
  color: white;
}



@media screen and (max-width: 768px) {

  nav {
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .nav-right a {
    font-size: 11px;
  }

  .nav-right button {
    display: block;
  }

  .about {
    flex-direction: column;
  }

  .abt-left,
  .abt-right {
    width: 100%;
  }

  .abt-right img {
    display: none;
  }

  .vision,
  .mission,
  .founder,
  .founder-div {
    flex-direction: column;
  }

  .values .title {
    margin: 40px;
  }

  .vision-left,
  .vision-right,
  .mission-left,
  .mission-right,
  .founder-left,
  .founder-right {
    width: 100%;
  }

  .founder-right {
    padding: 0;
  }

  .foot-right p {
    font-size: 10px;
  }

  .community .titl,
  .values .title {
    font-size: 30px;
  }

  .com-div {
    width: 90%;
  }

  .val1,
  .val2,
  .val3,
  .val4 {
    width: 100%;
  }

  .meet .title {
    text-align: center;
  }

  .worker {
    padding: 20px 40px;
  }

  .workers {
    justify-content: center;
  }

  .worker {
    width: 60%;
  }

  .com h2 {
    bottom: 15%;
  }

  .com p {
    bottom: 8%;
  }



  .socials {
    gap: 10px;
  }

  .socials {
    gap: 10px;
  }

}

@media screen and (max-width: 520px) {
  .com p {
    display: none;
  }
}