/* ============================================================
   AVINASH & ASSOCIATES — css/hero.css
   Hero Section, Marquee Strip
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: max(700px, 100svh);
  display: flex; align-items: center; overflow: hidden;
  padding-top: 108px;
}

.hero-bg {
  position: absolute; inset: 0;
  background-color: var(--primary-dark);
  background-size: cover; background-position: center; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--grad-hero); opacity: .91; z-index: 1;
}
.hero-dots {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: radial-gradient(circle, rgba(16,185,129,.1) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero-deco-ring {
  position: absolute; z-index: 2; pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,.12);
}
.hero-deco-ring-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-deco-ring-2 { width: 400px; height: 400px; top: -100px; right: 0px; }
.hero-deco-ring-3 { width: 300px; height: 300px; bottom: -80px; left: -60px; }

.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); z-index: 2; pointer-events: none;
}
.blob-1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(5,150,105,.2), transparent 70%);
  top: -120px; left: -120px;
  animation: blobDrift1 20s ease-in-out infinite;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(217,119,6,.15), transparent 70%);
  bottom: -100px; right: -80px;
  animation: blobDrift2 16s ease-in-out infinite;
}
.blob-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(16,185,129,.12), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: blobPulse 22s ease-in-out infinite;
}

.hero-container {
  position: relative; z-index: 3;
  max-width: 1200px; margin: 0 auto;
  padding: 60px 48px;
  width: 100%;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px; align-items: center;
}

/* Hero Left */
.hero-left { display: flex; flex-direction: column; gap: 22px; }

.anim-fadeup {
  opacity: 0;
  animation: fadeUp .7s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--d, 0s);
}
.anim-slideinright {
  opacity: 0;
  animation: slideInRight .85s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--d, 0s);
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600;
  color: var(--primary); background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 14px; border-radius: var(--r-full);
  white-space: nowrap; letter-spacing: .01em;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-vivid);
}

.hero-heading {
  font-family: 'Raleway', sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  color: white; line-height: 1.07;
}
.hero-heading .highlight {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtext {
  font-family: 'Inter', sans-serif; font-size: 17.5px;
  color: rgba(255,255,255,.72); line-height: 1.72; max-width: 490px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-hero-gold {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15.5px;
  color: var(--primary-dark); background: var(--grad-gold);
  padding: 14px 32px; border-radius: var(--r-full);
  box-shadow: var(--shadow-gold);
  transition: transform .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-hero-gold:hover { transform: translateY(-2px) scale(1.025); box-shadow: 0 14px 40px rgba(217,119,6,.45); }
.btn-hero-gold:hover .btn-arrow { transform: translateX(4px); }
.btn-arrow { transition: transform .22s; flex-shrink: 0; }

.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15.5px;
  color: white;
  border: 2px solid rgba(255,255,255,.35);
  padding: 14px 32px; border-radius: var(--r-full);
  transition: background .22s, border-color .22s, transform .22s;
  white-space: nowrap; backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8);
  transform: translateY(-1px);
}

.hero-proof { display: flex; align-items: center; gap: 16px; padding-top: 4px; }
.hero-proof-line { flex-shrink: 0; width: 40px; height: 1px; background: rgba(255,255,255,.25); }
.hero-proof-text { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); }

/* Hero stats card */
.hero-right { position: relative; }

.hero-card {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px);
  border-radius: var(--r-2xl);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.9);
  position: relative; z-index: 1;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-gold);
}
.hero-card-label {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 24px;
}
/* ── HERO SERVICE CAROUSEL ───────────────────────────────── */
.hero-carousel {
  border-radius: var(--r-lg);
  margin-bottom: 4px;
  overflow: hidden;
}
.hero-carousel-track {
  position: relative;
}
.hero-svc-card {
  display: none;          /* hidden by default — JS shows active card */
  align-items: stretch;
  width: 100%;
  min-height: 160px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-sizing: border-box;
}
.hero-svc-card.hsc-active {
  display: flex;
  animation: hscSlideIn .45s cubic-bezier(.4, 0, .2, 1) both;
}
@keyframes hscSlideIn {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Left illustration panel */
.hero-svc-illus {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  background: linear-gradient(145deg, #ECFDF5 0%, #D1FAE5 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 12px 8px;
}
.hero-svc-svg {
  width: 100%; max-width: 96px;
  height: auto; display: block;
}
.hero-svc-emoji {
  position: absolute;
  bottom: 10px; right: 10px;
  font-size: 1.25rem; line-height: 1;
  background: var(--white);
  border-radius: var(--r-md);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Right info panel */
.hero-svc-info {
  flex: 1; min-width: 0;
  background: var(--white);
  padding: 20px 18px 18px 20px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px;
}
.hero-svc-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 800; font-size: 17px;
  color: var(--primary); line-height: 1.25;
}
.hero-svc-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; color: var(--text-body);
  line-height: 1.6;
}
.hero-svc-tag {
  display: inline-block; align-self: flex-start;
  font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent);
  background: var(--light-bg);
  border: 1px solid var(--border-card);
  padding: 3px 9px; border-radius: var(--r-full);
  margin-top: 2px;
}

/* Dot indicators */
.hero-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.hero-carousel-dot {
  width: 6px; height: 6px;
  border-radius: var(--r-full);
  background: var(--border-mid);
  border: none; padding: 0; cursor: pointer;
  transition: background .3s, width .3s;
}
.hero-carousel-dot.active {
  background: var(--accent);
  width: 20px;
}
.hero-card-sep { height: 1px; background: var(--border); margin: 20px 0; }
.hero-card-cta {
  display: block; text-align: center;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px;
  color: var(--accent); transition: color .2s;
}
.hero-card-cta:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

.card-deco-1 {
  position: absolute; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(5,150,105,.07), transparent 70%);
  border-radius: 50%; top: -70px; right: -70px; z-index: 0;
  filter: blur(40px);
}
.card-deco-2 {
  position: absolute; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(217,119,6,.09), transparent 70%);
  border-radius: 50%; bottom: -40px; left: -40px; z-index: 0;
  filter: blur(30px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.scroll-label { font-family: 'Inter', sans-serif; font-size: 11.5px; letter-spacing: .1em; color: rgba(255,255,255,.45); }
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px; display: flex;
  justify-content: center; padding-top: 6px;
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: rgba(255,255,255,.45);
  border-radius: var(--r-full);
  animation: wheelScroll 1.6s ease-in-out infinite;
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-strip {
  height: 52px;
  background: var(--grad-green);
  overflow: hidden; display: flex; align-items: center;
}
.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-content { display: flex; align-items: center; flex-shrink: 0; }
.mq-item {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 13.5px; letter-spacing: .04em;
  color: white; padding: 0 28px;
}
.mq-sep { color: var(--gold-vivid); opacity: .85; font-size: 11px; }
