/* ==========================================================================
   Video Gallery Page Complete CSS Stylesheet (100% Matching video gallery.png)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Hero Section Fallback Styles
   -------------------------------------------------------------------------- */
.video-hero-section {
  padding: 30px 0 !important;
  position: relative;
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
  overflow: hidden;
  min-height: auto !important;
  height: auto !important;
}

@media (min-width: 992px) {
  .video-hero-section {
    min-height: 430px !important;
    height: auto !important;
    padding: 30px 0 !important;
  }
  .video-hero-section > .container-fluid {
    height: auto !important;
  }
  .video-hero-section .row {
    height: auto !important;
  }
}

.video-hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.video-hero-section .hero-features-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.video-hero-section .hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.video-hero-section .hero-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 30, 90, 0.12);
  border-color: rgba(255, 82, 143, 0.4);
}

.video-hero-section .hero-feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fde8ef;
  color: #e01e5a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.video-hero-section .hero-feature-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e1b4b;
  white-space: nowrap;
}

.video-hero-section .services-hero-img-col {
  position: absolute;
  top: 20px;
  right: 0;
  bottom: 20px;
  width: 50%;
  height: calc(100% - 40px);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: clamp(15px, 3vw, 40px);
}

.video-hero-section .services-hero-img-col img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(30, 27, 75, 0.12);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 8%, #000000 20%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 8%, #000000 20%);
}

@media (max-width: 991.98px) {
  .video-hero-section {
    padding: 30px 15px 0 15px !important;
    text-align: center !important;
  }
  .video-hero-section .hero-breadcrumbs {
    display: none !important;
  }
  .video-hero-section .services-hero-title {
    font-size: clamp(26px, 6vw, 32px) !important;
    text-align: center !important;
  }
  .video-hero-section .video-accent-line-wrap {
    justify-content: center !important;
  }
  .video-hero-section .services-hero-desc {
    text-align: center !important;
    margin: 0 auto 16px auto !important;
  }
  .video-hero-section .hero-features-row {
    justify-content: center !important;
    margin-top: 14px !important;
  }
  .video-hero-section .services-hero-img-col {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 260px;
    margin-top: 20px;
    margin-bottom: 0;
    padding-right: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
  }
  .video-hero-section .services-hero-img-col img {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    max-height: 100%;
    max-width: 90%;
    border-radius: 16px 16px 0 0;
    object-position: center bottom;
  }
}

/* --------------------------------------------------------------------------
   1. Filter Pills Strip (Dark Theme with Deep Purple Gradient)
   -------------------------------------------------------------------------- */
.video-pills-section {
  padding: 30px 0 30px 0;
  background:
    radial-gradient(rgba(224, 30, 90, 0.22) 1.5px, transparent 1.5px),
    radial-gradient(rgba(167, 71, 254, 0.20) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #2d1060 0%, #3b0f7a 50%, #280d58 100%) !important;
  background-size: 32px 32px, 32px 32px, 100% 100% !important;
  background-position: 0 0, 16px 16px, 0 0 !important;
  position: relative;
}

.video-filter-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.video-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  user-select: none;
}

.video-filter-pill i {
  font-size: 14px;
  color: #ff528f;
  transition: color 0.25s ease;
}

.video-filter-pill:hover {
  background: rgba(255, 82, 143, 0.22);
  border-color: rgba(255, 82, 143, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.video-filter-pill:hover i {
  color: #ffffff;
}

.video-filter-pill.active {
  background: linear-gradient(135deg, #ff528f 0%, #e01e5a 100%);
  border-color: #ff528f;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(224, 30, 90, 0.5);
}

.video-filter-pill.active i {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. Video Cards Grid (Light Theme Gradient)
   -------------------------------------------------------------------------- */
.video-grid-section {
  padding: 60px 0 80px 0;
  background: linear-gradient(to right, #fde8ef 0%, #fff2f6 30%, #ffffff 65%, #f1e4fc 100%) !important;
  position: relative;
}

.featured-video-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid #fce4ec;
  box-shadow: 0 10px 30px rgba(224, 30, 90, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-video-card:hover {
  transform: translateY(-6px);
  border-color: #fce4ec;
  box-shadow: 0 14px 35px rgba(224, 30, 90, 0.12);
}

.video-thumb-box {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  cursor: pointer;
  background: #0f0c29;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.92;
}

.featured-video-card:hover .video-thumb-img {
  transform: scale(1.08);
  opacity: 1;
}

.video-play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(30, 27, 75, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.featured-video-card.pink-play .video-play-btn-circle {
  background: #e01e5a;
  box-shadow: 0 8px 24px rgba(224, 30, 90, 0.4);
}

.featured-video-card:hover .video-play-btn-circle {
  background: #e01e5a;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 10px 30px rgba(224, 30, 90, 0.5);
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.video-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1e1b4b;
  margin-bottom: 8px;
  line-height: 1.35;
}

.video-card-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.video-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  border-top: 1px solid #f8fafc;
  padding-top: 12px;
  margin-top: auto;
}

.video-meta-row i {
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   4. All Videos Grid Cards
   -------------------------------------------------------------------------- */
.video-grid-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 6px 20px rgba(31, 20, 53, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-grid-card:hover {
  transform: translateY(-5px);
  border-color: #fce4ec;
  box-shadow: 0 12px 30px rgba(224, 30, 90, 0.1);
}

.video-grid-card .video-thumb-box {
  height: 165px;
}

.video-grid-card .video-card-body {
  padding: 18px;
}

.video-grid-card .video-card-title {
  font-size: 15px;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   4.5 Load More Button & Newsletter Card (100% Matching video gallery.png)
   -------------------------------------------------------------------------- */
.btn-load-more-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  border-radius: 50px;
  border: 1.5px solid #fecdd3;
  background: #ffffff;
  color: #e01e5a !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(224, 30, 90, 0.06);
  cursor: pointer;
}

.btn-load-more-pill:hover {
  background: #fff0f4;
  border-color: #e01e5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 30, 90, 0.15);
}

.gallery-newsletter-card {
  background: #fff0f4;
  border: 1.5px solid #fecdd3;
  border-radius: 24px;
  padding: 32px 40px;
  box-shadow: 0 6px 24px rgba(224, 30, 90, 0.05);
}

.newsletter-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #fecdd3;
  color: #e01e5a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(224, 30, 90, 0.1);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. Interactive Video Player Modal
   -------------------------------------------------------------------------- */
.video-modal-backdrop,
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 8, 28, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal-backdrop.show,
.video-modal.show {
  display: flex;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #1e1b4b;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  animation: videoZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes videoZoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.video-iframe-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #000000;
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-info {
  padding: 20px 24px;
  background: #1e1b4b;
  color: #ffffff;
}

.video-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.video-modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.video-modal-close-btn:hover {
  background: #e01e5a;
}

/* --------------------------------------------------------------------------
   6. Bottom Confidentiality Banner
   -------------------------------------------------------------------------- */
.video-confidentiality-strip {
  background: #ffffff;
  border: 1.5px solid #d1fae5;
  border-radius: 16px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 800px;
  margin: 40px auto 0 auto;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.05);
}

.video-confidentiality-strip i {
  color: #10b981;
  font-size: 20px;
  flex-shrink: 0;
}

.video-confidentiality-strip span {
  font-size: 13.5px;
  color: #065f46;
  font-weight: 600;
}
