/* =========================
   LSM Modern Hero Carousel
   ========================= */

html, body { margin: 0; }

.lsm-hero{
  position: relative;
  overflow: hidden;

  /* Full width even if inside .container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* Height: about 3/4 of the screen */
  height: 75vh;
  min-height: 520px;

  background: #0b1220;
}

/* Slides wrapper */
.lsm-hero__track{
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* Each slide */
.lsm-hero__slide{
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

/* Background image */
.lsm-hero__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  z-index: 1;
}

/* LEFT HALF BLACKISH OVERLAY (above image, below text) */
.lsm-hero__slide::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  /* Dark on left, fades out to the right */
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.68) 45%,
    rgba(0,0,0,0.28) 70%,
    rgba(0,0,0,0.00) 100%
  );
}

/* ================================
   Hero Content (above overlay)
   ================================ */

.header-body{
  position: absolute;
  top: 50%;
  left: 14%;
  transform: translateY(-50%);
  max-width: 760px;
  z-index: 3; 
  color: #fff;
}

.header-body span{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #fff;
  position: relative;
  padding-left: 0;
}

/* Red line to the right of the small label */
/*.header-body span::after{
  content: "";
  display: inline-block;
  height: 3px;
  width: 220px;
  background: #d10000;
  margin-left: 18px;
  vertical-align: middle;
}*/

/* Heading */
.header-body h1{
  position: relative; 
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 22px 0;
  color: #fff;
  padding-left: 22px; 
}

/* Red vertical border starts exactly at top of H1 */
.header-body h1::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0px;         
  height: 100%;   
  width: 3px;
  background: #d10000;
}

/* White description block */
.header-body .description{
  /*background: rgba(255,255,255,0.95);*/
  color: #fff;
  padding: 18px 22px;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 26px 0;
  border-radius: 4px;
  font-weight: 500;
  max-width: 720px;
}

/* CTA Button */
.btn-hero{
  display: inline-block;
  background: #d10000;
  color: #fff;
  font-weight:700;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0px;
  transition: all 0.25s ease;
  border: 2px solid #d10000;
}

.btn-hero:hover{
  background: #fff;
  color: #d10000;
  border-color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ================================
   Controls
   ================================ */

.lsm-hero__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 82px;
  border: none;
  outline: none;
  cursor: pointer;
  background: rgba(9, 6, 132, .92);
  color: #fff;
  display: grid;
  place-items: center;
  transition: width .2s ease, filter .2s ease, background .2s ease;
}
.lsm-hero__arrow:hover{ width: 56px; filter: brightness(1.05); }
.lsm-hero__arrow:active{ filter: brightness(.98); }
.lsm-hero__arrow--prev{ left: 0; border-radius: 0 10px 10px 0; }
.lsm-hero__arrow--next{ right: 0; border-radius: 10px 0 0 10px; }
.lsm-hero__arrow svg{ width: 22px; height: 22px; }

.lsm-hero__dots{
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
}

.lsm-hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  opacity: .85;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.lsm-hero__dot.is-active{
  background: #fff;
  opacity: 1;
  transform: scale(1.15);
}

/* ================================
   Animations
   ================================ */

.fade-in{
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 900ms ease forwards;
}
@keyframes fadeUp{
  to{ opacity: 1; transform: translateY(0); }
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px){
  .lsm-hero{ min-height: 460px; }

  .header-body{
    left: 5%;
    right: 5%;
    max-width: none;
  }

  .header-body span::after{ width: 90px; }

  .header-body h1{
    font-size: 28px;
    padding-left: 0;
  }
  .header-body h1::before{ display: none; }

  .header-body .description{ font-size: 16px; }
}