/* Content Protection Styles */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Animation Classes */
.fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

/* Hide download and share buttons in lightGallery */
.lg-toolbar .lg-download,
.lg-toolbar .lg-share {
  display: none !important;
}

/* Video aspect ratio control */
.cs-video-16-9 {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}

/* Footer Brands Section Styles */
.cs-footer-brands-section {
  background-color: #111;
  padding: 15px 0;
  width: 100%;
}

.cs-footer-brands-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

/* Social Icons Styles */
.cs-social-icons-wrapper {
  display: flex;
  gap: 8px;
}

.cs-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #222;
  color: #fff;
  transition: all 0.3s ease;
}

.cs-social-icon:hover {
  transform: scale(1.1);
  background-color: #333;
}

.cs-social-icon-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cs-social-icon-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Copyright Text Styles */
.cs-footer-brands-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.cs-copyright-text {
  text-align: center;
  white-space: nowrap;
}

.cs-copyright-text p {
  margin: 0;
  color: #fff;
  font-size: 13px;
}

.cs-copyright-text a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cs-copyright-text a:hover {
  color: #ccc;
}

/* Footer Logos Grid Styles */
.cs-footer-logos-grid {
  display: flex;
  align-items: center;
  /* gap: 12px; */
  max-width: 450px;
}

.cs-footer-logo-item {
  display: block;
  transition: opacity 0.3s ease;
  width: 65px;
}

.cs-footer-logo-item:hover {
  opacity: 0.8;
}

