/* Hard reset only for our component */
#hs-root,
#hs-root *,
#hs-root *::before,
#hs-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── WRAPPER ─────────────────────────────────────────────── */
#hs-root {
  position: relative;
  width: 100%;
  /* height: 100vh; */
  height: 75vh;
  min-height: 500px;
  overflow: hidden;
  background: #08091a;
  font-family: "Inter", sans-serif;
}

/* ── SWIPER CONTAINER ────────────────────────────────────── */
#hs-root .hs-swiper {
  width: 100%;
  height: 100%;
}

/* ── SLIDE ───────────────────────────────────────────────── */
#hs-root .hs-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ── BACKGROUNDS ─────────────────────────────────────────── */
#hs-root .hs-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  /* Start slightly zoomed; JS will animate to 1.0 on active */
  transform: scale(1.06);
  transition: transform 8s linear;
  will-change: transform;
  z-index: 0;
}

/* If user adds real images via style="background-image:url(...)" they take priority */
#hs-root .hs-bg-1 {
  /* background: linear-gradient(
    135deg,
    #0d0d2b 0%,
    #1b1168 40%,
    #2e1c6a 70%,
    #0f0f3d 100%
  ); */
  background-image: url(../images/hero1-bg.webp);
}

#hs-root .hs-bg-2 {
  /* background: linear-gradient(
    135deg,
    #071820 0%,
    #0b3040 40%,
    #0f4e6f 70%,
    #051015 100%
  ); */
  background-image: url(../images/hero1-bg.webp);
}

#hs-root .hs-bg-3 {
  /* background: linear-gradient(
    135deg,
    #1a0030 0%,
    #3b0058 40%,
    #5c006f 70%,
    #100020 100%
  ); */
  background-image: url(../images/hero1-bg.webp);
}

#hs-root .hs-bg-4 {
  /* background: linear-gradient(
    135deg,
    #0d1a10 0%,
    #1b3020 40%,
    #104020 70%,
    #050f07 100%
  ); */
  background-image: url(../images/hero1-bg.webp);
}

/* Grid texture */
#hs-root .hs-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

/* Glow blob */
#hs-root .hs-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.22;
  z-index: 1;
}

#hs-root .hs-blob-1 {
  background: #5b6af0;
  top: -120px;
  right: 5%;
}

#hs-root .hs-blob-2 {
  background: #00b4ff;
  bottom: -80px;
  right: 10%;
}

#hs-root .hs-blob-3 {
  background: #c026d3;
  top: -80px;
  right: 5%;
}

#hs-root .hs-blob-4 {
  background: #16a34a;
  bottom: -80px;
  right: 8%;
}

/* Dark overlay */
#hs-root .hs-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    120deg,
    rgba(4, 6, 20, 0.35) 0%,
    rgba(4, 6, 20, 0.58) 50%,
    rgba(4, 6, 20, 0.78) 100%
  ); */
  background: linear-gradient(
    120deg,
    rgb(4 6 20 / 35%) 0%,
    rgb(4 6 20 / 8%) 50%,
    rgb(4 6 20 / 69%) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ── TWO-COLUMN LAYOUT ───────────────────────────────────── */
#hs-root .hs-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
}

/* Left column — image */
#hs-root .hs-col-img {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Right column — text */
#hs-root .hs-col-txt {
  flex: 1;
  /* display: flex; */
  display: block;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(2rem, 5vw, 6rem) 0 1.5rem;
}

#hs-root .hs-inner {
  /* max-width: 500px; */
  max-width: 600px;
  text-align: right;
}

/* ── PNG / SVG IMAGE ─────────────────────────────────────── */
#hs-root .hs-png {
  position: relative;
  /* width: clamp(220px, 36vw, 460px); */
  width: clamp(220px, 36vw, 720px);
  pointer-events: none;
  /* Initial hidden state — JS animates in */
  opacity: 0;
  transform: translateX(50px) scale(0.9);
  will-change: transform, opacity;
}

#hs-root .hs-png svg,
#hs-root .hs-png img {
  display: block;
  width: 100%;
  height: auto;
  /* filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.55)); */
}

/* Float keyframe */
@keyframes hs-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
#hs-root .hs-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8892f8;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(14px);
  will-change: transform, opacity;
}

#hs-root .hs-heading {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  /* font-size: clamp(2.6rem, 5.5vw, 5.4rem); */
  font-size: clamp(2.6rem, 4.5vw, 5.4rem);
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateX(60px) rotate(2.5deg);
  will-change: transform, opacity;
}

#hs-root .hs-heading em {
  font-style: normal;
  -webkit-text-stroke: 1.5px #ffffff;
  color: transparent;
}

#hs-root .hs-sub {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.88rem, 1.5vw, 1.04rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.2rem;
  max-width: 400px;
  margin-left: auto;
  opacity: 0;
  transform: translateY(22px);
  will-change: transform, opacity;
}

/* ── CTA BUTTON ──────────────────────────────────────────── */
#hs-root .hs-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(22px);
  will-change: transform, opacity;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
}

#hs-root .hs-cta-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#hs-root .hs-cta:hover {
  background: #5b6af0;
  border-color: #5b6af0;
}

#hs-root .hs-cta:hover .hs-cta-arrow {
  transform: translateX(5px);
}

/* ── NAV ARROWS ──────────────────────────────────────────── */
#hs-root .hs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease;
}

#hs-root .hs-nav-prev {
  left: clamp(1rem, 3vw, 3rem);
}

#hs-root .hs-nav-next {
  right: clamp(1rem, 3vw, 3rem);
}

