.z-index-up {
  z-index: 1;
}

* {
  box-sizing: border-box;
}

.banner {
  position: relative;
  margin-bottom: 5rem;
  margin-top: 3rem;
  background-image: url("../../../assets/images/bg-pattern-right.svg");
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}
@media screen and (max-width: 991px) {
  .banner {
    background-image: none;
  }
}
.banner.nav-scrolled {
  margin-top: 10rem;
}
@media screen and (min-width: 992px) {
  .banner .banner-container .margin-util:nth-child(3) {
    transform: translateY(5rem);
  }
}
.banner .banner-container .img-container {
  position: relative;
  overflow: hidden;
}
.banner .banner-container .img-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  max-width: 90%;
  height: 40%;
  background-color: #011659;
  /* Set the color of the half square */
  opacity: 0.85;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: rotateX(180deg);
  pointer-events: none;
}
@media screen and (max-width: 991px) {
  .banner .banner-container .img-container::after {
    height: 100%;
    width: 50%;
  }
}
.banner .banner-container .img-container .img-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  z-index: 2;
  font-size: 20px;
}
@media screen and (max-width: 767px) {
  .banner .banner-container .img-container .img-text {
    bottom: 10px;
    left: 10px;
  }
}
@media screen and (max-width: 480px) {
  .banner .banner-container .img-container .img-text {
    bottom: 5px;
    left: 10px;
  }
}
@media screen and (max-width: 480px) {
  .banner .banner-container .img-container .img-text p {
    bottom: 10px;
    left: 10px;
    font-size: 16px;
  }
}
.banner .banner-container .img-container .banner-link {
  position: relative;
}
.banner .banner-container .img-container .banner-link:hover {
  opacity: 1;
}
.banner .banner-container .img-container .banner-bg-img {
  transition: transform 0.3s ease, filter 0.3s ease;
  transform: scale(1);
}
.banner .banner-container .img-container .banner-bg-img:hover {
  transform: scale(1.1);
}
.banner .banner-content {
  padding: 5rem 0;
  color: #000;
}
.banner .banner-content p {
  color: #595959;
}
