
/*--------------------------------------------------------------
# top-college Section
--------------------------------------------------------------*/
.top-college .img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
  
}
.top-college .img img {
  transition: 0.6s;
  height: 10rem;
  width:100%;
}
.top-college .details {
  padding: 30px 30px 0 30px;
 /* margin: -100px 30px 0 30px; */
  transition: all ease-in-out 0.3s;
  background: var(--color-white);
  position: relative;
  background: rgba(var(--color-white-rgb), 0.9);
  text-align: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0px 0 25px rgba(var(--color-black-rgb), 0.1);
}
.top-college .details .logo {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--color-white);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-white);
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
  border: 5px solid var(--color-white);
}
.top-college .details .logo img{ 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 50px;
}
.top-college .details h3 {
  color: var(--color-default);
  font-weight: 700;
  margin: 10px 0 7px 0;
  font-size: 20px;
  transition: ease-in-out 0.3s;
}
.top-college .details p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  padding-bottom: 5px;
}
.top-college .top-college-item:hover .details h3 {
  color: var(--color-primary);
}
.top-college .top-college-item:hover .details .logo {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
}

.top-college .top-college-item:hover .img img {
  transform: scale(1.2);
}

.top-college .top-college-item .img .rank {
  position: absolute;
  right: 0;
  top: 0;
  background-color: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
  border-bottom-left-radius: 8px;
}

.top-college .top-college-item .img .sponserd {
  position: absolute;
  right: 0;
  top: 0;
  background-color: var(--color-yellow);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
  border-bottom-left-radius: 8px;
}

    