/* Faculty pages — modern card grid + profile layout */

.faculty-section {
  padding: 60px 0;
  background-color: #fff;
}

.faculty-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
  padding: 32px 20px;
  text-align: center;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.faculty-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
}

.faculty-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faculty-name {
  color: var(--primary-red-color);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.faculty-designation {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 22px;
}

.btn-faculty-view {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s ease;
}

.btn-faculty-view:hover {
  background: #0b0950;
  color: #fff;
}

/* ── Faculty single profile page ───────────────────────────────── */

.faculty-profile-hero {
  background: linear-gradient(135deg, var(--accent-color), #1a1685);
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.faculty-profile-hero .faculty-avatar {
  width: 160px;
  height: 160px;
  border: 5px solid rgba(255, 255, 255, .3);
  margin-bottom: 24px;
}

.faculty-profile-hero h1 {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 8px;
}

.faculty-profile-hero .faculty-designation {
  color: #f1f1f1;
  margin-bottom: 14px;
}

.faculty-profile-hero .faculty-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.faculty-profile-hero .faculty-credentials span {
  background: rgba(255, 255, 255, .15);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: .9rem;
}

.faculty-profile-body .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
  margin-bottom: 24px;
}

.faculty-profile-body .card-header {
  background: #fff;
  border-bottom: 2px solid var(--primary-red-color);
  border-radius: 12px 12px 0 0 !important;
  font-weight: 700;
  color: var(--accent-color);
  padding: 16px 22px;
}

.faculty-profile-body .card-body {
  padding: 22px;
}

.faculty-expertise-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faculty-expertise-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.faculty-expertise-list li:last-child {
  border-bottom: none;
}

.faculty-expertise-list li i {
  color: var(--primary-red-color);
  margin-right: 8px;
}

.faculty-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.faculty-contact-item i {
  color: var(--primary-red-color);
  font-size: 1.1rem;
}

.faculty-course-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.faculty-course-item:last-child {
  border-bottom: none;
}

.faculty-course-item img {
  width: 70px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}

.faculty-course-item h6 {
  margin: 0 0 4px;
  font-weight: 700;
}

.faculty-course-item .price {
  color: var(--primary-red-color);
  font-weight: 600;
  margin: 0;
}
