/* explore */
.explore_sec {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 10%,
    rgba(255, 243, 227, 1) 75%
  );
}

.explore_card {
  position: relative;
  border-radius: 6px;
}

.explore_card .card-img {
  max-height: 480px;
}

.explore_card:hover .card-title {
  transform: translateY(-100px);
  top: 0;
  transition: transform 0.6s ease-in-out;
}

.explore_card .card-text .card-hover {
  opacity: 0;
  bottom: 10px;
  position: absolute;
  transform: translateY(-6px);
  transition: transform 2s ease-in-out;
}

.explore_card:hover .card-text .card-hover {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.explore_card .card-text {
  position: absolute;
  bottom: 10px;
  transition: all 0.2s ease-in-out;
  color: #fff;
  left: 10px;
  right: 6px;
}
.explore_card_new:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transform: translateY(-2px);
  transition: all 0.3s ease-in-out;
  background-color: var(--bs-secondary);
}
.explore_card_new .card-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--bs-primary);
}
.explore_card_new p {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #000;
}
.explore_card_new {
  background-color: #fff;
  border: 1px solid #000;
}
/* .explore_card_new .link {
  color: var(--bs-primary);
  font-size: 14px;
}

.explore_card_new .link:hover {
  color: var(--bs-primary);
}

.explore_card_new:hover .link {
  border-bottom: 1px solid var(--bs-primary);
} */

.explore_card::after {
  content: "";
  width: 100%;
  height: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, #000000e7);
  pointer-events: none;
  border-radius: 0 0 6px 6px;
}

.explore_card .card-img-overlay {
  z-index: 1;
}

