/* ============================================================
   AVINASH & ASSOCIATES — css/sections.css
   Services, Stats, Why, About, Process, Testimonials, Typewriter
   ============================================================ */

/* ── SERVICES ─────────────────────────────────────────────── */
.services-section {
  background: white;
  padding: 96px 0 80px;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 14px;
}

/* Large hero cards (span 2 cols) */
.svc-lg-card {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 32px;
  border-radius: var(--r-2xl);
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s ease, opacity .65s ease;
  min-height: 220px;
}
.svc-lg-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.svc-lg-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}

.bento-violet { background: linear-gradient(135deg, #3B0764 0%, #6D28D9 50%, #7C3AED 100%); }
.bento-red    { background: linear-gradient(135deg, #7F1D1D 0%, #B91C1C 50%, #DC2626 100%); }
.bento-blue   { background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%); }
.bento-orange { background: linear-gradient(135deg, #7C2D12 0%, #C2410C 50%, #EA580C 100%); }

.slg-content {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 10px;
  position: relative; z-index: 1;
}
.slg-badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  padding: 4px 12px;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}
.slg-name {
  font-family: 'Raleway', sans-serif;
  font-size: 26px; font-weight: 800;
  color: white; line-height: 1.15;
  margin: 0;
}
.slg-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  margin: 0;
  max-width: 240px;
}
.slg-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  color: white;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  padding: 8px 18px;
  border-radius: var(--r-full);
  margin-top: 4px;
  transition: background .2s, border-color .2s;
  display: inline-block;
}
.svc-lg-card:hover .slg-cta {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.5);
}

.slg-illus {
  flex-shrink: 0;
  width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: transform .35s cubic-bezier(.34,1.4,.64,1);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.25));
}
.svc-lg-card:hover .slg-illus {
  transform: scale(1.08) translateY(-4px) rotate(2deg);
}
.slg-illus svg { width: 130px; height: 130px; }

/* Small cards (span 1 col) */
.svc-sm-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 28px 18px 24px;
  background: var(--white);
  border: 1.5px solid var(--border-ui);
  border-radius: 20px;
  text-decoration: none; text-align: center;
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.4,.64,1),
              box-shadow .3s ease, border-color .25s, opacity .65s ease;
}
.svc-sm-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 16px 48px rgba(6,78,59,.10);
  border-color: var(--border-mid);
}

.ssm-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  transition: transform .32s cubic-bezier(.34,1.4,.64,1);
}
.svc-sm-card:hover .ssm-icon { transform: scale(1.12) translateY(-3px); }

.ssm-badge {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--b, #059669);
  border: 1.5px solid var(--b, #059669);
  padding: 3px 9px;
  border-radius: var(--r-full);
  opacity: .9;
}
.ssm-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25; margin: 0;
  transition: color .2s;
}
.svc-sm-card:hover .ssm-name { color: var(--primary); }
.ssm-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; color: var(--text-muted);
  line-height: 1.45; margin: 0;
}

.svc-view-all { text-align: center; margin-top: 48px; }
.btn-view-all {
  display: inline-block;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--accent); border: 2px solid var(--border-mid);
  padding: 13px 32px; border-radius: var(--r-full);
  background: var(--light-bg);
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn-view-all:hover {
  background: var(--accent); color: white;
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: var(--primary-dark);
  padding: 72px 48px;
  position: relative; overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(16,185,129,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-evenly;
  flex-wrap: wrap; gap: 32px;
  position: relative; z-index: 1;
}
.stat-box {
  text-align: center; display: flex;
  flex-direction: column; align-items: center; gap: 4px;
}
.stat-ico { color: rgba(255,255,255,.5); margin-bottom: 10px; }
.stat-num-wrap {
  font-family: 'Raleway', sans-serif;
  font-weight: 800; font-size: 54px; color: white; line-height: 1;
}
.stat-suf-val { font-size: 30px; color: var(--gold-vivid); }
.stat-lbl {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,.65); letter-spacing: .03em; margin-top: 6px;
}
.stats-vdivider {
  width: 1px; height: 80px;
  background: rgba(255,255,255,.12);
}

