/* ──────────────────────────────────────────
   SLIDER SHELL  —  REDUCED HEIGHT: 72vh
────────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
}

/* ── Background slides ── */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(.4,0,.2,1);
}
.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  transform: scale(1.07);
  transition: transform 6s ease;
}
.slide.active .slide-bg {
  transform: scale(1);      /* subtle Ken-Burns zoom-out */
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    285deg,
    rgba(5,15,50,.90) 0%,
    rgba(5,15,50,.62) 50%,
    rgba(5,15,50,.18) 100%
  );
}

/* ──────────────────────────────────────────
   CONTENT PANEL
────────────────────────────────────────── */
.slide-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  padding: 0 40px 50px;
}
.slide-panel.active { display: flex; }

/* ── Animation keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 44px; }
}
@keyframes pillPop {
  from { opacity: 0; transform: scale(.7) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes progressAnim {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Trigger animations when panel is active ── */
.slide-panel.active .anim-tag    { animation: fadeLeft  .55s ease both; animation-delay: .10s; }
.slide-panel.active .slider-left h2:nth-child(2) { animation: fadeLeft .55s ease both; animation-delay: .22s; }
.slide-panel.active .slider-left h2:nth-child(3) { animation: fadeLeft .55s ease both; animation-delay: .32s; }
.slide-panel.active .line        { animation: lineGrow  .5s ease both;  animation-delay: .45s; }
.slide-panel.active .slider-left .outline-btn { animation: fadeUp .5s ease both; animation-delay: .55s; }

.slide-panel.active .slider-right h1    { animation: scaleIn  .65s cubic-bezier(.22,1,.36,1) both; animation-delay: .15s; }
.slide-panel.active .pills-row span     { animation: pillPop  .45s ease both; }
.slide-panel.active .pills-row span:nth-child(1) { animation-delay: .50s; }
.slide-panel.active .pills-row span:nth-child(2) { animation-delay: .60s; }
.slide-panel.active .pills-row span:nth-child(3) { animation-delay: .70s; }
.slide-panel.active .pills-row span:nth-child(4) { animation-delay: .80s; }
.slide-panel.active .pills-row span:nth-child(5) { animation-delay: .90s; }
.slide-panel.active .btns-row           { animation: fadeUp   .5s ease both; animation-delay: .90s; }

/* ── Inner layout ── */
.slider-inner {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* ── Left column ── */
.slider-left { max-width: 460px; }

.anim-tag {
  display: inline-block;
  background: rgba(0,137,207,.22);
  border: 1px solid rgba(0,137,207,.55);
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.slider-left h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
}
.blue-text { color: #7dd3fc !important; }

.line {
  height: 3px;
  background: #0089cf;
  border-radius: 2px;
  margin: 18px 0;
  /* width animated via keyframe */
}

/* ── Right column ── */
.slider-right {
  text-align: right;
  max-width: 500px;
}

.slider-right h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 68px;
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 18px;
}
.slider-right h1 span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #7dd3fc;
}

/* ── Pills ── */
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.pills-row span {
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

/* ── Buttons ── */
.btns-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.primary-btn,
.outline-btn {
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: .28s;
}
.primary-btn {
  background: #0089cf;
  color: #fff;
  border: 2px solid #0089cf;
}
.primary-btn:hover {
  background: #006fa8;
  border-color: #006fa8;
  transform: translateY(-2px);
}
.outline-btn {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.outline-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.round-btn { border-radius: 50px; }

/* ──────────────────────────────────────────
   ARROWS
────────────────────────────────────────── */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: .25s;
}
.slider-arrow:hover {
  background: rgba(0,137,207,.55);
  border-color: #0089cf;
}
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

/* ──────────────────────────────────────────
   DOTS
────────────────────────────────────────── */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.sdot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: .3s;
}
.sdot.active {
  background: #fff;
  transform: scale(1.35);
  width: 22px;
  border-radius: 4px;
}

/* ──────────────────────────────────────────
   PROGRESS BAR
────────────────────────────────────────── */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 10;
}
.progress-fill {
  height: 100%;
  background: #0089cf;
  width: 0%;
}
.progress-fill.running {
  animation: progressAnim 5s linear forwards;
}

@media (min-width: 768px) {
     
.slider-arrow {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: .25s;
    left: 6%;
}
    
    
}
    


@media (max-width: 768px) {
    
 
.slider-arrow {
    visibility: hidden;
}
  .hero-slider {
    height: auto;
    min-height: 419px;
    max-height: none;
  }
  .slider-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .slider-left { max-width: 100%; }
  .slider-left h2 { font-size: 15px; }
  .slider-right {
    text-align: left;
    max-width: 100%;
  }
  .slider-right h1 { font-size: 34px; }
  .btns-row { justify-content: flex-start; flex-wrap: wrap; }
  .pills-row { justify-content: flex-start; }
  .slide-panel { padding: 0 20px 30px; }
}
