/* Overlay styling */
#videoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
  }
  
  /* Hide by default */
  .hidden {
    display: none;
  }
  
  /* YouTube Video Styling */
  #youtubePlayer {
    width: 80%;
    height: 80%;
  }
  
  /* Close Button */
  #closeBtn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: red;
    color: white;
    font-size: 20px;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
  }
  
  /* Responsive Mobile */
  @media (max-width: 768px) {
    #youtubePlayer {
      width: 95%;
      height: 50%;
    }
  }
  

  /* parent keeps the video clipped */
.custom-video-shape{
  position: relative;
  height: 400px;           /* adjust or override with media queries */
  overflow: hidden;        /* hide everything that sticks out */
  border-radius: 40px;     /* nice soft corners on the left/right/bottom */
}

/* the circular notch in the top-right corner */
.custom-video-shape::before{
  content: "";
  position: absolute;
  top: -80px;              /* move circle up */
  right: -80px;            /* move circle right */
  width: 200px;            /* diameter of the circle */
  height: 200px;
  background: var(--bs-body-bg,#1e2127); /* same colour as page / section bg */
  border-radius: 50%;      /* perfect circle */
  pointer-events: none;    /* the notch shouldn’t block clicks */
}

/* make sure the <video> always fills the box */
.custom-video-shape > video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  