.doctorContainer {
  max-width: 1100px;
  justify-content: center;
  padding: 25px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.doctor-view {
  min-height: 300px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  margin: 10px;
  border-radius: 5px;
}

.name {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1rem;
}

.title {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.7rem;
}

.designation {
  font-size: 0.8rem;
}

.name-card {
  border: none;
  background: #e8fffe;
}

.doctor-card-container {
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
  justify-content: end;
  display: flex;
  flex-direction: column;
}

.doctor-card-container:hover {
  text-decoration: none;
}

.doctor-image-view {
  width: 100%;
  flex: 1;
  object-fit: cover;
  transition: transform 0.3s ease, scale 0.3s ease;
}

.doctor-view:hover .doctor-image-view {
  scale: 1.05;
}

@media (min-width: 620px) {
  .doctorContainer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  .doctorContainer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .doctorContainer {
    grid-template-columns: repeat(4, 1fr);
  }
}
