.scholarships {
  width: 100%;
  margin: 30px 0 0 0;
}

.scholarships-sliderWrapper {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #00000012;
  border-radius: 14px;
  padding: 40px 10px 20px 10px !important;
}

.scholarships-slider {
  display: flex;
  transition: transform 0.5s ease;
}



.scholarships-card {
  text-align: center;
  position: relative;
  padding: 0 10px;
}

.scholarships-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 1.5px;
  height: 60px;
  background: #0000001A;
}

.scholarships-flag {
  width: 72px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.scholarships-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scholarships-name {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  color: #0F5BC3;
}

.scholarships-count {
  font-size: 14px;
  color: #7C8493;
}



.scholarships-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.coverscholarships-btn {
  width: 51px;
  height: 51px;
  border-radius: 62px;
  border: 1px solid #00000005;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: 0.3s;

}

.scholarships-btn {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1.5px solid #3872E5;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: 0.3s;
  color: #3872E5
}

.scholarships-btn:hover {
  background: #3872E5;
  color: #fff;
}


.scholarships-dots {
  display: flex;
  gap: 8px;
}

.scholarships-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d1d1;
  transition: 0.3s;
}

.scholarships-dot.active {
  width: 18px;
  border-radius: 10px;
  background: #3872E5;
}


@media (max-width:1100px) {

  .scholarships-card {
    flex: 0 0 calc(100% / 4);
  }

}

@media (max-width:768px) {

  .scholarships-card {
    flex: 0 0 calc(100% / 3);
  }

  .scholarships-name {
    font-size: 16px;
  }

}

@media (max-width:550px) {

  .scholarships-card {
    flex: 0 0 calc(100% / 2);
  }

  .scholarships-sliderWrapper {
    padding: 16px 6px;
  }

}

@media (max-width:380px) {

  .scholarships-card {
    flex: 0 0 100%;
  }

}

.scholarships-container {
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.scholarships-item {
  background: #fff;
  border: 1px solid #00000014;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 7px 6px 18.6px 0px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.scholarships-item:hover {
  transform: translateY(-4px);

}

.scholarships-image {
  width: 100%;
  height: 215px;
  position: relative;

}

.scholarships-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blogcard-bookmark {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  color: #222;
}

.scholarships-content {
  padding: 16px 18px 18px;
  text-align: right;
}

.scholarships-title {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
  margin-bottom: 8px;
}

.scholarships-funded {
  font-size: 16px;
  font-weight: 500;
  color: #7C8493;
  margin-bottom: 14px;
}



.scholarships-university {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: #7C8493;
  font-size: 12px;
  margin-bottom: 14px;
}

.scholarships-university i {
  font-size: 12px;
}



.scholarships-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.scholarships-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7C8493;
  font-size: 12px;
}

.scholarships-info i {
  font-size: 13px;
}

.swiper {
  position: unset !important;
  margin-bottom: 20px !important;
}

.swiper-slide {
  position: unset !important;
}

.swiper-controls {
  display: grid;
  grid-template-columns: 40px auto 40px;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.swiper-button-prev,
.swiper-button-next {
  position: static !important;
  margin: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #000000 !important;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: white !important;
}

.controls-container {
  height: 50px;
  width: 50px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #00000005;
  box-shadow: 2px 0px 11.9px 0px #0000000A;

}

.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content !important;
  margin: 0px 10px 0px 0px;
}

.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 3px !important;
  flex-shrink: 0;
}

.swiper-pagination-bullet-active {
  transform: scale(1.2);
  background-color: #000000 !important;
}

.swiper-button-prev,
.swiper-button-next {
  height: 27px !important;
  width: 27px !important;
  border-radius: 50%;
  border: 2px solid #000000;
  margin-top: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.swiper-pagination {
  position: unset !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #000000 !important;
}
.search-box{
  border: 1px solid #00000014;
  box-shadow: 0px 2.71px 4.4px 0px #C0C0C007;
  
}
@media (max-width:768px) {

  .scholarships-container {
    grid-template-columns: 1fr;
  }

  .scholarships-image {
    height: 220px;
  }

}
@media (min-width: 769px) and (max-width: 1024px) {

    .scholarships-container {
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

}
@media (max-width:480px) {


  .scholarships-content {
    padding: 14px;
  }

  .scholarships-title {
    font-size: 19px;
  }

  .scholarships-funded {
    font-size: 16px;
  }

  .scholarships-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .scholarships-image {
    height: 190px;
  }
 .scholarships-card:not(:last-child)::after {
 display: none;
}

}