#hs-root .hs-nav:hover {
  transform: translateY(-50%) scale(1.12);
  background: rgba(91, 106, 240, 0.35);
  border-color: #5b6af0;
}

#hs-root .hs-nav:hover path {
  stroke: #8892f8;
}

#hs-root .hs-nav path {
  transition: stroke 0.25s ease;
}

/* ── PAGINATION ──────────────────────────────────────────── */
#hs-root .hs-pagination {
  position: absolute;
  bottom: 2.8rem;
  left: 55%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
}

#hs-root .hs-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  border: none;
  opacity: 1;
  cursor: pointer;
  transition:
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease;
}

#hs-root .hs-pagination .swiper-pagination-bullet-active {
  width: 32px;
  height: 7px;
  border-radius: 4px;
  background: #8892f8;
}

/* ── PROGRESS BAR ────────────────────────────────────────── */
#hs-root .hs-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 50;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #5b6af0, #8892f8);
}

/* ── SCROLL HINT ─────────────────────────────────────────── */
#hs-root .hs-scroll {
  position: absolute;
  bottom: 2.4rem;
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}

#hs-root .hs-scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7));
  animation: hs-scrollline 1.8s ease-in-out infinite;
}

@keyframes hs-scrollline {
  0%,
  100% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  30% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  70% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

#hs-root .hs-scroll-label {
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
}

/* ── TABLET ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  #hs-root .hs-col-img {
    width: 44%;
  }

  #hs-root .hs-png {
    width: clamp(180px, 30vw, 300px);
  }
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  #hs-root {
    height: 100svh;
    min-height: 580px;
  }

  #hs-root .hs-bg {
    background-position: center top;
  }

  #hs-root .hs-overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 6, 20, 0.8) 0%,
      rgba(4, 6, 20, 0.9) 100%
    );
  }

  #hs-root .hs-content {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0.5rem;
    /* padding-top: 4.5rem; */
  }

  #hs-root .hs-col-img {
    position: absolute;
    width: 100%;
    height: 55%;
    bottom: -80px;
    left: 0;
    align-items: flex-end;
    justify-content: center;
    z-index: 5;
  }

  #hs-root .hs-col-txt {
    width: 100%;
    justify-content: center;
    padding: 0 1.4rem;
    position: relative;
    z-index: 10;
  }

  #hs-root .hs-inner {
    text-align: center;
    max-width: 100%;
  }

  #hs-root .hs-sub {
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }

  #hs-root .hs-png {
    /* width: clamp(150px, 50vw, 230px); */
    bottom: 30%;
    width: 90%;
  }

  #hs-root .hs-nav-prev {
    left: 0.75rem;
  }

  #hs-root .hs-nav-next {
    right: 0.75rem;
  }

  #hs-root .hs-nav {
    width: 40px;
    height: 40px;
  }

  #hs-root .hs-scroll {
    display: none;
  }

  #hs-root .hs-blob {
    width: 260px;
    height: 260px;
  }
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #hs-root .hs-scroll-line {
    animation: none;
  }
}

/*  */
/* START PRELOADER CSS */
/*  */
#preloader {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
}
/*==============================*/
.background-gradient {
  position: absolute;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(circle at top, #8de7ff, #ffffff 45%),
    radial-gradient(circle at bottom right, #d7ffd8, transparent 50%),
    radial-gradient(circle at left, #ffe8aa, transparent 55%);
  animation: bgMove 12s linear infinite;
  filter: blur(30px);
}
@keyframes bgMove {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.2);
  }
}
/*==============================*/
.door {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 50px rgba(255, 255, 255, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.5);
}
.left-door {
  left: 0;
}
.right-door {
  right: 0;
}
/*==============================*/
.loader-content {
  position: relative;
  width: 450px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
/*==============================*/
.logo-wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #4fc3ff, #00c8ff00);
  filter: blur(35px);
  animation: pulse 2.5s infinite;
}
.logo {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 700;
  color: #15507c;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  z-index: 5;
}
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}
/*==============================*/
.orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  animation: rotateOrbit 14s linear infinite;
}
@keyframes rotateOrbit {
  100% {
    transform: rotate(360deg);
  }
}
.icon {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.icon1 {
  top: -20px;
  left: 145px;
}
.icon2 {
  right: -15px;
  top: 145px;
}
.icon3 {
  bottom: -15px;
  left: 145px;
}
.icon4 {
  left: -20px;
  top: 145px;
}
.icon5 {
  top: 40px;
  left: 40px;
}
/*==============================*/
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #ffffff 2px, transparent 2px),
    radial-gradient(circle, #8fdcff 2px, transparent 2px),
    radial-gradient(circle, #b5ffd2 2px, transparent 2px);
  background-size:
    180px 180px,
    240px 240px,
    300px 300px;
  animation: floatParticles 18s linear infinite;
  opacity: 0.65;
}
@keyframes floatParticles {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-250px);
  }
}
/*==============================*/
@media (max-width: 768px) {
  .loader-content {
    width: 300px;
    height: 300px;
  }
  .logo {
    width: 95px;
    height: 95px;
    font-size: 22px;
  }
  .logo-glow {
    width: 130px;
    height: 130px;
  }
  .orbit {
    width: 240px;
    height: 240px;
  }
  .icon {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }
  .icon1 {
    left: 95px;
  }
  .icon2 {
    top: 95px;
  }
  .icon3 {
    left: 95px;
  }
  .icon4 {
    top: 95px;
  }
  .hero h1 {
    font-size: 38px;
  }
}
/* END PRELOADER CSS */
