.sec-cat-v1:last-child:before,
.sec-cat-v1::after {
  position: absolute;
  content: "";
  left: 0;
  width: 100%;
  height: 50%;
}
.sec-cat-v1:last-child:before {
  bottom: 0;
  background: var(--black);
}
.sec-cat-v1::after {
  top: -20.8rem;
  width: 41.4rem;
  height: 14.4rem;
  background-image: url(../images/shape-left.png);
  background-size: cover;
  background-position: center;
}
.cat-v1-block::before,
.cat-v1-block::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.sec-cat-v1.green .cat-v1-block::before {
  background-color: var(--black);
  background-image: linear-gradient(199.77deg, #53B36E 13.22%, rgba(83, 179, 110, 0.65) 86.78%);
}
.sec-cat-v1.pink .cat-v1-block::before {
  background-color: var(--black);
  background-image: linear-gradient(199.77deg, #EE2B7A 13.22%, rgba(238, 43, 122, 0.65) 86.78%);
}
.sec-cat-v1.blue .cat-v1-block::before {
  background-color: var(--black);
  background-image: linear-gradient(199.77deg, #0C8CE9 13.22%, rgba(12, 140, 233, 0.65) 86.78%);
}
.cat-v1-block::after {
  background-image: var(--cat-v1-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.cat-v1-block {
  position: relative;
  padding: 12rem 8rem;
  z-index: 1;
  align-items: flex-end;
  gap: 3.2rem;
}
.cat-v1-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 73.6rem;
}
@media(min-width:1460px) and (max-width:1499.98px) {
  .sec-cat-v1::after {
    top: -17.6rem;
    width: 34.5rem;
    height: 12rem;
  }
  .cat-v1-block {
    padding: 10rem 7.2rem;
  }
  .cat-v1-text {
    max-width: 65.6rem;
  }
}
@media(min-width:1360px) and (max-width:1459.98px) {
  .sec-cat-v1::after {
    top: -16.8rem;
    width: 34.5rem;
    height: 12rem;
  }
  .cat-v1-block {
    padding: 8rem 6.4rem;
  }
  .cat-v1-text {
    max-width: 59.6rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px) {
  .sec-cat-v1::after {
    top: -15.7rem;
    width: 31.5rem;
    height: 10.9rem;
  }
  .cat-v1-block {
    padding: 8rem 5.6rem;
    gap: 2.4rem;
  }
  .cat-v1-text {
    max-width: 55.6rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px) {
  .sec-cat-v1::after {
    top: -13.2rem;
    width: 26.5rem;
    height: 9.2rem;
  }
  .cat-v1-block {
    padding: 8rem 5.6rem;
    gap: 2.4rem;
  }
  .cat-v1-text {
    max-width: 49.6rem;
  }
}
@media(min-width:768px) and (max-width:991.98px) {
   .sec-cat-v1::after {
    content: none;
  }
  .cat-v1-block {
    padding: 6rem 4rem;
    gap: 2rem;
  }
}
@media(max-width:767.98px) {
  .sec-cat-v1::after {
    content: none;
  }
  .cat-v1-block {
    padding: 3.2rem 2.4rem;
    flex-wrap: wrap;
    gap: 2.4rem;
  }
  .cat-v1-btn {
    width: 100%;
  }
}