.cooperation-wrapper {
  --purple-1: #bb0a1e;
  --purple-2: #bb0a1e;
  --muted: #6c6c75;

  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  padding: 48px 75px;
  box-sizing: border-box;
  margin: 100px 0px;
}
@media (min-width: 1600px) {
  .cooperation-wrapper {
    padding: 0 120px;
    margin-bottom: 160px;
  }
}

/* Tablet Landscape */
@media (max-width: 1199px) {
  .cooperation-wrapper {
    padding: 0 60px;
  }
}

/* Tablet Portrait */
@media (max-width: 991px) {
  .cooperation-wrapper {
    padding: 0 40px;
    margin-bottom: 80px;
  }
}

/* Mobile Large */
@media (max-width: 767px) {
  .cooperation-wrapper {
    padding: 0 30px;
    margin-bottom: 60px;
    gap: 60px;
  }
}

/* Mobile Small */
@media (max-width: 575px) {
  .cooperation-wrapper {
    padding: 0 20px;
    margin-bottom: 40px;
    gap: 40px;
  }
}

/* Title */
.cooperation-title {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 700;
  color: #11121a;
  text-align: center;
  margin: 0 0 36px;
  letter-spacing: -0.01em;
}

/* Grid container */
.cooperation-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* Card base */
.cooperation-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 34px 26px 28px;
  box-shadow: 0 10px 30px rgba(20, 22, 40, 0.06);
  overflow: hidden;
  min-height: 265px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Slight lift on hover for interactivity */
.cooperation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 18, 40, 0.08);
}

/* decorative purple corner shape (behind the icon) */
.cooperation-card::before {
  content: "";
  position: absolute;
  top: -8%;
  right: -6%;
  width: 114px;
  height: 114px;
  background: linear-gradient(135deg, var(--purple-1), var(--purple-2));
  border-bottom-left-radius: 44px;
  border-top-right-radius: 26px;
  transform: translate(12%, -8%);
  filter: blur(0.2px);
  box-shadow: 0 10px 30px rgba(108, 76, 248, 0.18);
  z-index: 0;
  pointer-events: none;
}

/* Icon wrapper positioned on top of the purple shape */
.cooperation-card .card-corner {
  position: absolute;
  right: 0px;
  top: 6px;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

/* Title & description content (stacked below the corner) */
.cooperation-card h3 {
  margin: 18px 0 12px;
  font-size: 17px;
  color: var(--purple-1);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cooperation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Responsive breakpoints */
@media (max-width: 980px) {
  .cooperation-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cooperation-wrapper { padding: 28px 18px; }
  .cooperation-title { font-size: 26px; margin-bottom: 20px; }
  .cooperation-container { grid-template-columns: 1fr; gap: 18px; }
  .cooperation-card { padding: 22px 18px 20px; border-radius: 22px; min-height: unset; }
  .cooperation-card::before { width: 96px; height: 96px; transform: translate(8%, -6%); }
  .cooperation-card .card-corner { width: 68px; height: 68px; right: 0px; top: 0px; }
}
