/* ==============================
   Total Tech - Services Hero Slider
   File: css/hero-services.css
   ============================== */

.tt-heroS{
  position: relative;
  width: 100%;
}

.tt-heroS-slider{
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #0b1220;
}

/* slide background + transition */
.tt-heroS-slide{
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .75s ease, transform 1.2s ease;
  display: flex;
  align-items: center;
}

.tt-heroS-slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* overlay + blue glow */
.tt-heroS-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 18% 35%, rgba(14,165,255,.40), transparent 60%),
    radial-gradient(900px 460px at 75% 65%, rgba(31,111,255,.28), transparent 60%),
    linear-gradient(90deg, rgba(11,18,32,.90), rgba(11,18,32,.58));
  z-index: 1;
}

/* content */
.tt-heroS-content{
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 30px 0;
}

/* animated entrance per slide */
.tt-heroS-slide.is-active .tt-heroS-kicker,
.tt-heroS-slide.is-active .tt-heroS-title,
.tt-heroS-slide.is-active .tt-heroS-text,
.tt-heroS-slide.is-active .tt-heroS-tags,
.tt-heroS-slide.is-active .tt-heroS-actions{
  animation: ttHeroIn .75s ease both;
}

.tt-heroS-slide.is-active .tt-heroS-title{ animation-delay: .05s; }
.tt-heroS-slide.is-active .tt-heroS-text{ animation-delay: .10s; }
.tt-heroS-slide.is-active .tt-heroS-tags{ animation-delay: .16s; }
.tt-heroS-slide.is-active .tt-heroS-actions{ animation-delay: .22s; }

@keyframes ttHeroIn{
  from{ transform: translateY(14px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

/* kicker */
.tt-heroS-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}
.tt-heroS-kicker i{ color: #0ea5ff; }

/* title + text */
.tt-heroS-title{
  color: #fff;
  font-weight: 900;
  font-size: 48px;
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: .2px;
}

.tt-heroS-text{
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
  max-width: 680px;
}

/* tags */
.tt-heroS-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.tt-heroS-tags span{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: 13px;
  backdrop-filter: blur(8px);
}
.tt-heroS-tags i{ color: #0ea5ff; }

/* buttons */
.tt-heroS-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tt-heroS-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  color: #fff !important;
  background: linear-gradient(90deg, #1f6fff, #0ea5ff);
  box-shadow: 0 14px 30px rgba(31,111,255,.28);
  transition: transform .18s ease, opacity .18s ease;
}
.tt-heroS-btn:hover{ transform: translateY(-1px); opacity: .97; }

.tt-heroS-btn-ghost{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: none;
}

/* arrows */
.tt-heroS-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.tt-heroS-arrow:hover{ background: rgba(0,0,0,.35); }
.tt-heroS-prev{ left: 16px; }
.tt-heroS-next{ right: 16px; }

/* dots */
.tt-heroS-dots{
  position: absolute;
  left: 0; right: 0;
  bottom: 16px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.tt-heroS-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  border: 0;
  cursor: pointer;
}
.tt-heroS-dot.is-active{ background: #0ea5ff; }

/* responsive */
@media (max-width: 991px){
  .tt-heroS-slider{ min-height: 460px; }
  .tt-heroS-title{ font-size: 38px; }
}

@media (max-width: 767px){
  .tt-heroS-slider{ min-height: 390px; }
  .tt-heroS-title{ font-size: 30px; }
  .tt-heroS-prev{ left: 10px; }
  .tt-heroS-next{ right: 10px; }
}
/* iPhone 16 Pro & small phones */
@media (max-width: 430px){
  .tt-heroS-content{
    padding: 18px 0;
    max-width: 100%;
  }

  .tt-heroS-kicker{
    padding: 7px 10px;
    font-size: 12px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .tt-heroS-title{
    font-size: 26px;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .tt-heroS-text{
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .tt-heroS-tags{
    gap: 8px;
    margin-bottom: 14px;
  }
  .tt-heroS-tags span{
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    gap: 6px;
  }

  /* ✅ buttons smaller */
  .tt-heroS-actions{
    gap: 10px;
  }
  .tt-heroS-btn{
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    gap: 8px;
  }

  /* ✅ arrows smaller */
  .tt-heroS-arrow{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 22px;
  }
  .tt-heroS-prev{ left: 8px; }
  .tt-heroS-next{ right: 8px; }

  /* dots slightly smaller */
  .tt-heroS-dot{
    width: 8px;
    height: 8px;
  }
}

