@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Kalam:wght@300;400;700&family=Patrick+Hand&display=swap');

:root {
  --main-color: #13547a;
}

.main {
  width: 100%;
  padding: 0px;
}


marquee {
  font-size: 24px;
  color: black;
  font-weight: bold;
  white-space: nowrap;
}

/* Keyframe animation for scrolling */
@keyframes marquee {
  from {
    transform: translateX(100%);
    /* Start from the right-most edge */
  }

  to {
    transform: translateX(-100%);
    /* Move off-screen to the left */
  }
}

/* Side fade effect */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: relative;
  top: 0;
  bottom: 0;
  width: 100px;
  /* Width of the fade area */
  z-index: 1;
}

/* Fade on left side */
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
  /* Fade effect from white to transparent */
}

/* Fade on right side */
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
  /* Fade effect from white to transparent */
}



/* middle slider css */
.slides-1 {
  border-radius: 10px;
  padding: 0;
  width: 95%;
  height: 420px;
  display: block;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out;
  z-index: 1;
}

/* Glass effect background layer */
.slides-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px) brightness(0.6);
  /* Glass effect */
  -webkit-backdrop-filter: blur(10px) brightness(0.6);
  /* For Safari */
  transition: background-image 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0.7;
  /* Optional overlay effect */
  z-index: 1;
}

/* Prevent text/image selection */
.slides-1 * {
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Hide radio inputs */
.slides-1 input {
  display: none;
}

/* Slide container for each image */
.slide-container-1 {
  position: relative;
  z-index: 2;
  display: block;
}


.background-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  /* Apply the blur effect */

}

/* Each slide */
.slide-1 {
  width: 100%;
  height: 420px;
  display: block;
  position: absolute;
  opacity: 0;
  transform: scale(0);
  transition: all 0.7s ease-in-out;
}

/* Image inside each slide */
.slide-1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Navigation labels (arrows) */
.nav label {
  width: 200px;
  height: 100%;
  display: none;
  position: absolute;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.2s;
  color: #FFF;
  font-size: 156pt;
  text-align: center;
  line-height: 380px;
  font-family: "Varela Round", sans-serif;
  background-color: rgba(255, 255, 255, 0.3);
  text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

/* Show arrows on hover */
.slide-1:hover+.nav label {
  opacity: 0.5;
}

.nav label:hover {
  opacity: 1;
}

/* Next arrow */
.nav .next {
  right: 0;
}

/* Transition for active slide */
input:checked+.slide-container-1 .slide-1 {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s ease-in-out;
}

/* Show navigation labels (arrows) for the active slide */
input:checked+.slide-container-1 .nav label {
  display: block;
}

/* Dots navigation */
.nav-dots {
  width: 100%;
  bottom: 9px;
  height: 11px;
  display: block;
  position: absolute;
  text-align: center;
  z-index: 3;
}

.nav-dots .nav-dot {
  top: -5px;
  width: 11px;
  height: 11px;
  margin: 0 4px;
  border-radius: 100%;
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.6);
}

.nav-dots .nav-dot:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Active dot styling */
input#img-1:checked~.nav-dots label#img-dot-1,
input#img-2:checked~.nav-dots label#img-dot-2,
input#img-3:checked~.nav-dots label#img-dot-3,
input#img-4:checked~.nav-dots label#img-dot-4 {
  background-color: rgba(255, 255, 255, 1);
}




/* youtube video section css */
.video-slider-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.video-slider-container {
  width: 90%;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}

.video-slider-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.video-slider-slide {
  display: flex;
  justify-content: space-between;
  min-width: 100%;
  box-sizing: border-box;
}

.video-slider-iframe {
  border-radius: 10px;
  width: 49%;
  /* Two videos per slide on desktop */
  height: 300px;
  border: none;
}

.video-slider-prev,
.video-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  z-index: 10;
}

.video-slider-prev {
  left: 10px;
}

.video-slider-next {
  right: 10px;
}

/* Media Query for Mobile View */
@media (max-width: 768px) {
  .video-slider-slide {
    flex-direction: column;
    align-items: center;
  }

  .video-slider-iframe {
    width: 100%;
    /* Full width for mobile */
    height: 250px;
  }

  /* Hide the second video in each slide on mobile view */
  .video-slider-slide iframe:nth-child(2) {
    display: none;
  }
}