.departmentTile {
  cursor: pointer;
}

.departmentTile .sbox-7-txt h5 {
  color: var(--primary-color);
}

.departmentTile:hover {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  transition: 2;
}

.departmentTile:hover .sbox-7-txt h5 {
  color: var(--font-color);
}

#departments {
  margin-top: -4rem;
}

.our-team {
  padding: 30px 0 40px;
  margin-bottom: 30px;
  border: 1px solid rgb(0 70 139 / 11%);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.our-team .picture {
  display: inline-block;
  /* height: 130px; */
  width: 130px;
  margin-bottom: 50px;
  z-index: 1;
  position: relative;
}

.our-team .picture::before {
  content: "";
  width: 100%;
  height: 0;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 135%;
  right: 0;
  left: 0;
  opacity: 0.9;
  transform: scale(3);
  transition: all 0.3s linear 0s;
}

.our-team:hover .picture::before {
  height: 100%;
}

.our-team .picture::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.our-team .picture img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transform: scale(1);
  transition: all 0.9s ease 0s;
}

.our-team:hover .picture img {
  box-shadow: 0 0 0 14px var(--font-color);
  transform: scale(0.7);
}

.our-team .title {
  display: block;
  font-size: 15px;
  color: #4e5052;
  text-transform: capitalize;
}

.our-team .social {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: var(--secondary-color-2);
  position: absolute;
  bottom: -100px;
  left: 0;
  transition: all 0.5s ease 0s;
  height: 2rem;
}

.our-team:hover .social {
  bottom: 0;
}

.our-team .social li {
  display: inline-block;
  margin-top: -1.5rem;
}

.our-team .social li a {
  display: block;
  padding: 10px;
  font-size: 17px;
  color: var(--font-color);
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

.our-team .social li a:hover {
  color: var(--primary-color);
  background-color: var(--font-color);
}

.team-content .name {
  font-size: 20px;
}

.deptLogo {
  margin-top: -10px !important;
  color: var(--secondary-color-2);
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-container {
  position: relative;
  width: 100%;
}

.search-input {
  padding: 10px 40px 10px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 25px;
  width: 100%;
}

.search-button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.search-button i {
  color: #666;
  font-size: 18px;
}

.search-button:hover i {
  color: #333;
}

.search-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
.doctorContainer {
  max-width: 1100px;
  justify-content: center;
  padding: 25px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.doctorContainer.has-content {
  background-color: #f9f9f9;
}

.empty-doctor-list {
  display: none;
  padding: 2rem;
  font-size: 1.1rem;
  text-transform: capitalize;
  text-align: center;
}

@media (max-width: 575px) {
  .our-team {
    width: 20rem;
  }

  .doctor-view {
    text-align: -webkit-center;
  }
}

.department-container {
  margin-top: 1rem;
}

.loadDoctor {
  margin-bottom: 15px;
  padding: 10px;
  color: white;
  background-color: var(--primary-color);
}

.loadDoctor-div {
  text-align: center;
}

/* doctor */
.container {
  background-size: cover;
}
.gradient {
  height: 100%;
  top: 0;
  background: linear-gradient(to top, #5ab1bb8a, rgba(253, 252, 252, 0.21));
  color: white;
}
.content {
  bottom: 0;
  margin-bottom: 20px;
  padding: 20px;
  height: 100%;
}

.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;
}
.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) {
  .search-container {
    width: 50%;
  }

  .doctorContainer {
    grid-template-columns: repeat(4, 1fr);
  }
}
