.professors-page {
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

.professors-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 0;
}

.professors-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.tab-btn {
  padding: 12px 24px;
  background-color: #c51364;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  background-color: #a01050;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(197, 19, 100, 0.3);
}

.tab-btn.active {
  background-color: #c51364;
  box-shadow: 0 4px 12px rgba(197, 19, 100, 0.4);
}

.professors-header {
  text-align: center;
  margin-bottom: 60px;
}

.professors-header h1 {
  font-size: 2.5em;
  color: #c51364;
  margin-bottom: 10px;
  font-weight: 700;
}

.professors-header p {
  font-size: 1.2em;
  color: #666;
}

.professors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.professor-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.professor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(197, 19, 100, 0.2);
}

.professor-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.professor-info {
  padding: 20px;
}

.professor-name {
  font-size: 1.8em;
  font-weight: 600;
  color: #212121;
  margin-bottom: 0px;
}

.professor-name-en {
  font-size: 1.2em;
  color: #c51364;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 0.8;
}

.professor-email {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 12px;
  word-break: break-all;
}

.professor-intro {
  font-size: 0.9em;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .professors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .professors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .professors-grid {
    grid-template-columns: 1fr;
  }

  .professors-header h1 {
    font-size: 2em;
  }

  .professors-header p {
    font-size: 1em;
  }

  .professors-tabs {
    gap: 10px;
  }

  .tab-btn {
    padding: 10px 18px;
    font-size: 0.9em;
  }
}
