@font-face {
    font-family: 'Cerost';
    src: url('../../fonts/cerost.otf') format('truetype'); /* update path if needed */
    font-weight: normal;
    font-style: normal;
}
.galexy{
    height: 850px;
    width: 100%;
    position: relative; /* make it a containing block for absolute children */
    display: flex;
    /* justify-content: center; optional: center horizontally */
    flex-direction: column;
      overflow: hidden;
       margin-bottom: 0;
        padding-bottom: 0
}

.galexy img{
  height: 100%;
  width:100%;
  object-fit: cover;
  display: block;
}

.galexy-heading {
  margin-top: 1px;
  position: absolute;
  /* top: 120px;           top of container */
  left: 50%;        /* start at 50% horizontally */
  transform: translateX(-50%); /* center the element horizontally */
  display: flex;
    flex-direction: column;
  align-items: center;
  gap: 10px; /* spacing between image and text */
    z-index: 10;
    text-align: center;
}

.galexy-heading img {
  height: 53px; /* adjust size as needed */
  width: auto;
}

.galexy-heading span {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 45px;
  font-weight: 400;
  font-family: 'Cerost';
  /* text-transform: uppercase; */
  /* further styling as needed */
}

/* .galexy-slides {
  left:180px;
  top:90px;
  margin-top: 100px;
  width: 950px;
  height: 430px;
  border-radius: 30px;
  overflow: hidden;
  position: absolute;
} */

.galexy-slides {
    position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 100px;
  width: 1200px;
  max-width: 90vw;
  /* height: 430px; */
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center
}

.galexy-move {
  width: 100%;
  height: 500px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  background: transparent; /* remove background if red */
}

.galexy-move img {
  margin-top: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px; /* matches .galexy-move */
  display: block;      /* avoids inline gap */
  /* Remove overflow */
}


.thumbnails {
     position: absolute;
  top: 630px;
  left: 50%;
  transform: translateX(-50%);
  width: 912px;
  height: 250px;
  display: flex;
  /* gap: 40px; */
  gap: 20px;
  justify-content: center;
  padding-bottom: 10px;
}

.thumbnails img {
  /* width: 200px; */
  /* height: 160px; */
  width:120px;
  height:80px;
  border-radius: 16px;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  border: 3px solid transparent;
}

.thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}



/* .nav-btn {
  position: relative;
  width: 45px;
  height: 40px;
  opacity: 1;
  border-radius: 1000px;
  background: #737373;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;          
  font-size: 18px;     
  line-height: 1;
  user-select: none;   
} */

.thumbnails img.active-thumb {
  /* border-color: #ff0000; active border color */
  transform: scale(1.05);
  /* box-shadow: 0 0 8px rgba(255, 0, 0, 0.7); */
}


.dots-containers {
  position: absolute;
  /* top: 810px; */
  top: 730px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}


.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.galexy-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbbbbba4;
  cursor: pointer;
  transition: background 0.3s;
}

.galexy-dots {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.galexy-dots.active-dot {
  background-color: rgb(150, 102, 102);
   transform: scale(1.2);
}

.nav-bttn {
  position: relative;
  width: 45px;
  height: 40px;
  opacity: 1;
  border-radius: 1000px;
  background: #737373;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  user-select: none;
  transition: background-color 0.3s ease;
}

/* .nav-btn:hover {
  background-color: #a00;
} */

/* .video-view {
    width: 100%;
    height: 600px;
    object-fit: cover; 
    position: relative; 
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
} */


.video-wrapper {
    position: relative;
    width: 100%;
    height:calc(100vh - 80px);
    overflow: hidden;
}

/* .play-button .pause-button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: background 0.3s;
} */


.controls {
  position: absolute;
  top: 50%;                /* Center vertically */
  left: 50%;               /* Center horizontally */
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-button, .pause-button {
  width: 80px;             /* circular size */
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 28px;         /* icon size */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
/* position: absolute; top: 50%; left: 50%; 
                transform: translate(-50%, -50%);
                width: 70px; height: 70px; border-radius: 50%; 
                background: rgba(0,0,0,0.5); display: flex; 
                justify-content: center; align-items: center; 
                cursor: pointer; z-index: 5; */

/* .play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 25px solid #000;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
} */

/* .play-button:hover {
    background: rgba(255, 255, 255, 0.9);
} */

/* Your existing video style remains */
.video-view {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}


/* Hide thumbnails/dots on smaller devices */
@media (max-width: 1024px) {
   .galexy {
    height: auto; /* allow height to adjust based on content */
    min-height: 400px; /* optional: ensures it's not too short */
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .thumbnails,
  .dots-containers {
    display: none !important;
  }

  .galexy-heading span {
    font-size: 36px;
  }

  .galexy-move {
    height: 400px;
  }
}

@media(max-width:991px){
  .galexy-slides { gap:20px; }
  .galexy-move, .galexy-move img { border-radius:20px; }
}

/* 📱 Tablets */
@media (max-width: 768px) {
 .galexy {
    height: auto;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .galexy-heading {
    margin-bottom: 15px;
  }

  .galexy-heading span {
    font-size: 22px;
  }

  .galexy-move {
    height: 280px;
  } 
  .galexy-move img { margin-top:0px; }
  .thumbnails,
  .dots-containers {
    display: none !important;
  }
  .video-wrapper { height: auto; }
}

/* 📱 Mobiles */
@media (max-width: 576px) {
  .galexy-slides { gap:10px; width:100%; max-width:100%; padding:0px 15px; }
  .galexy {
    height: auto;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .galexy-heading {
    margin-bottom: 15px; text-align: center;
  }

  .galexy-heading span {
    font-size: 22px;
  }

  .galexy-move {
    height: 230px;
  }
}

/* 📱 Smallest phones */
@media (max-width: 400px) {
   .galexy {
    height: auto;
  }
  .galexy-heading span {
    font-size: 18px;
  }

  .galexy-move {
    height: 200px;
  }
}
