.faculty-hero {
  background: linear-gradient(to right, #0050b3, #0074cc);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.faculty-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.faculty-hero p {
  font-size: 1.2rem;
}

/* ======== SCOPE EVERYTHING UNDER .fc-wrap TO AVOID CONFLICTS ======== */
.fc-wrap {
  --fc-text: #2c3e50;
  --fc-muted: #6c757d;
  --fc-bg: #f8f9fa;
  --fc-card: #ffffff;
  --fc-accent: #0d6efd;
  --fc-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding-inline: 16px;
}

/* ---------- Principal Section ---------- */
.faculty-section {
  width: 100%;
  margin: auto;
  padding: 40px;
  background-color: #f0f4f8;
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faculty-row {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.faculty-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.principal-card {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: 2px solid #0056b3;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.principal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.principal-card .faculty-details h3,
.principal-card .faculty-details p {
  color: white;
}

.faculty-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 20px;
  border: 3px solid #007BFF;
}

.faculty-details {
  text-align: left;
}

.faculty-details h3,
.faculty-details h4 {
  margin: 5px 0;
  color: #222;
  font-weight: 600;
}

.faculty-details p {
  font-size: 0.95em;
  color: #555;
  margin: 5px 0;
}



/* ---------- Empty state ---------- */
.fc-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--fc-muted);
  padding: 20px 8px;
  border: 1px dashed #d8dee4;
  border-radius: 12px;
  background: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .faculty-section {
    padding: 20px;
  }

  .faculty-row {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .faculty-photo {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .faculty-details {
    text-align: center;
  }

  .fc-principal {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 14px;
  }

  .fc-principal-img {
    width: 160px;
    height: 160px;
  }

  .fc-title {
    font-size: 1.5rem;
  }

  .fc-card {
    max-width: 100%;
    /* allow full width on small screens */
  }

  .fc-card-img {
    height: auto;
    /* natural image size */
    max-height: none;
    /* no restriction */
  }
}
