/* ============================================================
   BUNTYTECH — SEO ENHANCEMENT & ANIMATION LAYER
   Keyword highlights, scroll reveals, internal link grid, FAQs
   ============================================================ */

/* ── Keyword Highlighting ────────────────────────────────── */
.kw {
  background: linear-gradient(120deg, rgba(123,150,105,0.18) 0%, rgba(123,150,105,0.32) 100%);
  color: #2c3a28;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 5px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 2px solid #7B9669;
  transition: background 0.3s;
}
.kw:hover { background: rgba(123,150,105,0.45); }

.kw-gold {
  background: linear-gradient(120deg, rgba(244,196,48,0.15) 0%, rgba(244,196,48,0.28) 100%);
  color: #7a5f00;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 5px;
  border-bottom: 2px solid #f4c430;
}

/* ── Animated Underline Headings ─────────────────────────── */
.kw-heading {
  display: inline-block;
  position: relative;
}
.kw-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #7B9669, #BAC8B1);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.kw-heading.visible::after { width: 100%; }

/* ── Scroll Reveal Animations ────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5) { transition-delay: 0.4s; }
.reveal-up:nth-child(6) { transition-delay: 0.5s; }

/* ── Counter Animate ─────────────────────────────────────── */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ── Pulse Glow on CTAs ──────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(123,150,105,0.4); }
  50%       { box-shadow: 0 8px 40px rgba(123,150,105,0.75), 0 0 0 6px rgba(123,150,105,0.12); }
}
.pulse-cta { animation: pulse-glow 2.4s ease-in-out infinite; }

/* ── Floating WhatsApp Button ────────────────────────────── */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  text-decoration: none;
  animation: wa-bounce 2.5s ease-in-out infinite;
  transition: transform 0.3s;
}
.floating-wa:hover { transform: scale(1.12); }
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.floating-wa-label {
  position: absolute;
  right: 68px;
  background: #fff;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
}
.floating-wa:hover .floating-wa-label { opacity: 1; transform: translateX(0); }

/* ── Typing Cursor Effect ────────────────────────────────── */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: #7B9669;
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Internal Link Grid (Related Pages / Services) ──────── */
.internal-links-section {
  background: linear-gradient(135deg, #f8faf7 0%, #eef3ec 100%);
  padding: 70px 30px;
  border-top: 1px solid #dde8d9;
}
.internal-links-section .il-heading {
  text-align: center;
  margin-bottom: 42px;
}
.internal-links-section .il-heading .section-label {
  color: #7B9669;
}
.internal-links-section .il-heading h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  color: #2c3a28;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  margin-top: 8px;
}
.il-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.il-card {
  background: #fff;
  border: 1px solid #dde8d9;
  border-radius: 14px;
  padding: 22px 18px;
  text-decoration: none;
  text-align: center;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #2c3a28;
}
.il-card:hover {
  border-color: #7B9669;
  box-shadow: 0 8px 32px rgba(123,150,105,0.18);
  transform: translateY(-4px);
  color: #7B9669;
}
.il-card .il-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #7B9669, #404E3B);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.il-card .il-title {
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
}
.il-card .il-desc {
  font-size: 11.5px;
  color: #666;
  line-height: 1.4;
}

/* ── Page-level Trust Strip ──────────────────────────────── */
.trust-strip {
  background: #2c3a28;
  padding: 22px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #BAC8B1;
  font-size: 13px;
  font-weight: 600;
}
.trust-strip-item i {
  color: #7B9669;
  font-size: 18px;
}
.trust-strip-item strong {
  color: #fff;
}

/* ── Enhanced FAQ Accordion ──────────────────────────────── */
.bt-faq-section {
  padding: 70px 30px;
  background: #fff;
}
.bt-faq-section .bt-faq-inner {
  max-width: 860px;
  margin: 0 auto;
}
.bt-faq-section .section-header { margin-bottom: 40px; }

.bt-faq-item {
  border: 1px solid #dde8d9;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.bt-faq-item.open {
  border-color: #7B9669;
  box-shadow: 0 4px 20px rgba(123,150,105,0.12);
}
.bt-faq-q {
  padding: 20px 24px;
  font-weight: 700;
  color: #2c3a28;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  background: #fff;
  transition: background 0.2s;
  user-select: none;
}
.bt-faq-q:hover { background: #f8faf7; }
.bt-faq-item.open .bt-faq-q { background: #f2f7f0; color: #404E3B; }
.bt-faq-q .bt-faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(123,150,105,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7B9669;
  font-size: 13px;
  transition: transform 0.35s, background 0.3s;
  flex-shrink: 0;
}
.bt-faq-item.open .bt-faq-icon {
  transform: rotate(45deg);
  background: #7B9669;
  color: #fff;
}
.bt-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  padding: 0 24px;
  color: #555;
  line-height: 1.85;
  font-size: 14.5px;
}
.bt-faq-item.open .bt-faq-a {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ── Animated Stat Cards ─────────────────────────────────── */
.stat-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin: 36px 0;
}
.stat-card {
  background: #fff;
  border: 1px solid #dde8d9;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: #7B9669;
  box-shadow: 0 6px 24px rgba(123,150,105,0.15);
  transform: translateY(-3px);
}
.stat-card .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #7B9669;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ── Keyword Callout Box ─────────────────────────────────── */
.kw-callout {
  background: linear-gradient(135deg, #f2f7f0, #eef3ec);
  border-left: 4px solid #7B9669;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: #2c3a28;
  line-height: 1.7;
  font-weight: 500;
}
.kw-callout strong { color: #404E3B; }

/* ── Location Tag Pills ──────────────────────────────────── */
.loc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #dde8d9;
  color: #2c3a28;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s;
}
.loc-pill:hover, .loc-pill.active {
  background: #7B9669;
  color: #fff;
  border-color: #7B9669;
}
.loc-pill i { font-size: 11px; }

/* ── "Why BuntyTech" Strip ───────────────────────────────── */
.why-strip {
  background: linear-gradient(135deg, #404E3B, #2c3a28);
  color: #fff;
  padding: 50px 30px;
  text-align: center;
}
.why-strip h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: #fff;
}
.why-strip p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #BAC8B1;
  font-size: 15px;
  line-height: 1.8;
}
.why-strip-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.why-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(186,200,177,0.2);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #BAC8B1;
}
.why-strip-item i { color: #7B9669; }

/* ── Page CTA Block ──────────────────────────────────────── */
.page-cta-block {
  background: linear-gradient(135deg, #f8faf7, #eef3ec);
  border: 1px solid #dde8d9;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  margin: 40px auto;
  max-width: 860px;
}
.page-cta-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #2c3a28;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.page-cta-block p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.page-cta-btns .btn-wa {
  background: #25D366;
  color: #fff;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.page-cta-btns .btn-wa:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.4); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .il-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { gap: 20px; }
  .page-cta-block { padding: 32px 20px; }
  .floating-wa { bottom: 18px; right: 18px; }
}
@media (max-width: 480px) {
  .il-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards-row { grid-template-columns: 1fr 1fr; }
}
