@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
  --primaryText: #242526;
  --bodyTextColor: #4a4a68;
  --primaryButton: #31640c;
  --SecondaryButton: #0b0bda;

  --titleHeader: 6.2rem;
  --SecondtitleHeader: 35px;
  --bodyText: 16px;
  --Primaryfont: "Montserrat", sans-serif;
  --fontBold: 900;
  --fontLight: 300;
  --generalMargin: 2rem 7rem;
  --shadow: 0px 0px 25px 0px #f4e7db;
  --headerlineheight: 1.4;
  --plineheight: 36px;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--Primaryfont);
}

nav {
  position: absolute;
  z-index: 99;
  width: 100%;

  background: #f3f3f3;
}
nav .wrapper {
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wrapper .logo a {
  color: var(--bodyTextColor);
  font-size: var(--bodyText);
  font-weight: 600;
  text-decoration: none;
  align-self: center;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.wrapper .logo {
  align-self: center;
  align-items: center;
}
.wrapper .logo img {
  width: 4rem;
  height: 5rem;
  object-fit: contain;
}
.wrapper .nav-links {
  display: inline-flex;
}
.nav-links li {
  list-style: none;
}
.nav-links li a {
  color: #242526 !important;
  text-decoration: none;
  font-size: var(--bodyText);
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: var(--primaryButton);
  color: #f2f2f2;
}
.nav-links .mobile-item {
  display: none;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}

.wrapper .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}
nav input {
  display: none;
}

/*media query for nav*/
@media screen and (max-width: 970px) {
  .wrapper .btn {
    display: block;
    color: var(--primaryButton);
  }
  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: var(--primaryText);
    color: #f3f3f3;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3a3b3c;
  }
  #menu-btn:checked ~ .nav-links {
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn {
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn {
    display: block;
  }
  .nav-links li {
    margin: 15px 10px;
  }
  .nav-links li a {
    padding: 0 20px;
    display: block;
    font-size: 20px;
    color: #f3f3f3 !important;
  }
  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box {
    max-height: 100%;
  }
  .nav-links .desktop-item {
    display: none;
  }
  .nav-links .mobile-item {
    display: block;
    color: #f3f3f3;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover {
    background: var(--primaryButton);
  }
  .drop-menu li {
    margin: 0;
  }
  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2) {
    border-top: 0px;
  }
  .content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li {
    margin: 0;
  }
  .content .row header {
    font-size: 19px;
  }

  .footer .col {
    width: 300px;
    height: auto;
    float: auto;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0px 20px 20px 20px;
  }
  .contain {
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
    justify-content: space-evenly;
  }
  .social-txt p {
    margin: 1rem;
  }
  .newsletter-signup__header__content {
    font-size: 1rem;
    line-height: 2.6rem;
    font-weight: 400;
    width: auto;
  }
  .impact-section {
    margin-bottom: 10rem;
  }
}

main {
}

.teams {
  display: flex;
  justify-content: center;
  width: 100vw;
  padding: 100px 0px;
  flex-direction: column;
  text-align: left;
  padding-bottom: 200px;
}
.teams h1 {
  text-align: center;
  padding: 30px 0px;
  margin: 0;
  color: var(--bodyTextColor);
  font-size: 30px;
  font-family: var(--Primaryfont);
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

.team {
  display: flex;
  justify-content: center;
  width: 90%;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: center;
  gap: 40px;
}

.teamCards {
  gap: 30px;
  padding-top: 50px;
}
.teamCard {
  padding: 1rem;
  padding-bottom: 2rem;
  background-color: #f0fdfa;
  border-radius: 8px;
}
.teamCard h2 {
  margin: 1rem 0px;
  color: var(--bodyTextColor);
}
.teamCard img {
  width: 100%;
  height: 600px;
  object-fit: contain;
}
.teamCard p {
  width: fit-content;
  padding: 16px 0px;
  font-size: 18px;
  font-family: "Inter Variable", sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 190%;
}
.teamCard a {
  text-decoration: none;
  font-weight: 800;
  color: #064e3b;
}

@media (max-width: 1240px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1440px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 970px) {
  .teams {
    height: auto;
  }
  .team {
    width: auto;
  }
  .team {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    width: 100vw;
  }
  .teamCard img {
    width: 100%;
  }
  .teamCard h2 {
    padding: 1rem;
  }
  .teamCard p {
    padding: 1rem;
    width: auto;
  }
  .teamCard a {
    padding: 1rem;
  }
}

.footer {
  width: 100%;
  position: relative;
  height: auto;
  background-color: #f3f3f3;
  align-items: center;
}
.footer .col {
  width: 300px;
  height: auto;
  /*float: left;*/
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 0px 20px 20px 20px;
}
.footer .col img {
  width: 90px;
  height: auto;
  margin-top: 2rem;
}
.footer .col h1 {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  line-height: 17px;
  padding: 20px 0px 5px 0px;
  color: #070617;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.footer .col a {
  text-decoration: none;
}
.footer .col p {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  line-height: 17px;
  padding: 20px 0px 5px 0px;
  color: var(--bodyTextColor);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.footer .col ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.contain {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
}
.footer .col ul li {
  color: var(--bodyTextColor);
  font-size: 14px;
  font-family: inherit;
  font-weight: bold;
  padding: 5px 0px 5px 0px;
  cursor: pointer;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
}
.social ul li {
  display: inline-block;
  padding-right: 5px !important;
}
.social ul li a {
  text-decoration: none;
  width: 32px;
  height: 32px;
}
.social i {
  text-decoration: none;
  width: 32px;
  height: 32px;
}

.footer .col ul li:hover {
  color: black;
  transition: 0.1s;
  -webkit-transition: 0.1s;
  -moz-transition: 0.1s;
}
.clearfix {
  clear: both;
}
@media only screen and (min-width: 1280px) {
  .contain {
    width: 1200px;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 1139px) {
  .contain .social {
    width: 1000px;
    display: block;
  }
  .social h1 {
    margin: 0px;
  }
}
@media only screen and (max-width: 950px) {
  .footer .col {
    width: 33%;
  }
  .footer .col h1 {
    font-size: 14px;
  }
  .footer .col ul li {
    font-size: 13px;
  }
}
@media only screen and (max-width: 500px) {
  .footer .col {
    width: 50%;
  }
  .footer .col h1 {
    font-size: 14px;
  }
  .footer .col ul li {
    font-size: 13px;
  }
}
@media only screen and (max-width: 340px) {
  .footer .col {
    width: 100%;
  }
}
