.Certificate {
  background: transparent linear-gradient(0deg, #d9d9d9c2 0%, #ffffff00 100%) 0%
    0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  margin: 50px 0px;
}

.Certificate .col_header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.Certificate .col_header .col_title {
  font-size: 35px;
  font-weight: 800;
  line-height: 1.15;
  color: #000;
  text-align: center;
}

.Certificate .col_header .col_text {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.Certificate .top_img_div {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.Certificate .top_img_div .man_img_holder {
  position: relative;
  z-index: 1;
  bottom: 0px;
  transition: 0.3s;
}

.Certificate:hover .top_img_div .man_img_holder {
  bottom: 0;
}

.Certificate .top_img_div .man_img_holder .man_img {
  width: 100%;
  height: 100%;
}

.Certificate .top_img_div .sample_cerificate_div {
}

.Certificate .top_img_div .sample_cerificate_div .title {
  color: #000;
  text-align: center;
  font-size: 25px;
  font-weight: 600;
}

.Certificate .top_img_div .sample_cerificate_div .certificate_img_holder {
  height: 426px;
}

.Certificate .top_img_div .sample_cerificate_div .certificate_img_holder .img {
  width: 100%;
  height: 100%;
}

.Certificate .red_box {
  background: linear-gradient(
    to right,
    #ad314d,
    #792358,
    #491f3e 100%,
    #eeebed 0%
  ) !important;
  box-shadow: 0px 3px 6px #00000029;
  position: relative;
  z-index: 2;
  padding: 40px;
}

.Certificate .red_box .row1_div {
  display: flex;
  gap: 10px;
  margin-bottom: 23px;
}

.Certificate .red_box .university_holder {
  width: 255px;
}

.Certificate .red_box .university_holder .img {
  width: 100%;
  height: 100%;
}

.Certificate .red_box .row2_div {
  display: flex;
  justify-content: center;
  margin-bottom: 23px;
  /* margin: 0; */
  gap: 10px;
  align-items: center;
}

.Certificate .red_box .white_text {
  text-align: center;
  font-size: 15px;
  color: #fff;
  margin-top: 27px;
  margin-bottom: 10px;
}

.Certificate .red_box .yellow_text {
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  color: #ffd500;
  margin-bottom: 10px;
}

.Certificate .red_box .choose_text {
  text-align: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

@media (min-width: 0px) and (max-width: 575px) {
  .Certificate .top_img_div {
    margin: 0px 0%;
  }

  .Certificate .top_img_div .sample_cerificate_div .title {
    font-size: 16px;
  }

  .Certificate .red_box .yellow_text {
    font-size: 20px;
  }

  .Certificate .top_img_div .sample_cerificate_div .certificate_img_holder {
    height: unset;
    width: 110px;
  }

  .Certificate .red_box {
    padding: 40px 0px;
  }

  .Certificate .red_box .university_holder {
    width: 94px;
  }

  .Certificate .col_header .col_title {
    font-size: 22px;
  }

  .Certificate .col_header .col_text {
    font-size: 14px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .Certificate .top_img_div {
    margin: 0px 0%;
  }

  .Certificate .top_img_div .sample_cerificate_div .title {
    font-size: 18px;
  }

  .Certificate .red_box .university_holder {
    width: 156px;
  }

  .Certificate .red_box .yellow_text {
    font-size: 25px;
  }

  .Certificate .top_img_div .sample_cerificate_div .certificate_img_holder {
    height: unset;
    width: 174px;
  }

  .Certificate .red_box {
    padding: 40px 20px;
  }

  .Certificate .col_header .col_title {
    font-size: 28px;
  }

  .Certificate .col_header .col_text {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .Certificate .top_img_div {
    margin: 0px 0%;
  }

  .Certificate .red_box .university_holder {
    width: 200px;
  }

  .Certificate .red_box .yellow_text {
    font-size: 29px;
  }

  .Certificate .col_header .col_title {
    font-size: 32px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .Certificate .top_img_div {
    margin: 0px 5%;
  }

  .Certificate .red_box .university_holder {
    width: 266px;
  }

  .Certificate .top_img_div .sample_cerificate_div .certificate_img_holder {
    height: 100%;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .Certificate .red_box .university_holder {
    width: 149px;
  }

  .Certificate .red_box {
    padding: 20px;
  }
}
