

.slider-section {
  width: 100%;
  max-width: 1450px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
}

.slider-wrapper {
  overflow: hidden;
  width: 230%;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.card {
  min-width: 25%;
  padding: 20px 10px 40px;
  text-align: center;
  flex-shrink: 0;
}

.card img {
  width: 768px;
  height: 768px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

.card h2 {
  margin-top: 22px;
  font-size: 2rem;
  font-weight: 700;
}

.card .role {
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #35d7ff;
}

.bio-btn {
  margin-top: 28px;
  padding: 12px 38px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  background: rgba(4, 15, 30, 0.7);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

.bio-btn:hover {
  background: #0d5eff;
}

.nav-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.nav-btn:hover {
  background: #0d5eff;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.modal-content {
  width: 100%;
  max-width: 600px;
  background: #09152b;
  color: #fff;
  padding: 5px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  animation: fadeIn 0.25s ease;
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.modal-content h4 {
  font-size: 1.1rem;
  color: #35d7ff;
  margin-bottom: 18px;
}

.modal-content p {
  line-height: 1.8;
  font-size: 1rem;
}


.modal-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  cursor: pointer;
}

.social-links {
  margin-top: 24px;
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #11274c;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-links a:hover {
  background: #0d5eff;
}




.card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 20px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

.card img:hover {
  animation: rainbowGlow 1.5s infinite alternate;
}


@media (max-width: 500px) {
  .card img {
   width: 200px;
  height: 200px;
  }
}

@keyframes rainbowGlow {
  0% {
    box-shadow: 0 0 10px 5px red, 0 0 15px 10px orange, 0 0 20px 15px yellow, 0 0 25px 20px green, 0 0 30px 25px blue, 0 0 35px 30px indigo, 0 0 40px 35px violet;
  }
  100% {
    box-shadow: 0 0 10px 5px violet, 0 0 15px 10px indigo, 0 0 20px 15px blue, 0 0 25px 20px green, 0 0 30px 25px yellow, 0 0 35px 30px orange, 0 0 40px 35px red;
  }
}








@keyframes fadeIn {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1100px) {
  .card {
    min-width: 50%;
  }
}

@media (max-width: 700px) {
  .card {
    min-width: 100%;
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .card .role {
    font-size: 1rem;
  }
}
