/* ========================================
   HERO VIDEO SECTION - COMPLETE RESPONSIVE VERSION
   ======================================== */
body {
  padding: 0;
  margin: 0;
  overflow-x: hidden !important;
}

.hero-video-section {
  position: relative;
  isolation: isolate; 
  height: calc(100vh - 60px); /* 60px for top banner */
  min-height: calc(100vh - 60px);
  width: 100%;
  overflow: hidden;
  background: #000;
  top: 0;
  margin-top: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 40px 20px 100px 20px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Ensure proper container sizing */
.hero-video-section .container-fluid,
.hero-video-section .container {
  max-width: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.video-background video,
.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

/* Video Controls Container */
.hero-video-controls {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Progress Bar Container */
.video-progress-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 10px;
}

/* Progress Bar Wrapper */
.video-progress-bar-wrapper {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: height 0.2s ease;
}

.video-progress-bar-wrapper:hover {
  height: 8px;
}

/* Progress Bar Fill */
.video-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #007bff 0%, rgba(0, 123, 255, 0.9) 100%);
  border-radius: 3px;
  position: relative;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* Progress Bar Handle */
.video-progress-handle {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: grab;
}

.video-progress-bar-wrapper:hover .video-progress-handle,
.video-progress-handle.dragging {
  opacity: 1;
}

.video-progress-handle.dragging {
  cursor: grabbing;
}

/* Time Display */
.video-time-display {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  min-width: 100px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  user-select: none;
}

/* Control Buttons Container */
.video-control-buttons {
  display: flex;
  gap: 15px;
}

/* Old video-controls class - kept for backward compatibility */
.video-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 15px;
  z-index: 4;
  max-width: calc(100vw - 200px);
}

.hero-video-controls,
.video-controls {
  position: absolute;
  z-index: 10; /* High enough to be clickable */
  pointer-events: auto !important; /* Ensure clickable */
}


.btn-video-control {
  /* Your existing styles remain unchanged */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  /* backdrop-filter: blur(15px); */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  min-width: 45px;
  min-height: 45px;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto !important; /* Force clickable */
  position: relative; /* Ensure proper stacking */
  z-index: 10; /* Above other elements */
}

.btn-video-control:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.btn-video-control i {
  font-size: 18px;
}

/* ========================================
   CORNER LOGO - ZERO GAP (TOUCHES CORNER)
   ======================================== */
.page-reveal {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1a, #1c1f2e);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  color: white;
  text-align: center;
  font-family: "Poppins", sans-serif;
  animation: fadeInUp 0.8s ease-out forwards;
}

.page-reveal.active {
  display: flex;
}

.page-reveal-heading {
  font-size: 2rem;
  margin-bottom: 20px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hide main content when page reveal is active */
body.reveal-active #mainContent {
  display: none !important;
}

.corner-logo {
  width: 120px;
  height: auto;
  max-width: 120px;
  display: block;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  z-index: 999;
  padding: 0 !important;
  margin: 0 !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  overflow: hidden;
}

.corner-logo:hover {
  cursor: pointer;
  transform: scale(1.05);
}

/* SVG Container for animations */
.logo-container {
  position: relative;
  width: 120px;
  height: auto;
}

.corner-logo .legacy-logo {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-family: "Poppins", sans-serif;
  bottom: auto !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Main SVG Logo */
.logo-svg {
  width: 100%;
  height: auto;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
}

/* Enhanced Page curl effect */
.page-curl {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  clip-path: polygon(70% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 0%);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 0 15px rgba(72, 128, 158, 0.4);
}

/* ENHANCED WIND ANIMATION KEYFRAMES */
@keyframes realisticWindBlow {
  0% {
    transform: rotate(0deg) scale(1) translateY(0px);
    filter: drop-shadow(0 2px 8px rgba(72, 128, 158, 0.3));
  }
  15% {
    transform: rotate(1.5deg) scale(1.008) translateY(-1px);
    filter: drop-shadow(2px 4px 12px rgba(72, 128, 158, 0.4));
  }
  30% {
    transform: rotate(-0.8deg) scale(1.012) translateY(-3px);
    filter: drop-shadow(-1px 6px 15px rgba(72, 128, 158, 0.5));
  }
  45% {
    transform: rotate(2deg) scale(1.006) translateY(-2px);
    filter: drop-shadow(3px 3px 10px rgba(72, 128, 158, 0.4));
  }
  60% {
    transform: rotate(-1.2deg) scale(1.015) translateY(-4px);
    filter: drop-shadow(-2px 7px 18px rgba(72, 128, 158, 0.6));
  }
  75% {
    transform: rotate(0.5deg) scale(1.004) translateY(-1px);
    filter: drop-shadow(1px 2px 8px rgba(72, 128, 158, 0.3));
  }
  90% {
    transform: rotate(-0.3deg) scale(1.002) translateY(-2px);
    filter: drop-shadow(-1px 4px 10px rgba(72, 128, 158, 0.4));
  }
  100% {
    transform: rotate(0deg) scale(1) translateY(0px);
    filter: drop-shadow(0 2px 8px rgba(72, 128, 158, 0.3));
  }
}

@keyframes paperFlutter {
  0% {
    transform: rotateX(-2deg) rotateY(0deg) rotateZ(0deg);
  }
  20% {
    transform: rotateX(-5deg) rotateY(1deg) rotateZ(0.5deg);
  }
  40% {
    transform: rotateX(-3deg) rotateY(-1.5deg) rotateZ(-0.8deg);
  }
  60% {
    transform: rotateX(-7deg) rotateY(2deg) rotateZ(1.2deg);
  }
  80% {
    transform: rotateX(-4deg) rotateY(-0.5deg) rotateZ(-0.3deg);
  }
  100% {
    transform: rotateX(-2deg) rotateY(0deg) rotateZ(0deg);
  }
}

@keyframes advancedPageFlutter {
  0%,
  100% {
    clip-path: polygon(70% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 0%);
    opacity: 0.1;
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(72, 128, 158, 0.3);
  }
  25% {
    clip-path: polygon(60% 0%, 90% 20%, 95% 95%, 0% 100%, 0% 0%);
    opacity: 0.25;
    transform: scale(0.98);
    box-shadow: 2px 4px 20px rgba(72, 128, 158, 0.5);
  }
  50% {
    clip-path: polygon(65% 0%, 95% 25%, 98% 98%, 0% 100%, 0% 0%);
    opacity: 0.3;
    transform: scale(1.02);
    box-shadow: -1px 6px 25px rgba(72, 128, 158, 0.6);
  }
  75% {
    clip-path: polygon(55% 0%, 85% 15%, 92% 92%, 0% 100%, 0% 0%);
    opacity: 0.2;
    transform: scale(0.97);
    box-shadow: 3px 2px 18px rgba(72, 128, 158, 0.4);
  }
}

/* Multiple wind strip effects */
.wind-strips {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.wind-strip {
  position: absolute;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  width: 2px;
  height: 120%;
  top: -10%;
  animation: windStrip 2.5s ease-in-out infinite;
  opacity: 0;
}

.wind-strip:nth-child(1) {
  right: 20%;
  animation-delay: 0s;
}

.wind-strip:nth-child(2) {
  right: 40%;
  animation-delay: 0.8s;
}

.wind-strip:nth-child(3) {
  right: 60%;
  animation-delay: 1.6s;
}

@keyframes windStrip {
  0%,
  100% {
    opacity: 0;
    transform: translateY(100px) rotate(15deg);
  }
  30% {
    opacity: 0.6;
    transform: translateY(-20px) rotate(12deg);
  }
  70% {
    opacity: 0.3;
    transform: translateY(-80px) rotate(18deg);
  }
}

/* Enhanced wind animation classes */
.wind-animation .logo-svg {
  overflow-x: hidden !important;
  animation: realisticWindBlow 5s ease-in-out infinite,
    paperFlutter 3.5s ease-in-out infinite;
  transform-style: preserve-3d;
}

.wind-animation .page-curl {
  animation: advancedPageFlutter 5s ease-in-out infinite;
}

/* Gust effect for stronger wind */
.wind-gust .logo-svg {
  animation: realisticWindBlow 2.5s ease-in-out infinite,
    paperFlutter 1.8s ease-in-out infinite;
}

.wind-gust .page-curl {
  animation: advancedPageFlutter 2.5s ease-in-out infinite;
}

/* Proximity hover state */
.proximity-hover .logo-svg {
  transform: rotate(-2deg) scale(1.02);
  filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.3));
}

.proximity-hover .page-curl {
  opacity: 0.4;
  transform: scale(1);
  clip-path: polygon(50% 0%, 80% 20%, 100% 100%, 0% 100%, 0% 0%);
}

/* Click/peel animation */
.peeling .logo-svg {
  transform: rotate(-15deg) scale(1.1) translateX(-20px);
  filter: drop-shadow(0 8px 25px rgba(255, 255, 255, 0.5));
}

.peeling .page-curl {
  opacity: 0.8;
  transform: scale(1.2);
  clip-path: polygon(20% 0%, 50% 10%, 80% 80%, 0% 100%, 0% 0%);
}

/* Hidden content behind the page */
.hidden-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 115px;
  background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
  border-radius: 10px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Arial", sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 998;
}

