* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Community Hero */
.community-hero {
  width: 100%;
  background-color: white;
  padding: 0 0rem 2rem 0;
}

.community-hero-content {
}

.community-hero-header {
  width: 100%;
  color: black;
  padding: 2rem 0;
}

.community-hero-header h1 {
  font-family: "Poppins-Bold", sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  text-align: center;
  color: var(--primary-green-dark);
}

.community-hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.community-hero-column {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-hero-column img {
  width: 90%;
  height: clamp(450px, 94vw, 600px);
  object-fit: cover;
}

.community-hero-row {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.community-hero-card {
  display: flex;
  flex-direction: column;
  background-color: var(--primary-green);
  padding: 2rem clamp(1rem, 3vw, 2rem);
  gap: 20px;
}

.community-hero-card h3 {
  font-family: "Poppins-Bold", sans-serif;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
}

.community-hero-card p {
  font-family: "Poppins-Regular", sans-serif;
  font-size: clamp(1rem, 5vw, 1.8rem);
}

/* Responsive Styles */
@media (min-width: 769px) {
  .community-hero-header h1 {
    font-size: 3rem;
  }

  .community-hero-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 0rem 2rem;
  }

  .community-hero-column {
    height: 100%;
    width: 100%;
    padding: 1rem 0;
  }

  .community-hero-column img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .community-hero-row {
    flex-direction: row;
    align-items: unset;
    width: 100%;
    padding: 1rem 0 0 0;
  }

  .community-hero-card {
    padding: 1.5rem 1rem;
  }

  .community-hero-card h3 {
    font-size: 2rem;
  }

  .community-hero-card p {
    font-size: 1.1rem;
  }
}
/* End Community Hero */

/* Community Values */
.community-values {
  padding: 0;
  margin: 0;
}

.community-values-content {
  display: flex;
  flex-direction: column;
}

.community-values-bg {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url(../images/crestedcrane.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: clamp(600px, 118vw, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 3rem 1rem;
}

.community-values-bg h2 {
  color: white;
  font-size: clamp(2rem, 8vw, 4rem);
  font-family: "Poppins-Bold", sans-serif;
  text-align: center;
  color: white;
}

.community-values-bg p {
  font-family: "Poppins-Regular", sans-serif;
  font-size: clamp(1rem, 4vw, 1.5rem);
  text-align: center;
  color: white;
}

.values-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.values-buttons a {
  text-decoration: none;
  font-family: "Poppins-Regular", sans-serif;
  font-size: clamp(1rem, 4vw, 2rem);

  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.volunteer-button {
  color: black;
  background-color: white;
}

.donate-button {
  color: white;
  border: 1px solid white;
}

.community-values-icons {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: calc(clamp(50px, 20vw, 150px) * -1);
  gap: 30px;
}

.community-values-card {
  width: clamp(250px, 70vw, 500px);
  height: clamp(250px, 70vw, 500px);
  padding: 2rem;
  background: var(--primary-green-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.community-values-card i {
  font-size: clamp(5rem, 20vw, 9rem);
  color: white;
}

.community-values-card h4 {
  color: white;
  font-family: "Poppins-Regular", sans-serif;
  text-align: center;
  font-size: clamp(1.8rem, 6vw, 3rem);
}
@media (min-width: 769px) {
  .community-values-bg {
    height: 600px;
  }
  .community-values-bg h2 {
  }
  .community-values-bg p {
    font-size: 1.2rem;
    text-align: center;
    width: 70%;
  }
  .values-buttons a {
    font-size: 1rem;
  }
  .community-values-icons {
    flex-direction: row;
    top: -100px;
  }
  .community-values-card {
    width: 200px;
    height: 200px;
  }
  .community-values-card i {
    font-size: 4rem;
  }
  .community-values-card h4 {
    font-size: 1.2rem;
  }
}

/* Community Gallery */
.community-gallery {
  padding: 0;
  margin: 0;
}
.community-gallery-content {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.community-gallery-content h2 {
  font-family: "Poppins-Bold", sans-serif;
  font-size: 2rem;
}
.community-gallery-content p {
  font-family: "Poppins-Regular", sans-serif;
  width: 80%;
  text-align: center;
}
.gallery-cards {
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gallery-cards img {
  width: 300px;
  height: 400px;
  object-fit: cover;
}
@media (min-width: 650px) {
  .gallery-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 769px) {
  .community-gallery {
    padding: 0;
    margin: 0;
  }
  .community-gallery-content {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .community-gallery-content h2 {
    font-size: 2rem;
  }
  .community-gallery-content p {
    font-family: "Poppins-Regular", sans-serif;
  }
  .gallery-cards {
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
  .gallery-cards img {
    width: 250px;
    height: 250px;
    object-fit: cover;
  }
}

/* Meet the team */
.meet-the-team {
  padding: 1rem;
  margin: 0;
}
.meet-the-team-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.team-header h2 {
  font-family: "Poppins-Bold", sans-serif;
  font-size: 2rem;
}
.team-header p {
  font-family: "Poppins-Regular", sans-serif;
  width: 90%;
  text-align: center;
}

/* two columns side by side on desktop */
.team-columns-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .team-columns-wrapper {
    flex-direction: row;
  }
}

.team-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.team-row {
  display: flex;
  gap: 0.5rem;
}

/* card */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-wide {
  width: 100%;
  height: 300px;
}
.img-small {
  width: 49%;
  height: 200px;
}

/* name + role bottom-left */
.card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
}
.card-label .name {
  font-family: "Poppins-Bold", sans-serif;
  font-size: 15px;
  margin: 0;
}
.card-label .role {
  font-family: "Poppins-Regular", sans-serif;
  font-size: 12px;
  margin: 0;
  opacity: 0.85;
}

/* overlay on click */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.22s;
  padding: 1rem;
}
.team-card.open .card-overlay {
  opacity: 1;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-family: "Poppins-Regular", sans-serif;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 6px 14px;
  width: 80%;
}
.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.close-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
