.team-mb {
  margin-bottom: 4em;
}

.impact-item {
  position: relative;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  display: inline-block;
  width: 100%;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  margin: 40px auto;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, background 0.4s ease-out;
  will-change: transform, box-shadow;
  overflow: visible;
  height: 250px;
}

.impact-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.impact-item .impact-img__container {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.4s ease-out, transform 0.4s ease-out;
  z-index: 10;
}

.impact-item:hover .impact-img__container {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%) scale(1.1);
}

.impact-item .impact-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.impact-item .impact-item__top {
  margin-top: 10px;
}

.impact-item .impact-item__title {
  font-size: 16px;
  transition: color 0.4s ease-out, transform 0.4s ease-out;
}

.impact-item:hover .impact-item__title {
  background: linear-gradient(90deg, #ff4a57, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.1);
}

.impact-item .impact-item__lower {
  margin-top: 40px;
  color: #5e5c8b;
  line-height: 30px;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  transition: color 0.4s ease-out, transform 0.4s ease-out;
}

.impact-item:hover .impact-item__lower {
  background: linear-gradient(90deg, #ff4a57, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.1);
}

.impact-item__short-description {
    overflow: hidden;
    max-height: 60px; 
 }

.impact-item__short-description p{
 font-size: .69em;
}

.causes-item__details-item{
  width: 100% !important;
}

.popup-content {
  border-radius: 12px;
  overflow: hidden;
}

.popup-header {
  border: none;
  position: relative;
  padding: 0;
}

.popup-header img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
}

.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffc107;
  color: black;
  border: none;
  font-size: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-donate-btn {
  background: #ffc107;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  color: black;
  margin-top: 18px;
  transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.popup-donate-btn:hover {
  background: #e0a800;
  transform: scale(1.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  color: #fff;
}