/*-------------------------------------------Background Image---------------------------------------------*/
html, body {
  background-color: #0c4e9c !important;
  margin: 0;
  padding: 0;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.position-relative {
  display: flex;
  justify-content: center;
  align-items: center;
}
#bg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/*-------------------------------------------Title Animation---------------------------------------------*/
/* Comment if using Slide keyframe */
/* .add-animation-zoom {
    animation: zoomBounce 0.3s ease;
    animation: zoomOut 0.3s ease;
} */

/* Comment all if using Zoomout keyframe */
.add-animation {
    /* animation: frmslideLeft 0.3s ease; */
    animation: frmslideRight 0.8s ease;
}

/* Comment all if using Zoomout keyframe */
.exit-animation {
    /* animation: toslideRight 0.3s ease; */
    animation: toslideLeft 0.8s ease;
}

/*-------------------------------------------Redirect Button---------------------------------------------*/
.redirect-btn {
    top: 37%;
    right: 22%;
}

.redirect-btn img {
    width:40%;
    animation: pulse 1s  infinite linear;
}


/*-------------------------------------------Keyframe Animation---------------------------------------------*/
@keyframes pulse {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(0.9);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    65% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    55% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    65% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    85% {
        transform: scale(1.2);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes frmslideLeft {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(50%);
        opacity: 0;
    }
}

@keyframes frmslideRight {
    0% {
        transform: translateX(10%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-10%);
        opacity: 0;
    }
}
/* --- Vertical video section (9:16) --- */
#video-section {
  display: flex;
  justify-content: center;

}

.video-frame {
  /* keeps a nice, phone-like vertical box */
  width: min(90vw, 420px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-el {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the frame without letterboxing */
  display: block;
}

/* optional: on desktop you can grow it a bit */
@media (min-width: 992px) {
  .video-frame {
    width: 420px; /* matches the min() above */
  }
}

/*-------------------------------------------Multi Device Screen Size---------------------------------------------*/
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #bg {
        height: 100vh;
    }
}