.cs-footer-logo-item img {
  width: 100%;
  height: auto;
  max-height: 22px;
  object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .cs-footer-brands-container {
    position: relative;
    padding-top: 40px;
  }
  
  .cs-footer-brands-center {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .cs-footer-brands-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding-top: 40px;
  }
  
  .cs-footer-brands-left,
  .cs-footer-brands-right {
    width: 48%;
  }
  
  .cs-social-icons-wrapper {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .cs-footer-brands-container {
    flex-direction: column;
    gap: 20px;
    padding-top: 0;
  }
  
  .cs-footer-brands-left,
  .cs-footer-brands-center,
  .cs-footer-brands-right {
    position: static;
    width: 100%;
    text-align: center;
    transform: none;
  }
  
  .cs-social-icons-wrapper {
    justify-content: center;
  }
  
  .cs-footer-logos-grid {
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Mobile height adjustment for video section */
@media (max-width: 767px) {
  .cs-height_mobile_30 {
    height: 30px !important;
  }
  
  /* Set fixed height for the swiper container */
  .cs-fullscreen_swiper_wrap {
    height: auto !important;
    max-height: none !important;
  }
  
  /* Create a container with 16:9 aspect ratio */
  .cs-fullscreen_swiper_slider {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    overflow: hidden !important;
  }
  
  /* Position the swiper elements absolutely within the container */
  .cs-fullscreen_swiper_slider .swiper-wrapper,
  .cs-fullscreen_swiper_slider .swiper-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Position the hero container */
  .cs-hero.cs-style5 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Ensure the video background takes up the full container */
  .cs-hero.cs-style5 .cs-swiper_parallax_bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Make the video fill the container while maintaining aspect ratio */
  .cs-hero.cs-style5 .cs-swiper_parallax_bg video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  /* Remove extra spacing between sections on mobile */
  .cs-fullscreen_swiper_wrap + div + section {
    margin-top: 20px !important;
  }
}

.cs-fixed_social {
        position: fixed !important;
        right: 15px; /* Moved further to the right */
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 8px 6px;
        border-radius: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      }
      
      .cs-fixed_social .cs-hero_social_title {
        text-align: center;
        margin-bottom: 8px;
        font-size: 12px;
        font-weight: 600;
        color: #38b8ad;
      }
      
      .cs-fixed_social .cs-hero_social_links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
      
      .cs-fixed_social .cs-hero_social_links li {
        margin: 0;
        padding: 0;
        position: relative;
      }
      
      /* Add tooltip effect for social media names */
      .cs-fixed_social .cs-hero_social_links li a:hover:after {
        content: attr(title);
        position: absolute;
        right: 40px;
        background: #38b8ad;
        color: white;
        padding: 3px 8px;
        border-radius: 3px;
        font-size: 11px;
        white-space: nowrap;
      }
      
      .cs-fixed_social .cs-hero_social_links li a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        background-color: black;
        border-radius: 50%;
        transition: all 0.3s ease;
        color: #ffffff;
      }
      
      .cs-fixed_social .cs-hero_social_links li a:hover {
        background-color: #38b8ad;
        color: #fff;
        transform: translateY(-2px);
      }
      
      .cs-fixed_social .cs-hero_social_links li a i {
        font-size: 14px;
      }
      
      /* Remove the lines after icons */
      .cs-fixed_social .cs-hero_social_links li:after {
        display: none !important;
      }
      
      /* Custom style for Threads icon */
      .threads-icon {
        width: 14px;
        height: 14px;
        display: block;
      }
      
      /* Custom style for X icon */
      .x-icon {
        width: 14px;
        height: 14px;
        display: block;
      }
      
      @media screen and (max-width: 991px) {
        .cs-fixed_social {
          right: 10px;
        }
        
        .cs-fixed_social .cs-hero_social_title {
          font-size: 11px;
        }
        
        .cs-fixed_social .cs-hero_social_links li a {
          width: 28px;
          height: 28px;
        }
        
        .cs-fixed_social .cs-hero_social_links li a i {
          font-size: 12px;
        }
      }
      
      @media screen and (max-width: 575px) {
        .cs-fixed_social {
          right: 5px;
          padding: 6px 4px;
        }
        
        .cs-fixed_social .cs-hero_social_title {
          font-size: 10px;
          margin-bottom: 6px;
        }
        
        .cs-fixed_social .cs-hero_social_links {
          gap: 6px;
        }
        
        .cs-fixed_social .cs-hero_social_links li a {
          width: 24px;
          height: 24px;
        }
        
        .cs-fixed_social .cs-hero_social_links li a i {
          font-size: 11px;
        }
      }




      .responsive-large-heading {
        font-size: 125px;
        text-transform: uppercase;
        text-align: center;
        opacity: 0.1;
        padding-top: 20px;
        padding-bottom: 20px;
      }
      
      /* Responsive breakpoints for large headings */
      @media screen and (max-width: 1200px) {
        .responsive-large-heading {
          font-size: 100px;
        }
      }
      
      @media screen and (max-width: 991px) {
        .responsive-large-heading {
          font-size: 80px;
        }
      }
      
      @media screen and (max-width: 767px) {
        .responsive-large-heading {
          font-size: 60px;
        }
      }
      
      @media screen and (max-width: 575px) {
        .responsive-large-heading {
          font-size: 40px;
        }
      }
      
      /* Header Layout Styles */
      .cs-main_header .container-fluid {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
      }
      
      .cs-main_header_left {
        flex: 0 0 auto;
      }
      
      .cs-main_header_right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
      }
      
      .cs-nav {
        margin-right: 20px;
      }
      
      /* Theme Toggle Button Styles */
      .cs-theme_toggle {
        margin-right: 15px;
        display: flex;
        align-items: center;
      }
      
      .cs-theme_toggle_btn {
        background: none;
        border: none;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        background-color: rgba(255, 74, 23, 0.1);
      }
      
      .cs-theme_toggle_btn:hover {
        background-color: rgba(255, 74, 23, 0.2);
        transform: translateY(-2px);
      }
      
      .cs-theme_toggle_icon {
        color: var(--cs-primary-color);
        position: absolute;
        transition: all 0.3s ease;
      }
      
      .cs-sun_icon {
        opacity: 0;
        transform: scale(0.5);
      }
      
      .cs-moon_icon {
        opacity: 1;
        transform: scale(1);
      }
      
      /* When light theme is active */
      [data-theme="light"] .cs-sun_icon {
        opacity: 1;
        transform: scale(1);
      }
      
      [data-theme="light"] .cs-moon_icon {
        opacity: 0;
        transform: scale(0.5);
      }
      
      /* Apply filter to logo in light mode */
      [data-theme="light"] .cs-site_branding img {
        filter: var(--cs-logo-filter);
      }
      /* Video Gallery Styles */
      .cs-video_gallery_section {
        position: relative;
        overflow: hidden;
        padding: 30px 0;
      }
      
      .cs-video_gallery_head {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 30px;
        flex-wrap: wrap;
      }
      
      /* Simplified filter styles for video gallery */
      .cs-video_filter_simple {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
        text-align: center;
      }
      
      .cs-filter_item {
        display: inline-block;
        font-size: 15px;
        font-weight: 500;
        color: #777;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        padding: 0 5px;
      }
      
      .cs-filter_item:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #38b8ad;
        transition: width 0.3s ease;
      }
      
      .cs-filter_item.active {
        color: #38b8ad;
        font-weight: 600;
      }
      
      .cs-filter_item.active:after,
      .cs-filter_item:hover:after {
        width: 100%;
      }
      
      .cs-filter_item:hover {
        color: #38b8ad;
      }
      
      /* Video grid layout */
      .cs-video_grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
      }
      
      .cs-video_item {
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        background-color: #000;
        height: 100%;
      }
      
      .cs-video_item:hover {
        transform: translateY(-3px);
      }
      
      .cs-video_thumb {
        position: relative;
        overflow: hidden;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        background-color: #000;
      }
      
      .cs-video_thumb iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
      }
      
      .cs-video_iframe_placeholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #000;
        cursor: pointer;
      }
      
      .cs-video_iframe_placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      /* Simplified play button */
      .cs-video_iframe_placeholder::after {
        content: '▶';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background-color: rgba(56, 184, 173, 0.8);
        border-radius: 50%;
        color: white;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
      }
      
      .cs-video_iframe_placeholder:hover::after {
        background-color: rgba(56, 184, 173, 1);
        transform: translate(-50%, -50%) scale(1.1);
      }
      
      /* Tab content transitions */
      .cs-tab_content {
        transition: opacity 0.3s ease;
      }
      
      /* Animation for items */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translate3d(0, 30px, 0);
        }
        to {
          opacity: 1;
          transform: translate3d(0, 0, 0);
        }
      }
      
      .fadeInUp {
        animation-name: fadeInUp;
      }
      
      /* Responsive Styles */
      @media screen and (max-width: 1200px) {
        .cs-video_grid {
          grid-template-columns: repeat(3, 1fr);
          gap: 20px;
        }
        
        .cs-play_btn {
          width: 50px;
          height: 50px;
        }
        
        .cs-play_btn span {
          border-top: 8px solid transparent;
          border-bottom: 8px solid transparent;
          border-left: 12px solid white;
        }
      }
      
      @media screen and (max-width: 991px) {
        .cs-video_grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 15px;
        }
        
        .cs-video_gallery_head {
          flex-direction: column;
          align-items: center;
        }
        
        .cs-video_filter_simple {
          margin-top: 15px;
          width: 100%;
          gap: 10px;
        }
        
        .cs-filter_item {
          font-size: 14px;
        }
      }
      
      @media screen and (max-width: 767px) {
        .cs-video_grid {
          gap: 15px;
        }
        
        .cs-play_btn {
          width: 45px;
          height: 45px;
        }
      }
      
      @media screen and (max-width: 575px) {
        .cs-video_grid {
          grid-template-columns: 1fr;
          gap: 15px;
        }
        
        .cs-video_filter_simple {
          gap: 8px;
        }
        
        .cs-filter_item {
          font-size: 13px;
          padding: 0 3px;
        }
        }
        
        .cs-video_tab {
          padding: 8px 15px;
          font-size: 14px;
        }
      
      
      /* Clientele Logo Stripes Styles */
      .cs-clientele_section {
        position: relative;
        overflow: hidden;
        padding: 0;
      }
      
      .cs-clientele_logo_wrap {
        position: relative;
        width: 100%;
        overflow: hidden;
      }
      
      .cs-clientele_stripe {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding: 15px 0; /* Reduced vertical spacing between stripes */
      }
      
      .cs-clientele_stripe_in {
        display: flex;
        align-items: center;
        animation-duration: 25s; /* Increased speed by reducing duration */
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        width: fit-content;
      }
      
      .cs-move_right .cs-clientele_stripe_in {
        animation-name: moveRight;
      }
      
      .cs-move_left .cs-clientele_stripe_in {
        animation-name: moveLeft;
      }
      
      @keyframes moveRight {
        0% {
          transform: translateX(0);
        }
        100% {
          transform: translateX(-50%);
        }
      }
      
      @keyframes moveLeft {
        0% {
          transform: translateX(-50%);
        }
        100% {
          transform: translateX(0);
        }
      }
      
      .cs-clientele_logo {
        flex-shrink: 0;
        padding: 0 15px; /* Reduced space between logos */
      }
      
      .cs-clientele_logo img {
        max-height: 140px; /* Increased image size by 20% (from 80px to 96px) */
        width: auto;
      }
      
      /* Responsive Styles for Clientele Section */
      @media screen and (max-width: 991px) {
        .cs-clientele_logo {
          padding: 0 12px;
        }
        
        .cs-clientele_logo img {
          max-height: 84px; /* Increased by 20% (from 70px to 84px) */
        }
      }
      
      @media screen and (max-width: 575px) {
        .cs-clientele_logo {
          padding: 0 10px;
        }
        
        .cs-clientele_logo img {
          max-height: 72px; /* Increased by 20% (from 60px to 72px) */
        }
        
        .cs-clientele_stripe_in {
          animation-duration: 20s; /* Increased speed for mobile */
        }
      }


      .entity-box {
            position: relative;
            width: 100%;
            padding-bottom: 100%; /* This makes it square */
            margin-bottom: 30px;
            overflow: hidden;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
          }
          
          .entity-box-inner {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: all 0.5s ease;
          }
          
          .entity-content {
            position: absolute;
            bottom: -80px;
            left: 0;
            width: 100%;
            padding: 20px;
            background: #000;
            color: white;
            transition: all 0.4s ease;
            opacity: 0;
          }
          
          .entity-box:hover .entity-content {
            bottom: 0;
            opacity: 1;
          }
          
          .entity-box:hover .entity-box-inner {
            transform: scale(1.1);
          }
          
          .entity-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 5px;
          }
          
          .entity-subtitle {
            font-size: 14px;
            opacity: 0.8;
          }
          
          @media (max-width: 767px) {
            .entity-box {
              margin-bottom: 15px;
            }
          }


          /* Creating Wow Experience Section Styles */
          .cs-wow_experience_section {
            position: relative;
            padding: 80px 0;
            overflow: hidden;
          }
          
          .cs-wow_experience_wrapper {
            position: relative;
          }
          
          .cs-wow_experience_image_wrapper {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
          }
          
          .cs-wow_experience_image {
            position: relative;
            max-width: 100%;
            transform-origin: center center;
            transition: transform 0.1s ease;
          }
          
          .cs-wow_experience_image img {
            max-width: 100%;
            height: auto;
          }
          
          .cs-section_subtitle {
            font-size: 42px;
            font-weight: 700;
            margin-top: 5px;
            margin-bottom: 0;
          }
          
          .cs-wow_stat_item {
            margin-bottom: 40px;
            position: relative;
          }
          
          .cs-wow_stat_number {
            font-size: 48px;
            font-weight: 700;
            color: #38b8ad;
            margin-bottom: 10px;
            line-height: 1;
          }
          
          .cs-wow_stat_text {
            font-size: 18px;
            margin: 0;
            color: #666;
          }
          
          /* Responsive styles */
          @media screen and (max-width: 991px) {
            .cs-section_subtitle {
              font-size: 36px;
            }
            
            .cs-wow_stat_number {
              font-size: 40px;
            }
            
            .cs-wow_stat_text {
              font-size: 16px;
            }
          }
          
          @media screen and (max-width: 767px) {
            .cs-section_subtitle {
              font-size: 32px;
            }
            
            .cs-wow_stat_number {
              font-size: 36px;
            }
          }


           .video-slider {
              position: relative;
              overflow: hidden;
              padding: 0;
              margin: 0 -20px; /* Extend beyond container for edge-to-edge effect */
            }
            
            .video-slider-container {
              display: flex;
              overflow-x: hidden;
              scroll-behavior: smooth;
              -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
              scrollbar-width: none;  /* Hide scrollbar for Firefox */
              gap: 5px; /* Reduced from 15px to 5px */
              padding: 30px 20px;
              transition: all 0.5s cubic-bezier(0.1, 0.7, 0.1, 1); /* Smoother easing */
              will-change: transform, scroll-position;
              transform: translateZ(0); /* Hardware acceleration */
              -webkit-backface-visibility: hidden; /* Prevent flickering */
              -webkit-perspective: 1000;
              backface-visibility: hidden;
              perspective: 1000;
            }
            
            .video-slider-container::-webkit-scrollbar {
              display: none; /* Hide scrollbar for Chrome, Safari and Opera */
            }
            
            /* Subtle edge indicators instead of dark masks */
            .video-slider::before,
            .video-slider::after {
              content: '';
              position: absolute;
              top: 0;
              width: 40px;
              height: 100%;
              z-index: 5;
              pointer-events: none;
              opacity: 0.3;
              transition: opacity 0.3s ease;
            }
            
            .video-slider::before {
              left: 0;
              background: linear-gradient(to right, rgba(255,74,23,0.2), transparent);
            }
            
            .video-slider::after {
              right: 0;
              background: linear-gradient(to left, rgba(255,74,23,0.2), transparent);
            }
            
            .video-slider:hover::before,
            .video-slider:hover::after {
              opacity: 0.5;
            }
            
            /* Enhanced slider arrow buttons */
            .cs-slider_arrows.cs-style1 .cs-left_arrow,
            .cs-slider_arrows.cs-style1 .cs-right_arrow {
              position: relative;
              width: 50px;
              height: 50px;
              border-radius: 50%;
              background-color: rgba(255, 74, 23, 0.1);
              color: #38b8ad;
              transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
              overflow: hidden;
            }
            
            .cs-slider_arrows.cs-style1 .cs-left_arrow:before,
            .cs-slider_arrows.cs-style1 .cs-right_arrow:before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background-color: #38b8ad;
              transform: scale(0);
              border-radius: 50%;
              transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
              z-index: -1;
            }
            
            .cs-slider_arrows.cs-style1 .cs-left_arrow:hover,
            .cs-slider_arrows.cs-style1 .cs-right_arrow:hover {
              color: white;
              transform: translateY(-3px);
              box-shadow: 0 10px 20px rgba(255, 74, 23, 0.3);
            }
            
            .cs-slider_arrows.cs-style1 .cs-left_arrow:hover:before,
            .cs-slider_arrows.cs-style1 .cs-right_arrow:hover:before {
              transform: scale(1);
            }
            
            .cs-slider_arrows.cs-style1 svg {
              position: relative;
              z-index: 1;
              transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            }
            
            /* Enhanced video tiles */
            .video-tile {
              position: relative;
              flex: 0 0 20%; /* Increased from 16.666% to 20% for larger videos */
              min-width: 200px; /* Increased from 180px to 200px */
              overflow: hidden;
              border-radius: 12px;
              box-shadow: 0 5px 15px rgba(0,0,0,0.1);
              transition: transform 0.4s ease, box-shadow 0.4s ease;
              margin: 0 3px;
              transform-origin: center center;
              cursor: pointer;
              transform: none; /* Reset any transform to prevent layout shifts */
              z-index: 1; /* Base z-index */
            }
            
            .video-tile:hover {
              transform: translateY(-5px); /* Only use translateY for hover effect */
              box-shadow: 0 15px 25px rgba(0,0,0,0.2);
              z-index: 10;
            }
            
            .video-wrapper {
              position: relative;
              padding-bottom: 177.78%; /* 9:16 aspect ratio */
              height: 0;
              overflow: hidden;
              border-radius: 12px;
            }
            
            .video-thumbnail {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              object-fit: cover;
              transition: opacity 0.4s ease;
              z-index: 2;
              will-change: opacity;
            }
            
            /* Don't use hover state in CSS to control thumbnail visibility - handled by JS */
            
            .video-player {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              z-index: 1;
              object-fit: cover;
              background-color: #000; /* Add black background to prevent transparency issues */
              opacity: 1; /* Always visible, but behind thumbnail */
              transform: none; /* No transform to prevent layout shifts */
            }
            
            /* Add a subtle shine effect on hover */
            .video-wrapper::before {
              content: '';
              position: absolute;
              top: -50%;
              left: -50%;
              width: 200%;
              height: 200%;
              background: linear-gradient(
                45deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.05) 50%,
                rgba(255, 255, 255, 0) 100%
              );
              transform: rotate(45deg);
              transition: all 0.6s ease-out;
              opacity: 0;
              z-index: 3;
              pointer-events: none;
            }
            
            .video-tile:hover .video-wrapper::before {
              animation: shine 1.5s ease-out;
              opacity: 1;
            }
            
            @keyframes shine {
              0% {
                top: -150%;
                left: -150%;
              }
              100% {
                top: 100%;
                left: 100%;
              }
            }
            
            /* Add a subtle overlay effect on hover */
            .video-wrapper::after {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
              opacity: 0;
              transition: opacity 0.5s ease;
              z-index: 1;
              pointer-events: none;
            }
            
            .video-tile:hover .video-wrapper::after {
              opacity: 1;
            }
            
            .video-info {
              position: absolute;
              bottom: 0;
              left: 0;
              width: 100%;
              padding: 20px;
              background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
              color: white;
              transform: translateY(100%);
              transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
              opacity: 0;
            }
            
            .video-tile:hover .video-info {
              transform: translateY(0);
              opacity: 1;
            }
            
            .video-title {
              font-size: 16px;
              font-weight: 600;
              margin-bottom: 5px;
              transform: translateY(10px);
              opacity: 0;
              transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
              transition-delay: 0.1s;
            }
            
            .video-category {
              font-size: 12px;
              opacity: 0;
              transform: translateY(10px);
              transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
              transition-delay: 0.2s;
            }
            
            .video-tile:hover .video-title,
            .video-tile:hover .video-category {
              opacity: 1;
              transform: translateY(0);
            }
            
            /* Enhanced responsive styles */
            @media (max-width: 1200px) {
              .video-tile {
                flex: 0 0 25%; /* Increased from 20% to 25% */
                min-width: 220px; /* Increased from 200px */
              }
            }
            
            @media (max-width: 991px) {
              .video-tile {
                flex: 0 0 30%; /* Increased from 25% to 30% */
                min-width: 240px; /* Increased from 220px */
              }
              
              /* Ensure videos don't get too small on tablets */
              .cs-slider_container[data-md-slides="2"] .cs-slide {
                width: 50% !important;
              }
            }
            
            @media (max-width: 767px) {
              .video-tile {
                flex: 0 0 40%; /* Increased from 33.333% to 40% */
                min-width: 260px; /* Increased from 240px */
              }
            }
            
            @media (max-width: 575px) {
              .video-tile {
                flex: 0 0 80%; /* Increased from 50% to 80% for better visibility */
                min-width: 280px; /* Increased from 260px */
              }
              
              /* Ensure videos are properly sized on mobile */
              .cs-slider_container[data-xs-slides="1"] .cs-slide {
                width: 100% !important;
              }
            }