.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 {
  max-width: 1100px;
  margin: 40px auto;
}

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

.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);
}

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

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

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

.glitch {
  font-size: 80px;
  margin-bottom: 40px;
  position: relative;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #00f;
  animation: glitch 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #f00;
  animation: glitch 1.5s infinite linear alternate-reverse;
}

.glitch:hover {
  animation: none;
}

.glitch:hover::before,
.glitch:hover::after {
  content: "";
}

.glitch:hover::after {
  content: attr(data-text);
  left: 0;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff00ff, 0 0 40px #ff00ff,
    0 0 50px #ff00ff, 0 0 60px #ff00ff, 0 0 70px #ff00ff;
}

.glitch::after {
  text-decoration: underline;
}

@keyframes glitch {
  0% {
    clip: rect(0, 900px, 0, 0);
  }
  20% {
    clip: rect(40px, 9999px, 56px, 0);
  }
  40% {
    clip: rect(20px, 900px, 50px, 0);
  }
  60% {
    clip: rect(30px, 9999px, 70px, 0);
  }
  80% {
    clip: rect(10px, 900px, 60px, 0);
  }
  100% {
    clip: rect(0, 900px, 0, 0);
  }
}

/* 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%;
}

h2 {
  font-size: xx-large;
  letter-spacing: -1px;
}

.details {
  font-style: italic;
  color: rgb(185, 206, 224);
}

.icons {
  display: flex;
  flex-direction: column;
  top: -30px;
  position: absolute;
  left: 85%;
}

.icons i {
  font-size: 25px;
  margin-bottom: 20px;
  color: rgb(202, 215, 226);
  transition: 0.3s;
}

.icons i:hover {
  color: white;
}

@media screen and(min-width:200px) {
  .container {
    height: 350px;
    width: 200px;
  }
  h2 {
    font-size: x-large;
  }
  .icons i {
    font-size: large;
    margin-bottom: 10px;
  }
}

.doctor-view {
  min-height: 300px;
}
.name {
  color: var(--primary-color);
  font-weight: bold;
}
.title {
  color: var(--primary-color);
  font-weight: bold;
}
.card {
  border-radius: 1.25rem !important;
}

.department-redirection:hover {
  text-decoration: none;
  transform: translateY(-5px);
}

.dept {
  padding-right: 10px;
  padding-left: 10px;
}

.dept-card {
  height: 100%;
}
.dept-card-body {
  padding: 10px 25px;
  overflow: hidden;
}
.dept-icon {
  margin-bottom: 5px;
  color: black;
}
.dept-title {
  color: black;
  text-align: left;
}
.dept-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
}

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

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