  /* ======start index page video player css====== */
  /* Reuse your styles */
  .custom-video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }

  .about-service-poster {
    position: relative;
  }

  /* Play button container placed outside col, centered relative to section */

  .play-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
    border: 2px solid #05869bb3;
    border-style: dashed;
  }

  .play-button:hover {
    transform: scale(1.1);
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(5, 134, 155, 0.4);
    }
    70% {
      box-shadow: 0 0 0 20px rgba(5, 134, 155, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(5, 134, 155, 0);
    }
  }

  .video-camera-icon {
    fill: #05869b;
    transition: fill 0.3s ease;
  }

  .play-button:hover .video-camera-icon {
    fill: red;
  }

  .video-player-wrapper {
    display: none;
    position: relative;
    padding: 15px;
  }

  .video-player-wrapper video {
    width: 100%;
    border-radius: 12px;
  }

  .close-video-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.8);
    color: #05869b;
    font-size: 28px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
  }


  video#myVideo {
    border: 2px solid #05869b;
    border-style: dotted;
  }
  .close-video-btn:hover {
    background: red;
    color: #fff;
  }

  #globalPlayButton {
    position: absolute;
    top: 50%;
    left: 49%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 9999;
    display: flex; /* for play-button centering inside if needed */
    align-items: center;
    justify-content: center;
    background: #05869b14;
    padding: 20px;
    border-radius: 50%;
}

/* ======END index page video player css====== */





/* ======start base page video player css====== */
/* Hide everything by default */
.page2-video-container,
#page2GlobalPlayButton {
  display: none;
}



/* Show on tablets and smaller (max-width: 991px) */
@media screen and (max-width: 991px) {
  .page2-video-container {
    display: block;
    position: relative;
    z-index: 1;
  }

  #page2GlobalPlayButton {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #ffffff;
    height: 70px;       /* increased for consistency with part 1 */
    width: 70px;        /* increased for consistency with part 1 */
    left: 10%;           /* center horizontally */
    top: 50%;            /* center vertically */
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
  }

  .page2-playbutton {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
    border: 2px dashed #05869bb3;
    background: transparent;
  }

  .page2-playbutton svg{
    width: 25px;
    height: 25px;
  }

  .page2-playbutton:hover {
    transform: scale(1.1);
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(5, 134, 155, 0.4);
    }
    70% {
      box-shadow: 0 0 0 20px rgba(5, 134, 155, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(5, 134, 155, 0);
    }
  }

  .page2-video-camera-icon {
    fill: #05869b;
    transition: fill 0.3s ease;
  }

  .page2-playbutton:hover .page2-video-camera-icon {
    fill: red;
  }

  .page2-video-player-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 12px; /* matching part 1 */
  }

  .page2-video-player-wrapper video {
    width: 90%;
    height: auto;
    border-radius: 12px;
  }

  .page2-close-video-btn {
    position: absolute;
    top: 10px;       /* same as part 1 */
    right: 10px;     /* same as part 1 */
    z-index: 999999;
    background: rgba(255, 255, 255, 0.8);
    color: #05869b;
    font-size: 28px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .page2-close-video-btn:hover {
    background: red;
    color: #fff;
  }
}

/* ======End base page video player css====== */
