/* CSS HEX 
--oxford-blue: #001427ff;
--hookers-green: #708d81ff;
--jasmine: #f4d58dff;
--engineering-orange: #bf0603ff;
--dark-red: #8d0801ff;
*/

html,
body {
  margin: 0;
  font-family: 'Poppins', 'Black', 'Roboto', sans-serif;
  background-color: #0b1622;
  padding: 0;
  scroll-behavior: smooth;
  height: 100%;
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: column;
  scroll-snap-type: y mandatory;
  height: 100vh;
  overflow-y: scroll;
  position: relative;
}

section {
  scroll-snap-align: start;
  flex: 0 0 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.introduction {
  display: flex;
  color: red;
  font-size: 2rem;
  margin: 0;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
  margin-left: 40px;
  text-shadow: 4px 4px 4px black;
}

#lastIntroduction {
  margin-bottom: 40px;
}

/* If Background should be smooth on all sections */
/* body {
  background-image: url('../images/index/datacenter.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
} */

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Ensure the video is behind other elements */
}

.firstSec {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
}

/* Swiper Start */
.swiper {
  width: 80vw;
  height: 40vh;
  max-width: 800px;
  max-height: 400px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #bf0603ff !important;
}

.swiper-pagination-bullet {
  background-color: #bf0603ff !important;
}

.swiper-slide {
  position: relative;
}

.slide-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: rgb(253, 214, 122);
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.8px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Swiper End */

/* Responsive Design */
@media (max-width: 1200px) {
  .swiper {
    width: 90vw;
    height: 45vh;
  }

  .introduction {
    font-size: 1.5rem;
    margin-left: 20px;
  }

  .slide-text {
    font-size: 1.2rem;
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .introduction {
    font-size: 1.2rem;
    margin-left: 10px;
  }

  .slide-text {
    font-size: 1rem;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .introduction {
    font-size: 1rem;
    margin-left: 5px;
  }

  .slide-text {
    font-size: 0.8rem;
    padding: 4px;
  }

  @media (max-width: 780px) {
    .icon-bar {
      display: none;
    }
  }
}

.icon-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.page-indicator {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  margin-right: 10px;
}

.page-indicator .circle {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-indicator .circle.active {
  background-color: #bf0603ff;
  transform: scale(1.2);
}

.page-indicator span {
  display: block;
  text-align: center;
}
