.taleemheadingno1 {
  padding-top: 330px;
}

.taleempage {
  background-image: url("../images/texture/backgroundtexture1.png"), url("../images/texture/backgroundtexture2.webp");
  background-position: left top;
  background-repeat: no-repeat, repeat;
  width: 100%;
}

.taleemimgheading {
  padding-top: 129px;
  text-align: center;
}

.taleemimg {
  margin-top: 67px;
  padding-bottom: 100px;
  text-align: center;
}
.taleemimg img {
  -o-object-fit: contain;
     object-fit: contain;
  width: 1375.1px;
}

@media screen and (max-width: 1478px) {
  .taleemimg img {
    width: 80%;
  }
}
.btncardtaleem {
  background-color: white;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  height: 77px;
  text-align: center;
}
.btncardtaleem a {
  color: #ff9822;
  text-decoration: none;
}
.btncardtaleem:hover {
  background-color: #ff9822;
}
.btncardtaleem:hover a {
  color: white;
}

.taleem_cards {
  justify-content: center;
}
.taleem_cards .d-flex {
  justify-content: center;
}

.taleemcardimg img {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  width: 413.5px;
  height: 378.5px;
}

.cardtaleem {
  margin-bottom: 20px;
  border: none !important;
  border-radius: 15px !important;
  width: 413.5px;
}

@media screen and (max-width: 1280px) {
  .taleemcardimg img {
    width: 380px;
    height: 348.5px;
  }
  .cardtaleem {
    width: 380px;
  }
}
.cardtaleem {
  position: relative;
  height: auto;
}

.overlaytaleem {
  position: absolute;
  transition: 0.5s ease;
  height: 80%;
  width: 90%;
  top: 0;
  left: 20px;
  opacity: 0;
}

.overlaycontent {
  text-align: center;
  margin-top: 30%;
}

.cardtaleem:hover .taleemcardimg {
  filter: brightness(50%);
}
.cardtaleem:hover .overlaytaleem {
  opacity: 1;
}

@media screen and (max-width: 530px) {
  .taleemcardimg img {
    height: 300px;
    width: 95% !important;
  }
  .btncardtaleem {
    width: 95%;
  }
  .overlaycontent {
    padding-left: 0px;
  }
}/*# sourceMappingURL=mahanataleem.css.map */