/* ============= FACULTY SECTION ============= */
.team-section {
  margin: 50px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.team-section h2 {
  text-align: center;
  color: #003b77;
  margin-bottom: 10px;
  font-size: 2rem;
}

.section-intro {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ============= FACULTY FILTER ============= */
.faculty-filter-section {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

.faculty-filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  background: #fff;
  color: #003b77;
  padding: 12px 24px;
  border: 2px solid #e53333;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #e53333;
  color: #fff;
}

.filter-btn.active {
  background: #e53333;
  color: #fff;
}

/* ============= FACULTY GRID ============= */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* ============= FACULTY CARDS ============= */
.faculty-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #e53333;
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(229,51,51,0.2);
}

.faculty-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.faculty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-img {
  transform: scale(1.05);
}

.role-badge,
.subject-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e53333;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.role-badge {
  background: #003b77;
}

.faculty-content {
  padding: 25px;
}

.faculty-content h3 {
  color: #003b77;
  font-size: 1.3rem;
  margin: 0 0 8px 0;
}

.position {
  color: #e53333;
  font-weight: 600;
  font-size: 1rem;
  margin: 5px 0;
}

.qualification {
  color: #666;
  font-size: 0.95rem;
  margin: 5px 0;
}

.experience {
  color: #777;
  font-size: 0.9rem;
  margin: 5px 0;
  font-style: italic;
}

.specialization {
  color: #003b77;
  font-size: 0.9rem;
  margin: 12px 0;
}

.bio {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 15px 0;
}

.contact-info {
  margin: 15px 0;
  padding-top: 15px;
  border-top: 2px solid #f0f0f0;
}

.contact-info p {
  color: #666;
  font-size: 0.9rem;
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info i {
  color: #e53333;
  width: 16px;
}

/* ====================== SOCIAL LINK SECTION ============================== */

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-links i {
  font-size: 1rem;
}

/* Individual brand colors */
.social-links .fa-facebook-f {
  color: #2d2df0;
}

.social-links .fa-twitter {
  color: #06bdf5;
}

/* .social-links.instagram {
  color: #e2e2f5;
} */

/* .social-links.youtube {
  color: #e2e2f5;
} */

.social-links .fa-linkedin-in {
  color: #9f9fa5;
}

/* .social-links.whatsapp {
  color: #e2e2f5;
} */

/* Support Card Styling */
.support-card {
  border-top-color: #003b77;
}

.support-card .role-badge {
  background: #e53333;
}

.support-card .faculty-img {
  object-fit: cover;
}

/* ============= FACULTY CATEGORY ============= */
.faculty-category {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}