:root {
    --green: #5dcaa5;
    --green-d: #1d9e75;
    --green-dd: #0f6e56;
    --dark: #04100d;
    --glass: rgba(4, 52, 44, .72)
}

.hs {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    padding: 22.7% 0%;
    background: #04100d; 
    border-radius: 0px
}

.hs-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1)
}

.hs-slide.active {
    opacity: 1;
    z-index: 2
}

.hs-slide.prev {
    opacity: 0;
    z-index: 1
}

.hs-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s cubic-bezier(.25, .46, .45, .94)
}

.hs-slide.active .hs-bg {
    transform: scale(1.12)
}

.hs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(4, 16, 13, .92) 50%, rgba(4, 16, 13, .6) 50%, rgba(4, 16, 13, .15) 100%)
}

.hs-overlay2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 16, 13, .7) 0%, transparent 40%)
}

.hs-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0% 10%;
    z-index: 3;
}

 
.hs-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    letter-spacing: .12em;
    font-family: var(--font-body);
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 22px;
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity .6s .3s ease, transform .6s .3s ease
}

.hs-slide.active .hs-tag {
    opacity: 1;
    transform: translateX(0)
}

.hs-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(.7)
    }
}

.hs-h1 { 
    font-size: 4.5em;
    font-weight: 400;
    line-height: 1.13;
    color: #fff;
    margin-bottom: 18px;
    opacity: 0;
    font-family: var(--font-display);
    transform: translateX(-32px);
    transition: opacity .75s .52s ease, transform .75s .52s ease;
    letter-spacing: -.01em
}

.hs-slide.active .hs-h1 {
    opacity: 1;
    transform: translateX(0)
}

.hs-h1 em {
    font-style: italic;
    color: var(--green)
}

.hs-p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 32px;
    max-width: 530px;
    font-family: var(--font-body);
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity .7s .72s ease, transform .7s .72s ease
}

.hs-slide.active .hs-p {
    opacity: 1;
    transform: translateX(0)
}

.hs-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .65s .9s ease, transform .65s .9s ease
}

.hs-slide.active .hs-actions {
    opacity: 1;
    transform: translateY(0)
}

.btn-p {
    background: var(--green-d);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .22s, transform .15s, box-shadow .22s;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden
}

.btn-p::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background .2s
}

.btn-p:hover {
    background: var(--green-dd);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-p:hover::after {
    background: rgba(255, 255, 255, .06)
}

.btn-o {
    background: transparent;
    color: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 100px;
    padding: 11px 22px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color .22s, color .22s, background .22s;
    font-family: var(--font-body);
}

.btn-o:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(93, 202, 165, .06)
}

.btn-o i {
    transition: transform .2s
}

.btn-o:hover i {
    transform: translateX(3px)
}

.hs-stat {
    position: absolute;
    bottom: 194px;
    right: 152px;
    background: rgba(4, 42, 34, .82);
    border: 1px solid rgba(93, 202, 165, .22);
    border-radius: 16px;
    padding: 18px 22px;
    z-index: 4;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s 1.1s ease, transform .7s 1.1s ease;
    min-width: 140px
}

.hs-slide.active .hs-stat {
    opacity: 1;
    transform: translateY(0)
}

.hs-stat-num {
     font-family: var(--font-body);
    font-size: 34px;
    font-weight: 800;
    color: var(--green);
    line-height: 1
}

.hs-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
    margin-top: 6px;
    line-height: 1.5;
    max-width: 220px
}

.hs-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s .62s ease, transform .6s .62s ease
}

.hs-slide.active .hs-pills {
    opacity: 1;
    transform: translateY(0)
}

.hs-pill {
    background: rgba(93, 202, 165, .1);
    border: 1px solid rgba(93, 202, 165, .25);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: 5px
}

.hs-pill i {
    font-size: 12px;
    color: var(--green)
}

.hs-nav {
    position: absolute;
    bottom: 135px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5
}

.hs-dot {
    height: 7px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    transition: background .3s, width .4s cubic-bezier(.4, 0, .2, 1);
    width: 20px
}

.hs-dot.active {
    background: var(--green);
    width: 38px
}

.hs-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--green);
    width: 0%;
    opacity: .6;
    transition: width linear;
    z-index: 10
}

.hs-arr-wrap {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5
}