.peeling .hidden-content {
  opacity: 1;
  transform: scale(1);
}

/* Sound wave effect */
.sound-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.sound-wave {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: soundWave 0.6s ease-out forwards;
}

@keyframes soundWave {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}

/* Carousel Dots - HORIZONTAL positioning */
.carousel_main {
  position: relative;
  padding-bottom: 60px; /* Space for dots */
}

.carousel-dotss {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 12px;
  z-index: 999;
  height: 20px;
  top: 95%;
  right: 20%;
}

.carousel-dotss .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgb(77 76 76 / 60%) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-dotss .carousel-dot:hover {
  background-color: rgb(77 76 76 / 60%) !important;
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.carousel-dotss .carousel-dot.active {
  background-color: #1b61be !important;
  box-shadow: 0 3px 8px rgba(27, 97, 190, 0.4);
}

.carousel-dotss .carousel-dot.active:hover {
  background-color: #164a94 !important;
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  bottom: 40px;
  right: 2%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgb(255 255 255 / 99%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.carousel-dot.active {
  background-color: #1B61BE;
  box-shadow: 0 3px 8px rgba(27, 97, 190, 0.4);
}

.carousel-dot.active:hover {
  background-color: #164a94;
  transform: scale(1.1);
}

/* Loading Animation */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 3;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

#book {
  width: 100%;
  height: calc(100vh - 80px); 
  max-height: 100vh;
  position: relative;
}

/* ========================================
   COMPLETE RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero-video-section {
    height: calc(100vh - 80px);
  }

  .hero-content {
    padding: 60px 40px 120px 40px;
  }

  .video-controls {
    bottom: 40px;
    left: 40px;
    gap: 20px;
  }

  .btn-video-control {
    width: 55px;
    height: 55px;
  }

  .btn-video-control i {
    font-size: 20px;
  }

  .carousel-dots {
    bottom: 50px;
    gap: 15px;
  }

  .carousel-dot {
    width: 16px;
    height: 16px;
  }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .hero-video-section {
    height: calc(100vh - 70px);
  }

  .hero-content {
    padding: 50px 30px 110px 30px;
  }

  .video-controls {
    bottom: 35px;
    left: 35px;
    gap: 18px;
  }

  .btn-video-control {
    width: 52px;
    height: 52px;
  }

  .btn-video-control i {
    font-size: 19px;
  }

  .carousel-dots {
    bottom: 45px;
    gap: 14px;
  }

  .carousel-dot {
    width: 14px;
    height: 14px;
  }
}

/* Laptop/Tablet Large (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .hero-video-section {
    height: calc(100vh - 65px);
  }

  .hero-content {
    padding: 40px 25px 100px 25px;
  }

  .video-controls {
    bottom: 30px;
    left: 30px;
    gap: 15px;
  }

  .btn-video-control {
    width: 48px;
    height: 48px;
  }

  .btn-video-control i {
    font-size: 17px;
  }

  .carousel-dots {
    bottom: 40px;
    gap: 12px;
  }

  .carousel-dot {
    width: 13px;
    height: 13px;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .hero-video-section {
    height: calc(100vh - 60px);
  }

  .hero-content {
    padding: 35px 20px 90px 20px;
  }

  .video-controls {
    bottom: 25px;
    left: 25px;
    gap: 12px;
  }

  .btn-video-control {
    width: 45px;
    height: 45px;
  }

  .btn-video-control i {
    font-size: 16px;
  }

  .carousel-dots {
    bottom: 35px;
    gap: 10px;
  }

  .carousel-dot {
    width: 12px;
    height: 12px;
  }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  .hero-video-controls {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  
  .video-time-display {
    font-size: 12px;
    min-width: 80px;
  }
  
  .btn-video-control {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .btn-video-control i {
    font-size: 16px;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .hero-video-section {
    height: calc(100vh - 55px);
  }

  .hero-content {
    padding: 30px 15px 80px 15px;
  }

  .video-controls {
    bottom: 20px;
    left: 20px;
    gap: 10px;
  }

  .btn-video-control {
    width: 42px;
    height: 42px;
  }

  .btn-video-control i {
    font-size: 15px;
  }

  .carousel-dots {
    bottom: 80px; /* Above video controls */
    gap: 8px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

/* Mobile Medium (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
  .hero-video-section {
    height: calc(100vh - 50px);
  }

  .hero-content {
    padding: 25px 12px 75px 12px;
  }

  .video-controls {
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    max-width: 200px;
    gap: 8px;
  }

  .btn-video-control {
    width: 40px;
    height: 40px;
  }

  .btn-video-control i {
    font-size: 14px;
  }

  .carousel-dots {
    bottom: 70px;
    gap: 6px;
  }

  .carousel-dot {
    width: 9px;
    height: 9px;
  }
}

/* Mobile Small (375px - 479px) */
@media (max-width: 479px) and (min-width: 375px) {
  .hero-video-section {
    height: calc(100vh - 45px);
  }

  .hero-content {
    padding: 20px 10px 70px 10px;
  }

  .video-controls {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    max-width: 180px;
    gap: 6px;
  }

  .btn-video-control {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .btn-video-control i {
    font-size: 13px;
  }

  .carousel-dots {
    bottom: 60px;
    gap: 5px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* Mobile Extra Small (320px - 374px) */
@media (max-width: 374px) {
  .hero-video-section {
    height: calc(100vh - 40px);
  }

  .hero-content {
    padding: 15px 8px 65px 8px;
  }

  .video-controls {
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    max-width: 150px;
    gap: 5px;
  }

  .btn-video-control {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
  }

  .btn-video-control i {
    font-size: 12px;
  }

  .carousel-dots {
    bottom: 55px;
    gap: 4px;
  }

  .carousel-dot {
    width: 7px;
    height: 7px;
  }

  .corner-logo {
    bottom: 0 !important;
    right: 0 !important;
    max-width: 60px;
  }

  .corner-logo svg {
    max-width: 40px;
  }

  /* Reduce animation intensity on mobile */
  .wind-animation .logo-svg {
    animation: realisticWindBlow 6s ease-in-out infinite,
      paperFlutter 4s ease-in-out infinite;
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-video-section {
    height: calc(100vh - 30px);
  }

  .hero-content {
    padding: 15px 20px 50px 20px;
  }

  .video-controls {
    bottom: 15px;
    left: 15px;
  }

  .carousel-dots {
    bottom: 25px;
  }
}

/* Fix for browsers that don't support calc */
@supports not (height: calc(100vh - 60px)) {
  .hero-video-section {
    height: 85vh;
  }
}

/* Safe area support for iOS */
@supports (padding: max(0px)) {
  .hero-content {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .video-controls {
    left: max(20px, env(safe-area-inset-left));
    bottom: max(40px, env(safe-area-inset-bottom));
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .btn-video-control:hover,
  .carousel-dot:hover {
    transform: none;
  }

  .btn-video-control,
  .carousel-dot {
    transition: background-color 0.3s ease;
  }
}

/* Ensure video controls don't overlap with logo */
.video-controls {
  max-width: calc(100vw - 160px); /* Leave space for corner logo */
}

/* Adjust for mobile when controls are centered */
@media (max-width: 575px) {
  .video-controls {
    max-width: 200px; /* Reset for centered controls */
  }
}