@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;700&family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'poppins', sans-serif;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

.root {
  --bg-color: #ffffff;
  --text-color: #000;
  --secound-color: #a09dab;
  --main-color: #2F8D46;
  --big-font: 5rem;
  --h2-font: 3rem;
  --p-font: 1.1rem;

}

body {
  font-family: 'poppins', sans-serif;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgb(0, 0, 0);
}

span {
  font-size: .9rem;
  color: rgb(0, 0, 0);
}

h6 {
  font-size: 1.1rem;
  color: rgb(0, 0, 0);
}

/* navigation */

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1vw 8vw;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.10);
  margin-bottom: 0;
}

nav a img {
  width: 100px;
  cursor: pointer;
}

nav .navigation ul {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  padding: 0;
  margin: 0;
}

nav .navigation ul li {
  list-style: none;
  margin-left: 30px;
}

nav .navigation ul li a {
  text-decoration: none;
  color: black;
  font-size: 22px;
  font-weight: 500;
  padding: 10px 20px;
  transition: 0.2s ease;
}

nav .navigation ul li.contact-us a {
  background-color: #2F8D46;
  color: white;
  border-radius: 10px;

}

nav .navigation ul li a:hover {
  color: #2F8D46;
  background-color: white;
}

/* home  */

section {
  padding: 100px 5%;
}

.home {
  max-height: 100vh;
  width: 100%;
  background: #ffffff;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.home-text {
  flex: 1;
  padding-right: 20px;
}

.home-text h2 {
  margin: 10px 0px 25px;
  font-size: 45px;
  line-height: 1;
  font-weight: 700;
  color: #2F8D46;
}

.home-text h3 {
  margin-bottom: 23px;
  font-size: 30px;
  font-weight: 500;
}

.home-text h3 span {
  color: #2F8D46;
  font-size: 30px;
}

.home-text p {
  font-size: var(--p-font);
  color: #000000;
  line-height: 28px;
  margin-bottom: 20px;
}

.social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2F8D46;
  font-size: 17px;
  color: #ffffff;
  margin-right: 22px;
  margin-bottom: 30px;
}

.social a:hover {
  transform: scale(1.1);
  background: #ffffff;
  color: #2F8D46;
  transition: 0.3s;
}

.btn {
  display: inline-block;
  color: #000000;
  border-radius: 5px;
  border: 2px solid #2F8D46;
  font-size: var(--p-font);
  padding: 5px 10px;
  font-weight: 500;
  transition: ease .40s;
}

.btn:hover {
  transform: scale(1.1);
}

.home-img img {
  max-width: 90%;
  width: 440px;
  height: 90%;
}

/* events  */

#events {
  padding: 80px 5%;
  background-color: #ffffff;
  margin-top: -50px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-heading span {
  display: block;
  color: #888;
  font-size: 16px;
}

.events-item-carousel {
  overflow: hidden;
  white-space: nowrap;
  margin-top: 40px;
}

.events-item-carousel .item {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: calc(33.33% - 20px);
}

.events-item-carousel .thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.events-item-carousel h4 {
  font-size: 20px;
  margin: 15px 0;
}

.events-item-carousel span {
  display: block;
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

.events-item-carousel p {
  font-size: 16px;
  line-height: 1.6;
}

.events-item-carousel .btn-primary {
  margin-top: 15px;
  background-color: #ff6600;
  border-color: #ff6600;
  color: #fff;
}


@media (max-width: 992px) {
  .events-item-carousel .item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .events-item-carousel .item {
    width: calc(100% - 20px);
    margin-right: 0;
  }
}


/* core team  */

.section h2 {
  color: #2F8D46;
  font-size: 2rem;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.section h2:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.core-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.member-box {
  width: 180px;
  height: 250px;
  margin: 15px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}

.member-box:hover {
  transform: scale(1.05);
}

.member-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #888888;
}

.member-link:hover {
  text-decoration: none;
}

/* footer  */

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  height: auto;
  width: 100vw;

  padding-top: 40px;
  color: #fff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.footer-content h3 {
  font-size: 2.1rem;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 3rem;
  margin: 0;
}

.footer-content p {
  max-width: 500px;
  margin: 10px auto;
  line-height: 28px;
  font-size: 14px;
  color: #cacdd2;
  margin: 0;
}

.sectio {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sectio h2 {
  color: #2F8D46;
  font-size: 60px;
  transition: transform 0.3s;
}

.sectio h2:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.sectio span {
  color: #000000;
  font-size: 30px;
}


footer {
  position: relative;
  background-color: #2F8D46;
  color: #fff;
  padding: 20px 0;
}

footer h3 {
  font-size: 25px;

}

footer p {
  font-size: 16px;
  line-height: 1.6;
}

footer a {
  color: #fff;
  font-size: 24px;
  margin-right: 10px;
}

.container h1 {
  color: #ffffff;
  font-family: 'poppins', sans-serif;
}

.container h1:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.copyright {
  height: 20px;
  margin-top: 10px;
}