.count_card {
  background-color: var(--bs-secondary);
  border-radius: 12px;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.count_card .card-body {
  padding: 20px 30px;
}

.count-box {
  color: var(--bs-primary);
  font-size: 50px;
  font-family: var(--bs-secondary-font-family);
}

.count_text {
  font-weight: 400;
  font-size: 18px;
  color: #000;
}

/* campus_card */
.campus_card {
  background-color: var(--bs-secondary);
  border-radius: 12px;
}

.campus_card img {
  height: 240px;
  object-fit: cover;
}
.campus_btn {
  flex-wrap: wrap;
  gap: 10px;
}
.campus_btn .nav-link {
  color: #000;
  padding: 6px 30px;
}
.card-location i {
  width: 12px !important;
  height: 28px;
  border-radius: 3px;
  font-size: 0.875rem;
  color: var(--bs-primary);
  line-height: 28px;
  text-align: center;
}

.card-location {
  font-size: 14px;
  color: #000;
}

.card-location a {
  color: #000;
}
.card-location a:hover {
  color: var(--bs-primary);
}

.card-over-link {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/*About-us*/
.about-us {
  background-color: var(--bs-secondary);
  border-radius: 16px;
  padding: 50px 20px;
}

.about-us .about-con {
  font-size: 45px;
  font-weight: 100;
  line-height: 1.5;
  padding: 0 100px;
  transition:
    color 0.3s ease,
    font-weight 0.3s ease,
    padding 0.3s ease;
}

.about-us:hover .about-con {
  color: var(--bs-primary);
  font-weight: 900;
  padding: 0 70px;
}

.about-us p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/*  */
.our-recruiters {
  background-color: #ffcf89;
}

.our-recruiters .row > div {
  text-align: center;
}

.our-recruiters img {
  width: 160px;
  object-fit: cover;
  border-radius: 12px;
}

/*why-card*/
.why-sec {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 6%,
    rgba(255, 243, 227, 1) 0%
  );
}
.why-box img {
  width: 48px;
  height: 48px;
}

.why-box {
  background-color: var(--bs-secondary);
  padding: 20px;
  border-radius: 18px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.why-box h6 {
  font-weight: 600;
  font-size: 18px;
  width: 50%;
}

/* achieve_card */
.achievements_sec {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 10%,
    rgba(255, 243, 227, 1) 75%
  );
}
.achieve_card {
  border: 1px solid var(--bs-primary);
  border-radius: 12px;
  background-color: #ff7c1af7;
}
/* .achieve_card::before {
    top: -36px;
    right: 20px;
    background-image: url(../images/badge.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    content: "";
    width: 50px;
    height: 70px;
    position: absolute;
    padding: 0 4px;
    background-color: #fff;
} */
.news_card .card-img {
  border-radius: 12px;
}
.new_card {
  border-radius: 12px;
}
.new_card img {
  height: 130px;
  width: 100%;
  border-radius: 12px 0 0 12px;
}
.new_card .card-title {
  font-family: var(--bs-secondary-font-family);
  font-size: 16px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/*  */
.form_sec .bg_form {
  background-color: #fff8ef;
  border-radius: 20px;
}
.contactform {
  padding: 40px 70px;
}
.contact_img img {
  height: 500px;
}

.course-tab-nav ul {
  display: flex;
  flex-flow: row wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.course-tab-nav ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.course-tab-nav ul li a {
  display: block;
  padding: 6px 30px;
  background-color: #fff;
  border: 1px solid var(--bs-tertiary);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bs-tertiary);
  text-decoration: none;
  cursor: pointer;
}
.course-tab-nav ul li a:hover,
.course-tab-nav ul li a.active {
  background-color: var(--bs-tertiary);
  color: #fff;
  opacity: 0.9;
}

.recruiter-row img:hover {
  transform: scale(1.05);
  filter: grayscale(100%);
  border-color: rgb(217 27 34 / 50%);
}

.recruiter-row img {
  margin: 0.4rem;
  border: 1px solid rgb(0 0 0 / 13%);
  padding: 0;
  border-radius: 12px;
  transition: all 0.2s ease-in-out;
  filter: grayscale(0%);
}

@media (max-width: 1199px) {
  .explore_card .card-title {
    font-size: 1.25rem;
  }
  .count-box {
    font-size: 40px;
  }
  .about-us .about-con,
  .about-us:hover .about-con {
    padding: 0 30px;
  }
  .about-us .about-con {
    font-size: 40px;
  }

  .why-box h6 {
    width: 60%;
  }
}
@media (max-width: 1040px) and (min-width: 992px) {
  .new_card .card-title {
    font-size: 18px;
  }
}
@media (max-width: 991px) {
  .news_card .card-img {
    height: 400px !important;
    object-fit: cover !important;
  }
  .new_card img {
    max-height: 160px;
  }
  .new_card .card-title {
    font-size: 16px;
  }
  .explore_card .card-img {
    max-height: 380px;
    object-fit: cover;
  }
  .about-us .about-con,
  .about-us:hover .about-con {
    padding: 0;
  }
  .about-us {
    padding: 30px 20px;
  }
  .about-us .about-con {
    font-size: 36px;
  }
  .contactform {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .count-box {
    font-size: 30px;
  }
  .campus_card .card-body {
    padding: 16px 8px;
  }
  .campus_card img {
    height: 160px;
  }
  .campus_card .card-text {
    /* font-size: 1.125rem; */
  }
  .card-location p {
    margin-bottom: 0;
  }
  .about-us .about-con {
    font-size: 30px;
    text-align: center;
    line-height: 1.2;
  }

  .intro-card img {
    width: 80px;
  }
  .contact_img img {
    height: 187px;
  }
}

@media (max-width: 575px) {
  .count_card .card-body {
    padding: 14px;
  }
  .count_text {
    font-size: 16px;
  }
  .intro-card img {
    width: 60px;
  }
  .contact_img img {
    height: 280px;
  }
  .campus_btn {
    gap: 2px;
  }
  .campus_btn .nav-link {
    padding: 4px 12px;
    font-size: 14px;
  }
  .new_card .card-title {
    font-size: 14px;
  }
}
