/*--------------------------------------------------------------
# Home Page
--------------------------------------------------------------*/
/* Hero Section - Home Page
----------------------------- */
.hero {
  --default-color: #ffffff;
  --default-color-rgb: 255, 255, 255;
  --background-color: #000000;
  --background-color-rgb: 0, 0, 0;
  width: 100%;
  min-height: 100vh;
  padding: 80px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero .search-container {
  position: relative;
  z-index: 200;
  align-items: center;
  min-width:50%
}

.hero h2 {
  color: var(--color-white);
  margin: 0;
  font-size: 44px;
  font-weight: 700;
}
.search-results {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 245px;
  overflow-y: auto;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
}

.search-results li {
  padding: 8px;
  cursor: pointer;
}

.search-results li:hover {
  background-color: #f8f9fa;
}

.hero .input-group {
  margin-top: 20px;
  padding: 10px;
  border-radius: 0.5rem ;
  background: #fff;
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1);
}

.hero .input-group .form-control {
  border: none;
}

.hero .input-group .form-control:active,
.hero .input-group .form-control:focus {
  outline: none;
  box-shadow: none;
}

/*
.hero .input-group:focus-within {
  border-radius: 0.5rem 0.5rem  0 0;
}
*/

.hero .search-container list-group.display-block + .input-group {
  border-radius: 0.5rem 0.5rem 0 0;
}




.hero .input-group input[type=submit],
.hero .input-group .searchbtn {
 
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  padding: 8px 20px 10px 20px;
  border-radius: 7px;
  color: var(--color-white);
}

.hero .input-group .searchbtn:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

#hero .carousel, #hero .carousel-inner, #hero .carousel-item, #hero .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  
}
#hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero .carousel-item::before {
  content: "";
  background-color: rgba(30, 35, 40, 0.6);
}


#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}
#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}
#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}
#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}
#hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#hero .carousel-control-next-icon:hover, #hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
  #hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
    display: none;
  }
}




/*--------------------------------------------------------------
# Notification
--------------------------------------------------------------*/
.notification .notification-carousel,
.notification .notification-slider {
  overflow: hidden;
z-index: 10;
}

.notification .card {
  flex-direction: row;
  border-bottom: 3px solid var(--color-primary);
  opacity: 1;
  filter: none;
  transition: 0.3s;
  
}

.notification .card:hover {
 /* border-bottom: 3px solid var(--color-secondary);*/
  transform: scale(1.05);
}

.notification .card .card-body{
  padding: 0.5rem;
}
.notification .card img {
  width: 30%;
}



.notification .card h5 {
  font-size: 16px;
  font-weight: bold;
  color: #111;
}

.notification .card p {
  font-size: 14px;
  font-style: italic;
  margin: 5px auto 5px auto;
}

.notification .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.notification .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--color-primary);;
}

.notification .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);;
}


/*--------------------------------------------------------------
# top-cities
--------------------------------------------------------------*/
.top-cities {
  padding-top: 0px;
}
.top-cities .icon-box {
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid #eef0ef;
}
.top-cities .icon-box img {
  max-width: 80px;
  align-items: center;
}

.top-cities .icon-box svg {
  width: 80px;
  height: 80px;
  align-items: center;
}

.top-cities .icon-box h3 {
  color: var(--color-black);
  font-weight: 600;
  margin-top: 5px;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  text-align: center;
}

.top-cities .icon-box:hover {
  border-color: var(--color-primary);
}
.top-cities .icon-box:hover h3  {
  color: var(--color-primary);
}

.top-cities .icon-box:hover svg {
  fill: var(--color-primary);
}

.top-cities .swiper-pagination-top-cities {
  margin-top: 20px;
  position: relative;
  text-align: center;
}

.top-cities .swiper-pagination-top-cities .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--color-primary);
}

.top-cities .swiper-pagination-top-cities .swiper-pagination-bullet-active {
  background-color: var(--color-primary);;
}



