body {
  padding-top: 100px;
}

.navshadow {
  box-shadow: none !important;
}

.header-bg-container {
  background-image: none !important;
}

.txt-overlay {
  position: relative;
}

.txt-overlay h4 {
  color: white;
  position: absolute;
  top: -140px;
  left: 0;
  right: 0;
}

.txt-overlay-1 {
  position: relative;
}

.txt-overlay-1 h4 {
  color: white;
  position: absolute;
  top: -70px;
  left: 0;
  right: 0;
}

.process-btn {
  border-radius: 20px;
  padding: 8px 30px;
  border: 2px solid black;
  font-weight: 600;
}

.browse-btn {
  border-radius: 50px;
  padding: 8px 15px;
  border: 2px solid black;
  font-weight: 600;
  font-size: 18px;
}

.light-green {
  color: #ccd834;
}

.txt-testimonial h4 {
  color: #7d7c7c;
  margin-bottom: 0;
}

.video-testimonial-row img {
  height: 350px;
}

.static-videos-img {
  height: 630px;
}

.static-images-section {
  /* height: 247px; */
  border-radius: 10px 10px 0px 0px;
}

.down-arrow {
  width: 30px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  padding: 10px;
}

.service-card:hover .overlay {
  opacity: 1;
}

.section-title {
  text-align: center;
  margin: 50px 0 20px;
}

.txt-overlay p {
  color: white;
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  width: 80%;
  margin: auto;
  align-items: center;
}
.mob-view {
  display: none;
}
/* mute button styles */
.vimeo-mute-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  z-index: 99;
  pointer-events: auto;
  transition: background 0.15s;
}

.vimeo-mute-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.vimeo-mute-btn.unmuted {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}

/* keep iframe below the button */
iframe[data-vimeo-embed] {
  z-index: 1;
  /* position: relative; */
  display: block;
  border-radius: 15px;
}

.bs-team-img {
  border-radius: 60px;
}

@media (max-width: 1400px) and (min-width: 1200px) {
  .watch-button {
    position: absolute;
    top: 84%;
  }
}

@media (max-width: 1400px) and (min-width: 1200px) {
  .txt-overlay p {
    top: -120px;
  }

  .txt-overlay h4 {
    top: -160px;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .first-video-section .swiper-container .swiper-slide {
    height: 600px !important;
    width: 27% !important;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .txt-overlay p {
    top: -110px;
    font-size: 14px;
  }

  .txt-overlay h4 {
    top: -150px;
  }

  .static-images-section {
    height: auto;
    width: 100%;
  }

  .first-video-section .swiper-container .swiper-slide {
    height: 600px !important;
    width: 32% !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .txt-overlay p {
    top: -100px;
    font-size: 12px;
  }

  .txt-overlay h4 {
    top: -125px;
    font-size: 18px;
  }

  .static-images-section {
    height: auto;
    width: 100%;
  }

  .meet-mind-magic-section {
    padding-top: 0px !important;
  }

  .txt-overlay-1 h4 {
    font-size: 18px;
    top: -30px;
  }

  .first-video-section .swiper-container .swiper-slide {
    height: 550px !important;
    width: 43% !important;
  }
}

@media (max-width: 767px) and (min-width: 576px) {
  .static-images-section {
    height: auto;
    width: 100%;
  }
  .video-grid-card img {
    height: 280px !important;
  }

  .txt-overlay-1 h4 {
    font-size: 18px;
    top: -30px;
  }

  .video-production-section .ps-5 {
    padding-left: 0 !important;
  }

  .txt-overlay p {
    top: -100px;
    width: 60%;
  }

  .first-video-section .swiper-container .swiper-slide {
    height: 550px !important;
    width: 58% !important;
  }
}

@media (max-width: 575px) and (min-width: 320px) {
  .static-images-section {
    height: auto;
    width: 100%;
  }
  .mob-view {
    display: block;
  }

  .txt-overlay-1 h4 {
    font-size: 16px;
    top: -30px;
  }

  .video-production-section .ps-5 {
    padding-left: 0 !important;
    font-size: 18px;
  }

  .video-production-section {
    padding-top: 0 !important;
    text-align: center;
  }

  .txt-overlay p {
    top: -100px;
    width: 90%;
    padding: 0 20px;
  }

  .ideation-creation .py-5 {
    padding-bottom: 0px !important;
  }

  .meet-mind-magic-section h3,
  .ideation-creation h3 {
    font-size: 16px;
  }

  h1 {
    font-size: 24px;
  }

  .first-video-section .swiper-container .swiper-slide {
    height: 550px !important;
    width: 73% !important;
  }

  .watch-button {
    padding: 6px 13px;
    font-size: 12px;
  }

  .vimeo-mute-btn {
    bottom: 12px;
    right: 27px;
    padding: 3px 7px;
    font-size: 12px;
  }
}

@media (max-width: 418px) and (min-width: 320px) {
  .first-video-section .swiper-container .swiper-slide {
    height: 400px !important;
    width: 71% !important;
  }

  /* .image-container iframe {
    height: 400px !important;
  } */

  .txt-overlay p {
    top: -110px;
    padding: 0 0px;
  }
}

.swiper-container {
  width: calc(100% - 0px);
  height: 100%;
  max-height: 700px;
  padding: 0px;
}

.swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-container .swiper-slide {
  height: 550px !important;
  width: 23% !important;
}

.image-container iframe {
  height: 600px;
}

.logo-grid {
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}

/* Desktop & Tablet – 2 rows */
.logo-grid.collapsed {
  max-height: 260px;
}

/* Mobile – 3 rows */
@media (max-width: 575px) {
  .logo-grid.collapsed {
    max-height: 390px;
    /* 3 rows */
  }
}

.logo-grid.expanded {
  max-height: 2000px;
}

.logo-item {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-height: 60px;
  object-fit: contain;
}

.video-category-slider {
  overflow: hidden;
}

/* Smooth continuous motion */
.swiper-wrapper {
  transition-timing-function: linear !important;
}

.swiper-slide {
  width: 300px;
  height: 560px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-5px);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 6px 15px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.swiper-slide.image-container iframe {
  pointer-events: none;
}

/* Overlay (optional) */
.bs-video-section-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
}

/* Button above overlay */
#muteToggle {
  z-index: 3;
}

.bs-video-section-bg {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: #000;
}

/* Updated Iframe Rules for Top-Alignment */
.bs-video-section-bg iframe {
  position: absolute;
  /* 1. Pin the video to the top edge instead of the middle */
  top: -5px;
  left: 50%;
  width: 100%;
  height: 100%;

  min-width: 177.77vh;
  min-height: 56.25vw;

  /* 2. Only shift the video on the X-axis (horizontal) to center it.
        We removed the Y-axis shift so it stays at the top. */
  transform: translateX(-50%);

  pointer-events: none;
  border: none;
}
