.grey-section {
  background-color: #edd48e;
  padding: 30px 15px;
  width: 97%;
  clear: both;
}

.ycontainer {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
  font-family: sans-serif;
}

.block-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap; /* prevents wrapping */
}

.block {
  width: calc(33.333% - 13.33px); /* precise width for 3 blocks with gap */
  height: 200px;
  position: relative;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 1em;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 20px;
}

.block1 {
  background-image: url('../images/project-management-2.png');
  background-color: #95afe8; /* test color */
}

.block2 {
  background-image: url('../images/challenge.png');
  background-color: #95afe8; /* test color */
}

.block3 {
  background-image: url('../images/partnership-2.png');
  background-color: #95afe8; /* test color */
}

/* Mobile responsiveness for grey-section */
@media only screen and (max-width: 768px) {
  .block-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1rem;
  }

  .block {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  .section-header {
    font-size: 2rem;
    text-align: center;
  }

  .block h3 {
    font-size: 1.4rem;
  }

  .block p {
    font-size: 1rem;
  }
}

