/* MAIN_HERO */
section.main-hero {
  min-height: 50vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-image: url("../media/banner.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.main-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
.main-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
  font-weight: bold;
  background-color: rgba(194, 194, 194, 0.9);
  border-radius: 8px;
  padding: 5px;
  width: 100%;
  height: 100%;
}
.main-hero-content p {
  color: white;
  font-weight: bold;
  background-color: rgba(194, 194, 194, 0.9);
  font-size: 1rem;
  border-radius: 8px;
  padding: 8px;
  margin-top: 0px;
}
.action-button {
  background-color: #fedd00;
  color: #00843c;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
  width: 100px;
  font-size: 1.1rem;
  margin-bottom: 0px;
  margin-top: 0px;
}
.action-button:hover {
  color: #075125;
  scale: 1.09;
}

/* SECONDARY_HERO */
.secondary-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  background-color: #faf9f6;
}
.secondary-hero-heading {
  text-align: center;
  color: #0d843d;
  margin-top: 35px;
  font-size: 1.6rem;
  font-weight: bold;
}
.hero-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(13, 132, 61, 0.7);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  transition: 1s ease;
  width: 250px;
}
.hero-image img {
  width: 100px;
  max-height: 150px;
  object-fit: cover;
  margin: 10px;
  border-radius: 8px;
}
.hero-image:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  transition: 1s ease;
}
.hero-image h2 {
  color: white;
  font-size: 0.9rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  section.main-hero {
    background-size: cover;
    background-position: right center;
  }
  .main-hero-content {
    margin-top: 120px;
  }
  .main-hero-content h1 {
    font-size: 1.1rem;
  }
  .main-hero-content p {
    font-size: 0.8rem;
  }
  .action-button {
    font-size: 1rem;
  }
  .main-hero-content img {
    width: 50px;
    max-height: 70px;
    object-fit: cover;
    margin: 20px;
  }
  .main-hero-content h2 {
    font-size: 0.9rem;
  }
  .secondary-hero img {
    width: 50px;
    max-height: 70px;
    object-fit: cover;
    margin: 20px 40px;
  }
  .secondary-hero h2 {
    font-size: 0.9rem;
  }
  .hero-image {
    height: 100px;
  }
}
