    .video-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.85);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .video-modal.active {
      opacity: 1;
      visibility: visible;
    }

    .modal-content {
      position: relative;
      width: 90%;
      max-width: 960px;
      max-height: 90vh;
      background-color: #000;
      border-radius: 8px;
      overflow: hidden;
      transform: scale(0.9);
      transition: transform 0.3s ease;
    }

    .video-modal.active .modal-content {
      transform: scale(1);
    }

    .close-modal {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 2.5rem;
      height: 2.5rem;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      cursor: pointer;
      z-index: 10;
      transition: background-color 0.2s ease;
    }

    .close-modal:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }

    .video-container {
      position: relative;
      width: 100%;
      height: 0;
      padding-bottom: 56.25%;
    }

    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }
	

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 70vh; 
    }
    .close-modal {
        width: 2rem;
        height: 2rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}