/* slide.css — Hero Slider styles */
.hero-slider{
  --hs-duration      : 6500ms;
  --hs-accent        : var(--accent, #1e5fd8);
  --hs-accent-bright : var(--accent-bright, #2f8bff);
  --hs-accent-light  : var(--accent-light, #6fb2ff);
  --hs-deep          : var(--deep, #0c2d6b);

  position: relative;
  min-height: clamp(600px, 96vh, 940px);
  overflow: hidden;
  background: var(--hs-deep);
  isolation: isolate;
}

.hs-slides{ position: absolute; inset: 0; }
.hs-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
  pointer-events: none;
}
.hs-slide.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hs-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 8s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.hs-slide.is-active .hs-bg{ transform: scale(1); }

.hs-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12,45,107,.94) 0%, rgba(30,95,216,.72) 42%, rgba(47,139,255,.30) 78%, rgba(111,178,255,.12) 100%),
    linear-gradient(to top, rgba(12,45,107,.78), transparent 45%);
}
.hs-overlay::before{
  content: '';
  position: absolute;
  top: 18%; left: 8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(47,139,255,.28) 0%, transparent 60%);
  filter: blur(50px);
}

.hs-content{
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: clamp(600px, 96vh, 940px);
  display: flex;
  align-items: center;
  padding-top: clamp(170px, 20vh, 210px);
  padding-bottom: 130px;
}
.hs-inner{ max-width: 720px; }

.hs-inner > *{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.hs-slide.is-active .hs-inner > *{ opacity: 1; transform: none; }
.hs-slide.is-active .hs-inner > *:nth-child(1){ transition-delay: .15s; }
.hs-slide.is-active .hs-inner > *:nth-child(2){ transition-delay: .30s; }
.hs-slide.is-active .hs-inner > *:nth-child(3){ transition-delay: .45s; }
.hs-slide.is-active .hs-inner > *:nth-child(4){ transition-delay: .60s; }
.hs-slide.is-active .hs-inner > *:nth-child(5){ transition-delay: .75s; }

.hs-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a8d1ff;
  margin-bottom: 1.6rem;
}
.hs-eyebrow::before{
  content: '';
  width: 42px; height: 1px;
  background: #a8d1ff;
}
.hs-title{
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  color: #fff;
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 1.6rem;
  font-weight: 500;
  max-width: 16ch;
}
.hs-title em{ font-style: italic; color: #8fc4ff; }
.hs-sub{
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  max-width: 48ch;
  margin: 0 0 2.4rem;
  font-weight: 300;
  line-height: 1.75;
}
.hs-actions{ display: flex; flex-wrap: wrap; gap: .85rem; }

.hs-stats{
  display: flex;
  gap: 2.6rem;
  margin-top: 2.6rem;
  color: rgba(255,255,255,.7);
}
.hs-stats .hs-stat span{
  display: block;
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.65rem;
  color: #fff;
  line-height: 1.2;
}
.hs-stats .hs-stat small{
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hs-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .3s ease;
}
.hs-arrow:hover{
  background: #fff;
  color: var(--hs-deep);
  border-color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.hs-prev{ left: clamp(16px, 2.5vw, 36px); }
.hs-next{ right: clamp(16px, 2.5vw, 36px); }

.hs-dots{
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .9rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
}
.hs-dot{
  width: 32px; height: 4px;
  border-radius: 2px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
  transition: background .3s ease, width .3s ease;
}
.hs-dot:hover{ background: rgba(255,255,255,.6); }
.hs-dot.is-active{ background: #fff; width: 48px; }

.hs-counter{
  position: absolute;
  bottom: 46px;
  left: clamp(16px, 2.5vw, 36px);
  z-index: 5;
  color: rgba(255,255,255,.7);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: .78rem;
  letter-spacing: .15em;
  display: flex;
  align-items: baseline;
  gap: .35rem;
}
.hs-counter-current{ color: #fff; font-size: 1.15rem; font-weight: 600; }
.hs-counter-sep{ opacity: .5; }

.hs-progress{
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 5;
}
.hs-progress span{
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--hs-accent-bright), var(--hs-accent-light));
}
.hs-progress span.is-animating{ animation: hsProgress var(--hs-duration) linear forwards; }
.hs-progress span.is-paused{ animation-play-state: paused; }
@keyframes hsProgress{ from{ width: 0; } to{ width: 100%; } }

.hs-scroll{
  position: absolute;
  right: clamp(16px, 2.5vw, 36px);
  bottom: 38px;
  z-index: 5;
  color: rgba(255,255,255,.6);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.hs-scroll i{ animation: hsBounce 1.8s infinite; font-size: 1rem; }
@keyframes hsBounce{
  0%,100%{ transform: translateY(0); opacity: .6; }
  50%    { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 991.98px){
  .hero-slider{ min-height: 80vh; }
  .hs-content{ min-height: 80vh; padding-top: 130px; padding-bottom: 110px; }
  .hs-arrow{ width: 46px; height: 46px; font-size: 1rem; }
  .hs-counter{ display: none; }
}
@media (max-width: 575.98px){
  .hero-slider{ min-height: 88vh; }
  .hs-content{ min-height: 88vh; padding-top: 110px; padding-bottom: 100px; }
  .hs-arrow{ display: none; }
  .hs-dots{ bottom: 30px; }
  .hs-scroll{ display: none; }
  .hs-stats{ gap: 1.5rem; margin-top: 2rem; }
  .hs-stats .hs-stat span{ font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce){
  .hs-bg{ transform: none !important; }
  .hs-inner > *{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .hs-progress{ display: none; }
  .hs-scroll i{ animation: none; }
}