*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Cairo", sans-serif;
  direction: ltr;
  margin: 0;
  padding: 0;
  background: url("123.png") no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
}

.page-banner {
  position: relative;
  background: rgba(160, 201, 255, 0.7);
  padding: 2.5rem 1.5rem;
  text-align: center;
  clip-path: ellipse(100% 100% at 50% 0%);
  animation: waveHeader 3s ease-in-out infinite alternate;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

@keyframes waveHeader {
  0% {
    clip-path: ellipse(100% 100% at 50% 0%);
  }
  100% {
    clip-path: ellipse(120% 85% at 50% 0%);
  }
}

.page-banner h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
  color: #282828;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 40px 12px 25px 60px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
  min-height: 420px;
  width: 300px;
  max-width: 380px;
  margin: auto;
  padding: 1.5rem;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: contain;
  border: 4px solid rgba(255, 255, 255, 0.6);
  background-color: #ffffff;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  margin: auto;
}

.card-content {
  padding-top: 1rem;
  margin-top: auto;
}

.card-content h3 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  font-weight: bold;
  color: #000000;
}

.card-content p {
  font-size: 0.95rem;
  color: #f5f5f5;
  line-height: 1.6;
}

.card-comment {
  font-size: 0.9rem;
  color: #ccc;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.6rem 1rem;
  border-radius: 0 0 20px 20px;
  font-style: italic;
  text-align: center;
}

@media (max-width: 600px) {
  .card {
    height: auto;
  }

  .card img {
    width: 80px;
    height: 80px;
  }

  .page-banner h1 {
    font-size: 2.2rem;
  }
}