/* ── WHY SECTION ─────────────────────────────────────────── */
.why-section { background: var(--cream); padding: 96px 0; }
.why-container {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.why-left { position: relative; }
.why-illus-wrapper { position: relative; }
.why-blob-bg {
  position: absolute; inset: -50px;
  background: var(--grad-emerald-soft);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 0;
}
.why-illus {
  width: 100%; max-width: 440px;
  position: relative; z-index: 1;
  border-radius: var(--r-2xl);
  filter: drop-shadow(0 24px 48px rgba(6,78,59,.15));
}

.float-card {
  position: absolute;
  background: white; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: 14px 18px; z-index: 3;
}
.fc-rating { bottom: -24px; left: -24px; animation: float 3.5s ease-in-out infinite; }
.fc-rating-num {
  font-family: 'Raleway', sans-serif; font-weight: 800;
  font-size: 21px; color: var(--text-heading); margin-bottom: 2px;
}
.fc-rating-sub { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.fc-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }

.fc-avail { top: -16px; right: -16px; animation: float 4s ease-in-out infinite .5s; }
.fc-avail-inner { display: flex; align-items: center; gap: 10px; }
.fc-dot {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--whatsapp); flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}
.fc-avail-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--text-heading); }
.fc-avail-sub { font-family: 'Inter', sans-serif; font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

.why-heading {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: var(--txt-4xl); color: var(--text-heading);
  line-height: 1.18; margin: 12px 0 20px;
}
.why-heading em { font-style: italic; color: var(--accent); }
.why-body { font-size: 17px; color: var(--text-body); line-height: 1.78; }
.why-features { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.why-feat {
  display: flex; align-items: flex-start; gap: 16px;
  transition-delay: calc(var(--fi,0) * .12s) !important;
}
.feat-icon-circle {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.feat-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--text-heading); margin-bottom: 4px; }
.feat-desc { font-size: 13.5px; color: var(--text-body); line-height: 1.6; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section { background: var(--off-white); padding: 96px 0; }
.about-container {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 45fr 55fr;
  gap: 72px; align-items: center;
}

.about-img-col { position: relative; }
.about-img-wrapper { position: relative; display: inline-block; width: 100%; overflow: hidden; border-radius: var(--r-xl); }
.about-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--light-bg), var(--border));
  transition: transform .65s cubic-bezier(.4,0,.2,1);
}
.about-img-wrapper:hover .about-img { transform: scale(1.04); }
.about-img-frame {
  position: absolute; inset: -16px;
  border: 2.5px solid var(--accent);
  border-radius: var(--r-xl); z-index: -1;
  clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
  opacity: .35;
}
.about-exp-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--grad-green); color: white;
  padding: 20px 24px; border-radius: var(--r-xl);
  box-shadow: var(--shadow-green); text-align: center;
}
.exp-num { display: block; font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 36px; color: var(--gold-vivid); line-height: 1; }
.exp-plus { font-size: 22px; }
.exp-lbl1, .exp-lbl2 { display: block; font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.85); margin-top: 4px; }
.exp-lbl2 { font-weight: 700; font-size: 15px; }

.about-heading {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: var(--txt-4xl); color: var(--text-heading);
  line-height: 1.18; margin: 12px 0 20px;
}
.about-para { font-size: 16.5px; color: var(--text-body); line-height: 1.82; margin-bottom: 16px; }

/* CA India badge — About section */
.ca-india-badge {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  margin-bottom: 28px;
  width: fit-content;
}
.ca-india-logo { display: block; flex-shrink: 0; object-fit: contain; }
.ca-india-text { display: flex; flex-direction: column; gap: 3px; }
.ca-india-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.ca-india-body {
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600;
  color: var(--text-heading); line-height: 1.4;
}

.cred-list { margin-top: 32px; display: flex; flex-direction: column; gap: 13px; }
.cred-item {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px; color: var(--text-heading);
}
.cred-icon { color: var(--gold); flex-shrink: 0; }

.about-btns { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14.5px;
  color: white; background: var(--grad-green);
  padding: 13px 28px; border-radius: var(--r-full);
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(5,150,105,.4); }
.btn-outline {
  display: inline-block;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px;
  color: var(--text-heading); border: 1.5px solid var(--border-mid);
  padding: 13px 28px; border-radius: var(--r-full);
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--accent); background: var(--light-bg); }

/* ── PROCESS ─────────────────────────────────────────────── */
.process-section {
  background: linear-gradient(160deg, var(--light-bg) 0%, #ECFDF5 40%, #F8FAFF 100%);
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.process-bg-blob {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 70%);
  top: -150px; right: -150px;
  pointer-events: none;
}

.process-timeline {
  max-width: 1100px; margin: 64px auto 0;
  display: flex; justify-content: space-between;
  align-items: stretch; gap: 0;
  position: relative;
}

.process-connector { display: none; }

.process-step {
  display: flex; flex-direction: row;
  align-items: center; flex: 1;
  position: relative; z-index: 1;
  transition-delay: calc(var(--step,0) * .18s) !important;
}

.p-card {
  flex: 1;
  background: white;
  border-radius: var(--r-2xl);
  padding: 32px 24px 28px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border: 1.5px solid var(--border-card);
  box-shadow: 0 4px 24px rgba(6,78,59,.07), 0 1px 4px rgba(6,78,59,.04);
  transition: transform .32s cubic-bezier(.34,1.4,.64,1), box-shadow .32s ease;
  position: relative; overflow: hidden;
}
.p-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.process-step.active .p-card {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(6,78,59,.14), 0 4px 12px rgba(6,78,59,.08);
  border-color: var(--border-mid);
}
.p-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(6,78,59,.14), 0 4px 12px rgba(6,78,59,.08);
}

