html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  background: #000;
  font-family: 'Segoe UI', sans-serif;
}

.slideshow-container,
.swiper-container,
.swiper-slide {
  width: 100vw;
  height: 100vh;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Special mode: full-screen image slides */
.swiper-slide.slide--image {
  display: block; /* override flex centering for empty slides */
}

.slide-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 90%;
  height: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2vw;
  border-radius: 1rem;
}

.hero-img {
  max-height: 40vh;
  max-width: 70vw;
  object-fit: contain;
  margin-bottom: 2vh;
  
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.event-details h1 {
  font-size: 3.5vw;
  margin: 1vh 0 1vh;
}

.event-details p {
  font-size: 2vw;
  margin-bottom: 1vh;
}

/* Ensure Swiper arrows are visible and styled clearly */
.swiper-button-prev,
.swiper-button-next {
  color: white !important;
  font-size: 3rem;
  width: 5vw;
  height: 5vw;
  top: 50%;
  z-index: 10;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 1vw;
  transform: translateY(-50%);
  opacity:10%;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 2.5vw;
}

.swiper-button-prev {
  left: 2vw;
}

.swiper-button-next {
  right: 2vw;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
  opacity:100%;
}


.qrcode-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2vh;
}

.learn-more-label {
  
  font-size: 1.0vw;
  color: #ffffff;
  margin-bottom: 0.5vh;
}


.event-details .qrcode {
  position: fixed;
    bottom: 2vh;
  left: 2vw;
  margin-top: 1vh;
  width: 10vw;
  height: 10vw;
}

.qrcode {
  width: 10vw;
  height: 10vw;
  margin-bottom: 1vh;
}

.dept-logo {
  position: fixed;
  bottom: 2vh;
  right: 2vw;
  height: 150px;
  width: auto;
  max-width: 25vw;
  filter: brightness(1.1);
  opacity: 0.9;
  z-index: 20;
  pointer-events: none; /* Ensures clicks pass through to slides/buttons */
}


/* ===== Event When overlay (1080p landscape tuned) ===== */
.event-when{
  position:absolute;
  /* top: 3.5vh; */
  right: 3.8vw;
  z-index: 7;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 1.6vh;
}

/* Black date box */
.datebox{
  background:#757171;
  color:#fff;
  border:4px solid #000; /* requested: black border */
  border-radius:10px;
  padding: 1.2vh 1.6vw;
  min-width: 20vw;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  text-align:left;
  
}
.datebox-day{
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 3.2vh;
  line-height: 1.2;
}
.datebox-time{
  font-weight: 900;
  font-size: 6.2vh; /* big clock */
  line-height: 1;
  margin: .4vh 0 .2vh;
}
.datebox-date{
  font-weight: 700;
  font-size: 4.1vh;
  opacity:.95;
}

/* Happening Today/Tomorrow banner */
.happening-banner{
  background:#757171;
  color:#fff200;
  border:4px solid #000;
  border-radius:10px;
  padding: 1.2vh 1.4vw;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.happening-banner .happening-text{
  font-weight:800;
  font-size: 2.4vh;
  letter-spacing:.02em;
}

/* Countdown with stopwatch + ribbon */
.countdown{
  display:flex;
  align-items:center;
  gap: 0.2vw;
}
.stopwatch{
  width: 15vh;
  height: 15vh;
}
.stopwatch-svg{
  width:100%;
  height:100%;
}
.stopwatch-svg .count-big{
  font-size: 6.2vh;
  font-weight: 900;
  fill:#4a4a4a;
}

/* Ribbon to the right */
.ribbon{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.6vh;
}
.ribbon-line{
  /*background:#e6e6e6; */
  color:#e6e6e6;
  font-weight:900;
  font-size: 3.8vh;
  padding:.1vh 0.2vw;
}
.ribbon-line.top{ margin-left: .8vw; }
.ribbon-line.bottom{ margin-left: 2vw; }

/* Small polish for 1080p */
@media (min-width: 1600px){
  .datebox-time{ font-size: 6.8vh; }
}


    .top-header {
      display: flex;
      justify-content: left;
      align-items: center;
      gap: 1.5vw;
    }

    .top-header img {
      height: 80px;
      width: auto;
    }

    .top-header h1 {
      font-size: 2.0vw;
      font-weight: bold;
      color: white;
    }

    .clock-bn-top {
      font-family: 'Kalpurush', serif;
      font-size: 6.0vw;
      font-weight: bold;
      
    }

/* --- Progress-bar base --- */
.swiper-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
  z-index: 10;
}

/* --- Keyframe animation --- */
@keyframes fillBar {
  0%   { transform: scaleX(0); opacity: 0.9; }
  10%  { opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}

/* --- Animated inner bar --- */
.swiper-progress-bar .progress-inner {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg,#ff6f00,#ffd740);
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(255,255,255,0.4);
  will-change: transform;
}

/* class that triggers the animation */
.animate-progress {
  animation: fillBar var(--bar-duration,8s) linear forwards;
}


