/* ============================================================
   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: 1.3fr .9fr; 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: .78rem; letter-spacing: .16em; 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 {
  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 {
  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: 1.06rem; color: #B6C6D8; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-slide-img { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(10, 37, 64, .35); aspect-ratio: 4 / 3; }
.hero-slide-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 14px 30px; 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: 18px; height: 18px; }
.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: 12px 28px; 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-slide-inner { grid-template-columns: 1fr; }
  .hero-slide-img { 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; }
}
