.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding-bottom: 20px;
}
.projects-grid__card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(7, 44, 92, 0.08);
  padding: 32px 24px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
}
.projects-grid__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url('../../images/projects-card-wave.png') no-repeat center / cover;
  opacity: 0.9;
}
.projects-grid__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  z-index: 1;
  align-self: center;
}
.projects-grid__logo img {
  object-fit: contain;
}
.projects-grid__card h3 {
  margin: 0;
  text-align: center;
  color: #0a4f7c;
  font-size: 16px;
  text-transform: uppercase;
  z-index: 1;
  height: 40px;
}
.projects-grid__card p {
  margin: 0;
  color: #4c5a70;
  font-size: 14px;
  text-align: center;
  z-index: 1;
  height: 60px;
}
.projects-grid__link {
  margin-top: auto;
  text-align: center;
  display: inline-flex;
  align-self: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #0a8cd8;
  color: #0a8cd8;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.projects-grid__link:hover {
  background: #0a8cd8;
  color: #fff;
}
.projects-grid__actions{
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .projects-grid {
    gap: 16px;
  }
  .projects-grid__card {
    padding: 24px 18px;
  }
  .projects-grid__card h3 {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid__actions {
    flex-direction: column;
    gap: 12px;
  }
  .projects-grid__link {
    width: 100%;
    justify-content: center;
  }
}
