.meet-caregivers{
    padding: 0px 0 100px;
    background-color: #eeeeee;
}

nav {
    /* background-color: #a3a3a3; */
}

.meet-caregivers-header{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: linear-gradient(90deg, #20112588, #00000065), url(../images/services/meet-our-caregivers/caregivers-1.jpeg);
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    color: white;
    width: 100%;
    height: 400px;
}

.meet-caregivers-header h1{
    /* font-weight: 200; */
    font-size: 3.2rem;
    text-align: center;
}

.coming-soon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80vh;
}

.coming-soon h1{
    font-size: 5rem;
    color: #4b4b4b52;
    text-align: center;
    text-decoration: dotted underline;
}

.caregivers-holder {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 100px 10% 0px;
    gap: 50px;
}

.caregiver-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.caregiver-container:nth-of-type(even){
    flex-direction: row-reverse;
}

.caregiver-image {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dddddd;
}

.caregiver-image>img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caregiver-text{
    display: flex;
    justify-content: center;
    /* align-items: center; */
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

/* VIDEO POP-UP */

.video-popup {
    display: flex;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
  }
  
  .video-popup.show {
    opacity: 1;
    pointer-events: all;
  }
  
  .video-frame {
    background: #000;
    padding: 10px;
    border-radius: 10px;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    position: relative;
    max-width: 90%;
    width: 560px;
    opacity: 0;
  }
  
  .video-popup.show .video-frame {
    transform: scale(1);
    opacity: 1;
  }
  
  .video-frame iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 8px;
  }
  
  .close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    color: black;
    font-size: 20px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    text-decoration: none;
    line-height: 30px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    transition: background 0.3s;
  }
  .close-btn:hover {
    background: #ccc;
  }
  
  /* Mobile-Friendly */
  @media (max-width: 600px) {
    .video-frame iframe {
      height: 200px;
    }
  
    .video-frame {
      width: 90%;
    }
  
    .close-btn {
      font-size: 18px;
      width: 28px;
      height: 28px;
      line-height: 28px;
    }
  }