/*--------------------------------------------------------------
# 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 .swiper-pagination-top-college {
  margin-top: 20px;
  position: relative;
  text-align: center;
}

.top-college .swiper-pagination-top-college .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--color-primary);;
}

.top-college .swiper-pagination-top-college .swiper-pagination-bullet-active {
  background-color: var(--color-primary);;
}



/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/

.features .icon-box {
  display: flex;
  flex-direction: row; 
  align-items: center;
  padding: 10px;
  transition: 0.3s;
  border: 1px solid #eef0ef;
  margin-bottom: 1rem;
  height: 50px
}

.features .icon-box img {
  max-height: 30px;
}

.features .icon-box h3 {
  font-weight: 700;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  margin: 0 20px; 
}

.features .icon-box h3 a {
  color: #37423b;
  transition: 0.3s;
}

.features .icon-box:hover {
  border-color: var(--color-primary);
}

.features .icon-box:hover h3 a {
  color: var(--color-primary);
}



/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .post-item {
  
  box-shadow: 0 4px 16px rgba(0,0,0, 0.1);
  transition: 0.3s;
  border-radius: 0.5rem;
  overflow: hidden;
}

.recent-blog-posts .post-item .post-img img {
  transition: 0.5s;
  overflow: hidden;
  height:12rem;
  width:100%;
  object-fit: cover;
}

.recent-blog-posts .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-blog-posts .post-item .post-content {
  padding: 15px;
}

.recent-blog-posts .post-item .post-title {
  font-size: 18px;
  color: #444444;
  font-weight: 600;
  transition: 0.3s;
  margin-bottom: 15px;
  
  text-overflow: ellipsis;
  overflow: hidden;
  display:-webkit-box;-webkit-line-clamp: 2; /* number of lines to show */
  -webkit-box-orient: vertical;
}

.recent-blog-posts .post-item .meta i {
  font-size: 16px;
  color: var(--color-primary);
}

.recent-blog-posts .post-item .meta span {
  font-size: 15px;
  color: #838893;
}

.recent-blog-posts .post-item hr {
  color: #888;
  margin: 10px 0;
}

.recent-blog-posts .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: #838893;
}

.recent-blog-posts .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-blog-posts .post-item:hover .post-title,
.recent-blog-posts .post-item:hover .readmore {
  color: var(--color-primary);
}

.recent-blog-posts .post-item:hover .post-img img {
  transform: scale(1.1);
}


.recent-blog-posts .swiper-pagination-recent-blog {
  margin-top: 20px;
  position: relative;
  text-align: center;
}

.recent-blog-posts .swiper-pagination-recent-blog .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--color-primary);;
}

.recent-blog-posts .swiper-pagination-recent-blog .swiper-pagination-bullet-active {
  background-color: var(--color-primary);;
}


    
/*--------------------------------------------------------------
# Explore
--------------------------------------------------------------*/
.explor .explor-item {
  margin-bottom: 30px;
}
.explor #explor-flters {
  list-style: none;
  text-align: center;
  display: flex;
}
.explor #explor-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 1rem 2rem 1rem 2rem;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  
  color: #444444;
  margin-bottom: 5px;
  margin-left: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 2rem;
}
.explor #explor-flters li:hover, .explor #explor-flters li.filter-active {
  color: #fff;
  background: var(--color-primary);;
}
.explor #explor-flters li:last-child {
  margin-right: 0;
}


.explor .service-box {
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  height: 200px !important;
  padding: 20px 10px 10px 10px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
  background-color: #fff;
}

.explor .service-box svg {
  width:80px;
  height: 80px;
  padding: 15px 10px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 15px;
  display: inline-block;
  line-height: 0;
  transition: 0.3s;
  
}

.explor .service-box h4 {
  color: var(--color-default);
  font-weight: 700;
  font-size: 1.2rem;
}
.explor .service-box p {
  color: var(--color-default-light);
  margin-bottom: 0;
}


.explor .service-box.blue svg {
  fill: var(--color-primary);
  background:var(--color-primary-light);
}

.explor .service-box.blue:hover svg {
  fill: var(--color-secondary);
  background:var(--color-secondary-light);
}
.explor .service-box.blue:hover h4 {
  color: var(--color-secondary);
}
/*
.explor .service-box.blue {
  border-bottom: 3px solid var(--color-primary);
}

.explor .service-box.blue:hover {
  border-bottom: 3px solid var(--color-secondary);
}
*/