body {
  background-color: #ffffff;
}

/* Staff section container */
section.container.py-5.rounded-4 {
  background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 50%, #f5f7fa 100%);
  border-radius: 2.5rem !important;
  padding: 5rem 2rem !important;
  margin: 3rem auto;
  max-width: 1400px;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.staff-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  padding: 2rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out;
}


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

.staff-card {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 
    0 12px 32px rgba(0,0,0,0.1),
    0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: center;
  border: 2px solid rgba(79, 209, 255, 0.25);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  cursor: pointer;
  position: relative;
}

.staff-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #4fd1ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.staff-card:hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow: 
    0 24px 50px rgba(13, 110, 253, 0.2),
    0 8px 24px rgba(0,0,0,0.12);
  border-color: rgba(13, 110, 253, 0.7);
}

.staff-card:hover::before {
  transform: scaleX(1);
}

.staff-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 1.5rem auto 1rem;
  border: 5px solid #0d6efd;
  transition: all 0.5s ease;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

.staff-card:hover .staff-avatar {
  transform: scale(1.12);
  border-color: #0d6efd;
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.35);
}

.staff-content {
  padding: 0.5rem 0 1.5rem;
}

.staff-content h6 {
  margin: 0.75rem 0 0.35rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}

.staff-content span {
  font-size: 0.92rem;
  color: #6c757d;
  transition: all 0.3s ease;
  font-weight: 500;
  display: block;
}

.staff-card:hover .staff-content h6,
.staff-card:hover .staff-content span {
  color: #0d6efd;
}


@media (max-width: 992px) {
  .staff-carousel {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .staff-carousel {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
