@import "components/grid-boxes.css";
@import "components/news-ticker.css";
@import "components/welcome.css";
@import "components/services.css";
@import "components/news.css";
@import "components/projects.css";
@import "components/other-services.css";
@import "components/contact-us.css";
@import "pages/strategic.css";

.section-hero .swiper-slide {
  height: 80vh;
  position: relative;
}

.section-hero .app-wrapper.swiper-inner {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  max-width: 700px;
  transform: translate(50%, -50%);
  text-align: center;
  padding: 20px;
  color: white;
  z-index: 1;
  background: hsla(0, 0%, 0%, 0.63);
  padding: 10px;
  pointer-events: none;
}

html[dir="ltr"] .section-hero .app-wrapper.swiper-inner {
  transform: translate(-50%, -50%);
}

.section-hero .swiper-text {
  font-weight: 500;
  font-size: var(--font-size-title-md);
}

.section-hero .swiper-pagination-bullet {
  --size: 16px;
  width: var(--size);
  height: var(--size);
  background: white !important;
  opacity: 1;
  transition: .4s;
  border-radius: 20px;
}

.section-hero .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  width: 100px;
}

.section-hero .swiper-pagination-bullets {
  bottom: 20px !important;
}


.section-hero .image-wrapper img,
.section-hero .image-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-hero .image-wrapper {position: absolute;inset: 0;}

.video-wrapper, .video-inner {position: absolute;inset: 0;}
.video-wrapper video {width: 100%;height: 100%;object-fit: cover;position: absolute;}
.video-inner {display: flex;align-items: center;justify-content: center;flex-direction: column;}
.sound-button {transition: .4s;position: relative;width: 40px;aspect-ratio: 1;display: flex;align-items: center;justify-content: center;margin-inline-start: auto;margin-inline-end: 20px;margin-bottom: auto;z-index: 2;color: white;font-size: 3rem;margin-top: 20px;}
.play-button {transition: .4s;width: 40px;display: flex;align-items: center;justify-content: center;z-index: 2;color: white;align-self: center;position: absolute;font-size: 3rem;}
:is(.sound-button,.play-button):hover {scale: 1.1;}
:is(.sound-button,.play-button):active {scale: 0.8;}
.play-button .icon-pause {font-size: 4rem}

/* Play / Pause icons */
.play-button .icon-play,
.play-button .icon-pause {transition: opacity 0.3s ease;position: absolute;}

.play-button .icon-play   { opacity: 1; }
.play-button .icon-pause  { opacity: 0; }

.play-button.is-playing .icon-play  { opacity: 0; }
.play-button.is-playing .icon-pause { opacity: 1; }

/* Sound icons */
.sound-button .icon-sound-on,
.sound-button .icon-sound-off {transition: opacity 0.3s ease;position: absolute;}

.sound-button .icon-sound-on  { opacity: 0; }
.sound-button .icon-sound-off { opacity: 1; }

.sound-button:not(.is-muted) .icon-sound-on  { opacity: 1; }
.sound-button:not(.is-muted) .icon-sound-off { opacity: 0; }



.section-hero .swiper-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  text-wrap-style: pretty;
  line-height: 1.6;
  font-weight: 600;
}

.section-hero .swiper-description {
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  margin-top: 20px;
  color: var(--extra-light-gray);
  text-wrap-style: pretty;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .section-hero .app-wrapper.swiper-inner {
    max-width: 80%;
  }

  .section.section-hero {
    padding: 0;
  }

  .section-hero .swiper-slide {
    height: 60vh;
  }

}
