/*---------------------Roots-----------------*/

:root {
  ---red: #e9413a;
  ---white: #ffffff;
  ---grey: #4a4a4a;
  ---black: #134ba1;
  --lightgrey: #858585;
  ---border: #eeeeee;
  ---yellow: #ffe127;
}

/*---------------------Roots-----------------*/

.involved {
  margin-top: 80px;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
}

.involvement-grid {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 30px;
  margin-top: 50px;

}

.involvement-card {
  background: var(---white);
  border-radius: 20px;
  width: 437px;
  height: 360px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.116);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.involvement-card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.involvement-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(---black);
}

.involvement-card p {
  font-size: 15px;
  color: var(---black);
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.involve-btn {
  background-color: var(---yellow);
  color: var(---black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 15px;
  transition: background 0.3s ease;
  width: 150px;
  height: 55px;
}

.involve-btn:hover {
  transition: 0.5s all ease-in-out;
  transform: translateY(-5px);
}





@media (max-width:1280px) {
  .involved {
    margin-top: 120px;
  }
}

@media (max-width:1150px) {
  .involved {
    margin-top: 100px;
  }
}

@media (max-width:920px) {
  .involved {
    margin-top: 80px;
  }
}



@media (max-width:830px) {
  .involvement-grid {
    flex-wrap: wrap;
  }
}

@media (max-width:780px) {
  .involved {
    margin-top: 60px;
  }
}

@media (max-width:550px) {
  .involved {
    margin-top: 40px;
  }

  .involvement-grid {
    flex-wrap: wrap;
  }

  .involvement-card {
    background: var(---white);
    border-radius: 20px;
    width: 100%;
    height: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.096);
    margin-top: 1.0rem;
  }

  .involvement-grid {
    margin-top: 30px;

    /* gap: 20px; */
  }

  .involve-btn {
    width: 120px;
    height: 50px;
    font-size: 12px;
  }

}


@media (max-width:430px) {
  .involved {
    margin-top: 20px;
  }

  .icon img {
    width: 100%;
  }
}