.hs-arr {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(4, 16, 13, .5);
    color: rgba(255, 255, 255, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s, transform .15s;
    backdrop-filter: blur(8px)
}

.hs-arr:hover {
    border-color: var(--green);
    background: rgba(29, 158, 117, .18);
    color: #fff;
    transform: scale(1.08)
}

.hs-counter {
    position: absolute;
    top: 22px;
    right: 52px;
    z-index: 5;
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    letter-spacing: .12em;
    font-variant-numeric: tabular-nums
}

.hs-logo {
    position: absolute;
    top: 22px;
    left: 60px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px
}

.hs-logo-mark {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(93, 202, 165, .4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.hs-logo-mark i {
    font-size: 18px;
    color: var(--green)
}

.hs-logo-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    letter-spacing: .04em
}

.hs-mini-stats {
    position: absolute;
    bottom: 20px;
    left: 50px;
    right: 0;
    z-index: 4;
    width: 35%;
   padding: 1% 0%;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.hs-mini-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .5s ease;
    border-right: 1px solid rgba(255, 255, 255, .06)
}

.hs-mini-stat:last-child {
    border-right: none
}

.hs-slide.active .hs-mini-stat:nth-child(1) {
    opacity: 1;
    transition-delay: 1.1s
}

.hs-slide.active .hs-mini-stat:nth-child(2) {
    opacity: 1;
    transition-delay: 1.25s
}

.hs-slide.active .hs-mini-stat:nth-child(3) {
    opacity: 1;
    transition-delay: 1.4s
}

.hs-mini-stat-val {
     font-family: var(--font-body);
    font-size: 18px;
    font-weight: 800;
    color: var(--green);
    white-space: nowrap
}

.hs-mini-stat-lbl {
    font-size: 14px;
    color: rgba(255, 255, 255, .4);
    line-height: 1.4
}

.hs-mini-stat i {
    font-size: 20px;
    color: rgba(93, 202, 165, .35)
}

.hs-scroll-hint {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 5;
    color: rgba(255, 255, 255, .28);
    font-size: 9.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 1s 2s ease
}

.hs-slide.active .hs-scroll-hint {
    opacity: 1
}
/* ── RESPONSIVE FOR HERO SLIDER ── */

/* ── TABLET LANDSCAPE ── */
@media (max-width: 1100px) {
  .hs {
    height: 90vh;
    padding: 26% 0%;
  }

  .hs-content {
    padding: 0% 7%;
  }

  .hs-h1 {
    font-size: 3.6em;
  }

  .hs-p {
    font-size: 16px;
    max-width: 460px;
  }

  .hs-stat {
    bottom: 160px;
    right: 80px;
  }

  .hs-mini-stats {
    left: 40px;
    width: 45%;
  }

  .hs-nav {
    bottom: 110px;
    left: 40px;
  }
}

/* ── TABLET PORTRAIT ── */
@media (max-width: 900px) {
  .hs {
    height: 85vh;
    padding: 30% 0%;
  }

  .hs-content {
    padding: 0% 6%;
  }

  .hs-overlay {
    background: linear-gradient(
      115deg,
      rgba(4, 16, 13, 0.95) 60%,
      rgba(4, 16, 13, 0.7) 80%,
      rgba(4, 16, 13, 0.3) 100%
    );
  }

  .hs-h1 {
    font-size: 3em;
  }

  .hs-p {
    font-size: 15px;
    max-width: 420px;
  }

  .hs-stat {
    bottom: 140px;
    right: 40px;
    padding: 14px 18px;
  }

  .hs-stat-num {
    font-size: 28px;
  }

  .hs-stat-label {
    font-size: 13px;
  }

  .hs-mini-stats {
    left: 30px;
    width: 55%;
    bottom: 16px;
  }

  .hs-mini-stat-val {
    font-size: 16px;
  }

  .hs-mini-stat-lbl {
    font-size: 12px;
  }

  .hs-arr-wrap {
    right: 14px;
  }

  .hs-arr {
    width: 42px;
    height: 42px;
  }

  .hs-nav {
    bottom: 100px;
    left: 30px;
  }

  .hs-counter {
    right: 36px;
  }

  .hs-logo {
    left: 30px;
  }
}

/* ── MOBILE ── */
@media (max-width: 640px) {
  .hs {
    height: 100svh; /* svh handles mobile browser chrome correctly */
    padding: 0;
  }

  .hs-overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 16, 13, 0.5) 0%,
      rgba(4, 16, 13, 0.92) 55%,
      rgba(4, 16, 13, 0.98) 100%
    ); /* vertical on mobile — content sits bottom-aligned */
  }

  .hs-overlay2 {
    background: linear-gradient(0deg, rgba(4, 16, 13, 0.85) 0%, transparent 50%);
  }

  .hs-content {
    padding: 0 5%;
    align-items: flex-end;
    padding-bottom: 22%;
  }

  .hs-tag {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .hs-h1 {
    font-size: clamp(1.9em, 7vw, 2.6em);
    margin-bottom: 12px;
  }

  .hs-p {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .hs-pills {
    gap: 6px;
    margin-bottom: 16px;
  }

  .hs-pill {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hs-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 25px;
    width: 100%;
  }

  .btn-p,
  .btn-o {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 13px 20px;
  }

  /* Hide stat card on mobile — too cluttered */
  .hs-stat {
    display: none;
  }

  /* Hide side arrows on mobile — use swipe */
  .hs-arr-wrap {
    display: none;
  }

  .hs-mini-stats {
    left: 0;
    right: 0;
    width: 100%;
    bottom: 0;
    padding: 25px 5% 10px 5%;
    background: rgba(4, 16, 13, 0.85);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(93, 202, 165, 0.12);
  }

  .hs-mini-stat {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    padding: 4px 0;
  }

  .hs-mini-stat i {
    display: none;
  }

  .hs-mini-stat-val {
    font-size: 15px;
  }

  .hs-mini-stat-lbl {
    font-size: 11px;
    text-align: center;
  }

  .hs-nav {
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hs-counter {
    top: 16px;
    right: 20px;
    font-size: 10px;
  }

  .hs-logo {
    top: 16px;
    left: 20px;
  }

  .hs-scroll-hint {
    bottom: 70px;
  }
}

/* ── SMALL MOBILE ── */
@media (max-width: 380px) {
  .hs-h1 {
    font-size: 1.75em;
  }

  .hs-p {
    font-size: 13px;
  }

  .hs-content {
    padding-bottom: 26%;
  }

  .hs-mini-stat-val {
    font-size: 13px;
  }

  .hs-mini-stat-lbl {
    font-size: 10px;
  }

  .hs-pill {
    font-size: 11px;
    padding: 5px 10px;
  }
}
