f@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.carousel-container {
  width: 100%;
  max-width: 1400px;
  height: 370px;
  position: relative;
  perspective: 2000px;
  z-index: 2;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.card {
  position: absolute;
  width: 300px;
  height: 320px;
  background: #1e293b;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  cursor: pointer;
  will-change: transform, opacity;
  transform-origin: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.9) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.2) 0%,
    rgba(232, 121, 249, 0.2) 50%,
    rgba(244, 114, 182, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.card:hover::before {
  opacity: 1;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  filter: brightness(0.8);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  color: white;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.8) 50%,
    transparent 100%
  );
  backdrop-filter: blur(5px);
}

.card:hover .card-content {
  transform: translateY(0);
}

.card-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.card-role {
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 1px;
  color: #94a3b8;
}

.card-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.card-social a {
  color: #e2e8f0;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.2) 0%,
    rgba(232, 121, 249, 0.2) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-social a:hover {
  transform: translateY(-5px) rotate(8deg);
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.4) 0%,
    rgba(232, 121, 249, 0.4) 100%
  );
  color: white;
}

/* Card positions */
.card.center {
  z-index: 10;
  transform: scale(1.15) translateZ(0);
  box-shadow: 0 30px 60px -10px rgba(251, 113, 133, 0.4);
}

.card.center .card-img {
  filter: brightness(1);
}

.card.left-2 {
  z-index: 1;
  transform: translateX(-400px) scale(0.8) translateZ(-200px) rotateY(15deg);
  opacity: 0.6;
}

.card.left-1 {
  z-index: 5;
  transform: translateX(-220px) scale(0.95) translateZ(-50px) rotateY(8deg);
  opacity: 0.8;
}

.card.right-1 {
  z-index: 5;
  transform: translateX(220px) scale(0.95) translateZ(-50px) rotateY(-8deg);
  opacity: 0.8;
}

.card.right-2 {
  z-index: 1;
  transform: translateX(400px) scale(0.8) translateZ(-200px) rotateY(-15deg);
  opacity: 0.6;
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Member info section */
.member-info {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  min-height: 150px;
  width: 100%;
  max-width: 600px;
  display: none;
}

.member-info-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.member-name {
  color: #f8fafc;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(to right, #60a5fa, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.member-role {
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(to right, #94a3b8, #64748b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.member-description {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 80%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.1s,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

/* Animation classes */
.member-info.animate-out .member-info-content > * {
  opacity: 0;
  transform: translateY(20px);
}

.member-info.animate-in .member-info-content > * {
  opacity: 1;
  transform: translateY(0);
}

/* Dots navigation */
.dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(203, 213, 225, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.dot::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dot:hover::after {
  opacity: 1;
}

.dot.active {
  background: linear-gradient(135deg, #60a5fa 0%, #e879f9 100%);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.4),
    0 0 0 4px rgba(96, 165, 250, 0.2);
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  bottom: -70px;
  transform: translateY(-50%);
  /* background: linear-gradient(135deg, #60a5fa 0%, #e879f9 100%); */
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
  outline: none;
  /* backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(125, 211, 252, 0.3); */
}

.nav-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4),
    0 0 0 4px rgba(96, 165, 250, 0.2);
}

.nav-arrow.left {
  left: 44%;
}

.nav-arrow.right {
  right: 44%;
}
.svg-prev,
.svg-next {
  width: 30px;
}
/* Background elements */
.bg-blur {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
  mix-blend-mode: soft-light;
}

.bg-blur-1 {
  background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
  animation: float1 20s ease-in-out infinite;
}

.bg-blur-2 {
  background: radial-gradient(circle, #e879f9 0%, transparent 70%);
  animation: float2 25s ease-in-out infinite;
}

@keyframes float1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-30px, -30px) rotate(180deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(30px, -20px) rotate(-180deg);
  }

  100% {
    transform: translate(0, 0) rotate(-360deg);
  }
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .card {
    width: 240px;
    height: 360px;
  }

  .card.left-1 {
    transform: translateX(-150px) scale(0.95) translateZ(-50px) rotateY(8deg);
  }

  .card.right-1 {
    transform: translateX(150px) scale(0.95) translateZ(-50px) rotateY(-8deg);
  }
}

@media screen and (max-width: 900px) {
  .nav-arrow.left {
    left: -40px;
  }

  .nav-arrow.right {
    right: -40px;
  }
  .nav-arrow {
    bottom: -90px;
  }
}

@media scrren and (max-width: 768px) {
  .carousel-container {
    height: 400px;
  }
  .card {
    width: 200px;
    height: 300px;
  }

  .card.left-1 {
    transform: translateX(-160px) scale(0.95) translateZ(-50px) rotateY(8deg);
  }

  .card.right-1 {
    transform: translateX(160px) scale(0.95) translateZ(-50px) rotateY(-8deg);
  }
}

@media screen and (max-width: 480px) {
  .carousel-container {
    height: 350px;
  }

  .card {
    width: 160px;
    height: 240px;
  }

  .card.left-2,
  .card.right-2 {
    display: none;
  }

  .card.left-1 {
    transform: translateX(-90px) scale(0.9) translateZ(-50px) rotateY(8deg);
  }

  .card.right-1 {
    transform: translateX(90px) scale(0.9) translateZ(-50px) rotateY(-8deg);
  }

  .dots {
    margin-top: 40px;
  }
}
