/* Full page background overlay */
/* Background that scrolls with the page content */
.background-overlay {
  position: absolute; /* Changed from fixed to absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%; /* Make sure it covers the full content */
  z-index: 30;
  pointer-events: none;
  background-image: url("images/bg.svg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.8;
  background-attachment: scroll; /* Explicitly set to scroll with content */
}

/* Adjust existing corner image styles to ensure they appear above other content */
.top-right-triangle {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: url(""); /* Your top right image */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  z-index: 40; /* Higher than background-overlay */
  pointer-events: none;
}

/* Image in bottom-left corner */
.bottom-left-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background-image: url("images/image1\ copy.png"); /* Your bottom left image */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: 40; /* Higher than background-overlay */
  pointer-events: none;
}
.page-wrapper {
  position: relative;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-right-triangle,
  .bottom-left-image {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .top-right-triangle,
  .bottom-left-image {
    width: 100px;
    height: 100px;
  }
}