.p-step-num {
  position: absolute; top: 14px; right: 18px;
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 11px;
  color: var(--accent); opacity: .45; letter-spacing: .1em;
}

.p-icon-3d {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s cubic-bezier(.34,1.4,.64,1);
}
.p-card:hover .p-icon-3d { transform: translateY(-6px) scale(1.08); }
.p-icon-3d svg { width: 96px; height: 96px; }

.p-arrow {
  flex-shrink: 0;
  width: 40px;
  display: flex; align-items: center; justify-content: center;
  opacity: .55;
}

.p-label {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0;
}
.p-title {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15.5px;
  color: var(--text-heading); line-height: 1.3; margin: 0;
}
.p-desc {
  font-size: 13px; color: var(--text-body);
  line-height: 1.6; max-width: 170px; margin: 0 auto;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testi-section {
  background: #F8FAFB;
  padding: 96px 0; position: relative; overflow: hidden;
}
.testi-deco-q {
  position: absolute; top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 320px; line-height: 1;
  color: var(--primary);
  opacity: .04; pointer-events: none;
  user-select: none; z-index: 0;
}
.testi-section .section-wrap { position: relative; z-index: 1; }

.testi-rating-row {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin: 12px 0 20px;
}
.testi-star-ico { font-size: 22px; color: #F59E0B; line-height: 1; }
.testi-rating-txt {
  font-family: 'Inter', sans-serif; font-size: 13.5px;
  font-weight: 600; color: var(--text-muted); margin-left: 6px;
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 56px;
}

.testi-card {
  background: white;
  border: 1.5px solid #EEF2F7;
  border-radius: var(--r-2xl);
  padding: 32px 28px 26px;
  box-shadow: 0 4px 24px rgba(15,23,42,.06), 0 1px 4px rgba(15,23,42,.04);
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s ease,
              border-color .25s, opacity .65s ease;
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(6,78,59,.12), 0 4px 12px rgba(6,78,59,.06);
  border-color: var(--border-mid);
}

.testi-featured {
  background: var(--primary);
  border-color: transparent;
  box-shadow: 0 16px 56px rgba(6,78,59,.28), 0 4px 16px rgba(6,78,59,.16);
  position: relative;
}
.testi-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(6,78,59,.36);
  border-color: transparent;
}
.testi-feat-quote-mark {
  position: absolute; top: 16px; right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 96px; line-height: .8;
  color: rgba(255,255,255,.08);
  pointer-events: none; user-select: none;
}

.testi-top { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--av-from), var(--av-to));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif; font-weight: 800;
  font-size: 16px; color: white; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.testi-verified { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; }
.testi-name {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 14.5px; color: var(--text-heading);
  margin: 0 0 2px; line-height: 1.2;
}
.testi-featured .testi-name { color: white; }
.testi-role {
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: var(--text-muted); margin: 0 0 5px; line-height: 1.3;
}
.testi-featured .testi-role { color: rgba(255,255,255,.6); }
.testi-stars-row { font-size: 13px; color: #F59E0B; letter-spacing: 2px; line-height: 1; }

.testi-quote {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: 15px; line-height: 1.84;
  color: var(--text-body); margin: 0; flex: 1;
}
.testi-featured .testi-quote { color: rgba(255,255,255,.85); }

.testi-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.testi-tag {
  font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 600;
  color: var(--accent); background: var(--light-bg);
  border: 1px solid var(--border-mid); padding: 3px 10px; border-radius: var(--r-full);
}
.testi-featured .testi-tag {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

/* ── TYPEWRITER ──────────────────────────────────────────── */
.tw-wrap {
  display: inline-block;
  white-space: nowrap;
}
.tw-text {
  color: var(--accent);
  font-weight: 700;
}
.tw-cursor {
  display: inline-block;
  color: var(--gold);
  font-weight: 300;
  animation: twBlink .75s step-end infinite;
  margin-left: 1px;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
