.team-section-dark {
  padding: 40px 0 100px 0;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  font-family: Exo, sans-serif;
}

.team-section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.text-gradient {
  background: linear-gradient(90deg, #00dbde 0%, #fc00ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Sandborg, sans-serif;
}

.team-subheading {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 25px;
  font-family: Exo, sans-serif;
}

.divider-accent {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00dbde 0%, #fc00ff 100%);
  margin: 0 auto;
  border-radius: 2px;
}

/* Grid Layout */
.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

.team-card {
  width: 100%;
  max-width: 350px;
  perspective: 1000px;
}

.centered-card {
  grid-column: 2;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.team-card:hover .card-inner {
  transform: translateY(-10px);
}

.profile-container {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.profile-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 95;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover .profile-image {
  transform: scale(1.05);
}

.member-info {
  padding: 25px;
}

.member-name {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 600;
    font-family: Exo, sans-serif;

}

.member-title {
  font-size: 0.9rem;
  color: #00dbde;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.member-bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: Exo, sans-serif;

}

/* page style viwe */

/* Grid Layout */
.team-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* default */
  gap: 30px;
  justify-items: center;
}

@media (max-width: 1280px) {
  .team-grid-modern {
    grid-template-columns: repeat(5, 1fr);
    /* 🟢 5 columns when minimized */
  }

  .centered-card {
    grid-column: auto;
    /* behave like normal card */
  }
}

@media (max-width: 1024px) {
  .team-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }

  .centered-card {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .team-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .centered-card {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .team-grid-modern {
    grid-template-columns: 1fr;
  }

  .centered-card {
    grid-column: auto;
  }

  .team-card {
    max-width: 100%;
  }
}