/* ============================================================
   Hero Carousel — ported from TCT5's homepage hero section.
   Fully self-contained/scoped under .hero-carousel and .hero-btn*
   so it cannot affect any other section's styling on the site.
   ============================================================ */

@keyframes heroTctZoom { to { transform: scale(1.15); } }
@keyframes heroTctFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

.hero-carousel { position: relative; overflow: hidden; background: #0A2540; min-height: clamp(540px, 80vh, 760px); }
.hero-slides-wrap { display: flex; transition: transform .72s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.hero-slide { position: relative; flex: 0 0 100%; min-height: clamp(540px, 80vh, 760px); display: flex; align-items: center; }
.hero-slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .3; transform: scale(1.05); animation: heroTctZoom 18s ease-in-out infinite alternate;
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10, 37, 64, .96) 0%, rgba(18, 50, 81, .84) 44%, rgba(10, 37, 64, .58) 100%);
}
.hero-slide-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-hs1 {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 255, .55), transparent 70%);
  top: -60px; right: 8%; filter: blur(2px); opacity: .5; animation: heroTctFloat 9s ease-in-out infinite;
}
.hero-hs2 {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 184, .5), transparent 70%);
  bottom: 6%; left: 4%; filter: blur(2px); opacity: .5; animation: heroTctFloat 11s ease-in-out infinite reverse;
}
.hero-slide-inner {
  position: relative; z-index: 2; padding-block: 56px;
  display: grid; grid-template-columns: .9fr 1.6fr; gap: 48px; align-items: center;
}
.hero-slide-copy { color: #fff; }
.hero-slide-eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: var(--fs-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: #0057FF;
  background: linear-gradient(135deg, rgba(0, 87, 255, .16), rgba(0, 198, 184, .16));
  padding: 8px 16px; border: 1px solid rgba(0, 87, 255, .3); border-radius: 50px; margin-bottom: 22px;
}
.hero-slide-copy h1, .hero-slide-copy h2 {
  color: #fff; font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
}
.hero-slide-copy h1 span, .hero-slide-copy h2 span {
  background: linear-gradient(135deg, #0057FF 0%, #00C6B8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-slide-copy p { margin-top: 18px; font-size: var(--fs-md); color: #B6C6D8; max-width: 540px; }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero-slide-img {
  position: relative; aspect-ratio: 4 / 3;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 52%, transparent 100%);
}
.hero-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-img::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 72% 72% at 50% 50%, rgba(10, 37, 64, 0) 45%, rgba(10, 37, 64, .55) 100%);
}

.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  padding: 13px 22px; border-radius: 50px; line-height: 1;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s cubic-bezier(.4, 0, .2, 1),
              background .25s cubic-bezier(.4, 0, .2, 1), color .25s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
}
.hero-btn svg { width: 17px; height: 17px; flex: none; }
.hero-btn--gold {
  background: linear-gradient(135deg, #0057FF 0%, #00C6B8 100%); color: #fff; border-color: transparent;
  box-shadow: 0 18px 50px rgba(0, 87, 255, .28);
}
.hero-btn--gold:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0, 87, 255, .4); }
.hero-btn--ghost { background: #fff; color: #0A2540; border: 1.5px solid #E3E9F2; padding: 11px 20px; box-shadow: 0 1px 2px rgba(10, 37, 64, .06); }
.hero-btn--ghost:hover { border-color: #0057FF; color: #0057FF; }

.hero-prev-btn, .hero-next-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px); border: 1.5px solid rgba(255, 255, 255, .25); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s cubic-bezier(.4, 0, .2, 1), border-color .25s cubic-bezier(.4, 0, .2, 1), color .25s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
}
.hero-prev-btn:hover, .hero-next-btn:hover { background: #0057FF; border-color: #0057FF; color: #fff; }
.hero-prev-btn svg, .hero-next-btn svg { width: 22px; height: 22px; }
.hero-prev-btn { left: 24px; } .hero-next-btn { right: 24px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); border: none; cursor: pointer; transition: background .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1); }
.hero-dot.active { background: #0057FF; transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .hero-slide-bg, .hero-hs1, .hero-hs2 { animation: none; }
}

@media (max-width: 900px) {
  .hero-carousel { min-height: 0; }
  .hero-slide { min-height: 0; padding-block: 36px 64px; }
  .hero-slide-inner { grid-template-columns: 1fr; padding-block: 24px; gap: 28px; }
  .hero-slide-img { order: -1; aspect-ratio: 5 / 4; max-width: 460px; margin: 0 auto; }
  .hero-slide-copy p { max-width: none; }
  /* Arrows would land mid-text once slides stack; swipe + dots cover navigation instead. */
  .hero-prev-btn, .hero-next-btn { display: none; }
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .hero-btn { justify-content: center; }
  .hero-prev-btn { left: 12px; } .hero-next-btn { right: 12px; }
  .hero-slide-img { aspect-ratio: 4 / 3; max-width: 100%; }
}

/* Feature-list slides (One Stop Solution / Our Location) */
.hero-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; color: #DCE7F3; font-size: var(--fs-base); max-width: 560px; }
.hero-list li { position: relative; padding-left: 26px; line-height: var(--lh-body); }
.hero-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #0057FF, #00C6B8); }
.hero-list--2col { grid-template-columns: 1fr 1fr; gap: 10px 22px; max-width: 620px; }
.hero-slide-copy .hero-highlight { display: inline-block; margin-top: 20px; padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: var(--fs-sm); letter-spacing: .1em; text-transform: uppercase; color: #fff; max-width: none; background: linear-gradient(135deg, #0057FF 0%, #00C6B8 100%); }
@media (max-width: 640px) { .hero-list--2col { grid-template-columns: 1fr; } }
