
/* Certification Carousel */
.client-wrapper-one {
  display: block; /* Override style.css flex */
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.client-carousel-track {
  display: flex;
  width: max-content;
  gap: 50px;
  align-items: center;
}

.cert-item {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  /* Ensure no forced resizing beyond intrinsic */
}

/* Shine Effect */
.cert-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 4s infinite linear; /* Continuous periodic shine */
  pointer-events: none;
  z-index: 1;
}

@keyframes shine {
  0% { left: -100%; }
  40% { left: 200%; }
  100% { left: 200%; }
}

.cert-item:hover::after {
  animation: shine 2s infinite linear; /* Faster shine on hover */
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
}

/* Brand Carousel Overrides */
.client-three-wrapper.swiper {
  display: block !important; /* Override flex from style.css */
  width: 100%;
  overflow: hidden;
}

.client-three-wrapper .single {
  margin: 0 !important; /* Reset any margins, let Swiper handle spacing */
  width: auto; /* Allow Swiper to control width if needed, though inline style usually overrides */
}

/* Linear transition for continuous loop */
.mySwiper-brands .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* News & Updates Carousel */
.news-card-split {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  align-items: center;
  padding: 30px;
  gap: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.news-card-split .thumbnail {
  width: 25%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
}

.news-card-split .thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card-split:hover .thumbnail img {
  transform: scale(1.05);
}

.news-card-split .content {
  width: 75%;
}

.news-card-split .content .title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #1c2539;
  font-weight: 700;
  line-height: 1.4;
}

.news-card-split .content .desc {
  font-size: 16px;
  color: #5d666f;
  margin-bottom: 20px;
  line-height: 1.6;
}

.news-card-split .content .read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #1c2539;
  text-decoration: none;
  transition: color 0.3s ease;
  background: #f6f6f6;
  padding: 10px 20px;
  border-radius: 5px;
}

.news-card-split .content .read-more-btn i {
  transition: transform 0.3s ease;
}

.news-card-split .content .read-more-btn:hover {
  color: #E31E24; /* Primary color assumption */
}

.news-card-split .content .read-more-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .news-card-split {
    flex-direction: column;
    padding: 20px;
  }
  .news-card-split .thumbnail, .news-card-split .content {
    width: 100%;
  }
  .news-card-split .thumbnail {
    margin-bottom: 20px;
  }
}

/* Banner Video Slider Styles */
.banner-slide {
    position: relative;
    overflow: hidden;
}

.video-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Maintain 16:9 aspect ratio and cover the slide */
@media (min-aspect-ratio: 16/9) {
    .video-player {
        height: 56.25vw;
    }
}
@media (max-aspect-ratio: 16/9) {
    .video-player {
        width: 177.78vh;
    }
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.unmute-btn {
    position: absolute;
    bottom: 80px; /* Move it higher to avoid overlapping with pagination bar */
    left: 40px;
    z-index: 999 !important; /* Ensure it's above everything */
    background: #E31E24 !important; /* Use a solid color for better visibility */
    color: #fff !important;
    border: 2px solid #fff !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: none; /* Initially hidden, shown by JS */
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: auto !important;
    white-space: nowrap;
    max-width: 110px;
}

@media (max-width: 767px) {
    .unmute-btn {
        bottom: 60px;
        left: 20px;
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
}

.unmute-btn:hover {
    background: #1c2539 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.5) !important;
}

.unmute-btn i {
    font-size: 18px !important;
}

/* Hide Swiper navigation/pagination if it overlaps or for cleaner look */
.banner-slider .swiper-pagination {
    bottom: 20px !important;
}

.banner-inner-content-12 {
    position: relative;
    z-index: 5;
}
