/* HERO */
.faculty-hero {
  color: #fff;
  text-align: center;
  height: 450px;
  background: url('../assets/images/Faculty.jpg') no-repeat center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.faculty-hero .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 15px;
}

.faculty-hero h1 {
  font-size: 44px;
  font-weight: 800;
}

.faculty-hero p {
  max-width: 650px;
  margin: auto;
  opacity: 0.9;
}

/* SECTION */
.faculty-section {
  padding: 40px 0;
}

.faculty-section.alt {
  background: #f6f7fb;
}

/* TITLE */
.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 35px;
  color: #1f1f1f;
}

/* GRID */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* FACULTY CARD */
.faculty-card {
  background: #fff;
  text-align: center;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.faculty-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #b71c1c;
  margin-bottom: 12px;
  transition: 0.3s;
}

/* NAME */
.faculty-card h3 {
  font-size: 18px;
  color: #b71c1c;
  margin-bottom: 5px;
}

/* ROLE */
.faculty-card p {
  color: #555;
  font-size: 14px;
}

/* HOVER EFFECT */
.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.faculty-card:hover img {
  transform: scale(1.1);
}

/* RESPONSIVE */
@media(max-width:992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .faculty-hero h1 {
    font-size: 32px;
  }
}

@media(max-width:600px) {

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .faculty-hero {
    padding: 50px 15px;
  }

  .faculty-hero h1 {
    font-size: 17px;
  }
  .faculty-hero {
  color: #fff;
  text-align: center;
  height: 250px;
  background: url('../assets/images/Faculty.jpg') no-repeat center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.faculty-hero p {
    max-width: 650px;
    margin: auto;
    opacity: 0.9;
    font-size: 12px;
}
.section-title {
    text-align: center;
    font-size: 19px;
    margin-bottom: 7px;
}
}