.dynamic-banner {
  width: 100%;
  height: 278px;
  background: #94cdfb;
  background: linear-gradient(
    270deg,
    rgba(148, 205, 251, 1) 60%,
    rgba(251, 253, 255, 0.5) 100%
  );
  overflow: hidden;

  @media (width <= 1024px) {
    background: linear-gradient(
      270deg,
      rgba(148, 205, 251, 1) 60%,
      rgba(251, 253, 255, 0.5) 100%
    );
  }
}

.dynamic-banner-wrapper {
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 12px;
  position: relative;
  z-index: 3;
}

.dynamic-banner-wrapper::before {
  content: url("../../../../images/background-stripes.webp");
  position: absolute;
  top: 130px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  @media (width <= 1024px) {
    top: -100px;
    left: 0;
  }
}

.dynamic-banner-wrapper::after {
  content: url("../../../../images/background-stripes.webp");
  position: absolute;
  top: -30px;
  right: 40px;
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
  z-index: -1;

  @media (width <= 1024px) {
    top: 100px;
    right: 0;
  }
}

.dynamic-banner-content {
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 18px;

  @media (width <= 1024px) {
    max-width: 100%;
  }
}

.dynamic-banner-text {
  font-size: 28px;
  color: #1f64d2;
  font-weight: 600;
}

.dynamic-banner-btn {
  width: max-content;
  font-size: 18px !important;
  border: 1px solid #1f64d2;
  padding: 10px 20px;
  color: #1f64d2 !important;
  text-decoration: none !important;
  transition: 0.3s ease-in-out;
}

.dynamic-banner-btn:hover {
  background: #115efb;
  color: #fff !important;
}

.dynamic-banner-img {
  width: 100%;
  height: 278px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (width <= 1024px) {
    display: none;
  }
}
.dynamic-banner-img img {
  width: 100%;
  height: 100%;
  max-width: 365px;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
