/*
Template Name: Admission Hills
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/
/*********************center_home****************/
.center_m {
  background: rgba(7, 41, 77, 0.9);
  padding-top: 50px;
  padding-bottom: 50px;
}
.center_1l h1 {
  font-size: 80px;
}
.center_1l {
  padding-top: 80px;
}
.center_h {
  background-image: url(../img/home_hero.png);
  background-position: center;
}

/* Hero form styles moved to global.css for site-wide availability */
/*********************center_home_end****************/

/*********************feature****************/
.feature_2i span {
  width: 70px;
  height: 70px;
  line-height: 70px;
  font-size: 30px;
}
.feature_2i .line {
  width: 30px;
  height: 3px !important;
}
.feature_2i:hover {
  box-shadow: 0px 4px 20px -3px rgb(22 36 62 / 15%);
}

.feature_2i1 .line {
  background-color: #2eca7f;
}
.feature_2i1 span {
  background: rgba(46, 202, 127, 0.12);
}
.feature_2i1:hover span {
  background-color: #2eca7f;
  color: #fff;
}

.feature_2i2 .line {
  background-color: #3b34ff;
}
.feature_2i2 span {
  color: #3b34ff;
  background: rgba(59, 52, 255, 0.12);
}
.feature_2i2:hover span {
  background-color: #3b34ff;
  color: #fff;
}

.feature_2i3 .line {
  background-color: #ff7700;
}
.feature_2i3 span {
  background: rgba(255, 119, 0, 0.12);
}
.feature_2i3:hover span {
  background-color: #ff7700;
  color: #fff;
}

.feature_2i4 .line {
  background-color: #ff2c7b;
}
.feature_2i4 span {
  color: #ff2c7b;
  background: rgba(255, 44, 123, 0.12);
}
.feature_2i4:hover span {
  background-color: #ff2c7b;
  color: #fff;
}

/*********************feature_end****************/

/*********************institutes****************/
.inst_card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 8px 4px;
  box-shadow: 0 2px 18px rgba(7, 41, 77, 0.09);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.inst_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(7, 41, 77, 0.16);
}
.inst_img_wrap {
  position: relative;
  overflow: hidden;
  height: 195px;
}
.inst_img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.inst_card:hover .inst_img_wrap img {
  transform: scale(1.07);
}
.inst_overlay {
  position: absolute;
  bottom: 10px;
  left: 12px;
}
.inst_badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}
.inst_badge_eng {
  background: #3b34ff;
}
.inst_badge_gen {
  background: #2eca7f;
}
.inst_badge_med {
  background: #e83e8c;
}
.inst_badge_arts {
  background: #fd7e14;
}
.inst_badge_comm {
  background: #07294d;
}
.inst_body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.inst_rank {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
  font-weight: 600;
}
.inst_name {
  font-size: 16px;
  font-weight: 700;
  color: #07294d;
  margin-bottom: 6px;
  line-height: 1.3;
}
.inst_desc {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  margin-bottom: 10px;
  flex: 1;
}
.inst_tags {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}
.inst_tags li {
  font-size: 12px;
  color: #444;
  margin-bottom: 4px;
  line-height: 1.4;
}
.inst_btn {
  display: inline-block;
  padding: 9px 18px;
  background: linear-gradient(135deg, #07294d, #0e4a8a);
  color: #fff !important;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition:
    background 0.22s,
    transform 0.2s;
  margin-top: auto;
}
.inst_btn:hover {
  background: linear-gradient(135deg, #ff7700, #ff9d45);
  transform: translateY(-2px);
  color: #fff !important;
}
.inst_row {
  margin-left: -8px;
  margin-right: -8px;
}
@media screen and (max-width: 767px) {
  .inst_card {
    margin: 0 0 4px;
  }
  .inst_img_wrap {
    height: 170px;
  }
}
/*********************institutes_end****************/

/*********************apply****************/
#apply {
  background-image: url(../img/9.jpg);
  background-position: center;
}
.apply_1l1i {
  border: 3px solid #516e99;
}
#apply .center_m {
  padding-top: 100px;
  padding-bottom: 100px;
}
/*********************apply_end****************/

/*********************event****************/
.event_2l {
  border-right: 1px solid #f9ebdf;
}
/*********************event_end****************/

@media screen and (max-width: 767px) {
  .center_1l h1 {
    font-size: 40px;
  }
  .center_1l {
    padding-top: 0;
    margin-bottom: 15px;
    text-align: center;
  }
  .center_1l p {
    text-align: left;
  }
  .center_1l .button {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 14px;
  }
  .center_1l .button_1 {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 13px;
  }
  .center_1l ul li {
    margin: 0 !important;
  }
  .center_1 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .feature_2i {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .feature_2i p {
    text-align: left;
  }
  #apply .center_m {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .apply_1l1i {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .apply_1r {
    margin-top: 10px;
  }

  .event_2l {
    border: none;
  }
  .event_2m {
    text-align: center;
  }
  .blog_h1i {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .blog_h1i .button {
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .center_1l .button {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .center_1l .button_1 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .center_1l h1 {
    font-size: 40px;
  }
  .center_1l .button {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .center_1l .button_1 {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .event_2l h6 {
    font-size: 13px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  .center_1l h1 {
    font-size: 60px;
  }
}
@media (min-width: 1201px) and (max-width: 1300px) {
  .center_1l h1 {
    font-size: 60px;
  }
}

/* Hero form responsive */
@media screen and (max-width: 767px) {
  .center_1r {
    margin-top: 20px;
  }
  .hero_form_body {
    padding: 14px 14px 18px;
  }
  .hero_form_head {
    padding: 13px 14px;
  }
  .hero_form_head h5 {
    font-size: 13px;
  }
}
