/* Video Section Start  */
.video_section {
  padding: 50px 0;
  background: var(--secondry-light);
}

.video_section .d_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
}

.video_section .main_heading {
  color: var(--black);
}

.v_content {
  position: relative;
  transition: 0.3s ease-in-out;
}

.v_content:hover {
  transform: translateY(-10px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}

.video_name {
  position: absolute;
  padding: 10px;
  left: 0;
  font-weight: 600;
  bottom: 0;
  background-color: var(--white);
  background: hsl(0 0% 100% / 0.7);
  backdrop-filter: blur(16px);
  font-size: 14px;
  width: 100%;
  cursor: pointer;
}

.play_box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: var(--white);
  background: var(--btn-bg-dark);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  cursor: pointer;
  animation: 1s linear infinite blinker;
}

@keyframes blinker {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3),
      0 0 0 6px rgba(255, 255, 255, 0.3), 0 0 0 12px rgba(255, 255, 255, 0.3);
  }

  100% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3),
      0 0 0 12px rgba(255, 255, 255, 0.3), 0 0 0 18px rgba(255, 255, 255, 0);
  }
}

.dont_scroll {
  overflow: hidden;
}

.video-modal-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9;
  display: none;
}

.video-modal {
  max-width: 900px;
  width: 95%;
  background: #fff;
  position: fixed;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0 54px 55px, rgba(0, 0, 0, 0.12) 0 -12px 30px,
    rgba(0, 0, 0, 0.12) 0 4px 6px, rgba(0, 0, 0, 0.17) 0 12px 13px,
    rgba(0, 0, 0, 0.09) 0 -3px 5px;
  text-align: left;
  display: none;
}

.video-modal-overlay.active-modal,
.video-modal.active-modal {
  display: block;
}

.video-box {
  position: relative;
}

.video-box .modal-btn {
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: 40px;
  padding: 5px 10px;
  background: #fff;
}

.video-box iframe {
  height: 480px;
  width: 100%;
}

.v_category_select {
  max-width: 20%;
  margin-bottom: 0.5rem;
}

/* Video Section End  */

@media (max-width: 576px) {
  .video_section {
    padding: 25px 0;
  }

  .video_section .d_grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 0rem;
  }

  .video-box iframe {
    height: auto;
    min-height: 340px;
    width: 100%;
}

.v_category_select {
  max-width: 70%;
  margin-bottom: 0.5rem;
}

.play_box {
  width: 40px;
  height: 40px;
}

}
