/* ==========================================================================
   STICKY FLOATING BOTTOM SEO REVIEW BANNER
   Styled with Ibrar's Signature Brand Color (Electric Lime: #A3EA43)
   and Ibrar's 3D Consultation Avatar with Laptop & Headset.
   ========================================================================== */

/* Main Sticky Wrapper */
.seo-sticky-banner-wrap {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 780px;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease;
  will-change: transform, opacity;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Hidden / Minimized state */
.seo-sticky-banner-wrap.is-minimized {
  transform: translateX(-50%) translateY(125%);
  opacity: 0;
  pointer-events: none;
}

/* The Banner Card */
.seo-sticky-card {
  position: relative;
  width: 100%;
  min-height: 92px;
  height: 92px;
  background: rgba(9, 12, 18, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px 18px 0 0;
  border-top: 2.5px solid #A3EA43;
  border-left: 1px solid rgba(163, 234, 67, 0.35);
  border-right: 1px solid rgba(163, 234, 67, 0.35);
  border-bottom: none;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.88), 0 -2px 24px rgba(163, 234, 67, 0.28);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 52px 0 28px;
  box-sizing: border-box;
  pointer-events: auto;
  overflow: visible; /* allows avatar to stick out */
}

/* Left Content Area */
.seo-sticky-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 18px;
}

.seo-sticky-kicker {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A3EA43;
  margin-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.seo-sticky-kicker::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A3EA43;
  box-shadow: 0 0 8px #A3EA43;
}

.seo-sticky-heading {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 18.5px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 3px 0;
  white-space: nowrap;
}

.seo-sticky-subtext {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: #94A3B8;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
}

/* Center / Action Area */
.seo-sticky-action-wrap {
  display: flex;
  align-items: center;
  z-index: 3;
  flex: 0 0 auto;
  margin-right: 165px; /* leaves room for avatar */
}

/* Book Free Call Button (Electric Lime Brand Accent) */
.seo-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #A3EA43;
  color: #080808 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 18px rgba(163, 234, 67, 0.38);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.seo-sticky-btn:hover {
  background: #B6F858;
  color: #080808 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(163, 234, 67, 0.55);
}

.seo-sticky-btn:active {
  transform: translateY(0);
}

.seo-sticky-arrow {
  transition: transform 0.2s ease;
  display: inline-block;
  color: #080808;
}

.seo-sticky-btn:hover .seo-sticky-arrow {
  transform: translateX(4px);
}

/* 3D Character Avatar Sticking Out Above Top Border */
.seo-sticky-avatar-wrap {
  position: absolute;
  right: 46px;
  bottom: 0;
  height: 168px;
  width: auto;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: flex-end;
}

.seo-sticky-avatar-img {
  height: 168px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 -6px 20px rgba(0, 0, 0, 0.65));
  transition: transform 0.3s ease;
}

.seo-sticky-card:hover .seo-sticky-avatar-img {
  transform: scale(1.03) translateY(-2px);
}

/* Minimize / Close Button */
.seo-sticky-toggle-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  padding: 0;
  transition: all 0.2s ease;
  outline: none;
}

.seo-sticky-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.seo-sticky-toggle-btn:active {
  transform: translateY(-50%) scale(0.96);
}

/* Minimized Floating Trigger Bubble */
.seo-sticky-bubble {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0B0D11;
  color: #FFFFFF;
  border: 1.5px solid #A3EA43;
  border-radius: 9999px;
  padding: 6px 16px 6px 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 18px rgba(163, 234, 67, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.92);
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  text-decoration: none;
}

.seo-sticky-bubble.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.seo-sticky-bubble:hover {
  background: #14171D;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 24px rgba(163, 234, 67, 0.55);
}

.seo-bubble-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #181A20;
  border: 1.5px solid #A3EA43;
}

.seo-bubble-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.seo-bubble-kicker {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #A3EA43;
  text-transform: uppercase;
}

.seo-bubble-title {
  font-size: 13px;
  font-weight: 700;
  color: #080808;
  background: #A3EA43;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.2;
  margin-top: 2px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 840px) {
  .seo-sticky-banner-wrap {
    max-width: 95%;
  }
  .seo-sticky-heading {
    font-size: 16.5px;
  }
  .seo-sticky-subtext {
    font-size: 11.5px;
  }
  .seo-sticky-action-wrap {
    margin-right: 145px;
  }
  .seo-sticky-avatar-wrap {
    height: 145px;
    right: 42px;
  }
  .seo-sticky-avatar-img {
    height: 145px;
  }
  .seo-sticky-btn {
    padding: 0 16px;
    font-size: 11.5px;
    height: 38px;
  }
}

@media (max-width: 680px) {
  .seo-sticky-banner-wrap {
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
  }
  .seo-sticky-banner-wrap.is-minimized {
    transform: translateY(125%);
  }
  .seo-sticky-card {
    border-radius: 16px 16px 0 0;
    padding: 12px 42px 12px 16px;
    height: auto;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .seo-sticky-content {
    max-width: calc(100% - 90px);
    padding-right: 10px;
  }
  .seo-sticky-heading {
    font-size: 15px;
    white-space: normal;
  }
  .seo-sticky-subtext {
    display: none;
  }
  .seo-sticky-action-wrap {
    margin-right: 0;
  }
  .seo-sticky-avatar-wrap {
    height: 115px;
    right: 42px;
  }
  .seo-sticky-avatar-img {
    height: 115px;
  }
  .seo-sticky-toggle-btn {
    right: 10px;
  }
}

@media (max-width: 440px) {
  .seo-sticky-card {
    padding: 10px 38px 10px 12px;
  }
  .seo-sticky-heading {
    font-size: 13.5px;
  }
  .seo-sticky-kicker {
    font-size: 9.5px;
  }
  .seo-sticky-btn {
    padding: 0 12px;
    font-size: 10.5px;
    height: 34px;
  }
  .seo-sticky-avatar-wrap {
    height: 95px;
    right: 36px;
  }
  .seo-sticky-avatar-img {
    height: 95px;
  }
}
