/* Parallax hero section */
.demo-page {
  /* path is relative to this CSS file */
  background:
    linear-gradient(rgba(0, 0, 0, 0.2),
      /* top fade (you can adjust the alpha .4 → 0–1) */
      rgba(0, 0, 0, 0.2)
      /* bottom fade */
    ),
    url("../img/demo.webp") no-repeat fixed center top / cover;

  padding: 40px 20px;
  background-attachment: scroll;
  /* space around content */
  color: #fff;
}

/* center container */
.demo-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Heading styling */
.demo-container h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Responsive 16:9 video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

/* Make video fill its wrapper */
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

/* make it match the video-wrapper width */
.demo-button {
  display: block;               /* goes full-width of its container */
  width: 100%;                  /* fill its container */
  max-width: 1000px;            /* same as .video-wrapper max-width */
  margin: 0 auto;               /* center it */
  
  /* keep your existing styles */
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  padding: 15px 30px;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;           /* center the text now that it’s block */
  box-sizing: border-box;       /* include padding in the width */
}

.demo-button:hover {
  background-color: #f0f0f0;
  color: #111;
}