/* Mentor page modernized styles */
.mentor-hero {
  padding: 120px 48px 36px;
  text-align: left;
  position: relative;
  z-index: 2;
}
.mentor-hero .mentor-hero-inner {
  max-width: 860px;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin: 32px 48px 80px;
}

.mentor-card {
  --accent: var(--cyan);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 22px 22px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 50px rgba(0,0,0,0.2);
  backdrop-filter: blur(18px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.mentor-card::after {
  content: '';
  position: absolute;
  right: -20%;
  top: -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,0.14), transparent 46%);
  transform: rotate(18deg);
  pointer-events: none;
}

.mentor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 32px 80px rgba(0,0,0,0.26);
}

.mentor-card:hover .mentor-photo {
  transform: translateY(-3px) scale(1.05);
}

.mentor-card .mentor-photo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  transition: transform .36s ease;
  align-self: center;
  display: block;
}

.mentor-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin: 0;
}

.mentor-role {
  color: rgba(255,255,255,0.72);
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.mentor-desc {
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
  font-size: 0.96rem;
}

.mentor-actions {
  display: flex;
  justify-content: center;
}

.book-btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  min-width: 150px;
}

.add-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.mentor-grid .mentor-card:nth-child(1) { --accent: #7b2fff; }
.mentor-grid .mentor-card:nth-child(2) { --accent: #00e5ff; }
.mentor-grid .mentor-card:nth-child(3) { --accent: #ff6ec7; }
.mentor-grid .mentor-card:nth-child(4) { --accent: #3a6dff; }

.mentor-card .mentor-name {
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.95));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-btn {
  background: linear-gradient(135deg, var(--accent), #7b2fff);
  color: #fff;
  border: none;
}

@media (max-width: 920px) {
  .mentor-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 720px) {
  .mentor-grid {
    margin: 24px 20px 60px;
  }
  .mentor-card {
    padding: 22px 18px 18px;
  }
}

