.carousel-container {
  width: 100%;
  max-width: 1400px;
  height: 500px;
  position: relative;
  perspective: 2000px;
  margin-top: 60px;
  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.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.card {
  position: absolute;
  width: 350px;
  height: 470px;
  background: #cdcdcd; /* Solid Dark Gray */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  will-change: transform, opacity;
  transform-origin: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 191, 255, 0.2); /* Semi-transparent Electric Blue */
  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.7s cubic-bezier(0.16, 1, 0.3, 1);
  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: rgba(10, 10, 10, 0.95); /* Solid background with opacity */
  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: #a0a8cc;
}

.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: rgba(0, 191, 255, 0.2); /* Semi-transparent Electric Blue */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-social a:hover {
  transform: translateY(-5px) rotate(8deg);
  background: rgba(
    0,
    191,
    255,
    0.4
  ); /* Darker semi-transparent blue on hover */
  color: white;
}

.card.center {
  z-index: 10;
  transform: scale(1.15) translateZ(0);
  box-shadow: 0 30px 60px -10px rgba(0, 191, 255, 0.5); /* Electric Blue Shadow */
}

.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(-200px) scale(0.95) translateZ(-50px) rotateY(8deg);
  opacity: 0.8;
}

.card.right-1 {
  z-index: 5;
  transform: translateX(200px) 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;
}

.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(0, 191, 255, 0.3); /* Electric Blue Border */
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dot:hover::after {
  opacity: 1;
}

.dot.active {
  background: #14529d; /* Solid Electric Blue */
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.4),
    /* Electric Blue Shadow */ 0 0 0 4px rgba(0, 191, 255, 0.2); /* Electric Blue Outline */
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1.3);
  }
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #14529d;
  color: white;
  width: 50px;
  height: 50px;
  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);
  font-size: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  outline: none;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3); /* Electric Blue Shadow */
}

.nav-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4),
    /* Electric Blue Shadow */ 0 0 0 4px rgba(0, 191, 255, 0.2); /* Electric Blue Outline */
}

.nav-arrow.left {
  left: 20px;
}

.nav-arrow.right {
  right: 20px;
}

.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: #00bfff;
  animation: float1 24s ease-in-out infinite alternate;
}

.bg-blur-2 {
  background: #1f1f1f; /* Solid Dark Gray */
  animation: float2 30s ease-in-out infinite alternate;
}

@keyframes float1 {
  0% {
    transform: translate(10%, 10%) rotate(0deg);
  }
  100% {
    transform: translate(-10%, -10%) rotate(360deg);
  }
}

@keyframes float2 {
  0% {
    transform: translate(-15%, 5%) rotate(0deg);
  }
  100% {
    transform: translate(15%, -5%) rotate(-360deg);
  }
}

@media (max-width: 1024px) {
  .about-title {
    font-size: 4rem;
  }

  .card {
    width: 240px;
    height: 360px;
  }

  .card.left-2 {
    transform: translateX(-300px) scale(0.8) translateZ(-200px) rotateY(15deg);
  }

  .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);
  }

  .card.right-2 {
    transform: translateX(300px) scale(0.8) translateZ(-200px) rotateY(-15deg);
  }

  .member-name {
    font-size: 2.2rem;
  }

  .member-role {
    font-size: 1rem;
  }
}