/* =========================
   GALLERY HERO
========================= */

.gallery_hero {
  min-height: 430px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 80px 7%;

  background-color: #f4faf5;
}

.gallery_hero_content {
  max-width: 750px;
}

.gallery_hero_content > p:first-child {
  color: #2f8f46;

  font-size: 14px;
  font-weight: 600;

  letter-spacing: 2px;

  margin-bottom: 15px;
}

.gallery_hero_content h1 {
  color: #123b20;

  font-size: 52px;

  line-height: 1.15;

  font-weight: 600;

  margin-bottom: 20px;
}

.gallery_hero_content h1 span {
  display: block;
  color: #2f8f46;
}

.gallery_hero_content > p:last-child {
  color: #666;

  font-size: 16px;

  line-height: 1.8;
}


/* =========================
   GALLERY SECTION
========================= */

.gallery {
  padding: 100px 7%;
  background-color: #ffffff;
}

.gallery_heading {
  text-align: center;

  margin-bottom: 50px;
}

.gallery_heading p {
  color: #2f8f46;

  font-size: 14px;
  font-weight: 600;

  letter-spacing: 2px;

  margin-bottom: 15px;
}

.gallery_heading h2 {
  color: #123b20;

  font-size: 36px;

  font-weight: 600;
}


.gallery_grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.gallery_item {
  overflow: hidden;

  background-color: white;

  border-radius: 14px;

  border: 1px solid #e1eee3;

  transition: 0.3s;
}

.gallery_item:hover {
  transform: translateY(-6px);
}

.gallery_item img {
  width: 100%;
  height: 280px;

  object-fit: cover;

  display: block;

  transition: 0.4s;
}

.gallery_item:hover img {
  transform: scale(1.04);
}

.gallery_content {
  padding: 22px;
}

.gallery_content h3 {
  color: #123b20;

  font-size: 19px;

  margin-bottom: 10px;
}

.gallery_content p {
  color: #666;

  font-size: 14px;

  line-height: 1.7;
}


@media (max-width: 800px) {

  .gallery_grid {
    grid-template-columns: 1fr;
  }

  .gallery_item img {
    height: 280px;
  }

}