.member {
  padding: 60px 20px;
  border-radius: 40px;
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
}

.member-title {
  font-size: 36px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.member-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.member-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.member-card {
  background: #f0f0f0;
  border-radius: 15px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.342);
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-10px);
}

.member-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.member-card h3 {
  margin-top: 15px;
  font-size: 20px;
  color: #000;
}

.member-card p {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons i {
  font-size: 18px;
  color: gold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-icons i:hover {
  color: #000;
}
.member-card:nth-child(2) {
  position: relative; /* Needed for pseudo-element */
  transform: scale(1.1);
  border: 3px solid gold;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ffffff, #e0e0e0); /* base gradient */
  overflow: hidden; /* hides the shine outside */
}

/* Shining effect */
.member-card:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
