@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap');

.parent-connect-section {
  padding: 64px 18px 56px 18px;
  /* background: linear-gradient(135deg, #eaf0fb, #d1e7fe); */
  text-align: center;
  font-family: 'Comic Neue', cursive, Arial, sans-serif;
  color: #1c2a55;
  user-select: none;
}

.parent-connect-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2c4c94;
  text-shadow: 0 4px 12px #aac7f8bb;
}

.parent-connect-grid {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}

.parent-card {
  position: relative;
  background: #2c4c94;
  padding: 36px 28px;
  border-radius: 40px 20px 40px 20px; /* asymmetric rounded corners */
  box-shadow: 0 28px 34px #2c4c94, 0 0 30px #aac7f8bb;
  width: 320px;
  transform: translateY(-12px) scale(1.07);
  cursor: default;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: none;
}

.parent-card::before,
.parent-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  z-index: -1;
}

.parent-card::before {
  width: 120px;
  height: 120px;
  background: #ffd6b6;
  top: -40px;
  left: -40px;
}

.parent-card::after {
  width: 80px;
  height: 80px;
  background: #ffa07a;
  bottom: -30px;
  right: -20px;
}

.parent-card-icon {
  width: 72px;
  height: 72px;
  background: #ff9d57;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
    50% 70%, 21% 90%, 32% 57%, 2% 35%, 39% 35%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px auto;
  color: white;
  font-size: 2.9rem;
  box-shadow: 0 0 20px #ff7a3cdd;
  animation: bounce 0.6s ease forwards infinite;
  transition: none;
}

.parent-card-title {
  font-family: 'Comic Neue', cursive, Arial, sans-serif;
  font-size: 1.8rem;
  color: #f1f2f5;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-align: center;
}

.parent-card-subtitle {
  font-style: italic;
  font-size: 1.1rem;
  color: #e9e50f;
  margin-bottom: 20px;
  font-family: 'Comic Neue', cursive, Arial, sans-serif;
  text-align: center;
}

.parent-card-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #f1f2f5;
  text-align: center;
  font-weight: 500;
  padding: 0 10px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Responsive */

@media (max-width: 950px) {
  .parent-connect-grid {
    justify-content: center;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .parent-connect-grid {
    flex-direction: column;
    align-items: center;
  }
  .parent-card {
    width: 90vw;
    max-width: 360px;
    border-radius: 32px 24px 32px 24px;
  }
}
