html, body {
  max-width: 100vw;
  overflow-x: hidden;
}


*, *::before, *::after {
  box-sizing: border-box;
}
body {
  background: #F4F6FB;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

header {
  height: 40vh;
  background-image: linear-gradient(rgba(0,0,0,0.527),rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url('./featureImages/adult-harvesting-coffee.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 100vw;
}

.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  padding: 0 24px;
  background: transparent;
  z-index: 3;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  max-width: 100vw;
  box-sizing: border-box;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 7px 14px;
  border-radius: 30px;
  transition: background .2s, color .2s;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.nav-links li a.active,
.nav-links li a:hover {
  background: #fff;
  color: #00985F;
}

.about-features-section {
  background: #fff;
  margin: 0 auto;
  max-width: 980px;
  border-radius: 30px;
  box-shadow: 0 6px 32px rgba(63,164,80,0.10);
  padding: 34px 30px 32px 30px;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.about-row {
  display: flex;
  gap: 42px;
  margin-bottom: 28px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.about-title h2 {
  color: #00985F;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
  text-align: left;
  letter-spacing: 1.2px;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.about-desc {
  flex: 1;
  text-align: left;
  margin-top: 4px;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.about-desc p {
  color: #21343A;
  font-size: 1.17rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.52;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.key-features-title {
  color: #21343A;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 20px 0 16px 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.features-row {
  display: flex;
  justify-content: space-around;
  gap: 22px;
  margin-top: 18px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.feature-block {
  background: linear-gradient(135deg, #F7FAF7 70%, #EAFAF0 100%);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,152,95,0.08);
  padding: 20px 15px 20px 15px;
  width: 22%;
  min-width: 150px;
  max-width: 260px;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid #EAFAF0;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.feature-block:hover {
  box-shadow: 0 12px 32px rgba(0,152,95,0.14);
  border-color: #00985F;
  transform: translateY(-4px) scale(1.03);
}
.footer-logo img {
  background: none;
  box-shadow: none;
  border: none;
}

.feature-icon,
img {
  width: 56px;
  height: 56px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #C6F2DF;
  padding: 8px;
  border: 2.5px solid #7FD39C;
  box-shadow: 0 1px 5px rgba(0,152,95,0.07);
  object-fit: cover;
  max-width: 100%;
  box-sizing: border-box;
}

.feature-title {
  font-weight: 900;
  color: #00985F;
  font-size: 1.13rem;
  margin-bottom: 7px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.feature-desc {
  font-size: 1.01rem;
  color: #21343A;
  font-weight: 500;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

footer {
  background: #076844;
  color: white;
  padding: 18px 0 0 0;
  margin-top: 48px;
  font-size: 1rem;
  border-top: 3px solid #00985F;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 1.21rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
  max-width: 100%;
}
.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 7px;
  width: 100%;
  box-sizing: border-box;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  max-width: 100%;
}
.footer-bottom {
  text-align: center;
  font-size: 0.97rem;
  color: white;
  margin-bottom: 7px;
  margin-top: 4px;
  max-width: 100%;
}
#coopFooter {
  color: blue;
  margin-top: 12vh;
  margin-left: -13vh;
}
#connectFooter {
  color: rgb(108, 216, 45);
  margin-top: 12vh;
  margin-left: -1.5vh;
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
  padding: 0;
  position: relative;
  transition: 0.3s;
}
.hamburger .bar {
  width: 100%;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
   max-width: 100%;
  display: block;
  position: relative;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(14px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2px; 
  font-weight: 900;
  font-size: 1.21rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
  max-width: 100%;
}

.footer-logo img {
  margin-top: 0;    
  margin-bottom: 0; 
}


.footer-brand {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 1.21rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-top: 4px;
}

.footer-coop {
  color: #0074D9; 
}

.footer-connect {
  color: #8BC34A; 
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2001;
  }
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    background: #00985F;
    width: 110vw;
    height: auto;
    max-height: 50vh;
    padding: 60px 0 0 0;
    gap: 12px;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    display: none;
    z-index: 1000;
    overflow-y: auto;
    margin: 0;
    box-sizing: border-box;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
  }
  .nav-links li a {
    color: #fff;
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 18px;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .features-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  .feature-block {
    width: 100%;
    max-width: 400px;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
  .feature-title,
  .feature-desc {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }
  .about-row {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .about-title h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
  }
  .about-desc {
    margin-top: 0;
    text-align: center;
    font-size: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .footer-content {
    padding: 0 8px;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .footer-info,
  .footer-logo {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    max-width: 100vw;
    box-sizing: border-box;

  }
  #coopFooter, #connectFooter {
    margin-top: 0;
    margin-left: 0;
  }
}


@media (min-width: 901px) {
  .hamburger {
    display: none;
  }
  .navbar {
    justify-content: flex-end;
    padding: 32px 24px 12px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    max-width: 100vw;
    box-sizing: border-box;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    gap: 28px;
    margin: 0;
    box-shadow: none;
    width: auto;
    padding: 0;
    height: auto;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .features-row {
    flex-direction: row;
    gap: 22px;
    justify-content: space-around;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .feature-block {
    width: 22%;
    min-width: 150px;
    max-width: 260px;
    box-sizing: border-box;
  }
  .about-row {
    flex-direction: row;
    gap: 42px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
  .about-title h2 {
    font-size: 2.3rem;
    text-align: left;
    max-width: 100%;
    box-sizing: border-box;
  }
  .about-desc {
    text-align: left;
    font-size: 1.17rem;
    max-width: 100%;
    box-sizing: border-box;
  }
}
